/* ============================================================
   Capital Wound & Limb Preservation — styles
   Aesthetic: clinical editorial. Institutional gravitas.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..900,0..100;1,9..144,300..900,0..100&family=IBM+Plex+Sans:ital,wght@0,300..700;1,400..600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* --------- tokens — CWS-aligned clinical palette --------- */
:root {
  --ink:       #15361F;
  --ink-soft:  #294533;
  --ink-deep:  #0E2716;
  --bg:        #F7F4EA;
  --bg-2:      #EDF1DF;
  --paper:     #FFFFFF;
  --slate:     #5D665A;
  --slate-2:   #87907E;
  --rule:      #D7D4C6;
  --rule-ink:  rgba(21,54,31,.14);

  /* gold owns calls-to-action, links, and brand emphasis. */
  --accent:       #9A6B18;
  --accent-deep:  #765314;
  --accent-soft:  #F3E7C8;
  --accent-light: #E9C46A;   /* for dark-surface contrast */

  /* green owns clinical trust, healing, outcomes, and dark surfaces. */
  --olive:        #5F8518;
  --olive-deep:   #45610F;
  --olive-light:  #B8D86A;   /* for dark-surface contrast */
  --olive-soft:   #EAF1D4;

  /* legacy aliases — old rules compile to the new palette */
  --cream:    var(--bg);
  --cream-2:  var(--bg-2);
  --clay:      var(--accent);
  --clay-deep: var(--accent-deep);
  --forest:    var(--ink);
  --amber:     var(--accent-light);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;

  --shell-max: 1280px;
  --content-max: 1180px;
  --reading-max: 720px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; min-width: 0; }
html, body { overflow-x: hidden; max-width: 100%; }
img, svg { max-width: 100%; }

/* --------- preview gate --------- */
html:has(body.is-locked),
body.is-locked {
  overflow: hidden !important;
  overscroll-behavior: none;
  height: 100%;
  width: 100%;
  position: fixed;
  inset: 0;
  touch-action: none;
}
body.is-locked > *:not(.gate):not(.skip-link) { visibility: hidden; }
.gate {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(184,216,106,.08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(69,97,15,.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--ink), var(--ink-deep));
  display: grid; place-items: center;
  padding: 32px;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: manipulation;
}
.gate-card { touch-action: manipulation; }
.gate-card {
  max-width: 520px; width: 100%;
  background: transparent;
  color: var(--cream);
  text-align: center;
  padding: 40px 32px;
}
.gate-mark {
  width: 48px; height: 48px;
  display: inline-grid; place-items: center;
  background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-weight: 560; font-size: 17px; letter-spacing: -0.02em;
  margin: 0 auto 28px;
  position: relative;
}
.gate-mark::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(21,54,31,0.15); }
.gate-eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 500;
  margin-bottom: 18px;
}
.gate-h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5.4vw, 54px);
  line-height: 1.03; letter-spacing: -0.022em;
  color: var(--cream); margin: 0 0 20px;
  font-variation-settings: "opsz" 144;
}
.gate-p {
  font-size: 16px; line-height: 1.55; color: #DCE5D0;
  margin: 0 auto 24px; max-width: 440px;
}
.gate-p--lede em {
  font-style: normal; color: var(--accent-light); font-weight: 500;
}
.gate-list {
  list-style: none; padding: 0; margin: 0 auto 34px;
  max-width: 380px; text-align: left;
  display: grid; gap: 10px;
}
.gate-list li {
  font-size: 14px; line-height: 1.55; color: #DCE5D0;
  padding-left: 22px; position: relative;
}
.gate-list li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  color: var(--accent-light); font-weight: 500;
}
.gate-form {
  display: flex; gap: 8px;
  max-width: 380px; margin: 0 auto 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px;
  transition: border-color .25s var(--ease);
}
.gate-form:focus-within { border-color: var(--accent-light); }
.gate-form input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--cream);
  font-family: var(--sans); font-size: 14.5px; letter-spacing: 0.01em;
  padding: 12px 14px;
}
.gate-form input::placeholder { color: #9AA28F; }
.gate-form button {
  background: var(--accent); color: var(--cream);
  border: 0;
  padding: 12px 20px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.gate-form button:hover { background: var(--accent-deep); }
.gate-form button:active { transform: scale(0.98); }
.gate-err {
  min-height: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: #E38C7B; margin-bottom: 28px;
}
.gate-foot {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate-2);
}
.gate-form.shake { animation: shake 0.42s var(--ease); }
@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
@media (max-width: 560px) {
  .gate-card { padding: 24px 20px; }
  .gate-h { font-size: clamp(30px, 7.6vw, 40px); }
  .gate-p { font-size: 15px; }
  .gate-list li { font-size: 13.5px; }
}

/* --------- prefers-reduced-motion --------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------- keyboard-focus ring (accessibility) --------- */
:focus { outline: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}
.header :focus-visible,
.ribbon :focus-visible,
.foot :focus-visible,
.services :focus-visible,
.outcome-bar :focus-visible,
.cta-band :focus-visible {
  outline-color: var(--accent-light);
}
.cta:focus-visible,
.sticky-refer:focus-visible {
  outline-offset: 4px;
}

/* --------- skip-to-content (visually hidden until focused) --------- */
.skip-link {
  position: fixed; top: -60px; left: 12px;
  background: var(--accent); color: var(--cream);
  padding: 10px 16px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 500;
  z-index: 200;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "kern", "liga", "calt";
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* --------- utility --------- */
.shell { max-width: var(--shell-max); margin: 0 auto; padding-inline: 28px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.eyebrow--clay { color: var(--clay); }
.rule { height: 1px; background: var(--rule-ink); width: 100%; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* --------- top ribbon --------- */
.ribbon {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 0;
  border-bottom: 1px solid #ffffff12;
}
.ribbon .shell {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.ribbon .dot { width: 6px; height: 6px; background: var(--clay); display: inline-block; margin-right: 10px; }
.ribbon a:hover { color: var(--amber); }

/* --------- header --------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,245,246,.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--rule-ink);
  box-shadow: 0 1px 0 rgba(21,54,31,.04);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 20px;
  padding-block: 18px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; color: var(--ink);
  font-optical-sizing: auto;
  min-width: 0;
}
.brand-name { min-width: 0; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: -0.02em;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 3px; border: 1px solid #ffffff26;
}
.brand-name { line-height: 1.05; }
.brand-name small {
  display: none; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--slate); text-transform: uppercase; margin-top: 2px; font-weight: 400;
}
.nav-links {
  display: flex; gap: 28px; justify-content: flex-end; list-style: none; margin: 0; padding: 0 28px 0 0;
  font-size: 13.5px; font-weight: 450; color: var(--ink-soft);
  flex-wrap: nowrap; align-items: center;
}
.nav-links li { white-space: nowrap; }
.nav-links a { white-space: nowrap; }
.nav-links a { position: relative; padding-block: 6px; }
.nav-links a:hover,
.nav-links a.is-current { color: var(--accent); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-current::after { transform: scaleX(1); }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px;
  font-size: 13px; letter-spacing: 0.02em; font-weight: 500;
  border: 1px solid var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cta:hover { background: var(--clay); border-color: var(--clay); }
.cta .arrow { display: inline-block; transition: transform .3s var(--ease); }
.cta:hover .arrow { transform: translateX(4px); }
.cta--ghost { background: transparent; color: var(--ink); }
.cta--ghost:hover { background: var(--ink); color: var(--cream); }
.cta--clay { background: var(--clay); border-color: var(--clay); color: var(--cream); }
.cta--clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }

/* hamburger */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--rule-ink);
  color: var(--ink);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.menu-btn:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.menu-btn .menu-icon { display: grid; gap: 4px; width: 18px; }
.menu-btn .menu-icon span {
  display: block; height: 1.5px; background: currentColor; width: 18px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

/* --------- drawer --------- */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer-scrim {
  position: absolute; inset: 0;
  background: rgba(21,54,31,.42);
  opacity: 0; transition: opacity .35s var(--ease);
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 88vw);
  background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  box-shadow: -24px 0 60px -20px rgba(21,54,31,.24);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule-ink);
}
.drawer-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 14.5px; font-weight: 500;
  color: var(--ink); letter-spacing: -0.005em;
  line-height: 1.15;
}
.drawer-brand .brand-mark { width: 30px; height: 30px; font-size: 11px; flex-shrink: 0; }
.drawer-close {
  width: 40px; height: 40px; display: grid; place-items: center;
  color: var(--ink); border: 1px solid var(--rule-ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.drawer-close:hover { background: var(--ink); color: var(--paper); }

.drawer-nav {
  display: flex; flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-ink);
  flex: 1; min-height: 0; overflow-y: auto;
}
.drawer-nav a {
  display: grid; grid-template-columns: 44px 1fr;
  align-items: baseline;
  padding: 18px 24px;
  color: var(--ink);
  font-family: var(--serif); font-weight: 430;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.008em;
  border-bottom: 1px solid var(--rule-ink);
  transition: color .2s var(--ease), background .2s var(--ease);
  font-variation-settings: "opsz" 60;
}
.drawer-nav a:last-child { border-bottom: 0; }
.drawer-nav a:hover,
.drawer-nav a.is-current { color: var(--accent); background: var(--accent-soft); }
.drawer-nav a .n {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--slate); font-weight: 500;
  text-transform: uppercase;
}
.drawer-nav a.is-current .n { color: var(--accent); }

.drawer-actions {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--rule-ink);
}
.drawer-actions .cta { justify-content: center; width: 100%; padding: 14px 18px; }

.drawer-meta {
  padding: 18px 24px 24px;
  font-size: 12.5px; line-height: 1.5; color: var(--slate);
  display: grid; gap: 6px;
}
.drawer-meta strong { color: var(--ink); font-weight: 500; }

/* --------- HERO --------- */
.hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--rule-ink);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: stretch;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px; background: var(--accent);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  font-size: clamp(44px, 6.3vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
}
.hero h1 .slash { display: none; }
.hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 40px;
  font-weight: 400;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule-ink);
}
.hero-meta > div {
  padding-right: 20px;
  border-right: 1px solid var(--rule-ink);
}
.hero-meta > div:last-child { border-right: 0; padding-right: 0; }
.hero-meta > div:nth-child(n+2) { padding-left: 20px; }
.hero-meta .n {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
  display: flex; align-items: baseline; gap: 4px;
}
.hero-meta .n .unit {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
}
.hero-meta .l {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.4;
}

/* hero image */
.hero-figure {
  position: relative;
  min-height: 560px;
  background: var(--ink);
  overflow: hidden;
}
.hero-figure .img-main {
  position: absolute; inset: 0;
  background: url('assets/images/scc-or.jpg') center / cover no-repeat;
  filter: saturate(0.9) contrast(1.02);
}
.hero-figure .img-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21,54,31,.15) 0%, rgba(21,54,31,.55) 100%);
}

/* --------- outcome stat bar (three referrer promises) --------- */
.outcome-bar {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 80px;
  border-bottom: 1px solid #ffffff14;
}
.outcome-bar .ob-lede {
  display: grid; grid-template-columns: 280px 1fr; gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}
.outcome-bar .ob-lede .eyebrow { color: var(--accent-light); }
.outcome-bar h2 {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1; letter-spacing: -0.015em;
  margin: 0; color: var(--cream);
  font-variation-settings: "opsz" 100;
  max-width: 780px;
}
.outcome-bar h2 em {
  font-style: normal; color: var(--accent-light); font-weight: 420;
}
.ob-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid #ffffff20;
}
.ob-grid article {
  padding: 40px 36px 36px;
  border-right: 1px solid #ffffff18;
  display: grid; grid-template-rows: auto auto 1fr auto;
  gap: 14px;
}
.ob-grid article:last-child { border-right: 0; }
.ob-n {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(54px, 5.4vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cream);
  font-variation-settings: "opsz" 144;
  display: flex; align-items: baseline; gap: 10px;
}
.ob-n span {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 500;
}
.ob-grid h3 {
  font-family: var(--serif); font-weight: 440;
  font-size: 22px; letter-spacing: -0.01em; margin: 0;
  color: var(--cream);
}
.ob-grid p {
  font-size: 14.5px; line-height: 1.55; color: #c9cfd8; margin: 0;
}
.ob-cta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 500;
  padding-top: 10px; border-top: 1px solid #ffffff20;
  display: inline-flex; justify-content: space-between;
}
.ob-cta:hover { color: var(--cream); }

/* --------- continuum photo band --------- */
.continuum-band {
  background: var(--bg);
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--rule-ink);
}
.continuum-band .band-head {
  display: grid; grid-template-columns: 280px 1fr; gap: 60px;
  align-items: end; margin-bottom: 44px;
}
.continuum-band .band-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12; letter-spacing: -0.015em;
  color: var(--ink); margin: 0;
  font-variation-settings: "opsz" 100;
  max-width: 780px;
}
.continuum-band .band-head h2 em {
  font-style: normal; color: var(--accent); font-weight: 400;
}
.band-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: var(--rule-ink);
  border: 1px solid var(--rule-ink);
}
.band-card {
  margin: 0; background: var(--paper); color: inherit;
  display: grid; grid-template-rows: 1fr auto;
  transition: background .3s var(--ease);
}
.band-card:hover { background: var(--accent-soft); }
.band-img {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  filter: saturate(0.92) contrast(1.02);
  position: relative;
  transition: filter .35s var(--ease);
}
.band-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21,54,31,.18));
}
.band-card:hover .band-img { filter: saturate(1) contrast(1.02); }
.band-cap {
  padding: 24px 26px 22px;
  display: grid; gap: 8px;
}
.band-grid .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.band-grid .v {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-soft);
}
.band-link {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  padding-top: 12px; margin-top: 6px;
  border-top: 1px solid var(--rule-ink);
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0.62; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.band-card:hover .band-link { opacity: 1; }
.band-card:hover .band-link span { transform: translateX(3px); display: inline-block; transition: transform .3s var(--ease); }

/* --------- credential / trust strip --------- */
.trust-strip {
  background: var(--paper);
  border-block: 1px solid var(--rule-ink);
}
.trust-strip .shell { padding-block: 18px; }
.trust-strip ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.trust-strip li {
  padding: 6px 24px 6px 0;
  border-right: 1px solid var(--rule-ink);
  display: flex; flex-direction: column; gap: 4px;
  min-width: 0;
}
.trust-strip li:last-child { border-right: 0; }
.trust-strip li + li { padding-left: 24px; }
.trust-strip .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.trust-strip .v {
  font-size: 12.5px; line-height: 1.35; color: var(--ink-soft);
}

/* --------- section base --------- */
section { padding-block: 100px; border-bottom: 1px solid var(--rule-ink); }
.section-head {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: start;
}
.section-head .label {
  display: flex; align-items: baseline; gap: 14px;
}
.section-head .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--clay); text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.018em; margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 120;
}
.section-head h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.section-head p {
  font-size: 17.5px; line-height: 1.58; color: var(--ink-soft);
  max-width: 600px; margin: 18px 0 0;
}

/* --------- why / crisis stats --------- */
.why { background: var(--paper); }
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
}
.crisis-grid > div {
  padding: 40px 32px;
  border-right: 1px solid var(--rule-ink);
  position: relative;
}
.crisis-grid > div:last-child { border-right: 0; }
.crisis-grid .n {
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 320;
  line-height: 0.9;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  font-variation-settings: "opsz" 144;
  display: flex; align-items: baseline;
}
.crisis-grid .n sup {
  font-size: 0.4em; color: var(--clay); font-weight: 400; margin-left: 4px;
  font-variation-settings: "opsz" 20;
}
.crisis-grid .n .unit {
  font-size: 0.32em;
  color: var(--slate);
  margin-left: 6px;
  font-weight: 400;
  letter-spacing: 0;
}
.crisis-grid h3 {
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  letter-spacing: 0.02em; margin: 0 0 10px; color: var(--ink);
}
.crisis-grid p {
  font-size: 13.5px; line-height: 1.55; color: var(--slate); margin: 0;
}
.crisis-grid p cite {
  display: block; margin-top: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-2); font-style: normal;
}

.why-note {
  margin-top: 60px;
  display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
  align-items: start;
}
.why-note .quote {
  font-family: var(--serif); font-style: normal; font-weight: 400;
  font-size: 24px; line-height: 1.4; color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 24px;
  font-variation-settings: "opsz" 80;
}
.why-note .quote cite {
  display: block; margin-top: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--slate); font-style: normal;
}

/* --------- care continuum --------- */
.continuum { background: var(--cream-2); }
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.flow::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 44px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px);
  opacity: 0.3;
  z-index: 0;
}
.flow-step {
  background: var(--paper);
  padding: 36px 28px;
  position: relative; z-index: 1;
  border-top: 3px solid var(--ink);
  transition: transform .4s var(--ease);
}
.flow-step:hover { transform: translateY(-4px); }
.flow-step .circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  margin-bottom: 24px; color: var(--ink);
}
.flow-step:nth-child(4) { border-top-color: var(--olive); }
.flow-step:nth-child(4) .circle { background: var(--olive); color: var(--cream); border-color: var(--olive); }
.flow-step h4 {
  font-family: var(--serif); font-weight: 450;
  font-size: 21px; line-height: 1.22; letter-spacing: -0.008em;
  margin: 0 0 12px; color: var(--ink);
  font-variation-settings: "opsz" 60;
}
.flow-step p {
  font-size: 14px; line-height: 1.55; color: var(--slate); margin: 0;
}
.flow-step .meta {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule-ink);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.flow-step .meta strong { color: var(--clay); font-weight: 500; }
.flow-step:nth-child(4) .meta strong { color: var(--olive-deep); }

.continuum-pull {
  margin: 56px auto 0;
  padding: 32px 48px;
  max-width: 960px;
  font-family: var(--serif); font-weight: 440;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  font-variation-settings: "opsz" 100;
}

/* --------- referral flow diagram + "Your patient stays your patient" --------- */
.referral-flow {
  background: var(--bg);
  padding: 100px 0;
  border-bottom: 1px solid var(--rule-ink);
}
.rf-head {
  text-align: center;
  max-width: 780px; margin: 0 auto 56px;
}
.rf-head .eyebrow { margin-bottom: 20px; display: inline-block; }
.rf-head h2 {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 22px;
  font-variation-settings: "opsz" 144;
}
.rf-head h2 em {
  font-style: normal; color: var(--accent); font-weight: 420;
}
.rf-head p {
  font-size: 17px; line-height: 1.6; color: var(--ink-soft);
  margin: 0; max-width: 640px; margin-inline: auto;
}
.rf-flow {
  list-style: none; padding: 0; margin: 0 0 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  position: relative;
  counter-reset: step;
}
.rf-flow::before {
  content: ""; position: absolute;
  left: 12.5%; right: 12.5%; top: 32px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px);
  z-index: 0;
}
.rf-flow li {
  position: relative; z-index: 1;
  padding: 0 22px;
  text-align: center;
}
.rf-flow .rf-n {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  background: var(--paper);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 14px; letter-spacing: 0.1em; font-weight: 500;
  border-radius: 50%;
}
.rf-flow li:last-child .rf-n {
  background: var(--accent); color: var(--cream);
}
.rf-flow h4 {
  font-family: var(--serif); font-weight: 460;
  font-size: 22px; line-height: 1.15; letter-spacing: -0.008em;
  margin: 0 0 8px; color: var(--ink);
  font-variation-settings: "opsz" 80;
}
.rf-flow p {
  font-size: 14px; line-height: 1.55; color: var(--slate); margin: 0;
  max-width: 220px; margin-inline: auto;
}
.rf-cta {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}

/* --------- who we serve grid --------- */
.wws { margin-top: 8px; }
.wws-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule-ink);
}
.wws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-ink);
  border: 1px solid var(--rule-ink);
  margin-bottom: 48px;
}
.wws-grid article {
  background: var(--paper);
  display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 0;
  transition: background .3s var(--ease);
}
.wws-img {
  aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  filter: saturate(0.88) contrast(1.02);
  margin-bottom: 22px;
  position: relative;
}
.wws-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(21,54,31,.12));
}
.wws-grid article > :not(.wws-img) { padding-inline: 28px; }
.wws-grid article > .wws-tag { margin-bottom: 12px; }
.wws-grid article > h3 { margin-bottom: 12px; }
.wws-grid article > p { margin-bottom: 20px; }
.wws-grid article > .wws-cta { padding-block: 14px 22px; margin-top: auto; }
.wws-grid article:hover { background: var(--accent-soft); }
.wws-grid article:hover .wws-img { filter: saturate(1) contrast(1.02); }
.wws-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  padding-bottom: 10px; border-bottom: 1px solid var(--rule-ink);
}
.wws-grid h3 {
  font-family: var(--serif); font-weight: 440;
  font-size: 22px; line-height: 1.18; letter-spacing: -0.008em;
  margin: 0; color: var(--ink);
  font-variation-settings: "opsz" 80;
}
.wws-grid p {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0;
}
.wws-cta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  padding-top: 12px; border-top: 1px solid var(--rule-ink);
  display: inline-flex; justify-content: space-between; gap: 10px;
}
.wws-cta:hover { color: var(--accent-deep); }

/* --------- sticky floating Refer button --------- */
.sticky-refer {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  background: var(--accent); color: var(--cream);
  padding: 14px 20px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -8px rgba(21,54,31,.32);
  display: inline-flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .25s var(--ease);
  border: 1px solid var(--accent);
}
.sticky-refer.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.sticky-refer:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.sticky-refer .sr-arrow {
  display: inline-block; font-weight: 400;
  transition: transform .25s var(--ease);
}
.sticky-refer:hover .sr-arrow { transform: translateX(3px); }

/* crisis sources consolidated footer */
.crisis-sources {
  margin-top: 24px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate);
  text-align: right;
}

/* --------- services --------- */
.services { background: var(--ink); color: var(--cream); border-color: transparent; }
.services .section-head h2 { color: var(--cream); }
.services .section-head h2 em { color: var(--olive-light); }  /* brand green for dark bg */
.services .section-head p { color: #DCE5D0; }
.services .section-head .num { color: var(--olive-light); }

.svc-stack { display: grid; gap: 0; }
.svc {
  display: grid;
  grid-template-columns: 140px 1fr 1.1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid #ffffff1f;
  align-items: start;
  position: relative;
}
.svc-lead { display: grid; gap: 18px; }
.svc-ico {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  color: var(--accent-light);
  border: 1px solid #ffffff1a;
  transition: border-color .3s var(--ease);
}
.svc:hover .svc-ico { border-color: var(--accent-light); }
.svc-ico svg { width: 40px; height: 40px; }
.svc:last-child { border-bottom: 1px solid #ffffff1f; }
.svc .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  color: var(--accent-light); padding-top: 0;
}
.svc h3 {
  font-family: var(--serif); font-weight: 430;
  font-size: clamp(26px, 2.8vw, 32px); line-height: 1.12;
  letter-spacing: -0.012em; margin: 0; color: var(--cream);
  font-variation-settings: "opsz" 100;
}
.svc h3 em { font-style: normal; color: var(--olive-light); font-weight: 400; }
.svc-body p {
  font-size: 15.5px; line-height: 1.6; color: #DCE5D0; margin: 0 0 18px;
}
.svc-body ul {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  color: #DCE5D0;
}
.svc-body li {
  padding: 6px 0; border-bottom: 1px dashed #ffffff1c; display: flex; gap: 12px; align-items: baseline;
}
.svc-body li:last-child { border-bottom: 0; }
.svc-body li::before {
  content: "+"; color: var(--accent-light); font-weight: 500;
}

/* --------- FAQ accordion --------- */
.faq { background: var(--bg); }
.faq-list {
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
}
.faq-list details {
  border-bottom: 1px solid var(--rule-ink);
}
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 8px 26px 0;
  display: grid;
  grid-template-columns: 72px 1fr 32px;
  align-items: baseline;
  gap: 24px;
  transition: color .25s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list .q-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.faq-list .q-t {
  font-family: var(--serif); font-weight: 440;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25; letter-spacing: -0.01em;
  color: inherit;
  font-variation-settings: "opsz" 80;
}
.faq-list .q-i {
  justify-self: end; align-self: center;
  position: relative; width: 18px; height: 18px;
  transition: transform .35s var(--ease);
}
.faq-list .q-i::before,
.faq-list .q-i::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform .35s var(--ease);
}
.faq-list .q-i::before {
  left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%);
}
.faq-list .q-i::after {
  top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%);
}
.faq-list details[open] .q-i::after {
  transform: translateX(-50%) rotate(90deg);
}
.faq-list .q-a {
  padding: 0 8px 28px 96px;
  max-width: 820px;
}
.faq-list .q-a p {
  font-size: 15.5px; line-height: 1.62; color: var(--ink-soft); margin: 0;
}
.faq-list .q-a p a {
  color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px;
}
.faq-list .q-a p a:hover { color: var(--accent); text-decoration-color: var(--accent); }
/* subtle open-animation */
.faq-list details[open] .q-a { animation: faqReveal .35s var(--ease) both; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.faq-cta {
  margin-top: 44px;
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* --------- partnerships (FQHC) --------- */
.partners { background: var(--cream); }
.partners-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px;
  align-items: start;
}
.partners-text h3 {
  font-family: var(--serif); font-weight: 430; font-size: 32px;
  line-height: 1.18; margin: 0 0 24px; letter-spacing: -0.012em;
  font-variation-settings: "opsz" 100;
}
.partners-text h3 em { font-style: normal; color: var(--accent); font-weight: 430; }
.partners-text > p {
  font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 28px;
}
.value-list { list-style: none; padding: 0; margin: 0 0 40px; }
.value-list li {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule-ink);
  align-items: start;
}
.value-list li .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--clay); padding-top: 4px;
}
.value-list li .v { font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.value-list li .v strong { font-weight: 600; }

.partners-card {
  background: var(--paper); padding: 44px 48px;
  border: 1px solid var(--rule-ink);
  margin-top: 56px;
  display: grid; grid-template-columns: 1.2fr 1.3fr auto; gap: 56px; align-items: center;
}
.partners-card h4 {
  font-family: var(--serif); font-weight: 400; font-size: 26px;
  line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 16px;
  font-variation-settings: "opsz" 80;
}
.partners-card p {
  font-size: 15px; line-height: 1.58; color: var(--ink-soft); margin: 0 0 24px;
}
.partners-card .bullets {
  list-style: none; padding: 0; margin: 0 0 32px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
}
.partners-card .bullets li {
  padding: 10px 0; border-bottom: 1px solid var(--rule-ink);
  display: flex; justify-content: space-between; gap: 20px;
}
.partners-card .bullets li:last-child { border-bottom: 0; }
.partners-card .bullets span:last-child { color: var(--clay); font-weight: 500; }
.partners-card .cta { justify-content: center; padding: 14px 22px; white-space: nowrap; }
.partners-card .bullets { margin: 0; }

/* current-partner (real SNF logos) */
.current-partners {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--rule-ink);
}
.current-partners .cp-head {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 28px;
}
.cp-logos {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 28px;
  align-items: center;
}
.cp-logos li {
  aspect-ratio: 1;
  display: grid; place-items: center;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--rule-ink);
}
.cp-logos img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.05);
  opacity: .68;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.cp-logos li:hover img { filter: none; opacity: 1; }

.partners-logos {
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
  margin-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
}

/* --------- team --------- */
.team-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-2);
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.03);
}
.team-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(21,54,31,.12));
}
.team-photo .badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--cream); padding: 8px 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink);
}

.team-info .role {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 16px;
}
.team-info h3 {
  font-family: var(--serif); font-weight: 440;
  font-size: clamp(38px, 4.2vw, 52px);
  line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 8px;
  font-variation-settings: "opsz" 144;
}
.team-info .creds {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em;
  color: var(--slate); margin-bottom: 32px;
}
.team-info p {
  font-size: 16.5px; line-height: 1.62; color: var(--ink-soft); margin: 0 0 20px;
  max-width: 560px;
}
.cv {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--rule-ink);
}
.cv li {
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--rule-ink);
}
.cv li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule-ink); padding-right: 0; }
.cv .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 6px;
}
.cv .v { font-size: 14.5px; line-height: 1.45; color: var(--ink); }

/* --------- locations --------- */
.locations { background: var(--paper); }
.loc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--rule-ink);
  border: 1px solid var(--rule-ink);
}
.loc {
  background: var(--paper);
  padding: 44px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  position: relative;
}
.loc .suite {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate);
}
.loc .suite-n {
  background: var(--ink); color: var(--cream); padding: 4px 10px;
  font-weight: 500;
}
.loc h3 {
  font-family: var(--serif); font-weight: 440;
  font-size: 28px; line-height: 1.14; letter-spacing: -0.012em; margin: 0;
  font-variation-settings: "opsz" 100;
}
.loc h3 em { font-style: normal; color: var(--accent); font-weight: 440; }
.loc .desc { font-size: 14.5px; line-height: 1.6; color: var(--slate); margin: 0; }
.loc .rows { display: grid; gap: 12px; font-size: 14px; }
.loc .rows .row {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: baseline;
  padding: 10px 0; border-top: 1px solid var(--rule-ink);
}
.loc .rows .row:first-child { border-top: 0; padding-top: 0; }
.loc .rows .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate);
}
.loc .rows .v { color: var(--ink); }
.loc .rows .v a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.loc .rows .v a:hover { text-decoration-color: var(--clay); color: var(--clay); }

.loc-photo {
  position: relative; aspect-ratio: 5 / 3; margin-bottom: -4px; margin-inline: -44px -44px;
  margin-top: -44px;
  overflow: hidden;
}
.loc-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }

/* --------- CTA band --------- */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  padding: 120px 0;
  border: 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: url('assets/images/clinical-5.jpg') center / cover no-repeat;
  opacity: 0.18;
  filter: saturate(0.6);
  mask-image: linear-gradient(-90deg, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(-90deg, black 30%, transparent 100%);
}
.cta-band-inner { position: relative; z-index: 1; max-width: 820px; }
.cta-band .eyebrow { color: var(--amber); margin-bottom: 28px; }
.cta-band h2 {
  font-family: var(--serif); font-weight: 420;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 32px;
  color: var(--cream);
  font-variation-settings: "opsz" 144;
}
.cta-band h2 em { font-style: normal; color: var(--olive-light); font-weight: 420; }
.cta-band p {
  font-size: 18px; line-height: 1.6; color: #DCE5D0; margin: 0 0 44px;
  max-width: 620px;
}
.cta-band-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .cta { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.cta-band .cta:hover { background: var(--clay); color: var(--cream); border-color: var(--clay); }
.cta-band .cta--ghost {
  background: transparent; color: var(--cream); border-color: #ffffff38;
}
.cta-band .cta--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* --------- footer --------- */
.foot {
  background: var(--ink-deep); color: var(--cream);
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 60px; border-bottom: 1px solid #ffffff15;
}
.foot .brand { color: var(--cream); }
.foot .brand-mark { background: var(--cream); color: var(--ink); }
.foot .brand small { color: var(--slate-2); }
.foot h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 18px; font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { padding: 6px 0; font-size: 14px; color: #DCE5D0; }
.foot ul li a:hover { color: var(--amber); }
.foot p { font-size: 14px; line-height: 1.6; color: #DCE5D0; max-width: 320px; margin: 14px 0 0; }
.foot-bottom {
  padding-top: 28px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--slate-2);
}
.foot-bottom a:hover { color: var(--amber); }

/* --------- reveal: content always visible; transitions only on interaction --------- */
.reveal { opacity: 1; transform: none; }

/* --------- responsive --------- */
@media (max-width: 1380px) {
  .nav { grid-template-columns: auto 1fr auto auto; gap: 12px; }
  .nav-links { display: none; }
  .header .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid, .partners-grid, .team-grid, .continuum-footer, .why-note { grid-template-columns: 1fr; gap: 48px; }
  .hero-figure { min-height: 440px; }
  .hero-figure .img-sub { left: 0; bottom: -24px; width: 50%; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 44px; }
  .crisis-grid { grid-template-columns: 1fr 1fr; }
  .crisis-grid > div:nth-child(2) { border-right: 0; }
  .crisis-grid > div:nth-child(1), .crisis-grid > div:nth-child(2) { border-bottom: 1px solid var(--rule-ink); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .svc { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .svc .arrow { display: none; }
  .loc-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cv { grid-template-columns: 1fr; }
  .cv li:nth-child(2n) { padding-left: 0; border-left: 0; padding-right: 24px; }
  .partners-card { position: static; }
}

/* tablet / large phone */
@media (max-width: 720px) {
  /* ribbon: phones only, stacked, separator hidden */
  .ribbon { padding: 8px 0; font-size: 10px; letter-spacing: 0.06em; }
  .ribbon .shell { justify-content: center; gap: 14px; text-align: center; flex-direction: row; flex-wrap: wrap; }
  .ribbon-msg { display: none; }
  .ribbon-phones { display: flex; flex-direction: row; align-items: center; gap: 10px; line-height: 1.2; }
  .ribbon-sep { display: inline-block; opacity: .5; }

  /* header: tight, single-row with hamburger */
  .header { border-bottom: 1px solid var(--rule-ink); }
  .nav { padding-block: 10px; gap: 10px; grid-template-columns: auto 1fr auto; }
  .brand { font-size: 14px; gap: 10px; letter-spacing: -0.005em; line-height: 1.1; min-width: 0; }
  .brand-mark { width: 30px; height: 30px; font-size: 11px; flex-shrink: 0; }
  .brand-name { font-size: 14px; min-width: 0; }
  .brand-name small { display: none; }
  .header .header-cta { display: none; }
  .menu-btn { width: 38px; height: 38px; }

  /* hero */
  .hero { padding: 40px 0 56px; }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero h1 {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    font-variation-settings: "SOFT" 20, "opsz" 100;
  }
  .hero h1 em { font-variation-settings: "SOFT" 60, "opsz" 100; }
  .hero h1 .slash { margin: 0 0.05em; }
  /* keep explicit line breaks from HTML so headline composition is intentional */
  .hero-copy, .hero-lede, .hero-cta, .hero-meta { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
  .hero-grid { width: 100%; min-width: 0; }
  .hero-lede { font-size: 15.5px; line-height: 1.55; max-width: 100%; margin-bottom: 28px; }
  .hero-cta { gap: 10px; margin-bottom: 32px; }
  .hero-cta .cta { flex: 1 1 100%; justify-content: center; padding: 14px 18px; }
  .hero-meta {
    grid-template-columns: 1fr;
    padding-top: 24px;
    gap: 0;
    min-width: 0;
  }
  .hero-meta > div {
    padding: 16px 0 !important;
    border-right: 0 !important;
    border-top: 1px solid var(--rule-ink);
    display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center;
  }
  .hero-meta > div:first-child { border-top: 0; padding-top: 0 !important; }
  .hero-meta .n { font-size: 30px; margin-bottom: 0; }
  .hero-meta .n .unit { margin-left: 4px; }
  .hero-meta .l { font-size: 10.5px; letter-spacing: 0.12em; line-height: 1.4; }
  .hero-figure { min-height: 320px; }
  .hero-figure .img-sub { width: 45%; bottom: -16px; border-width: 6px; }
  .hero-figure .tag { top: 12px; left: 12px; font-size: 9.5px; padding: 6px 10px; }
  .hero-cap { bottom: 10px; right: 10px; padding: 8px 10px; font-size: 9.5px; max-width: 220px; }

  /* trust strip — single-column stack on mobile, tidy alignment */
  .trust-strip ul {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .trust-strip li {
    padding: 12px 0 !important;
    border-right: 0 !important;
    border-top: 1px solid var(--rule-ink);
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    align-items: baseline;
  }
  .trust-strip li:first-child { border-top: 0; padding-top: 4px !important; }
  .trust-strip li:last-child { padding-bottom: 4px !important; }
  .trust-strip li + li { padding-left: 0 !important; }
  .trust-strip .k { font-size: 10px; letter-spacing: 0.14em; }
  .trust-strip .v { font-size: 12.5px; line-height: 1.4; }

  /* continuum band — stack and shrink */
  .continuum-band { padding: 56px 0 64px; }
  .continuum-band .band-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .continuum-band .band-head h2 { font-size: clamp(24px, 6.4vw, 32px); }
  .band-grid { grid-template-columns: 1fr; gap: 1px; }
  .band-grid figcaption { padding: 20px 22px 24px; }

  /* partners current logos — 3 per row on mobile */
  .cp-logos { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .current-partners .cp-head { font-size: 10.5px; margin-bottom: 20px; }

  /* outcome bar — stacked on mobile */
  .outcome-bar { padding: 56px 0 64px; }
  .outcome-bar .ob-lede { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .outcome-bar h2 { font-size: clamp(24px, 6.4vw, 34px); }
  .ob-grid { grid-template-columns: 1fr; border-top: 0; }
  .ob-grid article {
    padding: 28px 22px;
    border-right: 0;
    border-top: 1px solid #ffffff20;
  }
  .ob-grid article:first-child { border-top: 0; }
  .ob-n { font-size: 44px; }
  .ob-n span { font-size: 10.5px; }
  .ob-grid h3 { font-size: 18px; }
  .ob-grid p { font-size: 14px; }

  /* continuum pull */
  .continuum-pull { padding: 24px; font-size: 19px; margin-top: 40px; }

  /* referral flow — stack */
  .referral-flow { padding: 72px 0; }
  .rf-head { margin-bottom: 40px; }
  .rf-head h2 { font-size: clamp(28px, 7.4vw, 40px); }
  .rf-head p { font-size: 15.5px; }
  .rf-flow { grid-template-columns: 1fr; gap: 8px; margin-bottom: 36px; }
  .rf-flow::before { display: none; }
  .rf-flow li { padding: 20px 18px; text-align: left; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: center; border-top: 1px solid var(--rule-ink); }
  .rf-flow li:first-child { border-top: 0; }
  .rf-flow .rf-n { width: 52px; height: 52px; margin: 0; font-size: 12px; }
  .rf-flow h4 { font-size: 18px; margin-bottom: 4px; }
  .rf-flow p { text-align: left; max-width: none; font-size: 13.5px; }
  .rf-flow li > :nth-child(n+2) { grid-column: 2; }
  .rf-flow li h4 { grid-column: 2; grid-row: 1; }
  .rf-flow li p { grid-column: 2; grid-row: 2; }
  .rf-cta .cta { flex: 1 1 100%; justify-content: center; }

  /* Who we serve — single column on mobile */
  .wws-grid { grid-template-columns: 1fr; }
  .wws-grid article > :not(.wws-img) { padding-inline: 22px; }
  .wws-grid h3 { font-size: 19px; }

  /* FAQ accordion — tighter on mobile */
  .faq-list summary { padding: 20px 4px 20px 0; grid-template-columns: 44px 1fr 24px; gap: 14px; }
  .faq-list .q-n { font-size: 10px; letter-spacing: 0.14em; }
  .faq-list .q-t { font-size: 17px; line-height: 1.28; }
  .faq-list .q-i { width: 14px; height: 14px; }
  .faq-list .q-a { padding: 0 4px 22px 58px; }
  .faq-list .q-a p { font-size: 14.5px; }
  .faq-cta .cta { flex: 1 1 100%; justify-content: center; }

  /* partners-card — stack */
  .partners-card { grid-template-columns: 1fr; gap: 22px; padding: 28px; margin-top: 40px; }
  .partners-card .cta { width: 100%; }

  /* sticky refer — smaller and pinned */
  .sticky-refer { right: 14px; bottom: 14px; padding: 11px 15px; font-size: 12px; letter-spacing: 0.04em; }

  /* crisis sources */
  .crisis-sources { text-align: left; font-size: 10px; }

  /* section padding */
  section { padding-block: 72px; }
  .shell { padding-inline: 22px; }

  /* section head */
  .section-head h2 { font-size: clamp(30px, 7.5vw, 44px); }
  .section-head p { font-size: 15.5px; }

  /* crisis grid */
  .crisis-grid { grid-template-columns: 1fr; }
  .crisis-grid > div { border-right: 0 !important; border-bottom: 1px solid var(--rule-ink); padding: 32px 24px; }
  .crisis-grid > div:last-child { border-bottom: 0; }
  .crisis-grid .n { font-size: 54px; }

  /* why note */
  .why-note { gap: 24px; margin-top: 44px; }
  .why-note .quote { font-size: 20px; padding-left: 18px; }

  /* flow (continuum) */
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow-step { padding: 28px 22px; }
  .flow-step h4 { font-size: 20px; }

  .continuum-footer { gap: 32px; margin-top: 44px; }
  .continuum-footer h4 { font-size: 22px; }

  /* services */
  .svc { padding: 28px 0; gap: 18px; grid-template-columns: 1fr !important; }
  .svc h3 { font-size: 26px; line-height: 1.1; }
  .svc-body p { font-size: 14.5px; }
  .svc-body li { font-size: 11.5px; }
  .svc-lead { grid-template-columns: 56px 1fr; align-items: center; gap: 16px; }
  .svc-ico { width: 56px; height: 56px; }
  .svc-ico svg { width: 32px; height: 32px; }

  /* partners */
  .partners-text h3 { font-size: 26px; }
  .value-list li { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .value-list li .k { padding-top: 0; }
  .partners-card { padding: 28px; }
  .partners-card h4 { font-size: 22px; }
  .partners-logos { gap: 10px; font-size: 10.5px; }

  /* team */
  .team-info h3 { font-size: clamp(34px, 8.5vw, 48px); }

  /* locations */
  .loc { padding: 28px; }
  .loc h3 { font-size: 24px; }
  .loc-photo { margin-inline: -28px; margin-top: -28px; aspect-ratio: 5 / 3; }
  .loc .rows .row { grid-template-columns: 80px 1fr; gap: 10px; font-size: 13.5px; }

  /* CTA band */
  .cta-band { padding: 80px 0; }
  .cta-band h2 { font-size: clamp(34px, 9vw, 52px); }
  .cta-band p { font-size: 16px; }
  .cta-band-buttons .cta { flex: 1 1 100%; justify-content: center; }

  /* footer */
  .foot { padding: 56px 0 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 40px; }
  .foot .brand-name { font-size: 14px; }
  .foot p { font-size: 13px; }
  .foot h5 { font-size: 10px; }
  .foot-bottom { font-size: 10px; letter-spacing: 0.1em; gap: 10px; }
}

/* small phone */
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-figure .img-sub { display: none; }
  .brand-name small { display: none; }
  .team-info h3 { font-size: 34px; }
  .cv li { padding: 14px 16px 14px 0; }
  .cv li:nth-child(2n) { padding-right: 0; }
}

/* ============================================================
   Multi-page system — sub-page heroes, content blocks, SEO pages
   ============================================================ */

/* universal sub-page hero — shorter, type-led, no collage */
.page-hero {
  background: var(--bg);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-hero .eyebrow-row {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--olive);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.page-hero .eyebrow-row::before {
  content: ""; width: 34px; height: 1px; background: var(--olive);
}
.page-hero h1 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(44px, 6.2vw, 82px); line-height: 1.02;
  letter-spacing: -0.026em; color: var(--ink);
  margin: 0 0 28px; max-width: 14ch;
  font-variation-settings: "opsz" 144;
}
.page-hero h1 em {
  font-style: normal; color: var(--accent); font-weight: 400;
}
.page-hero .lede {
  font-family: var(--sans); font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55; color: var(--slate); max-width: 62ch;
  margin: 0 0 32px;
}
.page-hero .lede strong { color: var(--ink); font-weight: 600; }
.page-hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero with paired image */
.page-hero--split { padding-bottom: 0; }
.page-hero--split .shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: end;
}
.page-hero--split .hero-image {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  border: 1px solid var(--rule-ink);
  position: relative;
  margin-bottom: -1px;
}
.page-hero--split .hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(21,54,31,.18) 100%);
  pointer-events: none;
}
@media (max-width: 980px) {
  .page-hero--split .shell { grid-template-columns: 1fr; gap: 36px; }
  .page-hero--split .hero-image { aspect-ratio: 16 / 10; margin-bottom: 0; }
}

/* tight content sections on sub-pages */
.content-section { padding: 100px 0; }
.content-section + .content-section { padding-top: 0; }
.content-section.on-dark {
  background: var(--ink);
  color: var(--bg);
}
.content-section.on-dark h2,
.content-section.on-dark h3 { color: var(--bg); }
.content-section.on-dark .eyebrow { color: var(--accent-light); }
.content-section.on-tint { background: var(--bg-2); }

.content-lede {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px; align-items: baseline;
  margin-bottom: 56px;
}
.content-lede .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  padding-top: 12px; border-top: 1px solid var(--rule-ink);
}
.content-lede h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 20px;
  font-variation-settings: "opsz" 144; max-width: 22ch;
}
.content-lede h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.content-lede p {
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--slate); max-width: 60ch; margin: 0;
}
@media (max-width: 780px) {
  .content-lede { grid-template-columns: 1fr; gap: 18px; }
}

/* differentiator banner — hero-adjacent */
.diff-banner {
  background: var(--ink); color: var(--bg);
  padding: 48px 0;
  border-bottom: 1px solid rgba(184,216,106,.18);
}
.diff-banner .shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px; align-items: center;
}
.diff-banner .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 500;
  white-space: nowrap;
}
.diff-banner .v {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--bg);
  font-variation-settings: "opsz" 144;
}
.diff-banner .v em {
  font-style: normal; color: var(--accent-light); font-weight: 500;
}
.diff-banner .v-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--slate-2); white-space: nowrap;
}
@media (max-width: 780px) {
  .diff-banner .shell { grid-template-columns: 1fr; gap: 14px; }
  .diff-banner .v { font-size: 20px; }
}

/* procedure / condition cards */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tile-grid { grid-template-columns: 1fr; } }

.tile {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.tile:hover { border-color: var(--accent); }
.tile .t-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.tile h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink); margin: 0;
  font-variation-settings: "opsz" 144;
}
.tile h3 em { font-style: normal; color: var(--accent); }
.tile p {
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  color: var(--slate); margin: 0;
}
.tile ul {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: grid; gap: 7px;
}
.tile li {
  font-family: var(--sans); font-size: 14px; line-height: 1.45;
  color: var(--ink-soft); padding-left: 16px; position: relative;
}
.tile li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--accent);
}

.tile--dark {
  background: var(--ink); color: var(--bg);
  border-color: rgba(184,216,106,.18);
}
.tile--dark h3 { color: var(--bg); }
.tile--dark p { color: #C9D4C0; }
.tile--dark li { color: var(--bg); }
.tile--dark li::before { background: var(--accent-light); }
.tile--dark .t-n { color: var(--accent-light); }

/* pull-quote block */
.pull {
  max-width: 920px; margin: 80px auto; padding: 0 20px;
  text-align: left;
}
.pull .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.pull .k::before { content: ""; width: 30px; height: 1px; background: var(--accent); }
.pull blockquote {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.2;
  letter-spacing: -0.015em; color: var(--ink); margin: 0 0 18px;
  font-variation-settings: "opsz" 144;
}
.pull blockquote em { font-style: normal; color: var(--accent); }
.pull cite {
  font-family: var(--mono); font-style: normal;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate);
}

/* three-up teaser links on Home */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.teaser-grid a {
  display: flex; flex-direction: column;
  padding: 56px 40px 48px;
  text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .3s var(--ease);
  overflow: hidden;
}
.teaser-grid a:last-child { border-right: 0; }
.teaser-grid a::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.teaser-grid a:hover { background: var(--bg); }
.teaser-grid a:hover::before { transform: scaleX(1); }
.teaser-grid .t-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 28px;
}
.teaser-grid .t-h {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1;
  letter-spacing: -0.018em; margin: 0 0 14px; color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.teaser-grid .t-p {
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  color: var(--slate); margin: 0 0 32px; max-width: 34ch;
}
.teaser-grid .t-go {
  margin-top: auto;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-grid a { border-right: 0; border-bottom: 1px solid var(--rule); padding: 44px 28px 40px; }
  .teaser-grid a:last-child { border-bottom: 0; }
}

/* compact fact strip */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
}
.fact-strip > div {
  padding: 36px 28px;
  border-right: 1px solid var(--rule-ink);
}
.fact-strip > div:last-child { border-right: 0; }
.fact-strip .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.fact-strip .v {
  font-family: var(--serif); font-weight: 380;
  font-size: 26px; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.fact-strip .v small {
  display: block; font-family: var(--sans); font-size: 13px;
  color: var(--slate); font-weight: 400; margin-top: 4px; letter-spacing: 0;
}
@media (max-width: 780px) {
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact-strip > div:nth-child(2n) { border-right: 0; }
  .fact-strip > div:nth-child(1),
  .fact-strip > div:nth-child(2) { border-bottom: 1px solid var(--rule-ink); }
}

/* two-column prose with sidebar */
.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px; align-items: start;
}
.two-col h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink); margin: 0 0 16px;
}
.two-col p {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--ink-soft); margin: 0 0 16px;
}
.two-col .side {
  background: var(--paper); border: 1px solid var(--rule);
  padding: 32px;
}
.two-col .side h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 18px;
  font-weight: 500;
}
.two-col .side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.two-col .side li {
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  color: var(--ink-soft); padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-ink);
}
.two-col .side li:last-child { border-bottom: 0; padding-bottom: 0; }
.two-col .side li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* figure band — dense imagery row (surgical suite page) */
.figure-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 60px 0;
}
.figure-band .f {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  border: 1px solid var(--rule-ink);
}
.figure-band .f:first-child { aspect-ratio: 4 / 6; grid-row: span 1; }
@media (max-width: 700px) {
  .figure-band { grid-template-columns: 1fr 1fr; }
}

/* nav current-page indicator */
.nav-links a.is-current,
.drawer-nav a.is-current { color: var(--accent); }
.nav-links a.is-current::after {
  content: ""; display: block; height: 1px; background: var(--accent);
  margin-top: 4px;
}

/* ---- grouped nav: Services / Programs dropdowns ---- */
.nav-links .has-submenu { position: relative; }
.nav-toggle {
  appearance: none; background: transparent; border: 0; padding: 6px 0;
  font: inherit; color: inherit; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.nav-toggle .caret {
  font-size: 10px; line-height: 1; transition: transform .25s var(--ease);
  color: var(--ink-soft);
}
.nav-toggle:hover,
.has-submenu.is-open > .nav-toggle { color: var(--accent); }
.has-submenu.is-open > .nav-toggle .caret { transform: rotate(180deg); color: var(--accent); }
.nav-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-toggle:hover::after,
.has-submenu.is-open > .nav-toggle::after { transform: scaleX(1); }

.submenu {
  position: absolute; top: calc(100% + 14px); left: 0;
  transform: translateY(-4px);
  min-width: 220px;
  background: var(--paper, #fff);
  border: 1px solid var(--rule-ink);
  list-style: none; margin: 0; padding: 8px 0;
  display: flex; flex-direction: column;
  box-shadow: 0 14px 40px rgba(10, 31, 60, 0.10);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 50;
}
.submenu::before {
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.has-submenu:hover > .submenu,
.has-submenu:focus-within > .submenu,
.has-submenu.is-open > .submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
/* Programs (and any later) submenu: anchor right so it opens leftward, away from the CTA */
.nav-links li.has-submenu ~ li.has-submenu .submenu { left: auto; right: 0; }
.submenu li { white-space: nowrap; }
.submenu a {
  display: block; padding: 10px 18px;
  font-size: 13px; font-weight: 450; color: var(--ink);
  text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.submenu a:hover { background: var(--accent-soft, rgba(14,103,96,.08)); color: var(--accent); }
.submenu a::after { display: none; }

/* drawer sections (mobile grouped nav) */
.drawer-section { display: flex; flex-direction: column; }
.drawer-section + .drawer-section { border-top: 1px solid var(--rule-ink); }
.drawer-section-title {
  display: block; padding: 18px 24px 6px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate); font-weight: 500;
}
.drawer-section a { border-bottom: 1px solid var(--rule-ink); }
.drawer-section a:last-child { border-bottom: 0; }

/* ============================================================
   IMAGE-HEAVY COMPONENTS — full-bleed heroes, photo showcases
   ============================================================ */

/* Full-bleed hero with massive image + overlaid text */
.hero-bleed {
  position: relative;
  min-height: min(88vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--bg);
  padding: 168px 0 72px;
  isolation: isolate;
}
.hero-bleed::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: var(--hero-pos, center);
  transform: scale(1.04);
  animation: slow-zoom 12s ease-out forwards;
}
.hero-bleed::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(21,54,31,.45) 0%, rgba(21,54,31,.72) 55%, rgba(21,54,31,.95) 100%),
    linear-gradient(90deg, rgba(21,54,31,.65) 0%, rgba(21,54,31,.25) 55%, rgba(21,54,31,.05) 100%);
}
@keyframes slow-zoom { to { transform: scale(1); } }

.hero-bleed .shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: clamp(40px, 6vw, 80px);
}
.hero-bleed .shell > *:not(.hero-stats) { grid-column: 1; min-width: 0; }
.hero-bleed .hero-copy { max-width: 62ch; }
.hero-bleed .eyebrow-row {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--olive-light);
  margin-bottom: 26px; display: flex; align-items: center; gap: 14px;
}
.hero-bleed .eyebrow-row::before {
  content: ""; width: 38px; height: 1px; background: var(--olive-light);
}
.hero-bleed h1 {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(44px, 6.4vw, 96px); line-height: 0.98;
  letter-spacing: -0.03em; color: var(--bg);
  margin: 0 0 28px; max-width: 16ch;
  font-variation-settings: "opsz" 144;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
  text-wrap: balance;
}
.hero-bleed h1 em {
  font-style: normal; color: var(--accent-light); font-weight: 400;
}
.hero-bleed .lede {
  font-family: var(--sans); font-size: clamp(16.5px, 1.35vw, 20px);
  line-height: 1.55; color: rgba(242,245,246,.92);
  max-width: 54ch; margin: 0 0 34px;
}
.hero-bleed .lede strong { color: var(--bg); font-weight: 500; }
.hero-bleed .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-bleed .hero-ctas .cta--ghost { color: var(--bg); border-color: rgba(242,245,246,.45); }
.hero-bleed .hero-ctas .cta--ghost:hover { background: rgba(242,245,246,.1); }

/* variant: right-aligned (sub-pages without stats) */
.hero-bleed--right { text-align: right; }
.hero-bleed--right .shell { justify-items: end; }
.hero-bleed--right .hero-copy { margin-left: auto; }
.hero-bleed--right h1, .hero-bleed--right .lede { margin-left: auto; }
.hero-bleed--right .hero-ctas { justify-content: flex-end; }
.hero-bleed--right .eyebrow-row { justify-content: flex-end; flex-direction: row-reverse; }

/* vertical stats sidebar — sits to the right of copy, no overlap */
.hero-bleed .hero-stats {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: end;
  display: flex;
  flex-direction: column;
  padding-left: clamp(24px, 2.4vw, 36px);
  border-left: 1px solid rgba(242,245,246,.22);
  min-width: 200px;
  margin: 0;
}
.hero-bleed .hero-stats > div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(242,245,246,.14);
}
.hero-bleed .hero-stats > div:first-child { padding-top: 0; }
.hero-bleed .hero-stats > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-bleed .hero-stats .n {
  font-family: var(--serif); font-weight: 380; font-size: clamp(36px, 3.2vw, 46px);
  line-height: 1; color: var(--accent-light); margin-bottom: 6px;
  font-variation-settings: "opsz" 144;
}
.hero-bleed .hero-stats .l {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(242,245,246,.72);
  max-width: 18ch; line-height: 1.4;
}

/* tablet: tighter sidebar */
@media (max-width: 1100px) {
  .hero-bleed { padding: 150px 0 60px; }
  .hero-bleed .hero-stats { min-width: 170px; }
  .hero-bleed .hero-stats > div { padding: 14px 0; }
}

/* collapse stats under copy as horizontal strip */
@media (max-width: 900px) {
  .hero-bleed { min-height: auto; padding: 140px 0 56px; }
  .hero-bleed .shell { grid-template-columns: 1fr; }
  .hero-bleed .hero-copy { max-width: 100%; }
  .hero-bleed .hero-stats {
    grid-column: 1; grid-row: auto;
    flex-direction: row; flex-wrap: wrap;
    padding-left: 0; border-left: 0;
    border-top: 1px solid rgba(242,245,246,.22);
    padding-top: 22px; margin-top: 40px;
    min-width: 0;
  }
  .hero-bleed .hero-stats > div {
    padding: 0 clamp(20px, 4vw, 32px) 0 0;
    border-bottom: 0;
    flex: 0 0 auto;
  }
  .hero-bleed .hero-stats .n { font-size: 30px; }
}

/* mobile: tighter type + full-width CTAs */
@media (max-width: 640px) {
  .hero-bleed { padding: 118px 0 48px; }
  .hero-bleed h1 {
    font-size: clamp(34px, 10vw, 54px);
    max-width: 100%; margin-bottom: 20px;
  }
  .hero-bleed .lede { font-size: 15.5px; margin-bottom: 26px; }
  .hero-bleed .eyebrow-row { font-size: 10px; margin-bottom: 20px; }
  .hero-bleed .eyebrow-row::before { width: 28px; }
  .hero-bleed .hero-ctas { width: 100%; gap: 10px; }
  .hero-bleed .hero-ctas .cta { flex: 1 1 auto; justify-content: center; min-width: 0; }
  .hero-bleed .hero-stats { margin-top: 32px; padding-top: 20px; }
  .hero-bleed .hero-stats > div { padding-right: 22px; }
  .hero-bleed .hero-stats .n { font-size: 26px; }
  .hero-bleed--right { text-align: left; }
  .hero-bleed--right .shell { justify-content: flex-start; }
  .hero-bleed--right h1, .hero-bleed--right .lede, .hero-bleed--right .hero-copy { margin-left: 0; }
  .hero-bleed--right .hero-ctas { justify-content: flex-start; }
  .hero-bleed--right .eyebrow-row { justify-content: flex-start; flex-direction: row; }
}

/* Photo showcase — large photo cards with overlaid copy */
.showcase {
  padding: 100px 0;
}
.showcase-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: end; margin-bottom: 60px;
}
.showcase-head .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--olive); margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.showcase-head .eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--olive); }
.showcase-head h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02;
  letter-spacing: -0.024em; color: var(--ink); margin: 0;
  max-width: 18ch;
  font-variation-settings: "opsz" 144;
}
.showcase-head h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.showcase-head p {
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  color: var(--slate); margin: 0; max-width: 46ch;
}
@media (max-width: 900px) {
  .showcase-head { grid-template-columns: 1fr; gap: 24px; }
}

.show-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.show-grid.-three { grid-template-columns: repeat(3, 1fr); }
.show-grid.-two { grid-template-columns: repeat(2, 1fr); }

.show-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none; color: var(--bg);
  isolation: isolate;
  display: block;
}
.show-card .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .9s var(--ease);
}
.show-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,54,31,0) 30%, rgba(21,54,31,.82) 100%);
  transition: background .4s var(--ease);
}
.show-card:hover .bg { transform: scale(1.06); }
.show-card:hover::after { background: linear-gradient(180deg, rgba(21,54,31,.2) 30%, rgba(21,54,31,.92) 100%); }

.show-card .num {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 600;
  background: rgba(21,54,31,.4); padding: 6px 10px;
  backdrop-filter: blur(4px);
}
.show-card .caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.show-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 1.9vw, 26px); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--bg); margin: 0;
  font-variation-settings: "opsz" 144;
}
.show-card h3 em { font-style: normal; color: var(--accent-light); }
.show-card.-seal .num { color: var(--olive-light); }
.show-card.-seal h3 em { color: var(--olive-light); }
.show-card.-seal .arrow { background: var(--olive-light); }
.show-card .meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(242,245,246,.75);
}
.show-card .arrow {
  position: absolute; top: 24px; right: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-light); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: 16px;
  opacity: 0; transform: translate(4px, -4px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.show-card:hover .arrow { opacity: 1; transform: translate(0, 0); }

@media (max-width: 1100px) {
  .show-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .show-grid, .show-grid.-three, .show-grid.-two { grid-template-columns: 1fr; }
  .show-card { aspect-ratio: 4 / 3; }
}

/* Split-photo block — big image + tight text column */
.split-photo {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 0; min-height: 640px;
}
.split-photo.-reverse { grid-template-columns: 1fr 1.1fr; direction: rtl; }
.split-photo.-reverse > * { direction: ltr; }
.split-photo .img {
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.split-photo .img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(21,54,31,.15) 0%, transparent 50%);
}
.split-photo .txt {
  background: var(--bg-2);
  padding: 90px 72px;
  display: flex; flex-direction: column; justify-content: center;
}
.split-photo.-dark .txt { background: var(--ink); color: var(--bg); }
.split-photo.-dark .txt h2 { color: var(--bg); }
.split-photo.-dark .txt h2 em { color: var(--accent-light); }
.split-photo.-dark .txt p { color: #C9D4C0; }
.split-photo.-dark .txt .k { color: var(--accent-light); }
.split-photo .k {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
  margin-bottom: 18px;
}
.split-photo h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 22px;
  max-width: 17ch;
  font-variation-settings: "opsz" 144;
}
.split-photo h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.split-photo p {
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  color: var(--slate); margin: 0 0 14px;
}
.split-photo .actions { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .split-photo, .split-photo.-reverse { grid-template-columns: 1fr; min-height: auto; direction: ltr; }
  .split-photo .img { aspect-ratio: 16/10; }
  .split-photo .txt { padding: 60px 32px; }
}

/* Photo collage — art-directed overlap arrangement */
.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(10, 40px);
  gap: 12px;
  padding: 60px 0;
}
.collage .c {
  background-size: cover; background-position: center;
  border: 1px solid var(--rule-ink);
  position: relative; overflow: hidden;
}
.collage .c::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(21,54,31,.15) 100%);
  pointer-events: none;
}
.collage .c-big { grid-column: 1 / 7; grid-row: 1 / 8; }
.collage .c-top { grid-column: 7 / 13; grid-row: 1 / 5; }
.collage .c-mid { grid-column: 7 / 10; grid-row: 5 / 10; }
.collage .c-bot { grid-column: 10 / 13; grid-row: 5 / 10; }
.collage .label {
  position: absolute; left: 20px; bottom: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bg);
  background: rgba(21,54,31,.6); padding: 6px 10px;
  backdrop-filter: blur(4px);
}
@media (max-width: 820px) {
  .collage { grid-template-rows: repeat(8, 50px); }
  .collage .c-big { grid-column: 1 / 13; grid-row: 1 / 5; }
  .collage .c-top { grid-column: 1 / 7; grid-row: 5 / 9; }
  .collage .c-mid { grid-column: 7 / 13; grid-row: 5 / 7; }
  .collage .c-bot { grid-column: 7 / 13; grid-row: 7 / 9; }
}

/* Marquee strip — full-width moving text band (big type) */
.marquee {
  background: var(--ink); color: var(--bg);
  padding: 28px 0;
  overflow: hidden; position: relative;
  border-top: 1px solid rgba(184,216,106,.18);
  border-bottom: 1px solid rgba(184,216,106,.18);
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee-slide 48s linear infinite;
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(26px, 4.4vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 72;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
  flex-shrink: 0;
  white-space: nowrap;
}
.marquee-group > span { white-space: nowrap; display: inline-block; }
.marquee-track em {
  font-style: normal; color: var(--olive-light); font-weight: 400;
}
.marquee-track .dot {
  color: var(--olive-light); font-weight: 300;
  width: auto !important; height: auto !important;
  background: transparent !important; margin: 0 !important;
  display: inline-block !important;
}
@keyframes marquee-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Photo-led condition card (replaces text-heavy tiles on Conditions) */
.cond-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.cond-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block; text-decoration: none; color: var(--bg);
  isolation: isolate;
}
.cond-card .bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .8s var(--ease);
}
.cond-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(21,54,31,.05) 40%, rgba(21,54,31,.85) 100%);
  transition: background .4s var(--ease);
}
.cond-card:hover .bg { transform: scale(1.07); }
.cond-card:hover::after { background: linear-gradient(180deg, rgba(21,54,31,.35) 30%, rgba(69,97,15,.88) 100%); }

.cond-card .n {
  position: absolute; top: 18px; left: 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 600;
}
.cond-card .body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 22px 22px;
}
.cond-card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  line-height: 1.1; letter-spacing: -0.015em; color: var(--bg);
  margin: 0 0 4px;
  font-variation-settings: "opsz" 144;
}
.cond-card .meta {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-light); opacity: .85;
}

.cond-grid-text {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  margin-top: 60px;
}
.cond-grid-text > div {
  padding: 28px 28px;
  border-right: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
}
.cond-grid-text > div:nth-child(3n) { border-right: 0; }
.cond-grid-text .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.cond-grid-text h4 {
  font-family: var(--serif); font-weight: 400; font-size: 19px;
  line-height: 1.2; color: var(--ink); margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cond-grid-text p {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.5;
  color: var(--slate); margin: 0;
}

@media (max-width: 1000px) {
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
  .cond-grid-text { grid-template-columns: repeat(2, 1fr); }
  .cond-grid-text > div:nth-child(3n) { border-right: 1px solid var(--rule-ink); }
  .cond-grid-text > div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 560px) {
  .cond-grid { grid-template-columns: 1fr; }
  .cond-grid-text { grid-template-columns: 1fr; }
  .cond-grid-text > div { border-right: 0 !important; }
}

/* Scroll-triggered reveal */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.rv.-is-in {
  opacity: 1; transform: translateY(0);
}
.rv-slow { transition-duration: 1.4s; }
.rv-d1 { transition-delay: .1s; }
.rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; }
.rv-d4 { transition-delay: .4s; }

/* Image procedure tile — small images in procedure list */
.proc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.proc-row {
  background: var(--paper);
  padding: 28px 28px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px; align-items: center;
  transition: background .25s var(--ease);
}
.proc-row:hover { background: var(--bg); }
.proc-row .thumb {
  aspect-ratio: 1 / 1;
  background-size: cover; background-position: center;
  border: 1px solid var(--rule-ink);
}
.proc-row .n {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.proc-row h4 {
  font-family: var(--serif); font-weight: 400; font-size: 19px;
  line-height: 1.2; color: var(--ink); margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.proc-row h4 em { font-style: normal; color: var(--accent); }
.proc-row p {
  font-family: var(--sans); font-size: 13px; line-height: 1.5;
  color: var(--slate); margin: 0;
}
@media (max-width: 820px) {
  .proc-list { grid-template-columns: 1fr; }
  .proc-row { grid-template-columns: 80px 1fr; padding: 20px; gap: 18px; }
}

/* ============================================================
   SIGNATURE VISUALS — differentiator storytelling
   ============================================================ */

/* ---- Escalation-line SVG viz (Home) ----
   Shows a path from bedside → clinic → OR. The industry ceiling stops
   at the first stop; the CWS line keeps drawing through all three. */
/* ---- Escalation viz (scroll-tied, framer-style) ----
   --p (0..1) is set by JS based on scroll progress through the section.
   Per-element progress is derived via clamp() so each piece animates in
   its own scroll window. Linear scroll → eased visual via easings on
   transform/filter and a smooth windowed reveal. */
.esc-viz {
  --p: 0;
  --p-industry: clamp(0, calc((var(--p) - 0.06) * 4), 1);
  --p-stop:     clamp(0, calc((var(--p) - 0.30) * 6.67), 1);
  --p-ours:     clamp(0, calc((var(--p) - 0.20) * 1.43), 1);
  --p-node-1:   clamp(0, calc((var(--p) - 0.20) * 8.33), 1);
  --p-node-2:   clamp(0, calc((var(--p) - 0.55) * 8.33), 1);
  --p-node-3:   clamp(0, calc((var(--p) - 0.85) * 8.33), 1);
  --p-text-1:   clamp(0, calc((var(--p) - 0.22) * 5), 1);
  --p-text-2:   clamp(0, calc((var(--p) - 0.57) * 5), 1);
  --p-text-3:   clamp(0, calc((var(--p) - 0.82) * 5), 1);
  --p-foot:     clamp(0, calc((var(--p) - 0.88) * 8.33), 1);

  padding: 100px 0 90px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.esc-viz .shell { max-width: 1160px; }
.esc-viz .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--olive); margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.esc-viz .eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--olive); }
.esc-viz h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(32px, 4vw, 54px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 48px;
  max-width: 20ch;
  font-variation-settings: "opsz" 144;
}
.esc-viz h2 em {
  font-style: normal; color: var(--accent); font-weight: 400;
  opacity: calc(0.45 + 0.55 * var(--p-ours));
  transition: opacity 60ms linear;
}

.esc-stage {
  position: relative;
  display: block;
}

/* --- Top track: contains SVG curve + nodes only. Fixed height so the
       line geometry can never bleed into text content. --- */
.esc-track {
  position: relative;
  height: clamp(158px, 16vw, 210px);
  margin-bottom: clamp(24px, 3vw, 38px);
}
.esc-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none;
  overflow: visible;
}
.esc-track .ceiling-label {
  position: absolute; top: 4px; right: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate); font-weight: 500;
  background: var(--bg); padding: 4px 10px;
  opacity: clamp(0, calc(var(--p) * 6), 1);
  transform: translateY(calc((1 - clamp(0, calc(var(--p) * 6), 1)) * -4px));
  z-index: 2;
}
.esc-track .ours-label {
  position: absolute; bottom: 4px; right: 0;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  background: var(--bg); padding: 4px 10px;
  opacity: clamp(0, calc((var(--p) - 0.10) * 6), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - 0.10) * 6), 1)) * 4px));
  z-index: 2;
}
.esc-track .ceiling-label,
.esc-track .ours-label,
.esc-track .esc-stop-label,
.esc-track .esc-rise-label {
  display: none;
}

/* --- Nodes: absolute positioned at SVG path endpoints. Coords match
       the path d="" so they sit exactly where the curve lands. --- */
.esc-node, .esc-pulse {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.esc-node {
  width: 16px; height: 16px;
  background: var(--paper);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px var(--bg), 0 4px 14px rgba(154,107,24,0.18);
  transform: translate(-50%, -50%) scale(var(--node-s, 0));
  opacity: clamp(0, calc(var(--node-p, 0) * 6), 1);
  transition: transform 80ms linear, opacity 80ms linear;
  z-index: 3;
}
.esc-node::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--accent); border-radius: 50%;
  transform: scale(var(--inner-s, 0));
  transition: transform 80ms linear;
}
/* Pulse ring — soft glow that radiates as a node ignites.
   Opacity peaks mid-transition (triangle), scale grows continuously,
   so before the node fires the pulse is fully invisible. */
.esc-pulse {
  width: 16px; height: 16px;
  background: var(--accent);
  transform: translate(-50%, -50%) scale(calc(0.6 + 2.4 * var(--pulse-p, 0)));
  opacity: calc(var(--pulse-p, 0) * (1 - var(--pulse-p, 0)) * 1.4);
  z-index: 2;
}

/* Position percentages match SVG viewBox 900x140 path coords:
   bedside (150, 104) clinic (450, 46) OR (750, 22) */
.esc-node--01, .esc-pulse--01 { left: 16.667%; top: 74.286%; }
.esc-node--02, .esc-pulse--02 { left: 50%;     top: 32.857%; }
.esc-node--03, .esc-pulse--03 { left: 83.333%; top: 15.714%; }

/* Drive node scale + pulse from each step's progress.
   Starts at scale 0 (invisible), peaks ~1.15 mid-pop (overshoot), settles
   to 1.0. Opacity gates via --node-p so future nodes can't ghost in. */
.esc-node--01 { --node-p: var(--p-node-1); --node-s: calc(var(--p-node-1) + 0.6 * var(--p-node-1) * (1 - var(--p-node-1))); --inner-s: var(--p-node-1); }
.esc-node--02 { --node-p: var(--p-node-2); --node-s: calc(var(--p-node-2) + 0.6 * var(--p-node-2) * (1 - var(--p-node-2))); --inner-s: var(--p-node-2); }
.esc-node--03 { --node-p: var(--p-node-3); --node-s: calc(var(--p-node-3) + 0.6 * var(--p-node-3) * (1 - var(--p-node-3))); --inner-s: var(--p-node-3); }
.esc-pulse--01 { --pulse-p: var(--p-node-1); }
.esc-pulse--02 { --pulse-p: var(--p-node-2); }
.esc-pulse--03 { --pulse-p: var(--p-node-3); }

/* --- Path drawing: stroke-dasharray = path total length (set by JS via
       --len on each path inline), stroke-dashoffset driven by progress. --- */
.esc-svg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.esc-svg .path-industry {
  stroke: var(--slate-2);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  stroke-dashoffset: calc(var(--len, 200) * (1 - var(--p-industry)));
  opacity: calc(0.4 + 0.6 * var(--p-industry));
}
.esc-svg .path-stop {
  stroke: var(--slate);
  stroke-width: 1.4;
  stroke-dasharray: 3 4;
  opacity: var(--p-stop);
  transform-origin: 28.89% 72%;
  transform: scaleY(calc(0.6 + 0.4 * var(--p-stop)));
}
.esc-svg .path-ours {
  stroke: var(--accent);
  stroke-width: 3.2;
  stroke-dasharray: var(--len, 700);
  stroke-dashoffset: calc(var(--len, 700) * (1 - var(--p-ours)));
  filter: drop-shadow(0 0 6px rgba(233,196,106,0.55)) drop-shadow(0 4px 10px rgba(154,107,24,0.28));
}
/* Leading-edge head — JS sets cx,cy via getPointAtLength as p-ours grows.
   Visible only while the line is mid-draw. */
.esc-svg .esc-head {
  fill: var(--accent-light);
  stroke: var(--paper);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(233,196,106,0.9)) drop-shadow(0 0 14px rgba(154,107,24,0.5));
  opacity: calc(var(--p-ours) * (1 - var(--p-ours)) * 4.4);
  transition: opacity 60ms linear;
}

/* Floating annotation labels above the track — make the win/loss feel
   unmissable. "Where they stop" sits above the dashed line near the
   stop marker; "Where we go" sits above the high end of the gold rise. */
.esc-track .esc-stop-label,
.esc-track .esc-rise-label {
  position: absolute;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}
.esc-track .esc-stop-label {
  top: 64%;
  left: 28.89%;
  transform: translate(-50%, calc(-100% - 4px + (1 - var(--p-stop)) * 6px));
  color: var(--slate);
  background: var(--bg);
  padding: 4px 8px;
  border: 1px dashed var(--rule);
  opacity: var(--p-stop);
}
.esc-track .esc-stop-label::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 1px; height: 8px;
  background: var(--slate-2);
  transform: translateX(-50%);
}
.esc-track .esc-rise-label {
  --p-rise: clamp(0, calc((var(--p) - 0.70) * 5), 1);
  top: 8%;
  left: 83.333%;
  transform: translate(-50%, calc((1 - var(--p-rise)) * -6px));
  color: var(--paper);
  background: var(--accent-deep);
  padding: 5px 10px;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(118,83,20,0.32);
  opacity: var(--p-rise);
  font-weight: 600;
}
.esc-track .esc-rise-label::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  width: 1px; height: 14px;
  background: var(--accent-deep);
  transform: translateX(-50%) scaleY(var(--p-rise, 0));
  transform-origin: top center;
}

/* --- Content row: three columns aligned under their nodes. --- */
.esc-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.esc-step {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  min-height: 230px;
  padding: 24px 24px 22px;
  background: rgba(255,255,255,.74);
  border: 1px solid var(--rule-ink);
  border-top: 3px solid var(--slate-2);
  box-shadow: 0 18px 40px -32px rgba(21,54,31,.36);
}
.esc-step--02,
.esc-step--03 {
  border-top-color: var(--accent);
}
.esc-step .s-k,
.esc-step .s-h,
.esc-step .s-p,
.esc-step .verdict {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
.esc-step--01 { --p-text: var(--p-text-1); }
.esc-step--02 { --p-text: var(--p-text-2); }
.esc-step--03 { --p-text: var(--p-text-3); }

.esc-step .s-k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  margin-bottom: 10px;
}
.esc-step .s-h {
  font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 1.9vw, 27px);
  line-height: 1.15; letter-spacing: -0.015em; color: var(--ink);
  margin: 0 0 10px;
}
.esc-step .s-p {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.55;
  color: var(--slate); margin: 0 0 18px; max-width: none;
}

/* Verdict tags — the punchline per column. Their/ours/further variants
   make the win/loss reading instant. Step 1 reads as a dead-end (gray,
   dashed); steps 2 and 3 read as territory only we hold (gold, filled). */
.esc-step .verdict {
  margin-top: auto; display: inline-flex;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
  white-space: normal;
  max-width: 100%;
  line-height: 1.25;
}
.esc-step .verdict--their {
  color: var(--slate-2);
  border: 1px dashed var(--rule);
  background: var(--bg-2);
  position: relative;
}
.esc-step .verdict--their::before {
  display: none;
}
.esc-step .verdict--ours {
  color: var(--paper);
  background: var(--accent);
  border: 1px solid var(--accent-deep);
  box-shadow: 0 4px 14px rgba(154,107,24,0.28);
}
.esc-step .verdict--further {
  color: var(--paper);
  background: var(--accent-deep);
  border: 1px solid var(--accent-deep);
  box-shadow: 0 6px 20px rgba(118,83,20,0.36);
  font-weight: 600;
}

.esc-viz .foot-note {
  display: flex; gap: 40px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--rule-ink);
  opacity: 1;
  transform: none;
  transition: none;
}
.esc-viz .foot-note .fn {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
}
.esc-viz .foot-note .swatch { width: 32px; height: 3px; border-radius: 2px; }
.esc-viz .foot-note .swatch.industry { background: var(--slate-2); }
.esc-viz .foot-note .swatch.ours { background: var(--accent); height: 4px; }

@media (prefers-reduced-motion: reduce) {
  .esc-viz { --p: 1 !important; }
  .esc-viz * { transition: none !important; }
}

@media (max-width: 860px) {
  /* Small screens: keep the story as clear cards instead of a compressed
     diagram. */
  .esc-track { display: none; }
  .esc-content {
    position: relative;
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 0;
  }
  .esc-content::before {
    display: none;
  }
  .esc-step {
    align-items: flex-start; text-align: left;
    min-height: 0;
    padding: 22px 20px;
    position: relative;
  }
  .esc-step::before {
    display: none;
  }
}

/* ---- Competitor comparison matrix (Home, For Partners) ---- */
.cmp-section {
  padding: 100px 0;
  background: var(--ink);
  color: var(--bg);
}
.cmp-section .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 500;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.cmp-section .eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--accent-light); }
.cmp-section h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--bg); margin: 0 0 20px;
  max-width: 24ch;
  font-variation-settings: "opsz" 144;
}
.cmp-section h2 em { font-style: normal; color: var(--accent-light); font-weight: 400; }
.cmp-section .lede {
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: #C9D4C0; max-width: 60ch; margin: 0 0 50px;
}

.cmp-table {
  width: 100%;
  border-top: 1px solid rgba(184,216,106,.2);
  border-collapse: collapse;
  font-family: var(--sans);
}
.cmp-table th, .cmp-table td {
  text-align: center;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(184,216,106,.12);
  font-size: 14px;
  vertical-align: middle;
}
.cmp-table th:first-child,
.cmp-table tbody td:first-child { text-align: left; }
.cmp-table thead th {
  font-family: var(--mono); font-weight: 500;
  font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--slate-2); padding-bottom: 20px; padding-top: 20px;
  border-bottom: 1px solid rgba(184,216,106,.28);
}
.cmp-table thead th.us {
  color: var(--bg); background: rgba(184,216,106,.08);
  border-left: 2px solid var(--accent-light);
  border-right: 2px solid var(--accent-light);
  border-top: 2px solid var(--accent-light);
  position: relative;
  padding-top: 28px;
}
.cmp-table thead th.us::before {
  content: "Us";
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  background: var(--accent-light); color: var(--ink);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em;
  padding: 2px 10px; font-weight: 600;
  white-space: nowrap;
}
.cmp-table tbody td.us {
  background: rgba(184,216,106,.08);
  border-left: 2px solid var(--accent-light);
  border-right: 2px solid var(--accent-light);
  text-align: center;
}
.cmp-table tbody tr:last-child td.us {
  border-bottom: 2px solid var(--accent-light);
}
.cmp-table tbody td.cap {
  color: var(--bg); font-weight: 500; font-size: 15px;
  width: 34%;
}
.cmp-table tbody td.cap span.meta {
  display: block; font-size: 12.5px; color: #A8B09F; font-weight: 400; margin-top: 3px;
}
.cmp-table td.mark { text-align: center; color: var(--slate-2); font-size: 20px; }
.cmp-table td.mark.y { color: var(--accent-light); font-weight: 600; }
.cmp-table td.mark.us.y { color: var(--accent-light); font-size: 22px; }

.cmp-legend {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 30px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate-2);
}
.cmp-legend .ck { color: var(--accent-light); }

.cmp-pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 18px;
}
.cmp-pills li {
  list-style: none;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--slate-2);
  padding: 6px 12px; border: 1px solid rgba(184,216,106,.18);
}

.cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
}

/* Mobile: keep the table, shrink padding, make capability column sticky */
@media (max-width: 900px) {
  .cmp-table { min-width: 720px; }
  .cmp-table thead th,
  .cmp-table tbody td { padding: 14px 12px; font-size: 13px; }
  .cmp-table thead th { font-size: 9.5px; letter-spacing: 0.14em; }
  .cmp-table tbody td.cap {
    position: sticky; left: 0; z-index: 2;
    background: var(--ink);
    font-size: 13.5px;
    box-shadow: 4px 0 8px -6px rgba(0,0,0,.5);
    min-width: 190px; max-width: 230px;
    white-space: normal;
  }
  .cmp-table tbody td.cap span.meta { font-size: 11px; margin-top: 2px; }
  .cmp-table td.mark { font-size: 18px; }
  .cmp-table td.mark.us { font-size: 20px; }
  .cmp-section h2 { font-size: clamp(26px, 6.4vw, 40px); max-width: 100%; }
  .cmp-section .lede { font-size: 15px; }
}
@media (max-width: 600px) {
  .cmp-table { min-width: 640px; }
  .cmp-table tbody td.cap { min-width: 160px; max-width: 190px; font-size: 13px; }
  .cmp-table thead th,
  .cmp-table tbody td { padding: 12px 10px; }
  .cmp-legend { gap: 14px; font-size: 9.5px; margin-top: 22px; }
  .cmp-pills li { font-size: 9.5px; padding: 5px 9px; }
}

/* ---- One-provider declaration band (Home) ----
   Slim, dramatic punchline section that lands after the comparison table. */
.op-band {
  position: relative;
  padding: 88px 0 84px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(154,107,24,0.08) 0%, transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule-ink);
  text-align: center;
  overflow: hidden;
}
.op-band .shell { max-width: 880px; }
.op-band .op-eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: var(--bg);
}
.op-band .op-h {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
  font-variation-settings: "opsz" 144;
}
.op-band .op-h em {
  font-style: normal;
  color: var(--accent-deep);
  font-weight: 400;
}
.op-band .op-p {
  font-family: var(--sans); font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 64ch;
}
.op-band .op-p strong {
  color: var(--ink); font-weight: 600;
}

/* ---- Limb-preservation outcomes band (Home) ----
   Three-column outcome callout. The why behind the continuum. */
.lp-band {
  padding: 100px 0 90px;
  background: var(--bg);
}
.lp-band .shell { max-width: 1180px; }
.lp-band .lp-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.lp-band .lp-head .eyebrow {
  display: inline-flex;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
  align-items: center; gap: 12px;
}
.lp-band .lp-head .eyebrow::before {
  content: ""; width: 30px; height: 1px; background: var(--accent);
}
.lp-band .lp-head h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px;
  font-variation-settings: "opsz" 144;
}
.lp-band .lp-head h2 em {
  font-style: normal; color: var(--accent); font-weight: 400;
}
.lp-band .lp-head p {
  font-family: var(--sans); font-size: 15px; line-height: 1.65;
  color: var(--ink-soft); margin: 0;
}
.lp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-card {
  background: var(--paper);
  border: 1px solid var(--rule-ink);
  border-top: 3px solid var(--accent);
  padding: 32px 28px 30px;
  position: relative;
}
.lp-card .lp-k {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  margin-bottom: 16px;
}
.lp-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 14px;
  font-variation-settings: "opsz" 96;
}
.lp-card h3 em {
  font-style: normal;
  color: var(--accent-deep);
  font-weight: 500;
}
.lp-card p {
  font-family: var(--sans); font-size: 14px; line-height: 1.6;
  color: var(--ink-soft); margin: 0;
}

@media (max-width: 920px) {
  .lp-grid { grid-template-columns: 1fr; gap: 14px; }
  .lp-band { padding: 72px 0 64px; }
  .lp-band .lp-head { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .op-band { padding: 64px 0 60px; }
  .op-band .op-eyebrow { letter-spacing: 0.24em; }
  .lp-card { padding: 26px 22px 24px; }
  .lp-card h3 { font-size: 22px; }
}

/* ---- Same-floor floorplan SVG (Surgical Suite page) ---- */
.floorplan {
  background: var(--bg-2); padding: 90px 0 100px;
}
.floorplan .shell { max-width: 1100px; }
.floorplan h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 20px;
  max-width: 24ch;
  font-variation-settings: "opsz" 144;
}
.floorplan h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.floorplan .lede { font-size: 16px; color: var(--slate); max-width: 60ch; margin: 0 0 44px; }
.fp-wrap { position: relative; background: var(--paper); border: 1px solid var(--rule); padding: 48px; }
.fp-wrap svg { width: 100%; height: auto; display: block; }
.fp-label {
  position: absolute;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink); font-weight: 600;
  background: var(--paper); padding: 6px 12px;
  border: 1px solid var(--rule-ink);
}
.fp-label small { display: block; font-size: 10px; color: var(--slate); font-weight: 400; margin-top: 2px; letter-spacing: 0.16em; }
.fp-measure {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); font-weight: 600;
  text-align: center; margin-top: 24px;
}
.fp-caption {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.55;
  color: var(--slate); text-align: center; margin: 6px auto 0; max-width: 500px;
}

/* ---- Closed-loop vs handoff-graveyard (Home Care page) ---- */
.loop-viz { padding: 100px 0; background: var(--bg); }
.loop-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border: 1px solid var(--rule); background: var(--paper);
}
.loop-col { padding: 50px 44px; position: relative; }
.loop-col.theirs { background: var(--bg-2); border-right: 1px solid var(--rule); }
.loop-col.ours { background: var(--paper); }
.loop-col .col-k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.loop-col.theirs .col-k { color: var(--slate); }
.loop-col.theirs .col-k::before { content: ""; width: 10px; height: 10px; background: var(--slate-2); border-radius: 50%; }
.loop-col.ours .col-k { color: var(--accent); }
.loop-col.ours .col-k::before { content: ""; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; }
.loop-col h3 {
  font-family: var(--serif); font-weight: 400; font-size: 26px;
  line-height: 1.15; letter-spacing: -0.018em; color: var(--ink);
  margin: 0 0 28px; max-width: 20ch;
}
.loop-col .steps { list-style: none; padding: 0; margin: 0; }
.loop-col .steps li {
  font-family: var(--sans); font-size: 14px; line-height: 1.5;
  color: var(--ink-soft); padding: 14px 0 14px 30px;
  border-bottom: 1px dashed var(--rule-ink); position: relative;
}
.loop-col .steps li::before {
  position: absolute; left: 0; top: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--slate-2); content: counter(step, decimal-leading-zero);
  counter-increment: step;
}
.loop-col.ours .steps li::before { color: var(--accent); }
.loop-col .steps { counter-reset: step; }
.loop-col .steps li:last-child { border-bottom: 0; }
.loop-col .outcome {
  margin-top: 20px; padding: 14px 16px;
  font-family: var(--sans); font-size: 13.5px; line-height: 1.5;
}
.loop-col.theirs .outcome {
  color: #8b4e4e; background: #f4e6e6; border-left: 3px solid #b45757;
}
.loop-col.ours .outcome {
  color: var(--olive-deep); background: var(--olive-soft); border-left: 3px solid var(--olive);
}
.loop-col .outcome strong { display: block; font-weight: 700; margin-bottom: 4px; }
@media (max-width: 820px) {
  .loop-grid { grid-template-columns: 1fr; }
  .loop-col.theirs { border-right: 0; border-bottom: 1px solid var(--rule); }
}

/* ---- Complexity dial (Conditions page) ---- */
.dial {
  padding: 80px 0 100px; background: var(--bg);
}
.dial h2 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px;
  max-width: 22ch;
  font-variation-settings: "opsz" 144;
}
.dial h2 em { font-style: normal; color: var(--accent); font-weight: 400; }
.dial .lede { max-width: 58ch; font-size: 16px; color: var(--slate); margin: 0 0 56px; }
.dial-track {
  position: relative;
  padding: 110px 0 110px;
}
.dial-bar {
  height: 8px; border-radius: 4px;
  background: linear-gradient(90deg, var(--slate-2) 0%, var(--slate-2) 42%, var(--accent) 42%, var(--accent) 100%);
  position: relative;
}
.dial-bar::before {
  content: ""; position: absolute; left: 42%; top: -10px; bottom: -10px;
  width: 2px; background: var(--ink);
}
.dial-cap-l, .dial-cap-r {
  position: absolute; top: -38px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; font-weight: 600;
  white-space: nowrap;
}
.dial-cap-l { left: 0; color: var(--slate); }
.dial-cap-r { right: 0; color: var(--accent); }
.dial-cap-mid {
  position: absolute; left: 42%; top: -78px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--ink); color: var(--bg); padding: 6px 10px;
  white-space: nowrap;
}
.dial-cap-mid::after {
  content: ""; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--ink);
}
.dial-tick {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--ink-soft); transform: translateX(-50%);
  text-align: center;
  width: 104px;
  line-height: 1.35;
}
.dial-tick::before {
  content: ""; display: block; width: 1px; height: 18px;
  background: var(--ink-soft); margin: 0 auto 6px;
  flex-shrink: 0;
}
.dial-tick.ours { color: var(--accent); font-weight: 600; }
.dial-tick.ours::before { background: var(--accent); width: 2px; }

/* Below-bar (default): line above text, anchor to bar bottom */
.dial-tick:not(.up) { top: calc(50% + 4px); }
/* Above-bar: line below text, anchor to bar top */
.dial-tick.up {
  flex-direction: column-reverse;
  bottom: calc(50% + 4px); top: auto;
}
.dial-tick.up::before { margin: 6px auto 0; }

.dial-legend {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dial-legend .sw { display: inline-block; width: 24px; height: 8px; margin-right: 8px; vertical-align: middle; border-radius: 3px; }
.dial-legend .sw.them { background: var(--slate-2); }
.dial-legend .sw.us { background: var(--accent); }

/* Tablet — narrower, slightly tighter labels */
@media (max-width: 980px) {
  .dial-track { padding: 96px 0 96px; }
  .dial-tick { width: 88px; font-size: 10px; }
  .dial-tick::before { height: 14px; }
  .dial-cap-l, .dial-cap-r { font-size: 9.5px; top: -34px; }
  .dial-cap-mid { font-size: 9px; top: -68px; }
}

/* Mobile — switch to a clean vertical stack, ordered low → high */
@media (max-width: 700px) {
  .dial-track {
    display: flex; flex-direction: column; align-items: stretch;
    padding: 0;
    counter-reset: dial;
  }
  .dial-bar { display: none; }
  .dial-bar::before { display: none; }

  .dial-cap-l,
  .dial-cap-r,
  .dial-cap-mid,
  .dial-tick {
    position: static; transform: none;
    left: auto !important; right: auto; top: auto; bottom: auto;
    width: 100%; max-width: none;
    text-align: left;
    white-space: normal;
  }

  .dial-cap-l {
    order: 1;
    color: var(--slate);
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(184,216,106,.18);
  }
  .dial-cap-r {
    order: 100;
    color: var(--accent);
    padding: 12px 0 0;
    border-top: 1px solid rgba(14,103,96,.45);
    text-align: right;
  }
  .dial-cap-mid {
    order: 50;
    background: transparent; color: var(--ink);
    padding: 14px 0 12px;
    margin: 6px 0;
    border-top: 1px dashed rgba(10,31,60,.18);
    border-bottom: 1px dashed rgba(10,31,60,.18);
    font-size: 10px;
  }
  .dial-cap-mid::after { display: none; }

  .dial-tick {
    order: 10;
    flex-direction: row !important; align-items: baseline;
    gap: 12px;
    padding: 12px 0 12px 16px;
    border-left: 2px solid var(--slate-2);
    margin-left: 4px;
    font-size: 13px; line-height: 1.4;
    color: var(--ink);
  }
  .dial-tick.ours { order: 60; border-left-color: var(--accent); color: var(--ink); }
  .dial-tick.ours::before,
  .dial-tick:not(.ours)::before {
    width: 8px; height: 8px;
    background: var(--slate-2); border-radius: 50%;
    margin: 0; flex-shrink: 0;
  }
  .dial-tick.ours::before { background: var(--accent); }
  .dial-legend {
    margin-top: 28px; gap: 14px; font-size: 9.5px;
  }
}

/* ---- Referral flow (Refer page) — animated ---- */
.ref-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 60px;
  list-style: none;
  padding: 0;
}
.ref-flow > li { list-style: none; }
.ref-flow::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%;
  height: 1px; background: var(--accent); opacity: .3;
  z-index: 0;
}
.ref-step {
  position: relative; z-index: 1;
  padding: 20px 0;
}
.ref-step .bullet {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  color: var(--accent); margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--bg);
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.ref-step:hover .bullet {
  background: var(--accent); color: var(--bg); transform: scale(1.04);
}
.ref-step h4 {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  line-height: 1.15; color: var(--ink); margin: 0 0 10px;
}
.ref-step p {
  font-family: var(--sans); font-size: 14px; line-height: 1.55;
  color: var(--slate); margin: 0;
}
@media (max-width: 820px) {
  .ref-flow { grid-template-columns: 1fr 1fr; }
  .ref-flow::before { display: none; }
}
@media (max-width: 480px) {
  .ref-flow { grid-template-columns: 1fr; }
}

/* ============================================================
   Cleanup + mobile polish (v3.2)
   ============================================================ */

/* strip default ol markers anywhere we use custom counters */
.ref-flow,
.ref-flow > li,
.loop-col .steps,
.loop-col .steps li,
ol.ref-flow,
ol.steps {
  list-style: none;
}
.ref-flow, .loop-col .steps, ol.ref-flow, ol.steps { padding-left: 0; }

/* Very small phones — tighten further */
@media (max-width: 480px) {
  .hero-bleed { padding: 104px 0 44px; }
  .hero-bleed h1 { font-size: clamp(30px, 10vw, 44px); }
  .hero-bleed .hero-stats > div { padding-right: 18px; }
  .hero-bleed .hero-stats .n { font-size: 22px; }
  .hero-bleed .hero-stats .l { font-size: 9px; }
}

/* Marquee: slow down + shrink type on mobile */
@media (max-width: 780px) {
  .marquee { padding: 20px 0; }
  .marquee-track {
    font-size: clamp(18px, 5.4vw, 26px);
    line-height: 1.3;
    animation-duration: 60s;
  }
  .marquee-group { gap: 40px; padding-right: 40px; }
}
@media (max-width: 480px) {
  .marquee { padding: 16px 0; }
  .marquee-track { font-size: 17px; line-height: 1.3; animation-duration: 72s; }
  .marquee-group { gap: 32px; padding-right: 32px; }
}

/* Showcase spacing — more compact on mobile */
@media (max-width: 900px) {
  .showcase { padding: 70px 0; }
  .showcase-head { margin-bottom: 36px; gap: 20px; }
  .showcase-head h2 { font-size: clamp(28px, 6.4vw, 44px); }
  .showcase-head p { font-size: 15px; }
}
@media (max-width: 600px) {
  .showcase { padding: 54px 0; }
  .show-card { aspect-ratio: 5 / 4; }
  .show-card h3 { font-size: 20px; }
  .show-card .caption { padding: 22px 20px 20px; }
  .show-card .num { top: 16px; left: 16px; padding: 5px 8px; font-size: 10px; }
  .show-card .arrow { width: 28px; height: 28px; top: 16px; right: 16px; opacity: 1; transform: none; }
}

/* Content sections — looser padding on desktop, tighter on mobile */
@media (max-width: 900px) {
  .content-section { padding: 64px 0; }
  .content-lede { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .content-lede h2 { font-size: clamp(26px, 5.4vw, 38px); }
  .content-lede p { font-size: 15px; }
}
@media (max-width: 600px) {
  .content-section { padding: 52px 0; }
}

/* Proc-list — thumbnail on mobile smaller + fix overlap */
@media (max-width: 600px) {
  .proc-row { grid-template-columns: 72px 1fr; padding: 18px; gap: 14px; }
  .proc-row .thumb { border-radius: 2px; }
  .proc-row h4 { font-size: 17px; margin-bottom: 2px; }
  .proc-row p { font-size: 12.5px; }
  .proc-row .n { font-size: 9.5px; margin-bottom: 3px; }
}

/* Cond-card: fix arrow/num/body overlap on small cards */
.cond-card .n { top: 16px; left: 16px; padding: 4px 8px; background: rgba(21,54,31,.4); backdrop-filter: blur(4px); }
.cond-card .body { padding: 22px 18px 18px; }
.cond-card h3 { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.12; }
.cond-card .meta { font-size: 9.5px; letter-spacing: 0.16em; }

@media (max-width: 1000px) {
  .cond-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cond-grid { grid-template-columns: 1fr; gap: 2px; }
  .cond-card { aspect-ratio: 5 / 4; }
  .cond-grid-text > div { padding: 22px 20px; }
  .cond-grid-text h4 { font-size: 17px; }
}

/* Collage: reflow gracefully on mobile */
@media (max-width: 820px) {
  .collage { padding: 40px 0; grid-template-rows: repeat(10, 40px); gap: 8px; }
  .collage .label { font-size: 9px; padding: 5px 8px; left: 14px; bottom: 14px; letter-spacing: 0.16em; }
}
@media (max-width: 600px) {
  .collage { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; gap: 6px; }
  .collage .c { aspect-ratio: 4/5; }
  .collage .c-big { grid-column: 1 / 3; aspect-ratio: 3/2; grid-row: auto; }
  .collage .c-top, .collage .c-mid, .collage .c-bot { grid-column: auto; grid-row: auto; aspect-ratio: 1/1; }
}

/* Escalation viz: tighten paddings + type on mobile (stack rules live with the
   main esc-viz block above). */
@media (max-width: 720px) {
  .esc-viz { padding: 60px 0 50px; }
  .esc-viz h2 { font-size: clamp(24px, 6vw, 34px); margin-bottom: 28px; }
  .esc-step .s-h { font-size: 18px; }
  .esc-step .s-p { font-size: 13px; }
  .esc-viz .foot-note { gap: 16px; margin-top: 24px; padding-top: 18px; }
  .esc-viz .foot-note .fn { font-size: 12px; }
}

/* Competitor matrix: section padding + tagline only — table rules live earlier */
@media (max-width: 980px) {
  .cmp-section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .cmp-section { padding: 52px 0; }
}

/* Loop-viz (closed-loop vs handoff): prevent steps cramping */
@media (max-width: 820px) {
  .loop-viz { padding: 64px 0; }
  .loop-col { padding: 40px 28px; }
  .loop-col h3 { font-size: 22px; margin-bottom: 22px; }
  .loop-col .steps li { padding: 12px 0 12px 28px; font-size: 13.5px; }
  .loop-col .steps li::before { top: 12px; font-size: 10.5px; }
  .loop-col .outcome { font-size: 12.5px; }
}

/* Split-photo: tighter padding, larger text on mobile */
@media (max-width: 900px) {
  .split-photo, .split-photo.-reverse { grid-template-columns: 1fr; min-height: auto; }
  .split-photo .img { aspect-ratio: 16/10; }
}
@media (max-width: 600px) {
  .split-photo .txt { padding: 48px 24px; }
  .split-photo h2 { font-size: clamp(24px, 6.4vw, 34px); max-width: 100%; }
  .split-photo p { font-size: 15px; }
}

/* Dial section spacing — section padding tighten for mobile */
@media (max-width: 820px) {
  .dial { padding: 50px 0 64px; }
  .dial h2 { font-size: clamp(24px, 6vw, 36px); }
  .dial .lede { font-size: 15px; margin-bottom: 36px; }
}

/* Floorplan: keep SVG legible */
@media (max-width: 820px) {
  .floorplan { padding: 60px 0 64px; }
  .fp-wrap { padding: 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fp-wrap svg { min-width: 560px; }
  .floorplan h2 { font-size: clamp(22px, 5.6vw, 32px); }
  .floorplan .lede { font-size: 15px; margin-bottom: 28px; }
  .fp-measure { font-size: 9.5px; }
  .fp-caption { font-size: 12.5px; }
}

/* Kill the old tile ul-bullet line pseudos if they slip into .cond-grid-text */
.cond-grid-text p { list-style: none; }

/* Ensure no horizontal scroll anywhere on mobile (safety net) */
@media (max-width: 820px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  section, aside, footer, header { max-width: 100vw; }
}

/* Sticky refer button: don't block content on tall mobile forms */
@media (max-width: 600px) {
  .sticky-refer { bottom: 16px; right: 16px; font-size: 12px; padding: 12px 16px; }
}

/* Page-hero (used by about's older partner pages not yet replaced) — generic fallback */
@media (max-width: 780px) {
  .page-hero { padding: 90px 0 60px; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 56px); }
  .page-hero .lede { font-size: 15.5px; }
}

/* Pull quote: tighter on mobile */
@media (max-width: 600px) {
  .pull { margin: 44px auto; }
  .pull blockquote { font-size: 22px; line-height: 1.25; }
  .pull cite { font-size: 10px; }
}

/* CTA band: ensure buttons stack cleanly on mobile */
@media (max-width: 540px) {
  .cta-band-buttons { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-band-buttons .cta { width: 100%; justify-content: center; }
}

/* Ribbon / top bar — allow wrap without overflow */
@media (max-width: 640px) {
  .ribbon .shell { flex-wrap: wrap; gap: 6px; padding-top: 6px; padding-bottom: 6px; }
  .ribbon-msg { font-size: 10.5px; }
  .ribbon-phones { font-size: 10.5px; gap: 8px; }
  .ribbon-phones a span { display: none; }
}

/* Header on mobile: keep CTA button visible in nav */
@media (max-width: 820px) {
  .header-cta { display: none; }
}

/* ============================================================
   Mobile sweep (v3.3) — older components
   ============================================================ */

/* Outcome bar — 3 promises */
@media (max-width: 900px) {
  .outcome-bar { padding: 64px 0; }
  .ob-grid { grid-template-columns: 1fr; gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
  .ob-grid article { border-right: 0 !important; border-bottom: 1px solid var(--rule-ink); padding: 32px 24px; background: var(--paper); }
  .ob-grid article:last-child { border-bottom: 0; }
  .ob-lede h2 { font-size: clamp(26px, 6vw, 36px); }
}

/* Continuum band — 3 cards */
@media (max-width: 900px) {
  .continuum-band { padding: 64px 0; }
  .continuum-band .band-head h2 { font-size: clamp(26px, 6vw, 36px); }
  .band-grid { grid-template-columns: 1fr; gap: 12px; }
  .band-grid .k { font-size: 10.5px; }
  .band-grid .v { font-size: 15px; }
}

/* Crisis grid — 4 stats */
@media (max-width: 900px) {
  .crisis-grid { grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); }
  .crisis-grid > div { border-right: 1px solid var(--rule-ink); border-bottom: 1px solid var(--rule-ink); padding: 28px 22px; }
  .crisis-grid > div:nth-child(2n) { border-right: 0; }
  .crisis-grid > div:nth-child(3),
  .crisis-grid > div:nth-child(4) { border-bottom: 0; }
  .crisis-grid .n { font-size: clamp(44px, 10vw, 58px); }
  .crisis-grid h3 { font-size: 16px; }
  .crisis-grid p { font-size: 13px; }
}
@media (max-width: 480px) {
  .crisis-grid { grid-template-columns: 1fr; }
  .crisis-grid > div { border-right: 0 !important; }
  .crisis-grid > div:nth-child(3) { border-bottom: 1px solid var(--rule-ink); }
}

/* 4-step flow — care model */
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 18px; }
  .flow::before { display: none; }
  .flow-step { padding: 24px 20px; }
  .flow-step .circle { width: 48px; height: 48px; font-size: 15px; }
  .flow-step h4 { font-size: 16px; }
  .flow-step p { font-size: 13px; }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
}

/* Who-we-serve grid — 5 cards */
@media (max-width: 900px) {
  .wws-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 560px) {
  .wws-grid { grid-template-columns: 1fr; }
  .wws-grid article { padding-bottom: 4px; }
  .wws-grid h3 { font-size: 18px; }
}

/* Services stack */
@media (max-width: 820px) {
  .svc-stack .svc { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .svc-stack .svc-body ul { columns: 1; }
}

/* FAQ list */
@media (max-width: 720px) {
  .faq-list summary { padding: 18px 0; gap: 14px; }
  .faq-list .q-n { font-size: 11px; flex-basis: 32px; }
  .faq-list .q-t { font-size: 16px; line-height: 1.3; }
  .faq-list .q-a { padding: 0 0 22px 46px; }
  .faq-list .q-a p { font-size: 14px; }
}

/* Partner logos grid */
@media (max-width: 900px) {
  .cp-logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cp-logos li { padding: 14px 10px; }
}
@media (max-width: 520px) {
  .cp-logos { grid-template-columns: repeat(2, 1fr); }
}

/* Team grid — Dr. Johnson photo + info */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-photo { max-width: 420px; }
  .team-info h3 { font-size: clamp(28px, 6.4vw, 40px); }
  .team-info p { font-size: 15px; }
  .cv { grid-template-columns: 1fr; gap: 0; }
  .cv li { padding: 14px 0; }
}

/* Locations grid */
@media (max-width: 900px) {
  .loc-grid { grid-template-columns: 1fr; gap: 24px; }
  .loc { padding: 24px; }
  .loc h3 { font-size: 22px; }
  .loc .desc { font-size: 14px; }
  .loc .rows .row { grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; }
  .loc .rows .k { font-size: 10px; }
  .loc .rows .v { font-size: 13px; }
}

/* Section head on older partners page */
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(26px, 6vw, 36px); }
  .section-head p { font-size: 15px; }
}

/* Trust strip (credential ribbon) */
@media (max-width: 900px) {
  .trust-strip ul { flex-direction: column; gap: 14px; align-items: stretch; padding: 20px 0; }
  .trust-strip li { flex-direction: row; gap: 12px; text-align: left; padding: 12px 0; border-top: 1px solid var(--rule-ink); }
  .trust-strip li:first-child { border-top: 0; }
  .trust-strip .k { flex: 0 0 130px; font-size: 10.5px; }
  .trust-strip .v { font-size: 13px; }
}

/* Current-partners header text */
@media (max-width: 720px) {
  .current-partners .cp-head { font-size: 13px; }
  .partners-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 18px; }
  .partners-card h4 { font-size: 22px; }
}

/* Continuum pull quote (on home-care page) */
@media (max-width: 720px) {
  .continuum-pull { font-size: 17px; padding: 20px 24px; margin-top: 32px; }
}

/* Referral flow on home-care page */
@media (max-width: 820px) {
  .referral-flow { padding: 64px 0; }
  .rf-flow { grid-template-columns: 1fr 1fr; gap: 20px; }
  .rf-flow li { padding: 20px; }
  .rf-n { font-size: 20px; }
  .rf-flow h4 { font-size: 16px; }
  .rf-flow p { font-size: 13px; }
}
@media (max-width: 480px) {
  .rf-flow { grid-template-columns: 1fr; }
}

/* Floorplan SVG legibility — bump font size via viewBox-friendly approach */
@media (max-width: 600px) {
  .floorplan .fp-wrap { padding: 20px; }
}

/* Why-note (the Dr. Johnson quote block on about) */
@media (max-width: 720px) {
  .why-note { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; margin-top: 40px; }
  .why-note .quote { font-size: 18px; padding: 0; }
  .why-note .quote cite { font-size: 10.5px; }
}

/* Crisis sources line */
@media (max-width: 600px) {
  .crisis-sources { font-size: 10.5px; margin-top: 18px; padding: 0; text-align: left; }
}

/* Testimonials — 3-up quote grid on homepage */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.quote-card {
  background: var(--paper);
  border: 1px solid var(--rule-ink);
  padding: 32px 28px 26px;
  display: flex; flex-direction: column;
  gap: 20px;
  margin: 0;
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 84px; line-height: 1;
  color: var(--olive);
  position: absolute;
  top: 8px; left: 22px;
  opacity: 0.32;
  font-variation-settings: "opsz" 144;
}
.quote-card blockquote {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4;
  letter-spacing: -0.005em; color: var(--ink);
  margin: 0; padding-top: 22px;
  font-variation-settings: "opsz" 72;
}
.quote-card blockquote em { font-style: normal; color: var(--accent); font-weight: 440; }
.quote-card figcaption {
  border-top: 1px solid var(--rule-ink);
  padding-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}
.quote-card .q-who {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.quote-card .q-role {
  font-family: var(--sans); font-size: 13px; color: var(--slate);
}
.quote-card .q-loc {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate-2);
}
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Tele-wound strip — compact homepage callout linking to Dr. Wounds */
.telewound-strip {
  display: block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: 24px 0;
  border-top: 1px solid rgba(242,245,246,.12);
  border-bottom: 1px solid rgba(242,245,246,.12);
  transition: background .3s var(--ease);
}
.telewound-strip:hover { background: var(--ink-soft); }
.telewound-strip .shell {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.telewound-strip .tw-left {
  display: flex; align-items: baseline; gap: 22px;
  flex-wrap: wrap;
}
.telewound-strip .tw-brand {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(20px, 1.8vw, 26px); line-height: 1;
  letter-spacing: -0.01em; color: var(--olive-light);
  font-variation-settings: "opsz" 144;
}
.telewound-strip .tw-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(242,245,246,.72);
}
.telewound-strip .tw-right {
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.telewound-strip .tw-url {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: lowercase; color: var(--bg);
  border-bottom: 1px solid rgba(242,245,246,.3);
  padding-bottom: 2px;
}
.telewound-strip .tw-arrow {
  font-family: var(--sans); font-size: 18px; color: var(--olive-light);
  transition: transform .3s var(--ease);
}
.telewound-strip:hover .tw-arrow { transform: translateX(4px); }
@media (max-width: 720px) {
  .telewound-strip .shell { flex-direction: column; align-items: flex-start; gap: 14px; }
  .telewound-strip .tw-left { gap: 6px; flex-direction: column; align-items: flex-start; }
}

/* Dr. Wounds branded header badge — used on home-care.html */
.drwounds-badge {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 14px 20px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  margin-bottom: 32px;
  max-width: 100%;
}
.drwounds-badge .db-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--slate); font-weight: 500;
}
.drwounds-badge .db-brand {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em; color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.drwounds-badge .db-url {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: lowercase; color: var(--accent);
  text-decoration: none;
  padding-left: 18px;
  border-left: 1px solid var(--rule);
  transition: color .2s var(--ease);
}
.drwounds-badge .db-url:hover { color: var(--accent-deep); }
@media (max-width: 640px) {
  .drwounds-badge { flex-wrap: wrap; gap: 10px 18px; padding: 12px 16px; }
  .drwounds-badge .db-url { padding-left: 0; border-left: 0; }
}

/* Footer additions — hours + social row */
.foot-grid .foot-hours {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--rule-ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
  line-height: 1.6;
}
.foot-social {
  display: flex; gap: 14px;
  padding: 22px 0 18px;
  margin-top: 8px;
  border-top: 1px solid var(--rule-ink);
  color: var(--slate);
}
.foot-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: inherit;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.foot-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Hero kicker — short boutique/tagline line below the lede */
.hero-bleed .hero-kicker {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin: -18px 0 30px;
  max-width: 68ch;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .hero-bleed .hero-kicker { font-size: 10.5px; margin: -10px 0 22px; }
}

/* Podiatric surgical service — grid of procedure categories */
.pod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule-ink);
  border: 1px solid var(--rule-ink);
  margin: 48px 0 36px;
}
.pod-card {
  background: var(--paper);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  gap: 12px;
}
.pod-card .p-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent);
  padding-bottom: 6px;
}
.pod-card h3 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(20px, 1.85vw, 26px); line-height: 1.2;
  letter-spacing: -0.015em; color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.pod-card h3 em { font-style: normal; color: var(--accent); font-weight: 420; }
.pod-card p {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 780px) {
  .pod-grid { grid-template-columns: 1fr; }
  .pod-card { padding: 28px 24px; }
}

.pod-callout {
  display: flex; align-items: center; gap: 28px;
  padding: 24px 32px;
  background: var(--ink); color: var(--bg);
  border-left: 2px solid var(--accent-light);
}
.pod-callout .pc-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent-light); font-weight: 500;
  flex-shrink: 0; padding-right: 28px; border-right: 1px solid rgba(242,245,246,.2);
}
.pod-callout p {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.5;
  color: rgba(242,245,246,.9); margin: 0;
}
@media (max-width: 780px) {
  .pod-callout { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px; }
  .pod-callout .pc-tag { padding-right: 0; border-right: 0; padding-bottom: 10px; border-bottom: 1px solid rgba(242,245,246,.2); width: 100%; }
}

/* Featured teaser — used on for-partners.html to promote the FQHC program */
.featured-teaser {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 44px;
  align-items: stretch;
  padding: 44px 48px;
  margin: 0 0 48px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-top: 2px solid var(--accent);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.featured-teaser:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -20px rgba(21,54,31,.45);
}
.featured-teaser .ft-meta {
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-width: 220px;
  padding-right: 32px;
  border-right: 1px solid rgba(242,245,246,.18);
}
.featured-teaser .ft-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--accent-light);
  display: inline-flex; align-items: center; gap: 10px;
}
.featured-teaser .ft-tag::before {
  content: ""; width: 24px; height: 1px; background: var(--accent-light);
}
.featured-teaser .ft-link {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bg);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .3s var(--ease);
}
.featured-teaser:hover .ft-link { color: var(--accent-light); }
.featured-teaser .ft-body h3 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.18;
  letter-spacing: -0.02em; color: var(--bg);
  margin: 0 0 14px;
  font-variation-settings: "opsz" 144;
}
.featured-teaser .ft-body h3 em { font-style: normal; color: var(--accent-light); font-weight: 420; }
.featured-teaser .ft-body p {
  font-family: var(--sans); font-size: 15.5px; line-height: 1.6;
  color: rgba(242,245,246,.82); margin: 0 0 18px; max-width: 68ch;
}
.featured-teaser .ft-points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.featured-teaser .ft-points li {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(242,245,246,.78);
  padding: 6px 12px;
  border: 1px solid rgba(242,245,246,.22);
  border-radius: 999px;
}
@media (max-width: 860px) {
  .featured-teaser {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 28px;
  }
  .featured-teaser .ft-meta {
    flex-direction: row; justify-content: space-between; align-items: center;
    padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(242,245,246,.18);
    padding-bottom: 16px; min-width: 0;
  }
}
@media (max-width: 520px) {
  .featured-teaser .ft-meta { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* wws-grid: four-column variant for partners page after FQHC promotion */
.wws-grid.wws-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .wws-grid.wws-grid--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wws-grid.wws-grid--four { grid-template-columns: 1fr; }
}

/* Skip link positioning */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--ink); color: var(--bg); padding: 6px 12px; z-index: 1000; font-size: 12px; }
.skip-link:focus { top: 6px; }

/* ============================================================
   FQHC PROGRAM PAGE — data loop, metrics matrix, pathway
   ============================================================ */

/* Data-loop signature visual */
.data-loop {
  background: var(--ink);
  color: var(--bg);
  padding: 110px 0 120px;
}
.data-loop .eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--olive-light);
  margin-bottom: 20px; display: inline-flex; align-items: center; gap: 14px;
}
.data-loop .eyebrow::before {
  content: ""; width: 38px; height: 1px; background: var(--olive-light);
}
.data-loop h2 {
  font-family: var(--serif); font-weight: 360;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05;
  letter-spacing: -0.025em; color: var(--bg);
  margin: 0 0 60px; max-width: 22ch;
  font-variation-settings: "opsz" 144;
}
.data-loop h2 em { font-style: normal; color: var(--olive-light); font-weight: 400; }

.loop-stage {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 1.1fr) 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 24px 0;
}
.loop-node {
  padding: 32px 28px;
  border: 1px solid rgba(242,245,246,.18);
  background: rgba(242,245,246,.03);
  backdrop-filter: blur(2px);
  min-height: 260px;
  display: flex; flex-direction: column;
}
.loop-node--right { border-color: rgba(230,190,111,.35); background: rgba(230,190,111,.04); }
.loop-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 18px; display: block;
}
.loop-node--left .loop-kicker { color: rgba(242,245,246,.6); }
.loop-node h3 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(22px, 2vw, 30px); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--bg);
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144;
}
.loop-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.loop-list li {
  font-family: var(--sans); font-size: 14.5px; line-height: 1.45;
  color: rgba(242,245,246,.82);
  padding-left: 18px; position: relative;
}
.loop-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--accent-light);
}

.loop-svg {
  width: 100%; height: auto; max-height: 300px;
  color: var(--accent-light);
  overflow: visible;
}
.loop-arc {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 1;
}
.loop-arc--in { color: var(--olive-light); }
.loop-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; fill: rgba(242,245,246,.72);
}
@keyframes loop-draw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 900px) {
  .data-loop { padding: 72px 0 80px; }
  .loop-stage {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .loop-svg {
    max-height: 160px; transform: rotate(90deg) scale(0.9);
    transform-origin: center;
  }
  .loop-node { min-height: 0; padding: 26px 24px; }
}
@media (max-width: 600px) {
  .loop-svg { display: none; }
  .loop-stage {
    position: relative;
  }
  .loop-stage::before, .loop-stage::after {
    content: ""; width: 1px; height: 36px;
    background: linear-gradient(180deg, var(--accent-light), transparent);
    margin: 0 auto; display: block;
  }
}

/* Metrics matrix — 4-card grid grouped by reporting framework */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.metric-card {
  background: var(--paper);
  padding: 34px 28px;
  display: flex; flex-direction: column;
}
.metric-card .m-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.metric-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.metric-card li {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 14px; line-height: 1.5;
  padding-left: 0;
}
.metric-card li::before { display: none; }
.metric-card li strong {
  font-family: var(--serif); font-weight: 460;
  font-size: 16px; letter-spacing: -0.005em; color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.metric-card li span {
  font-family: var(--sans); font-size: 13.5px; line-height: 1.5;
  color: var(--slate);
}
@media (max-width: 1000px) {
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .metrics-grid { grid-template-columns: 1fr; }
  .metric-card { padding: 28px 22px; }
}

/* Onboarding pathway — vertical step list with rail */
.pathway {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  position: relative;
  counter-reset: pathway;
}
.pathway::before {
  content: ""; position: absolute;
  left: 18px; top: 12px; bottom: 12px;
  width: 1px; background: rgba(242,245,246,.2);
}
.pathway-step {
  position: relative;
  padding: 18px 0 36px 60px;
  border-bottom: 1px solid rgba(242,245,246,.12);
}
.pathway-step:last-child { border-bottom: 0; padding-bottom: 0; }
.pathway-step::before {
  content: ""; position: absolute;
  left: 12px; top: 28px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 5px rgba(230,190,111,.3);
}
.pathway-step--ongoing::before { background: transparent; border: 1px solid var(--accent-light); }
.pathway-step .ps-n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--accent-light);
  margin-bottom: 12px;
}
.pathway-step h3 {
  font-family: var(--serif); font-weight: 380;
  font-size: clamp(22px, 2.1vw, 30px); line-height: 1.18;
  letter-spacing: -0.015em; color: var(--bg);
  margin: 0 0 12px;
  font-variation-settings: "opsz" 144;
}
.pathway-step h3 em { font-style: normal; color: var(--accent-light); font-weight: 420; }
.pathway-step > p {
  font-family: var(--sans); font-size: 15.5px; line-height: 1.6;
  color: rgba(242,245,246,.82);
  max-width: 64ch; margin: 0 0 16px;
}
.pathway-step .ps-deliv {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 10px;
}
.pathway-step .ps-deliv li {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(242,245,246,.72);
  padding: 6px 12px;
  border: 1px solid rgba(242,245,246,.2);
  border-radius: 999px;
}
@media (max-width: 640px) {
  .pathway::before { left: 11px; }
  .pathway-step { padding: 16px 0 28px 44px; }
  .pathway-step::before { left: 5px; top: 26px; width: 11px; height: 11px; }
  .pathway-step .ps-deliv li { font-size: 10px; padding: 5px 10px; }
}

/* on-light pathway variant (in case page uses it) */
.content-section:not(.on-dark) .pathway::before { background: var(--rule); }
.content-section:not(.on-dark) .pathway-step { border-bottom-color: var(--rule-ink); }
.content-section:not(.on-dark) .pathway-step::before { box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px rgba(184,137,58,.3); background: var(--accent); }
.content-section:not(.on-dark) .pathway-step h3 { color: var(--ink); }
.content-section:not(.on-dark) .pathway-step h3 em { color: var(--accent); }
.content-section:not(.on-dark) .pathway-step > p { color: var(--slate); }
.content-section:not(.on-dark) .pathway-step .ps-n { color: var(--accent); }
.content-section:not(.on-dark) .pathway-step .ps-deliv li { color: var(--slate); border-color: var(--rule); }
