/* ==========================================================================
   A Grove House — one-page site
   ========================================================================== */
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../assets/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #040705;
  --bg-2: #07100a;
  --bg-3: #0b1a10;
  --green-deep: #0a1f12;
  --green: #1d4a2c;
  --green-lit: #2f7a45;
  --gold: #d9a256;
  --gold-bright: #f3c98a;
  --gold-pale: #f6e3bf;
  --amber: #c98a3c;
  --cream: #f3ecdc;
  --cream-dim: #cfc5ae;
  --muted: #9aa493;
  --line: rgba(217, 162, 86, 0.22);
  --line-soft: rgba(243, 236, 220, 0.08);
  --serif: "Instrument Serif", "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: rgba(217, 162, 86, .35); color: #fff; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 50;
  opacity: .055; 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");
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--gold); color: #000; padding: .5rem 1rem; border-radius: 4px;
}
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * .12s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 7, 5, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: .6rem;
  text-decoration: none;
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em;
  color: var(--cream);
}
.nav-mark { width: 26px; height: 26px; color: var(--gold-bright); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a {
  text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cream-dim); transition: color .3s;
}
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:not(.nav-cta) { display: none; }
.nav-cta {
  border: 1px solid var(--line); padding: .5rem .9rem; border-radius: 999px;
  color: var(--gold-pale) !important;
}
.nav-cta:hover { border-color: var(--gold); background: rgba(217,162,86,.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 55% at 50% 46%, rgba(201, 138, 60, .22), rgba(201,138,60,.06) 45%, transparent 72%),
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(246, 207, 144, .12), transparent 60%),
    linear-gradient(180deg, #020403 0%, #06110a 55%, #030604 100%);
}
.hero-art { position: absolute; inset: -8% 0; z-index: -1; pointer-events: none; }
.hero-art-back {
  position: absolute; inset: 0;
  background:
    /* left foliage mass */
    radial-gradient(ellipse 38% 55% at -6% 30%, rgba(20, 58, 32, .85), transparent 70%),
    radial-gradient(ellipse 34% 50% at -8% 92%, rgba(12, 38, 21, .95), transparent 70%),
    /* right foliage mass */
    radial-gradient(ellipse 38% 55% at 106% 34%, rgba(20, 58, 32, .85), transparent 70%),
    radial-gradient(ellipse 34% 50% at 108% 94%, rgba(12, 38, 21, .95), transparent 70%),
    /* top canopy */
    radial-gradient(ellipse 70% 22% at 50% -8%, rgba(8, 26, 14, .95), transparent 75%);
}
/* leaf silhouettes drawn with layered gradients via SVG background */
.hero-art-back::before {
  content: "";
  position: absolute; inset: 0;
  background: url("../assets/hero-foliage.svg") center bottom / cover no-repeat;
  opacity: .95;
}
.hero-glow {
  position: absolute; left: 50%; top: 44%;
  width: min(120vw, 1100px); aspect-ratio: 1.3;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(246, 207, 144, .30), rgba(217, 162, 86, .10) 45%, transparent 72%);
  filter: blur(10px);
}
.hero-rays {
  position: absolute; inset: 0;
  background:
    linear-gradient(172deg, transparent 44%, rgba(255, 220, 160, .10) 48%, rgba(255,220,160,.02) 52%, transparent 56%),
    linear-gradient(186deg, transparent 43%, rgba(255, 220, 160, .12) 48%, rgba(255,220,160,.03) 53%, transparent 58%),
    linear-gradient(178deg, transparent 46%, rgba(255, 220, 160, .07) 49.5%, transparent 53%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 95%);
  mix-blend-mode: screen;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 28%;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 6rem;
  width: 100%;
}
.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  margin: 0 0 1.6rem;
  font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold-bright);
}
.eyebrow-line { width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow .eyebrow-line:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  line-height: .86;
  letter-spacing: -.015em;
  font-size: clamp(4.6rem, 21vw, 13.5rem);
  color: var(--cream);
  text-shadow: 0 0 60px rgba(243, 195, 122, .18);
}
.hero-line { display: block; }
.hero-tagline {
  margin: 1.8rem 0 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.6rem, 5.4vw, 3rem);
  color: var(--gold-pale);
}
.hero-sub {
  margin: 1.1rem 0 0;
  font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--cream-dim);
}
.hero-proposed {
  display: inline-block;
  margin: 1.6rem 0 0;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem; letter-spacing: .06em;
  color: var(--gold-pale);
  background: rgba(4, 7, 5, .35);
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-decoration: none;
  font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
  z-index: 2;
}
.scroll-cue.reveal { transform: translate(-50%, 26px); }
.scroll-cue.reveal.in { transform: translate(-50%, 0); }
.scroll-cue-line { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%;
  background: linear-gradient(180deg, transparent, #fff4dc);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { to { top: 110%; } }

.hero-side {
  display: none;
  position: absolute; top: 50%;
  writing-mode: vertical-rl;
  font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
}
.hero-side-left { left: 1.4rem; transform: translateY(-50%) rotate(180deg); }
.hero-side-right { right: 1.4rem; transform: translateY(-50%); }

/* ---------- Shared section bits ---------- */
section { position: relative; }
.intro-label {
  display: flex; align-items: center; gap: .8rem;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-bright);
  margin-bottom: 1.6rem;
}
.intro-label .num { font-family: var(--serif); font-size: 1.1rem; letter-spacing: .05em; color: var(--gold); }
.intro-label::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); order: -1; }
.section-title, .intro-title {
  margin: 0 0 1.6rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 8.5vw, 5.6rem);
  line-height: .98; letter-spacing: -.01em;
}
em { font-style: italic; color: var(--gold-pale); }
.lede {
  margin: 0 0 1.2rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--cream-dim);
  max-width: 60ch;
}

/* ---------- Intro ---------- */
.intro {
  padding: clamp(5rem, 12vw, 10rem) 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}
.intro-grid { display: grid; gap: 1rem; }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin: 2.6rem 0 0; padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.facts div { display: flex; flex-direction: column; gap: .3rem; }
.facts dt { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; color: var(--gold-bright); }
.facts dd { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Spiral ---------- */
.spiral {
  padding: clamp(5rem, 12vw, 10rem) 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(201, 138, 60, .10), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.spiral-grid { display: grid; gap: 3rem; align-items: center; }
.spiral-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.spiral-points li { display: grid; grid-template-columns: 14px 1fr; gap: .9rem; color: var(--cream-dim); }
.spiral-points strong { color: var(--cream); font-weight: 600; }
.dot { width: 8px; height: 8px; margin-top: .6rem; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 14px 2px rgba(243, 195, 122, .55); }

.spiral-figure { margin: 0; position: relative; }
#spiral-svg { width: 100%; height: auto; max-height: 86vh; margin-inline: auto; }
.sp-slab { stroke: rgba(217, 162, 86, .28); stroke-width: 1.2; stroke-dasharray: 3 6; }
.sp-floor-label { font-family: var(--serif); font-size: 30px; fill: rgba(243, 201, 138, .6); }
.sp-floor-name { font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; fill: rgba(243, 236, 220, .38); }
.sp-column { stroke: rgba(243, 236, 220, .10); stroke-width: 10; }
.sp-orbit { fill: none; stroke: rgba(217, 162, 86, .16); stroke-width: 1; }
.sp-ground { stroke: rgba(217, 162, 86, .5); stroke-width: 2; }
.sp-ramp { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sp-back { stroke: url(#rampBack); stroke-width: 9; opacity: .75; }
.sp-front-glow { stroke: #f3c37a; stroke-width: 22; opacity: .18; filter: url(#glowF); }
.sp-front { stroke: url(#rampGold); stroke-width: 9; }
.sp-traveler { fill: #fff3da; filter: drop-shadow(0 0 10px #f3c37a) drop-shadow(0 0 22px rgba(243,195,122,.8)); }
.sp-ring {
  fill: none; stroke: rgba(243, 201, 138, .55); stroke-width: 1.2;
  transform-box: fill-box; transform-origin: center;
  animation: ring 6.4s linear infinite; animation-delay: var(--d, 0s);
  opacity: 0;
}
@keyframes ring {
  0% { transform: translateY(0) scale(.4); opacity: 0; }
  12% { opacity: .8; }
  100% { transform: translateY(-520px) scale(2.4); opacity: 0; }
}
.spiral-caption {
  display: flex; justify-content: space-between;
  margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line-soft);
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Floors ---------- */
.floors {
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  background: linear-gradient(180deg, var(--bg), #06100a 40%, var(--bg));
}
.floors-head { margin-bottom: 2.5rem; }
.floors-head .lede { margin: 0; }
.floors-layout { display: grid; gap: 1.5rem; }

.building-stick {
  position: sticky; top: calc(var(--nav-h) + 6px); z-index: 5;
  background: linear-gradient(180deg, rgba(4,7,5,.96), rgba(4,7,5,.88));
  padding: .4rem 0 .6rem;
  border-bottom: 1px solid var(--line-soft);
}
.building { width: auto; height: min(38svh, 330px); margin-inline: auto; overflow: visible; }
.building-legend {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
  margin-top: .3rem;
}
.legend-swatch { width: 22px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #f6cf90, #d9a256); box-shadow: 0 0 8px rgba(243,195,122,.6); }

.bld-floor { cursor: pointer; outline: none; }
.bld-hit { fill: transparent; transition: fill .5s; }
.bld-glow { opacity: 0; transition: opacity .6s var(--ease); }
.bld-num { font-family: var(--serif); font-size: 40px; fill: rgba(243, 236, 220, .62); transition: fill .5s; }
.bld-name { font-family: var(--sans); font-size: 15px; letter-spacing: .2em; text-transform: uppercase; fill: rgba(243, 236, 220, .55); transition: fill .5s; }
.bld-floor:hover .bld-hit { fill: rgba(217, 162, 86, .04); }
.bld-floor:focus-visible .bld-hit { stroke: var(--gold-bright); stroke-width: 2; }
.building[data-active="4"] .bld-floor[data-floor="4"] .bld-glow,
.building[data-active="3"] .bld-floor[data-floor="3"] .bld-glow,
.building[data-active="2"] .bld-floor[data-floor="2"] .bld-glow,
.building[data-active="1"] .bld-floor[data-floor="1"] .bld-glow { opacity: 1; }
.building[data-active="4"] .bld-floor[data-floor="4"] .bld-num,
.building[data-active="3"] .bld-floor[data-floor="3"] .bld-num,
.building[data-active="2"] .bld-floor[data-floor="2"] .bld-num,
.building[data-active="1"] .bld-floor[data-floor="1"] .bld-num { fill: var(--gold-bright); }
.building[data-active="4"] .bld-floor[data-floor="4"] .bld-name,
.building[data-active="3"] .bld-floor[data-floor="3"] .bld-name,
.building[data-active="2"] .bld-floor[data-floor="2"] .bld-name,
.building[data-active="1"] .bld-floor[data-floor="1"] .bld-name { fill: var(--cream); }

.bld-ramp { fill: none; stroke-linecap: round; }
.bld-back { stroke: #7a5728; stroke-width: 5; opacity: .8; }
.bld-front { stroke: #f0c27e; stroke-width: 5; filter: drop-shadow(0 0 6px rgba(243,195,122,.7)); }
.bld-column { stroke: rgba(243,236,220,.12); stroke-width: 6; }

.floor-cards { display: grid; gap: 3.5rem; }
.floor-card {
  scroll-margin-top: calc(var(--nav-h) + 40svh);
  display: grid; gap: 1.4rem;
  opacity: .55; transition: opacity .6s var(--ease);
}
.floor-card.active { opacity: 1; }

.mood {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #050b07;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.9), inset 0 0 0 1px rgba(243,236,220,.03);
}
.mood svg { width: 100%; height: 100%; }
.mood-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(2,4,3,.55) 100%);
}
.mood::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(243, 201, 138, .14); border-radius: 3px; pointer-events: none; z-index: 2;
}

.floor-kicker {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 .8rem;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-bright);
}
.floor-kicker-line { flex: 0 0 36px; height: 1px; background: var(--line); }
.floor-title {
  margin: 0 0 1rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1;
}
.floor-text { margin: 0; color: var(--cream-dim); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.75; max-width: 56ch; }
.floor-notes { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .8rem; }
.floor-notes li {
  padding: .8rem 1rem;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(217,162,86,.07), transparent);
  color: var(--cream-dim); font-size: .95rem;
}
.floor-notes li span { display: block; color: var(--gold-pale); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .2rem; }
.mood-caption {
  margin: 1.4rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-soft);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--cream-dim);
}
.mood-caption span {
  font-family: var(--sans); font-style: normal; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-right: .7rem; vertical-align: middle;
}

/* ---------- Pop-up preview + waitlist ---------- */
.popup {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 12vw, 10rem) 0;
  background: linear-gradient(180deg, var(--bg), #06120a);
  isolation: isolate;
}
.popup-art { position: absolute; inset: 0; z-index: -1; }
.popup-glow {
  position: absolute; left: 50%; top: 20%; width: 120vw; height: 80vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(243, 195, 122, .20), rgba(201,138,60,.06) 50%, transparent 75%);
}
.turf-lines { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; }
.popup-inner { text-align: center; display: grid; justify-items: center; }
.popup-title {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3rem, 10vw, 7rem); line-height: .95; letter-spacing: -.01em;
}
.popup-lede { margin: 1.6rem auto 0; max-width: 52ch; color: var(--cream-dim); font-size: clamp(1.02rem, 1.6vw, 1.2rem); }
.proposed-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  margin: 1.6rem 0 0; padding: .55rem 1.1rem;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; letter-spacing: .04em; color: var(--gold-pale);
  background: rgba(4,7,5,.45);
}
.proposed-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 10px 2px rgba(243,195,122,.6); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

.waitlist {
  width: min(100%, 620px);
  margin-top: 3rem;
  padding: clamp(1.4rem, 4vw, 2.6rem);
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 26, 16, .82), rgba(4, 7, 5, .88));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 40px 100px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(243,236,220,.02), 0 0 60px -30px rgba(243,195,122,.35);
}
.waitlist-count {
  display: flex; align-items: baseline; gap: .7rem;
  padding-bottom: 1.2rem; margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.waitlist-count[hidden] { display: none; }
.waitlist-count-num { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 3.8rem); line-height: 1; color: var(--gold-bright); text-shadow: 0 0 30px rgba(243,195,122,.35); }
.waitlist-count-label { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-dim); }

.waitlist-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%;
  padding: .95rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(243, 236, 220, .14);
  background: rgba(2, 4, 3, .6);
  color: var(--cream);
  transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder { color: rgba(207, 197, 174, .4); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,162,86,.18); }
.field input[aria-invalid="true"] { border-color: #d98a6a; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold {
  color: #1a1206;
  background: linear-gradient(135deg, #f6dca6, #d9a256 55%, #b9823a);
  box-shadow: 0 10px 40px -14px rgba(243, 195, 122, .7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -14px rgba(243, 195, 122, .9); }
.btn-gold:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-outline {
  width: 100%;
  color: var(--gold-pale);
  border-color: var(--gold);
  background: rgba(217, 162, 86, .06);
}
.btn-outline:hover { background: rgba(217, 162, 86, .14); transform: translateY(-2px); }
.btn[hidden] { display: none; }
.waitlist-form .btn { width: 100%; margin-top: .3rem; }

.form-status { margin: 0; min-height: 1.4em; font-size: .92rem; color: var(--cream-dim); }
.form-status.ok { color: #bfe3b0; }
.form-status.err { color: #f0b39a; }

.deposit { margin-top: 1.6rem; }
.deposit-divider {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem;
  font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.deposit-divider::before, .deposit-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.deposit-soon {
  margin: 0; padding: .9rem 1rem; text-align: center;
  border: 1px dashed var(--line); border-radius: 10px;
  color: var(--gold-pale); font-size: .92rem;
}
.deposit-soon[hidden] { display: none; }
.deposit-refund { margin: .9rem 0 0; font-size: .82rem; line-height: 1.6; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.footer { padding: 2.4rem 0; border-top: 1px solid var(--line-soft); background: #030604; }
.footer-inner { display: flex; flex-wrap: wrap; gap: .6rem 2rem; align-items: center; justify-content: space-between; }
.footer p { margin: 0; font-size: .8rem; letter-spacing: .08em; color: var(--muted); }
.footer .footer-proposed { color: var(--gold-pale); font-size: .76rem; }
.footer-top { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--cream-dim); }
.footer-top:hover { color: var(--gold-bright); }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 760px) {
  .nav { padding: 0 2.2rem; }
  .nav-links a:not(.nav-cta) { display: inline; }
  .hero-side { display: block; }
  .waitlist-form { grid-template-columns: 1fr 1fr; }
  .waitlist-form .btn, .waitlist-form .form-status, .waitlist-form .hp { grid-column: 1 / -1; }
  .intro-grid { grid-template-columns: 220px 1fr; gap: 3rem; }
  .facts { gap: 2rem; }
}
@media (min-width: 980px) {
  .spiral-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .floors-layout { grid-template-columns: minmax(320px, 0.85fr) 1.15fr; gap: 4.5rem; align-items: start; }
  .building-stick {
    top: calc(var(--nav-h) + 24px);
    border-bottom: 0; padding: 0;
    background: none;
  }
  .building { height: min(78vh, 720px); }
  .floor-cards { gap: 0; }
  .floor-card {
    min-height: 92vh;
    align-content: center;
    scroll-margin-top: var(--nav-h);
    padding: 3rem 0;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue.reveal { transform: translate(-50%, 0); }
  .scroll-cue-line::after, .sp-ring, .proposed-dot { animation: none; }
  .sp-ring { opacity: .35; }
}

@media (max-width: 759px) {
  .hero-art-back::before {
    background-image: url("../assets/hero-foliage-mobile.svg");
    background-size: cover;
    background-position: center bottom;
    opacity: .9;
  }
  .hero-proposed { font-size: .72rem; line-height: 1.5; max-width: 20rem; }
}
