/* =========================================================================
   HUTAN SPA — "Understated elegance"
   Brand: MILKBAR Studio guidelines. Clay · Linen · Ash Brown · Off White · Black.
   Moss is an accent that lives only inside imagery (shadow tint), never a fill.
   ========================================================================= */

@font-face {
  font-family: "PP Museum";
  src: url("../fonts/PPMuseum-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --clay: #9b553c;
  --linen: #d1bba4;
  --ash: #7c736a;
  --offwhite: #fffbf5;
  --black: #000;
  --moss: #172e25;

  --bg: var(--black);
  --ink-light: var(--offwhite);
  --ink-dark: var(--black);
  --muted-light: rgba(255, 251, 245, 0.62);
  --muted-dark: rgba(0, 0, 0, 0.64); /* black, softened — AA on off-white and linen */
  --rule-light: rgba(255, 251, 245, 0.18);
  --rule-dark: rgba(0, 0, 0, 0.14);

  --serif: "PP Museum", "Cormorant Garamond", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --safe-b: env(safe-area-inset-bottom, 0px);
  --section: clamp(104px, 14vw, 220px);

  --exhale: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: cubic-bezier(0.45, 0, 0.2, 1);

  --fs-hero: clamp(1.75rem, 1.05rem + 2.4vw, 3.4rem);
  --fs-xl: clamp(2.1rem, 1.2rem + 3.6vw, 5rem);
  --fs-display: clamp(2rem, 1.35rem + 2.3vw, 3.75rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-light);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 1.4s var(--ease);
  overflow-x: hidden;
  overflow-x: clip; /* clip never creates a scroll box, so sticky stages stay sticky on iOS */
}
body.is-gated { overflow: hidden; }

img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }

::selection { background: var(--clay); color: var(--offwhite); }

:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 2px; }
:is(main, main > section):focus { outline: none; }

/* moving between rooms: the one you leave dims as the new light arrives */
main > section { transition: opacity 1.4s var(--ease); }
main > section.is-away { opacity: 0.08; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--offwhite); color: var(--black);
  font-size: 13px; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- brand marks (official SVGs used as masks, so they take any approved colour) ---------- */
.mark {
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
          mask: var(--src) center / contain no-repeat;
}
.mark--icon { --src: url("../logo/icon.svg"); aspect-ratio: 160.348 / 127.154; width: 26px; }
.mark--logotype { --src: url("../logo/logotype.svg"); aspect-ratio: 737.021 / 298.725; }
.mark--lockup { --src: url("../logo/lockup.svg"); aspect-ratio: 737.021 / 548.758; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.6;
  opacity: 0.78;
  margin-bottom: 1.6rem;
}
.eyebrow em { font-family: var(--serif); font-style: normal; text-transform: none; letter-spacing: 0.02em; font-size: 1.1em; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: 1.06;
  letter-spacing: -0.012em;
  max-width: 15ch;
  text-wrap: balance;
}
.lead {
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: 1.65;
  max-width: 34ch;
  margin-top: 1.8rem;
}
.note { font-size: 0.8125rem; opacity: 0.7; margin-top: 2rem; }

/* ---------- buttons & links ---------- */
.btn {
  --b: currentColor;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.7rem;
  border: 1px solid var(--b); border-radius: 999px;
  font-size: 0.8125rem; letter-spacing: 0.06em; text-decoration: none; white-space: nowrap;
  transition: background-color 0.6s var(--exhale), color 0.6s var(--exhale), border-color 0.6s var(--exhale);
}
.btn--light { color: var(--offwhite); }
.btn--light:hover { background: var(--offwhite); color: var(--black); }
.btn--dark { color: var(--black); }
.btn--dark:hover { background: var(--black); color: var(--offwhite); }

.link {
  position: relative; display: inline-block;
  font-size: 0.8125rem; letter-spacing: 0.06em; text-decoration: none; padding: 6px 0;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform-origin: right; transition: transform 0.8s var(--exhale);
}
.link:hover::after { transform: scaleX(0); }
.link--light { color: var(--offwhite); }

/* ---------- reveals (JS adds .is-in) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.6s var(--exhale), transform 1.6s var(--exhale), filter 1.6s var(--exhale); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.w { display: inline-block; opacity: 0; transform: translateY(0.45em); filter: blur(8px);
     transition: opacity 1.5s var(--exhale), transform 1.5s var(--exhale), filter 1.5s var(--exhale);
     transition-delay: calc(var(--i) * 45ms); }
.is-in .w { opacity: 1; transform: none; filter: none; }

.reveal-img { opacity: 0; filter: blur(16px); transform: scale(1.03); transition: opacity 2.4s var(--exhale), filter 2.6s var(--exhale), transform 2.8s var(--exhale); }
.reveal-img.is-in { opacity: 1; filter: none; transform: none; }

/* ---------- diffused edges: each photo dissolves into the room it sits in ---------- */
.soft { -webkit-mask: url("../img/feather-a.png") center / 100% 100% no-repeat; mask: url("../img/feather-a.png") center / 100% 100% no-repeat; }
.soft--b { -webkit-mask-image: url("../img/feather-b.png"); mask-image: url("../img/feather-b.png"); }
.soft--c { -webkit-mask-image: url("../img/feather-c.png"); mask-image: url("../img/feather-c.png"); }

/* ---------- museum-label captions: a small hand-set note under each plate ---------- */
.cap { display: flex; align-items: baseline; gap: 0.75rem; margin-top: 0.4rem; padding-left: 8%; font-size: 0.75rem; letter-spacing: 0.03em; line-height: 1.5; opacity: 0.7; }
.cap::before { content: ""; flex: 0 0 22px; height: 1px; background: currentColor; opacity: 0.55; align-self: center; }
.cap__no { font-family: var(--serif); font-size: 0.95rem; letter-spacing: 0; }

[data-breathe] .bw { opacity: 0.14; transition: opacity 0.5s linear; }

/* ---------- film grain (texture, per brand concept) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.075;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================================
   GATE
   ========================================================================= */
.gate {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; overflow-y: auto; overscroll-behavior: contain;
  background: var(--black); color: var(--offwhite);
  transition: opacity 1.6s var(--ease), visibility 0s linear 1.6s;
}
.gate.is-gone { opacity: 0; visibility: hidden; }
.gate__inner { display: grid; justify-items: center; text-align: center; padding: var(--pad); }
.gate__icon { width: 30px; margin-bottom: 3rem; opacity: 0; animation: rise 2.2s var(--exhale) 0.2s forwards; }
.gate__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.2;
  opacity: 0; animation: rise 2.4s var(--exhale) 0.6s forwards;
}
.gate__enter {
  position: relative; width: 116px; height: 116px; margin: 3.4rem 0 1.4rem; border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; animation: rise 2.4s var(--exhale) 1.1s forwards;
}
.gate__ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 251, 245, 0.5);
  animation: breathe 10s var(--ease) infinite;
}
.gate__ring::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 251, 245, 0.12);
  animation: breathe 10s var(--ease) infinite reverse;
}
.gate__enter:hover .gate__ring { border-color: var(--offwhite); }
.gate__label { font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; }
.gate__hint { font-size: 0.75rem; opacity: 0; letter-spacing: 0.04em; animation: rise 2.4s var(--exhale) 1.4s forwards; color: var(--muted-light); }
.gate__quiet {
  margin-top: 0.9rem; font-size: 0.75rem; color: var(--muted-light); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  opacity: 0; animation: rise 2.4s var(--exhale) 1.6s forwards;
}
.gate__quiet:hover { color: var(--offwhite); }
.gate.is-loading .gate__ring { animation-duration: 2.4s; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* one breath: four seconds in, six seconds out */
@keyframes breathe { 0% { transform: scale(1); } 40% { transform: scale(1.09); } 100% { transform: scale(1); } }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; gap: 2rem;
  padding: 20px var(--pad);
  color: var(--offwhite);
  transition: color 0.9s var(--ease), opacity 1.2s var(--ease), transform 1.2s var(--exhale);
}
.nav[data-tone="dark"] { color: var(--black); }
.nav.is-sheet { color: var(--offwhite); }
body.is-gated .nav, body.in-threshold .nav { opacity: 0; transform: translateY(-12px); pointer-events: none; }
body.in-threshold .nav:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.nav__home { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -7px; }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; padding: 11px 24px; border-radius: 999px; }
.nav__links a, .nav__book { font-size: 0.8125rem; letter-spacing: 0.04em; text-decoration: none; }
.nav__links a { position: relative; opacity: 0.82; transition: opacity 0.4s; }
.nav__links a:hover { opacity: 1; }
.nav__book { border-radius: 999px; padding: 11px 20px; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav__toggle-line { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform 0.6s var(--exhale); }
.nav__toggle-line:first-child { top: 18px; }
.nav__toggle-line:nth-child(2) { top: 25px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 79; background: var(--black); color: var(--offwhite);
  display: flex; flex-direction: column; justify-content: flex-start; gap: 3rem; padding: 96px var(--pad) 48px;
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet nav { display: grid; gap: 0.6rem; margin-top: auto; }
.sheet > .btn { margin-bottom: auto; }
.sheet nav a { font-family: var(--serif); font-weight: 300; font-size: 2.3rem; line-height: 1.15; text-decoration: none; }
.sheet .btn { align-self: flex-start; }

/* =========================================================================
   0 · THRESHOLD
   ========================================================================= */
.threshold { position: relative; height: 100vh; height: 100svh; background: var(--black); overflow: hidden; }
.threshold__stage { position: absolute; inset: 0; display: grid; place-items: center; }
.threshold__video {
  height: 100vh; height: 100svh; width: calc(100svh * 9 / 16); max-width: none; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, #000 78%, transparent 100%);
          mask-composite: intersect;
}
.threshold__line {
  position: absolute; font-family: var(--serif); font-weight: 300; line-height: 1.12;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 3.1rem);
  opacity: 0; filter: blur(10px); transform: translateY(10px);
  transition: opacity 2.6s var(--exhale), filter 2.6s var(--exhale), transform 2.6s var(--exhale);
}
.threshold__line.is-on { opacity: 1; filter: none; transform: none; }
.threshold__line--a { left: var(--pad); top: 38%; }
.threshold__line--b { right: var(--pad); top: 54%; text-align: right; }
.threshold__meta {
  position: absolute; left: var(--pad); right: var(--pad); top: 30px;
  display: flex; justify-content: space-between;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light);
}
.scrollcue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 54px; background: rgba(255, 251, 245, 0.18); overflow: hidden; }
.scrollcue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--offwhite); animation: cue 2.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* =========================================================================
   1 · HERO
   ========================================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--offwhite); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { top: -10%; height: 120%; object-fit: cover; object-position: 30% 50%; transform: scale(1.08); will-change: transform; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 7%, rgba(0, 0, 0, 0) 20%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.6) 9%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(270deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0) 64%),
    linear-gradient(0deg, rgba(23, 46, 37, 0.45) 0%, rgba(0, 0, 0, 0) 38%);
}
.hero__content {
  position: absolute; right: var(--pad); top: 50%; transform: translateY(-46%);
  width: min(560px, 44vw);
}
.hero__logotype { width: clamp(190px, 18vw, 300px); margin-bottom: 2.6rem; }
.hero__tagline { font-family: var(--serif); font-weight: 300; font-size: var(--fs-hero); line-height: 1.14; letter-spacing: -0.008em; text-wrap: balance; }
.hero__actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.8rem; flex-wrap: wrap; }
.hero__foot {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  display: flex; justify-content: center; gap: 2.4rem; white-space: nowrap;
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light);
}

/* =========================================================================
   2 · PRELUDE
   ========================================================================= */
.prelude { padding: var(--section) var(--pad); color: var(--offwhite); }
.prelude__statement {
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-xl); line-height: 1.08; letter-spacing: -0.015em;
  max-width: 19ch; text-wrap: balance;
}
.prelude__body {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
  margin-top: clamp(72px, 10vw, 160px);
}
.prelude__figure { grid-column: 2 / span 4; }
.prelude__figure img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.prelude__text { grid-column: 8 / span 4; display: grid; gap: 1.4rem; padding-bottom: 2rem; color: var(--muted-light); font-weight: 300; font-size: 1.0625rem; }
.prelude__text p:first-child { color: var(--offwhite); }

/* =========================================================================
   3 · ARRIVAL
   ========================================================================= */
.arrival {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding: 0 var(--pad) var(--section); color: var(--offwhite);
}
.arrival__figure { grid-column: 1 / span 6; margin-left: calc(var(--pad) * -1); }
.arrival__figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; }
.arrival__text { grid-column: 8 / span 5; }
.arrival .lead { color: var(--muted-light); }

/* =========================================================================
   4 · THE ROOMS — sticky stage, scrubbed frames, sideways track
   ========================================================================= */
.rooms { position: relative; height: 420vh; color: var(--offwhite); }
.rooms__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; background: var(--black); }

/* the track: three full-width rooms side by side; scroll moves it sideways */
.rooms__track { position: absolute; inset: 0; display: flex; width: 300%; will-change: transform; }
.slide { position: relative; flex: 0 0 calc(100% / 3); height: 100%; overflow: hidden; overflow: clip; }
.slide__room { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, calc(100svh * 1.06)); }
.slide__video {
  width: 100%; height: 100%; object-fit: cover; background: var(--black);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(180deg, transparent 0%, #000 16%, #000 82%, transparent 100%);
          mask-composite: intersect;
}
.slide__text { position: absolute; left: var(--pad); bottom: clamp(56px, 11vh, 120px); width: min(460px, 36vw); will-change: opacity; }

.rooms__veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%);
}
.rooms__dark { position: absolute; inset: 0; background: var(--black); opacity: 0; pointer-events: none; }
.rooms__head { position: absolute; left: var(--pad); top: clamp(96px, 15vh, 150px); }
.rooms__title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.1; max-width: 18ch; }
.rooms__progress {
  position: absolute; right: var(--pad); top: clamp(104px, 15.5vh, 158px);
  display: grid; gap: 10px; width: 132px;
}
.rooms__progress::before { content: ""; height: 1px; background: rgba(255, 251, 245, 0.22); grid-area: 1 / 1; }
.rooms__progress-bar { grid-area: 1 / 1; height: 1px; background: var(--offwhite); transform-origin: left; transform: scaleX(0); }
.rooms__steps { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 0.9375rem; }
.rooms__steps li { opacity: 0.35; transition: opacity 0.6s; }
.rooms__steps li.is-on { opacity: 1; }

/* the way into the hidden viewer: quiet, but there */
.rooms__look.glass {
  position: absolute; right: var(--pad); top: calc(clamp(104px, 15.5vh, 158px) + 52px);
  display: inline-flex; align-items: center; gap: 0.6rem; height: 36px; padding: 0 16px 0 12px; border-radius: 999px;
  color: var(--offwhite); font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.rooms__look-icon { width: 14px; height: 14px; border-radius: 50%; border: 1px solid currentColor; position: relative; }
.rooms__look-icon::after { content: ""; position: absolute; inset: 3px -4px; border: 1px solid currentColor; border-radius: 50%; opacity: 0.6; }

/* touch: no snapping anywhere, the phone scrolls itself. The stage holds 2.7 screens (I, II, III, then the
   lights go out). The dark room is shorter and begins one screen early, underneath, so its words follow the
   darkness at once; until it is reached it stays see-through and lets taps through to room III. */
.is-touch .rooms { height: 370vh; height: 370svh; }
.is-touch .darkroom { height: 300vh; height: 300svh; margin-top: -100vh; margin-top: -100svh; }
.is-touch .darkroom.is-ahead { pointer-events: none; }
.is-touch .darkroom.is-ahead .darkroom__pin { background: transparent; }
.is-touch .darkroom.is-ahead :is(.darkroom__room, .darkroom__glow, .darkroom__veil) { visibility: hidden; }
/* scrolling back up into room III: the words go at once instead of fading out over it */
.is-touch .darkroom.is-ahead :is(.darkroom__l1, .darkroom__l2, .darkroom__copy > *) { opacity: 0; transition: none; }

.ritual__no { display: flex; align-items: baseline; gap: 0.9rem; font-family: var(--serif); font-size: 1rem; margin-bottom: 1.2rem; }
.ritual__no span { font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); }
.ritual__name { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -0.015em; }
.ritual__meta { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.3rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.ritual__line { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; margin-top: 1.6rem; }
.ritual__desc { font-weight: 300; font-size: 0.9375rem; line-height: 1.7; margin-top: 0.8rem; max-width: 36ch; color: var(--muted-light); }
.slide__text .link { margin-top: 1.4rem; }

/* =========================================================================
   5 · DARK ROOM — pure darkness, the words, then the room is lit
   (JS sets --light and --rise on the pin, and .s1 .s2 .s3 on the section)
   ========================================================================= */
.darkroom { position: relative; height: 340vh; color: var(--offwhite); }
.darkroom__pin { --light: 0; --rise: 0; position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; background: var(--black); }
.darkroom__room {
  position: absolute; inset: 0; pointer-events: none;
  opacity: calc(0.03 + 0.97 * var(--light));
  transform: scale(calc(1.08 - 0.08 * var(--light)));
  will-change: opacity, transform;
}
.darkroom__room picture, .darkroom__room img { width: 100%; height: 100%; }
.darkroom__room img { object-fit: cover; object-position: 50% 62%; }
.darkroom__glow {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  opacity: var(--light);
  background: radial-gradient(55% 45% at 36% 64%, rgba(255, 178, 110, 0.14), rgba(255, 178, 110, 0) 70%);
}
.darkroom__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 16%, rgba(0, 0, 0, 0) 40%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.82) 20%, rgba(0, 0, 0, 0) 54%);
}
.darkroom__title {
  position: absolute; left: 50%; top: 50%; width: min(92vw, 15ch); text-align: center;
  font-family: var(--serif); font-weight: 300; font-size: var(--fs-xl); line-height: 1.05; letter-spacing: -0.015em;
  transform: translate(-50%, calc(-50% - var(--rise) * 31vh)) scale(calc(1 - 0.36 * var(--rise)));
  transform-origin: 50% 0;
}
.darkroom__l1, .darkroom__l2 { display: block; opacity: 0; filter: blur(14px); transition: opacity 2.8s var(--exhale), filter 2.8s var(--exhale); }
.darkroom.s1 .darkroom__l1, .darkroom.s2 .darkroom__l2 { opacity: 1; filter: none; }
.darkroom__copy {
  position: absolute; left: 50%; bottom: clamp(48px, 8vh, 104px); transform: translateX(-50%);
  width: min(580px, calc(100vw - var(--pad) * 2)); text-align: center;
}
.darkroom__copy > * { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1.8s var(--exhale), transform 1.8s var(--exhale), filter 1.8s var(--exhale); }
.darkroom.s3 .darkroom__copy > * { opacity: 1; transform: none; filter: none; }
.darkroom.s3 .darkroom__copy > :nth-child(2) { transition-delay: 0.25s; }
.darkroom.s3 .darkroom__copy > :nth-child(3) { transition-delay: 0.5s; }
.darkroom.s3 .darkroom__copy > :nth-child(4) { transition-delay: 0.75s; }
.darkroom__copy .eyebrow { margin-bottom: 1rem; }
.darkroom__text { font-weight: 300; font-size: var(--fs-lead); line-height: 1.6; margin: 0 auto; max-width: 40ch; color: rgba(255, 251, 245, 0.86); }
.darkroom__meta { margin: 1.2rem 0 1.6rem; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-light); }

/* =========================================================================
   6 · OILS
   ========================================================================= */
.oils {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding: var(--section) var(--pad); color: var(--offwhite);
}
.oils__media { grid-column: 1 / span 5; position: relative; }
.oils__video { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgba(155, 85, 60, 0.85); }
.oils { transition: --glow 2.2s var(--ease); overflow: clip; }
.oils__glow {
  position: absolute; inset: -26%; border-radius: 50%; filter: blur(70px); opacity: 0.95; pointer-events: none;
  background: radial-gradient(circle at 50% 52%, var(--glow) 0%, transparent 64%);
}
.oils[data-oil="tuberose"] { --glow: rgba(155, 85, 60, 0.85); }
.oils[data-oil="lemongrass"] { --glow: rgba(209, 187, 164, 0.75); }
.oils[data-oil="sandalwood"] { --glow: rgba(40, 20, 8, 0.85); }
.oils__text { grid-column: 7 / span 6; }
.oils .lead { color: var(--offwhite); }
.oils .eyebrow { opacity: 1; }
.oils__list { margin-top: 3rem; border-top: 1px solid var(--rule-light); }
.oil {
  display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr; column-gap: 1.6rem; align-items: baseline;
  width: 100%; text-align: left; padding: 1.4rem 0; border-bottom: 1px solid var(--rule-light);
}
.oil__state { grid-row: span 2; font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1; opacity: 0.72; transition: opacity 0.9s var(--ease); }
.oil__name { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; }
.oil__desc {
  grid-column: 2; font-weight: 300; font-size: 0.9375rem; line-height: 1.6; color: var(--offwhite);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height 1s var(--exhale), opacity 1s var(--exhale), margin 1s var(--exhale);
}
.oil[aria-checked="true"] .oil__state { opacity: 1; }
.oil[aria-checked="true"] .oil__desc { max-height: 6em; opacity: 1; margin-top: 0.5rem; }
.oil:hover .oil__state { opacity: 0.9; }
.oil[aria-checked="true"]:hover .oil__state { opacity: 1; }

/* =========================================================================
   7 · AFTER
   ========================================================================= */
.after {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding: var(--section) var(--pad); color: var(--black);
}
.after__text { grid-column: 1 / span 6; }
.after__figure { grid-column: 8 / span 5; }
.after__figure img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.after__list { margin-top: 3rem; border-top: 1px solid var(--rule-dark); max-width: 560px; }
.after__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule-dark); }
.after__name { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.after__desc { font-size: 0.875rem; color: var(--muted-dark); text-align: right; }
.after .note { color: var(--muted-dark); opacity: 1; }

/* =========================================================================
   8 · MENU
   ========================================================================= */
.menu { padding: 0 var(--pad) var(--section); color: var(--black); }
.menu__head { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--black); }
.menu__head .eyebrow { grid-column: 1 / -1; }
.menu__note { font-size: 0.8125rem; color: var(--muted-dark); max-width: 24ch; text-align: right; }
.menu__group { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 3.2rem 0 1rem; }
.menu__group-title {
  grid-column: 1 / span 3; font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; padding-top: 0.6rem;
}
.menu__group-title span { display: block; margin-top: 0.4rem; letter-spacing: 0.08em; color: var(--muted-dark); text-transform: none; font-size: 0.8125rem; }
.menu__list { grid-column: 4 / -1; }
.item { display: grid; grid-template-columns: 1fr auto; column-gap: 3rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule-dark); }
.item:last-child { border-bottom: 0; }
.item__name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.1rem); line-height: 1.15; }
.item__name em { font-family: var(--sans); font-style: normal; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-dark); margin-left: 0.6rem; vertical-align: middle; }
.item__desc { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.65; color: var(--muted-dark); max-width: 52ch; }
.item__prices { display: grid; gap: 0.4rem; align-content: start; min-width: 9rem; padding-top: 0.4rem; }
.item__prices div { display: flex; justify-content: space-between; gap: 1.2rem; align-items: baseline; }
.item__prices dt { font-size: 0.75rem; letter-spacing: 0.08em; color: var(--muted-dark); }
.item__prices dd { font-family: var(--serif); font-size: 1.35rem; }
.menu__group--addons { align-items: start; border-top: 1px solid var(--rule-dark); margin-top: 2rem; }
.menu__group--addons > div { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr; }
.menu__group--addons .menu__group-title { padding-top: 0; margin-bottom: 0.6rem; }
.menu__figure { grid-column: 1 / span 4; }
.menu__figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.menu__list--compact { grid-column: auto; }
.menu__foot { margin: 3.6rem 0 2rem; font-size: 0.875rem; color: var(--muted-dark); max-width: 60ch; }

/* =========================================================================
   9 · GIFT
   ========================================================================= */
.gift {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding: var(--section) var(--pad); color: var(--black);
}
.gift__figure { grid-column: 2 / span 4; }
.gift__figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.gift__text { grid-column: 7 / span 6; }
.gift__icon { width: 34px; margin-bottom: 2.4rem; }
.gift__title { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 1.6rem + 5.4vw, 7.5rem); line-height: 0.98; letter-spacing: -0.02em; }
.gift .lead { margin-bottom: 2.6rem; }

/* =========================================================================
   10 · VISIT
   ========================================================================= */
.visit {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start;
  padding: var(--section) var(--pad); color: var(--offwhite);
}
.visit__figure { grid-column: 1 / span 5; position: sticky; top: 96px; }
.visit__figure img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.visit__text { grid-column: 7 / span 6; }
.visit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.2rem; padding-top: 2rem; border-top: 1px solid var(--rule-light); font-weight: 300; font-size: 0.9375rem; line-height: 1.7; }
.visit__label { font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 0.8rem; }
.visit__small { margin-top: 0.6rem; font-size: 0.8125rem; color: var(--muted-light); }
.visit__grid a { text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(255, 251, 245, 0.35); }
.visit__grid a:hover { text-decoration-color: currentColor; }
.map { position: relative; margin-top: 3rem; aspect-ratio: 16 / 10; border: 1px solid var(--rule-light); overflow: hidden; }
.map__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); transition: color 0.5s; }
.map__load:hover { color: var(--offwhite); }
.map__pill { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; color: var(--offwhite); }
.map__pin { width: 10px; height: 10px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 10px rgba(155, 85, 60, 0.18), 0 0 0 24px rgba(155, 85, 60, 0.07); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.6) sepia(0.25) invert(0.9) hue-rotate(180deg) contrast(0.92); }
.visit__actions { display: flex; align-items: center; gap: 1.8rem; margin-top: 2.6rem; flex-wrap: wrap; }

/* =========================================================================
   FOOTER — Clay, as on the brand book's covers
   ========================================================================= */
.footer { background: linear-gradient(180deg, #000 0, var(--clay) clamp(140px, 16vw, 240px)); color: var(--offwhite); padding: clamp(80px, 10vw, 140px) var(--pad) 96px; text-align: center; }
.footer__lockup { width: clamp(150px, 14vw, 200px); }
.footer__tagline { font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); margin-top: 2.4rem; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: clamp(64px, 8vw, 110px) auto 0; max-width: 1100px; text-align: left; padding-top: 2.4rem; border-top: 1px solid rgba(255, 251, 245, 0.3); font-weight: 300; font-size: 0.9375rem; line-height: 1.9; }
.footer__label { font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.9; margin-bottom: 0.8rem; }
.footer__cols a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.7s var(--exhale); }
.footer__cols a:hover { background-size: 100% 1px; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 1100px; margin: 5rem auto 0; font-size: 0.75rem; opacity: 0.9; }

/* =========================================================================
   LIQUID GLASS — frosted body, specular rim, soft sheen; a gentle refraction
   in Chromium via the #lg-refract SVG filter (html.lg-refract).
   ========================================================================= */
.glass {
  --tint: rgba(24, 20, 16, 0.26);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--tint);
  border-color: transparent !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.7) brightness(1.04);
          backdrop-filter: blur(18px) saturate(1.7) brightness(1.04);
  box-shadow:
    inset 0 1px 0.5px rgba(255, 255, 255, 0.55),
    inset 0 -1px 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.26),
    inset 0 0 22px rgba(255, 255, 255, 0.04),
    0 12px 30px -14px rgba(0, 0, 0, 0.5);
  transition: background-color 0.8s var(--exhale), color 0.8s var(--exhale), box-shadow 0.8s var(--exhale);
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(120% 90% at 18% -12%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 52%),
    radial-gradient(90% 70% at 86% 125%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 60%);
}
.lg-refract .glass {
  -webkit-backdrop-filter: url(#lg-refract) blur(14px) saturate(1.7) brightness(1.04);
          backdrop-filter: url(#lg-refract) blur(14px) saturate(1.7) brightness(1.04);
}
.glass:hover { --tint: rgba(255, 251, 245, 0.16); }
/* over light rooms the glass turns pale and the text dark */
[data-tone="dark"] .glass--adapt { --tint: rgba(255, 251, 245, 0.55); color: var(--black); }
[data-tone="dark"] .glass--adapt:hover { --tint: rgba(255, 251, 245, 0.8); }
.btn.glass:hover { background: var(--tint); color: inherit; }
.glass-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nav__toggle.glass { border-radius: 50%; }
.nav.is-sheet .glass--adapt { --tint: rgba(255, 251, 245, 0.12); color: var(--offwhite); }

/* =========================================================================
   FLOATING CONTROLS
   ========================================================================= */
.sound {
  position: fixed; left: var(--pad); bottom: calc(22px + var(--safe-b)); z-index: 85;
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 14px;
  border-radius: 999px; color: var(--offwhite);
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.sound__bars { display: flex; align-items: center; gap: 2px; height: 14px; }
.sound__bars i { width: 2px; height: 100%; background: currentColor; transform: scaleY(0.2); transform-origin: center; }
.sound[aria-pressed="true"] .sound__bars i { animation: bar 10s var(--ease) infinite; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(2) { animation-delay: -2.5s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(3) { animation-delay: -5s; }
.sound[aria-pressed="true"] .sound__bars i:nth-child(4) { animation-delay: -7.5s; }
@keyframes bar { 0%, 100% { transform: scaleY(0.25); } 40% { transform: scaleY(1); } 70% { transform: scaleY(0.5); } }

.fab {
  position: fixed; right: var(--pad); bottom: calc(22px + var(--safe-b)); z-index: 85; display: none;
  align-items: center; height: 44px; padding: 0 22px; border-radius: 999px;
  color: var(--offwhite); text-decoration: none; font-size: 0.8125rem; letter-spacing: 0.06em;
}
.sound, .fab { transition: opacity 1s var(--ease), background-color 0.8s var(--exhale), color 0.8s var(--exhale); }
body.is-gated .sound, body.is-gated .fab, body.in-threshold .fab { opacity: 0; pointer-events: none; }
body.in-threshold .fab:focus-visible { opacity: 1; pointer-events: auto; }
.sound:focus-visible, .fab:focus-visible, .map__load:focus-visible { outline-offset: -5px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .nav { padding: 14px var(--pad); }
  .nav__links, .nav__book { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .fab { display: inline-flex; }

  .threshold__video { width: 100vw; height: 100vh; height: 100svh; -webkit-mask-image: none; mask-image: none; }
  .threshold__line--a { left: var(--pad); top: auto; bottom: 30%; }
  .threshold__line--b { left: var(--pad); right: auto; top: auto; bottom: 17%; text-align: left; }
  .threshold__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.62) 16%, rgba(0, 0, 0, 0) 48%); }

  .hero__media img { object-position: 22% 50%; }
  .hero__veil { background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 14%), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.82) 12%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.1) 75%), linear-gradient(0deg, rgba(23, 46, 37, 0.4) 0%, rgba(0, 0, 0, 0) 40%); }
  .hero__content { left: var(--pad); right: var(--pad); top: auto; bottom: 112px; transform: none; width: auto; }
  .hero__logotype { width: 160px; margin-bottom: 1.6rem; }
  .hero__actions { margin-top: 2rem; }
  .hero__foot { display: none; }

  .prelude__body, .arrival, .oils, .after, .gift, .visit, .menu__group { display: block; }
  .prelude__figure { width: 70%; margin-left: auto; }
  .prelude__text { margin-top: 2.4rem; padding: 0; }
  .arrival__figure { margin: 0 calc(var(--pad) * -1) 3rem; }
  .oils__media { max-width: 420px; margin: 0 auto 4rem; }
  .after__figure { margin-top: 4rem; }
  .menu__head { grid-template-columns: 1fr; }
  .menu__note { text-align: left; margin-top: 1rem; }
  .menu__group-title { margin-bottom: 0.4rem; }
  .menu__figure { margin-bottom: 2.4rem; }
  .menu__figure img { aspect-ratio: 4 / 5; }
  .item { column-gap: 1.2rem; }
  .item__prices { min-width: 6.5rem; }
  .gift__figure { max-width: 380px; margin-bottom: 3.6rem; }
  .visit__figure { position: relative; top: 0; margin-bottom: 3.6rem; }
  .visit__figure img { aspect-ratio: 4 / 5; }
  .visit__grid { grid-template-columns: 1fr 1fr; }
  .visit__grid > div:last-child { grid-column: 1 / -1; }
  .footer__cols { grid-template-columns: 1fr 1fr; }

  .slide__room { width: 100%; }
  .slide__video {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, rgba(0, 0, 0, 0.35) 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 70%, rgba(0, 0, 0, 0.35) 100%);
  }
  .slide__text { left: var(--pad); right: var(--pad); width: auto; bottom: calc(82px + var(--safe-b)); }
  .rooms__veil { background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.5) 22%, rgba(0, 0, 0, 0) 38%); }
  /* the shade for the ritual text sits under the text, not over it */
  .slide__room::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0) 68%); }
  .rooms__head { top: 84px; }
  .rooms__progress { top: 90px; right: var(--pad); width: 76px; }
  .rooms__look.glass { height: 32px; padding: 0 12px 0 10px; font-size: 0.625rem; }
  .ritual__line { font-size: 1.15rem; margin-top: 1.1rem; }
  .ritual__desc { font-size: 0.875rem; }

  .darkroom__copy { bottom: calc(92px + var(--safe-b)); }
  .darkroom__room img { object-position: 44% 60%; }
}

/* short screens: keep the sticky stages from colliding with themselves */
@media (max-height: 760px) {
  .darkroom__title { font-size: min(var(--fs-xl), 8svh); }
  .darkroom__meta { margin: min(1.2rem, 2svh) 0 min(1.6rem, 2.5svh); }
}
@media (max-height: 660px) {
  .ritual__no { margin-bottom: 0.5rem; }
  .ritual__line { margin-top: 0.8rem; }
  .ritual__name { font-size: min(clamp(2.2rem, 1.4rem + 2.6vw, 4rem), 7.5svh); }
}

@media (max-width: 520px) {
  .visit__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; text-align: center; }
  .footer__legal { justify-content: center; }
  .after__list li { display: block; }
  .after__desc { display: block; text-align: left; margin-top: 0.2rem; }
}

/* =========================================================================
   REDUCED MOTION — the same calm, without movement
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], .w { opacity: 1 !important; transform: none !important; filter: none !important; }
  .reveal-img { opacity: 1 !important; filter: none !important; transform: none !important; }
  .darkroom__l1, .darkroom__l2, .darkroom__copy > * { opacity: 1 !important; filter: none !important; transform: none !important; }
  [data-breathe] .bw { opacity: 1 !important; }
}
.is-static .rooms { height: auto; }
.is-static .rooms__pin { position: relative; height: auto; display: grid; gap: 4rem; padding: var(--section) var(--pad); background: transparent; }
.is-static .rooms__veil, .is-static .rooms__dark, .is-static .rooms__progress { display: none; }
.is-static .rooms__head, .is-static .rooms__look { position: static; }
.is-static .rooms__look { justify-self: start; }
.is-static .rooms__track { position: static; display: grid; width: auto; gap: 4.5rem; transform: none !important; }
.is-static .slide { height: auto; display: grid; gap: 2rem; }
.is-static .slide__room { position: relative; width: 100%; aspect-ratio: 1; max-width: 640px; }
.is-static .slide__room::after { display: none; }
.is-static .slide__text { position: static; width: auto; opacity: 1 !important; }
.is-static .darkroom { height: auto; }
.is-static .darkroom__pin { --light: 0.85; position: relative; height: auto; min-height: 100svh; display: grid; align-content: end; gap: 2.4rem; padding: 120px var(--pad) 96px; }
.is-static .darkroom__title, .is-static .darkroom__copy { position: relative; left: auto; top: auto; bottom: auto; transform: none; margin: 0 auto; }
.is-static .darkroom__l1, .is-static .darkroom__l2, .is-static .darkroom__copy > * { opacity: 1; filter: none; transform: none; }

/* =========================================================================
   LOOK AROUND — the hidden viewer. Drag to turn each room.
   ========================================================================= */
/* on html, not body: an overflow on body would make it a scroll container and unpin the stages behind the fade */
html.is-viewing { overflow: hidden; }
.viewer {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center;
  background: var(--black); color: var(--offwhite);
  touch-action: none; overscroll-behavior: contain;
  animation: viewer-in 0.9s var(--exhale);
}
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer__canvas {
  width: min(94vw, 82svh); aspect-ratio: 1; cursor: grab; touch-action: none;
  -webkit-mask: url("../img/feather-a.png") center / 100% 100% no-repeat;
          mask: url("../img/feather-a.png") center / 100% 100% no-repeat;
}
.viewer.is-dragging .viewer__canvas { cursor: grabbing; }
.viewer__top { position: absolute; top: calc(22px + env(safe-area-inset-top, 0px)); left: var(--pad); right: calc(var(--pad) + 60px); }
.viewer__top .eyebrow { margin-bottom: 0.9rem; }
.viewer__tabs { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.viewer__tab { font-family: var(--serif); font-weight: 300; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.5rem); opacity: 0.42; transition: opacity 0.6s var(--ease); }
.viewer__tab:hover { opacity: 0.8; }
.viewer__tab[aria-selected="true"] { opacity: 1; }
.viewer__close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--pad); width: 46px; height: 46px; border-radius: 50%; color: var(--offwhite); }
.viewer__close span::before, .viewer__close span::after {
  content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: currentColor;
}
.viewer__close span::before { transform: rotate(45deg); }
.viewer__close span::after { transform: rotate(-45deg); }
.viewer__hint {
  position: absolute; left: 50%; bottom: calc(30px + var(--safe-b)); transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.8rem; white-space: nowrap;
  font-size: 0.6875rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-light);
  transition: opacity 1.2s var(--ease);
}
.viewer__hint::before, .viewer__hint::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.viewer.is-touched .viewer__hint { opacity: 0; }
.viewer__load { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--offwhite); opacity: 0.45; transform-origin: left; transform: scaleX(0); transition: transform 0.4s var(--ease), opacity 1s; }
.viewer__load.is-done { opacity: 0; }
.footer__look { font: inherit; color: inherit; text-align: left; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.7s var(--exhale); }
.footer__look:hover { background-size: 100% 1px; }
