/* ============================================================
   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 — clinical palette --------- */
:root {
  --ink:       #0A1F3C;
  --ink-soft:  #1C2E4A;
  --bg:        #F2F5F6;   /* cool clinical off-white (was cream) */
  --bg-2:      #E6ECEE;   /* cool surface (was cream-2) */
  --paper:     #FFFFFF;
  --slate:     #566477;
  --slate-2:   #8795A6;
  --rule:      #C8D1D4;
  --rule-ink:  rgba(10,31,60,.12);

  /* single medical accent: a trustworthy healing teal */
  --accent:       #0E6760;
  --accent-deep:  #0A4B45;
  --accent-soft:  #E4EFED;
  --accent-light: #7FD1C7;   /* for dark-surface contrast (services, CTA band, footer) */

  /* 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(--accent-deep);
  --amber:     var(--accent-light);  /* amber was used on DARK surfaces, so map to light teal */

  --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%; }

/* --------- 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(10,31,60,.04);
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 36px;
  padding-block: 18px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--ink);
  font-optical-sizing: auto;
}
.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: block; 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: 32px; justify-content: center; list-style: none; margin: 0; padding: 0;
  font-size: 14px; font-weight: 450; color: var(--ink-soft);
}
.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(10,31,60,.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(10,31,60,.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(10,31,60,.15) 0%, rgba(10,31,60,.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(3, 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(10,31,60,.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(--clay); }
.flow-step:nth-child(4) .circle { background: var(--clay); color: var(--cream); border-color: var(--clay); }
.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; }

.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(10,31,60,.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(10,31,60,.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: #7FD1C7; }  /* softer teal for dark bg */
.services .section-head p { color: #cfd4dd; }
.services .section-head .num { color: #7FD1C7; }

.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: #7FD1C7; font-weight: 400; }
.svc-body p {
  font-size: 15.5px; line-height: 1.6; color: #cfd4dd; 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: #cfd4dd;
}
.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(13,31,60,.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: #7FD1C7; font-weight: 420; }
.cta-band p {
  font-size: 18px; line-height: 1.6; color: #cfd4dd; 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: #08152B; 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: #cfd4dd; }
.foot ul li a:hover { color: var(--amber); }
.foot p { font-size: 14px; line-height: 1.6; color: #cfd4dd; 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: 980px) {
  .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: 0; text-align: center; flex-direction: column; }
  .ribbon-msg { display: none; }
  .ribbon-phones { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
  .ribbon-sep { display: none; }

  /* 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; }
}
