/* Raaya Farms — website
   Brand: onyx + bronze from the approved v8 brochure, Cormorant Garamond + Montserrat.
   The light behind the page moves from dawn to night as you scroll. */

:root {
  --onyx: #15130f;
  --onyx-2: #1c1914;
  --onyx-3: #26211b;
  --ivory: #ece4d4;
  --stone: #a89c88;
  --stone-2: #786e5f;
  --bronze: #c39a5f;
  --bronze-2: #8f6d40;
  --laterite: #b5532f;
  --leaf: #6f8a5a;
  --water: #5b8b98;
  --line: rgba(195, 154, 95, .28);
  --line-soft: rgba(236, 228, 212, .10);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --step-0: 1.0625rem;   /* 17px body */
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2.4rem, 1.6rem + 3.2vw, 4.4rem);
  --step-4: clamp(2.8rem, 1.6rem + 5vw, 6rem);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1240px;

  /* sky light, driven by app.js */
  --sx: 50; --sy: 110; --sr: 232; --sg: 170; --sb: 110; --sa: .26; --stars: 0;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--onyx);
  color: var(--ivory);
  font: 300 var(--step-0)/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ivory); color: var(--onyx); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- sky ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sun {
  position: absolute; inset: -10%;
  background:
    radial-gradient(60vmax 60vmax at calc(var(--sx) * 1%) calc(var(--sy) * 1%),
      rgba(var(--sr), var(--sg), var(--sb), var(--sa)), transparent 70%);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--stars); }

/* ---------- type ---------- */
.h2 {
  font: 400 var(--step-3)/1.02 var(--serif);
  letter-spacing: -.01em;
  max-width: 14ch;
  text-wrap: balance;
}
.lede { font: 400 var(--step-2)/1.4 var(--serif); color: var(--ivory); max-width: 34ch; }
.fine { font-size: .8125rem; color: var(--stone-2); max-width: 70ch; line-height: 1.6; }
.photo-note { font-size: .75rem; color: rgba(236, 228, 212, .7); letter-spacing: .02em; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.5rem;
  font: 500 .875rem/1 var(--sans); letter-spacing: .04em;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn-solid { background: var(--bronze); color: var(--onyx); border: 1px solid var(--bronze); }
.btn-solid:hover { background: var(--ivory); border-color: var(--ivory); }
.btn-ghost { border: 1px solid rgba(236, 228, 212, .45); color: var(--ivory); background: rgba(21, 19, 15, .25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ivory); background: rgba(236, 228, 212, .1); }
.btn-line { border: 1px solid var(--line); min-height: 40px; padding: .55rem 1.1rem; font-size: .8125rem; }
.btn-line:hover { border-color: var(--bronze); color: var(--bronze); }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: .75rem 0; color: var(--stone); font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--ivory); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1rem var(--gutter);
  transition: background-color .4s, border-color .4s, transform .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(21, 19, 15, .78); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line-soft); }
.brand, .foot-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.mark { width: 26px; height: 24px; fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linejoin: round; }
.word { font: 500 .9375rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; display: flex; flex-direction: column; gap: .3rem; }
.word small { font-size: .5rem; letter-spacing: .5em; color: var(--stone); font-weight: 400; }
.links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.links a { text-decoration: none; font-size: .8125rem; color: var(--stone); letter-spacing: .03em; padding: .5rem 0; transition: color .2s; }
.links a:hover, .links a.is-here { color: var(--ivory); }
@media (max-width: 900px) { .nav nav { display: none; } }

/* ---------- hero ---------- */
.hero { height: 900vh; position: relative; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.window { position: absolute; inset: 0; opacity: 0; will-change: clip-path; }
.window img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; will-change: transform; }
.window-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,19,15,.15) 0%, rgba(21,19,15,0) 35%, rgba(21,19,15,.25) 60%, rgba(21,19,15,.88) 100%);
  opacity: 0;
}
/* the dive: stacked scenes inside the A-frame window */
.layer { position: absolute; inset: 0; opacity: 0; overflow: hidden; }
.layer img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.l-sun { opacity: 1; }
.l-sun img { transform-origin: 50% 46%; }
.l-above img { transform-origin: 58% 50%; }
.l-dark { background: var(--onyx); }
.l-plan { display: grid; place-items: center; }
.l-plan svg { width: min(84vw, 1100px); height: auto; max-height: 74vh; overflow: visible; }
.sp-pubroad { fill: #2c2821; }
.sp-ground { fill: #1d1914; }
.sp-line { fill: none; stroke: var(--bronze); stroke-width: 2.5; stroke-linejoin: round; }
.sp-road { fill: #3a332a; }
.sp-club { fill: rgba(195,154,95,.14); }
.sp-green { fill: rgba(111,138,90,.45); }
.sp-club-b { fill: #8b6c45; }
.sp-pool { fill: var(--water); }
.sp-plot { stroke: #15130f; stroke-width: 1.5; }
.sp-plot.west { fill: #e6dcc8; }
.sp-plot.east { fill: #c39a5f; }
.sp-plot.corner { fill: url(#spHatch); stroke: rgba(236,228,212,.7); }
.clouds { position: absolute; inset: -25%; opacity: 0; visibility: hidden; pointer-events: none; will-change: transform, opacity; }
.clouds i { position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(252,244,232,.98), rgba(250,238,222,.7) 45%, rgba(250,238,222,0)); }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(21,19,15,.3) 0%, rgba(21,19,15,0) 22%, rgba(21,19,15,0) 50%, rgba(21,19,15,.78) 100%), linear-gradient(90deg, rgba(21,19,15,.45) 0%, rgba(21,19,15,0) 55%); }
.story-caps { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(3rem, 10vh, 6.5rem); height: 0; pointer-events: none; }
.cap { position: absolute; left: 0; bottom: 0; margin: 0; width: min(100%, 820px); opacity: 0; visibility: hidden; }
.cap-l { display: block; max-width: 15ch; font: 400 clamp(2.1rem, 1.3rem + 3vw, 4.2rem)/1.02 var(--serif); letter-spacing: -.01em; text-shadow: 0 2px 34px rgba(0,0,0,.55); text-wrap: balance; }
.cap-s { display: block; margin-top: .9rem; font-size: .875rem; color: rgba(236,228,212,.86); text-shadow: 0 1px 14px rgba(0,0,0,.7); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(236,228,212,.08); }
.hero-progress i { display: block; height: 100%; background: var(--bronze); transform-origin: left; transform: scaleX(0); }

.frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.frame path { fill: none; stroke: var(--bronze); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.frame-ridge { opacity: .55; }

.hero-mark { position: absolute; left: 0; right: 0; text-align: center; top: var(--mark-top, 78%); }
.wordmark { font: 500 clamp(1.6rem, 1rem + 2.4vw, 2.6rem)/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; display: inline-flex; overflow: hidden; }
.wordmark span { display: inline-block; }
.wordmark-sub { margin: .8rem 0 0; font-size: .6875rem; letter-spacing: .7em; padding-left: .7em; color: var(--stone); text-transform: uppercase; }

.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2.5rem, 8vh, 6rem);
  max-width: var(--max); margin: 0 auto;
  opacity: 0; visibility: hidden;
}
.hero-line { font: 400 var(--step-4)/.98 var(--serif); letter-spacing: -.015em; margin: 0 0 1.4rem; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { max-width: 52ch; color: rgba(236,228,212,.9); margin-bottom: 1.8rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); font-size: .75rem; letter-spacing: .08em; color: var(--stone); display: flex; flex-direction: column; align-items: center; gap: .6rem; margin: 0; opacity: 0; }
.scroll-cue span { width: 1px; height: 36px; background: linear-gradient(var(--bronze), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero-note { position: absolute; right: var(--gutter); bottom: 1.4rem; opacity: 0; }
@media (max-height: 620px) { .scroll-cue { bottom: .8rem; } .scroll-cue span { display: none; } }

/* ---------- section shell ---------- */
:where(section:not(.hero)) { padding: clamp(5rem, 12vh, 9rem) var(--gutter); position: relative; }
:where(section:not(.hero)) > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

/* ---------- the land ---------- */
.land-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.land-text .h2 { margin-bottom: 2rem; }
.land-text p:not(.lede) { color: var(--stone); max-width: 58ch; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--stone-2); font-size: .8125rem; }
.facts dd { margin: 0; font: 400 1.3rem/1.3 var(--serif); }
.land-wide { margin: clamp(4rem, 10vh, 7rem) auto 0; max-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
.parallax { overflow: hidden; height: min(80vh, 760px); }
.parallax img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.land-wide figcaption { padding: 1rem var(--gutter) 0; font-size: .8125rem; color: var(--stone-2); max-width: var(--max); margin: 0 auto; }

/* ---------- around you ---------- */
.around-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.around-head p { color: var(--stone); margin: 0; }
.around-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.rings-wrap { aspect-ratio: 1; width: 100%; max-width: 620px; margin: 0 auto; }
.rings { width: 100%; height: 100%; overflow: visible; }
.rings .glow { fill: rgba(195,154,95,.05); }
.rings .ring { fill: none; stroke: rgba(236,228,212,.16); stroke-width: 1; stroke-dasharray: 2 4; transition: stroke .4s; }
.rings .ring.is-on { stroke: var(--bronze); stroke-dasharray: none; }
.rings .ring-km { font: 500 9px var(--sans); fill: var(--stone-2); letter-spacing: .04em; paint-order: stroke; stroke: var(--onyx); stroke-width: 4px; }
.rings .dot-g { cursor: pointer; }
.rings .dot { fill: var(--onyx); stroke: var(--bronze); stroke-width: 1.4; transition: r .3s, fill .3s; }
.rings .dot-g.is-on .dot { fill: var(--bronze); }
.rings .dot-halo { fill: none; stroke: var(--bronze); opacity: 0; }
.rings .dot-g.is-on .dot-halo { animation: halo 2.2s ease-out infinite; }
@keyframes halo { 0% { r: 6; opacity: .8; } 100% { r: 22; opacity: 0; } }
.rings .dot-label { font: 400 12.5px var(--sans); fill: var(--stone); transition: fill .3s; pointer-events: none; }
.rings .dot-g.is-on .dot-label { fill: var(--ivory); }
.rings .centre-mark { fill: none; stroke: var(--bronze); stroke-width: 1.4; stroke-linejoin: round; }
.rings .centre-label { font: 500 9px var(--sans); fill: var(--ivory); letter-spacing: .4em; text-transform: uppercase; }
.rings .spoke { stroke: var(--bronze); stroke-width: 1; opacity: .7; }

.place-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.place-list button {
  border: 1px solid var(--line-soft); background: transparent; border-radius: 999px;
  padding: .55rem .95rem; font-size: .8125rem; color: var(--stone); cursor: pointer;
  min-height: 40px; transition: border-color .25s, color .25s, background-color .25s;
}
.place-list button:hover { border-color: var(--line); color: var(--ivory); }
.place-list button[aria-pressed="true"] { border-color: var(--bronze); color: var(--onyx); background: var(--bronze); }
.place-card { border: 1px solid var(--line); background: rgba(28, 25, 20, .6); backdrop-filter: blur(8px); overflow: hidden; border-radius: 4px; }
.place-media { aspect-ratio: 16 / 9; background: var(--onyx-3); overflow: hidden; position: relative; }
.place-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.place-media.no-img img { opacity: 0; }
.place-media.no-img::after {
  content: attr(data-km); position: absolute; inset: 0; display: grid; place-items: center;
  font: 300 clamp(3rem, 7vw, 5.5rem)/1 var(--serif); color: var(--bronze);
  background: radial-gradient(circle at 50% 50%, rgba(195,154,95,.12), transparent 70%);
}
.place-body { padding: 1.4rem 1.6rem 1.2rem; }
.place-km { font-size: .8125rem; color: var(--bronze); margin: 0 0 .3rem; }
.place-body h3 { font: 400 1.9rem/1.1 var(--serif); margin-bottom: .6rem; }
.place-body p:last-child { color: var(--stone); margin: 0; }
.around .fine { margin-top: 2.5rem; }

/* ---------- plots ---------- */
.plots-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.plots-head p { color: var(--stone); max-width: 42ch; margin: 0; }
.plan-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-rows: auto 1fr;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  background: rgba(28, 25, 20, .72); backdrop-filter: blur(10px);
}
.plan-tools { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line-soft); }
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid var(--line-soft); background: transparent; border-radius: 999px;
  padding: .5rem .95rem; min-height: 40px; font-size: .8125rem; color: var(--stone); cursor: pointer;
  transition: border-color .25s, color .25s, background-color .25s;
}
.chip:hover { color: var(--ivory); border-color: var(--line); }
.chip.is-on { color: var(--ivory); border-color: var(--bronze); background: rgba(195,154,95,.12); }
.sw { width: 12px; height: 12px; border-radius: 2px; display: inline-block; flex: none; }
.sw-west { background: #e6dcc8; }
.sw-east { background: var(--bronze); }
.sw-corner { background: repeating-linear-gradient(45deg, transparent 0 2px, rgba(236,228,212,.7) 2px 3px); border: 1px solid rgba(236,228,212,.7); }
.sw-club { background: rgba(195,154,95,.25); border: 1px solid var(--bronze-2); }
.sw-green { background: rgba(111,138,90,.55); }

.plan-stage {
  position: relative; min-height: 420px;
  background:
    linear-gradient(rgba(236,228,212,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(236,228,212,.035) 1px, transparent 1px) 0 0 / 40px 40px;
}
.plan { width: 100%; height: 100%; display: block; padding: clamp(.5rem, 2vw, 1.5rem); overflow: visible; }
.plan .ground { fill: #211d17; stroke: var(--bronze); stroke-width: 2; }
.plan .road { fill: #3a332a; }
.plan .pubroad { fill: #2c2821; }
.plan .buffer { fill: rgba(111,138,90,.42); }
.plan .clubland { fill: rgba(195,154,95,.10); }
.plan .commercial { fill: url(#hatch); stroke: rgba(236,228,212,.25); stroke-width: 1; }
.plan .building { fill: #8b6c45; stroke: #c39a5f; stroke-width: 1; }
.plan .room { fill: #6f573a; stroke: #b08752; stroke-width: .8; }
.plan .pool { fill: var(--water); }
.plan .deck { fill: #5e4f3c; }
.plan .pond { fill: #4c7a80; }
.plan .fire { fill: #c56a35; }
.plan .track { fill: rgba(111,138,90,.5); }
.plan .trail { fill: none; stroke: #a9bf8f; stroke-width: 2; stroke-dasharray: 5 5; }
.plan .plot { stroke: #15130f; stroke-width: 1.5; cursor: pointer; transition: fill .25s; }
.plan .plot.is-dim, .plan .plot.was-dim { transition: opacity .35s, fill .25s; }
.plan .plot.west { fill: #e6dcc8; }
.plan .plot.east { fill: #c39a5f; }
.plan .plot.corner { fill: url(#hatchPlot); stroke: rgba(236,228,212,.75); }
.plan .plot:hover, .plan .plot:focus-visible { fill: #f3c48a; outline: none; }
.plan .plot.is-sel { fill: var(--laterite); stroke: #f0d3b0; stroke-width: 2.5; }
.plan .plot.is-dim { opacity: .14; }
.plan .pnum { font: 600 17px var(--sans); text-anchor: middle; dominant-baseline: central; pointer-events: none; fill: #2a241c; transition: opacity .35s; }
.plan .pnum.on-dark { fill: var(--ivory); }
.plan .pnum.is-dim { opacity: .25; }
.plan .pnum.is-sel { fill: #fff; }
.plan .amen-label { font: 500 19px var(--sans); fill: var(--ivory); text-anchor: middle; pointer-events: none; paint-order: stroke; stroke: rgba(21,19,15,.85); stroke-width: 3px; }
.plan .amen-label.sm { font-size: 15px; fill: #d6cbb6; }
.plan .leader { fill: none; stroke: rgba(236,228,212,.45); stroke-width: 1; }
.plan .leader-dot { fill: var(--ivory); }
.plan .gate-mark { fill: var(--bronze); }
.plan .road-label { font: 400 14px var(--sans); fill: var(--stone-2); letter-spacing: .06em; }
.plan-tip {
  position: absolute; pointer-events: none; z-index: 3;
  background: var(--ivory); color: var(--onyx); font-size: .8125rem; font-weight: 500;
  padding: .45rem .7rem; border-radius: 3px; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px));
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.compass { position: absolute; left: 1.2rem; top: 1rem; display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .6875rem; color: var(--stone); }
.pan-hint { display: none; align-items: center; gap: .5rem; justify-content: center; padding: .7rem 1rem; font-size: .75rem; color: var(--stone); border-top: 1px solid var(--line-soft); }
.compass svg { width: 14px; height: 22px; fill: var(--bronze); }

.plot-card { border-left: 1px solid var(--line-soft); padding: 1.8rem 1.6rem; display: flex; flex-direction: column; }
.plot-big { font: 300 5rem/1 var(--serif); color: var(--bronze); margin: 0 0 .4rem; }
.plot-empty > p:not(.plot-big) { color: var(--stone); }
.legend { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; font-size: .8125rem; color: var(--stone); }
.legend li { display: flex; align-items: center; gap: .7rem; }
.plot-no { font-size: .8125rem; color: var(--bronze); margin: 0; }
.plot-area { font: 300 4.2rem/1 var(--serif); margin: .3rem 0 1.4rem; display: flex; align-items: baseline; gap: .5rem; }
.plot-area small { font: 400 .875rem var(--sans); color: var(--stone); }
.plot-dl { margin: 0 0 1.6rem; border-top: 1px solid var(--line-soft); }
.plot-dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); }
.plot-dl dt { color: var(--stone-2); font-size: .8125rem; }
.plot-dl dd { margin: 0; text-align: right; font-size: .9375rem; }
.plot-info .link-btn { align-self: center; margin-top: .4rem; }
.plots .fine { margin-top: 1.4rem; }

/* ---------- farmhouse ---------- */
.fh-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: 3rem; }
.fh-head p { color: var(--stone); max-width: 48ch; margin: 0; }
.hotspot-figure { position: relative; border-radius: 6px; overflow: hidden; }
.hotspot-figure > img { width: 100%; aspect-ratio: 1200 / 670; object-fit: cover; }
.hotspot-figure .photo-note { position: absolute; right: 1rem; bottom: .8rem; }
.hs {
  position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center;
}
.hs span { width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 5px rgba(236,228,212,.28), 0 4px 18px rgba(0,0,0,.4); transition: transform .3s, background-color .3s; }
.hs::before { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--ivory); animation: hsPulse 2.6s ease-out infinite; }
.hs:hover span, .hs.is-on span { transform: scale(1.25); background: var(--bronze); }
@keyframes hsPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3); opacity: 0; } }
.hs-card {
  position: absolute; z-index: 2; width: min(300px, 80%);
  background: rgba(21,19,15,.9); backdrop-filter: blur(10px); border: 1px solid var(--line);
  border-radius: 4px; padding: 1.1rem 1.25rem;
}
.hs-card h3 { font: 400 1.5rem/1.15 var(--serif); margin-bottom: .4rem; }
.hs-card p { color: var(--stone); font-size: .9375rem; margin: 0; }

.fh-gallery { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(1rem, 2vw, 1.5rem); }
.g { margin: 0; overflow: hidden; border-radius: 6px; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.g:hover img { transform: scale(1.035); }
.g1 { grid-row: 1 / 3; }
.g1 img { aspect-ratio: auto; min-height: 100%; }
.g2 img, .g3 img { aspect-ratio: 16 / 10; }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.2rem 1rem;
  background: linear-gradient(transparent, rgba(21,19,15,.85));
  font-size: .875rem; color: var(--ivory);
}
.g figcaption em { display: block; font-style: normal; font-size: .75rem; color: rgba(236,228,212,.65); margin-top: .2rem; }

/* ---------- clubhouse ---------- */
.club-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vh, 5rem); }
.club-list { list-style: none; padding: 0; margin: 2.4rem 0 1.4rem; border-top: 1px solid var(--line-soft); }
.club-list li { display: grid; grid-template-columns: 13rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.club-list li span:first-child { font: 400 1.3rem/1.3 var(--serif); }
.club-list li span:last-child { color: var(--stone); font-size: .9375rem; }

/* ---------- evening ---------- */
.evening { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.evening > * { max-width: none; margin: 0; }
.ev-figure .parallax { height: min(86vh, 820px); border-radius: 6px; }
.ev-line { font: 300 var(--step-4)/.98 var(--serif); margin-bottom: 1.6rem; }
.ev-copy > p:not(.ev-line):not(.photo-note) { color: var(--stone); max-width: 36ch; }

/* ---------- prices ---------- */
.prices-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.prices-head p { color: var(--stone); margin-top: 1.6rem; }
.pricer { border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.4rem, 3vw, 2.4rem); background: rgba(28, 25, 20, .66); backdrop-filter: blur(10px); }
.seg { border: 0; padding: 0; margin: 0 0 1.4rem; }
.seg legend { font-size: .8125rem; color: var(--stone-2); margin-bottom: .6rem; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg legend { width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--stone); font-size: .875rem; transition: all .25s; cursor: pointer;
}
.seg input:hover + span { color: var(--ivory); border-color: var(--line); }
.seg input:checked + span { background: var(--ivory); color: var(--onyx); border-color: var(--ivory); }
.seg input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 3px; }
.price-out { border-top: 1px solid var(--line-soft); padding-top: 1.6rem; margin-top: .4rem; }
.price-label { font-size: .875rem; color: var(--bronze); margin: 0; }
.price { font: 300 clamp(4.5rem, 3rem + 6vw, 8.5rem)/1 var(--serif); margin: .4rem 0 .6rem; display: flex; align-items: baseline; gap: .15em; letter-spacing: -.02em; }
.price .rupee { font-family: var(--sans); font-weight: 200; font-size: .55em; transform: translateY(-.12em); color: var(--bronze); }
.price .unit { font: 400 .9rem var(--sans); color: var(--stone); letter-spacing: .02em; margin-left: .4em; }
.price.is-text { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
.price.is-text .rupee, .price.is-text .unit { display: none; }
.price-note { color: var(--stone); margin: 0 0 1.4rem; }
.pack-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.5rem; }
.pack-list li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; font-size: .9375rem; transition: color .35s, opacity .35s; border-bottom: 1px solid var(--line-soft); }
.pack-list li::before { content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1px solid var(--stone-2); transition: all .35s; }
.pack-list li.is-in::before { background: var(--bronze) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2315130f' stroke-width='1.6'/%3E%3C/svg%3E") center / 100% no-repeat; border-color: var(--bronze); }
.pack-list li:not(.is-in) { color: var(--stone-2); }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vh, 5rem); }
.visit-h { max-width: 16ch; margin-bottom: 1.8rem; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.visit-dl { margin: 0; border-top: 1px solid var(--line-soft); }
.visit-dl div { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.visit-dl dt { font-size: .8125rem; color: var(--stone-2); }
.visit-dl dd { margin: .2rem 0 0; font: 400 1.25rem/1.4 var(--serif); }

/* ---------- footer ---------- */
.foot { padding: 3rem var(--gutter) 6rem; display: flex; gap: 2rem; justify-content: space-between; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line-soft); max-width: calc(var(--max) + var(--gutter) * 2); margin: 3rem auto 0; }
.foot p { font-size: .75rem; color: var(--stone-2); max-width: 70ch; margin: 0; }

.mobile-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .land-grid, .around-grid, .fh-head, .club-grid, .prices-grid, .visit-grid, .evening { grid-template-columns: 1fr; }
  .evening { padding-left: var(--gutter); padding-right: var(--gutter); }
  .plan-shell { grid-template-columns: 1fr; }
  .plot-card { border-left: 0; border-top: 1px solid var(--line-soft); }
  .plot-empty { display: grid; grid-template-columns: auto 1fr; gap: 0 1.2rem; align-items: center; }
  .plot-empty .legend { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .plot-big { font-size: 3.6rem; }
}
@media (max-width: 640px) {
  :root { --step-0: 1rem; }
  .facts div { grid-template-columns: 1fr; gap: .1rem; }
  .club-list li { grid-template-columns: 1fr; gap: .2rem; }
  .fh-gallery { grid-template-columns: 1fr; }
  .g1 { grid-row: auto; }
  .g1 img { aspect-ratio: 4 / 3; }
  .pack-list { grid-template-columns: 1fr; }
  .plot-empty .legend { grid-template-columns: 1fr; }
  .plan-stage { min-height: 0; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .plan-stage::-webkit-scrollbar { display: none; }
  .plan { width: 860px; max-width: none; height: auto; }
  .pan-hint { display: flex; }
  .plan-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .plan-tools::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .compass { position: sticky; left: 1rem; top: auto; float: left; margin: .8rem 0 -3rem; z-index: 2; }
  .window-shade { background: linear-gradient(180deg, rgba(21,19,15,.2) 0%, rgba(21,19,15,0) 25%, rgba(21,19,15,.55) 50%, rgba(21,19,15,.94) 100%); }
  .plan .pnum { font-size: 19px; }
  .nav .btn-line { display: none; }
  .mobile-cta {
    display: flex; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40;
    justify-content: center; align-items: center; min-height: 52px; border-radius: 999px;
    background: var(--bronze); color: var(--onyx); text-decoration: none; font-weight: 500; font-size: .9375rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.45); transform: translateY(150%); transition: transform .4s;
  }
  .mobile-cta.show { transform: none; }
  .hs-card { left: 1rem !important; right: 1rem; bottom: 1rem; top: auto !important; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
