:root {
  --ink: #0b0a09;
  --cream: #f4efe7;
  --muted: rgba(244, 239, 231, 0.66);
  --line: rgba(244, 239, 231, 0.16);
  --gold: #d4a574;
  --green: #0f4c3a;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, sans-serif;
  --pad: clamp(16px, 3vw, 40px);
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-snap-type: y proximity; }
body { margin: 0; color: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
.vignette { position: fixed; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11,10,9,.55) 0, rgba(11,10,9,0) 16%),
    linear-gradient(to top, rgba(11,10,9,.72) 0, rgba(11,10,9,0) 38%); }

/* the scroll track: one viewport-tall section per stop */
#stops section { height: 100vh; height: 100svh; scroll-snap-align: start; }
#stops h2, #stops p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 18px var(--pad); }
.brand img { height: 30px; width: auto; display: block; }
.links { margin-left: auto; display: flex; gap: 28px; font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.links button { color: inherit; letter-spacing: inherit; }
.links button:hover { color: var(--cream); }
.menu-btn { display: none; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-left: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 2px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s; white-space: nowrap; }
.btn.small { padding: 10px 18px; font-size: 12px; }
.btn.gold { background: var(--gold); color: #1c140b; }
.btn.gold:hover { background: #e2b98c; }
.btn.ghost { border: 1px solid rgba(244,239,231,.45); color: var(--cream); backdrop-filter: blur(6px); background: rgba(11,10,9,.25); }
.btn.ghost:hover { border-color: var(--cream); background: rgba(244,239,231,.1); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.eyebrow { margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

/* entrance */
.hero { position: fixed; z-index: 10; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); padding: 0 var(--pad); text-align: center; transition: opacity .6s, transform .6s; }
.hero h1 { margin: 0 0 28px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.hero h1 em { font-style: italic; color: #f0dcc2; }
.trust { margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.trust b { color: var(--gold); font-weight: 400; margin: 0 .5em; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero.off, .finale.off { opacity: 0; transform: translateY(18px); pointer-events: none; }

/* stop caption */
.card { position: fixed; z-index: 10; left: var(--pad); bottom: clamp(28px, 6vh, 64px); width: min(430px, calc(100vw - 2 * var(--pad))); padding: 26px 28px 24px; background: rgba(14, 12, 11, .62); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--line); border-radius: 3px; transition: opacity .45s, transform .45s; }
.card.off { opacity: 0; transform: translateY(14px); pointer-events: none; }
.card h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; }
.card .body { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.card .meta { margin: 14px 0 0; font-size: 12px; letter-spacing: .08em; color: rgba(244,239,231,.5); }
.card .meta:empty, .chips:empty, .actions:empty { display: none; }
.chips { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; width: 74px; height: 74px; border-radius: 2px; overflow: hidden; border: 1px solid var(--line); padding: 0; position: relative; }
.chips img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.chips button:hover img { transform: scale(1.08); }
.chips .play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 4px rgba(0,0,0,.7)); }
.actions { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.actions a, .actions button { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 0 0 5px; border-bottom: 1px solid var(--gold); color: var(--cream); }
.actions button.quiet { border-color: var(--line); color: var(--muted); }

.finale { position: fixed; z-index: 10; left: 0; right: 0; bottom: clamp(40px, 8vh, 96px); padding: 0 var(--pad); text-align: center; transition: opacity .6s, transform .6s; }
.finale h2 { margin: 0 0 12px; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; }
.finale p:not(.eyebrow) { margin: 0 auto 26px; max-width: 30em; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* room rail */
.rail { position: fixed; z-index: 15; right: var(--pad); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.rail button { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(244,239,231,.6); text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); transition: color .3s; }
.rail button::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s; }
.rail button:hover { color: var(--cream); }
.rail button.on { color: var(--gold); }
.rail button.on::after { width: 38px; }
.progress { position: fixed; z-index: 21; left: 0; right: 0; top: 0; height: 2px; background: transparent; }
.progress i { display: block; height: 100%; width: 0; background: var(--gold); }

.hint { position: fixed; z-index: 10; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; transition: opacity .5s; }
.hint span { width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); animation: drop 1.8s ease-in-out infinite; }
.hint.off { opacity: 0; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* drawing card + lightbox */
.x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; font-size: 26px; line-height: 1; color: var(--cream); z-index: 2; }
.drawing { position: fixed; z-index: 30; right: var(--pad); bottom: clamp(28px, 6vh, 64px); width: min(560px, 44vw); background: #f7f4ee; border-radius: 3px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.drawing[hidden], .lightbox[hidden] { display: none; }
.drawing img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.drawing .x { color: #1a1a1a; }
.tabs { display: flex; gap: 20px; padding: 14px 18px 12px; }
.tabs button { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a8378; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.tabs button.on { color: #1a1a1a; border-color: #1a1a1a; }
.lightbox { position: fixed; inset: 0; z-index: 45; background: rgba(8,7,6,.94); display: grid; place-items: center; padding: 56px var(--pad) 28px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox img, .lightbox video { max-width: min(1400px, 100%); max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); display: block; border-radius: 2px; }
.lightbox figcaption { font-family: var(--serif); font-size: 1.5rem; }

.loader { position: fixed; inset: 0; z-index: 50; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transition: opacity .9s ease .2s, visibility 0s linear 1.1s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader img { height: 38px; }
.loader .track { width: min(240px, 60vw); height: 1px; background: var(--line); }
.loader .track i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s; }
.loader p { margin: 0; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* lighting control */
.lights { position: fixed; z-index: 16; right: var(--pad); bottom: clamp(28px, 6vh, 64px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.lights > button { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--line); border-radius: 2px; background: rgba(14,12,11,.6); backdrop-filter: blur(12px); }
.lights > button::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); margin-right: 10px; }
.lights .sliders { display: none; order: -1; width: 240px; padding: 16px 18px; background: rgba(14,12,11,.72); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 3px; }
.lights.open .sliders { display: block; }
.lights label { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lights label + label { margin-top: 14px; }
.lights output { float: right; color: var(--cream); letter-spacing: .04em; }
.lights input { display: block; width: 100%; margin-top: 8px; accent-color: var(--gold); }

/* quote form */
.quote { display: grid; gap: 16px; margin-top: 8px; }
.quote label { display: grid; gap: 7px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.quote .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote input, .quote select, .quote textarea { width: 100%; padding: 13px 14px; font: 400 15px var(--sans); letter-spacing: 0; text-transform: none; color: var(--cream); background: rgba(244,239,231,.05); border: 1px solid var(--line); border-radius: 2px; transition: border-color .2s, background .2s; }
.quote select option { color: #1a1a1a; }
.quote textarea { resize: vertical; min-height: 96px; }
.quote input:focus, .quote select:focus, .quote textarea:focus { outline: none; border-color: var(--gold); background: rgba(244,239,231,.08); }
.quote ::placeholder { color: rgba(244,239,231,.35); }
.quote .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.quote .files { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 12px; color: rgba(244,239,231,.5); }
.quote .pick { padding: 10px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px dashed rgba(244,239,231,.4); border-radius: 2px; }
.quote .pick:hover { border-color: var(--gold); color: var(--gold); }
.quote ul { flex-basis: 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.quote li { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 13px; color: var(--cream); background: rgba(244,239,231,.05); border-radius: 2px; }
.quote li button { font-size: 18px; line-height: 1; color: var(--muted); }
.quote .form-msg { margin: 0; min-height: 1.2em; font-size: 13px; color: #f0a48c; }
.quote .btn { justify-self: start; }
.quote .btn[disabled] { opacity: .6; cursor: default; }
.quote .alt { margin: 4px 0 0; font-size: 13px; }
.quote .alt a, .panel p a { color: var(--cream); border-bottom: 1px solid var(--line); }

.res { padding: 18px 0 8px; border-top: 1px solid var(--line); }
.res h3 { margin: 0 0 8px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.res h3::after { content: ""; display: block; width: 28px; height: 1px; margin-top: 10px; background: var(--gold); }
.res span[data-soon] { display: block; padding: 9px 0; font-size: 15px; color: rgba(244,239,231,.45); }
.res a { display: block; padding: 9px 0; font-size: 15px; color: var(--cream); }
.res a:hover, .svc h3 a:hover { color: var(--gold); }
.svc h3 a { color: inherit; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px !important; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px !important; }
.foot-links a { color: var(--muted) !important; border: 0 !important; }
.foot-links a:hover { color: var(--cream) !important; }

/* site panels */
.panel-wrap { position: fixed; inset: 0; z-index: 35; }
.panel-wrap[hidden] { display: none; }
.shade { position: absolute; inset: 0; background: rgba(8,7,6,.5); opacity: 0; transition: opacity .35s; }
.panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(680px, 100vw); background: rgba(16,14,12,.9); backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.panel-wrap.open .shade { opacity: 1; }
.panel-wrap.open .panel { transform: none; }
.panel-body { height: 100%; overflow-y: auto; padding: 64px clamp(20px, 4vw, 48px) 48px; }
.panel h2 { margin: 0 0 22px; font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; }
.panel h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.panel p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.panel .eyebrow { color: var(--gold); font-size: 11px; }
.svc { list-style: none; margin: 0 0 30px; padding: 0; }
.svc li { padding: 18px 0; border-top: 1px solid var(--line); }
.svc li p { margin: 0; }
.style { padding: 22px 0 6px; border-top: 1px solid var(--line); }
.sw { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 14px 0 8px; }
.sw figure { margin: 0; }
.sw img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: 2px; }
.sw figcaption { margin-top: 6px; font-size: 11px; line-height: 1.3; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: 2.2rem; color: var(--gold); }
.stats span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact p { margin: 0 0 6px; }
.contact a { color: var(--cream); border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filters button { padding: 8px 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); }
.filters button.on { background: var(--gold); border-color: var(--gold); color: #1c140b; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.grid button { position: relative; padding: 0; text-align: left; overflow: hidden; border-radius: 2px; }
.grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .5s; }
.grid button:hover img { transform: scale(1.05); }
.grid span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 9px; font-size: 12px; line-height: 1.3; background: linear-gradient(transparent, rgba(8,7,6,.88)); }
.grid .play::after { content: ""; position: absolute; top: 12px; right: 12px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; filter: drop-shadow(0 1px 4px rgba(0,0,0,.7)); }
.menu-list { display: flex; flex-direction: column; }
.menu-list button { padding: 18px 0; text-align: left; font-family: var(--serif); font-size: 2rem; border-top: 1px solid var(--line); }
.lightbox figcaption { text-align: center; }
.lightbox figcaption small { display: block; max-width: 46em; margin-top: 8px; font-family: var(--sans); font-size: 14px; line-height: 1.55; color: var(--muted); }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .bar .btn { margin-left: 0; }
  .bar .btn.small { padding: 9px 11px; font-size: 10.5px; letter-spacing: .04em; }
  .menu-btn { font-size: 11px; letter-spacing: .12em; }
  .lights { top: 64px; bottom: auto; right: 12px; flex-direction: column-reverse; }
  .lights .sliders { order: 0; width: min(240px, calc(100vw - 24px)); }
  .sw { grid-template-columns: repeat(3, 1fr); }
  .quote .two { grid-template-columns: 1fr; }
  .quote .btn { justify-self: stretch; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .links { display: none; }
  .bar { gap: 12px; padding: 14px var(--pad); }
  .bar .btn { margin-left: auto; }
  .brand img { height: 24px; }
  .rail { top: auto; bottom: 0; right: 0; left: 0; transform: none; flex-direction: row; gap: 0; align-items: stretch; overflow-x: auto; scrollbar-width: none; padding: 0 8px calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(11,10,9,.9), rgba(11,10,9,0)); }
  .rail::-webkit-scrollbar { display: none; }
  .rail button { flex: none; padding: 14px 10px 8px; font-size: 10px; letter-spacing: .16em; gap: 0; flex-direction: column-reverse; align-items: center; }
  .rail button::after { width: 0; height: 1px; margin-bottom: 6px; }
  .rail button.on::after { width: 22px; }
  .card { left: 12px; right: 12px; width: auto; bottom: calc(58px + env(safe-area-inset-bottom)); padding: 18px 18px 16px; }
  .card .body { font-size: 14px; line-height: 1.5; }
  .chips button { width: 62px; height: 62px; }
  .hero, .finale { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .hero h1 { margin-bottom: 20px; }
  .trust { font-size: 10px; letter-spacing: .12em; line-height: 1.9; }
  .cta-row .btn { flex: 1 1 100%; }
  .hint { display: none; }
  .drawing { left: 12px; right: 12px; width: auto; bottom: calc(58px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; }
  .hint span { animation: none; }
}
