/* =========================================================
   Align Health
   Earth palette, one vertical axis, mirrored compositions.
   ========================================================= */

:root {
  --paper:     #FBF8F3;
  --bone:      #F5EFE6;
  --linen:     #ECE3D5;
  --sand:      #D9C8AE;
  --clay:      #9E5F40;   /* button fill: 4.7:1 with paper text */
  --clay-deep: #7F462B;
  --clay-soft: #B9805F;
  --sage:      #6F7B5E;
  --sage-soft: #A3AD92;
  --moss:      #4E5942;
  --ochre:     #B08850;   /* "drifting": between clay and sage */
  --night:     #24221D;   /* regenerative section ground */
  --night-ink: #EFE7DA;
  --night-mute:#BFB3A2;
  --glow:      #D9A281;   /* clay, lifted for dark grounds */

  /* the balance scale: low reads yellow, high reads red, center is green */
  --scale-lo:      #D2A137;
  --scale-lo-soft: #EBD69C;
  --scale-ok:      #98AA78;
  --scale-hi-soft: #EAB6A1;
  --scale-hi:      #BE4A33;
  --umber:     #2F2520;
  --ink:       #4A3D35;   /* body copy */
  --taupe:     #6E5F53;   /* small caps labels: 5.3:1 on bone */
  --line:      rgba(47, 37, 32, .16);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease:  cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --arc: clamp(36px, 6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--umber);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.06; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: italic; color: var(--clay); }
h1 em, h2 em, h3 em { font-weight: 400; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--umber); color: var(--paper); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin: 0 0 1.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px; border: 1px solid var(--clay);
  background: var(--clay); color: var(--paper);
  font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .35s;
}
.btn:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--clay); border-color: var(--clay); }
.btn-ghost { background: transparent; color: var(--umber); border-color: rgba(47, 37, 32, .32); }
.btn-ghost:hover { background: var(--umber); color: var(--paper); border-color: var(--umber); }
.btn-small { min-height: 40px; padding: 0 22px; font-size: .7rem; }

.text-link {
  display: inline-block; margin-top: .9rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--clay-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: var(--sans);
}
.text-link:hover { color: var(--umber); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--umber); }
.mark { display: grid; grid-template-columns: repeat(2, 8px); gap: 3px; }
.mark i { display: block; width: 8px; height: 8px; border-radius: 2px; }
.mark i:nth-child(1) { background: var(--clay-soft); }
.mark i:nth-child(2) { background: var(--sage-soft); }
.mark i:nth-child(3) { background: var(--sage); }
.mark i:nth-child(4) { background: var(--clay); }
.brand .word { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; line-height: 1; margin-right: -.26em; }
.brand .sub { font-size: .62rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; color: var(--taupe); align-self: flex-end; margin-bottom: 2px; }
.brand-light { color: var(--paper); }
.brand-light .sub { color: var(--sand); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 22px var(--gutter);
  padding-top: max(22px, env(safe-area-inset-top));
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.scrolled {
  background: rgba(245, 239, 230, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding-top: max(12px, env(safe-area-inset-top)); padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.header-side { display: flex; align-items: center; }
.header-left { justify-content: flex-end; padding-right: clamp(24px, 4vw, 64px); }
.header-right { justify-content: flex-start; padding-left: clamp(24px, 4vw, 64px); }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); font-size: .74rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.nav a { text-decoration: none; position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--clay);
  transition: left .4s var(--ease), right .4s var(--ease);
}
.nav a:not(.btn):hover::after { left: 0; right: 0; }
.nav .btn { padding: 0 22px; color: var(--paper); }
.header-mobile-link {
  display: none;
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--umber); text-decoration: none; background: none; border: 0; padding: 10px 0; cursor: pointer;
}

@media (max-width: 1240px) {
  .nav { display: none; }
  .header-mobile-link { display: inline-block; }
  .header-left { justify-content: flex-start; padding-right: 0; }
  .header-right { justify-content: flex-end; padding-left: 0; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bone);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  padding: var(--gutter);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.3rem; font-weight: 400; text-decoration: none; }
.menu-close { position: absolute; top: max(20px, env(safe-area-inset-top)); right: var(--gutter); font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; background: none; border: 0; padding: 10px 0; color: var(--umber); cursor: pointer; }

/* ---------- Sections ---------- */
section { position: relative; padding: clamp(96px, 12vw, 168px) var(--gutter); }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 88px); text-align: center; }
.section-head h2 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 400; }
.section-lede { max-width: 600px; margin: 1.5rem auto 0; color: var(--ink); }

/* the axis: one hairline that threads the page together */
.has-axis::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 1px; height: clamp(48px, 7vw, 104px);
  background: linear-gradient(to bottom, var(--umber), rgba(47, 37, 32, 0));
  opacity: .5;
}

/* symmetric arched section tops; the section before each one leaves room for the overlap */
.arched { border-radius: 50% 50% 0 0 / var(--arc) var(--arc) 0 0; margin-top: calc(var(--arc) * -1); }
.pathfinder, .medicine, .simulate, .regen, .team, .visit { padding-bottom: calc(clamp(96px, 12vw, 168px) + var(--arc)); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 150px var(--gutter) 140px;
  overflow: hidden;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, var(--paper) 0%, var(--bone) 55%, var(--linen) 100%);
}
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow path {
  fill: none; stroke-width: 1;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 3.2s var(--ease) forwards, drift 16s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 70ms), calc(var(--i) * -1.3s);
}
.flow .f-clay { stroke: rgba(158, 95, 64, .34); }
.flow .f-sage { stroke: rgba(111, 123, 94, .34); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: translateY(-5px); } to { transform: translateY(5px); } }

.hero-inner { position: relative; max-width: 900px; }
.hero-inner::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(251, 248, 243, .92), rgba(251, 248, 243, 0));
}
.hero h1 { font-size: clamp(3rem, 7.4vw, 6.6rem); font-weight: 400; line-height: 1; letter-spacing: -.015em; }
.hero .lede { max-width: 560px; margin: 1.9rem auto 2.5rem; font-size: 1.12rem; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.hero-inner > * { opacity: 0; transform: translateY(18px); animation: rise 1.2s var(--ease) forwards; }
.hero-inner > :nth-child(1) { animation-delay: .25s; }
.hero-inner > :nth-child(2) { animation-delay: .4s; }
.hero-inner > :nth-child(3) { animation-delay: .6s; }
.hero-inner > :nth-child(4) { animation-delay: .8s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 0; width: 1px; height: 96px; transform: translateX(-50%); background: rgba(47, 37, 32, .25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--umber); animation: fall 2.6s var(--ease) infinite; }
@keyframes fall { to { top: 100%; } }

/* ---------- Approach ---------- */
.triptych {
  display: grid; grid-template-columns: 1fr 1.22fr 1fr; align-items: end;
  gap: clamp(12px, 2.4vw, 32px);
  max-width: 1040px; margin: 0 auto clamp(72px, 10vw, 128px);
}
.arch { display: block; position: relative; margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; background: var(--linen); }
.arch-tall { aspect-ratio: 3 / 4.5; }
.arch img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.28) saturate(.78) contrast(1.03) brightness(1.02); transition: transform 1.6s var(--ease); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(158, 95, 64, .06), rgba(47, 37, 32, .16)); mix-blend-mode: multiply; pointer-events: none; }
.triptych .arch:hover img { transform: scale(1.04); }
/* studio portraits: the white backdrop takes on the linen of the page */
.arch.studio { background: var(--linen); }
.arch.studio img { mix-blend-mode: multiply; filter: sepia(.12) saturate(.92) contrast(1.03); }

.movements {
  list-style: none; padding: 0; margin: 0 auto; max-width: 1100px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px);
  text-align: center; position: relative;
}
.movements::before { content: ""; position: absolute; top: 3px; left: 16.66%; right: 16.66%; height: 1px; background: var(--line); }
.movements li { position: relative; padding-top: 34px; }
.movements li::before { content: ""; position: absolute; top: 0; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); transform: translateX(-50%); }
.movements .num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--clay); margin-bottom: .5rem; }
.movements h3 { font-size: 2.1rem; font-weight: 500; margin-bottom: .8rem; }
.movements p { color: var(--ink); max-width: 300px; margin: 0 auto; }

/* ---------- Path guide ---------- */
.guide {
  --r: clamp(160px, 45vw, 390px);
  position: relative; max-width: 780px; margin: 0 auto;
  background: var(--paper);
  border-radius: var(--r) var(--r) 28px 28px;
  padding: clamp(92px, 13vw, 140px) clamp(20px, 6vw, 72px) clamp(36px, 5vw, 56px);
  box-shadow: 0 50px 90px -50px rgba(47, 37, 32, .35), 0 0 0 1px rgba(47, 37, 32, .06);
  text-align: center;
}
.guide::before {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid rgba(158, 95, 64, .2);
  border-radius: calc(var(--r) - 12px) calc(var(--r) - 12px) 18px 18px;
}
.guide-top { position: relative; }
.guide-progress { width: 168px; height: 1px; margin: 0 auto 1rem; background: var(--line); position: relative; }
.guide-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--clay); transition: width .7s var(--ease); }
.guide-fill::after { content: ""; position: absolute; right: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.guide-count { font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); }

.guide-stage { position: relative; min-height: 300px; }
.stage-in { animation: stageIn .6s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.q-title { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 400; margin: 1.6rem auto .6rem; max-width: 560px; outline: none; }
.q-hint { color: var(--taupe); font-size: .95rem; }
.options { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 620px; margin: 2rem auto 0; }
.opt {
  min-height: 48px; padding: 11px 22px;
  border-radius: 999px; border: 1px solid rgba(47, 37, 32, .22);
  background: transparent; color: var(--umber);
  font-family: var(--sans); font-size: .98rem; font-weight: 400; line-height: 1.3;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.opt:hover { border-color: var(--clay); color: var(--clay-deep); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { background: var(--umber); border-color: var(--umber); color: var(--paper); }
.options-stack { flex-direction: column; align-items: center; }
.options-stack .opt { min-width: min(340px, 100%); }

.guide-nav { display: flex; justify-content: center; gap: 14px; margin-top: 2.6rem; }
.guide-nav .btn { min-width: 140px; }
.guide-nav [data-hidden="true"] { display: none; }

.fine { max-width: 560px; margin: 2rem auto 0; text-align: center; font-size: .82rem; color: var(--taupe); }

/* result */
.result { padding-top: .4rem; }
.heard { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.45; max-width: 580px; margin: 0 auto; color: var(--umber); font-style: italic; }
.node-rule { position: relative; width: 1px; height: 64px; margin: 2.2rem auto; background: var(--line); }
.node-rule::after { content: ""; position: absolute; bottom: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); }
.path-title { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 400; }
.path-line { max-width: 520px; margin: 1rem auto 0; color: var(--ink); }
.match { margin: 2.6rem auto 0; max-width: 460px; }
.match .arch, .match .monogram { width: 168px; margin: 0 auto 1.4rem; }
.match h4 { font-size: 2rem; font-weight: 500; }
.match .cred { margin-top: .3rem; }
.why { margin-top: 1rem; color: var(--ink); }
.why strong { font-weight: 500; }
.also { margin: 1.8rem auto 0; max-width: 520px; font-size: .95rem; color: var(--ink); }
.also button { font: inherit; color: var(--clay-deep); background: none; border: 0; padding: 0; border-bottom: 1px solid currentColor; cursor: pointer; }
.result .actions { margin-top: 2.4rem; }
.restart { margin-top: 1.8rem; }

.request { max-width: 480px; margin: 2.4rem auto 0; text-align: left; display: grid; gap: 14px; }
.request[hidden] { display: none; }
.request label { display: grid; gap: 6px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.request input, .request select {
  font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--umber);
  background: var(--bone); border: 1px solid rgba(47, 37, 32, .18); border-radius: 14px;
  min-height: 50px; padding: 0 16px; width: 100%; min-width: 0;
  -webkit-appearance: none; appearance: none;
}
.request select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236E5F53' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.request input:focus, .request select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(158, 95, 64, .14); }
.request .btn { margin-top: 6px; width: 100%; }
.form-error { color: var(--clay-deep); font-size: .9rem; min-height: 1.2em; text-align: center; }
.demo-note { text-align: center; font-size: .8rem; color: var(--taupe); }
.thanks { margin-top: 2.4rem; }
.thanks h4 { font-size: 2rem; font-weight: 400; margin-bottom: .6rem; }

/* ---------- Medicine (mirrored) ---------- */
.medicine { background: var(--linen); overflow: hidden; }
.twin { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; max-width: 1140px; margin: 0 auto; align-items: start; }
.vesica { position: absolute; left: 50%; top: 50%; width: min(1100px, 100%); transform: translate(-50%, -50%); pointer-events: none; }
.vesica circle { stroke-width: 1; }
.v-functional { fill: rgba(111, 123, 94, .07); stroke: rgba(111, 123, 94, .4); }
.v-physical { fill: rgba(158, 95, 64, .06); stroke: rgba(158, 95, 64, .38); }
.discipline { position: relative; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 56px); }
.discipline-functional { text-align: right; }
.discipline-physical { text-align: left; }
.kicker { font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-bottom: .4rem; }
.discipline-functional .kicker { color: var(--sage); }
.discipline-physical .kicker { color: var(--clay); }
.discipline h3 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); font-weight: 400; margin-bottom: 1.2rem; }
.discipline > p:not(.kicker):not(.people-mini) { color: var(--ink); max-width: 440px; }
.discipline-functional > p { margin-left: auto; }
.helps { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0; }
.helps li { padding: 11px 0; border-top: 1px solid var(--line); font-size: .98rem; }
.helps li:last-child { border-bottom: 1px solid var(--line); }
.discipline-functional .helps { margin-left: auto; max-width: 360px; }
.discipline-physical .helps { max-width: 360px; }
.people-mini { margin-top: 1.8rem; font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; }
.people-mini span { display: block; }
.twin-amp { position: relative; width: 1px; align-self: stretch; background: var(--line); }
.twin-amp span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--linen); border: 1px solid var(--line);
  font-family: var(--serif); font-style: italic; font-size: 1.9rem; color: var(--clay);
}

/* ---------- Simulate ---------- */
.simulate { background: var(--bone); }

/* two rows of what we measure, moving in mirror image */
.ticker { position: relative; max-width: 1240px; margin: 0 auto clamp(44px, 6vw, 72px); display: grid; gap: 4px; }
.ticker-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: tick 80s linear infinite; }
.ticker-reverse .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track span {
  display: inline-flex; align-items: center; gap: .9em; padding-right: .9em; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.45rem, 2.7vw, 2.15rem); font-weight: 400; line-height: 1.5;
}
.ticker-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; }
.ticker-track[data-items="systems"] span { color: rgba(78, 89, 66, .78); font-style: italic; }
.ticker-track[data-items="structure"] span { color: rgba(127, 70, 43, .72); }

/* the simulator */
.sim {
  position: relative; max-width: 1080px; margin: 0 auto;
  background: var(--paper); border-radius: 32px;
  padding: clamp(40px, 5vw, 64px) clamp(18px, 5vw, 64px) clamp(32px, 4vw, 48px);
  box-shadow: 0 50px 90px -50px rgba(47, 37, 32, .35), 0 0 0 1px rgba(47, 37, 32, .06);
  text-align: center;
}
.sim-head .eyebrow { margin-bottom: 1.1rem; }
.sim-profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sim-desc { max-width: 560px; margin: 1.4rem auto 0; min-height: 2.9em; font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.45; color: var(--umber); }
.sim-team { margin-top: .5rem; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }

.sim-board { margin: clamp(30px, 4vw, 44px) auto 0; text-align: left; }
.level-row {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr) minmax(0, 1fr);
  column-gap: clamp(16px, 2.6vw, 34px);
}
.level-row { padding: 4px 0 22px; border-bottom: 1px solid var(--line); }
.level-label { text-align: right; font-size: .66rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.level-score { font-size: .9rem; color: var(--ink); }
.level-score b { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--umber); margin-right: 3px; font-variant-numeric: tabular-nums; }
.level {
  --zc: #5E7449;
  position: relative; height: 30px; border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%),
    linear-gradient(90deg, rgba(210, 161, 55, .38), rgba(235, 214, 156, .32) 30%, rgba(152, 170, 120, .36) 40%, rgba(152, 170, 120, .36) 60%, rgba(234, 182, 161, .32) 70%, rgba(190, 74, 51, .38)),
    #F6F1E8;
  box-shadow: inset 0 1px 3px rgba(47, 37, 32, .2), inset 0 -1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(47, 37, 32, .1);
}
.level[data-zone="out-low"]   { --zc: #C08A1E; }
.level[data-zone="watch-low"] { --zc: #D3AC4E; }
.level[data-zone="watch-high"]{ --zc: #C8735A; }
.level[data-zone="out-high"]  { --zc: #A23A26; }
.level-window { position: absolute; left: 50%; top: 5px; bottom: 5px; width: 58px; margin-left: -29px; border-left: 1px solid rgba(47, 37, 32, .4); border-right: 1px solid rgba(47, 37, 32, .4); }
.level-bubble {
  position: absolute; top: 5px; left: 50%; width: 48px; height: 20px; margin-left: -24px; border-radius: 999px;
  background: radial-gradient(ellipse 70% 80% at 38% 32%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 60%), var(--zc);
  opacity: .88; box-shadow: inset 0 -2px 4px rgba(47, 37, 32, .18);
  transition: background-color .6s var(--ease);
}

/* two mirrored columns, the axis between them */
.markers { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 7vw, 96px); }
.markers::before {
  content: ""; position: absolute; top: 20px; bottom: 0; left: 50%; width: 1px;
  background: linear-gradient(to bottom, rgba(111, 123, 94, 0), rgba(111, 123, 94, .5) 10%, rgba(111, 123, 94, .5) 90%, rgba(111, 123, 94, 0));
}
.m-group { margin: 0; padding: 24px 0 2px; text-align: center; }
.m-group .kicker { display: block; margin: 0; font-size: 1.2rem; line-height: 1.2; }
.m-group small { display: block; margin-top: 2px; font-size: .62rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.m-col-systems .kicker { color: var(--sage); }
.m-col-structure .kicker { color: var(--clay); }
.m-list { list-style: none; margin: 0; padding: 0; }

.marker { --zc: #5E7449; --zt: var(--moss); padding: 16px 0 12px; border-bottom: 1px solid rgba(47, 37, 32, .07); }
.marker:last-child { border-bottom: 0; }
.marker[data-zone="out-low"]    { --zc: #C08A1E; --zt: #82600F; }
.marker[data-zone="watch-low"]  { --zc: #D3AC4E; --zt: #86671D; }
.marker[data-zone="watch-high"] { --zc: #C8735A; --zt: #9A4630; }
.marker[data-zone="out-high"]   { --zc: #A23A26; --zt: #8E2F1E; }
.m-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.m-name { min-width: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.15; }
.m-sub { margin-left: 10px; font-family: var(--sans); font-size: .56rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); white-space: nowrap; }
.m-track {
  position: relative; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg,
    #C99126 0, var(--scale-lo) 13.6%, transparent 13.6% 14.4%,
    var(--scale-lo-soft) 14.4% 31.6%, transparent 31.6% 32.4%,
    var(--scale-ok) 32.4% 67.6%, transparent 67.6% 68.4%,
    var(--scale-hi-soft) 68.4% 85.6%, transparent 85.6% 86.4%,
    var(--scale-hi) 86.4%, #A93C27 100%);
}
.m-track::after { content: ""; position: absolute; left: 50%; top: -5px; bottom: -5px; width: 1px; background: rgba(78, 89, 66, .55); }
.m-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 10px; font-size: .56rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(110, 95, 83, .85); }
.m-foot > :last-child { text-align: right; }
.m-dot {
  position: absolute; z-index: 3; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: var(--zc); border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px rgba(47, 37, 32, .16), 0 6px 14px -6px rgba(47, 37, 32, .6), 0 0 0 7px color-mix(in srgb, var(--zc) 20%, transparent);
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease);
}
.marker[data-zone="ok"] .m-dot::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--zc);
  animation: halo 2.4s var(--ease) infinite;
}
@keyframes halo { from { transform: scale(.55); opacity: .85; } to { transform: scale(1.5); opacity: 0; } }
.marker.arrive .m-dot { animation: pop .7s var(--ease); }
@keyframes pop { 35% { transform: scale(1.45); } }

/* where you started: a ring in the color you started in */
.m-ghost {
  position: absolute; z-index: 2; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid var(--sc, var(--taupe)); background: color-mix(in srgb, var(--sc, var(--taupe)) 16%, var(--paper));
}
/* the path between, flowing toward where you are now */
.m-trail { position: absolute; z-index: 1; top: 50%; height: 8px; margin-top: -4px; border-radius: 999px; background: rgba(251, 248, 243, .86); }
.m-trail::before {
  content: ""; position: absolute; inset: 2.5px 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--c1, var(--taupe)), var(--c2, var(--taupe)));
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
  mask: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
  animation: march .9s linear infinite;
}
.m-trail[data-dir="left"]::before { animation-direction: reverse; }
@keyframes march { to { -webkit-mask-position: 9px 0; mask-position: 9px 0; } }
.m-trail::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; opacity: 0;
  background: var(--pc, var(--taupe));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc, var(--taupe)) 25%, transparent), 0 0 14px 3px color-mix(in srgb, var(--pc, var(--taupe)) 55%, transparent);
  animation: travel 1.8s var(--ease) infinite;
}
.m-trail[data-dir="left"]::after { animation-name: travel-left; }
.m-trail[data-short="true"]::after { display: none; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 78% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes travel-left { 0% { left: calc(100% - 10px); opacity: 0; } 15% { opacity: 1; } 78% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.m-val { flex: none; font-size: .88rem; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.m-val b { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: var(--umber); font-variant-numeric: tabular-nums; }
.m-status { display: inline-flex; align-items: center; gap: 7px; font-size: .58rem; letter-spacing: .2em; color: var(--zt); white-space: nowrap; }
.m-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--zc); }

.sim-legend { list-style: none; padding: 18px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.sim-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sim-legend li::before { content: ""; width: 20px; height: 8px; border-radius: 999px; }
.sim-legend [data-zone="low"]::before { background: linear-gradient(90deg, var(--scale-lo), var(--scale-lo-soft)); }
.sim-legend [data-zone="ok"]::before { background: var(--scale-ok); }
.sim-legend [data-zone="high"]::before { background: linear-gradient(90deg, var(--scale-hi-soft), var(--scale-hi)); }
.sim-legend [data-zone="from"]::before { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--taupe); background: var(--paper); }

.sim-time { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; max-width: 760px; margin: clamp(30px, 4vw, 44px) auto 0; text-align: left; }
.sim-play { display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--umber); font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; min-width: 210px; }
.play-icon { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--clay); transition: background .3s var(--ease); box-shadow: 0 12px 24px -12px rgba(127, 70, 43, .7); }
.play-icon::before { content: ""; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -4px; border-left: 13px solid var(--paper); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.sim-play[data-state="playing"] .play-icon::before { width: 12px; height: 16px; margin: -8px 0 0 -6px; border: 0; border-left: 4px solid var(--paper); border-right: 4px solid var(--paper); }
.sim-play:hover .play-icon { background: var(--clay-deep); }
.scrub { position: relative; padding-bottom: 30px; }
.scrub input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.scrub input[type="range"]::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--clay) 0 var(--p, 0%), rgba(47, 37, 32, .18) var(--p, 0%)); }
.scrub input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--clay); box-shadow: 0 4px 10px -4px rgba(47, 37, 32, .5); }
.scrub input[type="range"]::-moz-range-track { height: 2px; background: rgba(47, 37, 32, .18); }
.scrub input[type="range"]::-moz-range-progress { height: 2px; background: var(--clay); }
.scrub input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--clay); }
.scrub-labels button {
  position: absolute; top: 28px; transform: translateX(-50%);
  background: none; border: 0; padding: 4px 2px; cursor: pointer; white-space: nowrap;
  font-family: var(--sans); font-size: .62rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe);
}
.scrub-labels button:first-child { transform: none; }
.scrub-labels button:last-child { transform: translateX(-100%); }
.scrub-labels button[aria-current="step"] { color: var(--clay-deep); }
.sim-stage { max-width: 640px; min-height: 4.6em; margin: 1.5rem auto 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: var(--ink); }
.sim-stage strong { font-weight: 600; color: var(--umber); }
.sim-stage a { color: var(--clay-deep); }
.sim .fine { margin-top: 1.2rem; }

/* ---------- Regenerative (dark) ---------- */
.regen {
  color: var(--night-ink);
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(111, 123, 94, .24), rgba(111, 123, 94, 0) 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(158, 95, 64, .2), rgba(158, 95, 64, 0) 70%),
    var(--night);
}
.regen .eyebrow { color: var(--night-mute); }
.regen em { color: var(--glow); }
.regen .section-lede { color: #CFC4B4; }
.regen-show { max-width: 1140px; margin: 0 auto; }
.regen-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 28px); margin-bottom: clamp(30px, 4vw, 48px); }
.rt {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px 10px;
  padding: 0 0 6px; background: none; border: 0; cursor: pointer; text-align: left;
  color: var(--night-mute); font: inherit; transition: color .4s var(--ease);
}
.rt:hover, .rt[aria-selected="true"] { color: #FBF8F3; }
.rt-bar { grid-column: 1 / -1; position: relative; display: block; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(239, 231, 218, .18); }
.rt-bar i { position: absolute; inset: 0; background: var(--glow); transform: scaleX(0); transform-origin: left; }
.rt.done .rt-bar i { transform: scaleX(1); opacity: .45; }
.rt[aria-selected="true"] .rt-bar i { animation: fillbar 8s linear forwards; animation-play-state: paused; }
.regen-show.running .rt[aria-selected="true"] .rt-bar i { animation-play-state: running; }
.regen-show.running.held .rt[aria-selected="true"] .rt-bar i { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.rt-num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--glow); }
.rt-name { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }

.regen-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.regen-visual {
  position: relative; aspect-ratio: 4 / 4.7; overflow: hidden;
  border-radius: 999px 999px 0 0; background: #1B1A16;
  box-shadow: 0 60px 110px -50px rgba(0, 0, 0, .75);
}
.regen-visual::before { content: ""; position: absolute; inset: 12px 12px 0; z-index: 3; pointer-events: none; border: 1px solid rgba(255, 255, 255, .2); border-bottom: 0; border-radius: 999px 999px 0 0; }
.rv { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.rv.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.rv img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.28) saturate(.78) contrast(1.03) brightness(.9); transform: scale(1.07); transition: transform 9s linear; }
.rv img.pos-left { object-position: 14% center; }
.rv.is-active img { transform: scale(1); }
.rv::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(36, 34, 29, 0) 42%, rgba(36, 34, 29, .78)); }

.glass {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(20px, 3vw, 34px); transform: translateX(-50%);
  width: min(80%, 330px); padding: 18px 20px; border-radius: 18px; text-align: left; color: #FBF8F3;
  background: rgba(36, 34, 29, .42); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
}
.glass-title { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; }
.glass-sub { font-size: .84rem; line-height: 1.45; color: rgba(239, 231, 218, .78); }
.glass-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }
.glass-list li { display: flex; align-items: center; gap: 11px; opacity: .35; transition: opacity .5s var(--ease); }
.glass-list li::before {
  content: ""; flex: none; width: 17px; height: 17px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.2 5.2l1.9 1.9 3.8-4.2' fill='none' stroke='%23FBF8F3' stroke-width='1.4'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.rv.is-active .glass-list li { opacity: 1; transition-delay: calc(.5s + var(--n) * .5s); }
.rv.is-active .glass-list li::before { background-color: var(--sage); border-color: var(--sage-soft); transition-delay: calc(.5s + var(--n) * .5s); }

.glass-scan { display: flex; align-items: center; gap: 16px; }
.glass-scan .glass-title { margin-bottom: 4px; }
.scan { flex: none; width: 100px; }
.scan .fan { fill: rgba(255, 255, 255, .07); stroke: rgba(255, 255, 255, .4); stroke-width: .8; }
.scan .arc { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: .6; }
.scan .tissue { fill: rgba(217, 162, 129, .45); }
.scan .sweep { stroke: var(--glow); stroke-width: 1.4; transform-box: view-box; transform-origin: 80px 6px; animation: sweep 2.4s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: rotate(-33deg); } to { transform: rotate(33deg); } }

.rv-fibers { background: radial-gradient(ellipse 65% 50% at 50% 56%, rgba(111, 123, 94, .38), rgba(36, 34, 29, 0) 72%), #1E1D19; }
.rv-fibers::after { background: linear-gradient(180deg, rgba(30, 29, 25, 0) 60%, rgba(30, 29, 25, .7)); }
.fibers { position: absolute; inset: 0; width: 100%; height: 100%; }
.fibers line { stroke-linecap: round; transform-box: fill-box; transform-origin: center; transform: rotate(var(--a)); transition: transform 2.6s var(--ease); }
.rv-fibers.aligned .fibers line { transform: rotate(var(--b)); transition-delay: var(--d); }
.fibers .cell { fill: #EBC2A2; opacity: 0; transition: opacity 1.4s var(--ease); }
.fibers .cell-glow { fill: rgba(235, 194, 162, .18); opacity: 0; transition: opacity 1.4s var(--ease); }
.rv-fibers.aligned .cell, .rv-fibers.aligned .cell-glow { opacity: 1; transition-delay: calc(var(--d) + 1.2s); }
.glass-pill { width: auto; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; white-space: nowrap; font-size: .66rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--sage-soft); animation: live 2.2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(163, 173, 146, .6); } 100% { box-shadow: 0 0 0 10px rgba(163, 173, 146, 0); } }

.glass-phases ol { position: relative; list-style: none; margin: 4px 0 0; padding: 18px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.glass-phases ol::before, .glass-phases ol::after { content: ""; position: absolute; top: 4px; left: 4px; height: 1px; }
.glass-phases ol::before { right: 4px; background: rgba(255, 255, 255, .25); }
.glass-phases ol::after { width: 0; background: var(--glow); transition: width 2.4s var(--ease) .4s; }
.rv.is-active .glass-phases ol::after { width: calc(66.6% + 4px); }
.glass-phases li { position: relative; font-size: .84rem; line-height: 1.3; }
.glass-phases li::before { content: ""; position: absolute; top: -18px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #3A362E; border: 1px solid rgba(255, 255, 255, .45); transition: background-color .4s, border-color .4s; }
.rv.is-active .glass-phases li::before { background: var(--glow); border-color: var(--glow); transition-delay: calc(.4s + var(--n) * 1.1s); }
.glass-phases b { display: block; font-weight: 500; }
.glass-phases span { font-size: .74rem; color: rgba(239, 231, 218, .7); }

.regen-copy { display: grid; }
.rc { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.rc.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s, visibility 0s; }
.rc-num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--glow); }
.rc h3 { margin: .4rem 0 1.1rem; font-size: clamp(2.3rem, 4vw, 3.4rem); font-weight: 400; color: #FBF8F3; }
.rc > p:not(.rc-num) { max-width: 470px; color: #CFC4B4; }
.rc dl { margin: 1.9rem 0 0; max-width: 470px; }
.rc dl div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; padding: 14px 0; border-top: 1px solid rgba(239, 231, 218, .14); }
.rc dl div:last-child { border-bottom: 1px solid rgba(239, 231, 218, .14); }
.rc dt { font-size: .92rem; font-weight: 500; color: #FBF8F3; }
.rc dd { margin: 0; font-size: .92rem; color: var(--night-mute); }
.regen-for { max-width: 640px; margin: clamp(56px, 7vw, 88px) auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.65rem); line-height: 1.45; color: var(--night-ink); }
.fine-light { color: #A89C8C; max-width: 620px; }

/* ---------- Team ---------- */
.team { background: var(--bone); }
.team-group + .team-group { margin-top: clamp(72px, 9vw, 120px); }
.group-label {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.group-label::before, .group-label::after { content: ""; width: 48px; height: 1px; background: var(--line); }
.people { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 4vw, 56px); max-width: 1000px; }
.person { width: min(250px, 42vw); text-align: center; }
.person button { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: center; border-radius: 16px; }
.person .arch { aspect-ratio: 4 / 5; }
.person .arch img { object-position: center 18%; }
.person button:hover .arch img { transform: scale(1.04); }
.person .p-name { display: block; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 500; line-height: 1.15; margin: 1.1rem 0 .3rem; }
.person .cred { display: block; }
.cred { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); line-height: 1.5; }
.person .more { display: inline-block; margin-top: .9rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); border-bottom: 1px solid transparent; transition: border-color .3s; }
.person button:hover .more { border-color: currentColor; }
.monogram {
  display: grid; place-items: center;
  background: linear-gradient(165deg, var(--linen) 0%, var(--sand) 100%);
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--clay-deep);
}
.monogram::after { display: none; }

/* ---------- Profile drawer ---------- */
dialog.profile {
  border: 0; padding: 0; width: min(620px, calc(100vw - 32px)); max-height: min(88vh, 900px);
  background: var(--paper); color: var(--umber);
  border-radius: 28px; box-shadow: 0 60px 120px -40px rgba(47, 37, 32, .5);
  overflow: auto; overscroll-behavior: contain;
}
dialog.profile[open] { animation: stageIn .5s var(--ease) both; }
dialog.profile::backdrop { background: rgba(47, 37, 32, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.profile-inner { position: relative; padding: clamp(56px, 7vw, 72px) clamp(22px, 6vw, 60px) clamp(32px, 5vw, 52px); text-align: center; }
.profile-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); cursor: pointer; padding: 8px 0; }
.profile-portrait .arch { width: 150px; margin: 0 auto 1.6rem; aspect-ratio: 4 / 5; }
.profile h3 { font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 400; }
.profile .cred { margin-top: .4rem; }
.profile-bio { margin: 1.8rem auto 2rem; max-width: 480px; text-align: left; color: var(--ink); display: grid; gap: 1em; }
.profile-bio .soon { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.25rem; }

/* ---------- Visit ---------- */
.visit { background: var(--linen); padding-bottom: calc(clamp(72px, 8vw, 112px) + var(--arc)); }
.arch img.pos-left { object-position: 14% center; }
.visit-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(32px, 4vw, 64px); max-width: 1100px; margin: 0 auto; text-align: center; align-items: start; }
.visit-col h3 { font-size: 1.8rem; font-weight: 500; margin-bottom: 1rem; }
.visit-col p { color: var(--ink); }
.phone { font-family: var(--serif); font-size: 1.9rem; text-decoration: none; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 7px 22px; margin: 0; text-align: left; font-size: .96rem; }
.hours dt { font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; padding-top: 3px; color: var(--taupe); }
.hours dd { margin: 0; color: var(--ink); }
.insurance { max-width: 660px; margin: clamp(56px, 7vw, 88px) auto 0; text-align: center; font-size: .98rem; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background: var(--umber); color: #E6DCCD; text-align: center;
  padding: clamp(80px, 10vw, 120px) var(--gutter) max(40px, env(safe-area-inset-bottom));
}
.footer-nav, .social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(18px, 3vw, 36px); margin-top: 2.4rem; font-size: .72rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
.social { margin-top: 1.2rem; color: var(--sand); }
.footer-nav a, .social a { text-decoration: none; }
.footer-nav a:hover, .social a:hover { color: var(--paper); }
.footer-fine { margin-top: 1.2rem; font-size: .8rem; color: #B9AA98; }
.footer-fine:first-of-type { margin-top: 3rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.movements .reveal:nth-child(2), .people .reveal:nth-child(2) { transition-delay: .12s; }
.movements .reveal:nth-child(3), .people .reveal:nth-child(3) { transition-delay: .24s; }

/* =========================================================
   Inner pages: the same axis, arches and type as the home page
   ========================================================= */

/* sections alternate bone and linen, so every arched top reads against the section before it,
   and each leaves room at its foot for the next one's arch */
body:not(.page-home) main > :is(section, article) { --bg: var(--bone); background: var(--bg); }
body:not(.page-home) main > :is(section, article):nth-child(odd):not(.page-hero) { --bg: var(--linen); }
body:not(.page-home) main > :is(section, article):not(.page-hero) {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: calc(clamp(72px, 9vw, 128px) + var(--arc));
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(140px, 17vw, 200px) var(--gutter) calc(clamp(76px, 9vw, 120px) + var(--arc));
  background: radial-gradient(ellipse 80% 75% at 50% 42%, var(--paper) 0%, var(--bone) 58%, var(--linen) 100%);
}
.page-hero .flow { opacity: .8; }
.page-hero-inner { position: relative; max-width: 880px; margin: 0 auto; }
.page-hero-inner::before {
  content: ""; position: absolute; inset: -14% -6%; z-index: -1;
  background: radial-gradient(closest-side, rgba(251, 248, 243, .94), rgba(251, 248, 243, 0));
}
.page-hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.2rem); font-weight: 400; line-height: 1.02; letter-spacing: -.012em; }
.page-hero-post h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; }
.page-hero .lede { max-width: 620px; margin: 1.5rem auto 0; font-size: 1.1rem; color: var(--ink); }
.page-hero .actions { margin-top: 2.3rem; }
.page-hero .cred { margin-top: .6rem; }
.page-hero-inner > * { animation: rise 1s var(--ease) both; }
.page-hero-inner > :nth-child(2) { animation-delay: .08s; }
.page-hero-inner > :nth-child(3) { animation-delay: .16s; }
.page-hero-inner > :nth-child(n+4) { animation-delay: .26s; }

.crumbs ol {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; row-gap: 4px;
  font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe);
}
.crumbs li + li::before { content: "·"; margin: 0 .75em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--clay-deep); }
.crumbs [aria-current] { color: var(--umber); max-width: 34ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reviewed { margin: 1.4rem auto 0; font-size: .82rem; color: var(--taupe); }
.reviewed a { color: var(--clay-deep); }

/* ---------- Reading column ---------- */
.prose { max-width: 680px; margin: 0 auto; }
.prose h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 400; text-align: center; margin-bottom: 1.3rem; }
.prose p { color: var(--ink); }
.prose p + p { margin-top: 1em; }
.prose .helps { margin-top: 1.5rem; }
.prose-block + .prose-block {
  position: relative;
  margin-top: clamp(52px, 6vw, 76px); padding-top: clamp(52px, 6vw, 76px);
  border-top: 1px solid var(--line);
}
.prose-block + .prose-block::before {
  content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--clay);
}
.prose-center p { text-align: center; }
.soon { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.35rem; }

/* ---------- Steps on the axis ---------- */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 22px; bottom: 22px; width: 1px; background: var(--line); }
.steps li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 16px 0; align-items: baseline; }
.steps .num { position: relative; z-index: 1; padding: 6px 0; text-align: center; background: var(--bg, var(--bone)); font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--clay); }
.steps p { color: var(--ink); }

/* ---------- Cards ---------- */
.cards {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1120px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px;
}
.card a {
  display: flex; flex-direction: column; align-items: center; height: 100%;
  padding: 58px clamp(22px, 3vw, 34px) 30px; text-align: center; text-decoration: none;
  background: var(--paper); border-radius: 999px 999px 24px 24px / 150px 150px 24px 24px;
  box-shadow: 0 34px 60px -46px rgba(47, 37, 32, .4), 0 0 0 1px rgba(47, 37, 32, .06);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card a:hover { transform: translateY(-4px); box-shadow: 0 44px 70px -46px rgba(47, 37, 32, .5), 0 0 0 1px rgba(158, 95, 64, .25); }
.card-kicker { font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); margin-bottom: .5rem; }
.card-name { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 1.95rem); font-weight: 500; line-height: 1.12; }
.card-text { margin-top: .8rem; color: var(--ink); font-size: .96rem; flex: 1; }
.card .more { margin-top: 1.2rem; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); border-bottom: 1px solid transparent; transition: border-color .3s; }
.card a:hover .more { border-color: currentColor; }

/* ---------- Chips ---------- */
.chips { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid rgba(47, 37, 32, .2); border-radius: 999px; background: var(--paper);
  font-size: .95rem; text-decoration: none; transition: border-color .3s, color .3s;
}
.chips a:hover { border-color: var(--clay); color: var(--clay-deep); }
.prose .chips { justify-content: center; margin-top: .4rem; }
.chips-wrap .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.center-links, .visit-more, .regen-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px; text-align: center; }
.visit-more { margin-top: 1.6rem; }
.team-more { margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.text-link-light { color: var(--glow); }
.text-link-light:hover { color: var(--night-ink); }
.regen-more { margin-top: clamp(40px, 5vw, 56px); }

/* ---------- Team cards as links ---------- */
.person a { display: block; color: inherit; text-decoration: none; text-align: center; border-radius: 16px; }
.person a:hover .arch img { transform: scale(1.04); }
.person a:hover .more { border-color: currentColor; }
.profile-hero .profile-portrait .arch { width: min(220px, 56vw); margin: 0 auto 1.8rem; aspect-ratio: 4 / 5; }
.profile .actions { justify-content: center; }

/* ---------- Questions ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 4px; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 14px; height: 14px; margin-top: .45em;
  background: linear-gradient(var(--clay), var(--clay)) center / 14px 1.5px no-repeat, linear-gradient(var(--clay), var(--clay)) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--clay-deep); }
.faq-a { padding: 0 4px 26px; max-width: 690px; color: var(--ink); }
.faq-a p + p { margin-top: .8em; }

/* ---------- Begin band ---------- */
.cta-band { text-align: center; }
.cta-band .section-head { margin-bottom: 2.4rem; }

/* ---------- When to get care right away ---------- */
.red-flags {
  max-width: 680px; margin: 0 auto; padding: clamp(26px, 4vw, 38px);
  border-radius: 24px; background: color-mix(in srgb, var(--scale-hi) 6%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--scale-hi) 30%, transparent);
}
.red-flags h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 400; margin-bottom: .8rem; }
.red-flags p { color: var(--ink); }
.red-flags ul { margin: 1rem 0 0; padding-left: 1.2em; color: var(--ink); display: grid; gap: .45em; }
.red-flags li::marker { color: var(--scale-hi); }

/* ---------- Request card ---------- */
.request-card {
  --r: clamp(150px, 42vw, 330px);
  position: relative; max-width: 660px; margin: 0 auto; text-align: center;
  background: var(--paper); border-radius: var(--r) var(--r) 28px 28px;
  padding: clamp(84px, 12vw, 124px) clamp(20px, 6vw, 64px) clamp(32px, 5vw, 52px);
  box-shadow: 0 50px 90px -50px rgba(47, 37, 32, .35), 0 0 0 1px rgba(47, 37, 32, .06);
}
.request-card h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); font-weight: 400; }
.request-lede { max-width: 440px; margin: 1rem auto 0; color: var(--ink); }
.request textarea {
  font-family: var(--sans); font-size: 1rem; font-weight: 400; color: var(--umber); line-height: 1.5;
  background: var(--bone); border: 1px solid rgba(47, 37, 32, .18); border-radius: 14px;
  width: 100%; min-width: 0; min-height: 112px; padding: 14px 16px; resize: vertical;
}
.request textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(158, 95, 64, .14); }
.request input[type="radio"], .request input[type="checkbox"] {
  -webkit-appearance: auto; appearance: auto; width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0;
  flex: 0 0 auto; accent-color: var(--clay); border: 0; background: none;
}
.row-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.choice { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.choice legend { width: 100%; padding: 0; margin-bottom: 10px; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.request .choice label { display: inline-flex; align-items: center; gap: 9px; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--umber); cursor: pointer; }
.request label.check { display: flex; align-items: flex-start; gap: 12px; font-size: .86rem; font-weight: 300; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.request label.check input { margin-top: 2px; }
.opt-note { font-size: .78rem; font-weight: 300; letter-spacing: 0; text-transform: none; color: var(--taupe); }
.request a { color: var(--clay-deep); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: .8rem; line-height: 1.55; color: var(--taupe); text-align: center; }
.request-card .thanks { margin-top: 2rem; }
.request-card .thanks h3, .thanks h4 { font-size: 2rem; font-weight: 400; margin-bottom: .6rem; }
.thanks:focus { outline: none; }
.ref { margin-top: .9rem; font-size: .9rem; color: var(--taupe); }
.ref b { font-weight: 500; letter-spacing: .08em; color: var(--umber); }

/* ---------- Contact ---------- */
.contact-visit .visit-col h2 { font-size: 1.8rem; font-weight: 500; margin-bottom: 1rem; }

/* ---------- Policies ---------- */
.legal .prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); text-align: left; margin-bottom: .7rem; }
.legal .prose-block + .prose-block { margin-top: 2.4rem; padding-top: 0; border: 0; }
.legal .prose-block + .prose-block::before { display: none; }
.legal ul { margin: .8rem 0 0; padding-left: 1.2em; color: var(--ink); display: grid; gap: .4em; }
.legal ul + p { margin-top: 1em; }
.legal-date { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 1.4rem; }
.legal-intro { font-size: 1.08rem; margin-bottom: 2.6rem; }
.legal-related { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 3rem; }
.draft-note {
  margin-bottom: 2.4rem; padding: 16px 20px; border-radius: 14px; font-size: .95rem; color: var(--umber);
  background: color-mix(in srgb, var(--scale-lo) 16%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--scale-lo) 45%, transparent);
}

/* ---------- Journal ---------- */
.journal-list { list-style: none; margin: 0 auto; padding: 0; max-width: 780px; }
.journal-list a { display: grid; gap: 6px; padding: 28px 4px; border-top: 1px solid var(--line); text-decoration: none; }
.journal-list li:last-child a { border-bottom: 1px solid var(--line); }
.j-date { font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.j-title { font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 500; line-height: 1.2; transition: color .3s; }
.journal-list a:hover .j-title { color: var(--clay-deep); }
.j-excerpt { color: var(--ink); font-size: .96rem; }
.post-body h2 { text-align: left; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.4rem 0 1rem; }
.post-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); font-weight: 500; margin: 2rem 0 .8rem; }
.post-body h4 { font-size: 1.3rem; font-weight: 500; margin: 1.6rem 0 .6rem; }
.post-body ul, .post-body ol { margin: 1rem 0; padding-left: 1.3em; color: var(--ink); display: grid; gap: .45em; }
.post-body strong, .post-body b { font-weight: 500; color: var(--umber); }
.post-body a { color: var(--clay-deep); }
.post-body img { border-radius: 18px; margin: 1.8rem auto; height: auto; }
.post-body blockquote { margin: 2rem 0; padding-left: 1.4rem; border-left: 2px solid var(--clay-soft); font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.post-image { margin: 0 0 2.6rem; }
.post-image img { width: 100%; border-radius: 26px; margin: 0; }
.post-note { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--taupe); }

/* ---------- Footer ---------- */
.footer-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 210px)); justify-content: center;
  gap: 36px clamp(24px, 5vw, 80px); margin: clamp(44px, 6vw, 64px) auto 0;
}
.footer-col { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .92rem; }
.footer-title { margin-bottom: 4px; font-size: .66rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); }
.footer-col a { color: #E6DCCD; text-decoration: none; }
.footer-col a:hover { color: var(--paper); }
.footer-visit { margin-top: clamp(48px, 6vw, 64px); display: grid; justify-items: center; gap: 1rem; font-size: .94rem; }
.footer-visit a { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; color: var(--paper); }
.hours-light dt { color: var(--sand); }
.hours-light dd { color: #E6DCCD; }
.footer-fine a { color: inherit; }

@media (max-width: 720px) {
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .steps::before { left: 21px; }
  .crumbs [aria-current] { max-width: 22ch; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .twin { grid-template-columns: 1fr; }
  .vesica { display: none; }
  .discipline, .discipline-functional, .discipline-physical { text-align: center; padding-inline: 0; }
  .discipline > p:not(.kicker):not(.people-mini), .discipline-functional > p { margin-inline: auto; }
  .discipline .helps { margin-inline: auto; }
  .twin-amp { width: auto; height: 1px; margin: 12px auto; width: 160px; }
  .visit-grid { grid-template-columns: 1fr; }
  .markers { grid-template-columns: minmax(0, 1fr); }
  .markers::before { display: none; }
  .m-col-structure .m-group { padding-top: 36px; }
  .regen-panel { grid-template-columns: 1fr; }
  .regen-visual { width: min(100%, 460px); margin: 0 auto; }
  .regen-copy { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .movements { grid-template-columns: 1fr; gap: 48px; }
  .movements::before { top: 0; bottom: 0; left: 50%; right: auto; width: 1px; height: auto; }
  .movements li { background: var(--bone); padding-bottom: 8px; }
  .triptych { gap: 8px; }
  .guide-nav .btn { min-width: 0; flex: 1; max-width: 170px; padding: 0 18px; }
  .person { width: min(250px, 100%); }
  .hero { padding-top: 130px; }
  .hero .eyebrow span { display: block; }
  .hero .eyebrow .sep { display: none; }

  /* simulator: the overall level gets its own line */
  .level-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label score" "level level"; row-gap: 12px; }
  .level-label { grid-area: label; text-align: left; }
  .level-score { grid-area: score; text-align: right; }
  .level { grid-area: level; }
  .m-sub { display: block; margin: 3px 0 0; }
  .sim-time { grid-template-columns: 1fr; justify-items: center; }
  .scrub { width: 100%; }
  .sim-play { min-width: 0; }
  .regen-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .glass:not(.glass-pill) { width: calc(100% - 40px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .flow path { stroke-dashoffset: 0; }
}
