/* Hale Clinic — Immersive cinematic experience */
:root {
  --bg: #070908;
  --bg-elev: #101411;
  --ink: #f4f0e8;
  --mute: rgba(244, 240, 232, 0.68);
  --accent: #c9a66b;
  --accent-soft: rgba(201, 166, 107, 0.18);
  --line: rgba(244, 240, 232, 0.14);
  --line-strong: rgba(201, 166, 107, 0.35);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body.immersive {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  overflow-x: hidden;
  cursor: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.05;
}

p {
  margin: 0;
  color: var(--mute);
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 5000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #111;
}
.skip-link:focus {
  top: 1rem;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.85rem;
  background: #070908;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader__mark {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent);
}
.loader__word {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  font-size: 0.95rem;
  color: #fff;
  margin: 0 !important;
  padding-left: 0.4em;
}
.loader__vol {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
  margin: 0 !important;
}
.loader__bar {
  width: 4.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 0.35rem;
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--accent);
  animation: loaderSweep 0.9s ease-in-out infinite;
}
@keyframes loaderSweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}
body.is-loading {
  overflow: hidden;
}
body.is-ready .portal-frame {
  animation: portalIn 1.15s var(--ease) both;
}
@keyframes portalIn {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, -40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Soft cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 42vw;
  height: 42vw;
  max-width: 520px;
  max-height: 520px;
  margin: -21vw 0 0 -21vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 2600;
  opacity: 0;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
@media (pointer: coarse) {
  .cursor-glow {
    display: none;
  }
}

/* Floating edition plates sit above scenes, below chrome */
/* (ed-layer defined near folio) */

/* Cinema letterbox */
.letterbox {
  position: fixed;
  inset: 0;
  z-index: 2750;
  pointer-events: none;
}
.letterbox__bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  background: #000;
  will-change: height;
  transition: none;
}
.letterbox__bar--top {
  top: 0;
}
.letterbox__bar--bot {
  bottom: 0;
}

/* Anamorphic light leak — tied to scroll velocity in JS */
.light-leak {
  position: fixed;
  inset: -10%;
  z-index: 2650;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(
      115deg,
      transparent 35%,
      rgba(201, 166, 107, 0.12) 48%,
      rgba(255, 220, 170, 0.08) 52%,
      transparent 65%
    );
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

/* Hard cut flash between major chapters */
.cinema-flash {
  position: fixed;
  inset: 0;
  z-index: 2805;
  pointer-events: none;
  background: #f4f0e8;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.12s linear;
}
.cinema-flash.is-on {
  opacity: 0.18;
}

/* In-film title card */
.title-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2810;
  transform: translate(-50%, -50%) scale(0.96);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
}
.title-card.is-show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.title-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.title-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-style: italic;
  color: #fff;
  letter-spacing: 0.06em;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.55);
}

/* Scanline film texture (very light) */
body.immersive::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2780;
  pointer-events: none;
  opacity: 0.035;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.35) 2px,
    rgba(0, 0, 0, 0.35) 3px
  );
}
@media (prefers-reduced-motion: reduce) {
  body.immersive::after,
  .letterbox,
  .light-leak,
  .cinema-flash,
  .title-card {
    display: none !important;
  }
  .grain {
    animation: none !important;
  }
  .portal-rays,
  .portal-dust,
  .room-layer img {
    animation: none !important;
  }
}

/* Chapter dots */
.chapters {
  position: fixed;
  left: clamp(0.75rem, 2vw, 1.35rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}
.chapters__dot {
  pointer-events: auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 232, 0.35);
  background: transparent;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease), background 0.35s, border-color 0.35s;
  position: relative;
}
.chapters__dot span {
  position: absolute;
  left: 1.1rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
  pointer-events: none;
}
.chapters__dot:hover span,
.chapters__dot.is-active span {
  opacity: 0;
  transform: translateX(-6px);
}
.chapters__dot:hover span {
  opacity: 0.7;
  transform: translateX(0);
}
.chapters__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.2);
  box-shadow: none;
}
@media (max-width: 900px) {
  .chapters {
    display: none;
  }
}

/* Editorial custom cursor */
body.cursor-on,
body.cursor-on * {
  cursor: none !important;
}
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 7000; /* above menu (3500) so it never hides under the overlay */
  width: 0;
  height: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s;
}
body.cursor-on .cursor {
  opacity: 1;
}
/* Menu: difference blend can vanish on near-black — solid cursor instead */
body.menu-open .cursor {
  mix-blend-mode: normal;
}
body.menu-open .cursor__ring {
  border-color: rgba(201, 166, 107, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
body.menu-open .cursor__dot {
  background: var(--accent);
}
body.menu-open .cursor__label {
  color: var(--accent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.cursor__ring {
  position: absolute;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s;
}
.cursor__dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__label {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s;
}
.cursor.is-hover .cursor__ring {
  width: 4.2rem;
  height: 4.2rem;
  background: rgba(255, 255, 255, 0.08);
}
.cursor.is-hover .cursor__label {
  opacity: 1;
}
.cursor.is-down .cursor__ring {
  width: 1.6rem;
  height: 1.6rem;
}
@media (pointer: coarse) {
  .cursor {
    display: none;
  }
  body.cursor-on,
  body.cursor-on * {
    cursor: auto !important;
  }
}

/* Folio edge */
.folio {
  position: fixed;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 2900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.38);
  pointer-events: none;
  mix-blend-mode: normal;
  opacity: 0.65;
}

/* Editorial clutter removed — cover is clean full-bleed only */
@media (prefers-reduced-motion: reduce) {
  .marginalia {
    opacity: 1;
  }
}

/* Manifesto marginalia */
.marginalia {
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(11rem, 22vw);
  z-index: 6;
  display: grid;
  gap: 1rem;
}
.marginalia p {
  margin: 0 !important;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(201, 166, 107, 0.35);
  font-size: 0.78rem;
  color: rgba(244, 240, 232, 0.45);
  line-height: 1.45;
}
.marginalia span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
@media (max-width: 900px) {
  .marginalia {
    display: none;
  }
}

/* Deck badge on treatments */
.deck-badge {
  position: absolute;
  top: 6rem;
  right: clamp(1.25rem, 4vw, 3rem);
  text-align: right;
  z-index: 8;
}
.deck-badge span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
}
.deck-badge strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 500;
}

.orbit-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  margin-left: 0;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
  z-index: 5;
  will-change: transform, opacity;
  white-space: nowrap;
  transform: translateX(-50%);
}

.marginalia {
  will-change: transform, opacity;
  opacity: 0;
}

.bridge__card {
  position: relative;
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.bridge__idx {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.08em;
}
.bridge__vol {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 16rem);
  letter-spacing: 0.2em;
  color: rgba(244, 240, 232, 0.03);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.bridge__inner {
  position: relative;
  z-index: 1;
}

/* Folio edge (existing continues) */
.folio__sep {
  width: 1.5rem;
  height: 1px;
  background: rgba(244, 240, 232, 0.35);
}
.folio__page {
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}
@media (max-width: 700px) {
  .folio {
    display: none;
  }
}

.hud__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.hud__issue {
  margin: 0 !important;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
}
@media (max-width: 700px) {
  .hud__issue {
    display: none;
  }
}

[data-magnetic] {
  transition: transform 0.35s var(--ease);
  will-change: transform;
}

/* Film grain + vignette (fixed overlay — not empty black) */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2800;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  mix-blend-mode: overlay;
  will-change: opacity;
  animation: grainShift 0.5s steps(2) infinite;
}
@keyframes grainShift {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1.5%, 1%);
  }
  50% {
    transform: translate(1%, -1.2%);
  }
  75% {
    transform: translate(-0.8%, -0.5%);
  }
  100% {
    transform: translate(0.5%, 1.5%);
  }
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2700;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.62) 100%);
  will-change: opacity;
}

/* Progress — GPU scaleX */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), #f4f0e8);
  z-index: 4000;
  pointer-events: none;
  will-change: transform;
}

/* HUD */
.hud {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  background: linear-gradient(to bottom, rgba(7, 9, 8, 0.75) 0%, transparent 100%);
  pointer-events: none;
}
.hud a,
.hud button {
  pointer-events: auto;
}
.hud__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.hud__mark {
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0;
}
.hud__word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.38em;
  font-weight: 600;
  padding-left: 0.1rem;
}
.hud__hint {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.5s var(--ease);
  font-weight: 400;
}
.hud__hint-line {
  width: 2rem;
  height: 1px;
  background: var(--accent);
  animation: hintPulse 2.4s ease-in-out infinite;
}
.hud__hint.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@keyframes hintPulse {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.5;
  }
  50% {
    transform: scaleX(1.4);
    opacity: 1;
  }
}
.hud__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hud__book {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.1rem;
  transition: border-color 0.3s;
}
.hud__book:hover {
  border-bottom-color: var(--accent);
}
.menu-btn {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  transition: border-color 0.3s, color 0.3s;
}
.menu-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Menu */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 3500;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(201, 166, 107, 0.08), transparent 50%),
    rgba(6, 8, 7, 0.97);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.site-menu[hidden] {
  display: none !important;
}
.site-menu__frame {
  text-align: center;
  max-width: 28rem;
}
.site-menu__tag {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem !important;
}
.site-menu ul {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.site-menu li + li {
  margin-top: 0.35rem;
}
.site-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  transition: color 0.25s;
}
.site-menu a em {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 500;
}
.site-menu a:hover {
  color: var(--accent);
}
.site-menu__cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-ui) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg) !important;
  background: var(--ink);
  padding: 0.9rem 1.4rem;
  transition: background 0.3s;
}
.site-menu__cta:hover {
  background: var(--accent) !important;
  color: #111 !important;
}
.site-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  border: 1px solid var(--line);
  padding: 0.5rem 0.85rem;
}
body.menu-open {
  overflow: hidden;
}

/* ——— Scenes ——— */
.scene {
  position: relative;
  height: 300vh;
  contain: layout style;
}
.scene--words {
  height: 220vh;
}
.scene--cards {
  height: 360vh;
}
.scene--orbit {
  height: 280vh;
}
.scene--path {
  height: 340vh;
}
.scene--rooms {
  height: 300vh;
}
.scene--spread {
  height: 260vh;
}

.scene__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 42%;
  transform: translateZ(0);
  contain: layout;
  will-change: transform;
}
.scene__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* Scene chrome: index + meter + location */
.scene-chrome {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.scene-chrome__num,
.scene-chrome__loc {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
  font-weight: 400;
}
.scene-chrome__num {
  left: clamp(0.75rem, 2vw, 1.4rem);
  bottom: 5.5rem;
  transform: rotate(180deg);
}
.scene-chrome__loc {
  right: clamp(0.75rem, 2vw, 1.4rem);
  top: 5.5rem;
}
.scene-chrome--on-media .scene-chrome__num,
.scene-chrome--on-media .scene-chrome__loc {
  color: rgba(255, 255, 255, 0.55);
}
.scene-chrome--light .scene-chrome__num,
.scene-chrome--light .scene-chrome__loc {
  color: rgba(244, 240, 232, 0.35);
}

.scene__meter {
  position: absolute;
  right: clamp(1rem, 2.5vw, 1.6rem);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.scene__meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), #f4f0e8);
  transform: scaleY(0);
  transform-origin: top center;
  will-change: transform;
}

.scene-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.scene-footnote {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 28rem);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 232, 0.4);
  z-index: 5;
}

/* Portal — clean full-bleed cover */
.depth {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  overflow: hidden;
  background: #0a0c0b;
}
.depth__layer {
  position: absolute;
  inset: -6%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.depth__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: translateZ(0);
  pointer-events: none;
}
.depth__layer--far {
  inset: -12%;
  opacity: 0.55;
}
.depth__layer--far img {
  filter: brightness(0.35) saturate(0.65) blur(18px);
  transform: scale(1.08);
}
.depth__layer--mid {
  inset: -3%;
}
.depth__layer--mid img {
  filter: brightness(0.52) saturate(0.78) contrast(1.04);
}
.depth__layer--near {
  inset: 0;
  pointer-events: none;
}
.portal-veil {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 55% 50% at 50% 42%, rgba(7, 9, 8, 0.15) 0%, rgba(7, 9, 8, 0.55) 70%, rgba(7, 9, 8, 0.82) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.45) 0%, transparent 32%, transparent 55%, rgba(7, 9, 8, 0.88) 100%);
}
.depth__layer--hud {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem 5rem;
  pointer-events: none;
}
.portal-frame {
  position: relative;
  text-align: center;
  max-width: min(92vw, 36rem);
  background: none;
  border: 0;
  padding: 0;
}
.corner {
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.7;
}
.corner--tl {
  top: 0.6rem;
  left: 0.6rem;
  border-width: 1px 0 0 1px;
}
.corner--tr {
  top: 0.6rem;
  right: 0.6rem;
  border-width: 1px 1px 0 0;
}
.corner--bl {
  bottom: 0.6rem;
  left: 0.6rem;
  border-width: 0 0 1px 1px;
}
.corner--br {
  bottom: 0.6rem;
  right: 0.6rem;
  border-width: 0 1px 1px 0;
}
.portal-brand,
.portal-title,
.portal-sub {
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.portal-brand {
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 16vw, 11rem);
  letter-spacing: 0.28em;
  margin: 0;
  color: #fff;
  font-weight: 500;
  line-height: 0.88;
  text-indent: 0.28em;
  text-shadow: 0 8px 60px rgba(0, 0, 0, 0.45);
}
.portal-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  color: rgba(244, 240, 232, 0.92);
  max-width: 18ch;
  margin: 1.35rem auto 0.75rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.portal-sub {
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: rgba(244, 240, 232, 0.55);
  max-width: 32ch;
  margin: 0 auto;
  line-height: 1.55;
  text-transform: uppercase;
  font-weight: 400;
}
/* Unused legacy portal chrome (hidden if present) */
.portal-eyebrow,
.portal-rule,
.portal-meta,
.portal-ambient,
.portal-rays,
.portal-dust,
.stamp,
.rule-3d,
.ed-layer,
.index-3d {
  display: none !important;
}
.scene--portal .scene-chrome {
  display: none;
}
.scene--portal .folio {
  opacity: 0.55;
}
@keyframes raySpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dustFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, -3%, 0) scale(1.05);
  }
}
@keyframes orbDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  z-index: 25;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: opacity 0.45s ease;
}
.scroll-cue__label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
}
.scroll-cue__line {
  display: block;
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollCue 2s ease-in-out infinite;
}
@keyframes scrollCue {
  0% {
    transform: scaleY(0.35);
    opacity: 0;
    transform-origin: top;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
    transform-origin: top;
  }
}

/* Belief — calm statement ladder (stable, no spin) */
.scene--words .scene__sticky {
  background: #060807;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.belief-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.belief-bg__photo {
  position: absolute;
  inset: -4%;
  background:
    url("https://images.unsplash.com/photo-1616394584738-fc6e612e71b9?auto=format&fit=crop&w=1800&q=80")
      center 25% / cover no-repeat;
  filter: brightness(0.32) saturate(0.6);
  transform: scale(1.04);
  will-change: transform;
}
.belief-bg__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(7, 9, 8, 0.25) 0%, rgba(7, 9, 8, 0.72) 72%),
    linear-gradient(180deg, rgba(6, 8, 7, 0.55) 0%, transparent 30%, transparent 60%, rgba(6, 8, 7, 0.85) 100%);
}
.belief {
  position: relative;
  z-index: 2;
  width: min(92vw, 40rem);
  text-align: center;
  padding: 5rem 1rem 4rem;
}
.belief__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding: 0 0.25rem;
}
.belief__kicker {
  margin: 0 !important;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.belief__index {
  margin: 0 !important;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: rgba(244, 240, 232, 0.45);
}
.belief__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: min(48vh, 380px);
  justify-content: center;
}
.belief__line {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.2vw, 3.35rem);
  line-height: 1.18;
  font-weight: 500;
  color: #fff;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  opacity: 0.18;
  /* letter-spacing stays static — animating it causes layout jitter */
  letter-spacing: 0.01em;
}
.belief__line--accent {
  color: #e2c48a;
  font-style: italic;
  font-weight: 400;
}
.belief__line.is-on {
  text-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.belief__note {
  margin: 2.5rem 0 0 !important;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
}

/* legacy manifesto hooks (unused) */
.words-bg,
.words-stage,
.words-quote,
.word-line,
.marginalia {
  display: none !important;
}

/* Treatment cards — lush deck */
.scene--cards .scene__sticky {
  background:
    radial-gradient(ellipse 90% 55% at 15% 0%, rgba(201, 166, 107, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 80%, rgba(60, 90, 75, 0.22), transparent 50%),
    linear-gradient(180deg, #0c100e, #070908 70%);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cards-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cards-bg__glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 166, 107, 0.16), transparent 65%);
}
.cards-bg__wash {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 240, 232, 0.055) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 78%);
  opacity: 0.65;
}
.cards-bg__mark {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 18rem);
  letter-spacing: 0.18em;
  color: rgba(244, 240, 232, 0.035);
  white-space: nowrap;
  pointer-events: none;
}
.cards-space {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  perspective: 1600px;
  padding: 5.5rem 1rem 2.5rem;
  z-index: 2;
}
.cards-head {
  text-align: center;
  margin-bottom: 1.25rem;
  max-width: 30rem;
}
.cards-title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  color: #fff;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.card-track {
  position: relative;
  width: min(92vw, 440px);
  height: min(62vh, 560px);
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
}
.float-card {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 166, 107, 0.28);
  background: #141812;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1.25fr 1fr;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  opacity: 0;
  visibility: hidden;
  contain: layout paint style;
}
.float-card__media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #0a0c0a;
}
.float-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.95) contrast(1.05);
  transition: transform 1.2s var(--ease);
}
.float-card.is-focus .float-card__media img {
  transform: scale(1.06);
}
.float-card__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 9, 8, 0.7);
  border: 1px solid rgba(201, 166, 107, 0.45);
  padding: 0.35rem 0.6rem;
  backdrop-filter: blur(6px);
}
.float-card__body {
  padding: 1.2rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(201, 166, 107, 0.2);
  background: linear-gradient(180deg, #171b16, #101410);
}
.float-card__num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
}
.float-card h2 {
  font-size: 1.85rem;
  margin: 0.1rem 0 0.5rem;
  color: #fff;
  font-weight: 500;
}
.float-card p {
  font-size: 0.92rem;
  flex: 1;
  line-height: 1.5;
  color: rgba(244, 240, 232, 0.72);
}
.float-card__link {
  margin-top: 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e2c48a;
  font-weight: 500;
}
.float-card:hover,
.float-card.is-focus {
  border-color: rgba(201, 166, 107, 0.65);
}
.float-card.is-focus {
  box-shadow:
    0 55px 130px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(201, 166, 107, 0.35),
    0 0 60px rgba(201, 166, 107, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.cards-focus {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 196, 138, 0.85);
  min-height: 1.2em;
  transition: opacity 0.3s;
}
.cards-rail {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.15rem;
  justify-content: center;
}
.cards-rail i {
  width: 2rem;
  height: 2px;
  background: rgba(244, 240, 232, 0.15);
  transition: background 0.35s, transform 0.35s, width 0.35s;
}
.cards-rail i.is-on {
  background: var(--accent);
  width: 2.6rem;
  transform: scaleY(1.8);
}
.cards-aside {
  margin-top: 1rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.38);
  text-align: center;
}
.deck-badge {
  position: absolute;
  top: 5.5rem;
  right: clamp(1.25rem, 4vw, 3rem);
  text-align: right;
  z-index: 8;
}
.deck-badge span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
}
.deck-badge strong {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* Doctor orbit — portrait stage */
.scene--orbit .scene__sticky {
  background:
    radial-gradient(ellipse 80% 70% at 22% 45%, rgba(201, 166, 107, 0.16), transparent 58%),
    radial-gradient(ellipse 40% 50% at 90% 20%, rgba(80, 100, 90, 0.12), transparent 50%),
    #080a08;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.orbit-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit-bg__orb {
  position: absolute;
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  left: 8%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.2), transparent 70%);
  filter: blur(10px);
  animation: orbitOrb 10s ease-in-out infinite alternate;
}
@keyframes orbitOrb {
  to {
    transform: translate(20px, 16px) scale(1.08);
  }
}
.orbit-bg__mark {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 20vw, 16rem);
  color: rgba(244, 240, 232, 0.035);
  line-height: 0.8;
  letter-spacing: 0.04em;
}
.orbit {
  width: min(100% - 2rem, 1040px);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  z-index: 2;
  padding: 0 0.5rem;
  perspective: 1400px;
}
.orbit__plane {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  transform-style: preserve-3d;
}
.orbit__frame {
  position: relative;
  transform: translateZ(50px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}
.orbit__shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 40%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
}
.orbit__photo {
  width: 100%;
  height: min(72vh, 580px);
  object-fit: cover;
  border: 1px solid rgba(201, 166, 107, 0.35);
  filter: brightness(0.95) contrast(1.06) saturate(0.92);
  display: block;
}
.orbit__caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.15rem 0;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 196, 138, 0.65);
}
.orbit__copy {
  transform: translateZ(90px);
  padding: 0.5rem 0;
}
.orbit__copy h2 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-style: italic;
  color: #fff;
  margin-bottom: 0.95rem;
  font-weight: 500;
  line-height: 1.05;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.orbit__lede {
  margin-bottom: 1.35rem;
  max-width: 30ch;
  font-size: 1.1rem;
  color: rgba(244, 240, 232, 0.78);
  line-height: 1.55;
}
.orbit__list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  max-width: 32ch;
}
.orbit__list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.2rem;
  border-top: 1px solid rgba(201, 166, 107, 0.22);
  font-size: 0.95rem;
  color: rgba(244, 240, 232, 0.72);
  line-height: 1.45;
}
.orbit__list li:last-child {
  border-bottom: 1px solid rgba(201, 166, 107, 0.22);
}
.orbit__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 0.45rem;
  height: 1px;
  background: var(--accent);
}

/* Path — dramatic flip cards */
.scene--path .scene__sticky {
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(201, 166, 107, 0.14), transparent 58%),
    radial-gradient(ellipse 40% 40% at 80% 90%, rgba(90, 70, 50, 0.12), transparent 50%),
    linear-gradient(170deg, #11150f, #070908 65%);
  display: grid;
  place-items: center;
  padding: 5rem 1rem 2rem;
  overflow: hidden;
}
.path-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.path-bg__glow {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 240, 232, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 18%, transparent 72%);
}
.path-bg__line {
  position: absolute;
  left: 50%;
  top: 28%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201, 166, 107, 0.35), transparent);
  transform: translateX(-50%);
  opacity: 0.55;
}
.path-3d {
  width: min(100%, 560px);
  text-align: center;
  z-index: 2;
}
.path-head {
  margin-bottom: 0.25rem;
}
.path-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: #fff;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.path-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.path-dots i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: 1px solid rgba(244, 240, 232, 0.35);
  transition: background 0.35s, border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.path-dots i.is-on {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 16px rgba(201, 166, 107, 0.45);
}
.path-stack {
  position: relative;
  height: min(54vh, 430px);
  margin-top: 1.9rem;
  transform-style: preserve-3d;
  perspective: 1200px;
}
.path-panel {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.path-panel__inner {
  height: 100%;
  border: 1px solid rgba(201, 166, 107, 0.32);
  background:
    linear-gradient(165deg, rgba(32, 36, 28, 0.98), rgba(12, 14, 12, 0.99));
  padding: 2.4rem 2.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.path-panel em {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--accent);
  font-size: 2.4rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(201, 166, 107, 0.35);
}
.path-panel h3 {
  font-size: 2.9rem;
  color: #fff;
  margin-bottom: 0.9rem;
  font-weight: 500;
  font-style: italic;
}
.path-panel p {
  max-width: 30ch;
  font-size: 1rem;
  color: rgba(244, 240, 232, 0.72);
  line-height: 1.55;
}

/* Rooms — immersive stills */
.scene--rooms .scene__sticky {
  background: #000;
  overflow: hidden;
}
.rooms-fly {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.room-layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.room-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.62) saturate(0.92) contrast(1.08);
  transform: scale(1.1);
  will-change: transform;
  animation: kenRooms 20s ease-in-out infinite alternate;
}
@keyframes kenRooms {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.18) translate3d(-2%, 1.2%, 0);
  }
}
.room-layer__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
}
.room-layer__label {
  position: absolute;
  left: clamp(1.5rem, 5vw, 4rem);
  bottom: clamp(2rem, 6vw, 3.5rem);
  max-width: min(90vw, 28rem);
  z-index: 2;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(201, 166, 107, 0.45);
}
.room-layer__idx {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
  font-weight: 500;
}
.room-layer__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: #fff;
  margin-bottom: 0.55rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.05;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.room-layer__desc {
  display: block;
  font-size: 1.02rem;
  color: rgba(244, 240, 232, 0.78);
  line-height: 1.5;
  max-width: 28ch;
}

/* Editorial 3D spread */
.scene--spread .scene__sticky {
  background: #080a08;
  display: grid;
  place-items: center;
  perspective: 1800px;
  overflow: hidden;
}
.spread-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.spread-bg__photo {
  position: absolute;
  inset: 0;
  background:
    url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=70")
      center / cover no-repeat;
  filter: brightness(0.22) saturate(0.6);
  transform: scale(1.06);
}
.spread-bg__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(201, 166, 107, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.4), rgba(7, 9, 8, 0.85));
}
.spread {
  width: min(100% - 2rem, 1000px);
  z-index: 2;
}
.spread__plane {
  display: grid;
  gap: 2rem;
  align-items: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  padding: 1.5rem;
  position: relative;
  background: rgba(10, 12, 10, 0.55);
  border: 1px solid rgba(201, 166, 107, 0.22);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}
@media (min-width: 850px) {
  .spread__plane {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.75rem;
    padding: 2rem 2.25rem;
  }
}
.spread__folio {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(201, 166, 107, 0.16);
  pointer-events: none;
  transform: translateZ(20px);
}
.spread__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 0.9rem !important;
}
.spread__title {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-style: italic;
  color: #fff;
  margin-bottom: 1.1rem;
  max-width: 12ch;
  transform: translateZ(40px);
  line-height: 1.05;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.spread__body {
  max-width: 34ch;
  margin-bottom: 1.6rem !important;
  font-size: 1.1rem;
  transform: translateZ(30px);
  color: rgba(244, 240, 232, 0.78);
  line-height: 1.6;
}
.spread__left .btn {
  transform: translateZ(50px);
}
.spread__plate {
  margin: 0;
  border: 1px solid rgba(201, 166, 107, 0.3);
  background: #121510;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.spread__plate img {
  width: 100%;
  height: min(54vh, 480px);
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9) contrast(1.05);
}
.spread__plate figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.05rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.55);
  border-top: 1px solid rgba(201, 166, 107, 0.2);
}

/* Bridge promise strip */
.bridge {
  position: relative;
  padding: clamp(5.5rem, 12vw, 8.5rem) 1.5rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(201, 166, 107, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(70, 90, 70, 0.12), transparent 50%),
    linear-gradient(180deg, #0e110d, #070908);
  border-top: 1px solid rgba(201, 166, 107, 0.2);
  border-bottom: 1px solid rgba(201, 166, 107, 0.15);
  overflow: hidden;
  perspective: 1000px;
}
.bridge__inner {
  width: min(100%, 54rem);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.bridge h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  color: #fff;
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  max-width: 20ch;
  margin: 0.65rem auto 2.75rem;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}
.bridge__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem 1.75rem;
  text-align: left;
}
.bridge__row > div {
  padding: 1.5rem 1.3rem 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(201, 166, 107, 0.22);
  border-top: 2px solid var(--accent);
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.bridge__row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}
.bridge__row p {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(244, 240, 232, 0.7);
  line-height: 1.5;
}
.bridge__vol {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 24vw, 18rem);
  letter-spacing: 0.18em;
  color: rgba(244, 240, 232, 0.04);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}
.bridge__idx {
  display: block;
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.08em;
}

/* Landing */
.land {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 5rem 1.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(201, 166, 107, 0.18);
}
.land__media {
  position: absolute;
  inset: 0;
}
.land__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(0.78) contrast(1.05);
  transform: scale(1.06);
  animation: landKen 24s ease-in-out infinite alternate;
}
@keyframes landKen {
  to {
    transform: scale(1.14) translate3d(-1%, 0.5%, 0);
  }
}
.land__media-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7, 9, 8, 0.2), rgba(7, 9, 8, 0.82) 72%),
    linear-gradient(to top, #070908 0%, transparent 42%);
}
.land__frame {
  position: relative;
  z-index: 2;
  width: min(100%, 46rem);
  padding: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid rgba(201, 166, 107, 0.28);
  background: rgba(7, 9, 8, 0.42);
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.land__frame .corner {
  opacity: 0.9;
}
.land__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.land h2 {
  font-size: clamp(2.7rem, 6.5vw, 4.6rem);
  color: #fff;
  margin: 0.45rem 0 1rem;
  font-weight: 500;
  font-style: italic;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
  line-height: 1.05;
}
.land__lede {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1rem;
}
.land__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.25rem 0 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.land__meta span {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.land__meta strong {
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink);
}
.land__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0 2.5rem;
}
.land__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.65;
}
.land__nav a:hover {
  color: var(--accent);
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.45rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: 0.3s var(--ease);
}
.btn--primary,
.btn {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}
.btn:hover,
.btn--primary:hover {
  background: #e2c48a;
  color: #111;
}
.btn--ghost {
  background: transparent;
  border-color: rgba(244, 240, 232, 0.35);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 166, 107, 0.08);
}
.btn--solid {
  background: var(--ink);
  color: var(--bg);
}
.btn--outline {
  border-color: rgba(244, 240, 232, 0.35);
  color: var(--ink);
  background: transparent;
}
.btn--light {
  background: #fff;
  color: #111;
}
.btn--block {
  width: 100%;
  margin-top: 1rem;
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* ——— Inner pages (edition shell — match immersion vibe) ——— */
body:not(.immersive),
body.edition {
  margin: 0;
  background: #070908;
  color: rgba(244, 240, 232, 0.78);
  font-family: var(--font-ui);
  overflow-x: hidden;
}
body.edition .grain {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.035;
  animation: none;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
body.edition .vignette {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0.5;
}

/* Map legacy header → HUD look */
body.edition .header,
body:not(.immersive) .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 3vw, 1.75rem);
  background: linear-gradient(180deg, rgba(7, 9, 8, 0.9) 0%, rgba(7, 9, 8, 0) 100%);
  backdrop-filter: none;
  border-bottom: 0;
}
body.edition .hud,
body:not(.immersive) .hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 1.75rem);
  pointer-events: none;
}
body:not(.immersive) .hud a,
body:not(.immersive) .hud button,
body.edition .hud a,
body.edition .hud button {
  pointer-events: auto;
}
body:not(.immersive) .hud__logo,
body.edition .hud__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  justify-self: start;
}
body:not(.immersive) .hud__mark,
body.edition .hud__mark {
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid rgba(244, 240, 232, 0.4);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #fff;
}
body:not(.immersive) .hud__word,
body.edition .hud__word {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 1.05rem;
  color: #fff;
}
body:not(.immersive) .hud__center,
body.edition .hud__center {
  text-align: center;
  justify-self: center;
}
body:not(.immersive) .hud__issue,
body.edition .hud__issue {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
}
body:not(.immersive) .hud__right,
body.edition .hud__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
body:not(.immersive) .hud__book,
body.edition .hud__book {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.85);
}
body:not(.immersive) .menu-btn,
body.edition .menu-btn {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 240, 232, 0.28);
  padding: 0.5rem 0.85rem;
  color: #fff;
  transition: border-color 0.25s, color 0.25s;
}
body:not(.immersive) .menu-btn:hover,
body.edition .menu-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
body:not(.immersive) .logo,
body.edition .logo {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 1.2rem;
  color: #fff;
}
body:not(.immersive) .site-menu__note,
body.edition .site-menu__note {
  margin-top: 1.5rem !important;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.4);
}

.container {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
  position: relative;
}
.section--panel {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(201, 166, 107, 0.08), transparent 55%),
    #0c0f0c;
}

/* Full-bleed cinematic page heroes */
.page-hero {
  padding: 8rem 1.5rem 3rem;
  border-bottom: 1px solid rgba(244, 240, 232, 0.08);
  position: relative;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  max-width: 14ch;
  color: #fff;
  font-weight: 500;
  font-style: italic;
  line-height: 1.08;
  text-shadow: 0 16px 50px rgba(0, 0, 0, 0.45);
}
.page-hero__lead {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(244, 240, 232, 0.72);
  line-height: 1.55;
}
.page-hero--media {
  min-height: min(78vh, 680px);
  padding: 0;
  border-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #070908;
}
.page-hero--media .container {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 72rem);
  margin: 0 auto;
  padding: 7.5rem 0 3.25rem;
}
.page-hero--media .detail-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  filter: brightness(0.42) saturate(0.8) contrast(1.05);
  transform: scale(1.04);
  z-index: 0;
}
.page-hero--media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 9, 8, 0.55) 0%, transparent 35%, rgba(7, 9, 8, 0.88) 100%),
    radial-gradient(ellipse 70% 50% at 50% 60%, transparent 0%, rgba(7, 9, 8, 0.35) 100%);
}
.breadcrumb {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.5);
  margin-bottom: 1rem;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb span {
  margin: 0 0.45rem;
  opacity: 0.45;
}

.section__eyebrow,
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.85rem;
  display: block;
}
.section__intro {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section__intro h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  margin: 0.4rem 0 0.85rem;
  line-height: 1.15;
}
.section__intro p {
  color: rgba(244, 240, 232, 0.65);
}

.text-link {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.text-link:hover {
  border-bottom-color: var(--accent);
}

.treat-list,
.doctor-layout,
.detail-grid,
.contact-layout,
.points,
.steps,
.case-notes,
.gallery-grid {
  width: min(100% - 2.5rem, 72rem);
  margin: 0 auto;
}

/* Treatment plates */
.treat-list {
  display: grid;
  gap: 1rem;
}
.treat-item {
  display: grid;
  grid-template-columns: min(38%, 220px) 1fr;
  gap: 1.5rem;
  padding: 1.15rem;
  border: 1px solid rgba(201, 166, 107, 0.22);
  background: linear-gradient(135deg, rgba(20, 24, 18, 0.95), rgba(10, 12, 10, 0.98));
  align-items: center;
  transition: border-color 0.35s, transform 0.4s var(--ease);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.treat-item:first-child {
  border-top: 1px solid rgba(201, 166, 107, 0.22);
}
.treat-item:hover {
  border-color: rgba(201, 166, 107, 0.55);
  transform: translateY(-3px);
}
.treat-item__media {
  height: 160px;
  overflow: hidden;
  border: 1px solid rgba(201, 166, 107, 0.25);
}
.treat-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.92);
  transition: transform 0.8s var(--ease);
}
.treat-item:hover .treat-item__media img {
  transform: scale(1.06);
}
.treat-item h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  margin: 0;
}
.treat-item:hover h2 {
  color: #e2c48a;
}
.treat-item__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.45rem;
}
.treat-item__arrow {
  color: var(--accent);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.treat-item p {
  margin: 0;
  color: rgba(244, 240, 232, 0.65);
  max-width: 40ch;
}

.doctor-layout,
.detail-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
.doctor-portrait {
  position: relative;
  margin: 0;
}
.doctor-portrait img {
  width: 100%;
  height: min(72vh, 620px);
  object-fit: cover;
  border: 1px solid rgba(201, 166, 107, 0.3);
  filter: brightness(0.95) contrast(1.04);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}
.credential-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
}
.credential-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(201, 166, 107, 0.2);
  color: rgba(244, 240, 232, 0.7);
  line-height: 1.5;
}
.credential-list strong {
  display: block;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.points,
.steps,
.case-notes {
  display: grid;
  gap: 1rem;
}
.points {
  grid-template-columns: repeat(3, 1fr);
}
.case-notes {
  grid-template-columns: repeat(2, 1fr);
}
.steps {
  grid-template-columns: repeat(4, 1fr);
}
.point,
.step,
.case-note,
.contact-card,
.privacy-callout,
.content-block,
.aside-card {
  padding: 1.5rem 1.4rem;
  background: linear-gradient(165deg, rgba(22, 26, 20, 0.95), rgba(12, 14, 12, 0.98));
  border: 1px solid rgba(201, 166, 107, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.point__num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.75rem;
  margin: 0 0 0.55rem;
  letter-spacing: 0.06em;
}
.point h3,
.step h3,
.case-note h3,
.contact-card h3,
.content-block h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 0.55rem;
}
.step h3 {
  font-size: 1.7rem;
  font-style: italic;
}
.case-note__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}
.case-note__tags span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(201, 166, 107, 0.35);
  padding: 0.2rem 0.45rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-grid--after {
  margin-top: 2rem;
}
.gallery-grid img {
  width: 100%;
  height: min(40vh, 320px);
  object-fit: cover;
  border: 1px solid rgba(201, 166, 107, 0.2);
  filter: brightness(0.88);
}

.image-band {
  position: relative;
  overflow: hidden;
}
.image-band > img {
  width: 100%;
  height: min(56vh, 500px);
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
}
.image-band__caption {
  width: min(100% - 2.5rem, 72rem);
  margin: 0.85rem auto 0;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.45);
}
.image-band--split {
  padding: 0 0 2rem;
}

.cta-band {
  padding: clamp(4rem, 10vw, 6rem) 1.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(201, 166, 107, 0.18), transparent 55%),
    linear-gradient(180deg, #10140f, #070908);
  color: #fff;
  text-align: center;
  border-top: 1px solid rgba(201, 166, 107, 0.2);
}
.cta-band h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.cta-band p {
  color: rgba(244, 240, 232, 0.65);
  max-width: 34rem;
  margin: 0 auto;
}
.cta-band .btn--primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}
.cta-band .btn--ghost {
  border-color: rgba(244, 240, 232, 0.35);
  color: #fff;
}
.cta-band .btn-group {
  justify-content: center;
  margin-top: 1.5rem;
}

.content-block + .content-block {
  margin-top: 1rem;
}
.content-block ul,
.content-block ol {
  color: rgba(244, 240, 232, 0.68);
  padding-left: 1.1rem;
  line-height: 1.55;
}
.content-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 166, 107, 0.2);
  color: rgba(244, 240, 232, 0.55);
  font-size: 0.95rem;
}
.split-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.split-lists h3 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.detail-aside {
  position: sticky;
  top: 5.5rem;
}
.detail-aside dt {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.95rem;
  font-weight: 500;
}
.detail-aside dt:first-child {
  margin-top: 0;
}
.detail-aside dd {
  margin: 0.3rem 0 0;
  color: rgba(244, 240, 232, 0.7);
}

.form.is-hidden {
  display: none;
}
.form-success {
  display: none;
  padding: 1.75rem;
  border: 1px solid rgba(201, 166, 107, 0.3);
  background: linear-gradient(165deg, rgba(22, 26, 20, 0.95), rgba(12, 14, 12, 0.98));
}
.form-success.is-visible {
  display: block;
}
.form-success h2 {
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 0.65rem;
}
.form-row {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 0.95rem;
}
.form-row--2 {
  grid-template-columns: 1fr 1fr;
}
.field {
  margin-bottom: 0.95rem;
}
.field label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(201, 166, 107, 0.22);
  background: rgba(12, 14, 12, 0.9);
  color: #fff;
  font: inherit;
  transition: border-color 0.25s;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(201, 166, 107, 0.25);
}
.field .hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: rgba(244, 240, 232, 0.45);
}
.field .error-msg {
  display: none;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: #e8a0a0;
}
.field.is-invalid .error-msg {
  display: block;
}
.checkbox {
  display: flex;
  gap: 0.55rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.9rem !important;
  color: rgba(244, 240, 232, 0.65) !important;
  font-weight: 400 !important;
}
.checkbox input {
  width: auto;
  margin-top: 0.2rem;
}
.contact-aside {
  display: grid;
  gap: 0.9rem;
}
.contact-card p a {
  color: #fff;
}
.contact-card p a:hover {
  color: var(--accent);
}

.prose {
  width: min(100% - 2.5rem, 44rem);
  margin: 0 auto;
}
.prose h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-style: italic;
  margin: 2rem 0 0.75rem;
}
.prose p {
  line-height: 1.65;
}
.prose ul {
  color: rgba(244, 240, 232, 0.68);
  padding-left: 1.1rem;
}
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.5rem;
}
.error-page h1 {
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin: 0.6rem 0;
}

.faq details {
  border-bottom: 1px solid rgba(201, 166, 107, 0.18);
  padding: 1.1rem 0;
}
.faq summary {
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin-top: 0.7rem;
  color: rgba(244, 240, 232, 0.65);
}

.site-footer {
  background: #050706;
  color: rgba(244, 240, 232, 0.5);
  padding: 3.25rem 1.5rem 2rem;
  border-top: 1px solid rgba(201, 166, 107, 0.15);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.25rem;
  width: min(100%, 72rem);
  margin: 0 auto;
}
.site-footer h2 {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
  font-weight: 500;
}
.site-footer__brand {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  margin: 0 0 0.55rem;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li + li {
  margin-top: 0.45rem;
}
.site-footer a:hover {
  color: var(--accent);
}
.site-footer__bottom {
  width: min(100%, 72rem);
  margin: 2rem auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(244, 240, 232, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.mb-0 {
  margin-bottom: 0;
}
.privacy-callout h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: #fff;
  margin: 0 0 0.75rem;
}

/* Soft reveal on edition pages */
body.edition .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
body.edition .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  body.edition .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .scene {
    height: 240vh;
  }
  .scene--cards {
    height: 280vh;
  }
  .scene--path {
    height: 280vh;
  }

  .orbit__plane {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }
  .orbit__photo {
    height: 42vh;
  }
  .orbit__list {
    max-width: none;
  }

  .land__meta {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: left;
  }
  .bridge__row {
    grid-template-columns: 1fr;
  }
  .cursor-glow {
    display: none;
  }

  .scene-chrome__num,
  .scene-chrome__loc {
    display: none;
  }

  .portal-frame {
    padding: 1.75rem 1.25rem;
  }

  .doctor-layout,
  .detail-grid,
  .contact-layout,
  .points,
  .case-notes,
  .steps,
  .split-lists,
  .form-row--2,
  .site-footer__grid,
  .treat-item {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hud__hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene {
    height: auto;
  }
  .scene__sticky {
    position: relative;
    height: auto;
    min-height: 100vh;
  }
  .word-line,
  .float-card,
  .path-panel,
  .room-layer {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
  .scroll-cue,
  .hud__hint-line,
  .loader__bar i,
  .portal-ambient__orb {
    animation: none;
  }
  .grain {
    opacity: 0.04;
  }
  .cursor-glow {
    display: none;
  }
  body.is-ready .portal-frame {
    animation: none;
  }
}
