/* Avani Villas · Eden & Vale Realty. Pure white pages, a softened silky green for the dark chapters, and gold.
   Cinzel for display, Cormorant Garamond for statements, Jost for text. */

:root {
  --bg: #ffffff;
  --soft: #f7f6f3;           /* the faintest warm grey, for panels on white */
  --g9: #13231c;             /* deepest green */
  --g8: #1c3329;             /* green for text and buttons on white */
  --g7: #2a4639;
  --gold: #d6b17a;
  --gold-2: #e8d1a6;
  --gold-ink: #9a7443;       /* gold for lines and labels on white */
  --ivory: #f6f3ec;          /* light text on green */
  --ink: #18261f;
  --ink-2: #44534b;
  --mute: #737f78;
  --hair: rgba(24, 38, 31, .12);
  --hair-light: rgba(246, 243, 236, .16);
  --display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Futura", system-ui, sans-serif;
  --pad: clamp(20px, 5.5vw, 96px);
  --max: 1440px;
  --head: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }   /* no CSS smooth scrolling: it upsets ScrollTrigger's measuring; site.js glides to anchors */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 300 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--g9); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--g8); color: var(--ivory); text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* ---------- silk: the dark chapters, a soft satin green with a slow sheen ---------- */
.silk { position: relative; isolation: isolate; color: var(--ivory);
  background:
    radial-gradient(120% 85% at 0% 0%, rgba(160, 196, 176, .16), rgba(160, 196, 176, 0) 56%),
    radial-gradient(90% 75% at 100% 100%, rgba(214, 177, 122, .12), rgba(214, 177, 122, 0) 60%),
    linear-gradient(162deg, #243e33 0%, #1b3128 42%, #14251e 100%); }
.silk::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, .045) 38%, rgba(255, 255, 255, .085) 50%, rgba(255, 255, 255, .045) 62%, rgba(255, 255, 255, 0) 78%);
  background-size: 240% 100%; animation: sheen 18s ease-in-out infinite alternate; }
.silk::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.silk + .silk { box-shadow: inset 0 1px 0 rgba(214, 177, 122, .2); }   /* a fine gold seam where two green chapters meet */

/* ---------- type ---------- */
.kicker { display: flex; align-items: baseline; gap: 14px; font: 500 11.5px/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-ink); }
.kicker.light { color: var(--gold); }
.h2 { font: 400 clamp(40px, 5.1vw, 82px)/1.02 var(--serif); letter-spacing: -.012em; margin: .4em 0 .45em; color: var(--g8); }
.h2 em { font-style: italic; color: var(--gold-ink); }
.h2.sm { font-size: clamp(34px, 3.4vw, 56px); }
.silk .h2, .dusk .h2 { color: var(--ivory); }
.silk .h2 em { color: var(--gold); }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.wm > span { display: inline-block; }
.fine { font-size: 13px; line-height: 1.55; color: var(--mute); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: linear-gradient(135deg, #2f4f41, #1b3128); color: var(--ivory); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-solid:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 30px -12px rgba(27, 49, 40, .6); }
.btn-gold { background: linear-gradient(135deg, #e6cb9b, #cfa86f); color: #1a2a22; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 30px -12px rgba(214, 177, 122, .7); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--head); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); color: var(--ink); transition: color .5s var(--ease), background-color .5s var(--ease), transform .6s var(--ease), height .5s var(--ease), opacity .8s var(--ease); }
.site-header[data-theme="dark"] { color: #fff; }
.site-header.solid[data-theme="light"] { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hair); }
.site-header.solid[data-theme="dark"] { background: rgba(22, 38, 31, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.solid { height: 70px; }
.site-header.away { transform: translateY(-100%); }
.intro .site-header { opacity: 0; transform: translateY(-16px); pointer-events: none; animation: show-late .6s 9s forwards; }
@keyframes show-late { to { opacity: 1; transform: none; pointer-events: auto; } }
.brand { position: relative; display: block; width: 176px; height: 57px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: auto; transition: opacity .5s var(--ease); }
.site-header[data-theme="light"] .brand-gold, .site-header[data-theme="dark"] .brand-green { opacity: 0; }
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a { position: relative; font: 400 11.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { min-height: 44px; padding: 0 22px; }
.site-header[data-theme="dark"] .btn-solid { background: linear-gradient(135deg, #e6cb9b, #cfa86f); color: #1a2a22; }
.wa-mini { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; opacity: .85; }
.wa-mini svg { width: 19px; fill: currentColor; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.menu-btn span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font: 400 clamp(30px, 8vw, 44px)/1.25 var(--serif); text-decoration: none; }
.menu nav a:last-child { color: var(--gold); font-style: italic; }
.menu-foot { margin-top: auto; font-size: 13px; letter-spacing: .08em; color: rgba(246, 243, 236, .6); }
.menu-open .site-header { color: #fff; }
.menu-open .site-header .brand-green { opacity: 0; }
.menu-open .site-header .brand-gold { opacity: 1; }

/* ---------- hero: a gold sketch of the villa, then the dusk photograph ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bg); color: #fff; }
.hero-media { position: absolute; inset: 0; --r: 150%; }
.js .hero-media { --r: 0%; }
.js .hero-img { animation: unmask 1ms 9s forwards; }        /* if the scripts never arrive, the photo still shows */
@keyframes unmask { to { -webkit-mask-image: none; mask-image: none; } }
.hero-media picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 50%; will-change: transform;
  -webkit-mask-image: radial-gradient(circle at 50% 56%, #000 calc(var(--r) - 24%), rgba(0, 0, 0, 0) var(--r));
  mask-image: radial-gradient(circle at 50% 56%, #000 calc(var(--r) - 24%), rgba(0, 0, 0, 0) var(--r)); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-lines .ln { fill: none; stroke: var(--gold-ink); stroke-linecap: round; stroke-linejoin: round; }
.hero-lines.wide .w3 { stroke-width: 2.6; } .hero-lines.wide .w2 { stroke-width: 1.8; } .hero-lines.wide .w1 { stroke-width: 1.2; opacity: .8; }
.hero-lines.tall { display: none; }
.hero-lines.tall .w3 { stroke-width: 4; } .hero-lines.tall .w2 { stroke-width: 2.9; } .hero-lines.tall .w1 { stroke-width: 2; opacity: .8; }
.no-js .hero-lines, .static .hero-lines { display: none !important; }
.hero-shade { position: absolute; inset: 0; opacity: 1;
  background: linear-gradient(180deg, rgba(14, 25, 20, .5) 0%, rgba(14, 25, 20, 0) 22%, rgba(14, 25, 20, .05) 48%, rgba(14, 25, 20, .78) 100%),
    linear-gradient(90deg, rgba(14, 25, 20, .45) 0%, rgba(14, 25, 20, 0) 55%); }
.js .hero-shade { opacity: 0; animation: show-late .6s 9s forwards; }
.hero-dim { position: absolute; inset: 0; background: #13231c; opacity: 0; }
.hero-content { position: absolute; z-index: 3; left: var(--pad); right: var(--pad); bottom: clamp(48px, 10vh, 112px); display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.hero-copy { max-width: 780px; }
.hero-title { margin: .22em 0 .26em; font: 400 clamp(60px, 8.6vw, 152px)/.9 var(--display); letter-spacing: .01em; color: #fff; text-shadow: 0 2px 40px rgba(10, 20, 15, .25); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.hero-title .ln > span { display: inline-block; }
.hero-title .ln:last-child { padding-left: .8em; }
.hero-sub { max-width: 31em; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, .88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { flex: none; display: grid; gap: 22px; text-align: right; padding-left: 34px; border-left: 1px solid rgba(255, 255, 255, .22); }
.hero-meta dt { font: 500 10px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.hero-meta dd { margin: 8px 0 0; font: 400 clamp(20px, 1.8vw, 28px)/1 var(--display); color: #fff; white-space: nowrap; }
.hero-meta sup { font-family: var(--sans); font-size: .5em; color: var(--gold); }
.hero-cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero-cue span { position: relative; width: 1px; height: 34px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.hero-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-aspect-ratio: 1/1) {
  .hero-lines.wide { display: none; }
  .hero-lines.tall { display: block; }
}

/* ---------- 01 the villas ---------- */
main section:not(.hero) { position: relative; z-index: 2; }
.statement { padding: clamp(110px, 18vh, 200px) 0 clamp(100px, 14vh, 160px); background: var(--bg); box-shadow: 0 -30px 60px -30px rgba(10, 20, 15, .35); }
.statement-text { max-width: 22em; margin-top: 36px; font: 400 clamp(30px, 3.7vw, 60px)/1.18 var(--serif); color: var(--g8); }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: clamp(64px, 10vh, 110px); }
.facts li { padding-top: 22px; border-top: 1px solid rgba(154, 116, 67, .4); }
.facts .n { display: block; font: 400 clamp(40px, 4.2vw, 68px)/1 var(--display); color: var(--g8); font-variant-numeric: lining-nums tabular-nums; }
.facts .l { display: block; margin-top: 12px; font-size: 14px; letter-spacing: .04em; color: var(--ink-2); }

/* ---------- 02 the elevation ---------- */
.drawing { height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--bg); border-top: 1px solid var(--hair); }
.drawing-inner { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(28px, 4vw, 72px); align-items: center; padding: calc(var(--head) + 16px) var(--pad) 40px; }
.sheet-col { min-width: 0; }
.sheet { position: relative; width: min(100%, calc((100svh - var(--head) - 120px) * 1.4902)); margin-inline: auto; aspect-ratio: 1520 / 1020; background: #fff; box-shadow: 0 0 0 1px rgba(154, 116, 67, .28), 0 40px 80px -48px rgba(24, 38, 31, .4); }
.sheet::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(154, 116, 67, .16); pointer-events: none; z-index: 3; }
.sheet-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 2; }
.sheet-lines .ln { fill: none; stroke: var(--gold-ink); stroke-linecap: round; stroke-linejoin: round; }
.sheet-lines .w3 { stroke-width: 3.2; }
.sheet-lines .w2 { stroke-width: 2.2; }
.sheet-lines .w1 { stroke-width: 1.5; opacity: .85; }
.marker { position: absolute; z-index: 4; left: var(--x); top: var(--y); width: 28px; height: 28px; margin: -14px 0 0 -14px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1px solid var(--gold-ink); font: 500 12px/1 var(--display); color: var(--g8); box-shadow: 0 0 0 5px rgba(214, 177, 122, .18); }
.titleblock { position: absolute; z-index: 4; right: 22px; bottom: 22px; display: grid; gap: 3px; padding: 8px 12px; border: 1px solid rgba(154, 116, 67, .45); background: rgba(255, 255, 255, .92); font: 500 9px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.titleblock span:first-child { font-family: var(--display); font-size: 10.5px; letter-spacing: .14em; color: var(--g8); }
.sheet-caption { margin-top: 14px; text-align: center; font-size: 12.5px; letter-spacing: .06em; color: var(--mute); }
.legend-intro { margin-bottom: 22px; font-size: 15.5px; color: var(--ink-2); }
.legend ol { counter-reset: n; border-top: 1px solid var(--hair); }
.legend li { counter-increment: n; position: relative; display: grid; gap: 2px; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--hair); }
.legend li::before { content: counter(n); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--gold-ink); border-radius: 50%; font: 500 12px/1 var(--display); color: var(--g8); }
.legend li b { font: 500 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--g8); }
.legend li span { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }

/* ---------- 03 at dusk ---------- */
.dusk { height: 112vh; min-height: 640px; overflow: hidden; background: var(--g9); color: var(--ivory); display: flex; align-items: flex-end; }
.dusk-media { position: absolute; inset: -12% 0; }
.dusk-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.dusk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 28, 22, .5), rgba(16, 28, 22, 0) 34%, rgba(16, 28, 22, .08) 58%, rgba(16, 28, 22, .8)); }
.dusk-copy { position: relative; z-index: 2; padding-bottom: clamp(60px, 12vh, 130px); }
.dusk-quote { max-width: 15em; margin-top: 24px; font: 400 clamp(38px, 5.4vw, 92px)/1.02 var(--serif); }
.dusk-quote em { color: var(--gold); }

/* ---------- 04 the street ---------- */
.gallery { overflow: hidden; background: var(--bg); }
.gallery-track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); height: 100vh; height: 100svh; padding: calc(var(--head) + 10px) var(--pad) 70px; width: max-content; }
.g-intro { flex: none; width: clamp(280px, 26vw, 420px); }
.g-intro p:not(.kicker) { font-size: 16px; color: var(--ink-2); max-width: 22em; }
.g-hint { display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; font: 500 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink); }
.g-hint i { width: 64px; height: 1px; background: currentColor; }
.g-item { flex: none; display: flex; flex-direction: column; gap: 14px; }
.g-img { position: relative; overflow: hidden; height: min(62vh, 640px); background: var(--soft); }
.g-wide .g-img { width: min(52vw, 1000px); }
.g-tall .g-img { width: min(30vw, 520px); }
.g-sq .g-img { width: min(40vw, 700px); }
.g-img img { position: absolute; top: 0; left: -8%; width: 116%; height: 100%; max-width: none; object-fit: cover; }
.g-item figcaption { display: flex; gap: 14px; align-items: baseline; font-size: 13.5px; letter-spacing: .06em; color: var(--ink-2); }
.g-progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 34px; height: 1px; background: var(--hair); }
.g-progress span { position: absolute; inset: 0; background: var(--gold-ink); transform: scaleX(0); transform-origin: left; }

/* ---------- 05 inside ---------- */
.inside { padding: clamp(110px, 16vh, 180px) 0; background: var(--bg); border-top: 1px solid var(--hair); }
.inside-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.inside-copy { position: sticky; top: calc(var(--head) + 8vh); }
.inside-copy > p:not(.kicker) { max-width: 27em; color: var(--ink-2); }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--hair); }
.spec li { padding: 18px 0; border-bottom: 1px solid var(--hair); font-size: 13.5px; letter-spacing: .06em; color: var(--ink-2); }
.spec li:nth-child(odd) { padding-right: 16px; }
.spec b { display: block; margin-bottom: 4px; font: 400 30px/1 var(--display); color: var(--g8); }
.inside-images { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 22px; }
.inside-images figure { position: relative; overflow: hidden; background: var(--soft); }
.inside-images img { width: 100%; height: 100%; object-fit: cover; }
.i-a { grid-column: 1 / -1; aspect-ratio: 1396 / 1196; }
.i-b { grid-column: 1 / 8; aspect-ratio: 16 / 10; margin-top: 8vh; }
.i-c { grid-column: 5 / -1; aspect-ratio: 16 / 9; }
.i-d { grid-column: 2 / 8; aspect-ratio: 1448 / 1064; }

/* ---------- 06 community ---------- */
.community { padding: clamp(110px, 16vh, 180px) 0; }
.community-head { max-width: 900px; }
.community-head > p:not(.kicker) { max-width: 34em; color: rgba(246, 243, 236, .8); }
.panels { display: flex; gap: 14px; height: min(64vh, 620px); margin-top: clamp(48px, 8vh, 90px); }
.panel { position: relative; flex: 1; min-width: 0; overflow: hidden; border-radius: 2px; transition: flex .9s var(--ease); cursor: default; }
.panel:hover { flex: 2.4; }
.panel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.panel:hover img { transform: scale(1); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 28, 22, 0) 45%, rgba(16, 28, 22, .75)); }
.panel figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 12px; align-items: baseline; font: 400 clamp(18px, 1.45vw, 24px)/1.1 var(--serif); }
.amenities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 9vh, 96px); border-top: 1px solid var(--hair-light); }
.amenities li { display: flex; align-items: center; gap: 16px; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--hair-light); font-size: 15px; letter-spacing: .03em; color: rgba(246, 243, 236, .88); }
.amenities svg { flex: none; width: 44px; height: 44px; }
.amenities path { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 07 the land ---------- */
.plan { padding: clamp(110px, 16vh, 180px) 0; background: var(--bg); }
.plan-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.plan-copy > p:not(.kicker) { max-width: 27em; color: var(--ink-2); }
.ticks { margin-top: 30px; border-top: 1px solid var(--hair); }
.ticks li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--hair); font-size: 15px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 12px; height: 6px; border-left: 1px solid var(--gold-ink); border-bottom: 1px solid var(--gold-ink); transform: translateY(-70%) rotate(-45deg); }
.plan-art { position: relative; aspect-ratio: 999 / 773; }
.plan-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.plan-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plan-lines path { fill: none; stroke: var(--gold-ink); stroke-width: 1.6; stroke-linejoin: round; }
.plan-sheet figcaption { margin-top: 16px; font-size: 12.5px; letter-spacing: .05em; color: var(--mute); }

/* ---------- 08 location ---------- */
.location { padding: clamp(110px, 16vh, 180px) 0; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.loc-copy > p:not(.kicker):not(.fine) { max-width: 30em; color: rgba(246, 243, 236, .8); }
.loc-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 26px; }
.loc-lists h3 { margin-bottom: 12px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.loc-lists li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair-light); font-size: 14px; line-height: 1.35; color: rgba(246, 243, 236, .84); }
.loc-lists b { flex: none; font-weight: 400; font-family: var(--display); font-size: 13px; color: var(--gold); }
.location .fine { color: rgba(246, 243, 236, .5); }
.loc-diagram { position: sticky; top: calc(var(--head) + 4vh); }
.rings { width: 100%; height: auto; overflow: visible; }
.rings .ring { fill: none; stroke: rgba(214, 177, 122, .38); stroke-width: 1; }
.rings .ring-label { font: 500 10px var(--sans); letter-spacing: .2em; fill: rgba(214, 177, 122, .72); text-anchor: middle; }
.rings .spoke { stroke: rgba(214, 177, 122, .28); stroke-width: 1; stroke-dasharray: 2 4; }
.rings .pt { fill: var(--gold); }
.rings .pt.proposed { fill: #1b3128; stroke: var(--gold); stroke-width: 1.5; }
.rings .pt-label { font: 400 12.5px var(--sans); fill: rgba(246, 243, 236, .92); }
.rings .pt-dist { font: 500 10.5px var(--display); fill: var(--gold); letter-spacing: .06em; }
.rings .home { fill: var(--gold); }
.rings .home-label { font: 500 13px var(--display); letter-spacing: .24em; fill: var(--ivory); text-anchor: middle; }
.loc-diagram figcaption { margin-top: 10px; text-align: center; font-size: 12.5px; color: rgba(246, 243, 236, .5); }

/* ---------- 09 investment ---------- */
.invest { padding: clamp(110px, 16vh, 180px) 0; overflow: hidden; }
.invest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 20px; }
.card { padding: clamp(26px, 3vw, 46px); border: 1px solid rgba(214, 177, 122, .28); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.label { font: 500 11px/1.3 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.price { margin: 18px 0 26px; font: 400 clamp(56px, 6vw, 96px)/.95 var(--display); color: var(--ivory); }
.price span { margin-left: .25em; font: 400 .3em/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); vertical-align: .9em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 24px; border-top: 1px solid var(--hair-light); }
.split-item { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 16px; position: relative; }
.pie { width: 72px; height: 72px; transform: rotate(-90deg); }
.pie path { fill: none; stroke-width: 3; }
.pie .track { stroke: rgba(214, 177, 122, .18); }
.pie .val { stroke: var(--gold); stroke-dasharray: 1 1; stroke-dashoffset: 1; stroke-linecap: round; }
.pct { position: absolute; left: 0; top: 50%; width: 72px; margin-top: -9px; text-align: center; font: 500 14px/18px var(--display); color: var(--ivory); }
.split-item p { font-size: 13px; letter-spacing: .05em; color: rgba(246, 243, 236, .7); }
.split-item p b { display: block; font: 400 21px/1.2 var(--display); letter-spacing: 0; color: var(--ivory); }
.card .note { margin-top: 22px; font-size: 13px; color: rgba(246, 243, 236, .58); }
.rent-line { margin-top: -6px; color: rgba(246, 243, 236, .8); }
.quarters { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; margin: 28px 0 16px; }
.quarters .yr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.quarters i { height: 30px; background: rgba(214, 177, 122, .16); transition: background .25s; }
.quarters i.on { background: var(--gold); }
.tally { display: flex; align-items: baseline; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(246, 243, 236, .65); }
.tally .sep { flex: 1; height: 1px; background: var(--hair-light); }
.tally b { font: 400 26px/1 var(--display); letter-spacing: 0; text-transform: none; color: var(--gold); }
.growth { margin-top: clamp(48px, 8vh, 80px); }
.growth h3 { font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.growth ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.growth li { padding-top: 18px; border-top: 1px solid rgba(214, 177, 122, .4); font-size: 14px; line-height: 1.45; color: rgba(246, 243, 236, .8); }
.growth b { display: block; margin-bottom: 8px; font: 400 22px/1 var(--display); color: var(--ivory); }
.terms { margin-top: 42px; max-width: 70em; font-size: 12.5px; line-height: 1.6; color: rgba(246, 243, 236, .5); }

/* ---------- 10 the builder ---------- */
.builder { padding: clamp(110px, 16vh, 180px) 0 clamp(90px, 12vh, 140px); background: var(--bg); }
.builder-head { max-width: 900px; }
.lead { max-width: 34em; font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(48px, 8vh, 80px); }
.stats li { padding-top: 20px; border-top: 1px solid rgba(154, 116, 67, .4); }
.stats b { display: block; font: 400 clamp(40px, 4vw, 64px)/1 var(--display); color: var(--g8); }
.stats span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.marquee { margin: clamp(60px, 10vh, 110px) 0 clamp(40px, 7vh, 70px); overflow: hidden; border-block: 1px solid var(--hair); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee-track span { padding: 0 1.1em; font: 400 clamp(30px, 3.6vw, 56px)/1.1 var(--display); color: var(--g8); white-space: nowrap; }
.marquee-track span::after { content: "·"; margin-left: 1.1em; color: var(--gold-ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ledger caption { text-align: left; padding-bottom: 14px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink); }
.ledger th { padding: 0 12px 10px 0; text-align: left; font: 500 10.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); }
.ledger td { padding: 13px 12px 13px 0; border-bottom: 1px solid var(--hair); color: var(--ink-2); vertical-align: top; }
.ledger td:first-child { font: 400 18px/1.25 var(--serif); color: var(--g8); }
.ledger tbody tr { transition: background .4s; }
.ledger tbody tr:hover { background: var(--soft); }
.ongoing { display: grid; gap: 18px; }
.ongoing > div { padding: 22px 24px; border: 1px solid rgba(154, 116, 67, .3); background: var(--soft); }
.ongoing .label { color: var(--gold-ink); }
.ongoing h3 { margin: 8px 0 6px; font: 400 24px/1.15 var(--serif); color: var(--g8); }
.ongoing p:not(.label) { font-size: 14px; color: var(--ink-2); }

/* ---------- 11 visit ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 100vh; background: var(--g9); color: var(--ivory); }
.visit-media { position: relative; overflow: hidden; }
.visit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-panel { padding: clamp(110px, 14vh, 160px) var(--pad) clamp(70px, 10vh, 120px); }
.visit-panel > p:not(.kicker) { max-width: 30em; color: rgba(246, 243, 236, .8); }
.enquiry { display: grid; gap: 18px; max-width: 620px; margin-top: 36px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field legend { font: 500 10.5px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.field input, .field select { width: 100%; height: 50px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(246, 243, 236, .35); border-radius: 0; background: transparent; color: var(--ivory); font: 300 17px/1 var(--sans); outline: none; transition: border-color .4s; -webkit-appearance: none; appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(-45deg, transparent 50%, var(--gold) 50%); background-position: right 8px center, right 3px center; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus { border-bottom-color: var(--gold); }
.field input::placeholder { color: rgba(246, 243, 236, .35); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills legend { width: 100%; margin-bottom: 10px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; }
.pills span { display: inline-block; padding: 10px 16px; border: 1px solid rgba(246, 243, 236, .3); border-radius: 999px; font-size: 14px; transition: background .35s, color .35s, border-color .35s; }
.pills input:checked + span { background: linear-gradient(135deg, #e6cb9b, #cfa86f); border-color: var(--gold); color: #1a2a22; }
.pills input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.enquiry .btn { justify-self: start; margin-top: 10px; }
.form-status { min-height: 1.4em; font-size: 14.5px; color: var(--gold-2); }
.form-note { font-size: 12.5px; color: rgba(246, 243, 236, .5); }

/* ---------- footer ---------- */
.footer { padding: clamp(70px, 10vh, 110px) 0 40px; color: rgba(246, 243, 236, .82); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--hair-light); }
.foot-brand img { width: 200px; height: auto; }
.foot-brand p { margin-top: 18px; max-width: 22em; font-size: 14px; color: rgba(246, 243, 236, .6); }
.footer h4 { margin-bottom: 14px; font: 500 11px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.footer p { font-size: 14.5px; line-height: 1.7; }
.footer a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .4s; }
.footer a:hover { border-color: currentColor; }
.blank { padding: 1px 8px; border: 1px dashed rgba(214, 177, 122, .6); color: var(--gold); font-size: 13px; }
.fine-print { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; padding-top: 28px; font-size: 12px; line-height: 1.6; color: rgba(246, 243, 236, .45); }

/* ---------- floating actions ---------- */
.wa-float { position: fixed; right: 26px; bottom: 26px; z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(145deg, #2f4f41, #1a3027); color: var(--gold); box-shadow: 0 0 0 1px rgba(214, 177, 122, .5), 0 18px 40px -16px rgba(16, 28, 22, .6); transition: transform .5s var(--ease), opacity .5s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; fill: currentColor; }
.js .wa-float { opacity: 0; transform: scale(.6); pointer-events: none; }
.js .wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.mobile-bar { display: none; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
}

@media (max-width: 1023px) {
  :root { --head: 68px; }
  .site-header { height: var(--head); }
  .site-header.solid { height: 62px; }
  .brand { width: 140px; height: 46px; }
  .header-cta .btn, .header-cta .wa-mini { display: none; }

  .hero-content { flex-direction: column; align-items: stretch; gap: 26px; bottom: 34px; }
  .hero-title { font-size: clamp(56px, 15vw, 110px); }
  .hero-actions { margin-top: 22px; }
  .hero-meta { display: flex; justify-content: space-between; gap: 14px; text-align: left; padding: 16px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .hero-meta dd { font-size: 18px; }
  .hero-cue { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(14, 25, 20, .55) 0%, rgba(14, 25, 20, 0) 22%, rgba(14, 25, 20, .3) 40%, rgba(14, 25, 20, .85) 66%, rgba(14, 25, 20, .95) 100%); }

  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }

  .drawing-inner { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 12px; padding-top: calc(var(--head) + 8px); padding-bottom: 16px; }
  .legend { display: contents; }
  .legend .kicker { order: 1; }
  .legend .h2.sm { order: 2; margin: 0 0 4px; font-size: clamp(28px, 7.4vw, 40px); }
  .sheet-col { order: 3; }
  .legend ol { order: 4; }
  .legend-intro { display: none; }
  .legend li { padding: 7px 0 7px 34px; }
  .legend li::before { top: 7px; width: 22px; height: 22px; font-size: 10px; }
  .legend li b { font-size: 11px; }
  .legend li span { font-size: 13px; line-height: 1.35; }
  .sheet { width: 100%; }
  .sheet-caption { margin-top: 8px; font-size: 11.5px; }
  .titleblock { right: 10px; bottom: 10px; padding: 5px 7px; font-size: 7px; }
  .titleblock span:first-child { font-size: 8px; }
  .marker { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; box-shadow: 0 0 0 3px rgba(214, 177, 122, .2); }
  .sheet-lines .w3 { stroke-width: 4.2; }
  .sheet-lines .w2 { stroke-width: 3; }
  .sheet-lines .w1 { stroke-width: 2.2; }

  .dusk { height: 92vh; }

  .gallery-track { height: auto; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 100px var(--pad) 60px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .g-intro { width: 78vw; scroll-snap-align: start; }
  .g-item { scroll-snap-align: start; }
  .g-wide .g-img, .g-sq .g-img { width: 80vw; }
  .g-tall .g-img { width: 62vw; }
  .g-img { height: 62vw; max-height: 460px; }
  .g-img img { left: 0; width: 100%; }
  .g-progress { display: none; }

  .inside-grid, .plan-grid, .loc-grid, .ledger-wrap { grid-template-columns: 1fr; }
  .inside-copy, .loc-diagram { position: static; }
  .i-b { margin-top: 0; }

  .panels { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .panels::-webkit-scrollbar { display: none; }
  .panel, .panel:hover { flex: 0 0 64vw; height: 82vw; max-height: 480px; scroll-snap-align: start; }
  .amenities { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .loc-lists { grid-template-columns: 1fr 1fr; }
  .loc-diagram { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }

  .invest-grid { grid-template-columns: 1fr; }
  .growth ul { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 32px; }

  .visit { grid-template-columns: 1fr; }
  .visit-media { height: 48vh; }
  .visit-panel { padding-top: 70px; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .fine-print { grid-template-columns: 1fr; }

  .wa-float { display: none; }
  .mobile-bar { position: fixed; z-index: 58; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(22, 38, 31, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(214, 177, 122, .35), 0 16px 40px -18px rgba(0, 0, 0, .5); transition: transform .6s var(--ease); }
  .mobile-bar a { display: grid; place-items: center; height: 46px; border-radius: 999px; font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ivory); border: 1px solid rgba(246, 243, 236, .3); }
  .mobile-bar a:last-child { background: linear-gradient(135deg, #e6cb9b, #cfa86f); border-color: var(--gold); color: #1a2a22; }
  .js .mobile-bar { transform: translateY(160%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; }
  .js .mobile-bar.show { transform: none; visibility: visible; transition: transform .6s var(--ease); }
  .footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-meta dd { font-size: 16px; }
  .hero-meta dt { font-size: 9px; letter-spacing: .18em; }
  .hero-actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:last-child { grid-column: 1 / -1; }
  .legend li b { display: none; }
  .loc-lists { grid-template-columns: 1fr; gap: 6px; }
  .split { grid-template-columns: 1fr; }
  .growth ul { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .ledger { font-size: 13px; }
  .ledger th:nth-child(2), .ledger td:nth-child(2) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .rings .pt-label { font-size: 15px; }
  .rings .pt-dist { font-size: 13px; }
}

/* ---------- without motion ---------- */
.static .wa-float { opacity: 1; transform: none; pointer-events: auto; }
.static .mobile-bar { transform: none; visibility: visible; }
.static .sheet-lines { display: none; }
.static .hero-media { --r: 150%; }
.static .hero-shade { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .hero-cue span::after, .silk::before { animation: none; }
}
