/* Ivan Hay Property — "Cinematic Noir" */
:root {
  --bg: #0a0a0c;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --line: rgba(241, 235, 223, .1);
  --line-gold: rgba(201, 166, 107, .32);
  --gold: #c9a66b;
  --gold-2: #e6cf9e;
  --ivory: #f1ebdf;
  --text: #d6d0c4;
  --muted: #a39d91;
  --dim: #7b766d;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --head: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.7 var(--sans); font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; color: var(--ivory); text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--gold); color: #000; }
:focus-visible { outline: 1px solid var(--gold-2); outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1280px); margin-inline: auto; }
.narrow { width: min(100% - 48px, 860px); margin-inline: auto; }
.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; background: var(--gold); color: #000; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 8px; }
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: 0 50%; z-index: 120; pointer-events: none; }

/* ---------- Disclosure bar ---------- */
.notice { background: #000; color: var(--muted); font-size: .76rem; line-height: 1.5; border-bottom: 1px solid var(--line); position: relative; z-index: 60; }
.notice .wrap { display: flex; gap: 6px 14px; align-items: center; padding: 9px 0; flex-wrap: wrap; }
.notice strong { color: var(--gold); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .64rem; border: 1px solid var(--line-gold); padding: 3px 9px; white-space: nowrap; }
.notice a { color: var(--ivory); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head); transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.solid { background: rgba(10, 10, 12, .95); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 100%; }
main > :first-child { margin-top: calc(var(--head) * -1); }
.brand { text-decoration: none; display: grid; line-height: 1; }
.brand b { font: 500 1.28rem var(--serif); letter-spacing: .34em; text-transform: uppercase; color: var(--ivory); }
.brand b i { font-style: normal; color: var(--gold); }
.brand span { font-size: .56rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { text-decoration: none; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); position: relative; padding: 8px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-gold); width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 18px; height: 1px; background: var(--gold-2); box-shadow: 0 6px 0 var(--gold-2), 0 -6px 0 var(--gold-2); }

/* ---------- Buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 16px 26px; border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: color .35s ease, background .35s ease, border-color .35s ease, transform .35s var(--ease); isolation: isolate; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold); color: #0a0a0c; }
.btn-gold::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); z-index: -1; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-gold:hover::before { transform: translateX(120%); }
.btn-ghost { border-color: var(--line-gold); color: var(--gold-2); background: transparent; }
.btn-ghost::before { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .4s var(--ease); z-index: -1; }
.btn-ghost:hover { color: #0a0a0c; border-color: var(--gold); }
.btn-ghost:hover::before { transform: scaleY(1); }
.btn-sm { padding: 12px 18px; font-size: .68rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font: 600 .72rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--gold-2); }
.text-link::after { content: ''; width: 34px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.text-link:hover::after { width: 56px; }

/* ---------- Shared type ---------- */
.kicker { font: 500 .68rem var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ''; width: 34px; height: 1px; background: currentColor; flex: none; }
.kicker.plain::before { display: none; }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 22px 0 0; max-width: 60ch; }
.lede { font-size: 1.1rem; color: var(--text); }
.caption { font-size: .78rem; color: var(--dim); margin-top: 14px; line-height: 1.6; }

/* ---------- Hero (home slideshow + project hero) ---------- */
.hero { position: relative; min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 170px; overflow: hidden; background: #000; isolation: isolate; }
.hero-slides, .slide, .hero-bg, .hero-shade { position: absolute; inset: 0; }
.hero-slides, .hero-bg { z-index: -2; }
.slide { background: #000 center / cover no-repeat; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; animation: kenburns 10s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
.hero-bg { background: #000 center / cover no-repeat; inset: -8% 0; will-change: transform; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { scale: 1.12; opacity: 0; } to { scale: 1; opacity: 1; } }
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .18) 26%, rgba(10, 10, 12, .38) 52%, rgba(10, 10, 12, .98) 100%), linear-gradient(90deg, rgba(10, 10, 12, .78) 0%, rgba(10, 10, 12, .2) 62%, transparent 100%); }
.hero-inner { padding-bottom: clamp(36px, 5vw, 64px); }
.hero h1 { font-size: clamp(3.2rem, 8.6vw, 7.6rem); line-height: .93; max-width: 13ch; }
.hero.project h1 { max-width: 16ch; }
.hero .lede { max-width: 52ch; color: rgba(241, 235, 223, .82); margin: 28px 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-inner > * { animation: rise 1.1s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .12s; }
.hero-inner > :nth-child(3) { animation-delay: .24s; }
.hero-inner > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: end; border-top: 1px solid var(--line-gold); padding: 22px 0 30px; animation: rise 1.1s .5s var(--ease) both; }
.hero-now small { display: block; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero-now a { font: 400 1.5rem var(--serif); color: var(--ivory); text-decoration: none; display: inline-flex; gap: 12px; align-items: baseline; }
.hero-now a span { font: 500 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.hero-dots { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; }
.hero-dots button { all: unset; cursor: pointer; display: block; width: 100%; padding-top: 4px; }
.hero-dots .n { font: 500 .62rem var(--sans); letter-spacing: .24em; color: var(--muted); transition: color .3s; }
.hero-dots .nm { display: block; font: 400 1.02rem var(--serif); color: var(--muted); margin: 2px 0 10px; transition: color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-dots .bar { display: block; height: 1px; background: rgba(241, 235, 223, .22); position: relative; }
.hero-dots .bar b { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.hero-dots button:hover .nm, .hero-dots .is-active .nm { color: var(--ivory); }
.hero-dots .is-active .n { color: var(--gold); }
.hero-dots .is-active .bar b { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.hero.paused .hero-dots .is-active .bar b { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-gold); margin: 0; animation: rise 1.1s .5s var(--ease) both; }
.hero-facts div { padding: 22px 24px 30px 0; }
.hero-facts dt { font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hero-facts dd { margin: 0; font: 400 1.5rem/1.15 var(--serif); color: var(--ivory); }
.crumbs { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.scroll-cue { position: absolute; right: 28px; bottom: 150px; writing-mode: vertical-rl; font-size: .58rem; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ''; width: 1px; height: 64px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.art-tag { position: absolute; right: 12px; bottom: 12px; z-index: 2; font: 500 .56rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(241, 235, 223, .75); background: rgba(0, 0, 0, .5); padding: 5px 9px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee div { display: flex; gap: 56px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover div { animation-play-state: paused; }
.marquee span { font: italic 400 1.6rem var(--serif); color: var(--muted); white-space: nowrap; display: inline-flex; gap: 56px; align-items: center; }
.marquee span::after { content: '✦'; font-style: normal; font-size: .7rem; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Statement + stats ---------- */
.statement { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 7vw, 110px); align-items: end; }
.statement h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); line-height: 1.08; }
.stats { display: grid; gap: 0; border-top: 1px solid var(--line-gold); margin: 0; }
.stats div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.stats dt { font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 0; font: 400 3.4rem/1 var(--serif); color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Filter + cards ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip { font: 500 .68rem var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 12px 18px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; transition: all .3s ease; display: inline-flex; gap: 10px; align-items: center; }
.chip i { font-style: normal; color: var(--dim); }
.chip:hover { border-color: var(--line-gold); color: var(--ivory); }
.chip[aria-pressed='true'] { background: var(--gold); border-color: var(--gold); color: #0a0a0c; }
.chip[aria-pressed='true'] i { color: rgba(0, 0, 0, .55); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: border-color .5s ease, transform .6s var(--ease); --mx: 50%; --my: 0%; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(201, 166, 107, .16), transparent 62%); opacity: 0; transition: opacity .5s ease; pointer-events: none; z-index: 2; }
.card:hover { border-color: var(--line-gold); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card[hidden] { display: none; }
.card.fade-in { animation: rise .6s var(--ease) both; }
.card-media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: #000; }
.card-media > img, .card-media > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s ease; filter: saturate(.92) brightness(.92); }
.card:hover .card-media > img, .card:hover .card-media > svg { transform: scale(1.07); filter: none; }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 20, 22, .9)); }
.pill { position: absolute; left: 16px; top: 16px; z-index: 3; font: 600 .58rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); background: rgba(10, 10, 12, .82); border: 1px solid var(--line-gold); padding: 7px 12px; }
.card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; position: relative; z-index: 3; }
.card-area { font: 500 .62rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.card h3 { font-size: 2rem; margin-bottom: 8px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card-dev { font-size: .84rem; color: var(--muted); margin: 0 0 22px; }
.card-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto 0 0; border-top: 1px solid var(--line); padding-top: 18px; gap: 12px; }
.card-meta dt { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.card-meta dd { margin: 0; font-size: .84rem; color: var(--ivory); line-height: 1.4; }
.card-go { margin-top: 22px; }
.card-soon { font-size: .9rem; color: var(--muted); margin: 0 0 22px; }
.card .btn { position: relative; z-index: 4; align-self: flex-start; margin-top: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-gold); counter-reset: step; }
.step { padding: 40px 30px 44px 0; margin-right: 30px; border-right: 1px solid var(--line); counter-increment: step; position: relative; transition: transform .5s var(--ease); }
.step:last-child { border: 0; margin: 0; }
.step::before { content: '0' counter(step); font: italic 300 4rem/1 var(--serif); color: var(--gold); opacity: .55; display: block; margin-bottom: 26px; transition: opacity .4s ease; }
.step::after { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold); transition: width .7s var(--ease); }
.step:hover::before { opacity: 1; }
.step:hover::after { width: calc(100% - 30px); }
.step h3 { font-size: 1.7rem; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }
.assure { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.assure div { background: var(--bg-2); padding: 32px 34px; transition: background .4s ease; }
.assure div:hover { background: var(--surface-2); }
.assure b { display: block; font: 400 1.5rem var(--serif); color: var(--ivory); margin-bottom: 8px; }
.assure span { font-size: .9rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.portrait { position: relative; width: min(100%, 400px); }
.portrait .arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; background: radial-gradient(120% 90% at 50% 0%, #2a2620, #0f0f11 70%); display: grid; place-items: center; overflow: hidden; }
.portrait::before { content: ''; position: absolute; inset: -16px; border: 1px solid var(--line-gold); border-radius: 999px 999px 0 0; pointer-events: none; }
.portrait .mono { font: italic 300 8rem var(--serif); color: var(--gold); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.id-card { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); margin: 34px 0; }
.id-card div { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.id-card div:nth-child(odd) { border-right: 1px solid var(--line); }
.id-card div:last-child { border-bottom: 0; }
.id-card div.full { grid-column: 1 / -1; border-right: 0; }
.id-card dt { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 5px; }
.id-card dd { margin: 0; color: var(--ivory); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-gold); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 30px 56px 30px 0; font: 400 1.7rem/1.2 var(--serif); color: var(--ivory); position: relative; transition: color .3s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-2); }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 18px; height: 1px; background: var(--gold); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--muted); max-width: 68ch; padding-bottom: 30px; margin: 0; animation: rise .5s var(--ease) both; }

/* ---------- CTA band ---------- */
.cta { position: relative; padding: clamp(80px, 11vw, 150px) 0; text-align: center; overflow: hidden; isolation: isolate; border-block: 1px solid var(--line); }
.cta-bg { position: absolute; inset: -10% 0; background: #000 center / cover no-repeat; z-index: -2; filter: saturate(.7); }
.cta::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% 50%, rgba(10, 10, 12, .72), rgba(10, 10, 12, .96)); z-index: -1; }
.cta .kicker { justify-content: center; }
.cta .kicker::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.cta h2 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 16ch; margin: 0 auto; }
.cta p.lede { color: var(--muted); margin: 26px auto 38px; max-width: 54ch; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding: 84px 0 56px; }
.site-footer h4 { font: 500 .62rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { text-decoration: none; color: var(--text); transition: color .3s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-brand b { font: 500 1.5rem var(--serif); letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); display: block; margin-bottom: 16px; }
.footer-brand b i { font-style: normal; color: var(--gold); }
.footer-brand p { max-width: 36ch; }
.footer-legal { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-legal h4 { margin-bottom: 14px; }
.footer-legal p { font-size: .78rem; line-height: 1.8; color: var(--dim); max-width: 112ch; margin-bottom: .9em; }
.footer-legal b { color: var(--muted); font-weight: 600; }
.footer-base { border-top: 1px solid var(--line); padding: 24px 0 110px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .74rem; letter-spacing: .06em; color: var(--dim); }

/* ---------- Floating WhatsApp + sticky bar ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 70; background: var(--gold); color: #0a0a0c; height: 58px; padding: 0 22px 0 18px; display: inline-flex; align-items: center; gap: 12px; font: 600 .7rem var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; box-shadow: 0 18px 40px -12px rgba(201, 166, 107, .55); transition: transform .35s var(--ease), background .3s; }
.fab::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--gold); animation: pulse 2.8s ease-out infinite; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35, 1.9); opacity: 0; } }
.fab:hover { transform: translateY(-3px); background: var(--gold-2); }
.fab svg { width: 20px; height: 20px; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: rgba(10, 10, 12, .96); border-top: 1px solid var(--line-gold); transform: translateY(110%); transition: transform .6s var(--ease); }
.dock.show { transform: none; }
.dock .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.dock-name { font: 400 1.35rem var(--serif); color: var(--ivory); line-height: 1.1; }
.dock-name small { display: block; font: 500 .6rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.dock-actions { display: flex; gap: 10px; }
body.has-dock .site-footer .footer-base { padding-bottom: 120px; }

/* ---------- Project page ---------- */
.subnav { position: sticky; top: var(--head); z-index: 40; background: rgba(10, 10, 12, .96); border-bottom: 1px solid var(--line); }
.subnav .wrap { position: relative; display: flex; gap: 34px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { text-decoration: none; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; padding: 20px 0 18px; white-space: nowrap; color: var(--muted); border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.subnav a:hover { color: var(--ivory); }
.subnav a.is-current { color: var(--gold-2); border-color: var(--gold); }
.psec { padding: clamp(72px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 70px; }
.psec.alt { background: var(--bg-2); }
.psec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 60px); flex-wrap: wrap; }
.psec-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.psec-head p { color: var(--muted); max-width: 46ch; margin: 0; }
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.overview .big { font: 400 clamp(1.7rem, 3vw, 2.5rem)/1.22 var(--serif); color: var(--ivory); margin: 0; }
.points { list-style: none; margin: 0; padding: 0; counter-reset: pt; border-top: 1px solid var(--line-gold); }
.points li { counter-increment: pt; display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding-left .4s var(--ease), color .3s; }
.points li::before { content: '0' counter(pt); font: italic 400 1.3rem var(--serif); color: var(--gold); }
.points li:hover { padding-left: 10px; color: var(--ivory); }
.note { border: 1px solid var(--line-gold); background: rgba(201, 166, 107, .06); padding: 18px 22px; font-size: .88rem; color: var(--text); margin: 0 0 28px; }
.note p:last-child { margin: 0; }

/* Layout explorer */
.lx { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); background: var(--surface); }
.lx-tabs { position: relative; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.lx-tabs button { all: unset; box-sizing: border-box; cursor: pointer; padding: 22px 26px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; position: relative; transition: background .35s ease; }
.lx-tabs button::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transition: transform .4s var(--ease); }
.lx-tabs button:hover { background: var(--surface-2); }
.lx-tabs button[aria-selected='true'] { background: var(--surface-2); }
.lx-tabs button[aria-selected='true']::before { transform: scaleY(1); }
.lx-tabs button:focus-visible { outline: 1px solid var(--gold-2); outline-offset: -4px; }
.lx-ty { font: 400 1.45rem var(--serif); color: var(--ivory); }
.lx-sz { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lx-tabs button[aria-selected='true'] .lx-sz { color: var(--gold); }
.lx-panel { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); min-height: 460px; }
.js .lx-panel:not(.is-active) { display: none; }
.lx-panel.is-active { animation: fadein .6s ease both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lx-plan { position: relative; display: grid; place-items: center; background: #f6f2ea; padding: 26px; cursor: zoom-in; min-height: 320px; }
.lx-plan img { max-width: 100%; max-height: 460px; object-fit: contain; transition: transform .7s var(--ease); }
.lx-plan:hover img { transform: scale(1.04); }
.lx-plan > span { position: absolute; right: 14px; bottom: 14px; font: 600 .56rem var(--sans); letter-spacing: .2em; text-transform: uppercase; background: #0a0a0c; color: var(--gold-2); padding: 7px 11px; }
.lx-plan.none { cursor: default; background: var(--bg-2); color: var(--muted); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.lx-info { padding: 36px 34px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.lx-big { font: 400 clamp(2.4rem, 4vw, 3.4rem)/1 var(--serif); color: var(--gold); margin: 0 0 8px; }
.lx-rooms { color: var(--text); margin: 0 0 26px; }
.lx-info dl { margin: 0 0 28px; border-top: 1px solid var(--line); }
.lx-info dl div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.lx-info dt { color: var(--dim); }
.lx-info dd { margin: 0; color: var(--ivory); text-align: right; }
.lx-info .btn { margin-top: auto; }

/* Facilities */
.tags { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tags li { background: var(--bg); padding: 18px 20px; font-size: .9rem; display: flex; gap: 12px; align-items: center; transition: background .35s ease, color .35s ease; }
.psec.alt .tags li { background: var(--bg-2); }
.tags li::before { content: ''; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex: none; transition: transform .4s var(--ease); }
.tags li:hover { background: var(--surface-2); color: var(--ivory); }
.tags li:hover::before { transform: rotate(225deg) scale(1.5); }
.maps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 32px; }
.maps a { display: block; background: #f6f2ea; border: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.maps img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.maps a:hover img { transform: scale(1.03); }

/* Gallery carousel */
.carousel { position: relative; }
.track { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(24px, calc((100vw - 1280px) / 2)); cursor: grab; -webkit-overflow-scrolling: touch; }
.track::-webkit-scrollbar { display: none; }
.track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.track a { flex: 0 0 auto; height: clamp(250px, 40vw, 520px); aspect-ratio: 3 / 2; scroll-snap-align: center; overflow: hidden; background: var(--surface); position: relative; }
.track img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .5s; filter: brightness(.9); -webkit-user-drag: none; user-select: none; }
.track a:hover img { transform: scale(1.04); filter: none; }
.carousel-ui { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.count { font: 400 1.3rem var(--serif); color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.count i { font-style: normal; color: var(--dim); }
.arrows { display: flex; gap: 10px; }
.arrows button { width: 54px; height: 54px; border: 1px solid var(--line-gold); background: transparent; color: var(--gold-2); cursor: pointer; font-size: 1.1rem; transition: background .3s, color .3s; }
.arrows button:hover { background: var(--gold); color: #0a0a0c; }

/* Location */
.loc { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.loc address { font: 400 1.6rem/1.3 var(--serif); font-style: normal; color: var(--ivory); margin-bottom: 26px; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--line); background: var(--surface); }
.calc-in { padding: 38px 36px; display: grid; gap: 26px; }
.calc-row label { display: flex; justify-content: space-between; align-items: baseline; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.calc-row output { font: 400 1.35rem var(--serif); color: var(--ivory); letter-spacing: 0; text-transform: none; }
.calc-row input[type='number'] { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--ivory); font: 400 1.5rem var(--serif); padding: 12px 16px; }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 1px; background: var(--line-gold); outline-offset: 10px; cursor: pointer; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--gold); transform: rotate(45deg); border: 0; transition: transform .25s; }
input[type='range']::-webkit-slider-thumb:hover { transform: rotate(45deg) scale(1.25); }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; background: var(--gold); border: 0; border-radius: 0; transform: rotate(45deg); }
.calc-out { padding: 38px 36px; border-left: 1px solid var(--line); background: radial-gradient(120% 100% at 100% 0%, rgba(201, 166, 107, .14), transparent 60%), var(--surface-2); display: flex; flex-direction: column; justify-content: center; }
.calc-out small { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.calc-big { font: 400 clamp(2.8rem, 5.4vw, 4.4rem)/1 var(--serif); color: var(--gold); margin: 10px 0 6px; font-variant-numeric: lining-nums tabular-nums; }
.calc-out dl { margin: 26px 0 0; border-top: 1px solid var(--line); }
.calc-out dl div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.calc-out dt { color: var(--dim); }
.calc-out dd { margin: 0; color: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }

/* Permits */
.permit { border: 1px solid var(--line); background: var(--surface); }
.permit dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.permit dl div { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.permit dl div:nth-child(odd) { border-right: 1px solid var(--line); }
.permit dt { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px; }
.permit dd { margin: 0; color: var(--ivory); font-size: .94rem; word-break: break-word; }
.permit dd span { color: var(--muted); font-size: .84rem; }
.permit p { padding: 18px 24px; margin: 0; font-size: .84rem; color: var(--muted); }

/* Enquiry */
.enquire { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.enquire h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
.form-card { background: var(--surface); border: 1px solid var(--line-gold); padding: 38px 36px; }
.form-card h3 { font-size: 2rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .62rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); padding: 14px 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ivory); width: 100%; border-radius: 0; transition: border-color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); }
.field textarea { min-height: 96px; resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; font-size: .8rem; color: var(--muted); margin: 6px 0 22px; align-items: start; line-height: 1.55; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--gold); }
.form-note { font-size: .74rem; color: var(--dim); margin: 16px 0 0; line-height: 1.6; }
.agent-card { border: 1px solid var(--line); padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; margin-top: 30px; }
.agent-card .seal { width: 58px; height: 70px; border-radius: 99px 99px 0 0; border: 1px solid var(--line-gold); display: grid; place-items: center; font: italic 400 1.5rem var(--serif); color: var(--gold); padding-top: 8px; }
.agent-card b { font: 400 1.5rem var(--serif); color: var(--ivory); display: block; }
.agent-card span { font-size: .8rem; color: var(--muted); display: block; line-height: 1.6; }

/* ---------- Text pages ---------- */
.page-head { padding: calc(var(--head) + clamp(70px, 10vw, 130px)) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--line); background: radial-gradient(90% 120% at 85% 0%, rgba(201, 166, 107, .12), transparent 60%), var(--bg-2); }
.page-head h1 { font-size: clamp(3rem, 8vw, 6.4rem); max-width: 14ch; }
.page-head p:last-child { color: var(--muted); max-width: 60ch; margin: 26px 0 0; font-size: 1.08rem; }
.prose { max-width: 800px; padding: clamp(56px, 8vw, 96px) 0; }
.prose h2 { font-size: 2.1rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: .5em; }
.prose li::marker { color: var(--gold); }
.prose .updated { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.prose a { color: var(--gold-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); padding: clamp(56px, 8vw, 96px) 0; align-items: start; }
.contact-list { border-top: 1px solid var(--line-gold); margin: 0; }
.contact-list div { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.contact-list dt { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); padding-top: 6px; }
.contact-list dd { margin: 0; color: var(--text); }
.contact-list dd b { font: 400 2rem var(--serif); color: var(--ivory); display: block; margin-bottom: 6px; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; color: var(--ivory); }
.lightbox::backdrop { background: rgba(4, 4, 5, .94); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; animation: fadein .35s ease both; }
.lightbox figure { margin: 0; display: grid; place-items: center; padding: 24px 76px 0; width: 100%; height: 100%; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; background: #f6f2ea; animation: zoomin .45s var(--ease) both; }
@keyframes zoomin { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 18px; font: 400 1.1rem var(--serif); }
.lightbox button { background: transparent; border: 1px solid var(--line-gold); color: var(--gold-2); cursor: pointer; transition: background .3s, color .3s; }
.lightbox button:hover { background: var(--gold); color: #0a0a0c; }
.lb-close { padding: 10px 18px; font: 600 .62rem var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.1rem; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee div { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .statement, .about-grid, .overview, .loc, .calc, .enquire, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2) { border-right: 0; margin-right: 0; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-facts div { padding-bottom: 14px; }
  .hero-facts div:nth-child(n+4) { padding-top: 0; }
  .lx { grid-template-columns: minmax(0, 1fr); }
  .lx-tabs { flex-direction: row; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .lx-tabs::-webkit-scrollbar { display: none; }
  .lx-tabs button { flex: 0 0 auto; border-bottom: 0; border-right: 1px solid var(--line); padding: 18px 22px; }
  .lx-tabs button::before { top: auto; right: 0; width: auto; height: 2px; transform: scaleX(0); }
  .lx-tabs button[aria-selected='true']::before { transform: scaleX(1); }
  .calc-out { border-left: 0; border-top: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .portrait { width: min(70%, 320px); margin-inline: auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 760px) {
  :root { --head: 68px; }
  .wrap, .narrow { width: min(100% - 40px, 1280px); }
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: var(--head); left: 0; right: 0; background: rgba(10, 10, 12, .97); border-bottom: 1px solid var(--line-gold); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; display: none; }
  .nav.open { display: flex; animation: fadein .3s ease both; }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  .hero { padding-top: 130px; min-height: min(100svh, 860px); }
  .hero-foot { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-dots { gap: 10px; }
  .hero-dots .nm { display: none; }
  .hero-dots .n { display: block; margin-bottom: 8px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-facts div:nth-child(n+3) { padding-top: 0; }
  .hero-facts dd { font-size: 1.25rem; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .steps, .assure { grid-template-columns: minmax(0, 1fr); }
  .step { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .step:last-child { border-bottom: 0; }
  .lx-panel { grid-template-columns: minmax(0, 1fr); }
  .lx-info { border-left: 0; border-top: 1px solid var(--line); padding: 28px 24px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 64px 0 40px; }
  .id-card, .permit dl { grid-template-columns: minmax(0, 1fr); }
  .id-card div, .permit dl div { border-right: 0 !important; }
  .contact-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .calc-in, .calc-out, .form-card { padding: 28px 24px; }
  .fab span { display: none; }
  .fab { padding: 0; width: 58px; justify-content: center; }
  .dock-name { display: none; }
  .dock-actions { width: 100%; }
  .dock-actions .btn { flex: 1 1 auto; padding-inline: 8px; letter-spacing: .1em; font-size: .66rem; min-width: 0; }
  .dock-actions .btn:first-child { flex: 0 0 26%; }
  .lightbox figure { padding: 16px 12px 0; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .stats dd { font-size: 2.8rem; }
  .faq summary { font-size: 1.4rem; }
}
