:root {
  --ink: #0f0f0e;
  --ink-2: #1a1917;
  --ink-3: #26241f;
  --cream: #f4efe6;
  --cream-2: #e9e2d4;
  --muted: #9a9284;
  --gold: #c3a46b;
  --gold-2: #dcc293;
  --gold-ink: #6f5528;
  --line: rgba(244, 239, 230, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--cream); font-family: var(--sans); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tile:focus-visible, .stage:focus-visible { outline-offset: -2px; }
.search label:focus-within { box-shadow: inset 0 -2px 0 var(--gold); }
input[type=range]:focus-visible { outline-offset: 8px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
em { font-style: italic; color: var(--gold-2); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(15,15,14,.85); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: .02em; }
.logo span { color: var(--gold); }
.nav ul { display: flex; gap: 36px; list-style: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.nav ul a { opacity: .75; transition: opacity .3s; }
.nav ul a:hover { opacity: 1; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; border: 1px solid var(--gold); color: var(--ink); background: var(--gold); transition: all .35s var(--ease); }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn.ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 72px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: slowzoom 18s var(--ease) forwards; }
@keyframes slowzoom { to { transform: scale(1); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,14,.55) 0%, rgba(15,15,14,.15) 40%, rgba(15,15,14,.92) 100%); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(48px, 8vw, 116px); max-width: 11ch; margin: 18px 0 24px; }
.hero p.lead { max-width: 46ch; font-size: 17px; color: var(--cream-2); opacity: .9; }

.search { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr auto; background: rgba(15,15,14,.7); backdrop-filter: blur(16px); border: 1px solid var(--line); }
.search label { display: block; padding: 18px 22px; border-right: 1px solid var(--line); }
.search label span { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.search input, .search select { width: 100%; background: transparent; border: 0; color: var(--cream); font: 400 15px var(--sans); outline: none; appearance: none; }
.search select { padding-right: 20px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23c3a46b' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 2px center; }
.search select option { background: var(--ink-2); }
.search .btn { height: 100%; padding-inline: 34px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-meta div strong { display: block; font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--cream); }
.hero-meta div { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.meta-note { flex-basis: 100%; font-size: 11px; letter-spacing: .08em; color: var(--muted); }

/* Play/pause controls for moving media */
.media-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: rgba(15,15,14,.45); backdrop-filter: blur(6px); color: var(--cream); transition: border-color .3s, color .3s; flex: none; }
.media-toggle:hover { border-color: var(--gold); color: var(--gold-2); }
.media-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.media-toggle .i-play, .media-toggle.is-paused .i-pause { display: none; }
.media-toggle.is-paused .i-play { display: block; }
.hero-toggle { position: absolute; right: 0; top: -68px; }
.film-toggle { position: absolute; right: 24px; bottom: 28px; z-index: 2; }

/* Sections */
section { padding: 130px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(38px, 5vw, 68px); margin-top: 14px; max-width: 14ch; }
.sec-head p { max-width: 40ch; color: var(--muted); }

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.chip { padding: 10px 20px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; transition: all .3s var(--ease); }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.check { margin-left: auto; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.result-count { margin-left: 20px; align-self: center; font-size: 13px; color: var(--muted); }

/* Listings */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { position: relative; background: var(--ink-2); border: 1px solid var(--line); cursor: pointer; transition: transform .5s var(--ease), border-color .4s; text-align: left; width: 100%; }
.card:hover { transform: translateY(-6px); border-color: rgba(195,164,107,.45); }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.tag { position: absolute; top: 16px; left: 16px; padding: 6px 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgba(15,15,14,.75); backdrop-filter: blur(8px); }
.fav { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(15,15,14,.6); border-radius: 50%; transition: color .3s; }
.fav.on { color: var(--gold); }
.fav svg { width: 17px; height: 17px; }
.card-body { padding: 24px 24px 26px; }
.card-body .price { font-family: var(--serif); font-size: 30px; color: var(--gold-2); }
.card-body h3 { font-size: 24px; margin: 4px 0 2px; }
.card-link { font: inherit; color: inherit; text-align: left; letter-spacing: inherit; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.status { position: absolute; top: 52px; left: 16px; padding: 6px 12px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink); background: var(--gold); }
.status-sold { background: var(--cream); }
.card.is-sold .card-img img { filter: grayscale(.7) brightness(.75); }
.card-body .loc { font-size: 13px; color: var(--muted); }
.specs { display: flex; gap: 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--cream-2); }
.specs b { font-weight: 500; }
.empty { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--muted); border: 1px dashed var(--line); }

/* Intro curtain */
.intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ink); clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.intro.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro .logo { font-size: clamp(40px, 6vw, 64px); animation: introIn .9s .1s var(--ease) both; }
.intro i { position: absolute; left: 50%; top: calc(50% + 56px); width: 160px; height: 1px; background: var(--line); transform: translateX(-50%); overflow: hidden; }
.intro i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: loadbar 1s .2s var(--ease) forwards; }
@keyframes introIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes loadbar { to { transform: scaleX(1); } }
.hero .wrap > * { transition-delay: calc(var(--i, 0) * 120ms); }

/* Listing card film */
.card-img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.card.vplay .card-img video { opacity: 1; }
.vtag { position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; background: rgba(15,15,14,.7); backdrop-filter: blur(6px); transition: opacity .4s; }
.vtag::before, .tile .badge-v::before { content: ""; width: 0; height: 0; border-left: 6px solid var(--gold); border-block: 4px solid transparent; }
.card.vplay .vtag { opacity: 0; }
.modal-card > video { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* Scroll film */
section.film { position: relative; height: 340vh; padding: 0; }
.film-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film-frame { position: absolute; inset: 0; clip-path: inset(var(--cy, 16%) var(--cx, 22%) round var(--r, 28px)); will-change: clip-path; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--fs, 1.15)); }
.film-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,14,.8), rgba(15,15,14,.1) 65%); opacity: var(--dim, 0); }
.film-title { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; opacity: var(--to, 1); transform: scale(calc(1 + (1 - var(--to, 1)) * .15)); }
.film-title h2 { font-size: clamp(44px, 8vw, 120px); mix-blend-mode: difference; color: var(--cream); }
.chapter { position: absolute; left: max(24px, calc((100vw - 1240px) / 2)); bottom: 14vh; max-width: 520px; padding-right: 24px; opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.chapter.on { opacity: 1; transform: none; }
.chapter h3 { font-size: clamp(36px, 5vw, 64px); margin: 14px 0 12px; }
.chapter p:last-child { color: var(--cream-2); }
.film-meter { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; opacity: var(--dim, 0); }
.film-meter span { width: 2px; height: 42px; background: rgba(244,239,230,.2); transition: background .5s; }
.film-meter span.on { background: var(--gold); }

/* Gallery: cinematic stage */
.gallery { background: var(--ink); padding-bottom: 100px; }
.stage { position: relative; aspect-ratio: 16/8; min-height: 420px; overflow: hidden; background: #000; user-select: none; touch-action: pan-y; }
.slide { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.2s cubic-bezier(.77,0,.18,1); z-index: 1; }
.slide.active { clip-path: inset(0 0 0 0); z-index: 3; }
.slide.leaving { clip-path: inset(0 0 0 0); z-index: 2; }
.slide.rev { clip-path: inset(0 100% 0 0); }
.slide.rev.active { clip-path: inset(0 0 0 0); }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide.leaving img, .slide.leaving video { transform: scale(1.04) translateX(-3%); filter: brightness(.6); transition: transform 1.2s cubic-bezier(.77,0,.18,1), filter 1.2s; }
.slide.active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
.stage::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, rgba(15,15,14,.78) 0%, rgba(15,15,14,.15) 55%, rgba(15,15,14,0) 100%), linear-gradient(0deg, rgba(15,15,14,.7), transparent 40%); }
.stage-caption { position: absolute; left: 56px; bottom: 64px; z-index: 5; max-width: min(520px, calc(100% - 330px)); }
.stage-caption .eyebrow { display: flex; align-items: center; gap: 10px; }
.stage-caption h3 { font-size: clamp(36px, 5vw, 72px); margin: 14px 0 10px; }
.stage-caption p { color: var(--cream-2); }
.stage-caption > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.stage-caption.show > * { opacity: 1; transform: none; }
.stage-caption.show > *:nth-child(2) { transition-delay: .12s; }
.stage-caption.show > *:nth-child(3) { transition-delay: .24s; }
.live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid rgba(195,164,107,.5); font-size: 10px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.stage.is-paused .live::before { animation: none; }
.stage-ui { position: absolute; right: 40px; bottom: 56px; z-index: 5; display: flex; align-items: center; gap: 18px; }
.counter { font-family: var(--serif); font-size: 22px; }
.counter span { color: var(--muted); }
.arrow { width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; background: rgba(15,15,14,.4); backdrop-filter: blur(6px); transition: all .35s var(--ease); }
.arrow:hover { border-color: var(--gold); color: var(--gold-2); transform: scale(1.06); }
.arrow svg { width: 18px; height: 18px; }
.progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; z-index: 5; background: rgba(244,239,230,.1); }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 12px; }
.thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; opacity: .45; transition: opacity .4s var(--ease); }
.thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.thumb:hover { opacity: .8; } .thumb:hover img { transform: scale(1.08); }
.thumb.active { opacity: 1; outline: 1px solid var(--gold); outline-offset: -1px; }
.thumb .play { position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(15,15,14,.7); display: grid; place-items: center; }
.thumb .play svg { width: 9px; height: 9px; fill: var(--gold-2); }

/* Gallery: mosaic */
.mosaic-head { display: flex; justify-content: space-between; align-items: end; margin: 110px 0 32px; gap: 20px; flex-wrap: wrap; }
.mosaic-head h3 { font-size: clamp(30px, 3.6vw, 46px); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink-2); }
.tile.w2 { grid-column: span 2; } .tile.h2 { grid-row: span 2; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.tile:hover img { transform: scale(1.07); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,15,14,.75), transparent 50%); opacity: .7; transition: opacity .5s; }
.tile:hover::after { opacity: 1; }
.tile figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 2; display: flex; justify-content: space-between; align-items: end; transform: translateY(8px); transition: transform .5s var(--ease); }
.tile:hover figcaption { transform: none; }
.tile figcaption b { font-family: var(--serif); font-weight: 400; font-size: 22px; display: block; }
.tile figcaption small { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.tile .badge-v { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 10px; background: rgba(15,15,14,.65); backdrop-filter: blur(6px); }
.tile.reveal { transition-delay: calc(var(--d, 0) * 70ms); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 150; background: rgba(8,8,7,.96); display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s var(--ease), visibility 0s .5s; }
.lb.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .5s var(--ease), visibility 0s 0s; }
.lb-stage { position: relative; display: grid; place-items: center; padding: 70px 90px 20px; overflow: hidden; }
.lb-media { max-width: 100%; max-height: 100%; display: grid; place-items: center; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.lb-media.out { opacity: 0; transform: scale(.96); }
.lb-media.out.l { transform: translateX(-60px); } .lb-media.out.r { transform: translateX(60px); }
.lb-media img, .lb-media video { max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb .arrow { position: absolute; top: 50%; transform: translateY(-50%); }
.lb .arrow:hover { transform: translateY(-50%) scale(1.06); }
.lb .prev { left: 24px; } .lb .next { right: 24px; }
.lb .close { top: 22px; right: 24px; z-index: 2; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px 28px; gap: 20px; }
.lb-bar b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.lb-bar span { color: var(--muted); font-size: 13px; letter-spacing: .1em; }

/* Feature */
.feature { background: var(--cream); color: var(--ink); }
.feature .split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.feature .eyebrow { color: var(--gold-ink); }
.feature em { color: #8a6d3b; }
.feature h2 { font-size: clamp(38px, 5vw, 64px); margin: 16px 0 24px; }
.feature p { color: #4b463d; max-width: 46ch; }
.feature-img { position: relative; }
.feature-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.feature-img .badge { position: absolute; left: 16px; bottom: 40px; background: var(--ink); color: var(--cream); padding: 24px 28px; }
.feature-img .badge strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 400; color: var(--gold-2); }
.feature-img .badge span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.feature ul { list-style: none; margin: 34px 0 40px; display: grid; gap: 14px; }
.feature li { display: flex; gap: 14px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(15,15,14,.12); }
.feature li span { font-family: var(--serif); color: var(--gold-ink); font-size: 18px; min-width: 28px; }
.feature .btn.ghost { color: var(--ink); border-color: rgba(15,15,14,.3); }
.feature .btn.ghost:hover, .feature .btn.ghost:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--cream); }

@media (min-width: 1305px) { .feature-img .badge { left: -32px; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 44px 40px 20px 0; }
.step + .step { padding-left: 40px; border-left: 1px solid var(--line); }
.step .num { font-family: var(--serif); font-size: 64px; color: var(--gold); line-height: 1; }
.step h3 { font-size: 30px; margin: 20px 0 12px; }
.step p { color: var(--muted); }

/* Calculator */
.calc { background: var(--ink-2); border-block: 1px solid var(--line); }
.calc .split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.calc h2 { font-size: clamp(38px, 5vw, 60px); margin: 14px 0 20px; }
.calc p { color: var(--muted); max-width: 40ch; }
.calc-box { border: 1px solid var(--line); padding: 40px; background: var(--ink); }
.field { margin-bottom: 26px; }
.field-top { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field-top output { color: var(--cream); letter-spacing: .04em; font-size: 14px; }
input[type=range] { width: 100%; appearance: none; height: 2px; background: var(--line); outline: none; }
input[type=range]::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--ink); box-shadow: 0 0 0 1px var(--gold); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); cursor: pointer; border: 3px solid var(--ink); }
.calc-result { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
.calc-result span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.disclaimer { margin-top: 18px; font-size: 12px; line-height: 1.55; color: var(--muted); max-width: none; }
.calc-result strong { font-family: var(--serif); font-size: 52px; font-weight: 400; color: var(--gold-2); line-height: 1; }

/* Quote */
.quote { text-align: center; }
.quote blockquote { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); line-height: 1.2; max-width: 22ch; margin: 0 auto 24px; font-style: italic; text-indent: -.35em; }
.quote cite { font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* CTA */
.cta { position: relative; padding: 160px 0; text-align: center; overflow: hidden; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(15,15,14,.72); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(42px, 6vw, 84px); margin: 18px auto 26px; max-width: 14ch; }
.cta p { color: var(--cream-2); max-width: 46ch; margin: 0 auto 40px; }
.cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { padding: 70px 0 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot p, .foot a { color: var(--muted); font-size: 14px; }
.foot h4 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a:hover { color: var(--gold-2); }
.legal { margin-top: 48px; display: grid; gap: 8px; max-width: 90ch; font-size: 12px; line-height: 1.6; color: var(--muted); }
.credit { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); letter-spacing: .06em; flex-wrap: wrap; gap: 10px; }
.credit a { color: var(--gold); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8,8,7,.82); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s var(--ease), visibility 0s .4s; }
.modal.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .4s var(--ease), visibility 0s 0s; }
.modal-card { width: min(1080px, 100%); max-height: 90vh; overflow: auto; background: var(--ink-2); border: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr; transform: translateY(24px); transition: transform .5s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-card > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.modal-body { padding: 44px 40px; position: relative; }
.close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; line-height: 1; }
.close:hover { border-color: var(--gold); }
.modal-body h3 { font-size: 40px; margin: 12px 0 4px; }
.modal-body .price { font-family: var(--serif); font-size: 36px; color: var(--gold-2); margin: 18px 0; }
.modal-body .desc { color: var(--cream-2); opacity: .85; margin-bottom: 26px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 28px; }
.stat-row div { padding: 14px; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat-row div + div { border-left: 1px solid var(--line); }
.stat-row b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--cream); letter-spacing: 0; text-transform: none; }
.tour-form { display: grid; gap: 10px; }
.tour-form input { background: transparent; border: 1px solid var(--line); padding: 14px 16px; color: var(--cream); font: 400 14px var(--sans); outline: none; }
.tour-form input:focus { border-color: var(--gold); }
.tour-form label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.form-note { font-size: 12px; color: var(--muted); }
.sold-note { padding: 14px 16px; border: 1px solid var(--line); color: var(--cream-2); font-size: 14px; }
.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 30px); background: var(--cream); color: var(--ink); padding: 14px 26px; font-size: 14px; opacity: 0; transition: all .4s var(--ease); z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } .hero-bg video { transform: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .search { grid-template-columns: 1fr 1fr; }
  .search label:nth-child(2n) { border-right: 0; }
  .search label { border-bottom: 1px solid var(--line); }
  .search .btn { grid-column: 1/-1; justify-content: center; padding: 18px; }
  .feature .split, .calc .split { grid-template-columns: 1fr; gap: 56px; }
  .feature-img .badge { left: 16px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .modal-card { grid-template-columns: 1fr; }
  .modal-card > img, .modal-card > video { min-height: 260px; max-height: 340px; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav ul { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line); }
  .nav ul.open { display: flex; max-height: calc(100svh - 76px); overflow-y: auto; }
  .nav ul li a { display: block; padding: 18px 16px; border-top: 1px solid var(--line); }
  .nav .btn { display: none; }
  .menu-btn { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 14px 0 14px 16px; min-height: 44px; }
  section { padding: 90px 0; }
  .grid, .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 36px 0 10px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); }
  .search { grid-template-columns: 1fr; }
  .search label { border-right: 0; }
  .hero-meta { gap: 28px; flex-wrap: wrap; }
  .hero-meta div strong { font-size: 32px; }
  .check { margin-left: 0; }
  .result-count { margin-left: 0; width: 100%; }
  /* Phones: a still, portrait-friendly photo instead of the hero film (CSS background, so desktops never fetch it) */
  .hero-bg { background: var(--ink) image-set(url("../assets/images/photo-1622396481322-3b83d186701b-800.jpg") 1x, url("../assets/images/photo-1622396481322-3b83d186701b.jpg") 2x) center / cover no-repeat; }
  #heroVideo, .hero-toggle { display: none; }
  .calc-box { padding: 28px 22px; }
  .calc-result strong { font-size: 40px; }
  .modal { padding: 0; }
  .modal-card { max-height: 100vh; max-height: 100dvh; height: 100%; }
  .modal-body { padding: 36px 22px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row div:nth-child(3) { border-left: 0; }
  .stat-row div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr; }
  .stage { aspect-ratio: auto; height: 78vh; min-height: 460px; }
  .stage-caption { left: 20px; right: 20px; bottom: 110px; max-width: none; }
  .stage-ui { left: 20px; right: 20px; bottom: 28px; justify-content: space-between; }
  .stage::after { background: linear-gradient(0deg, rgba(15,15,14,.92) 10%, rgba(15,15,14,.1) 70%); }
  .thumbs { grid-template-columns: repeat(6, 72px); overflow-x: auto; scrollbar-width: none; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; }
  .tile.w2.h2 { grid-row: span 2; }
  .tile figcaption b { font-size: 17px; }
  .lb-stage { padding: 70px 12px 12px; }
  .lb .arrow { position: fixed; top: auto; bottom: 22px; transform: none; width: 44px; height: 44px; z-index: 2; }
  .lb .prev { left: 16px; } .lb .next { right: 16px; }
  .lb .arrow:hover { transform: none; }
  .lb-media img, .lb-media video { max-height: calc(100dvh - 200px); }
  .lb-bar { padding: 18px 76px 24px; flex-direction: column; text-align: center; gap: 4px; }
}
