/* ═══════════════════════════════════════════════════════════════
   Eden Village — builds on styles.css. Mint, cream, deep green and
   olive from the Eden Village deck.
   ═══════════════════════════════════════════════════════════════ */
/* ── Shared pieces the village page needs that stays-base.css doesn't carry ── */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--glass { background: rgba(30, 36, 28, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; }
.btn--light { background: var(--butter); color: var(--forest); }
.btn--line { border: 1px solid rgba(245, 242, 216, 0.4); color: var(--cream); }
.btn--line:hover { border-color: var(--butter); color: var(--butter); }
.foot__wordmark { margin: 40px 0 10px; font-family: var(--display); font-size: clamp(40px, 9vw, 150px); line-height: 1; color: var(--sage); opacity: 0.9; }
.foot__wordmark svg { width: 0.32em; height: 0.32em; vertical-align: 0.5em; color: var(--butter); }
@media (max-width: 860px) { .btn { height: 46px; padding: 0 18px; font-size: 14px; } }

/* Butterfly cursor on the village's interactive pieces */
.legend, .pin[data-kind], .stall, .pills li, .conscience li, .living article { cursor: var(--cursor-butterfly), pointer; }

.page-village {
  --deep: #17352b;
  --olive-v: #4f5d24;
  --olive-l: #7c8a2a;
  --mint: #d6e2d9;
  --mint-2: #e6ece4;
  --creamv: #f3f1e7;
  --tagbg: #cdd3a4;
  --gold-l: #e2c98b;
  background: var(--mint);
  color: var(--deep);
}
.page-village .h-display { color: var(--deep); }
.page-village .h-display em { color: var(--olive-v); }
.page-village .kicker { color: var(--olive-v); }
.page-village .lead { color: #2c4237; }
.page-village .lead--soft { margin-top: 16px; opacity: 0.8; }
.v-night .h-display, .v-night .lead { color: #f4f2e6; }
.v-night .h-display em { color: var(--gold-l); }

/* Light sections sit on the misty mountain backdrop from the deck */
.v-mist {
  background: linear-gradient(to bottom, rgba(214, 226, 217, 0.92), rgba(240, 238, 226, 0.75)), url("assets/village/bg-mist.webp") center bottom / cover no-repeat, var(--mint);
}
.v-mist--alt { background: linear-gradient(to bottom, rgba(230, 236, 228, 0.95), rgba(214, 226, 217, 0.85)), url("assets/village/bg-mist.webp") center top / cover no-repeat, var(--mint-2); }
.v-night { background: linear-gradient(rgba(10, 22, 12, 0.55), rgba(10, 22, 12, 0.75)), url("assets/village/bg-dark.webp") center / cover no-repeat, #142416; color: #f4f2e6; }
.v-sage { background: #a9bba9; }
.tag { display: inline-block; padding: 6px 12px; border-radius: 6px; background: var(--tagbg); color: #222; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* ── Hero ───────────────────────────────────────── */
.v-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0e1a2a; color: #fff8ec; }
.v-hero__media { position: absolute; inset: -4% 0 0 0; will-change: transform; }
.v-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.v-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10, 16, 14, 0.92) 0%, rgba(10, 16, 14, 0.55) 38%, rgba(10, 16, 14, 0.05) 70%), linear-gradient(90deg, rgba(10, 16, 14, 0.6), transparent 60%); }
.v-hero__inner { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(40px, 8vh, 80px); width: 100%; }
.v-hero .eyebrow { color: var(--gold-l); }
.v-hero h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(60px, 10.5vw, 168px); line-height: 0.95; text-transform: uppercase; color: #fff4dc; text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35); }
.v-hero__lead { max-width: 30ch; margin: 22px 0 30px; font-size: clamp(18px, 1.8vw, 26px); line-height: 1.4; }
.v-hero__facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.v-hero__facts li { padding: 14px 18px; border-radius: 16px; background: rgba(14, 26, 22, 0.5); border: 1px solid rgba(226, 201, 139, 0.3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.v-hero__facts b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--gold-l); }
.v-hero__facts span { display: block; margin-top: 4px; font-size: 13px; opacity: 0.85; }

/* ── Intro ──────────────────────────────────────── */
.intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.intro .lead { margin-top: 24px; }
.intro__art { margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(23, 53, 43, 0.25); }
.intro__art img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; transition: transform 2s var(--ease-out); }
.intro__art:hover img { transform: scale(1.04); }

/* ── Countryside luxury ─────────────────────────── */
.luxury { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(56px, 7vw, 90px); overflow: hidden; color: #fff; }
.luxury__bg { position: absolute; inset: 0; }
.luxury__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(3px) saturate(1.05); transform: scale(1.08); }
.luxury__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10, 20, 14, 0.35), rgba(10, 20, 14, 0.75)); }
.luxury .wrap { position: relative; }
.luxury__title { display: inline-block; margin: 0 0 clamp(120px, 16vw, 220px); padding: 18px 26px; border-radius: 12px; background: var(--mint); color: var(--deep); font-family: var(--display); font-weight: 400; font-size: clamp(20px, 2.6vw, 36px); line-height: 1.2; text-transform: uppercase; }
.trio { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trio li { padding: 26px; border-radius: 10px; background: var(--creamv); color: var(--deep); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); }
.trio__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--olive-v); }
.trio__icon svg { width: 34px; height: 34px; }
.trio b { display: block; margin-top: 10px; font-family: var(--display); font-weight: 400; font-size: 17px; text-transform: uppercase; color: var(--olive-v); }
.trio span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.55; }

/* ── Conscience ─────────────────────────────────── */
.conscience { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.conscience li { padding: 26px; border-radius: 20px; background: var(--creamv); border: 1px solid rgba(23, 53, 43, 0.12); transition: transform 0.6s var(--ease-out), box-shadow 0.6s; }
.conscience li:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(23, 53, 43, 0.14); }
.conscience header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(23, 53, 43, 0.2); }
.conscience header b { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); color: var(--olive-v); }
.conscience header svg { width: 44px; height: 44px; color: var(--olive-v); }
.conscience span { display: block; margin-top: 18px; font-size: 16px; line-height: 1.55; }
.conscience strong { font-family: var(--display); font-weight: 400; font-size: 1.3em; color: var(--olive-v); }

/* ── Living well ────────────────────────────────── */
.living { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.living article { padding: 18px 18px 24px; border-radius: 22px; background: var(--creamv); transition: transform 0.6s var(--ease-out), box-shadow 0.6s; }
.living article:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(23, 53, 43, 0.14); }
.living__img { aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.living__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.living article:hover .living__img img { transform: scale(1.06); }
.living p { margin: 14px 0 0; font-size: 16px; line-height: 1.55; }

/* ── Commercial ecosystem ───────────────────────── */
.v-night .lead { margin-top: 14px; }
.eco { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.eco li { flex: 1 1 300px; max-width: 380px; padding: 30px 24px; border-radius: 20px; background: #e6f1e4; color: var(--deep); text-align: center; transition: transform 0.6s var(--ease-out); }
.eco li:hover { transform: translateY(-6px); }
.eco b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; white-space: nowrap; }
.eco span { display: block; margin-top: 10px; font-size: 15px; color: var(--olive-v); }

/* ── Company ────────────────────────────────────── */
.company { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.company .lead { margin-top: 24px; }
.posters { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.posters img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px rgba(23, 53, 43, 0.2); transition: transform 0.6s var(--ease-out); }
.posters img:hover { transform: translateY(-6px); }
.pills { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 12px 24px; border-radius: 999px; background: var(--creamv); border: 1px solid rgba(23, 53, 43, 0.15); font-size: 16px; transition: background 0.3s, color 0.3s; }
.pills li:hover { background: var(--deep); color: var(--creamv); }

/* ── Audience ───────────────────────────────────── */
.audience-v { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 3vw, 32px); margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.audience-v__photo { padding: 18px; background: #c3d4c6; }
.audience-v__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.aud div { padding: 22px; border-radius: 18px; background: var(--creamv); border: 1px solid rgba(23, 53, 43, 0.15); }
.aud b { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.aud div > span { display: block; margin-top: 14px; font-size: 16px; line-height: 1.55; }
.cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cities i { font-style: normal; padding: 5px 11px; border-radius: 999px; background: var(--mint); font-size: 14px; }

/* ── Footprint ──────────────────────────────────── */
.footprint { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.footprint__card { margin-top: 28px; padding: 30px; border-radius: 16px; background: var(--creamv); }
.footprint__card p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; }
.footprint__card p:last-child { margin: 0; }
.footprint__img { width: 100%; border-radius: 24px; box-shadow: 0 30px 60px rgba(23, 53, 43, 0.2); }

/* ── Stall map ──────────────────────────────────── */
.map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: clamp(32px, 4vw, 48px); }
.legend { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 1px solid rgba(23, 53, 43, 0.25); border-radius: 999px; background: var(--creamv); color: var(--deep); font-size: 15px; font-weight: 500; cursor: pointer; transition: background 0.3s, color 0.3s; }
.legend i { width: 16px; height: 16px; border-radius: 3px; }
.legend[data-kind="zora"] i { background: #f6f8f2; border: 1px solid var(--deep); }
.legend[data-kind="alba"] i { background: #e2c98b; border: 1px solid var(--deep); }
.legend[aria-pressed="true"] { background: var(--deep); color: var(--creamv); }
.map__tip { flex: 1 1 280px; margin: 0; font-size: 15px; line-height: 1.45; }
.map__tip b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.map-scroll { margin-top: 16px; border-radius: 24px; overflow-x: auto; box-shadow: 0 30px 60px rgba(23, 53, 43, 0.25); -webkit-overflow-scrolling: touch; }
.map { display: block; width: 100%; min-width: 860px; height: auto; }
.map-hint { display: none; margin: 10px 0 0; font-size: 13px; opacity: 0.7; }
.map__bg { fill: #9fb3a1; }
.map__road { fill: none; stroke: var(--olive-l); stroke-width: 72; }
.map__dash { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.5; stroke-dasharray: 8 8; animation: march 2.4s linear infinite; }
.map__road-label { fill: #fff; font-family: var(--display); font-size: 20px; text-anchor: middle; dominant-baseline: middle; }
.map__gate { fill: none; stroke: var(--deep); stroke-width: 8; }
.map__gate-label { fill: #fff; font-family: var(--display); font-size: 15px; text-anchor: middle; }
.map__title { fill: var(--deep); font-family: var(--display); font-size: 46px; text-anchor: middle; }
.map__stage { fill: var(--deep); font-family: var(--display); font-size: 26px; text-anchor: middle; }
.pin rect { stroke: var(--deep); stroke-width: 1.4; transition: fill 0.25s, stroke-width 0.25s; }
.pin text { font-family: var(--display); font-size: 15px; text-anchor: middle; fill: var(--deep); pointer-events: none; }
.pin--zora rect { fill: #f6f8f2; }
.pin--alba rect { fill: #e2c98b; }
.pin--feature rect { fill: #4a5a2a; stroke: none; }
.pin--feature text { fill: #fff; font-family: var(--sans); font-size: 18px; }
.pin--tent rect { fill: #c2b97c; stroke: none; }
.pin--tent text { transform-box: fill-box; }
.pin[data-kind] { cursor: pointer; outline: none; transition: opacity 0.3s; }
.pin[data-kind]:hover rect, .pin[data-kind]:focus-visible rect, .pin.is-on rect { stroke-width: 4; fill: #fff; }
.pin--alba.is-on rect, .pin--alba:hover rect { fill: #f1dca8; }
.pin.is-dim { opacity: 0.35; }
@keyframes march { to { stroke-dashoffset: -32; } }

/* ── Stall cards ────────────────────────────────── */
.stalls { display: grid; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.stall { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; transition: transform 0.6s var(--ease-out); }
.stall.is-on .stall__body { box-shadow: 0 0 0 2px var(--deep); }
.stall__photo { border-radius: 24px; overflow: hidden; background: #9fb59a; }
.stall__photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform 1.6s var(--ease-out); }
.stall:hover .stall__photo img { transform: scale(1.04); }
.stall__body { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); border-radius: 24px; background: var(--creamv); transition: box-shadow 0.4s; }
.stall__type { margin: 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.stall h3 { margin: 8px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; }
.stall dl { margin: 26px 0 0; border-block: 1px solid rgba(23, 53, 43, 0.25); padding: 10px 0; }
.stall dl div { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: baseline; padding: 9px 0; }
.stall dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.stall dd { margin: 0; font-size: 17px; font-weight: 600; }
.stall__price dd { font-family: var(--display); font-weight: 400; font-size: 26px; color: var(--olive-v); }
.stall__profile { margin: 18px 0 0; font-size: 16px; line-height: 1.55; flex: 1; }
.stall__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stall__ctas .btn { height: 46px; padding: 0 20px; font-size: 14px; }
.page-village .btn--solid { background: var(--deep); color: var(--creamv); }
.page-village .btn--line-dark { border-color: rgba(23, 53, 43, 0.35); color: var(--deep); background: none; cursor: pointer; }

/* ── Partnership ecosystem ──────────────────────── */
.ecosys { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.ecosys > div { padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--creamv); }
.ecosys .tag { background: #c3d4c6; }
.ecosys ol { list-style: none; counter-reset: n; padding: 0; margin: 24px 0 0; display: grid; gap: 22px; }
.ecosys li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; font-size: 16px; line-height: 1.5; }
.ecosys li::before { content: counter(n, decimal-leading-zero); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #c3d4c6; font-size: 11px; font-weight: 700; }

/* ── Beyond ─────────────────────────────────────── */
.beyond { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.beyond__grid { display: grid; grid-template-columns: 1fr 1fr 0.55fr; grid-template-rows: 1fr 1.1fr; gap: 14px; }
.beyond__grid img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; border-radius: 12px; }
.beyond__grid img:nth-child(1) { grid-column: 1; }
.beyond__grid img:nth-child(2) { grid-column: 2 / 4; }
.beyond__wide { grid-column: 1 / 3; }
/* One photo fills the whole left column */
.beyond__grid--single { display: block; }
.beyond__grid--single img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 18px; }
.beyond__text { padding: 30px; border-radius: 18px; background: #000; border: 1px solid rgba(226, 201, 139, 0.35); }
.beyond__text small { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l); }
.beyond__text p { margin: 12px 0 26px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); font-size: 16px; line-height: 1.6; }
.beyond__text p:last-of-type { border: 0; padding-bottom: 0; }

/* ── Apply ──────────────────────────────────────── */
.apply { background: var(--creamv); }
.apply__photo { height: clamp(260px, 52vh, 520px); overflow: hidden; }
.apply__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.apply__card { padding-top: clamp(32px, 5vw, 60px); padding-bottom: clamp(56px, 7vw, 90px); }
.apply__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: end; }
.apply h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.05; }
.apply__facts { margin: 0; }
.apply__facts div { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 7px 0; font-size: 16px; font-weight: 600; }
.apply__facts dt { font-weight: 500; opacity: 0.6; }
.apply__facts dd { margin: 0; }
.apply__facts a { text-decoration: none; border-bottom: 1px solid rgba(23, 53, 43, 0.3); }
.apply__form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(23, 53, 43, 0.2); }
.apply__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.apply__wide, .apply__note { grid-column: 1 / -1; }
.apply__form input, .apply__form select, .apply__form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(23, 53, 43, 0.25); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; font-weight: 400; color: var(--deep); }
.apply__form input:focus, .apply__form select:focus, .apply__form textarea:focus { outline: 2px solid var(--olive-l); outline-offset: 1px; border-color: transparent; }
.apply__form.was-checked input:invalid { border-color: #a4502f; background: #fff4ef; }
.apply__form .btn { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; }
.apply__note { margin: 0; font-size: 13px; opacity: 0.65; }

.page-village .foot { background: var(--deep); }
.page-village .foot__wordmark { color: var(--tagbg); }

@media (prefers-reduced-motion: reduce) { .map__dash { animation: none; } }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1080px) {
  .apply__form { grid-template-columns: 1fr 1fr; }
  .stall dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 860px) {
  .intro, .company, .footprint, .audience-v, .beyond, .ecosys, .apply__head, .stall { grid-template-columns: 1fr; }
  .intro__art { aspect-ratio: 16 / 10; }
  .trio, .conscience, .living { grid-template-columns: 1fr; }
  .luxury__title { margin-bottom: 60px; }
  .aud { grid-template-columns: 1fr; }
  .audience-v__photo { padding: 12px; }
  .audience-v__photo img { aspect-ratio: 4 / 3; }
  .map-hint { display: block; }
  .stall__photo img { aspect-ratio: 4 / 3; }
  .beyond__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .beyond__grid img:nth-child(2) { grid-column: 2; }
  .beyond__wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .apply__form { grid-template-columns: 1fr; }
  .eco b { font-size: 36px; }
  .v-hero__facts li { padding: 10px 14px; }
  .v-hero__facts b { font-size: 17px; }
}
