/* Sample 02 — Nocturne. The brochure's navy at dusk: a cinematic, full-bleed page
   built around one lit tower. Gold only for hairlines, numerals and labels. */

:root {
  --gutter: clamp(24px, 5vw, 72px);
  --hair: rgba(192, 170, 117, 0.34);
  --hair-2: rgba(192, 170, 117, 0.18);
  --text: #f6f3ec;
  --text-2: rgba(246, 243, 236, 0.72);
  --text-3: rgba(246, 243, 236, 0.46);
  --panel: #1a2846;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: var(--navy); color: var(--text); }
::selection { background: rgba(192, 170, 117, .35); color: #fff; }
::-webkit-scrollbar-thumb { background: rgba(192, 170, 117, .35); }

.eyebrow { color: var(--gold); }
em { font-style: italic; }
.display em, .h2 em, .h3 em { color: var(--text); }
.display { font-size: clamp(44px, 5.6vw, 92px); letter-spacing: -0.015em; }
.num { color: var(--gold); }
p { color: var(--text-2); }
.display, .h2, .h3, .eyebrow, .num, strong { color: var(--text); }
.eyebrow, .num { color: var(--gold); }

/* ---- Preloader ---------------------------------------------------------- */
.preload { position: fixed; inset: 0; z-index: 100; background: var(--navy); display: grid; place-items: center; }
.preload__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preload__mark { width: 72px; height: 72px; opacity: 0; }
.preload__num { font-family: var(--serif); font-weight: 300; font-size: 56px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.preload__tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-3); }

/* ---- Header ------------------------------------------------------------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; display: flex; align-items: center; gap: 40px; padding: 24px var(--gutter) 28px; background: linear-gradient(to bottom, rgba(21,33,58,.92) 0%, rgba(21,33,58,.6) 55%, rgba(21,33,58,0) 100%); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.top__mark { font-size: 15px; color: var(--text); }
.nav { display: flex; gap: 30px; margin-left: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.nav a { position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--gold); transition: right .35s var(--ease-out); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { right: 0; }
.top__cta { margin-left: auto; min-height: 44px; padding: 0 22px; font-size: 11px; border-color: var(--hair); }
.top__cta:hover { color: var(--navy); border-color: #fff; }

/* ---- Stage (fixed tower) ------------------------------------------------- */
.stage { position: fixed; inset: 0; z-index: 0; }
.stage.is-hidden { visibility: hidden; }
#tower { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(21,33,58,0) 0%, rgba(21,33,58,.15) 60%, rgba(21,33,58,.65) 100%),
    linear-gradient(to bottom, rgba(21,33,58,.55) 0%, rgba(21,33,58,0) 22%, rgba(21,33,58,0) 70%, rgba(21,33,58,.8) 100%);
  opacity: 1; transition: opacity .8s; }

/* ---- Altimeter ---------------------------------------------------------- */
.alt { position: fixed; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .6s; }
.alt.is-visible { opacity: 1; }
.alt__label { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); writing-mode: vertical-rl; }
.alt__num { font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums lining-nums; min-width: 2ch; text-align: center; }
.alt__rail { position: relative; width: 1px; height: 34vh; background: var(--hair-2); }
.alt__rail i { position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 5px rgba(21,33,58,1); }

/* ---- Prologue: cover + fly-through ---------------------------------------- */
main { position: relative; z-index: 1; }
.prologue { position: relative; z-index: 1; }
.prologue__pin { position: relative; height: 100vh; width: 100%; overflow: hidden; }

.hero { position: absolute; inset: 0; display: grid; place-items: center; }
.hero::before { content: ''; position: absolute; left: 50%; top: 50%; width: 1100px; height: 560px; transform: translate(-50%, -52%); background: radial-gradient(closest-side, rgba(21,33,58,.82) 0%, rgba(21,33,58,.55) 45%, rgba(21,33,58,0) 100%); pointer-events: none; }
.hero__inner { position: relative; }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; transform: translateY(-2vh); }
.hero__by { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--text-3); }
.hero__wordmark { font-size: clamp(34px, 5.4vw, 78px); gap: .42em; color: var(--text); letter-spacing: .16em; }
.hero__wordmark img { height: 1.1em; }
.hero__rule { width: 48px; height: 1px; background: var(--gold); transform-origin: center; }
.hero__tag { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(20px, 2vw, 30px); letter-spacing: .02em; color: var(--text-2); }
.hero__hint { position: absolute; left: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 16px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-3); }
.hero__hint span { width: 1px; height: 48px; background: var(--hair-2); position: relative; overflow: hidden; }
.hero__hint span::after { content: ''; position: absolute; inset: 0; background: var(--gold); animation: hint 2.2s ease-in-out infinite; }
@keyframes hint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__loc { position: absolute; right: var(--gutter); bottom: 38px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-3); }

.chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter { position: absolute; display: flex; flex-direction: column; gap: 18px; max-width: 34rem; opacity: 0; }
.chapter--1 { left: var(--gutter); bottom: 16vh; max-width: 40rem; }
.chapter--2 { right: calc(var(--gutter) + 80px); top: 50%; transform: translateY(-50%); text-align: right; align-items: flex-end; }
.chapter--3 { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.chapter--4 { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; align-items: center; max-width: none; }
.chapter--5 { left: var(--gutter); bottom: 16vh; max-width: 46rem; }
.chapter__display { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em; font-size: clamp(44px, 5.4vw, 88px); }
.chapter__sub { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(20px, 1.8vw, 28px); color: var(--text-2); }
.chapter__line { font-family: var(--serif); font-weight: 300; line-height: 1.22; font-size: clamp(28px, 2.9vw, 46px); color: var(--text); }
.chapter { text-shadow: 0 2px 30px rgba(21,33,58,.85), 0 0 8px rgba(21,33,58,.5); }
.chapter__rule { display: block; width: 40px; height: 1px; background: var(--gold); margin-bottom: 8px; transform-origin: left center; }
.chapter--2 .chapter__rule { transform-origin: right center; }
.chapter__num { font-family: var(--serif); font-weight: 300; font-size: clamp(140px, 22vw, 320px); line-height: 1; letter-spacing: -0.03em; color: var(--text); margin-bottom: -0.08em; }
.chapter__caption { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.3; color: var(--text-2); }
.chapter__caption b { font-weight: 300; color: var(--gold); }

/* ---- Sections ------------------------------------------------------------ */
.sec { position: relative; z-index: 2; padding: clamp(96px, 12vh, 160px) 0; }
.sec--solid { background: var(--navy); }
.sec + .sec--solid { border-top: 1px solid var(--hair-2); }
.container { width: min(1440px, 100% - 2 * var(--gutter)); }

/* Life */
.life { padding-bottom: 0; }
.life__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(56px, 8vh, 96px); }
.life__lede { max-width: 40ch; padding-bottom: 10px; }
.spread { position: relative; min-height: 86vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 5vw; padding: 7vh var(--gutter); }
.spread__img { position: relative; width: min(38vw, 600px); aspect-ratio: 4 / 5; max-height: 74vh; overflow: hidden; justify-self: end; }
.spread__img img { width: 100%; height: 100%; object-fit: cover; }
.spread--right .spread__img { order: 2; justify-self: start; }
.spread__text { position: relative; z-index: 2; align-self: center; max-width: 34rem; display: flex; flex-direction: column; gap: 18px; }
.spread__text p:not(.eyebrow) { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.4; color: var(--text); }
.spread--right .spread__text { justify-self: end; text-align: right; align-items: flex-end; }
.spread__index { position: absolute; z-index: 2; top: 7vh; right: var(--gutter); font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--gold); letter-spacing: .1em; }
.spread--right .spread__index { right: auto; left: var(--gutter); }
/* the wide spread stays full-bleed */
.spread--wide { display: grid; grid-template-columns: 1fr; height: 100vh; min-height: 640px; overflow: hidden; padding: 0; }
.spread--wide .spread__img { position: absolute; inset: 0; width: auto; aspect-ratio: auto; max-height: none; justify-self: auto; }
.spread--wide .spread__text { align-self: end; padding: 0 var(--gutter) 9vh; }
.spread--wide::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.spread--wide::after { background: linear-gradient(to right, rgba(21,33,58,.9) 0%, rgba(21,33,58,.6) 40%, rgba(21,33,58,.05) 100%); }
.spread__text--wide { align-self: center; max-width: 44rem; padding-bottom: 0; gap: 24px; }
.spread__text--wide .h2 { font-size: clamp(34px, 3.6vw, 56px); }
.spread__text--wide p:not(.eyebrow):not(.h2) { font-family: var(--sans); font-size: 17px; color: var(--text-2); }
.interlude { text-align: center; font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.1; color: var(--text); padding: clamp(96px, 16vh, 180px) var(--gutter); }
.dining-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding: clamp(80px, 10vh, 120px) 0; }
.dining-strip__img { aspect-ratio: 16 / 10; }
.dining-strip__caption { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(26px, 2.4vw, 36px); color: var(--text); padding-bottom: 6px; }

/* Why + stats */
.why__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
.why__text { display: flex; flex-direction: column; gap: 22px; max-width: 56ch; }
.why__text .h2 { margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 12px 0 0; border-top: 1px solid var(--hair); }
.stats div { display: flex; flex-direction: column; gap: 10px; padding: 34px 28px 34px 0; border-bottom: 1px solid var(--hair-2); }
.stats div:nth-child(odd) { border-right: 1px solid var(--hair-2); }
.stats div:nth-child(even) { padding-left: 28px; }
.stats dd { margin: 0; font-size: clamp(48px, 4.6vw, 76px); line-height: 1; }
.stats dt { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.pull { margin-top: clamp(96px, 14vh, 160px); padding-top: clamp(56px, 8vh, 96px); border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 22px; }
.pull .display { max-width: 18ch; }
.pull__sub { font-family: var(--serif); font-style: italic; font-size: 22px; }

/* Amenities */
.amen__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(56px, 8vh, 96px); }
.amen__head .h2 { max-width: 20ch; }
.amen__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
.amen__item { display: flex; flex-direction: column; gap: 14px; }
.amen__item .frame { margin-bottom: 14px; }
.amen__item--pool { grid-column: 1 / span 5; }
.amen__item--pool .frame { aspect-ratio: 4 / 5; }
.amen__item--kitchen { grid-column: 7 / span 3; padding-top: 18vh; }
.amen__item--kitchen .frame { aspect-ratio: 1; }
.amen__item--play { grid-column: 10 / span 3; padding-top: 6vh; }
.amen__item--play .frame { aspect-ratio: 1; }
.amen__n { font-family: var(--serif); font-size: 18px; color: var(--gold); letter-spacing: .1em; }
.amen__item p:not(.amen__n) { font-size: 15px; }
.schedule { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; margin-top: clamp(80px, 12vh, 140px); padding-top: 48px; border-top: 1px solid var(--hair); }
.schedule__intro { display: flex; flex-direction: column; gap: 14px; }
.schedule__intro p:not(.eyebrow) { font-family: var(--serif); font-size: 24px; color: var(--text); max-width: 20ch; }
.schedule__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.schedule__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--hair-2); }
.schedule__list dt { font-size: 14px; color: var(--text-2); letter-spacing: .04em; }
.schedule__list dd { margin: 0; font-size: 22px; }
.marquee { overflow: hidden; margin-top: clamp(64px, 10vh, 120px); padding: 22px 0; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); display: flex; gap: 0; white-space: nowrap; }
.marquee__inner { display: flex; gap: 0; flex-shrink: 0; }
.marquee__inner span { font-family: var(--serif); font-weight: 300; font-size: 22px; color: var(--text-2); padding: 0 34px; position: relative; }
.marquee__inner span::after { content: ''; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; background: var(--gold); border-radius: 50%; }

/* Residences: tier selector over the live tower */
.res { position: relative; z-index: 2; }
.res__sticky { position: sticky; top: 0; height: 100vh; z-index: 2; display: flex; justify-content: flex-end; pointer-events: none; }
.res__panel { pointer-events: auto; width: min(580px, 46vw); height: 100%; padding: 96px var(--gutter) 32px 0; display: flex; flex-direction: column; gap: 20px; }
.res__head { display: flex; flex-direction: column; gap: 12px; }
.res__head .h2 { font-size: clamp(28px, 2.5vw, 38px); }
.res__tiers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.res__tier { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 0 18px; padding: 10px 0; border-bottom: 1px solid var(--hair-2); cursor: pointer; position: relative; transition: padding-left .5s var(--ease-out); }
.res__tier::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .5s var(--ease-out); }
.res__floors { font-family: var(--serif); font-size: 17px; color: var(--gold); letter-spacing: .06em; font-variant-numeric: tabular-nums; transition: opacity .3s; }
.res__name { font-family: var(--serif); font-weight: 300; font-size: 25px; line-height: 1.1; color: var(--text-3); transition: color .35s; white-space: nowrap; }
.res__name i { font-style: normal; font-size: 15px; letter-spacing: .1em; color: var(--text-3); margin-left: 8px; }
.res__meta { grid-column: 2; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: 0; max-height: 0; overflow: hidden; transition: opacity .35s, max-height .45s var(--ease-out), margin .45s var(--ease-out); }
.res__tier:hover .res__name, .res__tier.is-active .res__name { color: var(--text); }
.res__tier.is-active { padding-left: 30px; }
.res__tier.is-active::before { width: 18px; }
.res__tier.is-active .res__meta { opacity: 1; max-height: 22px; margin-top: 6px; }
.res__detail { margin-top: auto; display: grid; grid-template-columns: 1fr; gap: 16px; }
.res__plan { border: 1px solid var(--hair-2); background: #0f1830; padding: 10px; }
.res__plan img { width: 100%; height: 150px; object-fit: contain; filter: invert(1) hue-rotate(180deg) contrast(1.05); mix-blend-mode: screen; opacity: .9; }
.res__specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr 0.9fr 1.6fr; gap: 16px; }
.res__specs dd.is-long { font-size: 17px; line-height: 1.35; white-space: nowrap; padding-top: 3px; }
.res__specs div { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--hair-2); padding-left: 14px; }
.res__specs dt { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.res__specs dd { margin: 0; font-size: 24px; line-height: 1.1; }
.res__link { align-self: flex-start; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 6px; transition: opacity .3s; }
.res__link[hidden] { display: none; }
.res__track { position: relative; z-index: 1; margin-top: -100vh; }
.res__stop { height: 90vh; }
.res__stop:first-child { height: 100vh; }
.res__stop:last-child { height: 100vh; }
.res__cap { position: absolute; left: var(--gutter); bottom: 40px; }

/* Tour */
.tour-sec { background: var(--panel); }
.tour__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 36px; }
.tour__intro { max-width: 44ch; justify-self: end; }
.tour { position: relative; margin: 0 var(--gutter); border: 1px solid var(--hair-2); background: #101a31; }
#tour-canvas { display: block; width: 100%; height: min(76vh, 800px); cursor: grab; }
#tour-canvas:active { cursor: grabbing; }
.tour__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tour__labels span { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--text); background: rgba(21,33,58,.86); border: 1px solid var(--hair-2); padding: 5px 9px; line-height: 1.3; display: flex; flex-direction: column; gap: 2px; transition: opacity .2s; }
.tour__labels span i { font-style: normal; color: var(--gold); letter-spacing: .06em; font-family: var(--serif); font-size: 13px; }
.tour__plans { position: absolute; left: 22px; top: 22px; display: flex; gap: 0; z-index: 2; border: 1px solid var(--hair-2); background: rgba(21,33,58,.7); backdrop-filter: blur(8px); }
.tour__plans button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 18px; color: var(--text-3); text-align: left; transition: all .3s; border-right: 1px solid var(--hair-2); }
.tour__plans button:last-child { border-right: 0; }
.tour__plans button b { font-family: var(--serif); font-weight: 300; font-size: 26px; line-height: 1; color: var(--text-3); transition: color .3s; }
.tour__plans button span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.tour__plans button:hover b, .tour__plans button.is-active b { color: var(--gold); }
.tour__plans button:hover, .tour__plans button.is-active { color: var(--text); }
.tour__plans button.is-active { background: rgba(192,170,117,.08); }
.tour__rooms { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.tour__rooms button { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); background: rgba(21,33,58,.7); border: 1px solid var(--hair-2); padding: 10px 16px; transition: all .25s; backdrop-filter: blur(8px); }
.tour__rooms button:hover { border-color: var(--gold); color: var(--text); }
.tour__rooms button.is-active { background: var(--text); color: var(--navy); border-color: var(--text); }
.tour__rooms button:first-child { margin-right: 12px; }
.tour__key { position: absolute; right: 22px; top: 30px; margin: 0; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); pointer-events: none; }

/* Finishes */
.fin__head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(56px, 8vh, 96px); }
.fin__head .h2 { max-width: 20ch; }
.fin__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.fin__item { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--hair); }
.fin__item:nth-child(2) { margin-top: 10vh; }
.fin__item:nth-child(3) { margin-top: 20vh; }
.fin__n { font-family: var(--serif); font-size: 18px; color: var(--gold); letter-spacing: .1em; }
.fin__item .frame { aspect-ratio: 3 / 4; margin: 8px 0 12px; }
.fin__item p:not(.fin__n) { font-size: 15px; max-width: 34ch; }

/* Upanga: transparent, tower aerial behind */
.upanga { min-height: 100vh; display: flex; align-items: center; background: transparent; }
.upanga__grid { display: grid; grid-template-columns: minmax(0, 560px) 1fr; }
.upanga__text { display: flex; flex-direction: column; gap: 22px; }
.upanga__text .h2 { max-width: 16ch; }
.upanga__text > p:not(.eyebrow) { max-width: 50ch; }
.upanga__reach { margin-top: 18px; }
.places { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.places li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--hair-2); }
.places li span:first-child { font-family: var(--serif); font-size: 21px; color: var(--text); }
.places li span:last-child { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.upanga__coord { position: absolute; right: var(--gutter); bottom: 40px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-3); }

/* Developer */
.dev__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.dev__photo { margin: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 100px; }
.dev__photo .frame { aspect-ratio: 4 / 3; }
.dev__photo figcaption { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.dev__text { display: flex; flex-direction: column; gap: 22px; padding-top: 14px; }
.dev__text .h2 { max-width: 18ch; margin-bottom: 8px; }
.dev__motto { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); color: var(--text); margin: 14px 0; }
.awards { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--hair); }
.awards li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--hair-2); font-family: var(--serif); font-size: 20px; color: var(--text); }
.dev__portfolio { display: flex; gap: 22px; align-items: baseline; margin-top: 6px; font-family: var(--serif); font-size: 19px; color: var(--text-2); }

/* Process */
.process__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(48px, 7vh, 80px); }
.process__head .h2 { max-width: 16ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid var(--hair); }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.steps__n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); }
.steps strong { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.1; margin-top: 8px; }
.steps li > span:last-child { font-size: 15px; color: var(--text-2); }
.steps a { border-bottom: 1px solid var(--hair); }
.process__dream { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; color: var(--text); max-width: 22ch; margin-top: clamp(80px, 12vh, 140px); }

/* Close */
.close { overflow: hidden; min-height: 100vh; display: flex; align-items: center; }
.close__bg { position: absolute; inset: -10% 0; z-index: 0; }
.close__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: saturate(.8); }
.close::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(21,33,58,.94) 0%, rgba(21,33,58,.7) 55%, rgba(21,33,58,.5) 100%); }
.close__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: center; }
.close__text { display: flex; flex-direction: column; gap: 26px; }
.close__lines { list-style: none; margin: 8px 0 0; padding: 0; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 26px); line-height: 1.5; color: var(--text-2); }
.close__note { border-left: 1px solid var(--gold); padding: 6px 0 6px 22px; max-width: 46ch; font-size: 15px; }
.close__cta { font-family: var(--serif); font-size: 24px; color: var(--text); }
.form { display: flex; flex-direction: column; gap: 22px; padding: 44px 40px; border: 1px solid var(--hair); background: rgba(21,33,58,.6); backdrop-filter: blur(10px); }
.form__title { margin-bottom: 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-3); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"] { font: 300 17px var(--sans); color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; padding: 8px 0; outline: none; transition: border-color .25s; }
.form input:focus { border-bottom-color: var(--gold); }
.form fieldset { border: 0; margin: 4px 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.form legend { padding: 0; margin-bottom: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--hair); font-size: 12px; letter-spacing: .08em; cursor: pointer; transition: all .25s; color: var(--text-2); }
.chip input:checked + span { background: var(--text); color: var(--navy); border-color: var(--text); }
.chip input:focus-visible + span { border-color: var(--gold); }
.form button { align-self: flex-start; margin-top: 6px; }
.form__done { color: var(--text); font-family: var(--serif); font-size: 22px; }
.form.is-sent > :not(.form__done):not(.contact):not(.form__title) { display: none; }
.contact { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--hair-2); font-size: 12px; letter-spacing: .08em; color: var(--text-2); }
.contact a { border-bottom: 1px solid var(--hair); padding-bottom: 2px; }

/* Footer */
.foot { position: relative; z-index: 2; background: #0f1830; padding: 56px 0 48px; border-top: 1px solid var(--hair-2); }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 48px; align-items: center; }
.foot .wordmark { font-size: 14px; color: var(--text); }
.foot__tag { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--text-2); }
.foot__links { display: flex; gap: 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.foot__links a:hover { color: var(--text); }
.foot__legal { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); max-width: 90ch; padding-top: 18px; border-top: 1px solid var(--hair-2); }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1px solid var(--gold); pointer-events: none; display: grid; place-items: center; transition: width .3s var(--ease-out), height .3s var(--ease-out), margin .3s var(--ease-out), background .3s; }
.cursor__label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); opacity: 0; transition: opacity .2s; }
.cursor.is-active { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(192,170,117,.9); border-color: transparent; }
.cursor.is-active .cursor__label { opacity: 1; }
body:has(.cursor) { cursor: none; }

/* Reveal defaults: hidden until GSAP runs (kept visible if JS fails) */
.js .reveal { opacity: 0; }
.frame--reveal { clip-path: inset(0 0 0 0); }

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

/* ---- Small screens -------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top__cta { display: none; }
  .alt { right: 18px; }
  .alt__rail { height: 22vh; }
  .hero__wordmark { font-size: clamp(26px, 8vw, 44px); }
  .chapter { max-width: calc(100vw - 2 * var(--gutter) - 48px); }
  .chapter--2 { right: var(--gutter); }
  .chapter__display { font-size: clamp(36px, 9vw, 60px); }
  .chapter__line { font-size: clamp(24px, 5.6vw, 34px); }
  .chapter__num { font-size: clamp(120px, 34vw, 200px); }
  .hero__loc { display: none; }
  .life__head, .amen__head, .fin__head, .tour__head, .why__grid, .dining-strip, .schedule, .dev__grid, .close__grid, .upanga__grid { grid-template-columns: 1fr; gap: 28px; }
  .spread { height: 80vh; min-height: 520px; }
  .amen__grid { display: flex; flex-direction: column; gap: 48px; }
  .amen__item--kitchen, .amen__item--play { padding-top: 0; }
  .schedule__list { grid-template-columns: 1fr; }
  .fin__grid { grid-template-columns: 1fr; }
  .fin__item:nth-child(2), .fin__item:nth-child(3) { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .res__sticky { justify-content: stretch; align-items: flex-end; }
  .res__panel { width: 100%; padding: 0 var(--gutter) 24px; height: auto; max-height: 100vh; background: linear-gradient(to top, rgba(21,33,58,1) 70%, rgba(21,33,58,0)); }
  .res__head { padding-top: 40vh; }
  .res__tier { grid-template-columns: 64px 1fr; }
  .res__meta { display: none; }
  .res__plan { display: none; }
  .res__specs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .res__specs dd { font-size: 20px; }
  .tour { margin: 0 16px; }
  #tour-canvas { height: 62vh; }
  .tour__key { display: none; }
  .tour__plans button { padding: 10px 12px; }
  .tour__plans button span { display: none; }
  .dev__photo { position: static; }
  .form { padding: 28px 22px; }
  .form__row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .upanga__coord { display: none; }
}
