/* ============================================================
   SCRUBS AND SUITS — Cinematic Front Door
   Palette (exact, no others):
   #072523 darkest teal | #0E4C49 deep teal | #16615D soft teal
   #C6A052 brass gold   | #AE893B deep gold | #F6F4EE warm cream
   ============================================================ */

:root {
  --void: #072523;
  --deep: #0E4C49;
  --soft: #16615D;
  --gold: #C6A052;
  --gold2: #AE893B;
  --cream: #F6F4EE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scrollbar-width: thin; scrollbar-color: var(--soft) var(--void); }

body {
  background: var(--void);
  color: var(--cream);
  font-family: "Mulish", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.playfair { font-family: "Playfair Display", serif; }
.cormorant { font-family: "Cormorant Garamond", serif; font-style: italic; }
.mulish { font-family: "Mulish", sans-serif; }
.gold { color: var(--gold); }

::selection { background: var(--gold); color: var(--void); }

body::after {
  content: "";
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(2) infinite;
}
@keyframes grain { 50% { transform: translate(1.4%, -1%); } }

/* ============ INTRO VEIL / 3D LOGO ============ */
#introVeil {
  position: fixed; inset: 0;
  z-index: 80;
  background: radial-gradient(90% 70% at 50% 45%, #0A3330 0%, var(--void) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#introVeil.gone { opacity: 0; visibility: hidden; pointer-events: none; }
#logoCanvas { width: min(62vmin, 560px); height: min(62vmin, 560px); display: block; }
.intro-hint {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint { 50% { opacity: 0.35; transform: translateX(-50%) translateY(4px); } }

/* ============ EKG THREAD ============ */
#ekgThread {
  position: fixed;
  left: 0; top: 0;
  width: 130px; height: 100vh;
  z-index: 70;
  pointer-events: none;
}
#ekgThread .rail { stroke: rgba(246, 244, 238, 0.10); stroke-width: 1.2; fill: none; }
#ekgThread .live {
  stroke: var(--soft);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(22, 97, 93, 0.9));
}
#ekgThread .head {
  fill: var(--gold);
  filter: drop-shadow(0 0 8px rgba(198, 160, 82, 0.95));
  transition: r 0.25s ease;
}
#ekgThread.beat .live { stroke: var(--gold); filter: drop-shadow(0 0 10px rgba(198, 160, 82, 0.8)); }
@media (max-width: 900px) { #ekgThread { display: none; } }

/* ============ TOP BAR ============ */
#topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 75;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(22px, 4vw, 54px);
  mix-blend-mode: normal;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
#topbar.on { opacity: 1; transform: none; }
.wordmark {
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.wordmark .amp { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--gold); }
.chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(198, 160, 82, 0.5);
  border-radius: 100px;
  padding: 11px 20px;
  transition: background 0.3s, color 0.3s;
  background: rgba(7, 37, 35, 0.4);
  backdrop-filter: blur(8px);
}
.chip:hover { background: var(--gold); color: var(--void); }
.topnav {
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.topnav a {
  color: rgba(246, 244, 238, 0.72);
  text-decoration: none;
  transition: color 0.25s;
}
.topnav a:hover { color: var(--gold); }
@media (max-width: 760px) {
  #topbar { flex-wrap: wrap; row-gap: 10px; padding-top: 14px; padding-bottom: 12px; }
  .topnav { order: 3; width: 100%; justify-content: center; gap: 24px; }
}

/* ============ SHARED ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.85;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: beatdot 2.4s ease-in-out infinite;
}
@keyframes beatdot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 160, 82, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(198, 160, 82, 0); }
}
.script { font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; color: var(--gold); }
.sec-head { text-align: center; max-width: 900px; margin: 0 auto; }
.sec-head h2 {
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  margin-top: 18px;
  color: var(--cream);
}
.lead { font-size: clamp(15px, 1.6vw, 18px); color: rgba(246, 244, 238, 0.72); margin-top: 18px; }
.method-lead {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(246, 244, 238, 0.78);
  margin: 16px auto 0;
  max-width: 640px;
  line-height: 1.65;
}

[data-rv] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.25, 1),
              transform 0.9s cubic-bezier(0.2, 0.65, 0.25, 1),
              filter 0.9s cubic-bezier(0.2, 0.65, 0.25, 1);
}
[data-rv].on { opacity: 1; transform: none; filter: none; }

.btn-gold {
  display: inline-block;
  background: linear-gradient(115deg, var(--gold2), var(--gold) 55%, var(--gold2));
  background-size: 220% 100%;
  color: var(--void);
  text-decoration: none;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 34px;
  border-radius: 100px;
  box-shadow: 0 18px 44px -14px rgba(198, 160, 82, 0.55);
  transition: background-position 0.5s, transform 0.25s, box-shadow 0.3s;
}
.btn-gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 24px 54px -14px rgba(198, 160, 82, 0.7); }
.btn-ghost {
  display: inline-block;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 26px;
  border: 1px solid rgba(246, 244, 238, 0.28);
  border-radius: 100px;
  transition: border-color 0.3s, background 0.3s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(198, 160, 82, 0.08); }
.cta-row { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* ============ TRACKS / STAGES ============ */
.track { position: relative; }
#hero { height: 380vh; }
#method { height: 320vh; }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.stage-veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 108%, rgba(7, 37, 35, 0.85) 0%, transparent 60%),
    linear-gradient(180deg, rgba(7, 37, 35, 0.55) 0%, rgba(7, 37, 35, 0.05) 30%, rgba(7, 37, 35, 0.35) 78%, var(--void) 100%);
}
.stage-veil.heavy { background: linear-gradient(180deg, rgba(7, 37, 35, 0.6), rgba(7, 37, 35, 0.32) 50%, var(--void) 100%); }

/* ============ HERO ============ */
#orbitCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 9vh, 110px);
  transform: translateX(-50%);
  width: min(1100px, 92vw);
  text-align: center;
  z-index: 3;
}
.h-eyebrows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
}
#hero h1 {
  font-weight: 600;
  font-size: clamp(38px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: var(--cream);
}
#hero h1 .line { display: block; }
#hero h1 .l3 {
  font-size: clamp(46px, 8.4vw, 128px);
  font-weight: 600;
  color: var(--gold);
  margin-top: 2px;
}
#hero h1 .l3.landed { animation: goldflash 0.9s ease-out 1; }
@keyframes goldflash {
  0% { text-shadow: 0 0 0 rgba(198, 160, 82, 0); }
  25% { text-shadow: 0 0 44px rgba(198, 160, 82, 0.85), 0 0 90px rgba(198, 160, 82, 0.4); }
  100% { text-shadow: 0 0 18px rgba(198, 160, 82, 0.18); }
}
#hero h1 .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotate(1.5deg);
  filter: blur(8px);
  will-change: transform, opacity, filter;
}
#hero .l3 {
  display: inline-block;
  opacity: 0;
  transform: scale(1.35);
  filter: blur(14px);
  will-change: transform, opacity, filter;
}
#hero .sub {
  max-width: 640px;
  margin: 26px auto 0;
  font-size: clamp(14.5px, 1.5vw, 17px);
  color: rgba(246, 244, 238, 0.75);
  opacity: 0;
  transform: translateY(24px);
}
#hero .cta-row { margin-top: 30px; opacity: 0; transform: translateY(24px); }

/* ============ PRESS ============ */
#press {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(246, 244, 238, 0.08);
  border-bottom: 1px solid rgba(246, 244, 238, 0.08);
  background: rgba(7, 37, 35, 0.6);
  padding: 30px clamp(20px, 4vw, 54px);
}
.press-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 6vw, 90px);
  flex-wrap: wrap;
}
.press-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.45);
}
.press-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.press-name { font-size: 19px; font-weight: 500; color: rgba(246, 244, 238, 0.8); }
.press-links { display: flex; gap: 12px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.press-links a { color: rgba(198, 160, 82, 0.85); text-decoration: none; }
.press-links a:hover { color: var(--gold); }

/* ============ THE CLIENT CHART (scroll-through document) ============ */
#chartAct { height: 380vh; }
#chartAct .stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 86px clamp(20px, 4vw, 54px) 30px;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(14, 76, 73, 0.35) 0%, transparent 65%),
    var(--void);
}
.chart-title { text-align: center; margin-bottom: 22px; }
.chart-title h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  margin-top: 12px;
  color: var(--cream);
}
.chart-scene {
  position: relative;
  perspective: 1500px;
  perspective-origin: 50% 20%;
}
.chart-desk {
  position: absolute;
  left: 50%; bottom: -40px;
  transform: translateX(-50%);
  width: 135%;
  height: 200px;
  background: radial-gradient(50% 62% at 50% 42%, rgba(22, 97, 93, 0.34) 0%, rgba(10, 51, 48, 0.35) 45%, transparent 78%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: -2;
}
.chart-glow {
  position: absolute;
  left: 50%; bottom: -16px;
  transform: translateX(-50%);
  width: 96%;
  height: 74px;
  background: radial-gradient(50% 100% at 50% 46%, rgba(226, 194, 126, 0.55) 0%, rgba(198, 160, 82, 0.3) 42%, transparent 74%);
  filter: blur(22px);
  z-index: -1;
}
.chart-frame {
  position: relative;
  width: min(880px, 94vw);
  height: min(66vh, 720px);
  overflow: hidden;
  border-radius: 16px;
  transform: rotateX(var(--tilt, 7deg));
  transform-style: preserve-3d;
  box-shadow:
    0 80px 140px -50px rgba(0, 0, 0, 0.9),
    0 30px 50px -20px rgba(0, 0, 0, 0.6),
    0 0 60px -10px rgba(198, 160, 82, 0.22),
    0 0 0 1px rgba(198, 160, 82, 0.22);
}
.chart-frame::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(7, 37, 35, 0.28), transparent 12%, transparent 86%, rgba(7, 37, 35, 0.32));
}
.chart-doc {
  position: relative;
  background: var(--cream);
  color: #14231f;
  padding: 34px clamp(26px, 5vw, 56px) 44px clamp(52px, 7vw, 84px);
  will-change: transform;
}
.doc-rail {
  position: absolute;
  left: clamp(24px, 3.4vw, 40px); top: 0;
  width: 2px; height: 100%;
  background: rgba(22, 97, 93, 0.16);
}
.doc-rail::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, var(--soft), var(--gold));
  transform: scaleY(var(--railp, 0));
  transform-origin: top;
  box-shadow: 0 0 8px rgba(22, 97, 93, 0.55);
}
.doc-head {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.4fr;
  gap: 0;
  border: 1.5px solid rgba(20, 35, 31, 0.25);
  border-radius: 10px;
  position: relative;
  margin-bottom: 34px;
}
.cf { padding: 15px 18px 12px; border-right: 1px solid rgba(20, 35, 31, 0.14); min-width: 0; }
.cf:last-of-type { border-right: none; }
.cf .k {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(20, 35, 31, 0.5);
  margin-bottom: 3px;
}
.cf .v { font-size: 18px; font-weight: 600; }
.stamp {
  position: absolute;
  top: -14px; right: 14px;
  background: var(--cream);
  padding: 7px 13px;
  border: 2px solid rgba(174, 137, 59, 0.75);
  border-radius: 6px;
  color: var(--gold2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(-3.5deg);
  white-space: nowrap;
}
.doc-section { margin-bottom: 34px; }
.doc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft);
  border-bottom: 1px solid rgba(20, 35, 31, 0.16);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.doc-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.df .k {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(20, 35, 31, 0.5);
  margin-bottom: 4px;
}
.df .v { font-size: 22px; font-weight: 600; color: #14231f; }
.doc-findings { list-style: none; }
.doc-findings li {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(20, 35, 31, 0.1);
}
.doc-findings li:first-child { border-top: none; }
.fnum { font-size: 24px; font-weight: 600; color: var(--gold2); flex: 0 0 34px; line-height: 1.2; }
.doc-findings p { font-size: 14.5px; color: rgba(20, 35, 31, 0.75); line-height: 1.65; }
.doc-findings b {
  color: #14231f;
  background-image: linear-gradient(to right, rgba(198, 160, 82, 0.45), rgba(198, 160, 82, 0.45));
  background-repeat: no-repeat;
  background-size: 0% 38%;
  background-position: 0 90%;
  transition: background-size 1s cubic-bezier(0.3, 0, 0.2, 1) 0.2s;
}
.doc-entry {
  position: relative;
  opacity: 0.25;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.doc-entry.on { opacity: 1; transform: none; }
.doc-entry.on b { background-size: 100% 38%; }
.doc-entry::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(28px, 3.8vw, 45px));
  top: 24px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid rgba(22, 97, 93, 0.4);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.doc-entry.on::before {
  background: var(--soft);
  border-color: var(--soft);
  box-shadow: 0 0 8px rgba(22, 97, 93, 0.7);
}
.doc-nums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dn { text-align: left; }
.dn .dn-v {
  display: block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--gold2);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  margin-bottom: 4px;
}
.dn .k {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(20, 35, 31, 0.5);
}
.doc-numcap {
  margin-top: 14px;
  font-size: 10.5px;
  color: rgba(20, 35, 31, 0.48);
}
@media (max-width: 860px) { .doc-nums { grid-template-columns: 1fr; } }

.doc-note {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--gold2);
  padding: 8px 0 26px;
}
.doc-sig {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1.5px dashed rgba(20, 35, 31, 0.25);
  padding-top: 20px;
}
.doc-sig .k {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(20, 35, 31, 0.5);
}
.doc-sig .v { font-size: 24px; font-weight: 600; }
.sig-cta {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold2);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(174, 137, 59, 0.5);
  padding-bottom: 3px;
}
.sig-cta:hover { color: #14231f; border-color: #14231f; }
@media (max-width: 860px) {
  .doc-head { grid-template-columns: 1fr; }
  .cf { border-right: none; border-bottom: 1px solid rgba(20, 35, 31, 0.12); }
  .doc-fields { grid-template-columns: 1fr; }
  #chartAct { height: auto; }
  #chartAct .stage { position: relative; height: auto; }
  .chart-frame { height: auto; overflow: visible; }
  .doc-entry { opacity: 1; transform: none; }
}

/* ============ DUO ============ */
#duo {
  position: relative;
  z-index: 4;
  padding: clamp(70px, 11vh, 150px) clamp(20px, 4vw, 54px);
  background:
    radial-gradient(80% 60% at 50% 110%, rgba(14, 76, 73, 0.45) 0%, transparent 60%),
    var(--void);
}
.duo-grid {
  max-width: 1040px;
  margin: clamp(44px, 7vh, 80px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
}
.person { text-align: center; }
.person img {
  height: clamp(300px, 32vw, 440px);
  width: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.6));
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 97%);
}
.p-eyebrow {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.p-eyebrow.teal { color: #4FB3AB; }
.p-eyebrow.gold-t { color: var(--gold); }
.person h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; margin-top: 8px; }
.person p { max-width: 400px; margin: 10px auto 0; font-size: 14.5px; color: rgba(246, 244, 238, 0.7); }
@media (max-width: 820px) { .duo-grid { grid-template-columns: 1fr; gap: 56px; } }

/* ============ METHOD (pillars over clip 2) ============ */
.stage-media { position: absolute; inset: 0; }
.stage-media video, .serve-media video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1; /* the fallback div follows the video in the DOM and would
                 otherwise paint over it — the video must win once ready */
}
.stage-media video.ready, .serve-media video.ready { opacity: 1; }
.media-fallback { position: absolute; inset: 0; z-index: 0; }
.scrub-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
}
.mf2 {
  background:
    radial-gradient(60% 55% at 30% 40%, rgba(22, 97, 93, 0.55) 0%, transparent 65%),
    radial-gradient(50% 45% at 74% 60%, rgba(198, 160, 82, 0.16) 0%, transparent 65%),
    linear-gradient(160deg, #0A3330, var(--void) 75%);
  background-size: 160% 160%, 160% 160%, 100% 100%;
  animation: mfdrift 16s ease-in-out infinite alternate;
}
.mf3 {
  background:
    radial-gradient(45% 80% at 12% 50%, rgba(22, 97, 93, 0.5) 0%, transparent 60%),
    radial-gradient(45% 80% at 88% 50%, rgba(174, 137, 59, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #0A3330, var(--void) 80%);
  background-size: 150% 150%, 150% 150%, 100% 100%;
  animation: mfdrift 20s ease-in-out infinite alternate;
}
@keyframes mfdrift {
  0% { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 60%, 0% 20%, 0 0; }
}
.method-copy {
  position: relative;
  z-index: 3;
  text-shadow: 0 2px 18px rgba(4, 16, 14, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(30px, 5vh, 56px);
  padding: 90px clamp(22px, 5vw, 70px) 50px;
  max-width: 1200px;
  margin: 0 auto;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 34px);
}
.pillar {
  border-top: 1px solid rgba(246, 244, 238, 0.16);
  padding: 20px 18px 22px;
  background: linear-gradient(180deg, rgba(7, 37, 35, 0.62), rgba(7, 37, 35, 0.38));
  backdrop-filter: blur(4px);
  border-radius: 0 0 14px 14px;
  opacity: 0.18;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), border-color 0.7s;
}
.pillar.on { opacity: 1; transform: none; border-color: var(--gold); }
.p-num { font-size: 17px; color: var(--gold); font-weight: 600; }
.pillar h3 { font-size: clamp(26px, 3.2vw, 42px); font-weight: 600; margin: 6px 0 10px; }
.dotgold { color: var(--gold); }
.pillar p { font-size: 14px; color: rgba(246, 244, 238, 0.72); max-width: 340px; }
@media (max-width: 820px) {
  #method { height: auto; }
  #method .stage { position: relative; height: auto; padding-bottom: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { opacity: 1; transform: none; }
  .method-copy { padding-top: 110px; }
}

/* ============ act breath — a beat of void between scenes ============ */
.act-breath {
  position: relative;
  height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(14, 76, 73, 0.22) 0%, transparent 70%),
    var(--void);
}
#breathRibbon {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
/* the svg divider exists only as the reduced-motion / no-WebGL fallback */
#breathRibbon + .breath-ekg { display: none; }
.act-breath.no-ribbon .breath-ekg { display: block; }
@media (prefers-reduced-motion: reduce) {
  #breathRibbon { display: none; }
  #breathRibbon + .breath-ekg { display: block; }
}
.breath-ekg {
  width: min(420px, 70vw);
  height: 26px;
  overflow: visible;
}
.breath-ekg .base { fill: none; stroke: rgba(246, 244, 238, 0.10); stroke-width: 1.4; }
.breath-ekg .uglow {
  fill: none;
  stroke: #16615D;
  stroke-opacity: 0.2;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: breathpulse 2.2s ease-in-out infinite;
}
.breath-ekg .blip {
  fill: none;
  stroke: url(#cineGradPulse);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(22, 97, 93, 0.7));
}
@keyframes breathpulse {
  0%, 100% { stroke-opacity: 0.12; }
  50% { stroke-opacity: 0.3; }
}
.breath-ekg .spark {
  fill: #C6A052;
  filter: drop-shadow(0 0 6px rgba(198, 160, 82, 0.95));
  offset-path: path("M0,13 L128,13 L142,13 L152,4 L166,22 L180,2 L194,24 L207,13 L246,13 L420,13");
  offset-distance: 0%;
  animation: breathspark 3.4s cubic-bezier(0.4, 0, 0.3, 1) infinite;
  opacity: 0;
}
@keyframes breathspark {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  58% { offset-distance: 100%; opacity: 1; }
  64% { offset-distance: 100%; opacity: 0; }
  100% { offset-distance: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .breath-ekg .spark { display: none; }
  .breath-ekg .uglow { animation: none; }
}

/* ============ SERVE (pinned stage, scrubbed like the others) ============ */
#serve { height: 300vh; }
#serve .stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(20px, 4vw, 54px) 50px;
}
.serve-media { position: absolute; inset: 0; }
.serve-media .scrub-canvas { opacity: 0; transition: opacity 0.4s linear; }
.serve-copy { position: relative; z-index: 3; text-shadow: 0 2px 18px rgba(4, 16, 14, 0.8); }
.serve-grid {
  max-width: 1180px;
  margin: clamp(44px, 7vh, 80px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
.serve-card {
  display: block;
  text-decoration: none;
  color: var(--cream);
  background: rgba(7, 37, 35, 0.66);
  border: 1px solid rgba(22, 97, 93, 0.55);
  border-radius: 20px;
  padding: 30px 28px 34px;
  backdrop-filter: blur(6px);
  transition: transform 0.35s cubic-bezier(0.2, 0.65, 0.25, 1), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.serve-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 160, 82, 0.7);
  background: rgba(14, 76, 73, 0.55);
  box-shadow: 0 34px 70px -30px rgba(0, 0, 0, 0.8);
}
.s-num { font-size: 16px; color: var(--gold); font-weight: 600; }
.serve-card h3 { font-size: clamp(20px, 2.2vw, 27px); font-weight: 600; margin: 10px 0 8px; line-height: 1.2; }
.serve-card p { font-size: 14px; color: rgba(246, 244, 238, 0.7); }
@media (max-width: 900px) {
  .serve-grid { grid-template-columns: 1fr; gap: 12px; }
  #serve { height: auto; }
  #serve .stage { position: relative; height: auto; padding-top: 110px; }
  .serve-media .scrub-canvas { opacity: 1; }
  .act-breath { height: 20vh; }
}

/* ============ BOOK : appointment slip ============ */
#book {
  position: relative;
  padding: clamp(80px, 12vh, 150px) clamp(20px, 4vw, 54px);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(14, 76, 73, 0.4) 0%, transparent 65%),
    var(--void);
}
.appt {
  position: relative;
  max-width: 660px;
  margin: clamp(40px, 6vh, 60px) auto 0;
  background: var(--cream);
  color: #14231f;
  border-radius: 14px;
  padding: 28px 34px 32px;
  transform: rotate(-1.1deg);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.85),
    0 18px 44px -26px rgba(198, 160, 82, 0.25);
  transition: transform 0.5s cubic-bezier(0.3, 0, 0.2, 1);
}
.appt:hover { transform: rotate(0deg) scale(1.01); }
.appt::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 96px; height: 26px;
  background: rgba(174, 137, 59, 0.18);
  border: 1px solid rgba(20, 35, 31, 0.08);
}
.appt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1.5px dashed rgba(20, 35, 31, 0.25);
  padding-bottom: 14px;
}
.appt-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(20, 35, 31, 0.5);
}
.appt-stamp { position: static; transform: rotate(3deg); background: transparent; }
.appt-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px 26px;
  padding: 18px 2px 4px;
}
.af .k {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(20, 35, 31, 0.5);
  margin-bottom: 3px;
}
.af .v { font-size: 22px; font-weight: 600; }
.appt-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1.5px dashed rgba(20, 35, 31, 0.25);
}
.appt-note { font-size: 19px; color: rgba(20, 35, 31, 0.65); transform: rotate(-1deg); }
@media (max-width: 640px) { .appt-grid { grid-template-columns: 1fr; } }

/* ============ FAQ : paper section ============ */
#faq {
  background:
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, rgba(22, 97, 93, 0.05) 31px, rgba(22, 97, 93, 0.05) 32px),
    var(--cream);
  color: #14231f;
  padding: clamp(70px, 11vh, 140px) clamp(20px, 4vw, 54px);
}
#faq .sec-head h2 { color: #14231f; }
#faq .lead { color: rgba(20, 35, 31, 0.65); }
#faq .eyebrow { color: var(--soft); }
#faq .eyebrow .dot { background: var(--soft); }
.faq-inner { max-width: 780px; margin: 0 auto; }
.faq-list { margin-top: clamp(36px, 5vh, 54px); }
.faq-item { border-top: 1px solid rgba(20, 35, 31, 0.14); }
.faq-item:last-child { border-bottom: 1px solid rgba(20, 35, 31, 0.14); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 22px 4px;
  color: #14231f;
}
.faq-q .qn { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--gold2); flex: 0 0 auto; }
.faq-q .qt { font-size: clamp(17px, 2vw, 21px); font-weight: 600; line-height: 1.3; flex: 1; transition: color 0.25s; }
.faq-q:hover .qt { color: var(--gold2); }
.faq-icon {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border: 1px solid rgba(20, 35, 31, 0.3);
  border-radius: 50%;
  position: relative;
  align-self: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, border-color 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: rgba(20, 35, 31, 0.6);
  transition: background 0.3s;
}
.faq-icon::before { width: 10px; height: 1.4px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 1.4px; height: 10px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: var(--void); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-a > div { padding: 0 44px 24px 44px; }
.faq-a p { font-size: 15px; color: rgba(20, 35, 31, 0.72); margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .faq-a > div { padding-left: 4px; padding-right: 4px; } }

/* ============ FINALE ============ */
#finale {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: clamp(100px, 16vh, 200px) clamp(20px, 4vw, 54px) 0;
  background:
    radial-gradient(90% 80% at 50% 120%, rgba(198, 160, 82, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, var(--void), #0A3330 60%, var(--void));
}
.fin-inner { max-width: 860px; margin: 0 auto; }
#finale h2 {
  font-size: clamp(44px, 7.4vw, 100px);
  font-weight: 600;
  line-height: 1.02;
  margin-top: 16px;
}
#finale h2 .gold { font-size: 1.06em; }
#finale .lead { max-width: 560px; margin: 22px auto 0; }
#finale .cta-row { margin-top: 36px; }
.reassure { margin-top: 18px; font-size: 13px; color: rgba(246, 244, 238, 0.55); }

#foot {
  margin-top: clamp(80px, 12vh, 150px);
  border-top: 1px solid rgba(246, 244, 238, 0.1);
  padding: 34px clamp(20px, 4vw, 54px) 40px;
}
.foot-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  flex-wrap: wrap;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.foot-links a { color: rgba(246, 244, 238, 0.7); text-decoration: none; transition: color 0.25s; }
.foot-links a:hover { color: var(--gold); }
.foot-disc {
  max-width: 900px;
  margin: 22px auto 0;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(246, 244, 238, 0.42);
  text-align: center;
}
.foot-disc a { color: rgba(198, 160, 82, 0.8); }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  #introVeil { display: none; }
  #ekgThread { display: none; }
  body::after { animation: none; }
  [data-rv] { opacity: 1; transform: none; filter: none; transition: none; }
  #hero { height: auto; }
  #hero .stage { position: relative; height: 100svh; }
  #hero h1 .w, #hero .l3, #hero .sub, #hero .cta-row { opacity: 1 !important; transform: none !important; filter: none !important; }
  #method { height: auto; }
  #method .stage { position: relative; height: auto; }
  .pillar { opacity: 1; transform: none; }
  .eyebrow .dot { animation: none; }
  #chartAct { height: auto; }
  #chartAct .stage { position: relative; height: auto; }
  .chart-frame { height: auto; overflow: visible; }
  .doc-entry { opacity: 1; transform: none; }
  .doc-entry b { background-size: 100% 38%; }
}
