/* Panorama Waterford — staging build
   COLUMN GRID (all components snap to it; press G or add ?grid to the URL to see it)
   - Desktop ≥1200: 12 columns, fluid. At 1440: 180 margin · 68 column · 24 gutter (the Figma frame). Scales with the
     viewport up to a 2200px grid. Components use --c (start column) and --s (span); --y is the vertical position in
     design px, scaled by --u. --w = fixed design width for icons/logos. .bleed-l/.bleed-r run to the viewport edge.
   - Tablet 768–1199: 12 columns, 48 margin · 24 gutter, real CSS grid (--tc/--tr placement).
   - Mobile <768: 4 columns, 24 margin · 16 gutter, real CSS grid (--mc placement; default = the 4 content columns). */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-Italic.otf") format("opentype"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-MediumItalic.otf") format("opentype"); font-style: italic; font-weight: 500; font-display: swap; }
@font-face { font-family: "Gowun Batang"; src: url("../fonts/GowunBatang-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --linen: #F3F1DF;
  --sand: #E1DEBD;
  --olive: #BBAF78;
  --olive-band: #968C60;   /* sampled from mockup — TBC vs Olive */
  --rust: #A34A2F;
  --umber: #513D26;
  --umber-ink: #41311E;    /* sampled footer/buttons — TBC vs Deep Umber #24180A */
  --serif: "Cormorant Garamond", Georgia, serif;
  --body: "Gowun Batang", Georgia, serif;
  --hdr: 64px;
  /* motion: slow, calm, considered */
  --ease: cubic-bezier(.16, 1, .3, 1);        /* long soft ease-out */
  --ease-io: cubic-bezier(.65, 0, .35, 1);    /* gentle in-out */
  --d-hover: .6s;  --d-state: 1s;  --d-reveal: 1.6s;  --d-hero: 2.4s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: var(--hdr); }   /* smooth scroll is eased in main.js */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--linen); color: var(--umber); font-family: var(--body); font-size: 14px; line-height: 1.25; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--umber-ink); color: var(--linen); padding: 8px 12px; }
.skip:focus { left: 8px; }

/* ---------- canvas system ---------- */
main, footer { container-type: inline-size; }
.band { position: relative; overflow: hidden; }
.band--linen { background: var(--linen); }
.band--sand { background: var(--sand); }
.band--rust { background: var(--rust); color: var(--linen); }
.band--olive { background: var(--olive-band); color: var(--linen); }
.band--deep { background: var(--umber-ink); color: var(--linen); }

/* desktop grid: 1440 design units → margin 180, column 68, gutter 24 (column pitch 92) */
.canvas { --gw: min(100cqw, 2200px); --u: calc(var(--gw) / 1440); --gut: max(0px, (100cqw - 2200px) / 2);
  position: relative; max-width: 2200px; margin: 0 auto; height: calc(var(--ch) * var(--u)); }
.abs { position: absolute; top: calc(var(--y) * var(--u)); left: calc((180 + (var(--c, 1) - 1) * 92) * var(--u)); width: calc((92 * var(--s, 1) - 24) * var(--u)); }
.abs:not([style*="--s:"]) { width: auto; }
.abs[style*="--w:"]:not([style*="--s:"]) { width: calc(var(--w) * var(--u)); }
.abs.to-end { left: auto; right: calc(180 * var(--u)); }
.abs.arrow { left: calc(50% - 8px); }
.pic { height: auto; object-fit: cover; }
.bleed-l { left: calc(0px - var(--gut)); width: calc((180 + 92 * var(--s) - 24) * var(--u) + var(--gut)); }
.bleed-r { width: calc((1440 - 180 - (var(--c) - 1) * 92) * var(--u) + var(--gut)); }

/* grid overlay (G key / ?grid) */
.grid-overlay { display: none; position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.show-grid .grid-overlay { display: block; }
.go-inner { --gw: min(100vw, 2200px); --u: calc(var(--gw) / 1440); height: 100%; max-width: 2200px; margin: 0 auto; padding: 0 calc(180 * var(--u)); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: calc(24 * var(--u)); }
.go-inner i { background: rgba(163,74,47,.12); border-left: 1px solid rgba(163,74,47,.35); border-right: 1px solid rgba(163,74,47,.35); }

/* ---------- type ---------- */
.h90, .h120, .h35, .h30, .statement, .lead, .num, .num-m { font-family: var(--serif); font-style: italic; font-weight: 400; }
.h90 { font-size: calc(90 * var(--u)); line-height: .88; text-transform: uppercase; display: flex; flex-direction: column; letter-spacing: -.005em; white-space: nowrap; z-index: 2; }
.h90 .ind { padding-left: calc(var(--i) * var(--u)); }
.h35 { font-weight: 500; font-size: calc(34 * var(--u)); line-height: 1; text-transform: uppercase; }
.h30 { font-weight: 500; font-size: calc(29 * var(--u)); line-height: 1.05; }
.statement { font-weight: 500; font-size: calc(50 * var(--u)); line-height: 1; text-align: center; }
.lead { font-weight: 500; font-size: calc(28 * var(--u)); line-height: 1.07; }
.body, .feat p { font-size: max(13px, calc(14 * var(--u))); line-height: 1.22; letter-spacing: .01em; }
.num { font-weight: 500; font-size: calc(120 * var(--u)); line-height: 1; z-index: 2; pointer-events: none; }
.num-m { display: none; }
.feat .h30 { margin-bottom: calc(30 * var(--u)); }
.entrance { margin: 0; }
.entrance .pic { display: block; width: 100%; }
.entrance figcaption { margin-top: calc(12 * var(--u)); font-size: max(13px, calc(14 * var(--u))); line-height: 1.2; }
.fine { font-size: max(12px, calc(12 * var(--u))); opacity: .75; }
.on-dark { color: var(--linen); }

/* ---------- header + menu ---------- */
.site-header { --gm: calc(min(100%, 2200px) / 1440 * 180 + max(0px, (100% - 2200px) / 2)); position: sticky; top: 0; z-index: 50; height: var(--hdr); background: var(--linen); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gm); }
.site-header { transition: transform .6s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }   /* hide on scroll down, reveal on scroll up (main.js) */
.hdr-icon { display: flex; } .hdr-icon img { width: 26px; }
.hdr-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; }
.hdr-mark img { width: 150px; }
.hdr-menu { width: 24px; height: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.hdr-menu span { height: 1.5px; background: var(--umber); }
.menu { position: absolute; right: calc(var(--gm) - 40px); top: 0; width: 232px; padding: 64px 40px 32px; background: var(--sand); }
.menu { opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .8s var(--ease), transform 1s var(--ease), visibility 0s linear 1s; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu li { opacity: 0; transform: translateY(8px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.menu.is-open li { opacity: 1; transform: none; }
.menu.is-open li:nth-child(2) { transition-delay: .07s; } .menu.is-open li:nth-child(3) { transition-delay: .14s; } .menu.is-open li:nth-child(4) { transition-delay: .21s; } .menu.is-open li:nth-child(5) { transition-delay: .28s; }
.menu li + li { margin-top: 10px; }
.menu a { text-decoration: none; font-size: 14px; }
.menu a:hover { text-decoration: underline; }
.menu-close { position: absolute; right: 38px; top: 16px; font-size: 26px; line-height: 1; }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(min(100vw, 2200px) * .4646); min-height: 420px; overflow: hidden; color: var(--linen); container-type: inline-size; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity var(--d-hero) var(--ease-io), transform 12s linear; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-title span { animation: rise var(--d-reveal) var(--ease) both; }
.hero-title .l1 { animation-delay: .4s; } .hero-title .l2 { animation-delay: .75s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-dots button { transition: background var(--d-hover) var(--ease); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(30,20,10,.28), rgba(30,20,10,0) 65%); pointer-events: none; }
.hero-title { --u: calc(min(100cqw, 2200px) / 1440); position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -48%); width: calc(707 * var(--u)); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: calc(120 * var(--u)); line-height: .85; text-transform: uppercase; }
.hero-title span { display: block; white-space: nowrap; }
.hero-title .l2 { padding-left: calc(125 * var(--u)); }
.hero-ctrl { position: absolute; z-index: 3; right: calc(min(100cqw, 2200px) / 1440 * 180 + max(0px, (100cqw - 2200px) / 2)); bottom: 24px; display: flex; align-items: center; gap: 16px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--linen); }
.hero-dots button[aria-selected="true"] { background: var(--linen); }
.hero-pause { width: 28px; height: 28px; border: 1px solid rgba(243,241,223,.7); border-radius: 50%; display: grid; place-items: center; }
.i-pause { width: 8px; height: 9px; border-left: 2px solid var(--linen); border-right: 2px solid var(--linen); }
.hero-pause[aria-pressed="true"] .i-pause { border: 0; width: 0; height: 0; border-left: 8px solid var(--linen); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }

/* ---------- bits ---------- */
.arrow { width: 16px; height: 52px; }
.arrow svg { width: 16px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1; }
.arrow { animation: nudge 4.8s var(--ease-io) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.btn { display: inline-flex; align-items: center; justify-content: center; height: max(38px, calc(38 * var(--u, 1px))); padding: 0 max(24px, calc(29 * var(--u, 1px))); background: var(--umber-ink); color: var(--linen); font-family: var(--body); font-size: max(13px, calc(13 * var(--u, 1px))); text-decoration: none; border-radius: 2px; white-space: nowrap; transition: background var(--d-hover) var(--ease); }
.btn:hover { background: var(--umber); }
.ctas { display: flex; gap: calc(24 * var(--u)); justify-content: center; }
.rule { border: 0; border-top: 1px solid var(--umber); margin: 0; }
.line-art { opacity: .5; pointer-events: none; }
.icon { height: auto; }
.joys { display: flex; align-items: center; gap: calc(38 * var(--u)); }
.joys .icon { width: calc(67 * var(--u)); }

/* accordion */
.acc-item { border-bottom: 1px solid rgba(243,241,223,.85); }
.acc-item > button { width: 100%; display: flex; align-items: center; gap: 18px; padding: 0 0 22px; text-align: left; }
.acc-item + .acc-item > button { padding-top: 28px; }
.acc-n { flex: none; width: 24px; height: 24px; border: 1px solid var(--linen); border-radius: 50%; font-family: var(--body); font-size: 11px; line-height: 1; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; display: grid; place-items: center; }
.acc-t { flex: 1; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: max(17px, calc(20 * var(--u))); }
.acc-a { width: 32px; height: 1px; background: var(--linen); position: relative; }
.acc-a::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--linen); border-right: 1px solid var(--linen); transform: rotate(45deg); }
.acc-a { transition: transform var(--d-state) var(--ease); transform-origin: 50% 50%; }
.is-open .acc-a { transform: rotate(90deg); }
.acc-panel { overflow: hidden; transition: height var(--d-state) var(--ease-io); padding: 0 0 0 41px; font-size: max(12.5px, calc(14 * var(--u))); line-height: 1.22; }
.acc-panel > :last-child { margin-bottom: 24px; }
.todo { opacity: .7; font-style: italic; }

/* location map pins */
.loc-copy { margin-top: calc(56 * var(--u)); }
.map .pic { width: 100%; height: auto; }
.map-pins { position: absolute; inset: 0; }
.map-home { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 4px rgba(187,175,120,.35); animation: pulse 4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(187,175,120,.6); } 100% { box-shadow: 0 0 0 16px rgba(187,175,120,0); } }
.pin { --p: max(32px, calc(36 * var(--u))); position: absolute; width: var(--p); height: var(--p); margin: calc(var(--p) / -2) 0 0 calc(var(--p) / -2); padding: 0; border-radius: 50%; background: var(--umber-ink); color: var(--linen); border: 2px solid var(--linen); box-shadow: 0 0 0 2px var(--umber-ink); font-family: var(--body); font-size: max(13px, calc(14 * var(--u))); letter-spacing: .03em; font-variant-numeric: lining-nums tabular-nums; line-height: 1; display: grid; place-items: center; opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity var(--d-state) var(--ease), transform var(--d-state) var(--ease), background var(--d-hover) var(--ease), color var(--d-hover) var(--ease); }
.pin.is-on { opacity: 1; transform: scale(1); pointer-events: auto; }
.pin.is-on:nth-of-type(3) { transition-delay: .15s; } .pin.is-on:nth-of-type(4) { transition-delay: .3s; } .pin.is-on:nth-of-type(5) { transition-delay: .45s; }
.pin.is-hot, .pin:hover, .pin:focus-visible { background: var(--linen); color: var(--umber-ink); border-color: var(--umber-ink); box-shadow: 0 0 0 2px var(--linen); transform: scale(1.15); z-index: 2; outline: none; }
.map-tip { position: absolute; z-index: 3; transform: translate(var(--tx, -50%), calc(-100% - 28px)); background: var(--linen); color: var(--umber); padding: .6em .9em; border-radius: 2px; font-size: max(13px, calc(13 * var(--u))); line-height: 1.3; white-space: nowrap; pointer-events: none; box-shadow: 0 1px 0 rgba(0,0,0,.08); opacity: 0; visibility: hidden; transition: opacity var(--d-hover) var(--ease), visibility 0s linear var(--d-hover); }
.map-tip.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.map-tip.flip { transform: translate(var(--tx, -50%), 28px); }
.map-tip strong { display: block; font-weight: 400; font-family: var(--serif); font-style: italic; font-size: 1.3em; }
.map-tip span { display: block; opacity: .75; }
.place-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.place-list button { transition: opacity var(--d-hover) var(--ease); display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; padding: 3px 0; color: var(--linen); font-size: inherit; }
.place-list .pl-n { flex: none; width: 20px; font-family: var(--body); font-size: .85em; font-variant-numeric: lining-nums tabular-nums; opacity: .8; }
.place-list .pl-name { flex: 1; }
.place-list .pl-time { flex: none; opacity: .7; font-size: .92em; }
.place-list button[data-nopin] { cursor: default; }
.place-list button.is-hot .pl-name, .place-list button:not([data-nopin]):hover .pl-name { text-decoration: underline; text-underline-offset: 3px; }
.acc-panel { padding-left: 41px; }

/* aerial callouts */
.aerial-inner { position: relative; }
.aerial-inner > img { width: 100%; height: auto; filter: saturate(1.18) contrast(1.06) brightness(1.02); }
.aerial-site { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.aerial-site polygon { fill: rgba(243,241,223,.78); }
.aerial-tag { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.aerial-tag::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.aerial-tag::after { content: ""; position: absolute; left: -.5px; bottom: 0; width: 1px; height: var(--tag-l); background: var(--olive); }
.aerial-tag-box { --tag-l: calc(78 * var(--u)); position: absolute; left: 0; bottom: var(--tag-l); transform: translateX(-50%); background: var(--olive); padding: calc(12 * var(--u)) calc(22 * var(--u)); display: block; }
.aerial-tag { --tag-l: calc(78 * var(--u)); }
.aerial .aerial-tag-box img { width: calc(104 * var(--u)); max-width: none; height: auto; display: block; }
.ap { --l: calc(52 * var(--u)); position: absolute; z-index: 3; width: 0; height: 0; transition: opacity var(--d-state) var(--ease); }
.ap-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: max(18px, calc(22 * var(--u))); height: max(18px, calc(22 * var(--u))); border-radius: 50%; background: var(--linen); color: var(--umber); border: 1px solid var(--umber); box-shadow: 0 0 0 2px var(--linen); font-family: var(--body); font-size: max(9px, calc(10 * var(--u))); line-height: 1; font-variant-numeric: lining-nums tabular-nums; display: grid; place-items: center; cursor: pointer; transition: transform var(--d-state) var(--ease), background var(--d-hover) var(--ease), color var(--d-hover) var(--ease); }
.ap-label { position: absolute; left: 0; bottom: var(--l); transform: translateX(-50%); background: var(--linen); color: var(--umber); padding: .5em .9em; font-size: max(10px, calc(12 * var(--u))); line-height: 1.15; text-align: center; white-space: nowrap; pointer-events: none; transition: background var(--d-hover) var(--ease), color var(--d-hover) var(--ease), opacity var(--d-state) var(--ease); }
.ap-label::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: calc(var(--l) - 10px); background: var(--linen); }
.ap--down .ap-label { bottom: auto; top: var(--l); }
.ap--down .ap-label::after { top: auto; bottom: 100%; }
.ap-label em { display: none; font-style: normal; font-size: .9em; opacity: .8; margin-top: 3px; }
.has-hot .ap:not(.is-hot) { opacity: .55; }
.ap.is-hot { z-index: 5; }
.ap.is-hot .ap-pin, .ap-pin:focus-visible { background: var(--umber-ink); color: var(--linen); transform: translate(-50%, -50%) scale(1.25); outline: none; }
.ap.is-hot .ap-label { background: var(--umber-ink); color: var(--linen); }
.ap.is-hot .ap-label em { display: block; }
.aerial-edge { position: absolute; z-index: 3; background: var(--linen); color: var(--umber); padding: .45em .9em; font-size: max(10px, calc(12 * var(--u))); line-height: 1.15; text-align: center; }
.edge-bne { right: 3%; top: 3.5%; }
.edge-bne::after { content: ""; position: absolute; left: 100%; top: 50%; width: calc(56 * var(--u)); height: 1px; background: var(--linen); }
.edge-gc { right: 2.7%; bottom: 9%; }
.edge-gc::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: calc(56 * var(--u)); background: var(--linen); }
.aerial-legend { display: none; list-style: none; margin-top: 28px; columns: 2; column-gap: 32px; }
.aerial-legend li { break-inside: avoid; }
.aerial-legend button { display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; padding: 6px 0; border-bottom: 1px solid rgba(81,61,38,.2); font-size: 15px; color: var(--umber); }
.aerial-legend .pl-n { flex: none; width: 22px; font-size: .85em; font-variant-numeric: lining-nums tabular-nums; opacity: .7; }
.aerial-legend .pl-name { flex: 1; }
.aerial-legend .pl-time { flex: none; font-size: .9em; opacity: .7; }
.aerial-legend button.is-hot .pl-name { text-decoration: underline; text-underline-offset: 3px; }

/* aerial + masterplan */
.aerial img, .plan img { width: 100%; height: auto; }
.plan-inner { position: relative; }
.plan-lots { position: absolute; inset: 0; width: 100%; height: 100%; }
.lot { fill: transparent; stroke: transparent; cursor: pointer; transition: fill var(--d-hover) var(--ease), stroke var(--d-hover) var(--ease); }
.lot[data-status="offer"] { fill: rgba(163,74,47,.92); }
.lot[data-status="sold"] { fill: rgba(65,49,30,.95); }
.lot:hover, .lot:focus-visible, .lot.is-hot { fill: rgba(243,241,223,.55); outline: none; stroke: var(--umber-ink); stroke-width: 1.5; }
.lot-label { font-family: var(--body); font-size: 10px; fill: var(--linen); pointer-events: none; }
.plan-tip { position: absolute; z-index: 3; transform: translate(-50%, calc(-100% - 10px)); background: var(--umber-ink); color: var(--linen); padding: .6em .9em; font-size: max(13px, calc(13 * var(--u))); white-space: nowrap; pointer-events: none; border-radius: 2px; }
.plan-tip { opacity: 0; visibility: hidden; transition: opacity var(--d-hover) var(--ease), visibility 0s linear var(--d-hover); }
.plan-tip.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.plan-tip a { pointer-events: auto; }
.plan-tip.below { transform: translate(-50%, 34px); }
@media (hover: none) { .plan-tip { pointer-events: auto; } }
.lot-grid { display: none; }
.lot-chip { transition: outline-color var(--d-hover) var(--ease), background var(--d-hover) var(--ease); height: 40px; border-radius: 2px; font-family: var(--body); font-size: 14px; font-variant-numeric: lining-nums tabular-nums; border: 1px solid #968C60; background: transparent; color: var(--umber); }
.lot-chip[data-status="available"] { background: rgba(150,140,96,.18); }
.lot-chip[data-status="offer"] { background: var(--rust); border-color: var(--rust); color: var(--linen); }
.lot-chip[data-status="sold"] { background: var(--umber-ink); border-color: var(--umber-ink); color: rgba(243,241,223,.7); text-decoration: line-through; }
.lot-chip.is-hot { outline: 2px solid var(--umber-ink); outline-offset: 2px; }
.legend { display: flex; gap: calc(18 * var(--u)); align-items: center; text-transform: uppercase; font-size: max(13px, calc(14 * var(--u))); letter-spacing: .02em; }
.legend li { display: flex; align-items: center; gap: 14px; }
.dot { width: max(16px, calc(20 * var(--u))); height: max(16px, calc(20 * var(--u))); border-radius: 50%; display: inline-block; }
.dot--available { background: #968C60; }
.dot--offer { background: var(--rust); }
.dot--sold { background: var(--umber-ink); }

/* register form */
.reg-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: calc(24 * var(--u)); row-gap: calc(20 * var(--u)); }
.f { display: flex; flex-direction: column; }
.f label { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: max(17px, calc(20 * var(--u))); margin-bottom: calc(16 * var(--u)); }
.f input, .f select { transition: border-color var(--d-hover) var(--ease), box-shadow var(--d-hover) var(--ease); height: max(40px, calc(40 * var(--u))); border: 1px solid transparent; border-radius: 2px; background: var(--linen); color: var(--umber); padding: 0 20px; font-family: var(--body); font-size: max(15px, calc(15 * var(--u))); }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9' fill='none' stroke='%23513D26'%3E%3Cpath d='M1 1l7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }
.f input:focus, .f select:focus { outline: 2px solid var(--umber-ink); outline-offset: 0; }
.f.has-error input, .f.has-error select { border-color: var(--rust); box-shadow: inset 0 0 0 1px var(--rust); }
.f small { min-height: 0; font-size: 12px; color: #fff; margin-top: 4px; }
.f--check { flex-direction: row; align-items: center; gap: 22px; align-self: end; margin-top: 4px; }
.f--check input { flex: none; appearance: none; width: 30px; height: 30px; border-radius: 4px; background: var(--linen); padding: 0; display: grid; place-items: center; cursor: pointer; }
.f--check input:checked { background: var(--umber-ink); }
.f--check input:checked::after { content: ""; width: 12px; height: 6px; border-left: 2px solid var(--linen); border-bottom: 2px solid var(--linen); transform: translateY(-2px) rotate(-45deg); }
.f--check label { font-family: var(--body); font-style: normal; font-weight: 400; font-size: max(13px, calc(14 * var(--u))); margin: 0; line-height: 1.22; }
.checks { grid-column: 2 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: calc(24 * var(--u)); align-items: flex-start; align-self: end; }
.checks .f--check { align-self: auto; margin: 0; position: relative; }
.f--check label { max-width: none; }
.f--consent small { position: absolute; left: 52px; top: 100%; }
.f--submit { grid-column: 1; margin-top: 30px; align-items: flex-start; }
.f--submit .btn { padding: 0 max(24px, calc(30 * var(--u))); font-size: max(12px, calc(12 * var(--u))); }
.hp { position: absolute; left: -9999px; }

.thanks { height: calc(788 * var(--u)); background: var(--sand); color: var(--umber); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: calc(50 * var(--u)); }
.thanks[hidden] { display: none; }
.thanks:not([hidden]) { animation: rise 1.4s var(--ease) both; }
.thanks .h90 { font-size: calc(110 * var(--u)); }
.thanks .h35 { font-size: calc(30 * var(--u)); }
.thanks .icon { width: calc(50 * var(--u)); }
.thanks-close { position: absolute; right: 20px; top: 16px; font-size: 30px; }
.is-sent .reg-content { visibility: hidden; }

/* footer */
.signoff { display: flex; align-items: center; gap: 22px; }
.signoff img { width: calc(34 * var(--u)); }
.signoff .h35 { font-size: calc(35 * var(--u)); white-space: nowrap; }
.agent { display: flex; flex-direction: column; gap: 8px; font-size: max(12px, calc(14 * var(--u))); }
.agent strong { font-weight: 400; text-transform: uppercase; margin-bottom: 14px; }
.agent a, .legal a { text-decoration: none; }
.agent a:hover { text-decoration: underline; }
.legal { display: flex; gap: calc(40 * var(--u)); font-size: max(12px, calc(14 * var(--u))); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal span { opacity: .6; }

/* sticky register + staging flag */
.sticky-reg { position: fixed; right: 24px; bottom: 24px; z-index: 40; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease), background var(--d-hover) var(--ease); box-shadow: 0 0 0 1px rgba(243,241,223,.4); }
.sticky-reg.is-on { opacity: 1; transform: none; pointer-events: auto; }
.staging-flag { position: fixed; left: 16px; bottom: 16px; z-index: 60; background: #1d1d1b; color: var(--linen); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--d-reveal) var(--ease), transform var(--d-reveal) var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- tablet 768–1199: 12-column editorial grid ---------- */
@media (min-width: 768px) and (max-width: 1199px) {
  .site-header { padding: 0 48px; }
  .menu { right: 8px; }
  .menu-close { right: 46px; }
  .hero-ctrl { right: 48px; }
  .canvas { --u: 1px; height: auto !important; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; padding: 104px 48px; align-items: start; }
  .go-inner { --u: 1px; padding: 0 48px; column-gap: 24px; }
  .abs, .abs.to-end, .abs.arrow, .bleed-l, .bleed-r { position: relative; left: auto; right: auto; top: auto; width: auto !important; grid-column: var(--tc, 1 / -1); grid-row: var(--tr, auto); align-self: var(--ta, start); justify-self: var(--tj, stretch); }
  .reg-content { display: contents; }
  .map.abs { position: relative; }
  .pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: 13px; }
  .map-tip { font-size: 12px; white-space: normal; width: max-content; max-width: 220px; }
  [data-t="hide"] { display: none !important; }
  .pic { width: 100%; max-height: 640px; }
  .bleed-l { margin-left: -48px; width: calc(100% + 48px) !important; max-width: none; }
  .bleed-r { margin-right: -48px; width: calc(100% + 48px) !important; max-width: none; }
  .icon { width: 48px !important; }

  .h90 { font-size: clamp(56px, 7vw, 78px); white-space: normal; }
  .h90 .ind { padding-left: 1.2em; }
  .h35 { font-size: clamp(26px, 3vw, 32px); }
  .h30 { font-size: clamp(24px, 2.6vw, 28px); }
  .statement { font-size: clamp(34px, 4.2vw, 44px); }
  .lead { font-size: clamp(22px, 2.5vw, 26px); }
  .body, .feat p { font-size: 15px; line-height: 1.5; }
  .feat .h30 { margin-bottom: 16px; }
  .num-m { display: block; font-weight: 500; font-size: clamp(72px, 9vw, 96px); line-height: 1; margin-bottom: 4px; }
  .joys { gap: 28px; }
  .joys .icon { width: 48px !important; }
  #the-land .h90 { margin-bottom: 24px; text-shadow: 0 0 1px var(--linen); }

  .lot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; margin-top: 24px; }
  .lot-label { font-size: 13px; }
  .ap-label { opacity: 0; } .ap.is-hot .ap-label { opacity: 1; }
  .aerial-legend { display: block; }
  .legend { flex-wrap: wrap; }

  .acc-t { font-size: 20px; }
  .acc-panel, .agent, .legal { font-size: 14px; }
  .reg-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .checks { grid-column: 1 / -1; gap: 24px; }
  .f label { font-size: 20px; }
  .thanks { position: absolute; inset: 64px 48px; width: auto !important; height: auto; gap: 32px; }
  .thanks .h90 { font-size: clamp(64px, 9vw, 96px); }
  .thanks .h35 { font-size: 26px; }

  footer .canvas { row-gap: 56px; }
  footer .canvas > img:first-child { max-width: 260px; }
  footer .canvas > img[alt="Ray White"] { width: 96px !important; }
  .signoff .h35 { font-size: 30px; }
  .agent strong { margin-bottom: 8px; }
}

/* ---------- mobile (developer default — no mobile design yet) ---------- */
/* ---- Mobile-only story carousel (hidden ≥768) */
.m-carousel { display: none; }

@media (max-width: 767px) {
  :root { --hdr: 56px; }
  .site-header { padding: 0 24px; }
  .hero-ctrl { right: 24px; }
  .hdr-mark img { width: 120px; }
  .hdr-icon img { width: 22px; }
  .menu { position: fixed; inset: 0; width: auto; padding: 120px 32px; }
  .menu a { font-family: var(--serif); font-style: italic; font-size: 34px; }
  .menu li + li { margin-top: 18px; }
  .menu-close { right: 24px; top: 20px; font-size: 34px; }

  .hero { height: 78svh; }
  .hero-title { width: auto; font-size: 15vw; left: 24px; transform: translateY(-50%); }
  .hero-title .l2 { padding-left: 8vw; }

  .canvas { --u: 1px; height: auto !important; display: grid; grid-template-columns: [full-start] 8px repeat(4, minmax(0, 1fr)) 8px [full-end]; column-gap: 16px; row-gap: 28px; padding: 72px 0; align-items: start; }
  .abs, .abs.to-end, .abs.arrow, .bleed-l, .bleed-r { position: static; left: auto; right: auto; width: auto !important; grid-column: var(--mc, 2 / 6); }
  .go-inner { --u: 1px; padding: 0 24px; grid-template-columns: repeat(4, 1fr); column-gap: 16px; }
  .go-inner i:nth-child(n+5) { display: none; }
  [data-m="hide"] { display: none !important; }
  [data-m="1"]{order:1} [data-m="2"]{order:2} [data-m="3"]{order:3} [data-m="4"]{order:4} [data-m="5"]{order:5} [data-m="6"]{order:6} [data-m="7"]{order:7} [data-m="8"]{order:8} [data-m="9"]{order:9} [data-m="10"]{order:10}
  .pic { width: 100% !important; justify-self: center; }
  .m-carousel { display: block; grid-column: 1 / -1; }
  .mc-track { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 24px; padding: 0 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mc-track::-webkit-scrollbar { display: none; }
  .mc-track .pic { flex: 0 0 82%; width: 82% !important; aspect-ratio: 4 / 5; object-fit: cover; scroll-snap-align: start; }
  .mc--feat .mc-slide { flex: 0 0 82%; scroll-snap-align: start; }
  .mc--feat .mc-slide .pic { width: 100% !important; aspect-ratio: 4 / 5; object-fit: cover; }
  .mc--feat .feat { margin-top: 20px; text-align: center; }
  .mc--feat .num-m { font-size: 48px; }
  .mc-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .mc-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .25; transition: opacity .3s; }
  .mc-dots i.is-on { opacity: 1; }
  .arrow { justify-self: center; }
  .reg-content { display: contents; }
  .map.abs { position: relative; left: auto; top: auto; }
  .pin { width: 32px; height: 32px; margin: -16px 0 0 -16px; font-size: 13px; }
  .map-tip { font-size: 12px; white-space: normal; width: max-content; max-width: 220px; }

  .h90 { font-size: 44px; white-space: normal; }
  .h90 .ind { padding-left: 0; }
  .h35 { font-size: 26px; }
  .h30 { font-size: 26px; }
  .statement { font-size: 30px; }
  .lead { font-size: 23px; }
  .body, .feat p { font-size: 16px; line-height: 1.5; }
  .feat { margin-top: -8px; }
  .feat .h30 { margin-bottom: 14px; }
  .num-m { display: block; font-weight: 500; font-size: 64px; line-height: 1; margin-bottom: 8px; }
  .joys { gap: 20px; }
  .joys .icon { width: 40px; }
  .ctas { flex-direction: column; gap: 12px; }
  .ctas .btn { width: 100%; }
  .ctas { justify-content: stretch; }
  .to-end { justify-self: start; }

  .aerial figcaption { padding: 0 24px; }
  .entrance figcaption { margin-top: 10px; padding: 0 24px; }
  .ap-label { opacity: 0; } .ap.is-hot .ap-label { opacity: 1; white-space: normal; width: max-content; max-width: 150px; }
  .aerial-legend { display: block; columns: 1; }
  .aerial-edge, .aerial-tag-box { font-size: 9px; }
  .ap-pin { width: 16px; height: 16px; font-size: 8px; box-shadow: 0 0 0 1.5px var(--linen); }
  .plan { grid-column: 1 / -1; }
  .lot-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 20px 24px 0; }
  .lot-label { font-size: 16px; }
  .plan-tip { font-size: 13px; }
  .legend { flex-wrap: wrap; font-size: 13px; }

  .reg-form { grid-template-columns: 1fr; }
  .checks { grid-column: auto; grid-template-columns: 1fr; gap: 16px; } .f--submit { grid-column: auto; } .f--consent small { position: static; }
  .f input, .f select { font-size: 16px; }
  .thanks { position: absolute; inset: 0; height: auto; gap: 24px; padding: 24px; }
  .thanks .h90 { font-size: 52px; }
  .thanks .h35 { font-size: 22px; }
  .signoff .h35 { font-size: 26px; }
  .legal { gap: 24px; flex-wrap: wrap; }
  footer .canvas > img:first-child { width: 200px !important; }
  footer .canvas > img[alt="Ray White"] { width: 80px !important; }
  .sticky-reg { right: 16px; bottom: 16px; }
  .staging-flag { bottom: auto; top: 64px; left: 8px; }
}

.thanks:focus { outline: none; }

/* ---- Disclaimer dialog */
.disclaimer { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 44px 40px 36px; border: 0; border-radius: 2px; background: var(--sand); color: var(--umber); font-size: 15px; line-height: 1.4; }
.disclaimer::backdrop { background: rgba(36, 24, 10, .6); }
.disclaimer[open] { animation: rise .6s var(--ease) both; }
.disclaimer h2 { margin: 0 0 20px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1; }
.disclaimer p { margin: 0 0 14px; }
.disclaimer p:last-child { margin: 0; }
.disc-x { position: absolute; right: 14px; top: 10px; background: none; border: 0; color: inherit; font-size: 30px; line-height: 1; cursor: pointer; padding: 4px 10px; }

/* ---- Direction markers for places beyond the map edge */
.pin--dir::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border: 6px solid transparent; border-bottom: 10px solid var(--umber-ink); border-top: 0; transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) translateY(calc(var(--p) * -.85)); }
