/* ==========================================================================
   Luxury Longevity — Spatial Showroom
   Visual + motion tokens live here and in js/motion.js (MOTION). See system.html.
   ========================================================================== */
:root {
  /* colour */
  --ink: #0b0b0c;          /* ground */
  --graphite: #141518;     /* raised surfaces */
  --graphite-2: #1c1d21;   /* controls */
  --line: rgba(236, 230, 218, .12);
  --line-strong: rgba(236, 230, 218, .24);
  --text: #ece6da;         /* warm white */
  --muted: #a7a297;
  --gold: #c9a55c;         /* drawn from the monogram's gold */
  --gold-soft: rgba(201, 165, 92, .18);
  --accent: var(--gold);
  --glow: rgba(201, 165, 92, .14);
  --silver: #c3c7cc;       /* drawn from the monogram's silver */
  --focus: #e3c07a;
  --ok: #9cc3a0;
  --err: #e39a8a;

  /* type */
  --f-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-body: "Sora", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-hero: clamp(3rem, 5.6vw, 7rem);
  --t-h2: clamp(2.3rem, 4.6vw, 4.6rem);
  --t-h3: clamp(1.6rem, 2.4vw, 2.3rem);
  --t-body: 1rem;
  --t-small: .8125rem;
  --t-label: .6875rem;

  /* space */
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 4.75rem;
  --radius: 2px;

  /* motion (mirrored in MOTION, js/motion.js) */
  --dur-ui: 240ms;
  --dur-ui-slow: 420ms;
  --dur-scene: 900ms;
  --ease-ui: cubic-bezier(.2, .7, .2, 1);
  --ease-scene: cubic-bezier(.16, 1, .3, 1);
  --perspective: 1600px;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { font-size: clamp(16px, calc(10.5px + 0.38vw), 21px); background: var(--ink); scroll-behavior: auto; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 300 var(--t-body)/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.1; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--silver); }
p { margin: 0; max-width: 62ch; }
.label {
  font: 400 var(--t-label)/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.label--gold, .label--accent { color: var(--accent); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 48ch; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- skip link ---------- */
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--ink);
  font-size: var(--t-small); text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-ui) var(--ease-ui);
}
.skip:focus { transform: none; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(to bottom, rgba(11,11,12,.86), rgba(11,11,12,0));
  transition: background var(--dur-ui-slow) var(--ease-ui);
}
.site-header.is-solid { background: rgba(11,11,12,.92); border-bottom: 1px solid var(--line); }
.brand { display: block; line-height: 0; }
.brand img { height: 3.1rem; width: auto; }   /* original logo.png, aspect preserved */
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav a { font-size: var(--t-small); text-decoration: none; color: var(--muted); letter-spacing: .02em; transition: color var(--dur-ui) var(--ease-ui); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--text); }
.nav .btn { color: var(--text); }
.nav-toggle { display: none; }

/* ---------- buttons (Interactive Hover Button pattern) ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line-strong);
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--radius);
  font: 400 var(--t-small)/1 var(--f-body); letter-spacing: .06em; text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text);
  transform: scaleX(0); transform-origin: var(--ox, 0%) 50%; transition: transform var(--dur-ui-slow) var(--ease-scene);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--text); }
.btn .arrow { width: 14px; height: 14px; transition: transform var(--dur-ui-slow) var(--ease-scene); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { --bg: var(--text); --fg: var(--ink); --bd: var(--text); }
.btn--solid::before { background: var(--gold); }
.btn--solid:hover, .btn--solid:focus-visible { border-color: var(--gold); }
.btn--quiet { border-color: transparent; padding: 0 4px; min-height: 44px; }
.btn--quiet::before { top: auto; height: 1px; background: var(--gold); }
.btn--quiet:hover, .btn--quiet:focus-visible { color: var(--text); border-color: transparent; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- chapter rail ---------- */
.rail {
  position: fixed; right: calc(var(--gutter) * .5); top: 50%; z-index: 40; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none;
}
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 6px 0; text-decoration: none; color: var(--muted); }
.rail .rail-name { font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui); }
.rail .rail-tick { width: 14px; height: 1px; background: var(--line-strong); transition: width var(--dur-ui-slow) var(--ease-scene), background var(--dur-ui) var(--ease-ui); }
.rail a[aria-current="true"] .rail-tick { width: 34px; background: var(--gold); }
.rail:hover .rail-name, .rail a:focus-visible .rail-name { opacity: 1; transform: none; }
.rail:hover { background: linear-gradient(to left, rgba(11,11,12,.9), transparent); }
.rail a[aria-current="true"] { color: var(--text); }
.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 45; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--gold), var(--silver)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   Chapter 1–3 · Arrival → Showroom → Product focus  (Gallery Depth + Scroll Expand)
   ========================================================================== */
.scene { position: relative; overflow-x: clip; }
.plane { width: 30%; }
.stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.is-cinematic .scene--showroom { height: 340vh; }
.is-cinematic .scene--showroom .stage { position: sticky; top: 0; }

.space { position: absolute; inset: 0; z-index: 1; perspective: var(--perspective); perspective-origin: 50% 46%; }
.space-tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.plane {
  position: absolute; left: 50%; top: 50%; margin: 0; transform-style: preserve-3d; will-change: transform, opacity;
  backface-visibility: hidden;
}
.plane img, .plane .plane-img {
  width: 100%; height: 100%; object-fit: cover; /* plane aspect == photo aspect, so nothing is cropped */
  background: var(--graphite);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(236,230,218,.06);
}
.plane::after { /* soft floor light under each photographic plane — never over the product */
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -14%; height: 14%;
  background: radial-gradient(50% 60% at 50% 0%, rgba(201,165,92,.13), transparent 70%);
  pointer-events: none;
}
.plane--main img { box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(236,230,218,.08); }
.plane figcaption { position: absolute; left: 0; top: calc(100% + 12px); white-space: nowrap; }
.floor-glow { position: absolute; left: -10%; right: -10%; bottom: -8%; height: 42%; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 100%, rgba(195,199,204,.07), transparent 70%); }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0,0,0,.72) 100%); }

.hero-copy {
  position: absolute; z-index: 5; left: var(--gutter); bottom: clamp(56px, 11vh, 120px);
  display: grid; gap: 22px; max-width: min(46rem, 46vw);
}
.hero-copy h1 { font-size: var(--t-hero); }
.hero-copy .lede { color: var(--text); opacity: .82; font-size: 1.1875rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

.focus-card {
  position: absolute; z-index: 6; left: 64vw; top: 50%; transform: translateY(-50%);
  width: min(30rem, 30vw); display: grid; gap: 18px;
}
.focus-card h2 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
.focus-card .price { font: 400 1.0625rem/1 var(--f-mono); color: var(--accent); letter-spacing: .04em; }
.credit { font: 400 .6875rem/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.focus-card .facts { margin-top: 4px; }
.focus-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.scroll-cue { position: absolute; z-index: 5; right: calc(var(--gutter) + 56px); bottom: clamp(40px, 7vh, 72px); display: flex; align-items: center; gap: 14px; }
.scroll-cue i { display: block; width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease-scene) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* facts list */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; font-size: var(--t-small); }
.facts dt { font: 400 var(--t-label)/1.7 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.verify {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border: 1px solid rgba(227,154,138,.55); color: var(--err);
  font: 400 .625rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; vertical-align: 1px; cursor: help;
}

/* ==========================================================================
   Chapter 4 · Exterior → Interior
   ========================================================================== */
.is-cinematic .scene--interior { height: 250vh; }
.is-cinematic .scene--interior .stage { position: sticky; top: 0; }
.scene--interior .stage { background: var(--ink); }
.xfade { position: absolute; inset: 0; }
.xfade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xfade .ext { z-index: 1; }
.xfade .int { z-index: 2; opacity: 0; }
.xfade::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(11,11,12,.55), transparent 40%, transparent 70%, rgba(11,11,12,.4)); pointer-events: none; }
.interior-intro { position: absolute; z-index: 6; left: var(--gutter); top: calc(var(--header-h) + 5vh); max-width: 30rem; display: grid; gap: 16px; }

.explorer {
  position: absolute; z-index: 7; inset: calc(var(--header-h) + 3vh) calc(var(--gutter) + 56px) 7vh var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: center;
  opacity: 0; visibility: hidden;
}
.explorer.is-live { opacity: 1; visibility: visible; }
.photo-frame { position: relative; width: 100%; max-height: 100%; aspect-ratio: 4 / 3; margin: 0; align-self: center; }
.photo-frame > img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 50px 100px -40px #000, 0 0 0 1px var(--line); }
.crop-box { position: absolute; border: 1px solid var(--gold); box-shadow: 0 0 0 100vmax rgba(11,11,12,.38); pointer-events: none; transition: left var(--dur-scene) var(--ease-scene), top var(--dur-scene) var(--ease-scene), width var(--dur-scene) var(--ease-scene), height var(--dur-scene) var(--ease-scene), opacity var(--dur-ui) var(--ease-ui); }
.photo-frame { overflow: hidden; }
.hotspot {
  position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1px solid rgba(236,230,218,.85); background: rgba(11,11,12,.55); color: var(--text);
  font: 400 .75rem/1 var(--f-mono); cursor: pointer; display: grid; place-items: center;
  transition: background var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
.hotspot:hover { transform: scale(1.08); }
.hotspot[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.detail-panel { display: grid; gap: 14px; align-content: center; max-height: 100%; }
.loupe { position: relative; width: min(100%, calc(34vh * var(--lar, 1))); aspect-ratio: var(--lar, 1); max-width: 100%; justify-self: start; background-repeat: no-repeat; background-color: var(--graphite); box-shadow: 0 0 0 1px var(--line); transition: background-position var(--dur-scene) var(--ease-scene), background-size var(--dur-scene) var(--ease-scene); }
.loupe-note { color: var(--muted); font-size: var(--t-small); }
.detail-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius);
  font: 400 var(--t-small)/1 var(--f-body); cursor: pointer; transition: border-color var(--dur-ui) var(--ease-ui), background var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui);
}
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }

/* ==========================================================================
   Chapter 5 · Collection  (Gallery Orbit + Motion Focus)
   ========================================================================== */
.section { position: relative; padding: clamp(88px, 14vh, 160px) var(--gutter); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(24px, 4vh, 48px); }
.section-head > div:first-child { display: grid; gap: 14px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs [role="tab"] { min-height: 44px; }
#collection { overflow-x: clip; }
.orbit { position: relative; height: clamp(360px, 58vh, 640px); perspective: 1500px; perspective-origin: 50% 50%; touch-action: pan-y; outline: none; }
.orbit:focus-visible { outline: 1px dashed var(--line-strong); outline-offset: 8px; }
.orbit-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.orbit-item {
  position: absolute; left: 50%; top: 50%; width: min(44vw, 720px); height: 100%; margin: 0;
  display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; will-change: transform, opacity;
  cursor: pointer; background: none; border: 0; padding: 0;
}
.orbit-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 90px -40px #000, 0 0 0 1px var(--line); background: var(--graphite); }
.orbit-item[aria-current="true"] { cursor: default; }
.orbit-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.orbit-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px 48px; align-items: end; margin-top: 32px; min-height: 9.5rem; }
.orbit-info h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.orbit-info .price { font: 400 var(--t-small)/1 var(--f-mono); color: var(--gold); letter-spacing: .05em; }
.orbit-info .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.step-btns { display: flex; gap: 8px; }
.icon-btn {
  width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: transparent;
  border-radius: 50%; cursor: pointer; transition: border-color var(--dur-ui) var(--ease-ui), background var(--dur-ui) var(--ease-ui);
}
.icon-btn:hover { border-color: var(--text); background: rgba(236,230,218,.06); }
.icon-btn svg { width: 16px; height: 16px; }
.counter { font: 400 var(--t-small)/1 var(--f-mono); color: var(--muted); letter-spacing: .1em; }

/* ==========================================================================
   Chapter 6 · Configurator
   ========================================================================== */
.config { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.config-visual { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.config-visual .frame { position: relative; aspect-ratio: 3 / 2; background: var(--graphite); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.config-visual .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--dur-ui-slow) var(--ease-ui), transform var(--dur-scene) var(--ease-scene); }
.config-visual .frame img.is-out { opacity: 0; transform: scale(1.02) translateX(8px); }
.config-visual .caption { display: flex; justify-content: space-between; gap: 16px; font-size: var(--t-small); color: var(--muted); }
.steps { display: flex; gap: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.steps button {
  flex: 0 0 auto; min-height: 48px; padding: 0 14px; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; cursor: pointer;
  font: 400 var(--t-small)/1 var(--f-body); color: var(--muted); transition: color var(--dur-ui) var(--ease-ui), border-color var(--dur-ui) var(--ease-ui);
}
.steps button .n { font-family: var(--f-mono); font-size: .6875rem; margin-right: 8px; color: var(--gold); }
.steps button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.step-panel { padding-top: 28px; display: grid; gap: 22px; }
.step-panel[hidden] { display: none; }
.step-panel.is-entering { animation: stepIn var(--dur-ui-slow) var(--ease-scene); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.opt-list { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.opt-list legend { margin-bottom: 10px; padding: 0; }
.opt {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: transparent;
  transition: border-color var(--dur-ui) var(--ease-ui), background var(--dur-ui) var(--ease-ui);
}
.opt:hover { border-color: var(--line-strong); }
.opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.opt:has(input:disabled) { opacity: .42; cursor: not-allowed; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .mark { width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 50%; grid-row: span 2; }
.opt input[type="checkbox"] ~ .mark { border-radius: 2px; }
.opt:has(input:checked) .mark { background: var(--gold); border-color: var(--gold); box-shadow: inset 0 0 0 3px var(--ink); }
.opt .t { font-size: .9375rem; font-weight: 400; }
.opt .p { font: 400 var(--t-small)/1 var(--f-mono); color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.opt .d { grid-column: 2 / 4; font-size: var(--t-small); color: var(--muted); }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.swatch { position: relative; display: grid; gap: 6px; font-size: .6875rem; color: var(--muted); cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 0 0 1px var(--line); transition: box-shadow var(--dur-ui) var(--ease-ui); }
.swatch:has(input:checked) img { box-shadow: 0 0 0 2px var(--gold); }
.swatch:has(input:checked) { color: var(--text); }
.swatch:has(input:focus-visible) img { outline: 2px solid var(--focus); outline-offset: 2px; }
.names { display: flex; flex-wrap: wrap; gap: 6px; }
.names label { position: relative; }
.names input { position: absolute; opacity: 0; }
.names span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: var(--t-small); cursor: pointer; }
.names input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.names input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.note { font-size: var(--t-small); color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; }
.qty output { min-width: 36px; text-align: center; font-family: var(--f-mono); }
.summary { display: grid; gap: 0; margin: 0; }
.summary div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.totalbar {
  margin-top: 28px; padding: 22px 0 0; border-top: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end;
}
.totalbar .total { font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.totalbar .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.toast { min-height: 1.4em; font-size: var(--t-small); color: var(--ok); }
.concept { display: inline-flex; gap: 8px; align-items: center; padding: 4px 10px; border: 1px dashed var(--line-strong); font: 400 .625rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

dialog.sheet { width: min(640px, calc(100% - 32px)); max-height: 86vh; padding: 0; background: var(--graphite); color: var(--text); border: 1px solid var(--line-strong); }
dialog.sheet::backdrop { background: rgba(0,0,0,.66); }
.sheet-body { padding: 28px; display: grid; gap: 18px; }
.sheet pre { margin: 0; padding: 18px; background: var(--ink); white-space: pre-wrap; font: 400 .8125rem/1.6 var(--f-mono); max-height: 50vh; overflow: auto; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Chapter 7 · Consultation
   ========================================================================== */
.consult { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.consult-intro { display: grid; gap: 22px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact-list { display: grid; gap: 0; margin: 12px 0 0; padding: 0; list-style: none; }
.contact-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color var(--dur-ui) var(--ease-ui); }
.contact-list a:hover { color: var(--gold); }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font: 400 var(--t-label)/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; font-weight: 300; transition: border-color var(--dur-ui) var(--ease-ui);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
.field .bad, .bad { border-color: var(--err) !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-small); color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--gold); width: 18px; height: 18px; flex: 0 0 auto; }
details.more summary { cursor: pointer; font-size: var(--t-small); color: var(--muted); padding: 8px 0; }
details.more[open] summary { margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.5em; font-size: .9375rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }

.site-footer { padding: 48px var(--gutter) 56px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center; color: var(--muted); font-size: var(--t-small); }
.site-footer img { height: 64px; width: auto; }

/* ---------- product pages ---------- */
.product-hero { padding: calc(var(--header-h) + 6vh) var(--gutter) 0; display: grid; gap: 28px; }
.crumbs { font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding: 40px var(--gutter) 0; }
.expand-wrap { position: relative; }
.expand-img { width: 100%; box-shadow: 0 60px 120px -50px #000, 0 0 0 1px var(--line); transform-origin: 50% 40%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 92px; height: 68px; padding: 0; border: 1px solid var(--line); background: var(--graphite); cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-note { margin-top: 10px; font-size: var(--t-small); color: var(--muted); }
.product-side { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }

/* ==========================================================================
   Static / mobile / reduced-motion composition
   ========================================================================== */
.is-static .scene--showroom .stage { height: auto; min-height: 0; overflow: visible; padding: calc(var(--header-h) + 5vh) var(--gutter) 0; display: grid; gap: 36px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: end; }
.is-static .space { position: relative; inset: auto; height: clamp(320px, 52vw, 640px); grid-column: 2; grid-row: 1; perspective: 1400px; }
.is-static .hero-copy { position: static; grid-column: 1; grid-row: 1; max-width: none; padding-bottom: 8px; }
.is-static .focus-card { position: static; transform: none; width: auto; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; padding: 72px 0 24px; border-top: 1px solid var(--line); margin-top: 48px; }
.is-static .scroll-cue, .is-static .vignette { display: none; }
.is-static .scene--interior .stage { height: auto; overflow: visible; padding: 96px var(--gutter) 24px; display: grid; gap: 32px; }
.is-static .xfade { position: relative; height: clamp(280px, 50vw, 620px); }
.is-static .xfade .int { opacity: 0; transition: opacity 1.2s var(--ease-ui); }
.is-static .xfade.is-inside .int { opacity: 1; }
.is-static .interior-intro { position: static; max-width: 40rem; }
.is-static .explorer { position: static; opacity: 1; visibility: visible; inset: auto; }

@media (max-width: 1100px) {
  .rail { display: none; }
  .focus-card { right: var(--gutter); }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand img { height: 42px; }
  .nav { display: none; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: rgba(11,11,12,.98); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; background: none; border: 1px solid var(--line-strong); cursor: pointer; font-size: var(--t-small); }
  .is-static .scene--showroom .stage { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 28px); }
  .is-static .space { grid-column: 1; grid-row: 2; height: auto; aspect-ratio: 1600 / 1069; perspective: none; }
  .is-static .hero-copy { grid-row: 1; }
  .is-static .focus-card { grid-template-columns: 1fr; padding-top: 48px; margin-top: 24px; }
  .explorer, .is-static .explorer { grid-template-columns: 1fr; }
  .loupe { max-height: none; }
  .orbit { height: auto; aspect-ratio: 4 / 3; perspective: none; overflow: hidden; }
  .orbit-item { width: 100%; }
  .orbit-info { grid-template-columns: 1fr; min-height: 0; }
  .orbit-info .actions { justify-content: flex-start; }
  .config, .consult, .product-grid { grid-template-columns: 1fr; }
  .config-visual, .consult-intro, .product-side { position: static; }
  .totalbar { position: sticky; bottom: 0; z-index: 20; background: rgba(11,11,12,.96); padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); margin-top: 20px; }
  .row2 { grid-template-columns: 1fr; }
  .section { padding-block: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .config-visual .frame img, .xfade .int { transition: opacity 400ms linear !important; }
}

/* grid children may shrink below their content width (prevents horizontal overflow on phones) */
.config > *, .consult > *, .product-grid > *, .explorer > *, .orbit-info > *, .row2 > *, .focus-card > * { min-width: 0; }
.config-visual .caption { flex-wrap: wrap; }

/* ==========================================================================
   Chapter 5a · Collection index (HorizonX Gallery Depth / Orbit — see css/hx-gallery.css)
   ========================================================================== */
.scene--depth .stage { background: var(--ink); }
.is-cinematic .scene--depth { height: 220vh; }
.is-cinematic .scene--depth .stage { position: sticky; top: 0; }
.index-head { position: absolute; z-index: 3; left: var(--gutter); right: calc(var(--gutter) + 56px); top: calc(var(--header-h) + 2vh); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.index-head > div:first-child { display: grid; gap: 10px; }
.index-head h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); }
.hx-grid.ogf-grid { --ogf-gap: 12px; inset: auto; align-self: stretch; justify-self: stretch; left: var(--gutter); right: calc(var(--gutter) + 56px); top: calc(var(--header-h) + 15vh); bottom: 5vh; width: auto; height: auto; aspect-ratio: auto;
  grid-template-columns: repeat(var(--cols, 6), 1fr); grid-template-rows: repeat(var(--rows, 3), 1fr); grid-auto-rows: auto; perspective: 1200px; }
.hx-tile { display: block; color: var(--text); text-decoration: none; background: var(--graphite); box-shadow: 0 0 0 1px var(--line); }
.hx-tile .ogf-item-inner { transition: opacity var(--dur-ui-slow) var(--ease-ui), filter var(--dur-ui-slow) var(--ease-ui); }
.hx-tile.is-dim .ogf-item-inner { opacity: .16; filter: grayscale(1); }
.hx-tile.is-dim .hx-cap { opacity: .3; }
.hx-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 2px; padding: 22px 12px 10px; font-size: .8125rem; line-height: 1.25;
  background: linear-gradient(to top, rgba(11,11,12,.88), transparent); transition: opacity var(--dur-ui) var(--ease-ui); }
.hx-cap .label { font-size: .5625rem; }
.hx-tile:hover .ogf-item-inner, .hx-tile:focus-visible .ogf-item-inner { outline: 1px solid var(--gold); outline-offset: -1px; }
.hx-tile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.is-static .scene--depth .stage { height: auto; overflow: visible; padding: 96px var(--gutter) 24px; display: grid; gap: 28px; }
.is-static .index-head, .is-static .hx-grid.ogf-grid { position: static; }
.is-static .hx-grid.ogf-grid { aspect-ratio: auto; grid-template-rows: none; grid-auto-rows: clamp(150px, 16vw, 230px); }
@media (max-width: 900px) {
  .is-static .hx-grid.ogf-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
}

/* HorizonX Scroll Expand frame (chapter 3 release) */
.sxp-frame { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; will-change: clip-path; pointer-events: none; }
.sxp-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.is-static .sxp-frame { display: none; }

/* HorizonX Motion Focus deck (collection disciplines) — card + mask styling from the export */
.mf-wrap { display: grid; gap: 14px; justify-items: end; width: min(620px, 100%); }
.mf-wrap .tabs { justify-content: flex-end; }
.mf-deck { position: relative; width: 100%; height: 214px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%); }
.mf-card { position: absolute; top: 50%; left: 0; width: 100px; aspect-ratio: 3 / 4; margin-top: -67px; padding: 0; border: 0; overflow: hidden;
  background: var(--graphite); cursor: pointer; transform-origin: 50% 50%; will-change: transform; box-shadow: 0 0 0 1px var(--line); }
.mf-card .mf-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mf-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(9 9 9 / 18%), transparent 31%), linear-gradient(0deg, rgb(9 9 9 / 60%), transparent 45%); }
.mf-label { position: absolute; left: 8px; bottom: 7px; z-index: 1; font: 400 .5625rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.mf-card.is-focus { box-shadow: 0 0 0 1px var(--gold), 0 30px 60px -30px #000; }
@media (max-width: 900px) { .mf-wrap { justify-items: start; } .mf-deck { height: 190px; } }
@media (prefers-reduced-motion: reduce) { .mf-card { will-change: auto; } }

/* ==========================================================================
   Chapter 5c · Lifetech reference details (HorizonX Scroll Hold)
   ========================================================================== */
.scene--hold .stage { background: var(--ink); }
.is-cinematic .scene--hold { height: 380vh; }
.is-cinematic .scene--hold .stage { position: sticky; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: var(--header-h) calc(var(--gutter) + 56px) 0 var(--gutter); gap: 40px; }
.hold-copy { display: grid; gap: 20px; max-width: 34rem; position: relative; z-index: 2; }
.hold-copy h2 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); }
.hold-now { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hold-now p { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; }
.hold-column { position: relative; height: 100%; overflow: hidden; perspective: 900px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent); }
.hold-track { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.hold-wrap { width: min(22vw, 320px); margin-bottom: 8vh; perspective: 900px; }
.hold-item { position: relative; margin: 0; aspect-ratio: .8; overflow: hidden; transform-style: preserve-3d; will-change: transform, filter; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px var(--line); }
.hold-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hold-cap { display: none; }
.is-static .scene--hold .stage { height: auto; overflow: visible; padding: 96px var(--gutter) 24px; display: grid; gap: 28px; }
.is-static .hold-now { display: none; }
.is-static .hold-column { height: auto; overflow: visible; -webkit-mask-image: none; mask-image: none; perspective: none; }
.is-static .hold-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.is-static .hold-wrap { width: auto; margin: 0; display: grid; gap: 8px; }
.is-static .hold-cap { display: block; font-size: var(--t-small); color: var(--muted); }
@media (max-width: 900px) { .is-static .hold-track { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .hold-item { will-change: auto; } }

/* ==========================================================================
   v2 · Lifetech-led site, discipline pages, shared modules
   ========================================================================== */
.hx-cap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; z-index: 2; padding: 1.4rem .75rem .6rem; font-size: .8125rem; line-height: 1.25;
  background: linear-gradient(to top, rgba(11,11,12,.88), transparent); }

/* header: more destinations */
.nav { gap: clamp(14px, 1.8vw, 30px); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 1px; margin-top: 4px; background: var(--accent); }
.nav .nav-config { color: var(--gold); min-height: 40px; }
@media (max-width: 1180px) { .nav .nav-config { display: none; } }

/* explorer: portrait photographs */
.photo-frame { aspect-ratio: var(--ar, 4 / 3); }
.explorer[data-portrait] { grid-template-columns: auto minmax(18rem, 1fr); }
.explorer[data-portrait] .photo-frame { width: min(42vw, calc((100vh - var(--header-h) - 10vh) * var(--ar))); max-width: none; }
.is-static .explorer[data-portrait] .photo-frame { height: auto; width: min(100%, 520px); max-width: none; }

/* orbit: product copy beside the photographs, always in view */
.orbit-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(18rem, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.orbit-layout .orbit { height: clamp(320px, 52vh, 620px); overflow: hidden; border-radius: 2px; }
.orbit-layout .orbit-item { width: 64%; }
.orbit-side { display: grid; gap: 24px; }
.orbit-side .orbit-info { display: grid; grid-template-columns: 1fr; gap: 18px; margin: 0; min-height: 0; }
.orbit-copy { display: grid; gap: 10px; }
.orbit-cta { display: grid; gap: 14px; }
.orbit-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.orbit-side .orbit-controls { margin: 0; }
.orbit-info .price, .range-info .price { font: 400 1rem/1 var(--f-mono); color: var(--accent); letter-spacing: .05em; }
.section-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.upsell { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.upsell a { color: var(--gold); }

/* therapies */
.therapies-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.therapies-grid > div { display: grid; gap: 22px; }
.therapy-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.therapy-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.therapy-list .num { font: 400 .8125rem/1.8 var(--f-mono); color: var(--accent); }
.therapy-list h3 { font-size: 1.35rem; }
.therapy-list p { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.seven { display: grid; gap: 6px; margin-top: 24px; }
.seven-lede { font-family: var(--f-display); font-size: 1.4rem; }
.film { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; display: grid; gap: 10px; }
.film video { width: 100%; aspect-ratio: 478 / 850; object-fit: cover; background: var(--graphite); box-shadow: 0 50px 100px -50px #000, 0 0 0 1px var(--line); }
.film figcaption { font-size: .8125rem; color: var(--muted); }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); margin-top: clamp(56px, 8vh, 96px); }
.twin-item { margin: 0; display: grid; gap: 12px; }
.twin-item img { width: 100%; aspect-ratio: 1556 / 819; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.twin-item figcaption { display: grid; gap: 4px; color: var(--muted); font-size: .9375rem; }
.twin-name { font-family: var(--f-display); font-size: 1.8rem; color: var(--text); }

/* spec tables */
.spec-table-wrap { overflow-x: auto; margin-top: 8px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font: 400 .6875rem/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line-strong); }
.spec-table tbody th { font-weight: 400; color: var(--text); white-space: nowrap; }
.spec-table td { color: var(--muted); }
.spec-table tbody tr:hover td, .spec-table tbody tr:hover th { background: rgba(236, 230, 218, .03); }
.spec-table--sizes td:last-child { color: var(--gold); font-family: var(--f-mono); }
.sizes-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); margin: 48px 0 24px; align-items: start; }
.included { list-style: none; padding: 0; margin: 14px 0 0; columns: 2; column-gap: 32px; }
.included li { padding: 8px 0 8px 22px; position: relative; break-inside: avoid; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.included li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 1px; background: var(--gold); }
.config-cta { display: grid; gap: 16px; padding: clamp(24px, 3vw, 44px); background: linear-gradient(145deg, rgba(201,165,92,.12), rgba(201,165,92,.02)); box-shadow: 0 0 0 1px var(--bdg, rgba(201,165,92,.35)); }
.config-cta-title { font-family: var(--f-display); font-size: clamp(1.8rem, 2.6vw, 2.6rem); line-height: 1.1; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: .9375rem; justify-self: start; }

/* doorways */
.doors { display: grid; gap: clamp(12px, 1.4vw, 24px); grid-template-columns: repeat(3, 1fr); perspective: 1400px; }
.doors--4 { grid-template-columns: repeat(4, 1fr); }
.door { --rx: 0deg; --ry: 0deg; position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: var(--text); text-decoration: none; background: var(--graphite);
  box-shadow: 0 0 0 1px var(--line); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform var(--dur-ui-slow) var(--ease-scene), box-shadow var(--dur-ui) var(--ease-ui); }
.door:hover, .door:focus-visible { box-shadow: 0 0 0 1px var(--gold), 0 40px 80px -40px #000; }
.door-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-scene) var(--ease-scene); }
.door:hover .door-media img { transform: scale(1.04); }
.door-copy { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 1.4rem; background: linear-gradient(to top, rgba(11,11,12,.92) 30%, transparent); }
.door-title { font-family: var(--f-display); font-size: clamp(1.6rem, 2.2vw, 2.4rem); line-height: 1.05; }
.door-sub { color: var(--muted); font-size: .875rem; }
.door-go { display: inline-flex; gap: 10px; align-items: center; font-size: .8125rem; letter-spacing: .06em; margin-top: 6px; color: var(--gold); }

/* discipline pages */
.discipline { background: radial-gradient(120% 60% at 50% 0%, var(--glow), transparent 60%) no-repeat, var(--ink); }
.discipline .btn--solid::before, .discipline .chip[aria-pressed="true"] { background: var(--accent); }
.scene--expand .stage { background: var(--ink); }
.is-cinematic .scene--expand { height: 260vh; }
.is-cinematic .scene--expand .stage { position: sticky; top: 0; }
.scene--expand .sxp-frame { opacity: 1; visibility: visible; z-index: 1; clip-path: inset(18% 28% 18% 28% round 28px); }
.scene--expand .sxp-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.7), transparent 45%); pointer-events: none; }
.sxp-title { position: absolute; z-index: 3; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 0 var(--gutter); pointer-events: none; }
.sxp-title h1 { font-size: clamp(3.2rem, 7vw, 8.5rem); text-shadow: 0 2px 40px rgba(0,0,0,.6); }
.sxp-title .lede { color: var(--text); opacity: .85; text-shadow: 0 1px 20px rgba(0,0,0,.6); }
.sxp-after { position: absolute; z-index: 3; left: var(--gutter); bottom: 6vh; display: grid; gap: 10px; }
.intro-block { display: grid; gap: 20px; max-width: 60rem; }
.intro-block h2 { font-size: clamp(2.4rem, 4.6vw, 5rem); }
.range-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.mf-deck--range { height: clamp(340px, 54vh, 620px); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); outline: none; }
.mf-deck--range:focus-visible { outline: 1px dashed var(--line-strong); outline-offset: 6px; }
.mf-deck--range .mf-card { width: clamp(150px, 16vw, 280px); aspect-ratio: 3 / 4; margin-top: 0; top: 50%; transform-origin: 50% 50%; translate: 0 -50%; background: #f2f2f2; }
.mf-deck--range .mf-card .mf-media { object-fit: contain; background: var(--graphite); }
.mf-deck--range .mf-card.is-focus { box-shadow: 0 0 0 1px var(--accent), 0 40px 80px -40px #000; }
.range-info { display: grid; gap: 16px; }
.range-info h3 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
.range-info .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.section-head .step-btns { align-self: end; }
.discipline .hold-now { border-color: var(--line); }

/* footer */
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover { color: var(--text); }

/* static / mobile */
.is-static .scene--expand .stage { height: 78vh; min-height: 480px; }
.is-static .scene--expand .sxp-frame { clip-path: none; }
@media (max-width: 1100px) {
  .focus-card { left: auto; right: var(--gutter); width: min(26rem, 40vw); }
}
@media (max-width: 900px) {
  .orbit-layout, .range-layout, .therapies-grid, .sizes-foot, .twin { grid-template-columns: 1fr; }
  .orbit-layout .orbit { height: auto; aspect-ratio: 4 / 3; }
  .orbit-layout .orbit-item { width: 100%; }
  .film { position: static; max-width: 22rem; }
  .doors, .doors--4 { grid-template-columns: 1fr 1fr; }
  .door { aspect-ratio: 4 / 5; }
  .included { columns: 1; }
  .mf-deck--range { height: 60vw; min-height: 300px; }
  .mf-deck--range .mf-card { width: 34vw; }
  .explorer[data-portrait] { grid-template-columns: 1fr; }
  .explorer[data-portrait] .photo-frame { max-width: none; }
}
@media (max-width: 520px) { .doors, .doors--4 { grid-template-columns: 1fr; } .door { aspect-ratio: 16 / 11; } }
.door-go .arrow, .section-head .arrow, .sxp-after .arrow { width: 14px; height: 14px; }
.scene--interior .xfade::after { background: linear-gradient(90deg, rgba(11,11,12,.82), rgba(11,11,12,.35) 45%, transparent 70%); }
.sxp-title::before { content: ""; position: absolute; inset: 20% 10%; z-index: -1; background: radial-gradient(closest-side, rgba(11,11,12,.62), transparent); }
.is-cinematic .interior-intro { padding: 1.6rem 1.8rem; background: rgba(11,11,12,.72); box-shadow: 0 0 0 1px var(--line); }

/* v2.1 — frames always hold the photograph's own proportions (the crop outline and loupe depend on it) */
.is-cinematic .explorer .photo-frame { width: min(100%, calc((100vh - var(--header-h) - 10vh) * var(--ar))); height: auto; max-height: none; aspect-ratio: var(--ar); justify-self: center; }
.is-cinematic .explorer[data-portrait] .photo-frame { width: min(42vw, calc((100vh - var(--header-h) - 10vh) * var(--ar))); }
.photo-frame > img { object-fit: contain; }
.is-cinematic .interior-intro { left: auto; right: calc(var(--gutter) + 56px); top: calc(50% - 8rem); width: min(30rem, 36vw); margin: 0; }

/* chapter rail: only the ticks catch the pointer, so it never covers the controls beneath it */
.rail { pointer-events: none; }
.rail a { pointer-events: none; }
.rail .rail-tick { position: relative; pointer-events: auto; }
.rail .rail-tick::after { content: ""; position: absolute; inset: -9px -10px; }
.rail:hover a, .rail a:focus-visible { pointer-events: auto; }
.rail:hover { background: none; }
.rail:hover .rail-name { background: rgba(11,11,12,.86); padding: 4px 6px; }
@media (min-width: 901px) { main > .section, main > .scene .section-head { padding-right: max(var(--gutter), 104px); } }

/* ---------- five therapies, one chamber ---------- */
.scene--five .stage { background: var(--ink); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 96px); align-items: center; padding: calc(var(--header-h) + 3vh) max(var(--gutter), 104px) 5vh var(--gutter); }
.is-cinematic .scene--five { height: 460vh; }
.is-cinematic .scene--five .stage { position: sticky; top: 0; }
.five-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 65% at 38% 55%, color-mix(in srgb, var(--tone-now, #e08a4f) 20%, transparent), transparent 70%); transition: background 900ms var(--ease-ui); }
.five-copy { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 3vh; min-width: 0; }
.five-head { display: grid; gap: 12px; max-width: 44rem; }
.five-head h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
.five-list { list-style: none; margin: 0; padding: 0; position: relative; grid-row: 2; grid-column: 1; }
.five-item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(20px, 3vw, 56px); }
.five-num { font: 400 clamp(8rem, 26vh, 17rem)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--tone); text-shadow: 0 0 60px color-mix(in srgb, var(--tone) 35%, transparent); min-width: .62em; text-align: center; }
.five-text { display: grid; gap: 12px; }
.five-text .label { color: var(--tone); }
.five-text h3 { font-size: clamp(2rem, 3.6vw, 3.8rem); line-height: 1.02; max-width: 16ch; }
.five-text p:last-child { color: var(--muted); font-size: 1.125rem; max-width: 30rem; }
.five-sum { grid-row: 2; grid-column: 1; align-self: center; display: grid; gap: 16px; max-width: 40rem; }
.five-sum-title { font: 400 clamp(2.2rem, 4.4vw, 4.4rem)/1.02 var(--f-display); }
.five-sum-title em { font-style: italic; color: var(--gold); }
.five-sum .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.five-tally { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.five-tally span { display: grid; gap: 6px; padding-top: 10px; border-top: 2px solid var(--line-strong); font: 400 var(--t-label)/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: border-color var(--dur-ui) var(--ease-ui), color var(--dur-ui) var(--ease-ui); }
.five-tally b { font-weight: 400; color: var(--muted); }
.five-tally span.is-on { border-color: var(--tone); color: var(--text); }
.five-tally span.is-on b { color: var(--tone); }
.five-shots { position: relative; z-index: 1; width: min(38vw, 720px); height: min(66vh, 760px); }
.five-shot { position: absolute; inset: 0; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; opacity: 0; transform: scale(.96); transition: opacity 700ms var(--ease-ui), transform 900ms var(--ease-scene); }
.five-shot.is-on { opacity: 1; transform: none; }
.five-shot img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.five-shot--pair { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.five-shot--pair figcaption { grid-column: 1 / -1; }
.five-shot figcaption, .five-thumb figcaption { font: 400 var(--t-label)/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.five-thumb { display: none; margin: 12px 0 0; gap: 8px; }
.is-static .five-thumb { display: flex; flex-wrap: wrap; gap: 8px; max-width: 30rem; }
.is-static .five-thumb img { flex: 1 1 0; min-width: 0; width: 0; height: auto; }
.is-static .five-thumb figcaption { flex: 0 0 100%; text-align: left; }
.five-text { min-width: 0; }
.is-static .five-shots { display: none; }
.is-cinematic .five-item { position: absolute; inset: 0; }
.is-static .five-sum { grid-row: auto; }
.is-static .five-list { grid-row: auto; display: grid; }
.is-static .five-item { padding: 22px 0; border-top: 1px solid var(--line); grid-template-columns: 4.5rem minmax(0, 1fr); }
.is-static .five-num { font-size: 4.5rem; }
.is-static .five-tally, .is-static .five-glow { display: none; }
.is-static .scene--five .stage { height: auto; overflow: visible; grid-template-columns: minmax(0, 1fr) auto; align-items: start; padding: 96px var(--gutter) 48px; }
.is-static .five-copy { height: auto; grid-template-rows: none; gap: 28px; }
@media (max-width: 900px) {
  .is-static .scene--five .stage { grid-template-columns: 1fr; }
  .five-text h3 { font-size: 1.6rem; }
}
.therapies .section-head .seven { margin-top: 0; max-width: 32rem; }
.five-tally i { font-style: normal; }
.is-static .five-item { align-items: start; }

/* ---------- v2.4: brochure, size cards, tailored ---------- */
.btn-meta { font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .08em; color: var(--muted); margin-left: 6px; }
.five-sum .actions, .config-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.size-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin: 0 0 16px; }
.size-card { margin: 0; display: grid; gap: 12px; }
.size-card img { width: 100%; height: auto; aspect-ratio: 515 / 310; box-shadow: 0 0 0 1px var(--line); }
.size-card figcaption { display: grid; gap: 4px; color: var(--muted); font-size: .875rem; }
.size-card-name { font-family: var(--f-display); font-size: 1.35rem; color: var(--text); }
.size-card-total { font: 400 1rem/1.2 var(--f-mono); color: var(--gold); letter-spacing: .04em; }
.tailored { margin-top: clamp(56px, 8vh, 96px); display: grid; gap: 24px; }
.tailored .section-head { padding-right: 0; }
.tailored-title { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.1; }
.tailored-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.tailored-item { margin: 0; display: grid; gap: 10px; align-content: start; }
.tailored-item img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--line); }
.tailored-item figcaption { display: grid; gap: 4px; color: var(--muted); font-size: .875rem; }
.tailored-name { color: var(--text); font-size: 1rem; }
@media (max-width: 1100px) { .size-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tailored-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .size-cards, .tailored-grid { grid-template-columns: 1fr 1fr; } }
.tailored + .note { margin-top: 32px; }

/* booking card in the consultation chapter */
.booking { margin-top: 28px; display: grid; gap: 10px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.booking-note { color: var(--muted); font-size: .9375rem; }
.booking[hidden] { display: none; }

/* ---------- about ---------- */
.about-hero { padding-top: calc(var(--header-h) + 6vh); }
.about-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-head h1 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.02; margin: 12px 0 18px; }
.about-portrait { margin: 0; }
.about-portrait img, .founder-photo img { width: 100%; height: auto; box-shadow: 0 50px 100px -50px #000, 0 0 0 1px var(--line); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.founder-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.founder-copy { display: grid; gap: 18px; }
.founder-copy h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.founder-copy p { color: var(--muted); max-width: 46rem; }
.founder-quote { margin: 12px 0 0; padding-left: 22px; border-left: 1px solid var(--gold); display: grid; gap: 10px; }
.founder-quote p { font-family: var(--f-display); font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--text); font-style: italic; }
.founder-quote cite { font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.tags { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); padding: 8px 14px; font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.why-grid, .expect-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.why-grid li, .expect-grid li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.why-grid .num, .expect-grid .num { font: 400 var(--t-label)/1 var(--f-mono); color: var(--gold); letter-spacing: .1em; }
.why-grid h3, .expect-grid h3 { font-size: 1.25rem; }
.why-grid p, .expect-grid p { color: var(--muted); font-size: .9375rem; }
@media (max-width: 900px) {
  .about-head, .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { position: static; max-width: 22rem; }
  .why-grid, .expect-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .why-grid, .expect-grid { grid-template-columns: 1fr; } }

/* Cal.com booking embed */
.booking-section .lede { max-width: 42rem; }
.cal-embed { position: relative; width: 100%; min-height: 680px; background: var(--graphite); box-shadow: 0 0 0 1px var(--line); border-radius: 2px; overflow: hidden; }
.cal-embed iframe { width: 100%; height: 100%; min-height: 680px; border: 0; display: block; }
.booking-section .note { margin-top: 14px; }
@media (max-width: 700px) { .cal-embed, .cal-embed iframe { min-height: 760px; } }
.cal-embed > * { width: 100%; }
.cal-fallback { display: grid; gap: 14px; place-content: center; justify-items: center; min-height: 680px; text-align: center; color: var(--muted); padding: 24px; }

/* ---------- credibility bar ---------- */
.trust { padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.trust-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 48px); }
.trust-grid li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.trust-fig { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; }
.trust-txt { color: var(--muted); font-size: .9375rem; }
.trust-src { font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ---------- process ---------- */
.process-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); }
.process-grid li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.process-grid .num { font: 400 var(--t-label)/1 var(--f-mono); color: var(--gold); letter-spacing: .12em; }
.process-grid h3 { font-size: 1.25rem; }
.process-grid p { color: var(--muted); font-size: .9375rem; }

/* ---------- client quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); }
.quote { margin: 0; display: grid; gap: 16px; align-content: start; padding: clamp(24px, 2.4vw, 36px); background: var(--graphite); box-shadow: 0 0 0 1px var(--line); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--f-display); font-style: italic; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.45; }
.quote figcaption { display: grid; gap: 4px; color: var(--muted); font-size: .875rem; }
.quote-who { color: var(--text); font: 400 var(--t-label)/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- research ---------- */
.science-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); margin: 0 0 24px; }
.science-grid > div { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.science-grid dt { font-family: var(--f-display); font-size: 1.2rem; }
.science-grid dd { margin: 0; color: var(--muted); font-size: .9375rem; }
.science-note { max-width: 52rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; max-width: 62rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 20px; align-items: baseline; justify-content: space-between; padding: 22px 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--f-mono); color: var(--gold); font-size: 1.1rem; transition: transform var(--dur-ui) var(--ease-ui); }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover, .faq-item summary:focus-visible { color: var(--gold); }
.faq-a { padding: 0 0 22px; max-width: 52rem; }
.faq-a p { color: var(--muted); }
@media (max-width: 900px) {
  .trust-grid, .process-grid, .quote-grid, .science-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-grid, .process-grid, .quote-grid, .science-grid { grid-template-columns: 1fr; }
}

/* ---------- legal & 404 ---------- */
.legal { padding-top: var(--header-h); }
.legal-body { max-width: 58rem; }
.legal-body h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); margin: 10px 0 18px; }
.legal-body h2 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); margin: 36px 0 10px; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { padding-left: 1.1rem; display: grid; gap: 8px; }
.legal-body strong { color: var(--text); font-weight: 400; }
.legal-body a { color: var(--gold); }
.notfound { min-height: 62vh; display: grid; align-content: center; max-width: 58rem; }
.notfound h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 10px 0 16px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- all systems ---------- */
.systems { padding-top: var(--header-h); }
.sys-head { max-width: 62rem; }
.sys-head h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); margin: 10px 0 18px; }
.sys-body { display: grid; gap: clamp(56px, 8vh, 96px); padding-top: 0; }
.sys-group .section-head { margin-bottom: 24px; }
.sys-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.sys-card { display: grid; gap: 6px; text-decoration: none; color: inherit; padding-bottom: 18px; border-bottom: 1px solid var(--line); transition: border-color var(--dur-ui) var(--ease-ui); }
.sys-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; box-shadow: 0 0 0 1px var(--line); }
.sys-name { font-family: var(--f-display); font-size: 1.3rem; }
.sys-maker { font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sys-line { color: var(--muted); font-size: .9375rem; }
.sys-price { font: 400 .9375rem/1 var(--f-mono); color: var(--gold); margin-top: 4px; }
.sys-card:hover, .sys-card:focus-visible { border-color: var(--gold); }
.sys-card:hover .sys-name { color: var(--gold); }

/* ---------- floating contact ---------- */
.float-cta { position: fixed; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vh, 24px); z-index: 60; display: grid; gap: 10px; justify-items: end; }
.float-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; min-height: 44px; text-decoration: none; color: var(--text); background: rgba(11,11,12,.86); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -24px #000; font: 400 var(--t-label)/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; transition: color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui), transform var(--dur-ui) var(--ease-ui); }
.float-btn:hover, .float-btn:focus-visible { color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 40px -24px #000; transform: translateY(-1px); }
.float-wa svg { color: #25d366; }
@media (max-width: 700px) {
  .float-cta { right: 0; left: 0; bottom: 0; grid-template-columns: 1fr 1fr; gap: 0; justify-items: stretch; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .float-btn { justify-content: center; background: rgba(11,11,12,.96); box-shadow: 0 -1px 0 var(--line); padding: 14px 10px; }
  .float-btn span { font-size: .6875rem; }
  .progress { bottom: 58px; }
}
@media print { .float-cta { display: none; } }
/* keep the orbit controls clear of the floating contact buttons */
.orbit-side .orbit-controls { justify-content: flex-start; gap: 28px; }
@media (max-width: 700px) { body { padding-bottom: 58px; } }

/* ---------- installation requirements ---------- */
.install-head { max-width: 62rem; }
.install-head h1 { font-size: clamp(2.2rem, 4.2vw, 4rem); margin: 10px 0 18px; }
.install-body { display: grid; gap: clamp(40px, 6vh, 72px); padding-top: 0; }
.install-group h2 { font-size: clamp(1.4rem, 2.2vw, 2.2rem); margin-bottom: 18px; }
.install-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); margin: 0; }
.install-list > div { display: grid; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); align-content: start; }
.install-list dt { font: 400 var(--t-label)/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.install-list dd { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .install-list { grid-template-columns: 1fr; } }
.cal-ask { display: grid; gap: 14px; place-content: center; justify-items: center; text-align: center; min-height: 680px; padding: 24px; color: var(--muted); }
.cal-ask p { max-width: 30rem; }
/* fallback if color-mix is unsupported */
.five-glow { background: radial-gradient(55% 65% at 38% 55%, rgba(224,138,79,.16), transparent 70%); }

/* ---------- one session ---------- */
.session-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 44px); }
.session-grid li { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); }
.session-grid .num { font: 400 1rem/1 var(--f-mono); color: var(--gold); letter-spacing: .04em; }
.session-grid h3 { font-size: 1.25rem; }
.session-grid p { color: var(--muted); font-size: .9375rem; }
.session .note { margin-top: 24px; }
@media (max-width: 900px) { .session-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .session-grid { grid-template-columns: 1fr; } }
/* mobile menu: opaque, and the configurator stays in the list */
@media (max-width: 1180px) { .nav .nav-config { display: none; } }
@media (max-width: 900px) {
  .nav { background: #0b0b0c; }
  .nav .nav-config { display: flex; color: var(--gold); border-bottom: 1px solid var(--line); padding: 14px 0; min-height: 44px; }
  .nav .nav-config::before { display: none; }
}

/* ---------- documentation list ---------- */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 56px); max-width: 72rem; }
.dl-list a { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color var(--dur-ui) var(--ease-ui); }
.dl-list a:hover, .dl-list a:focus-visible { border-color: var(--gold); }
.dl-list a:hover .dl-name { color: var(--gold); }
.dl-name { font-family: var(--f-display); font-size: 1.25rem; }
.dl-note { color: var(--muted); font-size: .9375rem; }
@media (max-width: 800px) { .dl-list { grid-template-columns: 1fr; } }

/* ---------- print: the installation and legal pages get printed, so make them readable ---------- */
@media print {
  :root { --ink: #fff; --text: #111; --muted: #444; --line: #ccc; --line-strong: #999; --gold: #7a5c16; --graphite: #fff; }
  html, body { background: #fff !important; color: #111 !important; }
  .site-header, .rail, .progress, .float-cta, .skip, .scene--showroom, .scene--interior, .scene--five, .scene--depth, .scene--hold, .doorways, .consult, .site-footer nav, video { display: none !important; }
  .section { padding: 12pt 0 !important; break-inside: avoid; }
  h1, h2, h3 { color: #111 !important; }
  p, li, dd, td, th { color: #222 !important; }
  a { color: #111 !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
  .install-list > div, .spec-table td, .spec-table th { border-color: #ccc !important; }
  img { max-width: 100% !important; }
}

/* ---------------------------------------------------------------- Guides */
.guides-grid { display: grid; gap: clamp(12px, 1.6vw, 28px); grid-template-columns: repeat(2, 1fr); }
.guide-card { position: relative; display: grid; grid-template-columns: 34% 1fr; align-items: stretch; gap: 0;
  background: var(--graphite); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: border-color var(--dur-ui) var(--ease-ui), box-shadow var(--dur-ui) var(--ease-ui); }
.guide-card:hover, .guide-card:focus-visible { border-color: var(--line-strong); box-shadow: 0 0 0 1px var(--gold-soft), 0 30px 60px -40px #000; }
.guide-media { position: relative; overflow: hidden; min-height: 100%; }
.guide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-scene) var(--ease-scene); }
.guide-card:hover .guide-media img { transform: scale(1.04); }
.guide-copy { display: grid; align-content: start; gap: 8px; padding: clamp(1.1rem, 1.8vw, 1.9rem); }
.guide-title { font-family: var(--f-display); font-size: clamp(1.25rem, 1.8vw, 1.9rem); line-height: 1.1; }
.guide-sub { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.guide-card .door-go { margin-top: 4px; }

.guide-head .crumbs, .product-hero .crumbs { margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--gold); }
.guide-head { max-width: 62rem; }
.guide-head { padding-bottom: clamp(1rem, 2vw, 2rem); }
.guide-head h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); margin-bottom: 1.1rem; }
.guide-head .lede { max-width: 42rem; }
.guide-head .note { margin-top: 1.1rem; }
.guide-body { padding-top: 0; }
.guide-body { display: grid; grid-template-columns: minmax(200px, 16rem) minmax(0, 46rem); gap: clamp(24px, 5vw, 92px); align-items: start; }
.guide-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: .8rem;
  border-left: 1px solid var(--line); padding-left: 1.1rem; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; counter-reset: toc; }
.guide-toc li { counter-increment: toc; font-size: .8125rem; line-height: 1.4; }
.guide-toc li::before { content: counter(toc, decimal-leading-zero) " "; font-family: var(--f-mono); color: var(--gold); font-size: .6875rem; }
.guide-toc a { color: var(--muted); text-decoration: none; }
.guide-toc a:hover, .guide-toc a:focus-visible { color: var(--text); }
.guide-copy-col { display: grid; gap: clamp(2rem, 3.4vw, 3.4rem); min-width: 0; }
.guide-section { min-width: 0; }
.guide-section .spec-table-wrap { max-width: 100%; overflow-x: auto; }
.guide-section h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.12; margin: 0 0 .9rem; scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.guide-section p { margin: 0 0 1rem; line-height: 1.7; color: #d9d3c8; max-width: 44rem; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-section strong { color: var(--text); font-weight: 400; }
.guide-cta { margin-top: 1.2rem !important; }
.guide-sources ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.guide-sources li { font-size: .875rem; color: var(--muted); line-height: 1.5; padding-left: 1rem; position: relative; }
.guide-sources li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 1px; background: var(--gold); }
.guide-sources a { color: var(--muted); }
.guide-sources a:hover { color: var(--text); }
@media (max-width: 900px) {
  .guides-grid { grid-template-columns: 1fr; }
  .guide-card { grid-template-columns: 1fr; }
  .guide-media { aspect-ratio: 16 / 9; min-height: 0; }
  .guide-body { grid-template-columns: minmax(0, 1fr); }
  .guide-toc { position: static; }
}
@media print {
  .guide-toc, .guide-card, .guides-grid-wrap { display: none; }
  .guide-body { display: block; }
}
.spec-table-wrap:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
