:root {
  /* Pure Editorial White & Charcoal — Apple / Leica / Kinfolk / Stubbs Folio */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-soft: #F6F6F5;
  --surface-card: #FAFAF9;
  --border: #E7E6E2;
  --border-strong: #D4D3CE;

  --ink: #141414;
  --ink-body: #444441;
  --ink-muted: #767672;

  /* Matte Gallery Charcoal for Cinema & Featured Dark Surfaces */
  --dark: #111111;
  --dark-card: #1A1A1A;
  --dark-border: #2C2C2A;
  --ivory: #FAFAFA;
  --ivory-muted: #A3A39E;

  /* Restrained Clinical Signal Palette (Used ONLY on Real Equine Detections) */
  --signal-red: #C83E37;
  --signal-red-soft: #FDF2F1;
  --signal-amber: #B46918;
  --signal-amber-soft: #FDF7EE;
  --signal-sage: #2A7250;
  --signal-sage-soft: #F1F8F4;
  --signal-slate: #3F4E63;
  --signal-slate-soft: #F2F4F7;

  /* Back-compat aliases for privacy.html / support.html */
  --forest: var(--dark);
  --forest-card: var(--dark-card);
  --forest-border: var(--dark-border);
  --cobalt: var(--ink);
  --champagne: var(--ivory);
  --sage: var(--signal-sage);
  --sage-soft: var(--signal-sage-soft);
  --coral: var(--signal-red);
  --coral-soft: var(--signal-red-soft);
  --plum: var(--signal-amber);
  --plum-soft: var(--signal-amber-soft);
  --teal: var(--signal-slate);
  --teal-soft: var(--signal-slate-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace; font-variant-numeric: tabular-nums; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 700px; }

/* Minimalist Editorial Top Bar */
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.03em; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--ink-body); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center;
  background: var(--surface-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 3px;
}
.lang-btn {
  padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em; text-decoration: none; color: var(--ink-muted);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active { background-color: #141414; color: #FAFAFA; }

/* Monochrome Editorial Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14.5px;
  border-radius: 999px; padding: 13px 24px; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background-color: #141414; color: #FAFAFA; }
.btn-primary:hover { background-color: #2A2A28; }
.btn-light { background-color: #FAFAFA; color: #141414; }
.btn-light:hover { background-color: #EAEAE6; }
.btn-outline { background-color: transparent; color: #141414; border: 1px solid #D4D3CE; }
.btn-outline:hover { border-color: #141414; }
.btn-dark-outline { background-color: transparent; color: #FAFAFA; border: 1px solid #2C2C2A; }
.btn-dark-outline:hover { border-color: #A3A39E; }
.btn-sage { background: var(--signal-sage); color: #fff; }
.btn-coral { background: var(--signal-red); color: #fff; }
.btn-gold { background: var(--ivory); color: var(--ink); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* Editorial Bands */
.section { padding: 96px 0; background: var(--bg); }
.section-stone { background: var(--surface-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-dark { background: var(--dark); color: var(--ivory); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 16px;
}
.section-dark .kicker { color: var(--ivory-muted); }

h1, h2, h3 { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif; margin: 0; font-weight: 700; }
h1 { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.07; letter-spacing: -0.038em; margin-bottom: 20px; color: var(--ink); }
h1 span.muted { color: var(--ink-muted); font-weight: 500; }
h2 { font-size: clamp(29px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 16px; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 8px; }

.lead { font-size: 17px; line-height: 1.65; color: var(--ink-body); margin: 0 0 28px; max-width: 520px; }
.sub { font-size: 16.5px; line-height: 1.65; color: var(--ink-body); margin: 0; }
.section-dark .sub { color: var(--ivory-muted); }

/* 1. EDITORIAL HERO: REAL ARENA X-RAY PHOTO + ACCURATE GRAPHITE PENCIL BACKDROP */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 84px;
  background: #FFFFFF;
}
.hero-bg-sketch {
  position: absolute;
  inset: -10px -4% -20px -4%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bg-sketch img {
  width: min(980px, 76vw);
  height: auto;
  opacity: 0.085;
  mix-blend-mode: multiply;
  transform: translate(-6%, 4%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 48% 50%, #000 35%, transparent 96%);
  mask-image: radial-gradient(ellipse 75% 75% at 48% 50%, #000 35%, transparent 96%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid; grid-template-columns: 0.88fr 1.12fr; gap: 38px; align-items: center;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-reassurance {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-muted); font-weight: 500;
}
.hero-reassurance span { display: inline-flex; align-items: center; gap: 6px; }
.check-dot { color: var(--ink); font-weight: 700; }

.hero-xray-card {
  background: var(--dark);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.14);
  box-shadow: 0 26px 64px rgba(17, 17, 17, 0.16), 0 4px 16px rgba(17, 17, 17, 0.06);
}
.hero-xray-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1376 / 768;
  overflow: hidden;
  background: #141413;
}
.hero-xray-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-xray-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-pin {
  position: absolute;
  background: rgba(17, 17, 17, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 7px 11px;
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  line-height: 1.25;
}
.hero-pin-top {
  display: flex; align-items: center; gap: 5px;
  font-size: 9px; font-weight: 700; letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.72);
}
.hero-pin-val {
  font-size: 12.5px; font-weight: 700; color: #FFFFFF; margin-top: 2px;
}
.hero-pin-sub {
  font-size: 10px; color: rgba(255, 255, 255, 0.68); margin-top: 1px;
}
.hero-pin-pelvis { left: 2.5%; top: 13%; }
.hero-pin-rider { left: 58.5%; top: 6.5%; }
.hero-pin-head { right: 2.2%; top: 37%; }

.hero-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 13px 16px;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
}
.ht-item { display: flex; flex-direction: column; gap: 2px; }
.ht-lbl {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ivory-muted);
}
.ht-val { font-size: 12.5px; font-weight: 700; color: var(--ivory); }

.xray-stage {
  position: relative; background: #FFFFFF; text-align: center;
}
.xray-plate {
  width: 100%; height: auto; display: block;
  mix-blend-mode: multiply;
}
.xray-legend {
  display: flex; justify-content: center; gap: 22px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--ink-muted); font-weight: 500;
}
.xray-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-charcoal { background: var(--ink); }
.dot-amber { background: var(--signal-amber); }
.dot-red { background: var(--signal-red); }
.dot-sage { background: var(--signal-sage); }
.dot-slate { background: #8BA5C2; }

/* 2. REAL-LIFE DETECTION THEATER (MATTE CHARCOAL STAGE) */
.theater-wrap {
  margin-top: 36px;
  background: var(--dark); color: var(--ivory);
  border-radius: 26px; padding: 24px;
  border: 1px solid var(--dark-border);
}
.theater-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.t-tab {
  border: 1px solid #2C2C2A; background-color: transparent; color: #A3A39E;
  padding: 9px 16px; border-radius: 999px; font-family: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
}
.t-tab:hover { color: var(--ivory); border-color: #52524E; }
.t-tab.active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.theater-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: stretch;
}
.theater-screen {
  position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  background: #080808; border: 1px solid var(--dark-border);
}
.theater-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; pointer-events: none; transition: opacity .28s ease;
}
.theater-video.active { opacity: 1; pointer-events: auto; }

.theater-brief {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-height: 420px;
}
.det-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; width: fit-content;
}
.det-pill-red { background: rgba(200, 62, 55, 0.18); color: #F08A84; }
.det-pill-amber { background: rgba(180, 105, 24, 0.20); color: #EAB372; }
.det-pill-sage { background: rgba(42, 114, 80, 0.22); color: #7FD1A6; }

.theater-brief h3 { color: var(--ivory); font-size: 20.5px; line-height: 1.25; margin: 10px 0 10px; min-height: 54px; }
.theater-brief p { margin: 0; font-size: 14.5px; line-height: 1.58; color: var(--ivory-muted); min-height: 92px; }

.mini-split { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--dark-border); }
.mini-split-row { font-size: 13px; }
.mini-split-top { display: flex; justify-content: space-between; color: #D4D4CE; margin-bottom: 4px; font-weight: 500; }
.mini-track { height: 6px; border-radius: 999px; background: #2A2A28; overflow: hidden; }
.mini-fill { height: 100%; border-radius: 999px; transition: width .35s ease; }

.barn-action-box {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--dark-border);
  border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: #E5E5E0; line-height: 1.48;
  min-height: 82px;
}
.barn-action-box strong { display: block; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ivory-muted); margin-bottom: 4px; }

/* 3. ANATOMICAL X-RAY EXPLORER (RIDER vs SADDLE vs HORSE — ZERO LAYOUT SHIFT) */
.anatomy-split {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; margin-top: 40px;
}
.cause-visual-stage {
  position: relative;
  height: 454px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px 8px 0;
}
.cause-plate-stack {
  position: relative; width: 100%; height: 392px;
  display: flex; align-items: center; justify-content: center;
}
.cause-plate {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0; transition: opacity .28s ease;
  pointer-events: none;
}
.cause-plate.active { opacity: 1; }
.cause-plate-caption {
  margin-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface-soft); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 600; color: var(--ink-body);
}
.cause-switcher { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.cause-btn {
  border: 1px solid #D4D3CE; background-color: #FFFFFF; color: #444441;
  padding: 10px 18px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.cause-btn:hover { border-color: #141414; color: #141414; }
.cause-btn.active { background-color: #141414; color: #FAFAFA; border-color: #141414; }

.cause-card {
  background: var(--surface-soft); border: 1px solid var(--border);
  border-radius: 22px; padding: 26px 28px;
  min-height: 410px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.cause-copy { display: block; }
.cause-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.cause-headline { font-size: 21px; line-height: 1.28; letter-spacing: -0.025em; margin: 0 0 12px; color: var(--ink); min-height: 56px; }
.cause-action { font-size: 15px; line-height: 1.62; color: var(--ink-body); margin: 0 0 18px; min-height: 102px; }

.meter-box { background: #FFFFFF; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.meter-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin-bottom: 12px; }
.meter-row { margin-bottom: 11px; }
.meter-row:last-child { margin-bottom: 0; }
.meter-row-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.meter-track { height: 8px; border-radius: 999px; background: var(--surface-soft); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 999px; transition: width .35s ease; }

/* 4. ALL 6 REAL-LIFE DETECTION CASE STUDIES GRID */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.video-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.video-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 16px 36px rgba(20, 20, 20, 0.06); }

.video-thumb { position: relative; aspect-ratio: 16/9; background: #111111; cursor: pointer; overflow: hidden; }
.video-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(17, 17, 17, 0.84); color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.24); backdrop-filter: blur(8px);
  padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.video-thumb:hover .play-badge { transform: translate(-50%, -50%) scale(1.05); }
.video-card.is-playing .play-badge { opacity: 0; }
.expand-btn {
  position: absolute; right: 10px; top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(17, 17, 17, 0.78); color: var(--ivory);
  backdrop-filter: blur(8px);
  padding: 5px 10px; border-radius: 999px; font-family: inherit;
  font-size: 11.5px; font-weight: 600; cursor: pointer;
}
.expand-btn:hover { background: var(--ink); }

.video-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.v-pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.v-score { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; font-weight: 600; color: var(--ink-muted); }
.video-body h3 { font-size: 17.5px; margin: 2px 0 0; }
.video-body p { font-size: 14px; line-height: 1.58; color: var(--ink-body); margin: 0; }

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(17, 17, 17, 0.88); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-backdrop.open { display: flex; }
.lightbox-card {
  width: min(980px, 100%); background: var(--dark); color: var(--ivory);
  border: 1px solid var(--dark-border); border-radius: 22px; overflow: hidden;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55);
}
.lightbox-stage { position: relative; aspect-ratio: 16/9; background: #080808; }
.lightbox-stage video { width: 100%; height: 100%; object-fit: contain; display: block; }
.lightbox-bar {
  padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.lightbox-meta h3 { margin: 0 0 4px; color: var(--ivory); font-size: 19px; }
.lightbox-meta p { margin: 0; color: var(--ivory-muted); font-size: 14px; }
.lightbox-controls { display: flex; gap: 8px; align-items: center; }
.lb-btn {
  border: 1px solid var(--dark-border); background: rgba(255, 255, 255, 0.06);
  color: var(--ivory); padding: 8px 14px; border-radius: 999px;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.lb-btn.active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

/* 5. FACIAL GRIMACE SECTION WITH PENCIL X-RAY HEAD ART */
.editorial-duo {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 52px; align-items: center;
}
.face-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.face-card {
  background: var(--surface-soft); border: 1px solid var(--border);
  border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.face-card img { width: 100%; border-radius: 12px; display: block; border: 1px solid var(--border); }
.face-label-row { display: flex; justify-content: space-between; align-items: center; }
.face-title { font-weight: 700; font-size: 16.5px; color: var(--ink); }
.face-sub { font-size: 12.5px; font-weight: 500; color: var(--ink-muted); }
.face-caption { font-size: 14px; color: var(--ink-body); margin: 0; }

/* 6. ACOUSTIC HOOFBEAT LAB WITH PENCIL X-RAY HOOF ART */
.audio-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.audio-card {
  background: var(--dark); color: var(--ivory);
  border-radius: 24px; padding: 32px;
  border: 1px solid var(--dark-border);
}
.audio-controls { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 22px; }
.eq-box {
  background: #0A0A0A; border: 1px solid var(--dark-border);
  border-radius: 16px; padding: 18px;
}
.eq-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; }
.eq-bars { display: flex; align-items: flex-end; gap: 6px; height: 84px; }
.eq-bar { flex: 1; background: #7FD1A6; border-radius: 4px 4px 2px 2px; height: 14%; transition: height .09s ease, background .15s; }

/* 7. IPHONE SCREENS + 9:16 ARENA-RAIL SHARE */
.screens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.screen-item { margin: 0; text-align: center; }
.screen-item img {
  width: 100%; border-radius: 22px; display: block;
  border: 1px solid var(--border); box-shadow: 0 14px 36px rgba(20, 20, 20, 0.08);
}
.screen-item figcaption { margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.screen-item small { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 3px; font-weight: 400; }

.story-spotlight {
  margin-top: 52px;
  background: var(--dark); color: var(--ivory);
  border-radius: 26px; padding: 40px 42px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px; align-items: center;
  border: 1px solid var(--dark-border);
}
.story-spotlight h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.14; color: var(--ivory); margin: 0 0 14px; }
.story-spotlight .sub { color: var(--ivory-muted); margin-bottom: 24px; }
.story-points { display: grid; gap: 12px; }
.story-point {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 14px; padding: 14px 16px;
}
.story-point-dot {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08); color: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12.5px;
}
.story-point strong { display: block; color: var(--ivory); font-size: 14.5px; margin-bottom: 2px; }
.story-point span { display: block; color: var(--ivory-muted); font-size: 13.5px; line-height: 1.5; }
.story-phone-wrap { display: flex; justify-content: center; }
.story-phone-frame {
  width: min(290px, 100%); border-radius: 26px; overflow: hidden;
  border: 1px solid #353532; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); background: #080808;
}
.story-phone-frame img { width: 100%; display: block; }

/* 7B. FOR VETS & PHYSIOS — CLINICAL MEASUREMENTS & NORMAL-RANGE LAB */
.clin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 24px; }
.clin-tab {
  border: 1px solid #D4D3CE; background-color: #FFFFFF; color: #444441;
  padding: 10px 18px; border-radius: 999px; font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.clin-tab:hover { border-color: #141414; color: #141414; }
.clin-tab.active { background-color: #141414; color: #FAFAFA; border-color: #141414; }

.clin-grid {
  display: grid; grid-template-columns: 0.94fr 1.06fr; gap: 24px; align-items: stretch;
}
.clin-bullseye-card {
  background: var(--dark); color: var(--ivory);
  border: 1px solid var(--dark-border); border-radius: 24px;
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.clin-b-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.clin-b-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: var(--ivory-muted); margin-bottom: 4px; }
.clin-b-head h3 { color: var(--ivory); font-size: 20px; line-height: 1.25; margin: 0; min-height: 50px; }
.clin-hz-pill {
  white-space: nowrap; font-size: 12px; font-weight: 700; color: #7FD1A6;
  background: rgba(91, 184, 133, 0.14); border: 1px solid rgba(91, 184, 133, 0.30);
  padding: 6px 11px; border-radius: 999px;
}
.clin-svgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clin-svg-box {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: 18px; padding: 14px 12px; text-align: center;
}
.clin-svg-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--ivory-muted); margin-bottom: 6px; }
.bullseye-svg { width: 100%; max-width: 176px; height: auto; display: block; margin: 0 auto; }
.bullseye-svg circle, .bullseye-svg line { transition: all .38s ease; }
.clin-svg-stats { font-size: 12.5px; font-weight: 700; color: var(--ivory); margin-top: 6px; }
.clin-svg-sub { font-size: 11.5px; color: #7FD1A6; margin-top: 2px; font-weight: 600; }

.clin-b-legend {
  display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ivory-muted);
  padding-top: 4px;
}
.clin-b-legend span { display: inline-flex; align-items: center; gap: 6px; }
.leg-ring { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #A8A8A3; }
.leg-zone { display: inline-block; width: 12px; height: 8px; border-radius: 999px; background: rgba(91,184,133,0.28); border: 1px solid #5BB885; }

.clin-b-note {
  background: rgba(255,255,255,0.04); border: 1px solid var(--dark-border);
  border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; color: #E2E2DC;
  min-height: 92px;
}
.clin-b-note strong { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ivory-muted); margin-bottom: 4px; }

.clin-ranges-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 24px;
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.clin-r-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.clin-r-kicker { font-size: 10.5px; font-weight: 700; letter-spacing: 0.11em; color: var(--ink-muted); margin-bottom: 3px; }
.clin-r-head h3 { font-size: 20px; margin: 0; color: var(--ink); }
.clin-r-legend { display: flex; gap: 11px; flex-wrap: wrap; font-size: 11.5px; font-weight: 600; color: var(--ink-muted); }
.clin-r-legend span { display: inline-flex; align-items: center; gap: 5px; }
.leg-sage-bar { display: inline-block; width: 14px; height: 7px; border-radius: 4px; background: rgba(42,114,80,0.24); }
.leg-diamond { display: inline-block; width: 6px; height: 6px; background: var(--ink); transform: rotate(45deg); }
.leg-hollow { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 2px solid #8A8A84; background: #FFF; }
.leg-solid { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--signal-sage); }

.clin-range-list { display: flex; flex-direction: column; gap: 15px; }
.cr-row { display: flex; flex-direction: column; gap: 6px; }
.cr-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cr-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.cr-code { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-muted); margin-left: 6px; }
.cr-right { display: inline-flex; align-items: center; gap: 8px; }
.cr-badge { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.cr-val { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--ink); min-width: 96px; text-align: right; }
.cr-track {
  position: relative; height: 11px; border-radius: 999px; background: #F1F1EE; overflow: visible;
}
.cr-zones {
  position: absolute; inset: 0; border-radius: 999px; overflow: hidden; display: flex;
}
.cr-z-norm { background: rgba(42, 114, 80, 0.22); height: 100%; }
.cr-z-watch { background: rgba(180, 105, 24, 0.16); height: 100%; }
.cr-z-high { background: rgba(200, 62, 55, 0.16); flex: 1; height: 100%; }
.cr-norm-tick {
  position: absolute; top: -3px; width: 1.5px; height: 17px; background: rgba(42, 114, 80, 0.72);
}
.cr-shift-bridge {
  position: absolute; top: 4px; height: 3px; border-radius: 2px; transition: left .38s ease, width .38s ease, background .25s ease;
}
.cr-base-diamond {
  position: absolute; top: 2px; width: 7px; height: 7px; background: #141414; border: 1px solid #FFF;
  transform: translateX(-50%) rotate(45deg); transition: left .38s ease;
}
.cr-dot-before {
  position: absolute; top: 0; width: 11px; height: 11px; border-radius: 50%;
  background: #FFFFFF; border: 2px solid #767670; transform: translateX(-50%);
  transition: left .38s ease;
}
.cr-dot-after {
  position: absolute; top: -1.5px; width: 14px; height: 14px; border-radius: 50%;
  border: 2.2px solid #FFFFFF; box-shadow: 0 2px 6px rgba(20,20,20,0.22); transform: translateX(-50%);
  transition: left .38s ease, background .25s ease;
}
.cr-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-muted); }
.cr-foot-norm { color: var(--signal-sage); font-weight: 600; }
.clin-pdf-strip {
  background: var(--surface-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 11px 14px; font-size: 12.5px; color: var(--ink-body);
}

/* 8. PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.price-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: 24px; padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between;
}
.price-card.featured {
  background: var(--dark); color: var(--ivory); border-color: var(--dark);
}
.price-tag { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin-bottom: 8px; }
.price-card.featured .price-tag { color: var(--ivory-muted); }
.price-num { font-size: 44px; font-weight: 700; letter-spacing: -0.04em; margin: 12px 0 6px; line-height: 1; }
.price-num span { font-size: 15px; font-weight: 500; letter-spacing: 0; opacity: 0.65; }
.price-sub { font-size: 13.5px; color: var(--ink-muted); margin-top: 6px; }
.price-card.featured .price-sub { color: var(--ivory-muted); }
.price-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; font-size: 15px; color: var(--ink-body); }
.price-card.featured .price-list { color: #D4D4CE; }

/* 9. CONFIDENCE, TRUST STRIP & SCIENCE DRAWER */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; }
.step-card {
  background: #FFFFFF; border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 24px;
}
.step-card p { margin: 0; font-size: 15px; color: var(--ink-body); }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 32px 0 28px; }
.trust-box { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.trust-val { font-size: 30px; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); line-height: 1.1; }
.trust-lbl { font-size: 13.5px; color: var(--ink-muted); margin-top: 6px; }

details.science-drawer {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 20px; padding: 22px 26px;
}
details.science-drawer summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 15.5px; color: var(--ink);
}
details.science-drawer summary::-webkit-details-marker { display: none; }
.drawer-body { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--border); }
.audit-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.audit-tab {
  border: 1px solid var(--border); background: var(--surface-soft); color: var(--ink-body);
  padding: 8px 16px; border-radius: 999px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.audit-tab.active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.audit-panel { display: none; }
.audit-panel.active { display: block; }
.bar-row { margin-bottom: 14px; }
.bar-head { display: flex; justify-content: space-between; font-size: 13.5px; margin-bottom: 5px; }
.bar-track { height: 8px; border-radius: 999px; background: var(--surface-soft); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: var(--ink); }
.disc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 18px; }
.disc-pill { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; padding: 11px 12px; background: var(--surface-soft); color: var(--ink); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; }
td { padding: 10px 12px; border-top: 1px solid var(--border); color: var(--ink-body); }

/* Early Access Modal */
.beta-modal {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(17, 17, 17, 0.78); backdrop-filter: blur(10px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.beta-modal.open { display: flex; }
.beta-dialog {
  width: min(460px, 100%); background: #FFFFFF; color: var(--ink);
  border: 1px solid var(--border); border-radius: 24px; padding: 32px 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35); position: relative;
}
.beta-close {
  position: absolute; top: 18px; right: 18px; width: 32px; height: 32px;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface-soft);
  color: var(--ink-body); font-size: 14px; font-weight: 700; cursor: pointer;
}
.beta-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
.beta-role-btn {
  border: 1px solid #D4D3CE; background-color: #F6F6F5; color: #444441;
  padding: 10px 12px; border-radius: 12px; font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.beta-role-btn.active { background-color: #141414; color: #FAFAFA; border-color: #141414; }
.beta-input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: #FFFFFF; font-family: inherit; font-size: 15px; color: var(--ink); margin-bottom: 14px;
}
.beta-input:focus { outline: none; border-color: var(--ink); }
.beta-success {
  display: none; padding: 16px; border-radius: 14px;
  background: var(--signal-sage-soft); color: var(--ink); font-size: 14.5px; line-height: 1.55;
}

footer {
  padding: 48px 0; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--ink-muted); background: #FFFFFF;
}
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* --- INTERACTIVE BEFORE THERAPY -> AFTER THERAPY VISUAL COMPARATOR --- */
.therapy-stage-card {
  background: #141414; color: #FAFAFA; border-radius: 24px; padding: 24px;
  border: 1px solid #262624; margin-bottom: 22px;
  box-shadow: 0 24px 64px rgba(10, 10, 10, 0.14);
}
.therapy-stage-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 14px; margin-bottom: 18px;
}
.therapy-stage-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #D4B47C; margin-bottom: 4px;
}
.therapy-stage-head h3 {
  font-size: clamp(20px, 2.3vw, 26px); font-weight: 700;
  letter-spacing: -0.025em; color: #FAFAFA; margin: 0;
}
.therapy-controls {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.therapy-mode-group {
  display: inline-flex; background: #222220; padding: 3px; border-radius: 999px;
  border: 1px solid #32322F; gap: 2px;
}
.therapy-mode-btn {
  border: none; background-color: transparent; color: #B4B4AF;
  padding: 7px 14px; border-radius: 999px; font-family: inherit;
  font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.therapy-mode-btn.active {
  background-color: #FAFAFA; color: #141414;
}
.therapy-skel-toggle {
  border: 1px solid #3A3A36; background-color: #222220; color: #C5C5C0;
  padding: 8px 14px; border-radius: 999px; font-family: inherit;
  font-size: 12px; font-weight: 600; cursor: pointer;
}
.therapy-skel-toggle.active {
  background-color: #5BB885; color: #102016; border-color: #5BB885;
}

/* Curtain Slider Stage (Pixel-Locked Before / After Real Photographs + SVG Skeleton) */
.therapy-curtain-wrap {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden; background: #1B1B19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.therapy-layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.therapy-layer img,
.therapy-before-clip img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; pointer-events: none;
}
.therapy-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
}
.therapy-stage-card.hide-skeleton .therapy-svg { opacity: 0; }
.therapy-before-clip {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.therapy-curtain-divider {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: rgba(255, 255, 255, 0.94); transform: translateX(-1px);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.65); pointer-events: none; z-index: 6;
}
.therapy-curtain-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #FAFAFA; color: #141414;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.48); pointer-events: none; z-index: 7;
}
.therapy-pill-before, .therapy-pill-after {
  position: absolute; top: 14px; z-index: 5;
  padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(16, 16, 15, 0.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14); pointer-events: none;
}
.therapy-pill-before { left: 14px; color: #F5B4A8; }
.therapy-pill-after { right: 14px; color: #7EE0A8; }

/* Mode 2: Side-by-Side Stage */
.therapy-side-grid {
  display: none; grid-template-columns: 1fr 1fr; gap: 14px;
}
.therapy-side-pane {
  display: flex; flex-direction: column; gap: 8px;
}
.therapy-side-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #1B1B19;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.therapy-side-frame.is-after { border-color: rgba(91, 184, 133, 0.55); }
.therapy-side-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.therapy-side-cap {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px; color: #B4B4AF; padding: 0 2px;
}
.therapy-side-cap strong { color: #FAFAFA; }
.therapy-side-cap .sage { color: #7EE0A8; font-weight: 700; }
.therapy-side-cap .coral { color: #F2A096; font-weight: 700; }

/* Mode 3: Ghost Skeleton Superposition Stage */
.therapy-ghost-wrap {
  display: none; position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 18px; overflow: hidden;
  background: radial-gradient(circle at 52% 48%, #222320 0%, #141414 78%);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.therapy-ghost-legend {
  position: absolute; top: 14px; left: 14px; display: flex; flex-wrap: wrap; gap: 12px;
  padding: 7px 12px; border-radius: 999px; background: rgba(16, 16, 15, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.12); font-size: 11px; color: #D4D4CF;
}
.therapy-ghost-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* Mode visibility */
.therapy-stage-card[data-mode="side"] .therapy-curtain-wrap { display: none; }
.therapy-stage-card[data-mode="side"] .therapy-side-grid { display: grid; }
.therapy-stage-card[data-mode="ghost"] .therapy-curtain-wrap { display: none; }
.therapy-stage-card[data-mode="ghost"] .therapy-ghost-wrap { display: block; }

/* 4-Tile Real-World Therapy KPI Strip */
.therapy-kpi-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 16px;
}
.therapy-kpi {
  background: #1D1D1B; border: 1px solid #2D2D2A; border-radius: 14px;
  padding: 13px 14px;
}
.therapy-kpi-lbl {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #9C9C96; margin-bottom: 5px;
}
.therapy-kpi-val {
  font-size: 17px; font-weight: 700; color: #FAFAFA; letter-spacing: -0.02em;
}
.therapy-kpi-sub {
  font-size: 11.5px; font-weight: 600; color: #7EE0A8; margin-top: 3px;
}
.therapy-stage-hint {
  margin-top: 11px; font-size: 12px; color: #9C9C96;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

@media (max-width: 960px) {
  .hero-grid, .theater-grid, .anatomy-split, .clin-grid, .video-grid, .editorial-duo, .face-grid, .audio-split, .pricing-grid, .steps-grid, .trust-strip, .story-spotlight, .therapy-side-grid {
    grid-template-columns: 1fr;
  }
  .therapy-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .cause-visual-stage { height: 340px; }
  .cause-plate-stack { height: 280px; }
  .cause-card, .theater-brief { min-height: 0; }
  .cause-headline, .cause-action, .theater-brief h3, .theater-brief p, .barn-action-box { min-height: 0; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .story-spotlight, .theater-wrap { padding: 24px 18px; }
  .nav-links { display: none; }
  .section { padding: 68px 0; }
  .hero-bg-sketch img { width: 120vw; opacity: 0.065; }
}
@media (max-width: 640px) {
  .hero-pin { padding: 5px 8px; border-radius: 9px; }
  .hero-pin-top { font-size: 7.5px; }
  .hero-pin-val { font-size: 10.5px; }
  .hero-pin-sub { display: none; }
  .hero-telemetry-bar { grid-template-columns: repeat(2, 1fr); gap: 10px 12px; }
}
