/* ==========================================================================
   White Shine Multispeciality Dental Clinic — 3D site
   ========================================================================== */

:root {
  --green-950: #021510;
  --green-900: #031c14;
  --green-850: #062419;
  --green-800: #0a2f24;
  --green-700: #12453a;
  --mint: #ddefde;
  --mint-2: #cfe7d6;
  --cream: #f6f4ee;
  --paper: #fbfaf6;
  --sage: #779e91;
  --teal: #17978f;
  --teal-d: #0f7c75;
  --lime: #d2db4a;
  --gold: #dbc093;
  --pink: #f4b6c2;
  --ink: #031c14;
  --ink-70: rgba(3, 28, 20, 0.72);
  --ink-55: rgba(3, 28, 20, 0.56);
  --ink-12: rgba(3, 28, 20, 0.12);
  --mint-70: rgba(221, 239, 222, 0.72);
  --mint-50: rgba(221, 239, 222, 0.5);
  --mint-15: rgba(221, 239, 222, 0.15);

  --f-head: 'Josefin Sans', 'Jost', system-ui, sans-serif;
  --f-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --fs-hero: clamp(2.75rem, 1.35rem + 5.6vw, 6.9rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 3.2vw, 4.5rem);
  --fs-h3: clamp(1.2rem, 1.02rem + 0.7vw, 1.6rem);
  --fs-body: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  --fs-small: 0.875rem;

  --wrap: 1290px;
  --gutter: clamp(16px, 4vw, 40px);
  --pad: clamp(84px, 10vw, 150px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  background: var(--green-900);
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--green-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.is-loading { overflow: hidden; }
html.has-dialog, html.has-dialog body { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

::selection { background: var(--lime); color: var(--green-900); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px; top: -60px;
  z-index: 300;
  background: var(--lime);
  color: var(--green-900);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Grid children never force the page wider than the viewport. */
.container > *, [class$='__grid'] > *, .case > *, .anatomy__layout > *, .scan__layout > * { min-width: 0; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2 {
  font-family: var(--f-head);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
h2 { font-size: var(--fs-h2); }
h3 { font-family: var(--f-head); font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.01em; }

h1 em, h2 em, h3 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 1.08em;
  line-height: 0.9;
}

[data-theme='dark'] h1 em,
[data-theme='dark'] h2 em,
.on-dark em { color: var(--lime); }
[data-theme='light'] h2 em { color: var(--teal-d); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-d);
  margin-bottom: 1.2rem;
}
.eyebrow--light { color: var(--mint-70); }
.eyebrow .chip {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.25em 0.75em;
  color: var(--lime);
}

.fine { font-size: 0.8125rem; opacity: 0.7; }

/* Word mask used by the split-text reveals */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.02em 0.14em; margin: -0.06em -0.02em -0.14em; }
.wi { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--mint);
  --fg: var(--green-900);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  isolation: isolate;
}
.btn:hover { box-shadow: 0 10px 30px -12px rgba(23, 151, 143, 0.55); }
.btn--mint:hover { --bg: var(--lime); }
.btn--dark { --bg: var(--green-900); --fg: var(--mint); }
.btn--dark:hover { --bg: var(--teal-d); --fg: #fff; }
.btn--glass {
  --bg: rgba(221, 239, 222, 0.08);
  --fg: var(--mint);
  border: 1px solid rgba(221, 239, 222, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover { --bg: rgba(221, 239, 222, 0.16); border-color: var(--mint); }
.btn--line { --bg: transparent; --fg: currentColor; border: 1px solid var(--ink-12); }
[data-theme='light'] .btn--line, .sheet .btn--line, .drawer .btn--line { --fg: var(--ink); border-color: rgba(3, 28, 20, 0.22); }
.btn--line:hover { --bg: var(--green-900); --fg: var(--mint); border-color: var(--green-900); }
.btn--wa { --bg: #1f9d55; --fg: #fff; }
.btn--wa:hover { --bg: #17864a; }
.btn--lg { min-height: 58px; padding: 1em 1.8em; font-size: 1rem; }
.btn--sm { min-height: 40px; padding: 0.6em 1.1em; font-size: 0.875rem; }
.btn__note {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35em 0.6em;
  border-radius: 999px;
  background: rgba(3, 28, 20, 0.08);
}

.play {
  position: relative;
  display: inline-block;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
.play::after {
  content: '';
  position: absolute;
  left: 12px; top: 9px;
  border-left: 9px solid var(--green-900);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.round {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink-12);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.3s, color 0.3s;
}
.round:hover { background: var(--green-900); color: var(--mint); }

.glass {
  background: rgba(3, 28, 20, 0.5);
  border: 1px solid rgba(221, 239, 222, 0.14);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--green-900);
  color: var(--mint);
  transition: clip-path 1.1s var(--ease-io), visibility 0s linear 1.1s;
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); visibility: hidden; }
.loader__mark svg { width: 74px; height: 90px; overflow: visible; }
.loader__mark path {
  fill: none;
  stroke-width: 8.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 1.8s var(--ease) forwards;
}
.loader__p1 { stroke: var(--lime); animation-delay: 0.5s !important; }
.loader__p2 { stroke: var(--teal); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__word {
  display: flex;
  gap: 0.5em;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.loader__word span { opacity: 0; animation: rise 0.9s var(--ease) forwards 0.6s; }
.loader__word span + span { animation-delay: 0.75s; }
.loader__sub {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-50);
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Stage
   -------------------------------------------------------------------------- */
.stage {
  position: fixed;
  left: 0; top: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: 0;
  display: block;
  outline: none;
}
.stage.is-off { visibility: hidden; }
.stage-fallback { display: none; }
.no-webgl .stage { display: none; }
.no-webgl .stage-fallback {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 70% 45%, rgba(23, 151, 143, 0.28), transparent 70%),
    linear-gradient(180deg, #072a20, #021510);
}

main { position: relative; z-index: 1; }

.on-stage { position: relative; color: var(--mint); background: transparent; }

/* Anatomy hotspots */
.hotspots {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s;
}
.hotspots.is-on { visibility: visible; }
.hotspot {
  position: absolute;
  left: 0; top: 0;
  display: flex;
  align-items: center;
  gap: 0;
  pointer-events: auto;
  color: var(--mint);
  will-change: transform;
}
.hotspot__dot {
  position: relative;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(221, 239, 222, 0.18);
  flex: none;
}
.hotspot__dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0;
}
.hotspot__line { width: clamp(26px, 5vw, 70px); height: 1px; background: currentColor; opacity: 0.55; margin-top: -7px; transform-origin: left; }
.hotspot__label {
  margin-top: -7px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45em 0.8em;
  border-radius: 999px;
  border: 1px solid rgba(221, 239, 222, 0.25);
  background: rgba(3, 28, 20, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.hotspot.is-left { flex-direction: row-reverse; }
.hotspot.is-left .hotspot__dot { margin: -7px -7px 0 0; }
.hotspot.is-left .hotspot__line { transform-origin: right; }
.hotspot.is-active { color: var(--lime); z-index: 2; }
.hotspot.is-active .hotspot__dot { background: var(--lime); box-shadow: 0 0 0 6px rgba(210, 219, 74, 0.22); }
.hotspot.is-active .hotspot__dot::after { animation: ping 1.8s var(--ease) infinite; }
.hotspot.is-active .hotspot__label { background: var(--lime); color: var(--green-900); border-color: var(--lime); }
@keyframes ping { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.8); } }

/* Custom cursor (fine pointers only) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: grid;
    place-items: center;
    position: fixed;
    left: 0; top: 0;
    z-index: 250;
    width: 12px; height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: var(--lime);
    pointer-events: none;
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background 0.3s, opacity 0.3s;
    will-change: transform;
    mix-blend-mode: normal;
  }
  .cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(210, 219, 74, 0.25); border: 1px solid var(--lime); }
  .cursor.is-label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--lime); border: 0; }
  .cursor__label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-900); opacity: 0; transition: opacity 0.2s; }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-hidden { opacity: 0; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  color: var(--mint);
  transition: transform 0.5s var(--ease), color 0.4s;
}
.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 28, 20, 0.65), rgba(3, 28, 20, 0));
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: none;
}
.nav.is-light { color: var(--ink); }
.nav.is-light::before { background: rgba(251, 250, 246, 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  position: relative;
  height: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; padding-top: 3px; }
.brand__sub { font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.7; margin-top: 5px; }
.brand--lg .brand__mark { width: 44px; height: 54px; }
.brand--lg .brand__name { font-size: 1.4rem; }

.nav__links { display: none; gap: 4px; }
.nav__links a {
  position: relative;
  font-size: 0.875rem;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  opacity: 0.85;
  transition: opacity 0.25s, background 0.25s;
}
.nav__links a:hover { opacity: 1; background: rgba(221, 239, 222, 0.1); }
.nav.is-light .nav__links a:hover { background: rgba(3, 28, 20, 0.06); }
.nav__links a.is-active { opacity: 1; }
.nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--lime);
}
.nav.is-light .nav__links a.is-active::after { background: var(--teal); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: none; font-family: var(--f-mono); font-size: 0.8rem; text-decoration: none; opacity: 0.85; }
.nav.is-light .btn--mint { --bg: var(--green-900); --fg: var(--mint); }

.burger {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  border-color: rgba(221, 239, 222, 0.3);
  display: grid;
  place-content: center;
  gap: 6px;
}
.nav.is-light .burger { border-color: rgba(3, 28, 20, 0.2); }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (min-width: 1180px) {
  .nav__links { display: flex; }
  .burger { display: none; }
}
@media (max-width: 520px) {
  :root { --nav-h: 64px; }
  .nav .brand__sub { display: none; }
  .nav .brand__name { font-size: 0.98rem; letter-spacing: 0.18em; }
  .nav__actions > .btn { display: none; }
  .nav__inner { gap: 12px; }
}
@media (min-width: 1380px) { .nav__phone { display: inline; } }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--green-900);
  color: var(--mint);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path 0.8s var(--ease-io);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 36px); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 1px solid var(--mint-15);
  padding: 6px 0;
}
.menu__links span { font-family: var(--f-mono); font-size: 0.7rem; color: var(--lime); }
.menu__foot { display: grid; gap: 12px; margin-top: 28px; font-size: 0.9rem; color: var(--mint-70); }
.menu__line { font-family: var(--f-mono); color: var(--mint); text-decoration: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 120px;
}
.hero__inner { position: relative; }
.hero__eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(210, 219, 74, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(210, 219, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(210, 219, 74, 0); } }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 400;
  max-width: 11ch;
  text-wrap: balance;
}
.hero__title em { display: inline-block; }
.hero__lede { margin-top: 1.2rem; max-width: 30ch; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem); color: var(--mint-70); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2rem; }
.hero__proof li { display: flex; flex-direction: column; line-height: 1.25; }
.hero__proof strong { font-family: var(--f-head); font-weight: 500; font-size: 1.25rem; color: var(--mint); }
.hero__proof span { font-size: 0.78rem; color: var(--mint-50); }
.hero__hint {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  bottom: 120px;
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  padding: 0.6em 1em;
  border-radius: 999px;
  background: rgba(3, 28, 20, 0.55);
  border: 1px solid rgba(221, 239, 222, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: none;
}
.hero__hint span:first-child { color: var(--lime); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-50);
  text-decoration: none;
}
.hero__scroll i { position: relative; width: 1px; height: 38px; background: var(--mint-15); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--lime); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

.marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  overflow: hidden;
  border-top: 1px solid var(--mint-15);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint-50);
  padding: 0 22px;
  white-space: nowrap;
}
.marquee__track span::before { content: '✦'; color: var(--lime); margin-right: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (min-width: 900px) {
  .hero { justify-content: center; padding: calc(var(--nav-h) + 40px) 0 140px; }
  .hero__hint { display: block; }
  .hero__scroll { display: inline-flex; }
}
.btn__short { display: none; }
@media (max-width: 899px) {
  .hero { padding-bottom: 84px; }
  .hero__eyebrow { margin-bottom: 0.9rem; }
  .hero__ctas { display: grid; grid-template-columns: 1fr auto; margin-top: 1.4rem; }
  .hero__ctas .btn--lg { min-height: 54px; padding: 0.9em 1.3em; }
  .hero__proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin-top: 1.3rem; }
  .hero__proof strong { font-size: 1rem; }
  .hero__proof span { font-size: 0.68rem; }
  .hero__lede { margin-top: 0.8rem; }
}
@media (max-width: 560px) {
  .btn__note { display: none; }
  .btn__long { display: none; }
  .btn__short { display: inline; }
}

/* Intro choreography */
[data-intro] { opacity: 0; transform: translateY(26px); }
.is-ready [data-intro] { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* Split-word headings */
[data-split] .wi, [data-intro-split] .wi { transform: translateY(108%); transition: transform 1.1s var(--ease); }
[data-split].is-in .wi, [data-intro-split].is-in .wi { transform: none; }

/* Generic reveals */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */
.manifesto { padding: 22vh 0 18vh; }
.manifesto__grid { display: grid; }
.manifesto__big {
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.manifesto__big .mw { opacity: 0.16; transition: opacity 0.2s linear; }
.manifesto__big .mw.is-lit { opacity: 1; }
.manifesto__body { margin-top: 2rem; max-width: 52ch; color: var(--mint-70); }
.stats {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--mint-15);
  border: 1px solid var(--mint-15);
  border-radius: 18px;
  overflow: hidden;
}
.stats > div { background: rgba(3, 28, 20, 0.6); padding: 18px 18px 16px; display: flex; flex-direction: column-reverse; gap: 4px; }
.stats dt { font-size: 0.78rem; color: var(--mint-50); line-height: 1.35; }
.stats dd { font-family: var(--f-head); font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); line-height: 1; color: var(--mint); }

@media (min-width: 900px) {
  .manifesto { padding: 26vh 0 22vh; }
  .manifesto__grid { grid-template-columns: 1fr 1fr; }
  .manifesto__copy { grid-column: 2; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .manifesto { padding-top: 46vh; }
  .glass-m {
    background: rgba(3, 28, 20, 0.55);
    border: 1px solid rgba(221, 239, 222, 0.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: var(--radius);
    padding: 26px 20px;
  }
}

/* --------------------------------------------------------------------------
   Chapter 01 · Anatomy
   -------------------------------------------------------------------------- */
.anatomy { height: 560vh; }
.anatomy__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.anatomy__layout { position: relative; height: 100%; display: grid; }
.anatomy__head h2 { font-size: clamp(2rem, 1.4rem + 2.8vw, 4rem); }
.anatomy__lede { margin-top: 0.8rem; color: var(--mint-70); max-width: 34ch; }
.anatomy__panel { padding: 24px; display: grid; gap: 18px; }
.anatomy__meter { display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--mint-50); }
.anatomy__num b { color: var(--lime); font-weight: 500; }
.anatomy__bar { flex: 1; height: 2px; background: var(--mint-15); border-radius: 2px; overflow: hidden; }
.anatomy__bar i { display: block; height: 100%; width: 20%; background: var(--lime); transition: width 0.6s var(--ease); }
.anatomy__steps { display: grid; }
.astep {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s linear 0.6s;
}
.astep.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0.1s, 0.1s, 0s; }
.astep__tag { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.astep h3 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); margin: 0.35rem 0 0.7rem; }
.astep p.astep__body { color: var(--mint-70); }
.astep__care { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.1rem; }
.astep__care button {
  font-size: 0.82rem;
  padding: 0.55em 0.95em;
  border-radius: 999px;
  border: 1px solid rgba(221, 239, 222, 0.28);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.astep__care button:hover { background: var(--mint); color: var(--green-900); border-color: var(--mint); }
.astep__care button::after { content: ' →'; }

@media (min-width: 900px) {
  .anatomy__layout {
    grid-template-columns: 1fr minmax(340px, 0.82fr);
    grid-template-rows: auto 1fr;
    padding-top: calc(var(--nav-h) + 6vh);
    padding-bottom: 8vh;
    column-gap: 40px;
  }
  .anatomy__head { grid-column: 2; }
  .anatomy__panel { grid-column: 2; align-self: end; max-width: 520px; padding: 30px; }
}
@media (max-width: 899px) {
  .anatomy { height: 460vh; }
  .anatomy__layout {
    grid-template-rows: auto 1fr auto;
    padding-top: calc(var(--nav-h) + 4px);
    padding-bottom: 14px;
  }
  .anatomy__head h2 { font-size: 1.85rem; }
  .anatomy__lede { display: none; }
  .anatomy__head .eyebrow { margin-bottom: 0.6rem; }
  .anatomy__panel { grid-row: 3; padding: 18px; gap: 12px; }
  .astep h3 { font-size: 1.6rem; margin: 0.2rem 0 0.4rem; }
  .astep p.astep__body { font-size: 0.92rem; line-height: 1.5; }
  .astep__care { margin-top: 0.8rem; }
  .astep__care button { font-size: 0.78rem; }
  .hotspot__label { font-size: 0.6rem; }
}

/* --------------------------------------------------------------------------
   Chapter 02 · Scan
   -------------------------------------------------------------------------- */
.scan { height: 440vh; }
.scan__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scan__layout { position: relative; height: 100%; display: grid; }
.scan__copy h2 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.6rem); }
.scan__steps { display: grid; gap: 4px; margin: 1.6rem 0 1.8rem; counter-reset: s; }
.scan__steps li {
  position: relative;
  padding: 14px 0 14px 54px;
  border-top: 1px solid var(--mint-15);
  color: var(--mint-50);
  transition: color 0.5s;
}
.scan__steps li::before {
  counter-increment: s;
  content: '0' counter(s);
  position: absolute;
  left: 0; top: 15px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--mint-50);
}
.scan__steps b { display: block; font-family: var(--f-head); font-weight: 400; font-size: 1.35rem; color: var(--mint-70); margin-bottom: 2px; transition: color 0.5s; }
.scan__steps li span { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s var(--ease), opacity 0.6s var(--ease); font-size: 0.95rem; }
.scan__steps li.is-active { color: var(--mint-70); }
.scan__steps li.is-active::before { color: var(--lime); }
.scan__steps li.is-active b { color: var(--mint); }
.scan__steps li.is-active span { max-height: 7em; opacity: 1; }

.scan__hud {
  position: absolute;
  pointer-events: none;
  font-family: var(--f-mono);
  color: var(--mint-70);
  opacity: 0;
  transition: opacity 0.6s;
}
.scan.is-in .scan__hud { opacity: 1; }
.hud__corner { position: absolute; width: 26px; height: 26px; border: 1px solid var(--lime); }
.hud__corner--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.hud__corner--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud__corner--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.hud__corner--br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.hud__tag { position: absolute; left: 34px; top: 4px; font-size: 0.65rem; letter-spacing: 0.16em; color: var(--lime); }
.hud__pct { position: absolute; right: 34px; top: -6px; font-family: var(--f-head); font-size: 2.6rem; color: var(--mint); line-height: 1; }
.hud__pct small { font-size: 0.4em; margin-left: 2px; color: var(--mint-50); }
.hud__mode { position: absolute; left: 34px; bottom: 6px; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; }
.hud__read { position: absolute; right: 34px; bottom: 6px; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--mint-50); }

@media (min-width: 900px) {
  .scan__layout { grid-template-columns: minmax(320px, 0.8fr) 1.2fr; align-items: center; column-gap: 40px; }
  .scan__copy { max-width: 470px; }
  .scan__hud { left: 50%; right: 4%; top: 15%; bottom: 13%; }
}
@media (max-width: 899px) {
  .scan { height: 380vh; }
  .scan__layout { align-content: end; padding-bottom: 16px; padding-top: var(--nav-h); }
  .scan__copy {
    background: rgba(3, 28, 20, 0.55);
    border: 1px solid rgba(221, 239, 222, 0.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: var(--radius);
    padding: 18px;
  }
  .scan__copy h2 { font-size: 1.75rem; }
  .scan__copy .eyebrow { margin-bottom: 0.6rem; }
  .scan__steps { margin: 0.9rem 0 1rem; }
  .scan__steps li { padding: 9px 0 9px 40px; }
  .scan__steps li::before { top: 11px; }
  .scan__steps b { font-size: 1.1rem; }
  .scan__steps li span { font-size: 0.86rem; line-height: 1.45; }
  .scan__copy .btn { width: 100%; }
  .scan__hud { left: 6%; right: 6%; top: calc(var(--nav-h) + 6px); height: 34vh; }
  .hud__pct { font-size: 1.8rem; }
  .hud__read { display: none; }
}

/* --------------------------------------------------------------------------
   Light sections
   -------------------------------------------------------------------------- */
.tech, .services, .reviews, .prices, .faq { background: var(--cream); padding: var(--pad) 0; position: relative; }
.prices, .faq { background: var(--paper); }
.doctor, .visit { background: var(--mint); padding: var(--pad) 0; position: relative; }
.doctor { overflow-x: clip; }
@media (max-width: 959px) { .dcar__stack { margin-right: 9%; } }
.reasons, .studio { background: var(--green-900); color: var(--mint); position: relative; }

.tech { border-radius: 36px 36px 0 0; margin-top: -1px; }

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 16ch; text-wrap: balance; }
.sec-head__lede { margin-top: 1.2rem; max-width: 56ch; color: var(--ink-70); }
[data-theme='dark'] .sec-head__lede { color: var(--mint-70); }
.sec-head--center { text-align: center; }
.sec-head--center h2, .sec-head--center .sec-head__lede { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) {
  .sec-head--split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
  .sec-head--split .sec-head__lede { margin-top: 0; justify-self: end; }
}

/* Technology cards */
.tech__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tech__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tcard {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--ink-12);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(3, 28, 20, 0.35); }
.tcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mint); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.06); }
.tcard__body { padding: 20px 22px 24px; display: grid; gap: 6px; }
.tcard__n { font-family: var(--f-mono); font-size: 0.7rem; color: var(--teal-d); letter-spacing: 0.12em; }
.tcard h3 { font-size: 1.3rem; }
.tcard p { color: var(--ink-70); font-size: 0.92rem; }
.tcard__more { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(251, 250, 246, 0.9); font-size: 1rem; transition: background 0.3s, transform 0.5s var(--ease); }
.tcard:hover .tcard__more { background: var(--lime); transform: rotate(45deg); }

/* Films */
.films { margin-top: clamp(64px, 8vw, 110px); }
.films__head { display: grid; gap: 4px; margin-bottom: 26px; }
.films__head h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); max-width: 26ch; }
.films__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .films__grid { grid-template-columns: 1.75fr 0.75fr; align-items: stretch; } }
.film {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-900);
  text-align: left;
  width: 100%;
  min-width: 0;
}
.film video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.film:hover video { transform: scale(1.04); }
.film--wide { aspect-ratio: 16 / 9; }
.film--tall { aspect-ratio: 9 / 13; }
@media (min-width: 900px) { .film--tall { aspect-ratio: auto; } }
.film__label {
  position: absolute;
  left: 14px; bottom: 14px; right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(3, 28, 20, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Reasons
   -------------------------------------------------------------------------- */
.reasons { padding: var(--pad) 0; overflow: clip; }
.reasons__head { display: grid; gap: 4px; position: relative; }
.reasons__head h2 { max-width: 12ch; }
.reasons__count { font-family: var(--f-mono); font-size: 0.8rem; color: var(--mint-50); margin-top: 1rem; }
.reasons__count b { color: var(--lime); font-weight: 500; }
.reasons__track { display: grid; gap: 14px; margin-top: 36px; padding: 0 var(--gutter); counter-reset: r; }
.reason {
  position: relative;
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  background: linear-gradient(160deg, rgba(23, 151, 143, 0.16), rgba(221, 239, 222, 0.03) 60%);
  border: 1px solid var(--mint-15);
  overflow: hidden;
}
.reason::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 219, 74, 0.2), transparent 70%);
}
.reason__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(0.5);
  transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
  -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 10%, transparent 78%);
}
.reason:hover .reason__img { opacity: 0.45; transform: scale(1.05); }
.reason > :not(.reason__img) { position: relative; }
.reason__n { font-family: var(--f-serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--lime); }
.reason h3 { margin: 18px 0 10px; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem); }
.reason p { color: var(--mint-70); font-size: 0.95rem; }

@media (min-width: 900px) {
  .reasons { padding: 0; }
  .reasons__sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .reasons__head { grid-template-columns: 1fr auto; align-items: end; }
  .reasons__head .eyebrow { grid-column: 1 / -1; }
  .reasons__viewport { overflow: visible; }
  .reasons__track {
    display: flex;
    gap: 22px;
    width: max-content;
    padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
    will-change: transform;
  }
  .reason { width: clamp(320px, 30vw, 420px); min-height: 52vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
  .reason__n { position: absolute; left: 32px; top: 26px; font-size: 5.2rem; }
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  padding: 0.6em 1.1em;
  border-radius: 999px;
  border: 1px solid rgba(3, 28, 20, 0.16);
  font-size: 0.88rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filters button small { font-family: var(--f-mono); font-size: 0.7rem; opacity: 0.6; margin-left: 4px; }
.filters button:hover { border-color: var(--green-900); }
.filters button[aria-selected='true'] { background: var(--green-900); color: var(--mint); border-color: var(--green-900); }

.services__grid { display: grid; gap: 16px; grid-template-columns: 1fr; perspective: 1200px; }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scard {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  min-height: 250px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(3, 28, 20, 0.07);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s var(--ease), background 0.4s;
  overflow: hidden;
}
.scard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(210, 219, 74, 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.scard:hover { box-shadow: 0 30px 60px -32px rgba(3, 28, 20, 0.4); }
.scard:hover::before { opacity: 1; }
.scard.is-hidden { display: none; }
.scard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.scard__n { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ink-55); text-transform: uppercase; }
.scard__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--mint); color: var(--teal-d); flex: none; transition: background 0.4s, color 0.4s, transform 0.6s var(--ease); }
.scard__icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.scard:hover .scard__icon { background: var(--green-900); color: var(--lime); transform: translateZ(30px) rotate(-6deg); }
.scard h3 { font-size: 1.35rem; margin-top: auto; }
.scard p { color: var(--ink-70); font-size: 0.92rem; }
.scard__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--ink-12); font-size: 0.82rem; }
.scard__fee { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-55); }
.scard__fee.is-fixed { color: var(--green-900); background: var(--lime); padding: 0.3em 0.6em; border-radius: 999px; }
.scard__go { font-weight: 600; }
.scard--feature { background: var(--green-900); color: var(--mint); }
.scard--feature p { color: var(--mint-70); }
.scard--feature .scard__n { color: var(--mint-50); }
.scard--feature .scard__icon { background: rgba(221, 239, 222, 0.1); color: var(--lime); }
.scard--feature .scard__foot { border-color: var(--mint-15); }
.scard--feature .scard__fee { color: var(--mint-70); }
.scard--feature .scard__fee.is-fixed { color: var(--green-900); }

/* --------------------------------------------------------------------------
   Doctor
   -------------------------------------------------------------------------- */
.doctor__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .doctor__grid { grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: start; } .doctor__media { position: sticky; top: calc(var(--nav-h) + 24px); } }
.dcar { position: relative; touch-action: pan-y; user-select: none; }
.dcar__stack { position: relative; aspect-ratio: 4 / 5; }
.dslide {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--mint-2);
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease), filter 0.9s;
  box-shadow: 0 40px 80px -50px rgba(3, 28, 20, 0.6);
}
.dslide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dcar__ui { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.dcar__count { font-family: var(--f-mono); font-size: 0.8rem; }
.dcar__cap { margin-top: 10px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-55); text-align: center; }
.doctor__copy h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4.4rem); max-width: 12ch; }
.doctor__role { margin-top: 1rem; font-weight: 600; color: var(--ink-70); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.badges li { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.5em 0.85em; border-radius: 999px; background: rgba(3, 28, 20, 0.06); }
.doctor__lede { margin-top: 1.4rem; font-size: 1.08rem; color: var(--ink-70); max-width: 52ch; }
.vidcard {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 1.6rem;
  padding: 10px 22px 10px 10px;
  border-radius: 20px;
  background: var(--green-900);
  color: var(--mint);
  text-align: left;
  transition: background 0.3s;
}
.vidcard:hover { background: var(--teal-d); }
.vidcard img { width: 64px; height: 84px; object-fit: cover; border-radius: 12px; }
.vidcard > span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.vidcard .play { grid-row: span 2; }
.vidcard b { font-weight: 600; }
.vidcard small { color: var(--mint-70); font-size: 0.8rem; }

.tabs { margin: 2.2rem 0 2rem; }
.tabs__list { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(3, 28, 20, 0.06); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { padding: 0.6em 1.1em; border-radius: 999px; font-size: 0.86rem; font-weight: 600; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.tabs__list button[aria-selected='true'] { background: var(--green-900); color: var(--mint); }
.tabs__panel { margin-top: 22px; animation: fade 0.6s var(--ease); }
.tabs__intro { color: var(--ink-70); margin-bottom: 1rem; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.focus { display: grid; gap: 10px; counter-reset: f; }
@media (min-width: 640px) { .focus { grid-template-columns: 1fr 1fr; } }
.focus li { position: relative; padding: 18px 18px 18px 54px; border-radius: 16px; background: rgba(255, 255, 255, 0.55); }
.focus li::before { counter-increment: f; content: '0' counter(f); position: absolute; left: 18px; top: 18px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--teal-d); }
.focus b { display: block; font-weight: 600; }
.focus span { display: block; font-size: 0.88rem; color: var(--ink-70); margin-top: 4px; }
.timeline { display: grid; gap: 0; border-left: 1px solid rgba(3, 28, 20, 0.18); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 22px 26px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--mint); border: 2px solid var(--teal-d); }
.timeline i { font-style: normal; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-d); }
.timeline b { display: block; font-weight: 600; margin-top: 2px; }
.timeline span { display: block; font-size: 0.9rem; color: var(--ink-70); }

/* --------------------------------------------------------------------------
   Studio ring + case
   -------------------------------------------------------------------------- */
.studio { padding: var(--pad) 0; overflow: clip; }
.ring {
  position: relative;
  height: clamp(330px, 52vw, 640px);
  touch-action: pan-y;
  user-select: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ring__stage { position: absolute; inset: 0; perspective: 1200px; perspective-origin: 50% 50%; }
.ring__spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.ritem {
  position: absolute;
  left: calc(var(--w) / -2);
  top: calc(var(--h) / -2);
  width: var(--w);
  height: var(--h);
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--green-800);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.ritem img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 0.8s var(--ease); }
.ritem:hover img { transform: scale(1.06); }
.ritem__cap {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(3, 28, 20, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.ritem:hover .ritem__cap, .ritem:focus-visible .ritem__cap { opacity: 1; transform: none; }
@media (hover: none) { .ritem__cap { opacity: 1; transform: none; } }

.case { display: grid; gap: 32px; margin-top: clamp(48px, 7vw, 90px); align-items: center; }
@media (min-width: 900px) { .case { grid-template-columns: 0.7fr 1fr; gap: 64px; } }
.case__compare { max-width: 420px; width: 100%; justify-self: center; }
@media (max-width: 899px) { .case__compare { max-width: 300px; } }
.case__copy h3 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); }
.case__copy p { color: var(--mint-70); margin-top: 0.9rem; max-width: 48ch; }
.case__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.6rem; }

/* Before / after comparison */
.compare {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #000;
  user-select: none;
  touch-action: pan-y;
}
.compare--tall { aspect-ratio: 510 / 830; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--lime);
  pointer-events: none;
}
.compare__handle i {
  position: absolute;
  left: 50%; top: 50%;
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  background: var(--lime);
  color: var(--green-900);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.compare input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}
.compare__tag {
  position: absolute;
  top: 12px;
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4em 0.7em;
  border-radius: 999px;
  background: rgba(3, 28, 20, 0.6);
  color: var(--mint);
  pointer-events: none;
}
.compare__tag--b { left: 12px; }
.compare__tag--a { right: 12px; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.rating { display: grid; gap: 8px; justify-items: start; }
@media (min-width: 900px) { .rating { justify-items: end; text-align: right; } }
.rating__score { font-family: var(--f-head); font-size: 3.6rem; line-height: 1; display: flex; align-items: center; gap: 14px; }
.stars { font-size: 1.2rem; letter-spacing: 0.1em; color: #e3a92b; }
.rating__meta { color: var(--ink-70); font-size: 0.9rem; }
.reviews__hint { color: var(--ink-55); font-size: 0.9rem; margin: -20px 0 26px; }
.reviews__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) {
  .reviews__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 10px;
    scrollbar-width: none;
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .rcard { flex: 0 0 86%; scroll-snap-align: center; }
}
.rcard { background: #fff; border-radius: var(--radius); padding: 10px 10px 22px; display: flex; flex-direction: column; gap: 14px; border: 1px solid rgba(3, 28, 20, 0.06); }
.rcard__body { padding: 4px 12px 0; display: grid; gap: 10px; }
.rcard__label { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-d); }
.rcard blockquote { margin: 0; font-family: var(--f-head); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.22rem); line-height: 1.45; }
.rcard__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ink-55); }
.rcard__meta .stars { font-size: 0.85rem; }
.rcard__meta button { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Prices
   -------------------------------------------------------------------------- */
.prices__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .prices__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } .prices .sec-head { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; } }
.consult-card {
  margin-top: 2rem;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--mint);
  display: grid;
  gap: 10px;
  justify-items: start;
  position: relative;
  overflow: hidden;
}
.consult-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(210, 219, 74, 0.25), transparent 70%); }
.consult-card__label { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint-50); }
.consult-card__price { font-family: var(--f-head); font-size: 3.4rem; line-height: 1; }
.consult-card__price small { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-left: 8px; color: var(--lime); }
.consult-card p:not([class]) { color: var(--mint-70); font-size: 0.92rem; }
.consult-card .btn { margin-top: 8px; }
.consult-card__tel { font-size: 0.85rem; color: var(--mint-70); }
.filters--tabs { margin-bottom: 18px; }
.filters--tabs button small { margin-left: 6px; }
.prices__fine { margin-top: 20px; }

/* Accordion (prices + FAQ) */
.acc { border-top: 1px solid var(--ink-12); }
.acc:last-child { border-bottom: 1px solid var(--ink-12); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-family: var(--f-head);
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  line-height: 1.3;
}
.acc__btn .acc__fee { margin-left: auto; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-55); white-space: nowrap; }
.acc__btn .acc__fee.is-fixed { color: var(--green-900); background: var(--lime); padding: 0.35em 0.65em; border-radius: 999px; }
.acc__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink-12); flex: none; transition: background 0.3s, transform 0.5s var(--ease); }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: currentColor; transition: transform 0.5s var(--ease); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--green-900); color: var(--mint); border-color: var(--green-900); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__content { padding: 0 0 22px; color: var(--ink-70); }
.acc__content ul { display: grid; gap: 6px; }
.acc__content li { position: relative; padding-left: 20px; }
.acc__content li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 10px; height: 1.5px; background: var(--teal); }
.acc__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.price-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; } .faq .sec-head { position: sticky; top: calc(var(--nav-h) + 24px); margin: 0; } }
.search {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  min-height: 54px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink-12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(23, 151, 143, 0.12); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--ink-55); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; font-size: 1rem; padding: 12px 0; }
.faq__group-title { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-d); margin: 28px 0 6px; }
.faq__group-title:first-child { margin-top: 0; }
.faq__empty { margin-top: 20px; color: var(--ink-70); }
mark { background: rgba(210, 219, 74, 0.55); color: inherit; border-radius: 3px; padding: 0 2px; }

/* --------------------------------------------------------------------------
   Visit
   -------------------------------------------------------------------------- */
.visit__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .visit__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; } }
.visit__addr { margin-top: 1.6rem; font-family: var(--f-head); font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem); line-height: 1.45; }
.visit__note { margin-top: 1rem; color: var(--ink-70); max-width: 50ch; }
.hours { margin-top: 1.8rem; padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.6); }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: var(--sage); }
.status.is-open i { background: #1f9d55; box-shadow: 0 0 0 0 rgba(31, 157, 85, 0.5); animation: pulse-g 2s infinite; }
.status.is-closed i { background: #c7632f; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 8px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
.hours__list { margin-top: 12px; display: grid; gap: 2px; font-size: 0.9rem; }
.hours__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--ink-12); color: var(--ink-70); }
.hours__list li:last-child { border-bottom: 0; }
.hours__list li.is-today { color: var(--ink); font-weight: 600; }
.hours__list li.is-today span:first-child::after { content: ' · today'; font-family: var(--f-mono); font-size: 0.68rem; color: var(--teal-d); text-transform: uppercase; letter-spacing: 0.08em; }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.map { position: relative; border-radius: 28px; overflow: hidden; background: #e7f2e8; aspect-ratio: 600 / 460; box-shadow: 0 40px 80px -50px rgba(3, 28, 20, 0.6); }
.map__studio svg { width: 100%; height: 100%; }
.map__live, .map__live iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__toggle { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(251, 250, 246, 0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.map__toggle button { padding: 0.5em 0.9em; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.map__toggle button[aria-selected='true'] { background: var(--green-900); color: var(--mint); }
.map__ping { transform-origin: center; animation: mapping 2.4s var(--ease) infinite; }
@keyframes mapping { 0% { transform: scale(0.5); opacity: 0.4; } 100% { transform: scale(1.6); opacity: 0; } }

/* --------------------------------------------------------------------------
   Finale + footer
   -------------------------------------------------------------------------- */
.finale {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 clamp(64px, 12vh, 140px);
  text-align: center;
}
.finale__inner { display: grid; justify-items: center; }
.finale__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 6.4rem); max-width: 14ch; text-wrap: balance; }
.finale__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2rem; }
.finale__note { margin-top: 1.2rem; color: var(--mint-70); }
.finale__note a { color: var(--mint); }

.footer { position: relative; z-index: 1; background: var(--green-950); color: var(--mint-70); padding: 80px 0 0; overflow: hidden; }
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.1fr 1fr; } }
.footer h3 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); margin: 0 0 14px; }
.footer h3:not(:first-child) { margin-top: 26px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color 0.2s; }
.footer a:hover { color: var(--mint); }
.footer__brand p { margin-top: 18px; max-width: 40ch; font-size: 0.92rem; }
.footer__brand .brand { color: var(--mint); }
.footer__rating { color: var(--mint); font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 56px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--mint-15); font-size: 0.8rem; }
.footer__giant {
  font-family: var(--f-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(3.4rem, 15vw, 15rem);
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(221, 239, 222, 0.16);
  margin-top: 10px;
  user-select: none;
}
@media (max-width: 899px) { .footer { padding-bottom: 84px; } }

/* Mobile action dock */
.dock {
  position: fixed;
  left: 10px; right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(3, 28, 20, 0.82);
  border: 1px solid rgba(221, 239, 222, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--mint);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease);
}
.dock.is-visible { transform: none; }
.dock a, .dock button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; text-decoration: none; }
.dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dock__book { background: var(--lime); color: var(--green-900); }
@media (min-width: 900px) { .dock { display: none; } }

/* --------------------------------------------------------------------------
   Dialogs
   -------------------------------------------------------------------------- */
dialog { padding: 0; border: 0; color: var(--ink); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(2, 21, 16, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog[open] { animation: dlg-in 0.6s var(--ease); }
dialog[open]::backdrop { animation: fade-bd 0.5s ease; }
@keyframes fade-bd { from { opacity: 0; } }
@keyframes dlg-in { from { opacity: 0; transform: translateY(40px); } }

.sheet, .drawer {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  border-radius: 28px;
  background: var(--paper);
  overflow: auto;
  overscroll-behavior: contain;
}
.drawer { width: min(560px, calc(100% - 32px)); }
.sheet__inner, .drawer__inner { position: relative; padding: 34px 30px 28px; }
.sheet__close {
  position: absolute;
  right: 16px; top: 16px;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(3, 28, 20, 0.06);
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.4s var(--ease);
  z-index: 3;
}
.sheet__close:hover { background: var(--green-900); color: var(--mint); transform: rotate(90deg); }
.sheet__close--light { background: rgba(221, 239, 222, 0.14); color: var(--mint); }
.sheet h2, .drawer h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); padding-right: 40px; }
.sheet h2 em { color: var(--teal-d); }
.sheet__lede { margin-top: 0.8rem; color: var(--ink-70); font-size: 0.95rem; }
.book__field { margin-top: 24px; }
.book__field legend { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-70); margin-bottom: 12px; }
.book__field legend span { color: var(--teal-d); }
.care-list { display: flex; flex-wrap: wrap; gap: 8px; }
.care-list label, .session-list label { position: relative; cursor: pointer; }
.care-list input, .session-list input { position: absolute; opacity: 0; pointer-events: none; }
.care-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55em 0.95em;
  border-radius: 999px;
  border: 1px solid rgba(3, 28, 20, 0.16);
  font-size: 0.86rem;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.care-list input:checked + span { background: var(--green-900); color: var(--mint); border-color: var(--green-900); }
.care-list input:focus-visible + span, .session-list input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.session-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.session-list span { display: grid; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(3, 28, 20, 0.16); font-weight: 600; transition: background 0.25s, border-color 0.25s; }
.session-list small { font-weight: 400; color: var(--ink-55); font-size: 0.8rem; }
.session-list input:checked + span { border-color: var(--teal); background: rgba(23, 151, 143, 0.08); box-shadow: inset 0 0 0 1px var(--teal); }
.book__summary { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--mint); display: grid; gap: 6px; }
.book__summary p { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; }
.book__summary span { color: var(--ink-55); }
.book__summary b { text-align: right; }
.book__actions { display: grid; gap: 10px; margin-top: 20px; }
.book__actions .btn { width: 100%; white-space: normal; text-align: center; }
.sheet .fine { margin-top: 16px; }

.drawer__intro { margin-top: 1rem; color: var(--ink-70); }
.drawer__h { margin-top: 26px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-d); }
.drawer__steps { display: grid; gap: 10px; margin-top: 12px; counter-reset: d; }
.drawer__steps li { position: relative; padding: 14px 16px 14px 52px; border-radius: 14px; background: var(--mint); font-size: 0.95rem; }
.drawer__steps li::before { counter-increment: d; content: '0' counter(d); position: absolute; left: 16px; top: 15px; font-family: var(--f-mono); font-size: 0.75rem; color: var(--teal-d); }
.drawer__meta { display: grid; gap: 12px; margin-top: 20px; }
.drawer__meta div { display: grid; gap: 2px; }
.drawer__meta dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-55); }
.drawer__actions { display: grid; gap: 10px; margin-top: 24px; }
.drawer__actions .btn { width: 100%; }
.drawer .fine { margin-top: 14px; }

@media (min-width: 900px) {
  .drawer {
    margin: 0 0 0 auto;
    height: 100vh;
    max-height: 100vh;
    border-radius: 28px 0 0 28px;
  }
  .drawer[open] { animation: drawer-in 0.7s var(--ease); }
  @keyframes drawer-in { from { transform: translateX(60px); opacity: 0; } }
  .drawer__inner { padding: 48px 40px 40px; }
}
@media (max-width: 899px) {
  .sheet, .drawer {
    width: 100%;
    margin: auto 0 0;
    max-height: 92vh;
    max-height: 92svh;
    border-radius: 26px 26px 0 0;
  }
  .sheet__inner, .drawer__inner { padding: 28px 18px calc(24px + env(safe-area-inset-bottom)); }
  .book__actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    grid-template-columns: 1fr 1fr;
    margin: 16px -18px 0;
    padding: 18px 18px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(251, 250, 246, 0), var(--paper) 26%);
  }
  .book__actions .btn--lg { grid-column: 1 / -1; }
  .book__actions .btn:not(.btn--lg) { font-size: 0.85rem; padding: 0.7em 0.8em; }
  dialog.sheet[open], dialog.drawer[open] { animation: sheet-up 0.6s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
}

.media { width: 100%; height: 100%; background: transparent; }
.media::backdrop { background: rgba(2, 21, 16, 0.9); }
.media__inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 16px 24px; }
.media__inner .sheet__close { right: 18px; top: 18px; }
.media__frame { width: 100%; max-width: 1100px; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.media__frame video, .media__frame img { max-width: 100%; max-height: 100%; border-radius: 18px; background: #000; object-fit: contain; }
.media__cap { color: var(--mint); text-align: center; max-width: 640px; display: grid; gap: 6px; justify-items: center; }
.media__title { font-family: var(--f-head); font-size: 1.3rem; }
.media__text { color: var(--mint-70); font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .marquee__track { animation: none; }
  [data-intro], [data-reveal] { opacity: 1; transform: none; }
}
