/* The Hot Box — a recovery spa you walk through.
   Same shell as the other Clarity tours; the brand reads yoga-calm:
   Cormorant Garamond Light for display, whites and sand on every brand
   surface, ember kept only as a small touch over the footage.
   Spacing scale 4/8/16/24/32/48 only.
   The booking flow is built fat-finger first: primary buttons 56px and up,
   chips 56px with 16px gaps, steppers 56px, inputs 56px at 17px. */

:root {
  color-scheme: light; /* the concept is a light-theme design, locked */
  --ink: #fff7e8;
  --ink-dim: rgba(255, 243, 222, .78);
  --gold: #d99a45;
  --gold-bright: #f0bc6e;
  --panel: rgba(26, 21, 14, .92);
  --panel-line: rgba(255, 214, 150, .22);
  --serif: "Cormorant Garamond", "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .9, .26, 1);
  /* clay: the warm accent where ember used to be a large fill */
  --clay: #8f5c2a;
  --clay-bright: #a9713a;
  --sand-line: rgba(190, 168, 128, .45);
  /* the light slides */
  --paper: #faf8f3;
  --paper-ink: #26312a;
  --paper-dim: rgba(38, 49, 42, .72);
  --sage: #2e5e4e;
  --sage-dark: #214639;
  --card-line: #ddd3bd;
  --chip-line: #c9bda0;
  --amber-bg: #fdf3d7;
  --amber-line: #e3cf8f;
  --amber-ink: #6d5310;
  --danger: #b3382e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; overscroll-behavior-x: none; }
body {
  font-family: var(--sans);
  background: #171310;
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Pull-to-refresh lives on the landing only; once the tour starts, the
   browser gesture is locked so a downward drag walks the rooms instead. */
body.in-tour, body.in-tour html { overscroll-behavior-y: none; }

.stage { position: fixed; inset: 0; overflow: hidden; background: #171310; touch-action: pan-y; }
.stage::after { /* soft vignette over the whole place */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: radial-gradient(120% 90% at 50% 42%, transparent 55%, rgba(10, 6, 3, .42) 100%);
}

/* ---------- the entry room, behind the landing ---------- */
.entry-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  filter: brightness(.8) saturate(1.02);
}

/* ---------- landing: the front of the place ---------- */
.landing {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  /* Lightened toward the whites-and-sand read: a soft sand wash up top and
     only enough shade low down to keep the cream type legible. */
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(246, 232, 203, .20), transparent 60%),
    linear-gradient(180deg, rgba(30, 24, 16, .16), rgba(30, 24, 16, .28) 55%, rgba(30, 24, 16, .46));
  will-change: transform, opacity;
}
.landing-inner { max-width: 620px; text-align: center; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold-bright);
}
.place-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(62px, 12vw, 116px); line-height: 1.02; letter-spacing: .03em;
  margin: 16px 0 8px; color: #fffdf6;
  text-shadow: 0 2px 32px rgba(0, 0, 0, .45);
}
.name-glow { position: relative; display: inline-block; color: #f3cf9a; animation: ember-breathe 3.4s ease-in-out infinite; }
@keyframes ember-breathe {
  0%, 100% { text-shadow: 0 0 12px rgba(240, 188, 110, .32), 0 0 36px rgba(217, 154, 69, .18); }
  50% { text-shadow: 0 0 18px rgba(240, 188, 110, .5), 0 0 52px rgba(217, 154, 69, .28); }
}
.landing-tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(17px, 2.6vw, 21px); line-height: 1.55; color: var(--ink);
  max-width: 480px; margin: 16px auto 0;
}
.landing-facts { margin-top: 24px; font-size: 12.5px; letter-spacing: .06em; color: var(--ink-dim); line-height: 1.9; }
.landing-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.landing-note { margin-top: 24px; font-size: 12.5px; color: var(--ink-dim); }
.pull-cue {
  position: absolute; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom));
  text-align: center; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 243, 222, .45);
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans); cursor: pointer; border: none;
  transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s;
}
.btn-primary {
  min-height: 56px; padding: 16px 32px; border-radius: 999px;
  background: var(--sage); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 12px 32px rgba(20, 30, 24, .35);
}
.btn-primary:hover { background: var(--sage-dark); }
.btn-primary:active { transform: scale(.985); }
.landing .btn-primary { background: var(--clay); color: #fff8ec; box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
.landing .btn-primary:hover { background: var(--clay-bright); }
.btn-quiet {
  min-height: 56px; padding: 8px 16px; background: none; color: var(--ink-dim);
  font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px;
}
.btn-quiet:hover { color: var(--ink); }
.btn-ghost {
  min-height: 56px; padding: 14px 28px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--sage); color: var(--sage);
  font-size: 15px; font-weight: 600;
}
.btn-ghost:hover { background: rgba(46, 94, 78, .08); }
.btn-danger {
  width: 100%; min-height: 56px; margin-top: 8px; padding: 16px;
  border-radius: 16px; background: transparent; border: 1.5px solid var(--danger);
  color: var(--danger); font-size: 16px; font-weight: 600;
}
.btn-danger:hover { background: rgba(179, 56, 46, .07); }
.btn-quiet-dark {
  width: 100%; min-height: 56px; margin-top: 8px; padding: 8px 16px;
  background: none; color: var(--paper-dim); font-size: 15px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
}
.btn-quiet-dark:hover { color: var(--paper-ink); }

/* ---------- the house mark: one treatment, one corner, every screen ---------- */
.wordmark {
  position: fixed; z-index: 11; pointer-events: none;
  top: calc(14px + env(safe-area-inset-top)); left: calc(16px + env(safe-area-inset-left));
  font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .06em;
  color: rgba(255, 247, 232, .88);
  text-shadow: 0 1px 12px rgba(10, 6, 3, .65);
  transition: color .5s ease, background .5s ease, border-color .5s ease, box-shadow .5s ease;
}
.wordmark .wm-ember { color: var(--gold-bright); }
/* On the light closing slides the mark reads in ink, ember kept on Box.
   Those slides scroll, so there the mark rides on a soft frosted sand
   backing: content passing underneath stays a blur, never a collision.
   On the tour stops it stays bare, exactly as before. */
body[data-pos="5"] .wordmark, body[data-pos="6"] .wordmark {
  color: rgba(38, 49, 42, .85); text-shadow: none;
  background: rgba(250, 248, 243, .72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(190, 168, 128, .35); border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 0 6px 20px rgba(96, 78, 44, .10);
}
body[data-pos="5"] .wordmark .wm-ember, body[data-pos="6"] .wordmark .wm-ember { color: #b97a26; }

/* ---------- the track of rooms ---------- */
.track { position: absolute; inset: 0; z-index: 2; will-change: transform, opacity; }
.scene { position: absolute; top: 0; left: calc(var(--i) * 100%); width: 100%; height: 100%; overflow: hidden; }
.scene.seam-top { z-index: 3; }
.scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scene-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14, 9, 4, .18), transparent 34%, transparent 62%, rgba(14, 9, 4, .42));
}
.leg-tag {
  position: absolute; top: calc(24px + env(safe-area-inset-top)); left: 0; right: 0; pointer-events: none;
  text-align: center; font-size: 11px; font-weight: 600;
  letter-spacing: .36em; text-transform: uppercase; color: rgba(255, 243, 222, .85);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
/* The walk leans in as it plays (transform only, so drags stay honest). */
body[data-pos="0"] #v-walk { animation: walk-push 14s linear forwards; }
@keyframes walk-push { from { transform: scale(1.001); } to { transform: scale(1.07); } }
/* The red light room is a still photo: it breathes the same slow push. */
body[data-pos="3"] #v-redlight { animation: photo-push 16s ease forwards; }
@keyframes photo-push { from { transform: scale(1.001); } to { transform: scale(1.06); } }

/* ---------- story plaque (the walk-in screen: the line, presented) ---------- */
.plaque {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(8px);
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 6; width: min(430px, calc(100vw - 48px));
  /* Whites and sand: a soft translucent paper ground with ink text
     (#35322a on the sand ground holds well past 4.5:1). */
  background: rgba(250, 247, 240, .88); backdrop-filter: blur(8px);
  border: 1px solid var(--sand-line); border-radius: 16px;
  padding: 16px 24px; text-align: center;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.plaque p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; line-height: 1.55; color: #35322a; }
.plaque.on { opacity: 1; transform: translateX(-50%) translateY(0); }
/* Once the door surfaces the plaque recedes: half presence and a breath
   smaller, eased slowly, so the eye moves to the entrance while the
   words stay readable behind it. A hierarchy shift, not a disappearance. */
.plaque.dim {
  opacity: .52; transform: translateX(-50%) translateY(0) scale(.99);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* ---------- the door into the sauna (surfaces once the line is read) ----------
   Delicate on purpose: this one control does not wear the fat-finger look.
   No fill, no pill, no border: a letterspaced italic serif invitation in
   warm cream over the threshold scene, a single hairline that draws in
   beneath the words, and a slow, soft arrival. The hit area is padded out
   to roughly 48px tall, so it still taps easily while the visual stays
   quiet. */
.enter-btn {
  position: fixed; left: 50%; z-index: 6;
  bottom: calc(228px + env(safe-area-inset-bottom));
  background: none; border: none; border-radius: 0; box-shadow: none;
  padding: 10px 32px 11px;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 22px; letter-spacing: .07em; line-height: 1.2; white-space: nowrap;
  color: #fff7e8;
  text-shadow: 0 1px 14px rgba(10, 6, 3, .65);
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 1.4s ease, transform 1.4s ease, color .4s ease;
}
.enter-btn::after {
  /* the hairline: spans the words and draws in as the invitation surfaces */
  content: ""; position: absolute; left: 32px; right: 32px; bottom: 7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 243, 222, .85) 18%, rgba(255, 243, 222, .85) 82%, transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 1.6s ease .35s;
}
.enter-btn:hover { color: #fffdf6; }
.enter-btn.on {
  opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto;
  animation: enter-breathe 5.5s ease-in-out 1.6s infinite;
}
.enter-btn.on::after { transform: scaleX(1); }
@keyframes enter-breathe {
  0%, 100% { text-shadow: 0 1px 14px rgba(10, 6, 3, .65), 0 0 16px rgba(240, 188, 110, 0); }
  50% { text-shadow: 0 1px 14px rgba(10, 6, 3, .65), 0 0 26px rgba(240, 188, 110, .38); }
}

/* ---------- hotspot ---------- */
.hotspot {
  position: absolute; z-index: 8; width: 120px; height: 120px;
  margin: -60px 0 0 -60px; background: none; border: none; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .45s var(--ease);
}
.hotspot.armed { opacity: 1; pointer-events: auto; }
.hs-core {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px;
  margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 5px rgba(240, 188, 110, .3), 0 2px 14px rgba(0, 0, 0, .55);
}
.hs-ring {
  position: absolute; left: 50%; top: 50%; width: 16px; height: 16px;
  margin: -8px 0 0 -8px; border-radius: 50%;
  border: 1.5px solid rgba(240, 188, 110, .75);
  animation: hs-swell 2.2s ease-out infinite;
}
.hs-ring.r2 { animation-delay: 1.1s; }
@keyframes hs-swell {
  0% { transform: scale(1); opacity: .85; }
  70% { transform: scale(3); opacity: 0; }
  100% { transform: scale(3); opacity: 0; }
}
.hs-label {
  position: absolute; left: 50%; top: calc(50% + 24px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  white-space: nowrap; text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
}
.hs-eyebrow { font-size: 9.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 243, 222, .85); }
.hs-title { font-family: var(--serif); font-style: italic; font-size: 17px; color: #fff6e3; }

/* ---------- progress chrome ---------- */
.progress {
  position: absolute; z-index: 7; left: 0; right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex; justify-content: center; align-items: flex-start; gap: 4px;
  padding: 0 16px;
}
.pstop {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 8px 6px 2px;
  background: none; border: none; cursor: pointer; color: var(--ink-dim);
}
.pdot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid rgba(255, 243, 222, .65); background: transparent;
  transition: background .3s, border-color .3s, transform .3s;
}
.pstop.done .pdot { background: rgba(255, 243, 222, .45); }
.pstop.now { color: #fff6e3; }
.pstop.now .pdot { background: var(--gold-bright); border-color: var(--gold-bright); transform: scale(1.3); }
.plabel { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hint {
  position: absolute; z-index: 7; left: 0; right: 0;
  bottom: calc(74px + env(safe-area-inset-bottom));
  text-align: center; font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 243, 222, .85); text-shadow: 0 1px 10px rgba(0, 0, 0, .7);
  transition: opacity .34s ease;
}
.hint.cue-bye { opacity: 0; }

/* ---------- memberships + booking slides (light) ---------- */
.rates, .booking {
  /* Above the tour chrome: these slides are full pages with their own way
     back, and the booking bar sticks to the bottom in thumb reach, where
     the progress dots would otherwise sit on top of it. */
  position: absolute; inset: 0; z-index: 8; overflow-y: auto; overflow-x: hidden;
  /* Softened to sit with the rooms it follows, now in whites and sand:
     a faint sand wash up top over paper white settling into pale sand.
     Same facts, same sizes; only the light changed. */
  background:
    radial-gradient(130% 85% at 50% -12%, rgba(233, 220, 192, .55) 0%, transparent 55%),
    linear-gradient(180deg, #faf8f3, #f5efe1 55%, #f0e7d3);
  color: var(--paper-ink);
  will-change: transform; scrollbar-width: none;
}
/* The closing slides arrive in the tour's fade language, not as a snap:
   they settle in from a quarter-visible while the slide carries them. */
@keyframes slide-settle { from { opacity: .25; } to { opacity: 1; } }
body[data-pos="5"] .rates, body[data-pos="6"] .booking { animation: slide-settle .85s ease both; }
.rates::-webkit-scrollbar, .booking::-webkit-scrollbar { display: none; }
/* Top padding clears the frosted wordmark pill, so a slide's first line
   never starts underneath it; mid-scroll the pill just floats over. */
.rates-inner, .booking-inner { max-width: 880px; margin: 0 auto; padding: 76px 24px 64px; }
.rates .eyebrow, .booking .eyebrow { color: var(--sage); }
.rates-head {
  font-family: var(--serif); font-weight: 400; letter-spacing: .015em;
  font-size: clamp(30px, 5vw, 44px); line-height: 1.18; margin-top: 16px;
}
.rates-sub { margin-top: 16px; font-size: 15.5px; line-height: 1.65; color: var(--paper-dim); max-width: 620px; }
.rates-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.rate-col {
  background: #fffefa; border-radius: 16px; padding: 24px;
  box-shadow: 0 14px 34px rgba(96, 78, 44, .10);
  display: flex; flex-direction: column;
}
.rate-col h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.rate-price { font-family: var(--serif); font-size: 38px; margin-top: 8px; color: var(--sage-dark); }
.rate-per { font-size: 15px; color: var(--paper-dim); }
.rate-was { margin-top: 4px; font-size: 13.5px; color: var(--danger); text-decoration: line-through; }
.rate-line { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--paper-dim); flex: 1; }
.btn-join { margin-top: 24px; width: 100%; }
.rates-h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-top: 48px; }
.rates-info { margin-top: 16px; border-top: 1px solid var(--card-line); }
.info-row {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--card-line);
  font-size: 14.5px; line-height: 1.6;
}
.info-k { font-weight: 700; letter-spacing: .04em; }
.info-v { color: var(--paper-dim); }
.rates-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rates-foot .btn-ghost { box-shadow: none; }

/* ---------- FAQ: plain questions, divider rows like Good to know ---------- */
.faq { margin-top: 16px; border-top: 1px solid var(--card-line); }
.faq-item { border-bottom: 1px solid var(--card-line); }
.faq-item summary {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 0; cursor: pointer; list-style: none;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--paper-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; width: 32px; text-align: center;
  font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--sage);
}
.faq-item[open ] summary::after { content: "–"; }
.faq-a { padding: 0 0 24px; font-size: 15px; line-height: 1.65; color: var(--paper-dim); max-width: 620px; }

/* ---------- booking panel (fat-finger first) ---------- */
.book-panel {
  margin-top: 32px; background: #fffefa; border-radius: 16px;
  padding: 32px; box-shadow: 0 18px 44px rgba(96, 78, 44, .11);
}
.field { margin-bottom: 32px; }
.field-label {
  display: block; font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sage-dark);
  margin-bottom: 16px;
}
.chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip {
  min-height: 56px; padding: 14px 24px; border-radius: 999px;
  border: 2px solid var(--chip-line); background: #fffaf0;
  font-family: var(--sans); font-size: 16.5px; font-weight: 600; color: var(--paper-ink);
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--sage); }
.chip.sel { background: var(--sage); border-color: var(--sage); color: #fff; }
.chip.sel::before { content: "✓ "; font-weight: 700; }
.chip:disabled { opacity: .45; cursor: default; text-decoration: line-through; }
.chip:disabled:hover { border-color: var(--chip-line); }
.stepper { display: flex; align-items: center; gap: 24px; }
.step-btn {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--sage); background: #fffaf0; color: var(--sage-dark);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.step-btn:active { background: rgba(46, 94, 78, .1); }
.step-val { font-family: var(--serif); font-size: 20px; min-width: 96px; text-align: center; }
.book-input {
  width: 100%; height: 56px; padding: 0 16px;
  border: 2px solid var(--chip-line); border-radius: 12px;
  background: #fffaf0; color: var(--paper-ink);
  font-family: var(--sans); font-size: 17px;
}
.book-input::placeholder { color: rgba(38, 49, 42, .42); }
.book-input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(46, 94, 78, .18); }
.form-nudge {
  margin-bottom: 24px; padding: 16px;
  background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 12px;
  color: var(--amber-ink); font-size: 15px; font-weight: 600; line-height: 1.5;
}
/* The confirm rides a sticky bar in thumb reach while the form scrolls. */
.book-bar {
  position: sticky; bottom: 0; margin: 8px -32px -32px; padding: 16px 32px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 254, 250, 0), #fffefa 38%);
}
.btn-confirm { width: 100%; min-height: 64px; font-size: 17px; border-radius: 16px; }
.btn-change { margin-top: 16px; }
.join-facts { margin-top: 0; }

/* ---------- done / manage panels ---------- */
.done-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; margin-bottom: 24px;
}
.gone-mark { background: #8a8378; }
.done-head { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: .015em; margin-bottom: 16px; }
.done-facts { margin-bottom: 24px; }
.done-facts > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px;
  padding: 8px 0; border-bottom: 1px solid var(--card-line); font-size: 15.5px;
}
.done-facts dt { font-weight: 700; }
.done-facts dd { color: var(--paper-dim); }
.done-loop { font-size: 15px; line-height: 1.65; color: var(--paper-dim); margin-bottom: 24px; }
.book-done .btn-primary { width: 100%; border-radius: 16px; }

/* ---------- cards ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 9; background: rgba(10, 7, 3, .5);
  backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s;
}
.scrim.on { opacity: 1; }
.card {
  position: fixed; z-index: 10; color: var(--paper-ink);
  /* The fallback ground: near-opaque paper, what a browser with no
     backdrop-filter gets, so the card never renders as clear glass. */
  background: rgba(252, 250, 245, .96); border: 1px solid var(--sand-line); border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  padding: 32px; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
/* Liquid glass where the browser can blur: a translucent white tint over
   the room, the sand hairline kept, and the inset top highlight above
   gives the card its lit glass lip. Frosted glass is a spa material;
   the card reads as part of the room instead of paper pasted over it. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card {
    background: rgba(252, 250, 245, .62);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    backdrop-filter: blur(16px) saturate(1.15);
  }
}
.card.on { opacity: 1; pointer-events: auto; }
.card-x {
  position: absolute; top: 8px; right: 8px; width: 48px; height: 48px;
  background: none; border: none; color: var(--paper-dim);
  font-size: 26px; line-height: 1; cursor: pointer;
}
.card-x:hover { color: var(--paper-ink); }
.card-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .36em; text-transform: uppercase; color: #8a5a24; }
.card-h { font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: .02em; margin: 8px 0 16px; }
.story-lines p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 18px; line-height: 1.6; color: var(--paper-ink); margin-bottom: 16px; }
.story-lines p:last-child { margin-bottom: 0; }
.btn-card {
  margin-top: 24px; width: 100%; min-height: 56px; padding: 16px;
  border-radius: 999px; background: var(--sage); color: #fff;
  font-size: 16px; font-weight: 700;
}
.btn-card:hover { background: var(--sage-dark); }

/* desktop: card is a panel beside the hotspot side */
@media (min-width: 761px) {
  .card { top: 50%; right: 48px; width: 400px; transform: translateY(-50%) translateX(16px); }
  .card.on { transform: translateY(-50%) translateX(0); }
}
/* phone: card is a bottom sheet; the tour chrome yields space to it */
@media (max-width: 760px) {
  .card {
    left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom));
    max-height: 62vh; overflow-y: auto; scrollbar-width: none;
    transform: translateY(16px); padding: 24px;
  }
  .card::-webkit-scrollbar { display: none; }
  .card.on { transform: translateY(0); }
  .plaque { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .enter-btn { bottom: calc(262px + env(safe-area-inset-bottom)); }
  .rates-inner, .booking-inner { padding: 64px 16px 48px; }
  .rates-cols { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .done-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .book-panel { padding: 24px 16px; }
  .book-bar { margin: 8px -16px -24px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .plabel { display: none; }
  .pstop.now .plabel { display: block; }
  .landing-facts { font-size: 11.5px; }
  /* On a phone the centered leg tag runs the full width and would strike
     through the corner wordmark; it drops one line to clear it. */
  .leg-tag { top: calc(56px + env(safe-area-inset-top)); }
}

/* ---------- reduced motion: quick crossfades, posters held ---------- */
@media (prefers-reduced-motion: reduce) {
  .hs-ring { animation: none; opacity: 0; }
  .name-glow { animation: none; }
  body[data-pos="0"] #v-walk, body[data-pos="3"] #v-redlight { animation: none; }
  .plaque, .card, .scrim, .hotspot, .enter-btn { transition-duration: .01s; }
  .plaque.dim { transition-duration: .01s; } /* the recede is instant, not eased */
  .enter-btn { animation: none; }
  .enter-btn::after { transition-duration: .01s; transition-delay: 0s; }
  body[data-pos="5"] .rates, body[data-pos="6"] .booking { animation: none; }
}
