/* ============================================================
   FOUNDRY INTEGRATIVE PSYCHIATRY — DESIGN TOKENS + GLOBAL CSS
   ============================================================ */

:root {
  /* Palette — locked from VISUAL_PALETTE_HARNESS.md */
  --bg: #F6F1E7;            /* chalk ivory main background */
  --bg-warm: #EFE7D4;       /* warmer ivory */
  --paper: #FBF8F1;         /* lifted card surface */
  --ink: #151A17;           /* iron black */
  --ink-2: #2C342E;         /* secondary ink */
  --ink-3: #5A6157;         /* tertiary muted */
  --sage: #BFC4AD;
  --sage-deep: #9CA48C;
  --sage-tint: #DDE0CD;
  --brass: #B08D57;         /* aged brass — premium accents */
  --brass-light: #D4B06A;
  --bronze: #6F5632;        /* burnished bronze — depth */
  --bronze-deep: #3D2F1C;
  --orange: #F26A3D;        /* primary CTA */
  --orange-deep: #D4501F;
  --border: rgba(111, 86, 50, 0.18);
  --border-strong: rgba(21, 26, 23, 0.16);
  --rule: rgba(21, 26, 23, 0.08);

  /* Type */
  --serif: "Spectral", "Source Serif Pro", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  /* Scale */
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --shadow-sm: 0 1px 0 rgba(21, 26, 23, 0.04), 0 1px 3px rgba(21, 26, 23, 0.06);
  --shadow: 0 1px 0 rgba(21, 26, 23, 0.04), 0 8px 24px -8px rgba(21, 26, 23, 0.14);
  --shadow-lg: 0 1px 0 rgba(21, 26, 23, 0.04), 0 24px 60px -16px rgba(21, 26, 23, 0.22);

  /* Metallic gradient — sparingly */
  --metal: linear-gradient(135deg, #6F5632 0%, #B08D57 35%, #D4B06A 55%, #7A5B32 100%);
  --metal-soft: linear-gradient(135deg, #B08D57 0%, #D4B06A 50%, #B08D57 100%);
}

/* ============================================================
   CONTENT7 HERO COMP PASS
   ============================================================ */
.nav {
  background: rgba(42, 42, 39, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.nav.is-scrolled,
.nav.nav-is-open {
  background: rgba(32, 32, 29, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
.nav-inner {
  height: 104px;
}
.nav.is-scrolled .nav-inner {
  height: 76px;
}
.brand {
  gap: 0;
  min-width: 230px;
  align-items: flex-start;
}
.brand-stack {
  gap: 7px;
}
.brand-stack span {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.22em;
  color: #fffaf0;
}
.brand small {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 250, 240, 0.88);
}
.nav-links {
  gap: 20px;
}
.nav-links button,
.nav-links a {
  padding: 10px 2px;
  border-radius: 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.nav-links button:hover,
.nav-links a:hover,
.nav-links button[aria-expanded="true"] {
  background: transparent;
  color: #fffaf0;
}
.nav-links .nav-active::after {
  left: 0;
  right: 0;
  bottom: 4px;
  background: rgba(190, 95, 48, 0.9);
}
.nav-chevron {
  display: inline-block;
  margin-left: 4px;
  color: rgba(255, 250, 240, 0.66);
  font-size: 14px;
  transform: translateY(-1px);
}
.nav-cta .btn {
  min-height: 46px;
  border-radius: 4px;
  padding: 0 22px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.nav-cta .btn-secondary {
  color: rgba(255, 250, 240, 0.9);
  border-color: rgba(255, 250, 240, 0.5);
  background: rgba(255, 250, 240, 0.04);
}
.nav-cta .btn-primary {
  background: #a95834;
  border-color: #a95834;
  color: #fffaf0;
}
.anno {
  background: rgba(42, 42, 39, 0.34);
  color: rgba(255, 250, 240, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0;
  text-align: left;
}
.anno-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.anno-main {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.anno-main svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.anno-emergency {
  flex: 0 0 auto;
  color: rgba(255, 250, 240, 0.78);
}
body[data-palette="v3-dark"] .anno {
  background: rgba(42, 42, 39, 0.34);
  color: rgba(255, 250, 240, 0.85);
}

.hero-experience {
  min-height: calc(100svh - 158px);
  background-color: #070604;
  background-image:
    linear-gradient(90deg, rgba(9, 8, 6, 0.62) 0%, rgba(9, 8, 6, 0.36) 36%, rgba(9, 8, 6, 0.08) 66%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.08) 0%, rgba(10, 9, 8, 0.06) 42%, rgba(5, 5, 4, 0.84) 100%),
    url("assets/hero-editorial-trust-optimized.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center center;
  border-bottom: 0;
}
.foundry-hero-canvas,
.hero-media-controls,
.trust-v2 {
  display: none;
}
.hero-grain {
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.84)),
    radial-gradient(circle at 16% 28%, rgba(255, 196, 137, 0.25), transparent 24%);
}
.hero-experience-wrap {
  min-height: calc(100svh - 158px);
  align-items: flex-end;
  padding-top: 90px;
  padding-bottom: 88px;
}
.hero-experience-content {
  max-width: 1120px;
}
.hero-experience .brand-eyebrow {
  display: none;
}
.hero-experience h1 {
  max-width: 13ch;
  margin-bottom: 30px;
  font-size: clamp(72px, 7.6vw, 112px);
  line-height: 0.9;
  color: #fffaf0;
  text-shadow: 0 26px 54px rgba(0, 0, 0, 0.36);
}
.hero-experience h1 .hero-line-accent {
  color: #fffaf0;
  font-style: normal;
  text-shadow: none;
}
.hero-experience .hero-v2-lede {
  margin: 0 0 22px;
  max-width: 42ch;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c66f3e;
}
.hero-experience .hero-v2-copy {
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-experience .hero-v2-copy p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.92);
}
.hero-action-grid {
  display: grid;
  grid-template-columns: minmax(420px, 540px) minmax(360px, 1fr);
  align-items: end;
  gap: clamp(36px, 8vw, 104px);
}
.hero-experience .hero-v2-geo {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 26px;
  max-width: 56ch;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 250, 240, 0.9);
}
.hero-pin {
  width: 24px;
  height: 24px;
  color: #c66f3e;
  flex: 0 0 auto;
  transform: translateY(2px);
}
.hero-pin svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-experience .hero-v2-cta {
  gap: 22px;
  margin: 0;
}
.hero-experience .hero-v2-cta .btn {
  min-width: 252px;
  min-height: 58px;
  justify-content: center;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.hero-experience .hero-v2-cta .btn-primary {
  background: linear-gradient(180deg, #c37343, #a95834);
  border-color: #b7653d;
  color: #fffaf0;
}
.hero-experience .hero-v2-cta .btn-secondary {
  color: #fffaf0;
  border-color: rgba(198, 111, 62, 0.78);
  background: rgba(0, 0, 0, 0.18);
}
.hero-trust-markers {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  align-items: stretch;
  color: #fffaf0;
}
.hero-trust-marker {
  min-width: 0;
  min-height: 112px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(255, 250, 240, 0.34);
}
.hero-trust-marker:first-child {
  border-left: 0;
}
.hero-trust-icon {
  position: relative;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: #c66f3e;
}
.hero-trust-icon::before,
.hero-trust-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.icon-head::before {
  inset: 4px 7px 5px 7px;
  border: 2px solid currentColor;
  border-radius: 48% 48% 40% 40%;
}
.icon-head::after {
  right: 3px;
  bottom: 5px;
  width: 13px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 9px 0;
}
.icon-clipboard::before {
  inset: 6px 8px 3px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.icon-clipboard::after {
  left: 14px;
  top: 2px;
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: rgba(7, 6, 4, 0.68);
}
.icon-people::before {
  left: 3px;
  top: 15px;
  width: 34px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}
.icon-people::after {
  left: 9px;
  top: 5px;
  width: 22px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 6px 6px;
}
.hero-trust-marker strong {
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-trust-marker span:last-child {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.3;
  color: rgba(255, 250, 240, 0.88);
}
.hero-scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  width: 20px;
  height: 52px;
  transform: translateX(-50%);
}
.hero-scroll-cue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 12px;
  height: 34px;
  border: 1px solid rgba(255, 250, 240, 0.86);
  border-radius: 999px;
}
.hero-scroll-cue::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(255, 250, 240, 0.86);
  transform: rotate(45deg);
}
.hero-bottom-row {
  display: none;
}

@media (max-width: 1180px) {
  .nav-inner {
    height: 84px;
  }
  .brand-stack span {
    font-size: 29px;
  }
  .brand small {
    font-size: 12.5px;
  }
  .hero-action-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-trust-markers {
    max-width: 620px;
  }
  .hero-trust-marker:first-child {
    border-left: 0;
  }
}
@media (max-width: 720px) {
  .nav-inner,
  .nav.is-scrolled .nav-inner {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    height: 68px;
  }
  .brand {
    min-width: 0;
    align-items: center;
  }
  .brand-stack {
    align-items: center;
  }
  .brand-stack span {
    font-size: 23px;
    letter-spacing: 0.18em;
  }
  .brand small {
    max-width: 230px;
    font-size: 10.5px;
    white-space: normal;
  }
  .anno-inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .anno-main {
    gap: 10px;
  }
  .anno-emergency {
    padding-left: 30px;
  }
  .hero-experience,
  .hero-experience-wrap {
    min-height: calc(100svh - 122px);
  }
  .hero-experience {
    background-image:
      linear-gradient(90deg, rgba(9, 8, 6, 0.72), rgba(9, 8, 6, 0.28)),
      linear-gradient(180deg, rgba(10, 9, 8, 0.04) 0%, rgba(10, 9, 8, 0.08) 36%, rgba(5, 5, 4, 0.88) 100%),
      url("assets/hero-editorial-trust-optimized.jpg");
    background-position: center, center, 67% center;
  }
  .hero-experience-wrap {
    padding-top: 54px;
    padding-bottom: 78px;
  }
  .hero-experience h1 {
    max-width: 8.6ch;
    margin-bottom: 22px;
    font-size: clamp(52px, 17vw, 72px);
  }
  .hero-experience .hero-v2-lede {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.17em;
  }
  .hero-experience .hero-v2-copy {
    margin-bottom: 24px;
  }
  .hero-experience .hero-v2-copy p {
    font-size: 15.5px;
    line-height: 1.52;
  }
  .hero-experience .hero-v2-geo {
    margin-bottom: 22px;
    font-size: 14px;
  }
  .hero-experience .hero-v2-cta {
    gap: 12px;
  }
  .hero-experience .hero-v2-cta .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 15px;
  }
  .hero-trust-markers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }
  .hero-trust-marker {
    min-height: 96px;
    padding: 0 10px;
  }
  .hero-trust-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
  .hero-trust-marker strong {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .hero-trust-marker span:last-child {
    font-size: 12px;
  }
  .hero-scroll-cue {
    display: none;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--bronze); text-decoration: none; }
a:hover { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
}
.h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 6.4vw, 88px); line-height: 1.0; letter-spacing: -0.028em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -0.022em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.18; letter-spacing: -0.01em; }
.h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.35; letter-spacing: -0.005em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.body-md { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.body-sm { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--bronze); }

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }

@media (max-width: 720px) {
  .wrap, .wrap-narrow, .wrap-wide { padding: 0 20px; }
}

.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 128px 0; }

.divider {
  height: 1px;
  background: var(--rule);
  width: 100%;
}
.divider-metal {
  height: 1px;
  background: var(--metal-soft);
  width: 100%;
  opacity: 0.5;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--r);
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  line-height: 1;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 1px 2px rgba(212, 80, 31, 0.4);
}
.btn-primary:hover { background: var(--orange-deep); color: #fff; text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--bronze);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 18px;
}
.btn-ghost:hover { color: var(--bronze); text-decoration: none; }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn-lg { padding: 16px 26px; font-size: 16px; }

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bronze);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
}
.link-arrow .arrow { transition: transform 0.18s ease; }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* ============================================================
   PILLS / BADGES
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  background: rgba(255,255,255,0.4);
}
.pill .pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass);
  display: inline-block;
}
.pill.pill-sage { background: rgba(191, 196, 173, 0.4); border-color: rgba(111, 86, 50, 0.25); }
.pill.pill-hold { color: #8a4a1e; border-color: rgba(242, 106, 61, 0.4); background: rgba(242, 106, 61, 0.08); }
.pill.pill-hold .pill-dot { background: var(--brass); }
.pill.pill-review { color: var(--bronze-deep); border-color: rgba(176, 141, 87, 0.32); background: rgba(176, 141, 87, 0.08); }
.pill.pill-review .pill-dot { background: var(--brass); }
.pill.pill-active .pill-dot { background: #2f7a3a; }
.pill.pill-active { color: #2f5a32; border-color: rgba(47, 122, 58, 0.3); background: rgba(47, 122, 58, 0.06); }
.pill.pill-quiet { color: var(--ink-3); border-color: var(--rule); background: rgba(21, 26, 23, 0.03); }
.pill.pill-quiet .pill-dot { display: none; }

/* Hero support line — sits below CTAs as a quiet anchor. */
.hero-support {
  margin: 20px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--bronze-deep);
  max-width: 56ch;
  line-height: 1.55;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.card.card-quiet {
  background: transparent;
  border: 1px solid var(--rule);
}
.card.card-sage {
  background: rgba(191, 196, 173, 0.28);
  border-color: rgba(111, 86, 50, 0.2);
}
.card.card-ink {
  background: var(--ink);
  color: var(--bg);
  border: none;
}
.card.card-ink .body-sm { color: rgba(246, 241, 231, 0.7); }
.card.card-ink .label { color: var(--brass-light); }

/* Service card numbered */
.svc-card {
  position: relative;
  padding: 28px 28px 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 240px;
  transition: all 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.svc-card:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.svc-card .svc-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--bronze);
  letter-spacing: 0.12em;
}
.svc-card .svc-title {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 12px 0 8px;
  color: var(--ink);
}
.svc-card .svc-body {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.55;
  flex: 1;
}
.svc-card .svc-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ============================================================
   FORM CONTROLS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.field > .field-help { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.input, .textarea, .select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}
.textarea { min-height: 120px; resize: vertical; }

/* Radio cards */
.radio-grid { display: grid; gap: 10px; }
.contact-method-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r);
  text-align: left;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s ease;
}
.radio-card:hover { border-color: var(--bronze); }
.radio-card.selected {
  border-color: var(--ink);
  background: rgba(21, 26, 23, 0.03);
  box-shadow: 0 0 0 1px var(--ink) inset;
}
.radio-card .rc-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--bronze);
  margin-top: 3px;
  flex-shrink: 0;
  position: relative;
}
.radio-card.selected .rc-dot { border-color: var(--ink); }
.radio-card.selected .rc-dot::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--brass);
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
}
.radio-card .rc-title { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.radio-card .rc-desc { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 4px; line-height: 1.45; }

.checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
}
.checkbox input { margin: 0; margin-top: 3px; accent-color: var(--ink); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(11, 12, 14, 0.18);
  color: #F4EEDF;
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid rgba(244, 238, 223, 0.1);
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.nav.is-scrolled,
.nav.nav-is-open {
  background: rgba(11, 12, 14, 0.86);
  border-bottom-color: rgba(201, 165, 112, 0.22);
  box-shadow: 0 18px 60px -36px rgba(0, 0, 0, 0.7);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
  transition: height 0.22s ease;
}
.nav.is-scrolled .nav-inner {
  height: 62px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: currentColor;
  font-weight: 500;
}
.brand .brand-mark {
  width: 26px; height: 26px;
  position: relative;
}
.brand small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: rgba(201, 165, 112, 0.9);
  text-transform: uppercase;
  font-weight: 400;
  margin-left: 2px;
  display: block;
  line-height: 1;
  margin-top: 1px;
}
.brand-stack { display: flex; flex-direction: column; line-height: 1; gap: 3px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links button, .nav-links a {
  font-size: 13.5px;
  padding: 8px 9px;
  border-radius: var(--r-sm);
  color: rgba(244, 238, 223, 0.72);
  position: relative;
  white-space: nowrap;
  transition: color 0.12s ease, background 0.12s ease;
}
.nav-links button:hover,
.nav-links a:hover,
.nav-links button[aria-expanded="true"] {
  color: #F4EEDF;
  background: rgba(244, 238, 223, 0.06);
  text-decoration: none;
}
.nav-links .nav-active { color: #F4EEDF; font-weight: 500; }
.nav-links .nav-active::after {
  content: ""; position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 1.5px;
  background: var(--brass);
}

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 238, 223, 0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F4EEDF;
  background: rgba(244, 238, 223, 0.05);
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.nav-burger:hover {
  background: rgba(244, 238, 223, 0.1);
  border-color: rgba(201, 165, 112, 0.52);
}
.nav-burger:active { transform: scale(0.97); }
.nav-burger span {
  position: absolute;
  width: 17px;
  height: 1.5px;
  background: currentColor;
  border-radius: 10px;
  transition: transform 0.2s ease;
}
.nav-burger span:first-child { transform: translateY(-4px); }
.nav-burger span:last-child { transform: translateY(4px); }
.nav-burger.open span:first-child { transform: translateY(0) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(0) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-links { display: none; }
}
@media (max-width: 720px) {
  .nav-inner,
  .nav.is-scrolled .nav-inner { height: 62px; }
  .nav-cta .btn-secondary { display: none; }
  .nav-cta .btn-primary {
    display: none;
  }
}

/* Dropdown nav */
.nav-dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(11, 12, 14, 0.94);
  border-bottom: 1px solid rgba(201, 165, 112, 0.22);
  box-shadow: 0 34px 80px -38px rgba(0, 0, 0, 0.75);
  padding: 28px 0 34px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 165, 112, 0.28);
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 238, 223, 0.62);
}
.nav-dropdown-head button {
  color: var(--brass-light);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 24px;
}
.nav-dropdown button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 14px;
  padding: 14px 0;
  color: #F4EEDF;
  border-bottom: 1px solid rgba(244, 238, 223, 0.11);
  text-align: left;
  font-size: 15px;
  align-items: baseline;
}
.nav-dropdown button:hover { color: var(--brass-light); text-decoration: none; }
.nav-dropdown .nd-num {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(201, 165, 112, 0.8);
}
.nav-dropdown .nd-title {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.15;
}
.nav-dropdown .nd-meta {
  display: block;
  font-size: 12px;
  color: rgba(244, 238, 223, 0.52);
  margin-top: 2px;
}

/* Animated menu drawer */
.nav-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}
.nav-drawer-shell.open { pointer-events: auto; }
.nav-drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.nav-drawer-shell.open .nav-drawer-scrim { opacity: 1; }
.nav-drawer {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translate(-50%, -16px) rotateX(2deg);
  transform-origin: top center;
  width: min(1180px, calc(100vw - 28px));
  max-height: calc(100svh - 28px);
  overflow-y: auto;
  color: #F4EEDF;
  background: rgba(11, 12, 14, 0.96);
  border: 1px solid rgba(201, 165, 112, 0.25);
  box-shadow: 0 40px 120px -38px rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  perspective: 900px;
}
.nav-drawer-shell.open .nav-drawer {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) rotateX(0);
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(244, 238, 223, 0.12);
}
.drawer-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 1fr;
  gap: 32px;
  padding: 34px 28px 30px;
}
.drawer-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(201, 165, 112, 0.86);
  margin-bottom: 18px;
}
.drawer-link,
.drawer-service {
  width: 100%;
  text-align: left;
  border-bottom: 1px solid rgba(244, 238, 223, 0.11);
  color: #F4EEDF;
}
.drawer-link {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1;
}
.drawer-arrow {
  color: var(--brass-light);
  font-family: var(--sans);
  font-size: 20px;
  transition: transform 0.18s ease;
}
.drawer-link:hover .drawer-arrow { transform: translateX(4px); }
.drawer-service {
  display: block;
  padding: 12px 0;
}
.drawer-service span {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.18;
}
.drawer-service small {
  display: block;
  margin-top: 4px;
  color: rgba(244, 238, 223, 0.52);
  font-size: 12.5px;
  line-height: 1.35;
}
.drawer-feature {
  min-height: 100%;
  border-left: 1px solid rgba(201, 165, 112, 0.25);
  padding-left: 28px;
}
.drawer-feature h3 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.05;
  max-width: 12ch;
}
.drawer-feature p {
  margin: 0 0 22px;
  color: rgba(244, 238, 223, 0.66);
  max-width: 34ch;
}
.drawer-feature-stats {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 238, 223, 0.62);
}
.drawer-cta {
  width: 100%;
  justify-content: center;
}
@media (max-width: 980px) {
  .nav-dropdown { display: none; }
  .drawer-grid { grid-template-columns: 1fr; gap: 28px; }
  .drawer-feature {
    border-left: 0;
    border-top: 1px solid rgba(201, 165, 112, 0.25);
    padding: 26px 0 0;
  }
}
@media (max-width: 560px) {
  .nav-drawer {
    top: 0;
    width: 100vw;
    max-height: 100svh;
    border-left: 0;
    border-right: 0;
  }
  .drawer-top,
  .drawer-grid { padding-left: 20px; padding-right: 20px; }
  .drawer-link { font-size: 25px; }
  .drawer-feature h3 { font-size: 31px; }
}

/* ============================================================
   ANNOUNCEMENT STRIP
   ============================================================ */
.anno {
  background: var(--ink);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 8px 0;
  text-align: center;
}
.anno .anno-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 8px; vertical-align: 1px; }
.anno a { color: var(--brass-light); text-decoration: underline; text-underline-offset: 3px; margin-left: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 80px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 1024px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin: 24px 0 28px;
  color: var(--ink);
}
.hero h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--bronze);
}
.hero-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.hero-meta {
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero-meta .hm-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); }
.hero-meta .hm-v { font-family: var(--serif); font-size: 17px; color: var(--ink); margin-top: 4px; line-height: 1.3; }
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* Hero right: editorial pane */
.hero-pane {
  position: relative;
  height: 540px;
  border-radius: var(--r-lg);
  background: var(--sage);
  overflow: hidden;
  box-shadow: var(--shadow);
}
@media (max-width: 1024px) { .hero-pane { height: 400px; } }
.hero-pane .pane-img {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 30%, rgba(255,255,255,0.18), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(111,86,50,0.05) 8px 9px),
    var(--sage);
}
.hero-pane .pane-glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-pane .pane-meta {
  position: absolute;
  left: 24px; bottom: 20px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink); text-transform: uppercase;
}
.hero-pane .pane-meta .pm-mark {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-pane .pane-corner {
  position: absolute; top: 16px; left: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--bronze-deep); text-transform: uppercase;
}
.hero-pane .pane-corner-r {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--bronze-deep); text-transform: uppercase;
}

/* Trust strip below hero */
.trust-strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  background: var(--bg);
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
}
.trust-strip-inner .ts-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }
.trust-strip-inner .ts-items {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-strip-inner .ts-item {
  font-size: 13.5px;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-strip-inner .ts-item .ts-mark {
  width: 8px; height: 8px; background: var(--brass);
  display: inline-block;
  transform: rotate(45deg);
}
@media (max-width: 720px) {
  .trust-strip-inner { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   SAFETY STRIP
   ============================================================ */
.safety {
  background: var(--ink);
  color: var(--bg);
  padding: 28px 0;
  border-top: 1px solid var(--bronze);
}
.safety-inner {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  align-items: center;
}
.safety-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--brass);
  text-transform: uppercase;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.safety-label .sl-mark {
  width: 10px; height: 10px;
  background: var(--brass);
}
.safety-body {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(246, 241, 231, 0.86);
}
.safety-body strong { color: var(--bg); font-weight: 500; }
.safety-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--brass-light); text-transform: uppercase; white-space: nowrap; }
.safety-cta:hover { color: #fff; }
@media (max-width: 880px) {
  .safety-inner { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
}
.foot a { color: rgba(246, 241, 231, 0.7); font-size: 14px; display: block; padding: 6px 0; }
.foot a:hover { color: var(--brass-light); text-decoration: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.foot .foot-col-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.foot .foot-brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--bg);
  margin-bottom: 14px;
  font-weight: 400;
}
.foot .foot-tag {
  font-size: 14px;
  color: rgba(246, 241, 231, 0.7);
  line-height: 1.55;
  max-width: 320px;
}
.foot-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(176, 141, 87, 0.25);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(246, 241, 231, 0.5);
  text-transform: uppercase;
}
.foot-bottom .fb-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-bottom .fb-links a { display: inline; padding: 0; font-size: 11px; letter-spacing: 0.1em; }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  display: none;
}
@media (max-width: 720px) {
  body { padding-bottom: 84px; }
	  .sticky-cta {
	    display: flex;
	    position: fixed;
	    bottom: 16px; left: 16px; right: 16px;
	    z-index: 160;
    box-shadow: 0 12px 40px -8px rgba(21, 26, 23, 0.4);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  body.is-scrolled .sticky-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .sticky-cta button {
    flex: 1;
    padding: 14px;
    color: var(--bg);
    font-weight: 500;
    font-size: 14.5px;
    text-align: center;
  }
  .sticky-cta .sc-primary { background: var(--orange); color: #fff; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(21, 26, 23, 0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  backdrop-filter: blur(4px);
  animation: fade 0.2s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: rise 0.25s ease;
}
@keyframes rise { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-head {
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
}
.modal-head .mh-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
  line-height: 1.4;
}
.modal-head .mh-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}
.modal-body { padding: 28px; }
.modal-foot {
  padding: 16px 28px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--bg);
  position: sticky; bottom: 0; z-index: 2;
}
.submit-summary-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.submit-summary-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 24px;
}

.step-dots { display: flex; gap: 6px; align-items: center; }
.step-dot { width: 24px; height: 3px; background: var(--rule); border-radius: 2px; }
.step-dot.done { background: var(--bronze); }
.step-dot.active { background: var(--brass); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.25;
}
.faq-q .faq-mark {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--bronze);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-mark { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 60px 26px 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ============================================================
   FEATURE FLAG / DISABLED STATES
   ============================================================ */
.flag-card {
  border: 1px dashed var(--bronze);
  background: rgba(176, 141, 87, 0.06);
  border-radius: var(--r);
  padding: 18px 20px;
  color: var(--ink-2);
}
.flag-card .flag-head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}
.flag-card .flag-head .flag-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px;
  background: var(--bronze);
  color: var(--bg);
  border-radius: 100px;
  letter-spacing: 0.1em;
  font-size: 10px;
}
.flag-card .flag-body { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.ph {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.ph-crumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; }
.ph-crumb a { color: var(--bronze); }
.ph-crumb .sep { margin: 0 8px; opacity: 0.4; }
.ph-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 20px; max-width: 22ch; }
.ph-lede { font-family: var(--serif); font-weight: 300; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; }
.ph-cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.ph-meta {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 720px) { .ph-meta { grid-template-columns: 1fr 1fr; gap: 18px; } }
.ph-meta .pm-k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.ph-meta .pm-v { font-size: 14.5px; color: var(--ink); line-height: 1.4; }

/* ============================================================
   2-COL SECTION
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
}
@media (max-width: 880px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.two-col .tc-side .label { display: block; margin-bottom: 8px; }
.two-col .tc-side h3 { margin: 0; }

/* Content prose */
.prose { max-width: 64ch; }
.prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: 16px 0; }
.prose ul li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 10px; height: 1px;
  background: var(--brass);
}
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 32px 0 12px; letter-spacing: -0.01em; }

/* Step list */
.steps {
  display: grid; gap: 0;
  border-top: 1px solid var(--rule);
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.step .step-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--bronze);
  padding-top: 4px;
}
.step .step-t { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.step .step-b { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* Service teaser grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 880px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .btn {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
  .hero-v2-cta .btn,
  .ph-cta-row .btn,
  .cta-band .btn {
    width: 100%;
  }
  .contact-method-grid { grid-template-columns: 1fr; }
  .modal-backdrop {
    align-items: stretch;
    padding: 10px;
  }
  .modal {
    max-height: calc(100svh - 20px);
    border-radius: var(--r);
  }
  .modal-head,
  .modal-body,
  .modal-foot {
    padding-left: 18px;
    padding-right: 18px;
  }
  .modal-head .mh-title { white-space: normal; }
  .modal-foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .modal-foot .label { grid-column: 1 / -1; }
  .submit-summary-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .step-dots { overflow: hidden; }
  .step-dot { flex: 1 1 0; min-width: 10px; }
}

/* ============================================================
   APPOINTMENT + DASHBOARD SURFACES
   ============================================================ */
.patient-system-shell {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}
.patient-system-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-bottom: 1px solid var(--rule);
}
.patient-system-shell-head h2 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
}
.patient-system-shell-head p {
  margin: 0;
  max-width: 66ch;
  color: var(--ink-2);
}
.integration-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}
.integration-badge.ready {
  color: #2f5a32;
  border-color: rgba(47, 122, 58, 0.28);
  background: rgba(47, 122, 58, 0.07);
}
.integration-badge.pending {
  color: var(--bronze-deep);
  border-color: rgba(176, 141, 87, 0.34);
  background: rgba(176, 141, 87, 0.1);
}
.patient-system-embed {
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  background: var(--bg);
}
.patient-system-embed-fallback {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(176, 141, 87, 0.08), transparent 42%),
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(111, 86, 50, 0.04) 11px 12px),
    var(--bg-warm);
}
.patient-system-embed-fallback > div {
  width: min(620px, 100%);
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.patient-system-embed-fallback h3 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}
.patient-system-embed-fallback p {
  margin: 0 0 20px;
  color: var(--ink-2);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.dashboard-card {
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}
.dashboard-card-action {
  display: flex;
  flex-direction: column;
}
.dashboard-kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bronze);
  text-transform: uppercase;
}
.dashboard-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.12;
  color: var(--ink);
}
.dashboard-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
.dashboard-link {
  margin-top: auto;
  padding-top: 20px;
  align-self: flex-start;
  color: var(--bronze);
  font-weight: 600;
  font-size: 14px;
}
.dashboard-link:hover {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.automation-list,
.status-ledger {
  border-top: 1px solid var(--rule);
}
.automation-row,
.status-row {
  display: grid;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.automation-row {
  grid-template-columns: 56px 1fr;
}
.automation-row span,
.status-area {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
}
.automation-row p,
.status-row p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}
.status-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}
.patient-system-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.patient-system-principles > div {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--paper);
}
.patient-system-principles p {
  margin: 14px 0 0;
  color: var(--ink-2);
  line-height: 1.55;
}
@media (max-width: 1080px) {
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .patient-system-principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .patient-system-shell-head,
  .status-row {
    grid-template-columns: 1fr;
    display: grid;
  }
  .dashboard-grid { grid-template-columns: 1fr; }
  .automation-row { grid-template-columns: 1fr; gap: 8px; }
  .integration-badge { white-space: normal; }
}

/* ============================================================
   STAMP / SEAL
   ============================================================ */
.stamp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--bronze);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  background: rgba(176, 141, 87, 0.06);
}
.stamp .stamp-dot {
  width: 6px; height: 6px;
  background: var(--brass);
  border-radius: 50%;
  display: inline-block;
}

/* ============================================================
   PROVIDER CARD
   ============================================================ */
.provider {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  align-items: center;
}
@media (max-width: 720px) { .provider { grid-template-columns: 1fr; } }
.provider .pv-img {
  height: 280px;
  border-radius: var(--r);
  background:
    radial-gradient(ellipse 70% 50% at 60% 30%, rgba(255,255,255,0.2), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(111,86,50,0.06) 7px 8px),
    var(--sage);
  position: relative;
}
.provider .pv-img .pv-tag {
  position: absolute; bottom: 12px; left: 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--bronze-deep); text-transform: uppercase;
}
.provider .pv-name { font-family: var(--serif); font-size: 36px; letter-spacing: -0.02em; line-height: 1; margin: 0 0 6px; }
.provider .pv-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--bronze); text-transform: uppercase; margin-bottom: 18px; }

/* ============================================================
   UTIL
   ============================================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.muted { color: var(--ink-3); }
.ink { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* hide scrollbar on iframe-ish content */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* Splits/sections backgrounds */
.bg-sage { background: linear-gradient(180deg, rgba(191, 196, 173, 0.45) 0%, rgba(191, 196, 173, 0.2) 100%); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--bg); }
.bg-ink .h2, .bg-ink .display { color: var(--bg); }
.bg-ink .lead { color: rgba(246, 241, 231, 0.78); }
.bg-ink .label, .bg-ink .eyebrow { color: var(--brass-light); }

/* CTA Band */
.cta-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 72px 0;
  background: var(--bg);
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.cta-band-inner h2 { margin: 0; max-width: 24ch; }
@media (max-width: 880px) {
  .cta-band-inner { grid-template-columns: 1fr; align-items: start; }
}

/* Crisis link styling */
.crisis-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.crisis-link:hover { color: var(--ink); text-decoration: none; }

/* Three-question fit filter */
.fit-filter {
  padding: 42px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.fit-filter-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.fit-filter h2 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--ink);
}
.fit-filter p {
  margin: 0;
  color: var(--ink-2);
}
.fit-filter-questions {
  display: grid;
  gap: 12px;
}
.fit-question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.fit-question p {
  font-size: 15px;
  color: var(--ink);
}
.fit-question > div {
  display: inline-grid;
  grid-template-columns: repeat(2, 72px);
  gap: 8px;
}
.fit-question button {
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-2);
}
.fit-question button.selected {
  color: var(--ink);
  border-color: var(--brass);
  background: rgba(201, 165, 112, 0.08);
}
.fit-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}
.fit-result p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .fit-filter-inner,
  .fit-question,
  .fit-result {
    grid-template-columns: 1fr;
  }
  .fit-result { align-items: flex-start; }
}

.service-schema-band {
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.service-schema-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--brass);
  border-left: 1px solid var(--rule);
}
.service-schema-card {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.service-schema-card span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}
.service-schema-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .service-schema-grid { grid-template-columns: 1fr; }
}

.not-fit-panel {
  padding: 84px 0;
  background: var(--paper);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
.not-fit-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.not-fit-inner h2 {
  margin: 10px 0 14px;
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
}
.not-fit-inner p {
  margin: 0 0 22px;
  max-width: 48ch;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.not-fit-list {
  border-top: 1px solid var(--rule);
}
.not-fit-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.45;
}
@media (max-width: 900px) {
  .not-fit-inner { grid-template-columns: 1fr; }
  .not-fit-inner h2 { max-width: none; }
}

/* ============================================================
   V2 — EDITORIAL HOME COMPONENTS
   Per V2_CREATIVE_RESET_BRIEF.md + operator's homepage structure.
   ============================================================ */

/* Section eyebrow used across V2 home modules — numbered label */
.sec-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sec-num::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* Motion-first hero */
.hero-experience {
  position: relative;
  min-height: calc(100svh - 112px);
  overflow: hidden;
  background-color: #0C0805;
  background-image:
    linear-gradient(90deg,
      rgba(8, 5, 3, 0.96) 0%,
      rgba(8, 5, 3, 0.84) 34%,
      rgba(8, 5, 3, 0.50) 60%,
      rgba(8, 5, 3, 0.16) 82%,
      rgba(8, 5, 3, 0.02) 100%),
    radial-gradient(circle at 80% 26%, rgba(217, 185, 132, 0.26), rgba(217, 185, 132, 0) 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.12) 64%, rgba(0, 0, 0, 0.78) 100%),
    url("assets/hero-editorial-trust-optimized.jpg");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, right center;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  color: #F4EEDF;
  border-bottom: 1px solid rgba(201, 165, 112, 0.24);
}
.foundry-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  mix-blend-mode: normal;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(90deg,
      rgba(8, 5, 3, 0.74) 0%,
      rgba(8, 5, 3, 0.58) 34%,
      rgba(8, 5, 3, 0.26) 62%,
      rgba(8, 5, 3, 0.06) 100%),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.04) 34%,
      rgba(0, 0, 0, 0.56) 100%);
}
.hero-experience-wrap {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - 112px);
  display: flex;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 124px;
}
.hero-experience-content {
  width: 100%;
  max-width: 860px;
  min-width: 0;
}
.hero-experience-content > div {
  max-width: 100%;
}
.hero-experience .brand-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(217, 185, 132, 0.92);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
}
.hero-experience .brand-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(217, 185, 132, 0.78);
  display: inline-block;
}
.hero-experience h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 62px;
  line-height: 0.94;
  letter-spacing: 0;
  margin: 0 0 28px;
  color: #FEF9EF;
  max-width: 12ch;
}
.hero-experience h1 .hero-line {
  display: block;
}
.hero-experience h1 .hero-line-accent {
  color: #D9B984;
  font-style: italic;
  text-shadow: 0 0 28px rgba(217, 185, 132, 0.18);
}
.hero-experience h1 .brand-mark-inline {
  font-family: var(--mono);
  font-size: 0.2em;
  letter-spacing: 0.24em;
  color: rgba(217, 185, 132, 0.9);
  vertical-align: 1.3em;
  margin-right: 14px;
}
.hero-experience .hero-v2-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.46;
  color: rgba(244, 238, 223, 0.78);
  max-width: 58ch;
  overflow-wrap: break-word;
  margin-bottom: 12px;
}
.hero-experience .hero-v2-copy {
  display: grid;
  gap: 10px;
  max-width: 66ch;
  margin: 0 0 18px;
}
.hero-experience .hero-v2-copy p {
  margin: 0;
  color: rgba(244, 238, 223, 0.78);
  font-size: 16.5px;
  line-height: 1.56;
  overflow-wrap: break-word;
}
.hero-experience .hero-v2-geo {
  margin: 0 0 28px;
  max-width: 62ch;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.55;
  color: rgba(217, 185, 132, 0.86);
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.hero-experience .hero-v2-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 24px;
}
.hero-experience .btn-secondary {
  color: #F4EEDF;
  border-color: rgba(244, 238, 223, 0.42);
  background: rgba(244, 238, 223, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-experience .btn-secondary:hover {
  color: #08090a;
  background: #F4EEDF;
  border-color: #F4EEDF;
}
.hero-experience .hero-v2-support {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(217, 185, 132, 0.82);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0;
}
.hero-bottom-row {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(244, 238, 223, 0.18);
  border-bottom: 1px solid rgba(244, 238, 223, 0.12);
}
.hero-bottom-row span {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(244, 238, 223, 0.12);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 238, 223, 0.72);
  overflow-wrap: anywhere;
}
.hero-bottom-row span:last-child { border-right: 0; }
.hero-media-controls {
  position: absolute;
  right: 24px;
  bottom: 102px;
  display: flex;
  align-items: center;
  z-index: 4;
  pointer-events: auto;
}
.hero-play-pause-container {
  position: relative;
  width: 44px;
  height: 44px;
}
.hero-play-pause-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(242, 233, 216, 0.22));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  color: #FEF9EF;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
.hero-play-pause-button:active { transform: scale(0.97); }
.hero-play-pause-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  pointer-events: none;
}
.hero-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  transform: rotate(-90deg);
  pointer-events: none;
  z-index: 3;
}
.hero-progress-ring-circle {
  stroke: rgba(255, 245, 232, 0.28);
  stroke-width: 3;
  fill: none;
}
.hero-progress-ring-progress {
  stroke: #D9B984;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(244, 198, 157, 0.55));
}
@media (max-width: 980px) {
  .hero-experience,
  .hero-experience-wrap {
    min-height: calc(100svh - 96px);
  }
  .hero-experience {
    background-image:
      linear-gradient(90deg, rgba(8, 5, 3, 0.94), rgba(8, 5, 3, 0.70)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.82) 100%),
      url("assets/hero-editorial-trust-optimized.jpg");
    background-size: cover, cover, cover;
    background-position: center, center, 62% center;
  }
  .hero-experience-wrap {
    align-items: flex-start;
    padding-top: 82px;
    padding-bottom: 158px;
  }
  .hero-experience h1 {
    font-size: 58px;
    max-width: 12ch;
  }
  .hero-experience .hero-v2-lede { font-size: 21px; }
  .hero-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 20px;
    right: 20px;
    bottom: 22px;
  }
  .hero-bottom-row span:nth-child(2) { border-right: 0; }
  .hero-bottom-row span:nth-child(-n+2) { border-bottom: 1px solid rgba(244, 238, 223, 0.12); }
  .hero-media-controls {
    right: 20px;
    bottom: 150px;
  }
}
@media (max-width: 560px) {
  .hero-experience-wrap {
    padding-top: 62px;
    padding-bottom: 178px;
  }
  .hero-experience h1 {
    font-size: 48px;
    line-height: 0.98;
  }
  .hero-experience .hero-v2-lede {
    font-size: 19px;
    line-height: 1.42;
    max-width: 100%;
  }
  .hero-experience .hero-v2-cta .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-bottom-row span {
    min-height: 48px;
    padding: 0 10px;
    font-size: 9.5px;
  }
  .hero-media-controls {
    right: 14px;
    bottom: 132px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-progress-ring-progress {
    transition: none;
  }
}

/* Hero right: substantive preview of the reviews matrix.
   Replaces V1's decorative anvil panel with editorial proof. */
.hero-preview {
  position: relative;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.hero-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--brass);
  margin-bottom: 0;
}
.hero-preview-eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero-preview-stamp {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--bronze-deep);
  text-transform: uppercase;
}
.hero-preview-list {
  display: grid;
  grid-template-columns: 1fr;
}
.hero-preview-row {
  display: grid;
  grid-template-columns: 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.hero-preview-row:last-child { border-bottom: none; }
.hero-preview-row .hp-key {
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero-preview-row .hp-val {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.45;
  margin-top: 4px;
}
.hero-preview-foot {
  padding-top: 16px;
  border-top: 1px solid var(--brass);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--bronze-deep);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

/* V2 trust strip: clinical scope items, monospaced, sparse */
.trust-v2 {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
  background: var(--bg);
}
.trust-v2-inner {
  display: flex;
  gap: 22px 32px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-deep);
}
.trust-v2-inner .tv-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.trust-v2-inner .tv-item + .tv-item::before {
  content: "·";
  color: var(--brass);
  margin-right: 8px;
}

/* ============================================================
   DECISION MATRIX — the signature module
   "What Foundry reviews before care starts."
   ============================================================ */
.dmatrix {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 32px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.dmatrix-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.dmatrix-row:last-child { border-bottom: none; }
.dmatrix-key {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.dmatrix-key .dmk-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.dmatrix-why {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
@media (max-width: 720px) {
  .dmatrix-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}

/* ============================================================
   DECISION CARDS — numbered editorial, no rounded sage backgrounds
   ============================================================ */
.dcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
  margin-top: 32px;
}
.dcard {
  position: relative;
  padding: 32px 36px 36px;
  background: var(--bg);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.12s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.dcard:hover { background: var(--paper); text-decoration: none; }
.dcard .dc-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dcard .dc-num::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--brass);
}
.dcard .dc-title {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 4px 0 0;
}
.dcard .dc-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.dcard .dc-cta {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bronze);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.dcard .dc-cta::after {
  content: "→";
  color: var(--brass);
}
@media (max-width: 900px) {
  .dcards { grid-template-columns: 1fr; }
}

/* Two-column variant for integrative sub-cards (Sleep / Hormone) */
.icards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.icard {
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 28px 32px;
}
.icard .ic-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bronze);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.icard .ic-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--brass);
}
.icard .ic-title {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 10px;
}
.icard .ic-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 1080px) { .icards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .icards { grid-template-columns: 1fr; } }

/* Framework items: Referral Review + Care Coordination */
.framework {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  margin-top: 28px;
}
.framework-item {
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  padding: 32px 36px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.framework-item:last-child { border-right: none; }
.framework-item .fw-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
}
.framework-item .fw-title {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 28px);
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
.framework-item .fw-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 720px) {
  .framework { grid-template-columns: 1fr; }
  .framework-item { border-right: none; }
}

.section-focus {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.focus-head {
  max-width: 64ch;
  margin-bottom: 28px;
}
.focus-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  color: var(--ink);
  margin: 16px 0 14px;
}
.focus-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--brass);
  border-left: 1px solid var(--rule);
}
.focus-card {
  min-height: 260px;
  padding: 26px;
  background: var(--bg);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.focus-num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
  margin-bottom: 18px;
}
.focus-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 12px;
}
.focus-card p {
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 1100px) { .focus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .focus-grid { grid-template-columns: 1fr; } }

/* Service section block — used by section #2 "The Full Picture, Evaluated"
   for the 5 core services rendered as numbered decision cards in a 2-col grid. */
.section-clinical {
  padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.section-clinical .sc-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 36px;
}
@media (max-width: 900px) {
  .section-clinical .sc-head { grid-template-columns: 1fr; gap: 32px; }
}
.section-clinical .sc-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 16px 0 0;
}
.section-clinical .sc-head .sc-body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}

/* Reviews matrix wrapper — taller, more deliberate section */
.section-reviews {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-reviews .rev-head {
  margin-bottom: 24px;
  max-width: 56ch;
}
.section-reviews .rev-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 16px 0 16px;
}
.section-reviews .rev-head p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* Integrative section */
.section-integrative {
  padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}
.section-integrative .int-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 16px;
}
@media (max-width: 900px) {
  .section-integrative .int-head { grid-template-columns: 1fr; gap: 32px; }
}
.section-integrative .int-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 16px 0 0;
}
.section-integrative .int-head p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}

.about-copy p {
  margin: 0 0 16px;
}
.about-copy p:last-child {
  margin-bottom: 0;
}

.integrative-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
  margin: 32px 0 28px;
  align-items: stretch;
}
.integrative-image {
  min-height: 420px;
  border: 1px solid var(--border);
  background: var(--paper);
  overflow: hidden;
}
.integrative-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.integrative-inputs,
.lifestyle-wheel {
  margin: 0;
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 24px;
}
.integrative-inputs figcaption,
.lifestyle-wheel figcaption {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.integrative-inputs figcaption strong,
.lifestyle-wheel figcaption strong {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.08;
  color: var(--ink);
  font-weight: 400;
}
.figure-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.inputs-map {
  display: grid;
  gap: 10px;
}
.input-node {
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: var(--bg);
}
.input-node span {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 7px;
}
.input-node p {
  margin: 0;
  font-size: 14px;
  line-height: 1.48;
  color: var(--ink-2);
}
.lifestyle-wheel {
  margin-top: 24px;
}
.wheel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--brass);
  border-left: 1px solid var(--rule);
}
.wheel-item {
  min-height: 132px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.08;
}
.wheel-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
}
@media (max-width: 1020px) {
  .integrative-visual { grid-template-columns: 1fr; }
  .integrative-image { min-height: 340px; }
  .wheel-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .wheel-grid { grid-template-columns: 1fr; }
  .wheel-item { min-height: 92px; }
}

/* Framework section */
.section-framework {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-framework .fw-head {
  max-width: 60ch;
}
.section-framework .fw-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 16px 0 14px;
}
.section-framework .fw-head p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   V2 EDITORIAL · PROVIDER · SERVICES LEDGER · EXCLUDED · BILLING
   Hairline editorial replacements for the V1 sage/rounded chrome.
   ============================================================ */

/* Provider — editorial */
.section-provider {
  padding: 112px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.prov-ed {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: stretch;
}
.prov-ed-frame {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 9px, rgba(201, 165, 112, 0.06) 9px 10px);
}
.prov-ed-frame .prov-ed-frame-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--brass);
  text-transform: uppercase;
}
.prov-ed-frame .prov-ed-frame-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  align-self: flex-end;
}
.prov-ed-frame .prov-ed-frame-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  align-self: flex-end;
}
.prov-ed-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
}
.prov-ed-text h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 6px 0 0;
}
.prov-ed-text p {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}
.prov-ed-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 8px;
}
.prov-ed-meta > div {
  padding: 16px 16px 16px 0;
  border-right: 1px solid var(--rule);
}
.prov-ed-meta > div:last-child { border-right: none; padding-right: 0; }
.prov-ed-meta .pem-k {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.prov-ed-meta .pem-v {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.prov-ed-cta { margin-top: 8px; }
@media (max-width: 900px) {
  .prov-ed { grid-template-columns: 1fr; gap: 32px; }
  .prov-ed-frame { min-height: 280px; }
  .prov-ed-meta { grid-template-columns: 1fr 1fr; }
}

/* Services ledger — editorial rows */
.svc-led-head {
  max-width: 64ch;
  margin-bottom: 24px;
}
.svc-led-head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 16px 0 12px;
}
.svc-led-head p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.svc-ledger {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.svc-row {
  display: grid;
  grid-template-columns: 64px 1.1fr 1.4fr 1.4fr 120px;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s ease;
}
.svc-row:last-child { border-bottom: none; }
.svc-row:hover { background: var(--paper); text-decoration: none; }
.svc-row-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--brass);
  padding-top: 4px;
}
.svc-row-title .svc-row-kicker {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 6px;
}
.svc-row-title .svc-row-h {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -0.012em;
  line-height: 1.15;
  color: var(--ink);
}
.svc-row-desc {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
.svc-row-boundary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc-row-boundary .svc-row-blabel {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--brass);
  text-transform: uppercase;
}
.svc-row-boundary .svc-row-btext {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  font-style: italic;
}
.svc-row-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  text-align: right;
  white-space: nowrap;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.svc-row .svc-arr { transition: transform 0.18s ease; color: var(--brass); }
.svc-row:hover .svc-arr { transform: translateX(4px); }
@media (max-width: 960px) {
  .svc-row {
    grid-template-columns: 48px 1fr;
    gap: 12px 20px;
  }
  .svc-row-num { grid-row: 1 / span 2; padding-top: 6px; }
  .svc-row-desc, .svc-row-boundary, .svc-row-cta { grid-column: 2; }
}

/* Outside-scope table */
.section-exclude {
  padding: 96px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.section-exclude .excl-head {
  max-width: 64ch;
  margin-bottom: 24px;
}
.section-exclude .excl-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 16px 0 12px;
}
.section-exclude .excl-head p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.excl-table {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.excl-row {
  display: grid;
  grid-template-columns: 48px 1fr 140px;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.excl-row:last-child { border-bottom: none; }
.excl-row .excl-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.excl-row .excl-name {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.excl-row .excl-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  text-align: right;
}

/* Billing caveat — dark editorial */
.section-billing {
  padding: 96px 0;
  background: var(--ink);
  color: var(--bg);
}
.section-billing h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 14px 0 12px;
  color: var(--bg);
}
.section-billing p {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(246, 241, 231, 0.78);
  max-width: 56ch;
  margin: 0;
}
.billing-ed {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
}
.billing-ed-cta { padding-bottom: 4px; }
@media (max-width: 880px) {
  .billing-ed { grid-template-columns: 1fr; }
}

/* Hero alt right column — portrait specimen */
.hero-portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--paper);
}
.hero-portrait .hp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 22px;
  border-bottom: 1px solid var(--brass);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-portrait .hp-eyebrow { color: var(--brass); }
.hero-portrait .hp-stamp { color: var(--ink-3); }
.hero-portrait .hp-frame {
  position: relative;
  height: 360px;
  background-image:
    radial-gradient(ellipse 75% 55% at 60% 30%, rgba(201, 165, 112, 0.08), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(201, 165, 112, 0.08) 8px 9px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 22px;
}
.hero-portrait .hp-frame-tag,
.hero-portrait .hp-frame-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-portrait .hp-frame-meta { align-self: flex-end; }
.hero-portrait .hp-meta {
  border-top: 1px solid var(--brass);
}
.hero-portrait .hp-meta-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 22px;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
}
.hero-portrait .hp-meta-row:last-child { border-bottom: none; }
.hero-portrait .hp-meta-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--bronze);
  text-transform: uppercase;
  align-self: center;
}
.hero-portrait .hp-meta-v {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Hero alt right column — first-visit specimen */
.hero-specimen {
  border: 1px solid var(--border);
  background: var(--paper);
}
.hero-specimen .hs-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 26px;
  border-bottom: 1px solid var(--brass);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-specimen .hs-eyebrow { color: var(--brass); }
.hero-specimen .hs-stamp { color: var(--ink-3); }
.hero-specimen .hs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-specimen .hs-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.hero-specimen .hs-list li:last-child { border-bottom: 1px solid var(--brass); }
.hero-specimen .hs-numeral {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--brass);
  line-height: 1;
  padding-top: 2px;
}
.hero-specimen .hs-body { display: flex; flex-direction: column; gap: 4px; }
.hero-specimen .hs-key {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}
.hero-specimen .hs-val {
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.hero-specimen .hs-foot {
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

/* ============================================================
   V3 — DARK EDITORIAL CLINICAL
   Scoped via body[data-palette="v3-dark"] so V2 stays untouched.
   ============================================================ */

body[data-palette="v3-dark"] {
  /* Surfaces */
  --bg: #0B0C0E;            /* Obsidian — canvas */
  --bg-warm: #0F1013;
  --paper: #15171A;         /* Graphite — surface 1 */
  --paper-2: #22252A;       /* Carbon — surface 2 */

  /* Type */
  --ink: #F4EEDF;           /* Bone — primary text */
  --ink-2: #A8A39A;         /* Stone — secondary */
  --ink-3: #6B6E73;         /* Slate — tertiary */

  /* Accents — Bronze 2026 is the editorial rule color */
  --brass: #C9A570;
  --brass-light: #D9B984;
  --bronze: #C9A570;
  --bronze-deep: #A88547;

  /* CTA — Ember */
  --orange: #F4663A;
  --orange-deep: #D14817;

  /* Reserved accent. Public UI should default to brass/ember to avoid accent sprawl. */
  --sage: rgba(90, 122, 110, 0.18);
  --sage-deep: rgba(90, 122, 110, 0.32);
  --sage-tint: rgba(90, 122, 110, 0.12);

  /* Hairlines + borders */
  --rule: rgba(201, 165, 112, 0.16);
  --border: rgba(201, 165, 112, 0.26);
  --border-strong: rgba(244, 238, 223, 0.28);

  /* Type stacks */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  /* --serif (Spectral) stays */

  --shadow-sm: 0 1px 0 rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.5);
  --shadow: 0 1px 0 rgba(0,0,0,0.4), 0 12px 28px -10px rgba(0,0,0,0.6);
  --shadow-lg: 0 1px 0 rgba(0,0,0,0.4), 0 32px 80px -20px rgba(0,0,0,0.7);
}

/* H1 is the design — scale up in V3 */
body[data-palette="v3-dark"] .hero-v2 {
  padding: 120px 0 128px;
}
body[data-palette="v3-dark"] .hero-v2 h1 {
  font-size: clamp(56px, 8.5vw, 124px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  max-width: 14ch;
  color: var(--ink);
}
body[data-palette="v3-dark"] .hero-v2 h1 .brand-mark-inline {
  font-family: var(--mono);
  font-size: 0.18em;
  letter-spacing: 0.32em;
  color: var(--brass);
  vertical-align: 0.7em;
  margin-right: 14px;
  font-weight: 500;
}
body[data-palette="v3-dark"] .hero-v2 .hero-v2-lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 1.55vw, 23px);
  color: var(--ink-2);
}
body[data-palette="v3-dark"] .hero-v2 .brand-eyebrow {
  color: var(--brass);
  font-family: var(--mono);
  margin-bottom: 36px;
}
body[data-palette="v3-dark"] .hero-v2 .hero-v2-support {
  color: var(--brass);
  opacity: 0.78;
  font-family: var(--mono);
}

/* Hero preview (right column) — graphite with bronze edge */
body[data-palette="v3-dark"] .hero-preview,
body[data-palette="v3-dark"] .hero-portrait,
body[data-palette="v3-dark"] .hero-specimen {
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
body[data-palette="v3-dark"] .hero-preview-row .hp-key,
body[data-palette="v3-dark"] .hero-specimen .hs-key {
  color: var(--ink);
}
body[data-palette="v3-dark"] .hero-preview-row .hp-val,
body[data-palette="v3-dark"] .hero-specimen .hs-val {
  color: var(--ink-2);
}
body[data-palette="v3-dark"] .hero-preview-head,
body[data-palette="v3-dark"] .hero-portrait .hp-head,
body[data-palette="v3-dark"] .hero-specimen .hs-head,
body[data-palette="v3-dark"] .hero-preview-foot,
body[data-palette="v3-dark"] .hero-portrait .hp-meta,
body[data-palette="v3-dark"] .hero-specimen .hs-list li:last-child {
  border-color: var(--brass);
}

/* Trust strip — keep on canvas with bronze items */
body[data-palette="v3-dark"] .trust-v2 {
  border-top-color: var(--rule);
  border-bottom-color: var(--rule);
}
body[data-palette="v3-dark"] .trust-v2-inner { color: var(--ink-2); }
body[data-palette="v3-dark"] .trust-v2-inner .tv-item + .tv-item::before { color: var(--brass); }

/* Decision cards — flat carbon panels with bronze edge on hover */
body[data-palette="v3-dark"] .dcards {
  border-top-color: var(--brass);
  border-left: none;
}
body[data-palette="v3-dark"] .dcard {
  background: transparent;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
body[data-palette="v3-dark"] .dcard:hover { background: var(--paper); }
body[data-palette="v3-dark"] .dcard .dc-title { color: var(--ink); }
body[data-palette="v3-dark"] .dcard .dc-body { color: var(--ink-2); }
body[data-palette="v3-dark"] .dcard .dc-num,
body[data-palette="v3-dark"] .dcard .dc-cta { color: var(--brass); }
body[data-palette="v3-dark"] .dcard .dc-num::after,
body[data-palette="v3-dark"] .dcard .dc-cta::after { background: var(--brass); color: var(--brass); }

/* Reviews matrix — clinical brief */
body[data-palette="v3-dark"] .section-reviews {
  background: var(--paper);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .dmatrix {
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .dmatrix-row { border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .dmatrix-key { color: var(--ink); }
body[data-palette="v3-dark"] .dmatrix-why { color: var(--ink-2); }
body[data-palette="v3-dark"] .dmk-num { color: var(--brass); }

/* Integrative — brass-only eyebrows */
body[data-palette="v3-dark"] .icards { gap: 28px; }
body[data-palette="v3-dark"] .icard {
  background: var(--paper);
  border: 1px solid var(--rule);
}
body[data-palette="v3-dark"] .icard .ic-eyebrow { color: var(--brass); }
body[data-palette="v3-dark"] .icard .ic-eyebrow::before { background: var(--brass); }
body[data-palette="v3-dark"] .icard .ic-title { color: var(--ink); }
body[data-palette="v3-dark"] .icard .ic-body { color: var(--ink-2); }

/* Framework section */
body[data-palette="v3-dark"] .section-framework {
  background: var(--paper);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .framework { border-top-color: var(--brass); }
body[data-palette="v3-dark"] .framework-item {
  background: transparent;
  border-bottom-color: var(--rule);
  border-right-color: var(--rule);
}
body[data-palette="v3-dark"] .framework-item .fw-title { color: var(--ink); }
body[data-palette="v3-dark"] .framework-item .fw-body { color: var(--ink-2); }
body[data-palette="v3-dark"] .framework-item .fw-eyebrow { color: var(--brass); }

/* Section eyebrow rule color */
body[data-palette="v3-dark"] .sec-num { color: var(--brass); }
body[data-palette="v3-dark"] .sec-num::before { background: var(--brass); }

/* Section headers' main text */
body[data-palette="v3-dark"] .section-clinical .sc-head h2,
body[data-palette="v3-dark"] .section-reviews .rev-head h2,
body[data-palette="v3-dark"] .section-integrative .int-head h2,
body[data-palette="v3-dark"] .section-framework .fw-head h2,
body[data-palette="v3-dark"] .section-focus .focus-head h2,
body[data-palette="v3-dark"] .svc-led-head h2,
body[data-palette="v3-dark"] .section-exclude .excl-head h2 {
  color: var(--ink);
}
body[data-palette="v3-dark"] .section-clinical .sc-head .sc-body,
body[data-palette="v3-dark"] .section-reviews .rev-head p,
body[data-palette="v3-dark"] .section-integrative .int-head p,
body[data-palette="v3-dark"] .section-framework .fw-head p,
body[data-palette="v3-dark"] .section-focus .focus-head p,
body[data-palette="v3-dark"] .svc-led-head p,
body[data-palette="v3-dark"] .section-exclude .excl-head p {
  color: var(--ink-2);
}

body[data-palette="v3-dark"] .section-focus {
  background: var(--paper);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .focus-grid {
  border-top-color: var(--brass);
  border-left-color: var(--rule);
}
body[data-palette="v3-dark"] .focus-card {
  background: transparent;
  border-right-color: var(--rule);
  border-bottom-color: var(--rule);
}
body[data-palette="v3-dark"] .focus-card h3 { color: var(--ink); }
body[data-palette="v3-dark"] .focus-card p { color: var(--ink-2); }
body[data-palette="v3-dark"] .focus-num { color: var(--brass); }
body[data-palette="v3-dark"] .integrative-image,
body[data-palette="v3-dark"] .integrative-inputs,
body[data-palette="v3-dark"] .lifestyle-wheel {
  background: var(--paper);
  border-color: var(--rule);
}
body[data-palette="v3-dark"] .input-node,
body[data-palette="v3-dark"] .wheel-item {
  background: transparent;
  border-color: var(--rule);
}
body[data-palette="v3-dark"] .integrative-inputs figcaption strong,
body[data-palette="v3-dark"] .lifestyle-wheel figcaption strong,
body[data-palette="v3-dark"] .wheel-item {
  color: var(--ink);
}
body[data-palette="v3-dark"] .input-node p { color: var(--ink-2); }
body[data-palette="v3-dark"] .figure-kicker,
body[data-palette="v3-dark"] .input-node span,
body[data-palette="v3-dark"] .wheel-num { color: var(--brass); }
body[data-palette="v3-dark"] .wheel-grid {
  border-top-color: var(--brass);
  border-left-color: var(--rule);
}

/* Nav — translucent obsidian */
body[data-palette="v3-dark"] .nav {
  background: rgba(11, 12, 14, 0.18);
  border-bottom-color: rgba(244, 238, 223, 0.1);
}
body[data-palette="v3-dark"] .nav.is-scrolled,
body[data-palette="v3-dark"] .nav.nav-is-open {
  background: rgba(11, 12, 14, 0.86);
  border-bottom-color: rgba(201, 165, 112, 0.22);
}
body[data-palette="v3-dark"] .nav-links button,
body[data-palette="v3-dark"] .nav-links a { color: var(--ink-2); }
body[data-palette="v3-dark"] .nav-links button:hover,
body[data-palette="v3-dark"] .nav-links a:hover { color: var(--ink); }
body[data-palette="v3-dark"] .nav-links .nav-active { color: var(--ink); }
body[data-palette="v3-dark"] .nav-links .nav-active::after { background: var(--brass); }
body[data-palette="v3-dark"] .brand { color: var(--ink); }
body[data-palette="v3-dark"] .brand small { color: var(--brass); }
body[data-palette="v3-dark"] .nav-dropdown {
  background: rgba(11, 12, 14, 0.94);
  border-bottom-color: rgba(201, 165, 112, 0.22);
  box-shadow: 0 34px 80px -38px rgba(0,0,0,0.75);
}
body[data-palette="v3-dark"] .nav-dropdown button { color: var(--ink); border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .nav-dropdown button:hover { color: var(--brass); }
body[data-palette="v3-dark"] .nav-dropdown .nd-meta { color: var(--ink-3); }

/* Mobile menu */
body[data-palette="v3-dark"] .mobile-menu { background: var(--bg); }
body[data-palette="v3-dark"] .mobile-menu a,
body[data-palette="v3-dark"] .mobile-menu button.mm-link {
  color: var(--ink);
  border-bottom-color: var(--rule);
}

/* Announcement strip — flips to graphite with bronze rule under */
body[data-palette="v3-dark"] .anno {
  background: #07080A;
  color: var(--ink-2);
  border-bottom: 1px solid var(--brass);
  font-family: var(--mono);
}
body[data-palette="v3-dark"] .anno .anno-dot { background: var(--brass); }
body[data-palette="v3-dark"] .anno a { color: var(--brass); }

/* Safety strip — stays prominent; carbon with ember accent + bronze top rule */
body[data-palette="v3-dark"] .safety {
  background: var(--paper-2);
  border-top: 1px solid var(--brass);
  color: var(--ink);
}
body[data-palette="v3-dark"] .safety-body { color: var(--ink-2); }
body[data-palette="v3-dark"] .safety-body strong { color: var(--ink); }
body[data-palette="v3-dark"] .safety-label { color: var(--ink-2); }
body[data-palette="v3-dark"] .safety-label .sl-mark { background: var(--brass); }
body[data-palette="v3-dark"] .safety-cta { color: var(--brass); }
body[data-palette="v3-dark"] .safety-cta:hover { color: var(--ink); }

/* Footer — graphite */
body[data-palette="v3-dark"] .foot {
  background: var(--paper);
  color: var(--ink-2);
  border-top: 1px solid var(--rule);
}
body[data-palette="v3-dark"] .foot a { color: var(--ink-2); }
body[data-palette="v3-dark"] .foot a:hover { color: var(--brass); }
body[data-palette="v3-dark"] .foot .foot-brand { color: var(--ink); }
body[data-palette="v3-dark"] .foot .foot-tag { color: var(--ink-2); }
body[data-palette="v3-dark"] .foot .foot-col-label { color: var(--brass); }
body[data-palette="v3-dark"] .foot-bottom { color: var(--ink-3); border-top-color: var(--rule); }
body[data-palette="v3-dark"] .foot-bottom .fb-links a { color: var(--ink-3); }

/* Buttons */
body[data-palette="v3-dark"] .btn-primary {
  background: var(--orange);
  color: #0B0C0E;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2), 0 1px 2px rgba(244, 102, 58, 0.4);
}
body[data-palette="v3-dark"] .btn-primary:hover {
  background: #FF7B50;
  color: #0B0C0E;
  box-shadow: 0 0 0 1px rgba(255, 123, 80, 0.18), 0 0 18px rgba(244, 102, 58, 0.18);
}
body[data-palette="v3-dark"] .btn-secondary {
  color: var(--ink);
  border-color: var(--brass);
  background: transparent;
}
body[data-palette="v3-dark"] .btn-secondary:hover {
  background: var(--brass);
  color: var(--bg);
  border-color: var(--brass);
}
body[data-palette="v3-dark"] .btn-ghost { color: var(--ink); }
body[data-palette="v3-dark"] .btn-ghost:hover { color: var(--brass); }

/* Page header */
body[data-palette="v3-dark"] .ph { border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .ph-title { color: var(--ink); }
body[data-palette="v3-dark"] .ph-lede { color: var(--ink-2); font-weight: 400; }
body[data-palette="v3-dark"] .ph-meta { border-top-color: var(--rule); }
body[data-palette="v3-dark"] .ph-meta .pm-v { color: var(--ink); }

/* Service ledger rows */
body[data-palette="v3-dark"] .svc-ledger {
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .svc-row { border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .svc-row:hover { background: var(--paper); }
body[data-palette="v3-dark"] .svc-row-title .svc-row-h { color: var(--ink); }
body[data-palette="v3-dark"] .svc-row-desc,
body[data-palette="v3-dark"] .svc-row-boundary .svc-row-btext { color: var(--ink-2); }
body[data-palette="v3-dark"] .svc-row-title .svc-row-kicker,
body[data-palette="v3-dark"] .svc-row-boundary .svc-row-blabel,
body[data-palette="v3-dark"] .svc-row-cta { color: var(--brass); }

/* Excluded table */
body[data-palette="v3-dark"] .section-exclude {
  background: var(--paper);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .excl-table {
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .excl-row { border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .excl-row .excl-name { color: var(--ink); }
body[data-palette="v3-dark"] .excl-row .excl-num,
body[data-palette="v3-dark"] .excl-row .excl-tag { color: var(--brass); }

/* Billing caveat in dark — section already dark; tweak text color and CTA */
body[data-palette="v3-dark"] .section-billing {
  background: var(--paper-2);
  color: var(--ink);
  border-top: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .section-billing h2 { color: var(--ink); }
body[data-palette="v3-dark"] .section-billing p { color: var(--ink-2); }

/* Provider section editorial — adapt frame */
body[data-palette="v3-dark"] .section-provider {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
body[data-palette="v3-dark"] .prov-ed-frame {
  background: var(--paper);
  border-color: var(--border);
  background-image:
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(201, 165, 112, 0.05) 10px 11px);
}
body[data-palette="v3-dark"] .prov-ed-text h2 { color: var(--ink); }
body[data-palette="v3-dark"] .prov-ed-text p { color: var(--ink-2); }
body[data-palette="v3-dark"] .prov-ed-meta { border-top-color: var(--brass); border-bottom-color: var(--brass); }
body[data-palette="v3-dark"] .prov-ed-meta > div { border-right-color: var(--rule); }
body[data-palette="v3-dark"] .prov-ed-meta .pem-v { color: var(--ink); }

/* CTA band */
body[data-palette="v3-dark"] .cta-band {
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
body[data-palette="v3-dark"] .cta-band-inner h2 { color: var(--ink); }
body[data-palette="v3-dark"] .cta-band-inner h2 span { color: var(--brass) !important; }
body[data-palette="v3-dark"] .cta-band .eyebrow { color: var(--brass); }
body[data-palette="v3-dark"] .cta-band .eyebrow .dot { background: var(--brass); }

/* How care starts steps */
body[data-palette="v3-dark"] .steps { border-top-color: var(--rule); }
body[data-palette="v3-dark"] .step { border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .step .step-num { color: var(--brass); }
body[data-palette="v3-dark"] .step .step-t { color: var(--ink); }
body[data-palette="v3-dark"] .step .step-b { color: var(--ink-2); }

/* FAQ */
body[data-palette="v3-dark"] .faq-item { border-top-color: var(--rule); }
body[data-palette="v3-dark"] .faq-item:last-child { border-bottom-color: var(--rule); }
body[data-palette="v3-dark"] .faq-q { color: var(--ink); }
body[data-palette="v3-dark"] .faq-q .faq-mark { color: var(--brass); }
body[data-palette="v3-dark"] .faq-a-inner { color: var(--ink-2); }

/* Card variants */
body[data-palette="v3-dark"] .card { background: var(--paper); border-color: var(--border); }
body[data-palette="v3-dark"] .card.card-quiet { background: transparent; border-color: var(--rule); }
body[data-palette="v3-dark"] .card.card-sage {
  background: rgba(90, 122, 110, 0.12);
  border-color: rgba(90, 122, 110, 0.3);
}
body[data-palette="v3-dark"] .card.card-ink {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--brass);
}
body[data-palette="v3-dark"] .patient-system-shell,
body[data-palette="v3-dark"] .dashboard-card,
body[data-palette="v3-dark"] .patient-system-principles > div,
body[data-palette="v3-dark"] .patient-system-embed-fallback > div {
  background: var(--paper);
  border-color: var(--border);
  color: var(--ink);
}
body[data-palette="v3-dark"] .patient-system-shell-head,
body[data-palette="v3-dark"] .automation-list,
body[data-palette="v3-dark"] .status-ledger,
body[data-palette="v3-dark"] .automation-row,
body[data-palette="v3-dark"] .status-row {
  border-color: var(--rule);
}
body[data-palette="v3-dark"] .patient-system-shell-head h2,
body[data-palette="v3-dark"] .dashboard-card h3,
body[data-palette="v3-dark"] .patient-system-embed-fallback h3 {
  color: var(--ink);
}
body[data-palette="v3-dark"] .patient-system-shell-head p,
body[data-palette="v3-dark"] .dashboard-card p,
body[data-palette="v3-dark"] .patient-system-embed-fallback p,
body[data-palette="v3-dark"] .automation-row p,
body[data-palette="v3-dark"] .status-row p,
body[data-palette="v3-dark"] .patient-system-principles p {
  color: var(--ink-2);
}
body[data-palette="v3-dark"] .dashboard-kicker,
body[data-palette="v3-dark"] .automation-row span,
body[data-palette="v3-dark"] .status-area {
  color: var(--brass);
}
body[data-palette="v3-dark"] .patient-system-embed-fallback {
  background:
    linear-gradient(135deg, rgba(201, 165, 112, 0.09), transparent 42%),
    repeating-linear-gradient(45deg, transparent 0 11px, rgba(201, 165, 112, 0.05) 11px 12px),
    var(--paper-2);
}
body[data-palette="v3-dark"] .integration-badge.ready {
  color: var(--brass);
  border-color: rgba(201, 165, 112, 0.36);
  background: rgba(201, 165, 112, 0.08);
}
body[data-palette="v3-dark"] .integration-badge.pending {
  color: var(--ink-2);
  border-color: var(--rule);
  background: rgba(244, 238, 223, 0.04);
}
body[data-palette="v3-dark"] .dashboard-link {
  color: var(--brass);
}
body[data-palette="v3-dark"] .dashboard-link:hover {
  color: var(--ink);
}

/* Service cards (V1 fallback) */
body[data-palette="v3-dark"] .svc-card {
  background: var(--paper);
  border-color: var(--rule);
  color: var(--ink);
}
body[data-palette="v3-dark"] .svc-card .svc-num { color: var(--brass); }
body[data-palette="v3-dark"] .svc-card .svc-title { color: var(--ink); }
body[data-palette="v3-dark"] .svc-card .svc-body { color: var(--ink-2); }
body[data-palette="v3-dark"] .svc-card:hover { border-color: var(--brass); background: var(--paper-2); }

/* Sage backgrounds disabled in V3 */
body[data-palette="v3-dark"] .bg-sage {
  background: var(--paper);
}
body[data-palette="v3-dark"] .bg-ink { background: var(--paper-2); color: var(--ink); }
body[data-palette="v3-dark"] .bg-paper { background: var(--paper); }

/* Provider portrait fallback (sage variant) */
body[data-palette="v3-dark"] .provider {
  background: var(--paper);
  border-color: var(--border);
}
body[data-palette="v3-dark"] .provider .pv-img {
  background:
    radial-gradient(ellipse 70% 50% at 60% 30%, rgba(201, 165, 112, 0.1), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(201, 165, 112, 0.06) 7px 8px),
    var(--paper-2);
}
body[data-palette="v3-dark"] .provider .pv-name { color: var(--ink); }
body[data-palette="v3-dark"] .provider .pv-role { color: var(--brass); }
body[data-palette="v3-dark"] .provider .pv-img .pv-tag { color: var(--brass); }

/* Form controls */
body[data-palette="v3-dark"] .input,
body[data-palette="v3-dark"] .textarea,
body[data-palette="v3-dark"] .select {
  background: var(--paper-2);
  border-color: var(--border-strong);
  color: var(--ink);
}
body[data-palette="v3-dark"] .input:focus,
body[data-palette="v3-dark"] .textarea:focus,
body[data-palette="v3-dark"] .select:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(201, 165, 112, 0.16);
}
body[data-palette="v3-dark"] .radio-card {
  background: var(--paper);
  border-color: var(--rule);
  color: var(--ink);
}
body[data-palette="v3-dark"] .radio-card .rc-desc { color: var(--ink-2); }
body[data-palette="v3-dark"] .radio-card .rc-dot { border-color: var(--brass); }
body[data-palette="v3-dark"] .radio-card.selected { background: var(--paper-2); box-shadow: 0 0 0 1px var(--brass) inset; border-color: var(--brass); }
body[data-palette="v3-dark"] .radio-card.selected .rc-dot { border-color: var(--brass); }

/* Modal */
body[data-palette="v3-dark"] .modal { background: var(--paper); color: var(--ink); border: 1px solid var(--rule); }
body[data-palette="v3-dark"] .modal-head, body[data-palette="v3-dark"] .modal-foot { background: var(--paper); border-color: var(--rule); }
body[data-palette="v3-dark"] .modal-head .mh-close { color: var(--ink); }
body[data-palette="v3-dark"] .modal-backdrop { background: rgba(7, 8, 10, 0.7); }

/* Field labels and helpers */
body[data-palette="v3-dark"] .field > label { color: var(--brass); }
body[data-palette="v3-dark"] .field > .field-help { color: var(--ink-3); }

/* Pills */
body[data-palette="v3-dark"] .pill { background: rgba(244, 238, 223, 0.04); border-color: var(--rule); color: var(--brass); }

/* Steps dots */
body[data-palette="v3-dark"] .step-dot { background: var(--rule); }
body[data-palette="v3-dark"] .step-dot.done { background: var(--brass); }
body[data-palette="v3-dark"] .step-dot.active { background: var(--brass); }

/* Stamp */
body[data-palette="v3-dark"] .stamp {
  color: var(--brass);
  border-color: var(--brass);
  background: rgba(201, 165, 112, 0.06);
}

/* Sticky mobile CTA */
body[data-palette="v3-dark"] .sticky-cta { background: var(--paper-2); border: 1px solid var(--brass); }
body[data-palette="v3-dark"] .sticky-cta button { color: var(--ink); }

/* Crisis link */
body[data-palette="v3-dark"] .crisis-link { color: var(--brass); }

/* Learn + commerce readiness */
.learn-page .ph,
.learn-article-page .ph {
  border-bottom: 1px solid var(--rule);
}

.learn-section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.learn-section-head h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.98;
  font-weight: 300;
}

.learn-topic-grid,
.learn-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.learn-topic-card,
.learn-card,
.learn-related-card {
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: 8px;
  padding: 22px;
}

.learn-topic-card h3,
.learn-card h3,
.learn-related-card h3 {
  margin: 8px 0 10px;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.02;
  font-weight: 400;
}

.learn-topic-card p,
.learn-card p,
.learn-related-card p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

.learn-topic {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--bronze);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.learn-card-meta,
.learn-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.learn-card-meta span,
.learn-article-meta span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.learn-link {
  margin-top: 20px;
  border: 0;
  background: transparent;
  color: var(--bronze);
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}

.learn-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.learn-article-body {
  max-width: 760px;
}

.learn-article-body section + section {
  margin-top: 34px;
}

.learn-article-body h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.05;
  font-weight: 400;
}

.learn-article-body p {
  margin: 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}

.learn-ad-safe-note,
.learn-disclaimer {
  border: 1px solid var(--rule);
  background: var(--panel);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 30px;
  color: var(--ink-2);
}

.learn-article-aside {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
}

@media (max-width: 900px) {
  .learn-topic-grid,
  .learn-card-grid,
  .learn-article-layout {
    grid-template-columns: 1fr;
  }

  .learn-article-aside {
    position: static;
  }
}

/* Body links inside prose — brass, not teal, to keep the accent system tight */
body[data-palette="v3-dark"] .prose a { color: var(--brass); }
body[data-palette="v3-dark"] .prose a:hover { color: var(--ink); }

/* Selection */
body[data-palette="v3-dark"] ::selection { background: var(--orange); color: #0B0C0E; }

/* Subtle atmosphere — vignette behind hero, very low key */
body[data-palette="v3-dark"] .hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(201, 165, 112, 0.05), transparent 60%),
    radial-gradient(ellipse 70% 60% at 10% 90%, rgba(244, 102, 58, 0.04), transparent 60%);
  pointer-events: none;
}
body[data-palette="v3-dark"] .hero-v2 .wrap { position: relative; z-index: 1; }

/* ============================================================
   MOBILE FIRST-CLASS PASS
   Route-wide phone ergonomics, density, and overlay behavior.
   ============================================================ */

body.nav-open .sticky-cta,
body.modal-open .sticky-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  .wrap,
  .wrap-narrow,
  .wrap-wide {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 68px 0;
  }

  .section-sm {
    padding: 42px 0;
  }

  .section-lg {
    padding: 82px 0;
  }

  .h1,
  .h2,
  .h3,
  .display,
  .ph-title,
  .svc-led-head h2,
  .section-exclude .excl-head h2,
  .section-billing h2 {
    letter-spacing: 0;
  }

  .lead,
  .body-md,
  .prose p {
    font-size: 15.5px;
    line-height: 1.62;
  }

  .body-sm,
  .prose ul li {
    font-size: 14px;
  }

  .anno {
    padding: 9px 20px;
    font-size: 10.5px;
    line-height: 1.45;
    letter-spacing: 0.05em;
  }

  .nav-inner,
  .nav.is-scrolled .nav-inner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 0;
    height: 64px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
    min-width: 0;
  }

  .nav-cta {
    grid-column: 3;
    justify-self: end;
  }

  .brand-stack span {
    font-size: 20px;
  }

  .brand small {
    font-size: 8.5px;
    letter-spacing: 0.14em;
  }

  .nav-drawer {
    overscroll-behavior: contain;
  }

  .drawer-grid {
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 96px;
  }

  .drawer-link,
  .drawer-service {
    min-height: 48px;
  }

  .drawer-link {
    font-size: 24px;
  }

  .drawer-service span {
    font-size: 19px;
  }

  .drawer-feature {
    display: none;
  }

  .hero-experience,
  .hero-experience-wrap {
    min-height: calc(100svh - 100px);
  }

  .hero-experience-wrap {
    padding-top: 58px;
    padding-bottom: 124px;
  }

  .hero-experience .brand-eyebrow {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 22px;
  }

  .hero-experience .brand-eyebrow::after {
    width: 18px;
  }

  .hero-experience h1 {
    max-width: 8ch;
    margin-bottom: 24px;
  }

  .hero-experience .hero-v2-lede {
    font-size: 20px;
    line-height: 1.36;
    color: rgba(244, 238, 223, 0.86);
  }

  .hero-experience .hero-v2-copy p {
    font-size: 15.5px;
    line-height: 1.5;
  }

  .hero-experience .hero-v2-geo {
    margin-bottom: 26px;
    font-size: 10.5px;
    letter-spacing: 0.07em;
  }

  .hero-experience .hero-v2-cta {
    gap: 12px;
  }

  .hero-bottom-row {
    left: 20px;
    right: 20px;
    bottom: 18px;
  }

  .hero-bottom-row span {
    min-height: 42px;
    padding: 0 9px;
    font-size: 9px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .hero-media-controls {
    right: 16px;
    bottom: 116px;
  }

  .trust-v2,
  .trust-strip {
    overflow: hidden;
  }

  .trust-v2-inner,
  .trust-strip-inner .ts-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
  }

  .trust-v2-inner .tv-item,
  .trust-strip-inner .ts-item {
    min-width: 0;
    font-size: 12.5px;
    line-height: 1.35;
  }

  .trust-v2-inner .tv-item + .tv-item::before {
    display: none;
  }

  .fit-filter {
    padding: 34px 0;
  }

  .fit-filter-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fit-question {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .fit-question > div {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fit-question button {
    min-height: 44px;
  }

  .ph {
    padding: 48px 0 36px;
  }

  .ph-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
  }

  .ph-crumb a,
  .ph-crumb .sep {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .ph-title {
    font-size: clamp(36px, 11vw, 48px);
    line-height: 1.04;
  }

  .ph-lede {
    font-size: 18px;
    line-height: 1.48;
  }

  .ph-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ph-meta {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 30px;
  }

  .ph-meta > div {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }

  .two-col {
    gap: 22px;
  }

  .card,
  .svc-card,
  .dashboard-card,
  .patient-system-principles > div {
    padding: 20px;
    border-radius: 8px;
  }

  .svc-card {
    min-height: auto;
  }

  .svc-card .svc-title {
    font-size: 24px;
  }

  .steps {
    border-top-color: var(--rule);
  }

  .step {
    padding: 20px 0;
  }

  .dashboard-grid {
    gap: 12px;
  }

  .dashboard-card {
    min-height: 0;
  }

  .dashboard-card h3 {
    font-size: 23px;
  }

  .dashboard-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .patient-system-shell {
    border-radius: 8px;
  }

  .patient-system-shell-head {
    padding: 20px;
  }

  .patient-system-embed {
    min-height: 560px;
  }

  .patient-system-embed-fallback {
    min-height: 360px;
    padding: 20px;
  }

  .patient-system-embed-fallback > div {
    padding: 22px;
  }

  .automation-row,
  .status-row {
    padding: 18px 0;
  }

  .status-row {
    grid-template-columns: 1fr;
  }

  .integration-badge {
    justify-self: start;
    white-space: normal;
  }

  .prov-ed {
    gap: 24px;
  }

  .prov-ed-frame {
    min-height: 240px;
  }

  .prov-ed-meta {
    grid-template-columns: 1fr;
  }

  .prov-ed-meta > div {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 14px 0;
  }

  .prov-ed-meta > div:last-child {
    border-bottom: 0;
  }

  .dmatrix-row,
  .framework-item,
  .focus-card,
  .icard {
    padding: 20px;
  }

  .framework,
  .focus-grid,
  .wheel-grid {
    border-left: 0;
  }

  .svc-ledger {
    border-top-width: 1px;
  }

  .svc-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .svc-row-num,
  .svc-row-desc,
  .svc-row-boundary,
  .svc-row-cta {
    grid-column: auto;
  }

  .svc-row-num {
    padding-top: 0;
  }

  .svc-row-cta {
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    min-height: 44px;
  }

  .excl-row {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }

  .excl-row .excl-tag {
    grid-column: 2;
    text-align: left;
  }

  .billing-ed {
    gap: 22px;
  }

  .billing-ed-cta .btn {
    width: 100%;
  }

  .safety {
    padding: 24px 0;
  }

  .safety-inner {
    gap: 14px;
  }

  .foot {
    padding: 56px 0 116px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .foot .foot-tag {
    max-width: none;
  }

  .foot-bottom {
    margin-top: 42px;
    align-items: flex-start;
  }

  .foot-bottom .fb-links {
    gap: 14px 20px;
  }
}

@media (max-width: 560px) {
  .wrap,
  .wrap-narrow,
  .wrap-wide {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-experience-wrap {
    padding-top: 54px;
  }

  .hero-experience h1 {
    font-size: clamp(44px, 13vw, 52px);
  }

  .hero-experience .hero-v2-lede {
    font-size: 19px;
  }

  .hero-experience .hero-v2-copy {
    gap: 9px;
  }

  .hero-experience .hero-v2-copy p {
    font-size: 15px;
  }

  .hero-experience .hero-v2-geo {
    font-size: 10px;
  }

  .hero-bottom-row {
    left: 18px;
    right: 18px;
  }

  .trust-v2-inner,
  .trust-strip-inner .ts-items {
    grid-template-columns: 1fr;
  }

  .radio-card {
    min-height: 48px;
  }

  .modal-backdrop {
    padding: 8px;
  }

  .modal {
    max-height: calc(100svh - 16px);
  }

  .modal-body {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .modal-foot {
    gap: 10px;
  }

  .modal-foot .btn {
    min-height: 46px;
    padding-left: 12px;
    padding-right: 12px;
  }

}

/* CONTENT7 final cascade: keep the new full-bleed hero/header above legacy hero rules. */
.nav {
  background: rgba(42, 42, 39, 0.36);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.nav.is-scrolled,
.nav.nav-is-open {
  background: rgba(32, 32, 29, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.16);
}
.nav-inner { height: 104px; }
.nav.is-scrolled .nav-inner { height: 76px; }
.brand { gap: 0; min-width: 230px; align-items: flex-start; }
.brand-stack { gap: 7px; }
.brand-stack span {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.22em;
  color: #fffaf0;
}
.brand small {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 250, 240, 0.88);
}
.nav-links { gap: 20px; }
.nav-links button,
.nav-links a {
  padding: 10px 2px;
  border-radius: 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}
.nav-links button:hover,
.nav-links a:hover,
.nav-links button[aria-expanded="true"] {
  background: transparent;
  color: #fffaf0;
}
.nav-links .nav-active::after {
  left: 0;
  right: 0;
  bottom: 4px;
  background: rgba(190, 95, 48, 0.9);
}
.nav-chevron {
  display: inline-block;
  margin-left: 4px;
  color: rgba(255, 250, 240, 0.66);
  font-size: 14px;
  transform: translateY(-1px);
}
.nav-cta .btn {
  min-height: 46px;
  border-radius: 4px;
  padding: 0 22px;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.nav-cta .btn-secondary {
  color: rgba(255, 250, 240, 0.9);
  border-color: rgba(255, 250, 240, 0.5);
  background: rgba(255, 250, 240, 0.04);
}
.nav-cta .btn-primary {
  background: #a95834;
  border-color: #a95834;
  color: #fffaf0;
}
.anno,
body[data-palette="v3-dark"] .anno {
  background: rgba(42, 42, 39, 0.34);
  color: rgba(255, 250, 240, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0;
  text-align: left;
}
.anno-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.anno-main {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.anno-main svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.anno-emergency {
  flex: 0 0 auto;
  color: rgba(255, 250, 240, 0.78);
}
.hero-experience {
  min-height: calc(100svh - 158px);
  background-color: #070604;
  background-image:
    linear-gradient(90deg, rgba(9, 8, 6, 0.62) 0%, rgba(9, 8, 6, 0.36) 36%, rgba(9, 8, 6, 0.08) 66%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.08) 0%, rgba(10, 9, 8, 0.06) 42%, rgba(5, 5, 4, 0.84) 100%),
    url("assets/hero-editorial-trust-optimized.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center center;
  border-bottom: 0;
}
.foundry-hero-canvas,
.hero-media-controls,
.trust-v2 { display: none; }
.hero-grain {
  z-index: 1;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.84)),
    radial-gradient(circle at 16% 28%, rgba(255, 196, 137, 0.25), transparent 24%);
}
.hero-experience-wrap {
  min-height: calc(100svh - 158px);
  align-items: flex-end;
  padding-top: 90px;
  padding-bottom: 88px;
}
.hero-experience-content { max-width: 1120px; }
.hero-experience .brand-eyebrow { display: none; }
.hero-experience h1 {
  max-width: 13ch;
  margin-bottom: 30px;
  font-size: clamp(72px, 7.6vw, 112px);
  line-height: 0.9;
  color: #fffaf0;
  text-shadow: 0 26px 54px rgba(0, 0, 0, 0.36);
}
.hero-experience h1 .hero-line-accent {
  color: #fffaf0;
  font-style: normal;
  text-shadow: none;
}
.hero-experience .hero-v2-lede {
  margin: 0 0 22px;
  max-width: 42ch;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c66f3e;
}
.hero-experience .hero-v2-copy {
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-experience .hero-v2-copy p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.92);
}
.hero-action-grid {
  display: grid;
  grid-template-columns: minmax(420px, 540px) minmax(360px, 1fr);
  align-items: end;
  gap: clamp(36px, 8vw, 104px);
}
.hero-experience .hero-v2-geo {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 26px;
  max-width: 56ch;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 250, 240, 0.9);
}
.hero-pin {
  width: 24px;
  height: 24px;
  color: #c66f3e;
  flex: 0 0 auto;
  transform: translateY(2px);
}
.hero-pin svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-experience .hero-v2-cta {
  gap: 22px;
  margin: 0;
}
.hero-experience .hero-v2-cta .btn {
  min-width: 252px;
  min-height: 58px;
  justify-content: center;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.hero-experience .hero-v2-cta .btn-primary {
  background: linear-gradient(180deg, #c37343, #a95834);
  border-color: #b7653d;
  color: #fffaf0;
}
.hero-experience .hero-v2-cta .btn-secondary {
  color: #fffaf0;
  border-color: rgba(198, 111, 62, 0.78);
  background: rgba(0, 0, 0, 0.18);
}
.hero-trust-markers {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  align-items: stretch;
  color: #fffaf0;
}
.hero-trust-marker {
  min-width: 0;
  min-height: 112px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(255, 250, 240, 0.34);
}
.hero-trust-marker:first-child { border-left: 0; }
.hero-trust-icon {
  position: relative;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: #c66f3e;
}
.hero-trust-icon::before,
.hero-trust-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.icon-head::before {
  inset: 4px 7px 5px 7px;
  border: 2px solid currentColor;
  border-radius: 48% 48% 40% 40%;
}
.icon-head::after {
  right: 3px;
  bottom: 5px;
  width: 13px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 9px 0;
}
.icon-clipboard::before {
  inset: 6px 8px 3px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.icon-clipboard::after {
  left: 14px;
  top: 2px;
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: rgba(7, 6, 4, 0.68);
}
.icon-people::before {
  left: 3px;
  top: 15px;
  width: 34px;
  height: 16px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 18px 18px;
}
.icon-people::after {
  left: 9px;
  top: 5px;
  width: 22px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 6px 6px;
}
.hero-trust-marker strong {
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-trust-marker span:last-child {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.3;
  color: rgba(255, 250, 240, 0.88);
}
.hero-scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  width: 20px;
  height: 52px;
  transform: translateX(-50%);
}
.hero-scroll-cue::before {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 12px;
  height: 34px;
  border: 1px solid rgba(255, 250, 240, 0.86);
  border-radius: 999px;
}
.hero-scroll-cue::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(255, 250, 240, 0.86);
  border-bottom: 1px solid rgba(255, 250, 240, 0.86);
  transform: rotate(45deg);
}
.hero-bottom-row { display: none; }

@media (max-width: 1180px) {
  .nav-inner { height: 84px; }
  .brand-stack span { font-size: 29px; }
  .brand small { font-size: 12.5px; }
  .hero-action-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-trust-markers { max-width: 620px; }
}
@media (max-width: 720px) {
  .nav-inner,
  .nav.is-scrolled .nav-inner {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    height: 68px;
  }
  .brand {
    min-width: 0;
    align-items: center;
  }
  .brand-stack { align-items: center; }
  .brand-stack span {
    font-size: 23px;
    letter-spacing: 0.18em;
  }
  .brand small {
    max-width: 230px;
    font-size: 10.5px;
    white-space: normal;
  }
  .anno-inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .anno-main { gap: 10px; }
  .anno-emergency { padding-left: 30px; }
  .hero-experience,
  .hero-experience-wrap {
    min-height: calc(100svh - 122px);
  }
  .hero-experience {
    background-image:
      linear-gradient(90deg, rgba(9, 8, 6, 0.72), rgba(9, 8, 6, 0.28)),
      linear-gradient(180deg, rgba(10, 9, 8, 0.04) 0%, rgba(10, 9, 8, 0.08) 36%, rgba(5, 5, 4, 0.88) 100%),
      url("assets/hero-editorial-trust-optimized.jpg");
    background-position: center, center, 67% center;
  }
  .hero-experience-wrap {
    padding-top: 54px;
    padding-bottom: 78px;
  }
  .hero-experience h1 {
    max-width: 8.6ch;
    margin-bottom: 22px;
    font-size: clamp(52px, 17vw, 72px);
  }
  .hero-experience .hero-v2-lede {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.17em;
  }
  .hero-experience .hero-v2-copy { margin-bottom: 24px; }
  .hero-experience .hero-v2-copy p {
    font-size: 15.5px;
    line-height: 1.52;
  }
  .hero-experience .hero-v2-geo {
    margin-bottom: 22px;
    font-size: 14px;
  }
  .hero-experience .hero-v2-cta { gap: 12px; }
  .hero-experience .hero-v2-cta .btn {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    font-size: 15px;
  }
  .hero-trust-markers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 100%;
  }
  .hero-trust-marker {
    min-height: 96px;
    padding: 0 10px;
  }
  .hero-trust-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
  }
  .hero-trust-marker strong {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .hero-trust-marker span:last-child { font-size: 12px; }
  .hero-scroll-cue { display: none; }
}

/* CONTENT7 rebuilt V6 header and home rotating hero system. */
body[data-route] .nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 220;
  background: rgba(68, 66, 61, 0.22);
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
}
body[data-route] .nav.is-scrolled,
body[data-route] .nav.nav-is-open {
  background: rgba(20, 20, 18, 0.82);
}
body[data-route] .nav-inner {
  height: 104px;
}
body[data-route] .nav.is-scrolled .nav-inner {
  height: 76px;
}
body[data-route] .anno {
  position: fixed;
  top: 104px;
  left: 0;
  right: 0;
  z-index: 210;
  background: rgba(20, 20, 18, 0.58);
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
}
body.is-scrolled[data-route] .anno {
  top: 76px;
  background: rgba(20, 20, 18, 0.74);
}
body[data-route="home"] .hero-experience {
  min-height: 100svh;
  background: #080706;
  border-bottom: 0;
}
body[data-route="home"] .hero-image-rotator {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #080706;
}
body[data-route="home"] .hero-image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: none;
}
body[data-route="home"] .hero-image-slide.active {
  opacity: 1;
  transform: none;
}
body[data-route="home"] .foundry-hero-canvas {
  display: block;
  z-index: 1;
  opacity: 0;
  mix-blend-mode: normal;
  pointer-events: none;
  transition: opacity 260ms ease;
}
body[data-route="home"] .hero-experience[data-fluting="active"] .foundry-hero-canvas {
  opacity: 1;
}
body[data-route="home"] .hero-media-controls {
  display: flex;
  z-index: 5;
}
body[data-route="home"] .hero-grain {
  z-index: 2;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 4, 0.58) 0%, rgba(5, 5, 4, 0.36) 34%, rgba(5, 5, 4, 0.10) 64%, rgba(5, 5, 4, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.05) 28%, rgba(0, 0, 0, 0.80) 100%);
}
body[data-route="home"] .hero-experience-wrap {
  min-height: 100svh;
  position: relative;
  z-index: 3;
  align-items: flex-end;
  padding-top: 190px;
  padding-bottom: 70px;
}
body[data-route="home"] .hero-experience-content {
  max-width: 1220px;
}
body[data-route="home"] .hero-experience h1 {
  max-width: 16ch;
  margin: 0 0 24px;
  font-size: clamp(76px, 7vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}
body[data-route="home"] .hero-experience h1 .hero-line-accent {
  white-space: nowrap; /* keep "Takes Shape." on one line on desktop (operator) */
}
body[data-route="home"] .hero-experience .hero-v2-lede {
  margin-bottom: 20px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: #c66f3e;
}
body[data-route="home"] .hero-experience .hero-v2-copy {
  max-width: 53ch;
  margin-bottom: 28px;
}
body[data-route="home"] .hero-experience .hero-v2-copy p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.92);
}
body[data-route="home"] .hero-action-grid {
  grid-template-columns: minmax(430px, 540px) minmax(420px, 1fr);
  gap: clamp(42px, 9vw, 120px);
}
body[data-route="home"] .hero-experience .hero-v2-geo {
  margin-bottom: 26px;
}
body[data-route="home"] .hero-trust-marker {
  min-height: 112px;
}
body[data-route="home"] .trust-v2 {
  display: none;
}

@media (max-width: 1180px) {
  body[data-route] .nav-inner {
    height: 82px;
  }
  body[data-route] .anno {
    top: 82px;
  }
  body.is-scrolled[data-route] .anno {
    top: 68px;
  }
  body[data-route="home"] .hero-action-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  body[data-route="home"] .hero-trust-markers {
    max-width: 580px;
  }
}
@media (max-width: 720px) {
  body[data-route] .nav,
  body[data-route] .anno {
    position: sticky;
  }
  body[data-route] .anno {
    top: 68px;
  }
  body[data-route="home"] .hero-experience,
  body[data-route="home"] .hero-experience-wrap {
    min-height: calc(100svh - 120px);
  }
  body[data-route="home"] .hero-image-slide {
    background-position: 66% center;
  }
  body[data-route="home"] .hero-experience-wrap {
    padding-top: 58px;
    padding-bottom: 72px;
  }
  body[data-route="home"] .hero-experience h1 {
    max-width: 8.8ch;
    font-size: clamp(50px, 15vw, 70px);
  }
  body[data-route="home"] .hero-action-grid {
    max-width: none;
  }
}

/* ============================================================
   V3 DESIGN PASS
   Isolated to website_v3 through body[data-version="v3"].
   ============================================================ */
body[data-version="v3"] {
  background:
    linear-gradient(180deg, #080706 0 100svh, #f7f1e7 100svh 100%);
  color: var(--ink);
}

body[data-version="v3"] .nav {
  background: rgba(28, 27, 24, 0.34);
  backdrop-filter: blur(18px);
}

body[data-version="v3"] .nav.is-scrolled,
body[data-version="v3"] .nav.nav-is-open {
  background: rgba(24, 23, 20, 0.88);
}

body[data-version="v3"] .nav-inner {
  gap: 28px;
}

body[data-version="v3"] .brand {
  min-width: 288px;
}

body[data-version="v3"] .brand-stack span {
  font-size: 31px;
}

body[data-version="v3"] .nav-links {
  flex: 1;
  justify-content: center;
}

body[data-version="v3"] .nav-cta {
  gap: 12px;
}

body[data-version="v3"] .btn {
  border-radius: 3px;
  letter-spacing: 0;
}

body[data-version="v3"] .btn-primary {
  background: linear-gradient(180deg, #be6538 0%, #9f4a26 100%);
  box-shadow: 0 14px 30px -18px rgba(190, 101, 56, 0.75);
}

body[data-version="v3"] .btn-primary:hover {
  background: linear-gradient(180deg, #ce7445 0%, #a94f2a 100%);
}

body[data-version="v3"] .anno {
  background: rgba(247, 241, 231, 0.06);
  backdrop-filter: blur(18px);
}

body[data-version="v3"][data-route="home"] .hero-experience {
  min-height: 100svh;
}

body[data-version="v3"][data-route="home"] .hero-grain {
  background-image:
    linear-gradient(90deg, rgba(4, 4, 3, 0.68) 0%, rgba(4, 4, 3, 0.38) 32%, rgba(4, 4, 3, 0.08) 61%, rgba(4, 4, 3, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.10) 44%, rgba(0, 0, 0, 0.84) 100%);
}

body[data-version="v3"][data-route="home"] .hero-experience-wrap {
  padding-bottom: clamp(82px, 10vh, 120px);
}

body[data-version="v3"][data-route="home"] .hero-experience-content {
  max-width: 1180px;
}

body[data-version="v3"][data-route="home"] .hero-experience h1 {
  font-size: clamp(76px, 8.2vw, 136px);
  max-width: 12ch;
}

body[data-version="v3"][data-route="home"] .hero-experience .hero-v2-copy {
  max-width: 48ch;
}

body[data-version="v3"][data-route="home"] .hero-action-grid {
  grid-template-columns: minmax(420px, 560px) minmax(360px, 470px);
  justify-content: space-between;
}

body[data-version="v3"][data-route="home"] .hero-trust-markers {
  align-self: end;
  padding: 0;
  background: transparent;
}

body[data-version="v3"][data-route="home"] .hero-trust-marker {
  border-left-color: rgba(255, 250, 240, 0.34);
}

body[data-version="v3"][data-route="home"] .hero-v2-support {
  max-width: 58ch;
  color: rgba(255, 250, 240, 0.70);
}

body[data-version="v3"] main > div > section:not(.hero-experience) {
  background: #C7B099;
  color: #151A17;
}

body[data-version="v3"] .v3-start-path,
body[data-version="v3"] .section-clinical,
body[data-version="v3"] .section-reviews,
body[data-version="v3"] .section-framework,
body[data-version="v3"] .section-provider {
  background: #C7B099;
  color: #151A17;
}

body[data-version="v3"] .section-focus,
body[data-version="v3"] main > div > section.section {
  background: #D7C4B1;
  color: #151A17;
}

body[data-version="v3"] main > div > section:not(.hero-experience) h1,
body[data-version="v3"] main > div > section:not(.hero-experience) h2,
body[data-version="v3"] main > div > section:not(.hero-experience) h3,
body[data-version="v3"] main > div > section:not(.hero-experience) h4,
body[data-version="v3"] main > div > section:not(.hero-experience) strong,
body[data-version="v3"] .dmatrix-key,
body[data-version="v3"] .dc-title,
body[data-version="v3"] .ic-title,
body[data-version="v3"] .fw-title,
body[data-version="v3"] .step-t,
body[data-version="v3"] .pv-name {
  color: #151A17 !important;
}

body[data-version="v3"] main > div > section:not(.hero-experience) p,
body[data-version="v3"] main > div > section:not(.hero-experience) li,
body[data-version="v3"] .body-md,
body[data-version="v3"] .body-sm,
body[data-version="v3"] .dc-body,
body[data-version="v3"] .ic-body,
body[data-version="v3"] .fw-body,
body[data-version="v3"] .step-b,
body[data-version="v3"] .dmatrix-why,
body[data-version="v3"] .focus-card p {
  color: #2C342E !important;
}

body[data-version="v3"] main > div > section:not(.hero-experience) .label,
body[data-version="v3"] main > div > section:not(.hero-experience) .sec-num,
body[data-version="v3"] main > div > section:not(.hero-experience) .kicker,
body[data-version="v3"] .dc-num,
body[data-version="v3"] .focus-num,
body[data-version="v3"] .ic-eyebrow,
body[data-version="v3"] .fw-eyebrow {
  color: #51391f !important;
}

body[data-version="v3"] .dcard,
body[data-version="v3"] .focus-card,
body[data-version="v3"] .icard,
body[data-version="v3"] .framework-item,
body[data-version="v3"] .card,
body[data-version="v3"] .step,
body[data-version="v3"] .faq-item,
body[data-version="v3"] .dmatrix-row {
  background: rgba(251, 248, 241, 0.76);
  border-color: rgba(81, 57, 31, 0.22);
}

body[data-version="v3"] .v3-start-path {
  padding: clamp(42px, 7vw, 86px) 0;
  border-bottom: 1px solid rgba(21, 26, 23, 0.10);
}

body[data-version="v3"] .v3-start-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

body[data-version="v3"] .v3-start-copy {
  position: sticky;
  top: 120px;
}

body[data-version="v3"] .v3-start-copy h2 {
  max-width: 12ch;
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 4.7vw, 72px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0;
}

body[data-version="v3"] .v3-start-copy p {
  max-width: 54ch;
  margin: 0 0 26px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.65;
}

body[data-version="v3"] .v3-start-steps {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(21, 26, 23, 0.14);
}

body[data-version="v3"] .v3-start-step {
  display: grid;
  grid-template-columns: 64px minmax(150px, 210px) 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(21, 26, 23, 0.14);
}

body[data-version="v3"] .v3-start-step span {
  font-family: var(--mono);
  color: var(--bronze);
}

body[data-version="v3"] .v3-start-step strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

body[data-version="v3"] .v3-start-step p {
  margin: 0;
  color: var(--ink-3);
  line-height: 1.55;
}

body[data-version="v3"] .section-clinical,
body[data-version="v3"] .section-reviews,
body[data-version="v3"] .section-framework,
body[data-version="v3"] .section-provider {
  padding-top: clamp(72px, 9vw, 118px);
  padding-bottom: clamp(72px, 9vw, 118px);
}

body[data-version="v3"] .section-focus {
  padding: 72px 0;
}

body[data-version="v3"] .dcards,
body[data-version="v3"] .focus-grid,
body[data-version="v3"] .icards {
  gap: 12px;
}

body[data-version="v3"] .dcard,
body[data-version="v3"] .focus-card,
body[data-version="v3"] .icard,
body[data-version="v3"] .framework-item,
body[data-version="v3"] .card {
  border-radius: 2px;
  box-shadow: none;
}

body[data-version="v3"] .dcard {
  min-height: 260px;
}

body[data-version="v3"] .section-integrative {
  padding-top: clamp(72px, 9vw, 118px);
  background: #BDA58E;
  color: #151A17;
}

body[data-version="v3"] .request-modal-v3 {
  max-width: 760px;
}

body[data-version="v3"] .request-gate-intro {
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: #fbf8f1;
}

body[data-version="v3"] .request-gate-intro span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  color: var(--bronze);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-version="v3"] .request-gate-intro p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

body[data-version="v3"] .request-screen-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

body[data-version="v3"] .request-screen-item {
  margin: 0;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--rule);
}

body[data-version="v3"] .request-screen-item legend {
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
}

body[data-version="v3"] .request-option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-version="v3"] .request-option {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fffaf0;
  color: var(--ink-2);
  font-family: var(--sans);
  cursor: pointer;
}

body[data-version="v3"] .request-option.selected {
  border-color: rgba(190, 101, 56, 0.78);
  background: rgba(190, 101, 56, 0.12);
  color: var(--ink);
}

body[data-version="v3"] .request-result {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(190, 101, 56, 0.28);
  background: rgba(190, 101, 56, 0.09);
}

body[data-version="v3"] .request-result-pass {
  border-color: rgba(87, 119, 82, 0.34);
  background: rgba(87, 119, 82, 0.11);
}

body[data-version="v3"] .request-result strong {
  display: block;
  margin-bottom: 6px;
}

body[data-version="v3"] .request-result p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 980px) {
  body[data-version="v3"] .brand {
    min-width: 220px;
  }

  body[data-version="v3"] .brand-stack span {
    font-size: 27px;
  }

  body[data-version="v3"] .v3-start-grid,
  body[data-version="v3"] .v3-start-step {
    grid-template-columns: 1fr;
  }

  body[data-version="v3"] .v3-start-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  body[data-version="v3"] .brand {
    min-width: 0;
  }

  body[data-version="v3"] .brand-stack span {
    font-size: 24px;
  }

  body[data-version="v3"][data-route="home"] .hero-experience h1 {
    font-size: clamp(52px, 15vw, 74px);
  }

  body[data-version="v3"][data-route="home"] .hero-action-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
  }

  body[data-version="v3"][data-route="home"] .hero-v2-support,
  body[data-version="v3"][data-route="home"] .hero-trust-markers {
    display: none;
  }

  body[data-version="v3"][data-route="home"] .hero-left-actions,
  body[data-version="v3"][data-route="home"] .hero-v2-cta {
    width: 100%;
    min-width: 0;
  }

  body[data-version="v3"][data-route="home"] .hero-v2-cta .btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }

  body[data-version="v3"] .v3-start-path {
    padding-top: 48px;
  }

  body[data-version="v3"] .v3-start-copy h2 {
    max-width: 10.5ch;
    font-size: 44px;
  }

  body[data-version="v3"] .request-option {
    width: 100%;
    text-align: left;
  }
}


/* ============================================================
   FOUNDRY V6 — REBUILD LAYER
   Appended after the v3 stylesheet. Re-styles every content
   surface below the hero in the editorial-forge language the
   hero establishes. Hero, nav, announcement, and footer are
   left to the existing rules and are intentionally untouched.

   Keystone: token rebind on `main` corrects the dark-palette
   `--ink` inversion for every content component at once
   (custom properties inherit, so main's values win for its
   subtree). Footer/safety sit outside `main` and keep bone.
   ============================================================ */

main {
  /* Light editorial surface — text + accents bound to a light ground */
  --ink: #1b201c;          /* iron black, faint warmth */
  --ink-2: #3a423b;        /* secondary */
  --ink-3: #5f6659;        /* muted / captions */
  --bronze: #6f5632;       /* hairline + micro-labels on light (AA on ivory) */
  --bronze-deep: #533f23;
  --brass: #7a5f33;        /* accent on light (kept dark enough to read) */
  --brass-light: #8a6c3f;
  --ember: #bd5f37;        /* primary CTA — matches hero */
  --ember-deep: #9f4d28;
  --sage: #b7c0a6;
  --sage-deep: #8c9779;
  --sage-tint: #e3e6d6;
  --bg: #f6f1e7;           /* ivory canvas */
  --bg-warm: #efe7d4;      /* warm band */
  --bg-deep: #e9dfca;      /* deeper warm band */
  --paper: #fcfaf4;        /* raised surface */
  --paper-edge: #efe7d6;
  --rule: rgba(111, 86, 50, 0.18);
  --rule-soft: rgba(27, 32, 28, 0.08);
  --rule-strong: rgba(27, 32, 28, 0.16);
  --shadow-card: 0 1px 0 rgba(27, 32, 28, 0.03), 0 18px 38px -22px rgba(27, 32, 28, 0.30);
  --shadow-lift: 0 1px 0 rgba(27, 32, 28, 0.04), 0 30px 60px -28px rgba(27, 32, 28, 0.40);
}

/* Dark surfaces that live INSIDE main re-bind tokens back to bone. */
main .integrative-inputs,
main .card-ink,
main .v6-dark,
main .section-billing .billing-ed {
  --ink: #f4eee0;
  --ink-2: #cbc4b3;
  --ink-3: #9a9385;
  --bronze: #cda46e;
  --brass: #cda46e;
  --brass-light: #ddbd86;
  --rule: rgba(201, 165, 112, 0.24);
  --rule-strong: rgba(244, 238, 224, 0.22);
}

/* ------------------------------------------------------------
   RHYTHM — alternating section grounds (home + interiors)
   ------------------------------------------------------------ */
main .v3-start-path,
main .section-focus,
main .section-integrative,
main .section-framework { background: var(--bg); }

main .section-clinical { background: var(--bg-warm); }
main .section-reviews { background: var(--sage-tint); }
main .section-provider { background: var(--paper); }

/* generic section backgrounds used across interior pages */
main .section { background: var(--bg); }
main .section.bg-paper { background: var(--paper); }
main .section.bg-sage { background: var(--sage-tint); }
/* page-header band */
main .ph { background: var(--bg-warm); }

/* Make the scrolled nav opaque so big serif headers don't show through it. */
.nav.is-scrolled { background: rgba(24, 25, 22, 0.94); backdrop-filter: saturate(1.1) blur(8px); }

/* ============================================================
   TYPOGRAPHY — content scope
   ============================================================ */
main h1, main h2, main h3,
main .h2, main .h3, main .ph-title {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.015em;
}
main .ph-title { font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -0.022em; margin: 18px 0 0; }
main section h2, main .h2 { font-size: clamp(29px, 3.5vw, 44px); line-height: 1.07; margin: 0; }
main h3, main .h3 { font-size: clamp(20px, 1.5vw, 24px); line-height: 1.2; }

main p { color: var(--ink-2); }

/* Micro-labels / eyebrows — bronze mono with a leading hairline. */
main .sec-num,
main .label,
main .kicker,
main .eyebrow,
main .figure-kicker,
main .ic-eyebrow,
main .fw-eyebrow,
main .svc-row-kicker,
main .dmk-num,
main .dc-num,
main .pm-k,
main .pem-k,
main .flag-head,
main .learn-topic,
main .step-num,
main .svc-row-blabel,
main .foot-col-label {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}
/* eyebrows that head a block get a leading rule */
main .sec-num,
main .ph .kicker,
main .learn-section-head .label,
main .focus-head .sec-num,
main .rev-head .sec-num,
main .int-head .sec-num,
main .fw-head .sec-num,
main .svc-led-head .sec-num,
main .excl-head .sec-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
main .sec-num::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--bronze);
  display: inline-block;
  opacity: 0.8;
}

/* default eyebrow spacing in .ph */
main .ph .ph-crumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: none; }
main .ph .ph-crumb a { color: var(--bronze); }
main .ph .ph-crumb .sep { margin: 0 8px; opacity: 0.5; }
main .ph .sec-num::before { display: none; }
main .ph-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-2); max-width: 64ch; margin-top: 20px; }

/* ============================================================
   BUTTONS — content scope (fix ghost/secondary contrast)
   ============================================================ */
main .btn { border-radius: 4px; font-weight: 600; letter-spacing: 0; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
main .btn-primary {
  background: linear-gradient(180deg, #c37343, var(--ember-deep));
  border: 1px solid var(--ember-deep);
  color: #fff7ee;
}
main .btn-primary:hover { background: linear-gradient(180deg, #cf7c4a, #ad5630); color: #fff; transform: translateY(-1px); text-decoration: none; }
main .btn-secondary {
  background: transparent;
  border: 1px solid var(--bronze);
  color: var(--bronze-deep);
}
main .btn-secondary:hover { background: rgba(111, 86, 50, 0.08); border-color: var(--bronze-deep); color: var(--bronze-deep); transform: translateY(-1px); text-decoration: none; }
main .btn-ghost { color: var(--bronze-deep); border: 1px solid transparent; }
main .btn-ghost:hover { color: var(--ember-deep); text-decoration: none; }
/* on dark surfaces */
main .v6-dark .btn-secondary,
main .card-ink .btn-secondary,
main .integrative-inputs .btn-secondary { border-color: var(--brass); color: var(--brass-light); }
main .btn .arrow, main .arrow { transition: transform 0.15s ease; }
main .btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   PAGE HEADER (.ph) — interior pages
   ============================================================ */
main .ph { padding: clamp(120px, 14vh, 168px) 0 clamp(46px, 6vw, 76px); border-bottom: 1px solid var(--rule); }
main .ph-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
main .ph-meta {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
main .ph-meta > div { padding: 20px 24px 4px 0; border-right: 1px solid var(--rule); }
main .ph-meta > div:last-child { border-right: 0; }
main .pm-k { display: block; margin-bottom: 8px; }
main .pm-v { font-size: 15px; line-height: 1.45; color: var(--ink-2); }

/* ============================================================
   SHARED LAYOUT PRIMITIVES
   ============================================================ */
main .two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
main .two-col .tc-side { position: sticky; top: 120px; }
main .two-col .tc-side .label { display: block; margin-bottom: 12px; }
main .two-col .tc-side h2 { margin-top: 6px; }

main .prose { max-width: 66ch; color: var(--ink-2); }
main .prose h3 { margin: 30px 0 8px; color: var(--ink); font-size: 19px; }
main .prose h3:first-child { margin-top: 0; }
main .prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.68; color: var(--ink-2); }
main .prose ul { padding: 0; list-style: none; margin: 16px 0; }
main .prose li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink-2);
}
main .prose li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 7px; height: 7px;
  background: var(--bronze);
  transform: rotate(45deg);
}

/* Cards */
main .card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}
main .card.card-quiet { background: var(--bg); box-shadow: none; }
main .card.card-ink, main .v6-dark { background: #15171a; border-color: rgba(201,165,112,0.18); color: var(--ink); }
main .card.card-ink h2, main .card.card-ink h3, main .card.card-ink .h2, main .card.card-ink .h3 { color: var(--ink); }
main .card h3, main .card .h3 { color: var(--ink); }

main .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
main .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Steps */
main .steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
main .step { display: block; background: var(--paper); padding: 26px 28px; } /* override base .step 3-col grid leak — stack STEP/title/body in each card (operator: formatting broken) */
main .step-num { color: var(--bronze); margin-bottom: 12px; }
main .step-t { font-family: var(--serif); font-size: 20px; color: var(--ink); margin-bottom: 8px; line-height: 1.2; }
main .step-b { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Flag / pill */
main .flag-card { border: 1px solid var(--rule); border-radius: 8px; padding: 18px 20px; background: var(--bg); }
main .flag-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--bronze); }
main .flag-status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff7ee; background: var(--bronze); padding: 3px 8px; border-radius: 3px; }
main .flag-body { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
main .pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.7); color: var(--bronze-deep); border: 1px solid var(--rule); }
main .pill-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--sage-deep); }

/* ============================================================
   HOME — START PATH
   ============================================================ */
main .v3-start-path { padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .v3-start-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(40px, 7vw, 96px); align-items: start; }
main .v3-start-copy h2 { margin: 0 0 20px; }
main .v3-start-copy p { font-size: 17px; line-height: 1.66; color: var(--ink-2); margin: 0 0 28px; max-width: 46ch; }
main .v3-start-steps { display: flex; flex-direction: column; }
main .v3-start-step { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 22px; padding: 26px 0; border-top: 1px solid var(--rule); }
main .v3-start-step:last-child { border-bottom: 1px solid var(--rule); }
main .v3-start-step > span { grid-row: 1 / span 2; font-family: var(--mono); font-size: 15px; color: var(--ember); padding-top: 4px; }
main .v3-start-step strong { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--ink); line-height: 1.2; }
main .v3-start-step p { margin: 6px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-3); }

/* ============================================================
   HOME — WHY FOUNDRY + SERVICE CARDS
   ============================================================ */
main .section-clinical { padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .sc-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: 52px; }
main .sc-head h2 { margin-top: 4px; }
main .sc-body p { font-size: 17px; line-height: 1.66; color: var(--ink-2); margin: 0 0 14px; }
main .sc-body p:last-child { margin-bottom: 0; }

main .dcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
main .dcard {
  display: flex; flex-direction: column;
  background: var(--paper);
  padding: 32px 30px 28px;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  border: none;
  box-shadow: none;
}
main .dcard:hover { background: #fffdf8; }
main .dc-num { display: block; margin-bottom: 18px; color: var(--bronze); }
main .dc-title { font-family: var(--serif); font-size: 23px; line-height: 1.18; color: var(--ink); margin: 0 0 12px; }
main .dc-body { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 22px; flex: 1; }
main .dc-cta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-deep); display: inline-flex; align-items: center; gap: 8px; }
main .dc-cta::after { content: "→"; transition: transform 0.15s ease; }
main .dcard:hover .dc-cta::after { transform: translateX(4px); }
main .dc-cta.action-ember { color: var(--ember-deep); }

/* ============================================================
   HOME — CLINICAL FOCUS
   ============================================================ */
main .section-focus { padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .focus-head { max-width: 64ch; margin-bottom: 48px; }
main .focus-head h2 { margin: 0 0 14px; }
main .focus-head p { font-size: 16px; color: var(--ink-3); margin: 0; }
main .focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
main .focus-card { background: var(--bg); padding: 30px 26px 34px; position: relative; }
main .focus-num { font-family: var(--serif); font-size: 30px; color: var(--bronze); opacity: 0.45; display: block; margin-bottom: 16px; line-height: 1; }
main .focus-card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
main .focus-card p { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); margin: 0; }

/* ============================================================
   HOME — REVIEW MATRIX (ledger)
   ============================================================ */
main .section-reviews { padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .rev-head { max-width: 66ch; margin-bottom: 44px; }
main .rev-head h2 { margin: 0 0 16px; }
main .rev-head p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin: 0; }
main .dmatrix { border-top: 1px solid var(--rule-strong); }
main .dmatrix-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: baseline; transition: background 0.15s ease; }
main .dmatrix-row:hover { background: rgba(255,255,255,0.45); }
main .dmatrix-key { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.15; color: var(--ink); }
main .dmk-num { display: block; margin-bottom: 10px; color: var(--bronze); }
main .dmatrix-why { font-size: 16px; line-height: 1.62; color: var(--ink-2); }

/* ============================================================
   HOME — NOT A FIT
   ============================================================ */
main .not-fit-panel { background: var(--bg-deep); padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .not-fit-inner { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
main .not-fit-inner h2 { margin: 0 0 18px; }
main .not-fit-inner > div:first-child p { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin: 0 0 26px; max-width: 42ch; }
main .not-fit-list { display: flex; flex-direction: column; }
main .not-fit-list > div { position: relative; padding: 18px 0 18px 30px; border-top: 1px solid var(--rule-strong); font-size: 16.5px; color: var(--ink); }
main .not-fit-list > div:last-child { border-bottom: 1px solid var(--rule-strong); }
main .not-fit-list > div::before { content: "—"; position: absolute; left: 0; color: var(--ember); }

/* ============================================================
   HOME — INTEGRATIVE
   ============================================================ */
main .section-integrative { padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .int-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: 44px; }
main .int-head h2 { margin: 0; }
main .int-head p { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }
main .integrative-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
main .integrative-image { position: relative; min-height: 420px; }
main .integrative-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
main .integrative-inputs { background: #15171a; padding: 38px 40px; margin: 0; }
main .integrative-inputs figcaption { display: block; margin-bottom: 26px; }
main .integrative-inputs .figure-kicker { color: var(--brass); margin-bottom: 12px; display: block; }
main .integrative-inputs figcaption strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.22; color: var(--ink); display: block; }
main .inputs-map { display: flex; flex-direction: column; }
main .input-node { padding: 16px 0; border-top: 1px solid var(--rule); }
main .input-node:first-child { border-top: 0; }
main .input-node > span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 6px; }
main .input-node p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

main .icards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; margin-bottom: 40px; }
main .icard { background: var(--paper); padding: 28px 26px; text-decoration: none; transition: background 0.18s ease; }
main .icard:hover { background: #fffdf8; }
main .ic-eyebrow { display: block; margin-bottom: 14px; color: var(--bronze); }
main .ic-title { font-family: var(--serif); font-size: 20px; line-height: 1.2; color: var(--ink); margin: 0 0 10px; }
main .ic-body { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); margin: 0; }

main .lifestyle-wheel figcaption { margin-bottom: 24px; }
main .lifestyle-wheel .figure-kicker { color: var(--bronze); display: block; margin-bottom: 10px; }
main .lifestyle-wheel figcaption strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); display: block; max-width: 22ch; }
main .wheel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
main .wheel-item { background: var(--bg); padding: 24px 24px; display: flex; align-items: center; gap: 16px; font-size: 16px; color: var(--ink); }
main .wheel-num { font-family: var(--mono); font-size: 13px; color: var(--ember); }

/* ============================================================
   HOME — FRAMEWORK
   ============================================================ */
main .section-framework { padding: clamp(72px, 9vw, 116px) 0; border-bottom: 1px solid var(--rule); }
main .fw-head { max-width: 64ch; margin-bottom: 44px; }
main .fw-head h2 { margin: 0 0 14px; }
main .fw-head p { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); margin: 0; }
main .framework { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
main .framework-item { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 30px 28px; text-decoration: none; box-shadow: var(--shadow-card); transition: transform 0.18s ease, box-shadow 0.18s ease; display: block; }
main .framework-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
main .fw-eyebrow { display: block; margin-bottom: 16px; color: var(--bronze); }
main .fw-title { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
main .fw-body { font-size: 15px; line-height: 1.62; color: var(--ink-2); margin: 0; }

/* ============================================================
   HOME — PROVIDER (editorial)
   ============================================================ */
main .section-provider { padding: clamp(72px, 9vw, 116px) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
main .prov-ed { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
main .prov-ed-frame { position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--rule-strong); border-radius: 10px; background: linear-gradient(160deg, #efe7d4, #e3d8c0); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; overflow: hidden; }
main .prov-ed-frame::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--rule); border-radius: 6px; }
main .prov-ed-frame-eyebrow { position: absolute; top: 26px; left: 26px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze-deep); }
main .prov-ed-frame-tag { position: relative; font-family: var(--serif); font-size: 21px; color: var(--ink); }
main .prov-ed-frame-meta { position: relative; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
main .prov-ed-text h2 { margin: 8px 0 18px; }
main .prov-ed-text > p { font-size: 17px; line-height: 1.68; color: var(--ink-2); margin: 0 0 26px; max-width: 56ch; }
main .prov-ed-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); margin-bottom: 26px; }
main .prov-ed-meta > div { padding: 18px 20px 0 0; border-right: 1px solid var(--rule); }
main .prov-ed-meta > div:last-child { border-right: 0; }
main .pem-k { display: block; margin-bottom: 8px; color: var(--bronze); }
main .pem-v { font-size: 15px; color: var(--ink); }

/* sage provider variant */
main .provider { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
main .pv-img { aspect-ratio: 4/5; border-radius: 10px; background: linear-gradient(160deg, var(--sage-tint), var(--sage)); position: relative; }
main .pv-tag { position: absolute; bottom: 18px; left: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); }
main .pv-name { font-family: var(--serif); font-size: 30px; color: var(--ink); margin: 4px 0; }
main .pv-role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--bronze); margin-bottom: 14px; }

/* ============================================================
   FAQ — hairline accordion (fix invisible questions)
   ============================================================ */
main .faq-item { border-top: 1px solid var(--rule); }
main .faq-item:last-child { border-bottom: 1px solid var(--rule); }
main .faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 22px 0;
  font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
}
main .faq-q:hover { color: var(--ember-deep); }
main .faq-mark { font-family: var(--mono); font-size: 22px; color: var(--ember); flex-shrink: 0; line-height: 1; transition: transform 0.2s ease; }
main .faq-item.open .faq-mark { transform: rotate(45deg); }
main .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
main .faq-item.open .faq-a { max-height: 2000px; }
main .faq-a-inner { padding: 0 56px 26px 0; font-size: 16px; line-height: 1.62; color: var(--ink-2); }

/* Global keyboard focus visibility (WCAG 2.4.7) — added in V6 audit pass. */
:focus-visible { outline: 2px solid #be6538; outline-offset: 3px; border-radius: 2px; }
.btn:focus-visible, .faq-q:focus-visible, .request-option:focus-visible, .nav-links button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid #be6538; outline-offset: 3px; }

/* ============================================================
   V6 MOTION LAYER — tasteful scroll reveal (2026-05-28)
   Hidden state applies ONLY under html.fdy-motion (set by motion.js when
   reveal is supported) AND only when motion is not reduced. Content is never
   left invisible if JS is absent/disabled or the user prefers reduced motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.fdy-motion main .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1),
                transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
    will-change: opacity, transform;
  }
  html.fdy-motion main .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ════════════════════════════════════════════════════════════════════════
   HOME — TONAL SECTION CADENCE (2026-05-29, wk-med · frontend-design)
   The page was mostly one flat ivory tone (integrative→framework→how-it-works
   ran ivory-on-ivory-on-ivory). Apply a gentle warm-neutral rotation so the
   page reads as composed sections with rhythm; the sage "What we review"
   stays the single bold moment. All tones are in the same calm ivory family —
   subtle by design for a clinical practice. Scoped to home; last-in-source.
   ════════════════════════════════════════════════════════════════════════ */
body[data-route="home"] main .v3-start-path      { background: var(--bg); }        /* ivory out of the dark hero */
body[data-route="home"] main .section-provider   { background: var(--paper); }     /* Rebecca — now 3rd, lifted */
body[data-route="home"] main .section-clinical   { background: var(--bg-warm); }
body[data-route="home"] main .section-focus      { background: var(--bg); }
body[data-route="home"] main .section-reviews    { background: var(--sage-tint); } /* the one bold moment */
body[data-route="home"] main .section-integrative { background: var(--paper); }
body[data-route="home"] main .cta-band           { background: var(--bg-warm); }   /* warm close into the dark footer */

/* ════════════════════════════════════════════════════════════════════════
   HOME — CARD GRID REFINEMENT (2026-05-29, wk-med · frontend-design)
   The two seamless grids ("More than a medication visit", "Common focus
   areas") read like flat tables. Add breathing room + a stronger serif
   numeral + a real hover now that focus cards link to the clinical-focus
   page. Keeps the seamless-grid paradigm; just elevates the craft.
   ════════════════════════════════════════════════════════════════════════ */

/* Clinical-focus cells — now links: breathing room, hierarchy, hover lift */
body[data-route="home"] main .focus-card {
  text-decoration: none;
  color: inherit;
  padding: 36px 30px 38px;
  transition: background 0.2s ease;
}
body[data-route="home"] main .focus-card:hover { background: var(--paper); }
body[data-route="home"] main .focus-card .focus-num {
  font-size: 36px;
  opacity: 0.38;
  transition: opacity 0.2s ease, color 0.2s ease;
}
body[data-route="home"] main .focus-card:hover .focus-num { opacity: 0.9; color: var(--brass); }
body[data-route="home"] main .focus-card h3 { transition: color 0.2s ease; }
body[data-route="home"] main .focus-card:hover h3 { color: var(--bronze-deep); }

/* Core-service cells — a touch more air + clearer numeral */
body[data-route="home"] main .dcard { padding: 36px 32px 30px; }
body[data-route="home"] main .dc-num { margin-bottom: 22px; }

/* Why-Foundry: filler CTA card removed → 5 real services; span the last across
   the open bottom-row track so the seamless grid has no empty cell. */
body[data-route="home"] main .dcards .dcard:nth-child(5) { grid-column: span 2; }

/* Integrative: redundant 5-item inputs panel replaced with a tight statement
   beside the image (operator). Matches the #E9EAEE panel tone; dark, readable. */
body[data-route="home"] main .integrative-statement {
  background: #E9EAEE;
  padding: clamp(28px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
body[data-route="home"] main .integrative-statement .figure-kicker { color: var(--brass); }
body[data-route="home"] main .integrative-statement p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.42;
  color: #1b201c;
}
body[data-route="home"] main .integrative-statement-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-deep);
  text-decoration: none;
  transition: color 0.18s ease;
}
body[data-route="home"] main .integrative-statement-link:hover { color: var(--brass); }

/* ============================================================
   CTA BAND
   ============================================================ */
main .cta-band { background: var(--bg-warm); padding: clamp(64px, 8vw, 104px) 0; border-top: 1px solid var(--rule); }
main .cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
main .cta-band .eyebrow { color: var(--bronze); }
main .cta-band h2 { margin: 14px 0 0; }
main .cta-band-inner > div:last-child { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ============================================================
   SERVICES — ledger + exclude + billing + schema
   ============================================================ */
main .svc-led-head { max-width: 64ch; margin-bottom: 40px; }
main .svc-led-head h2 { margin: 0 0 14px; }
main .svc-led-head p { font-size: 16px; color: var(--ink-2); margin: 0; }
main .svc-ledger { border-top: 1px solid var(--rule-strong); }
main .svc-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 2.4vw, 40px);
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background 0.15s ease;
}
main .svc-row:hover { background: rgba(255,255,255,0.5); }
main .svc-row-num { font-family: var(--mono); font-size: 14px; color: var(--bronze); }
main .svc-row-kicker { display: block; margin-bottom: 6px; }
main .svc-row-h { font-family: var(--serif); font-size: 21px; line-height: 1.18; color: var(--ink); }
main .svc-row-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
main .svc-row-boundary { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
main .svc-row-blabel { display: block; margin-bottom: 5px; }
main .svc-row-btext { font-style: italic; }
main .svc-row-cta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); white-space: nowrap; }
main .svc-arr { transition: transform 0.15s ease; display: inline-block; }
main .svc-row:hover .svc-arr { transform: translateX(4px); }

main .svc-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 26px; text-decoration: none; box-shadow: var(--shadow-card); transition: transform 0.18s ease, box-shadow 0.18s ease; }
main .svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
main .svc-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; }
main .svc-title { font-family: var(--serif); font-size: 21px; line-height: 1.2; color: var(--ink); margin-bottom: 12px; }
main .svc-body { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); flex: 1; }
main .svc-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }

main .section-exclude { padding: clamp(72px, 9vw, 116px) 0; background: var(--bg-warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
main .excl-head { max-width: 64ch; margin-bottom: 36px; }
main .excl-head h2 { margin: 0 0 14px; }
main .excl-head p { font-size: 16px; color: var(--ink-2); margin: 0; }
main .excl-table { border-top: 1px solid var(--rule-strong); }
main .excl-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
main .excl-num { font-family: var(--mono); font-size: 12px; color: var(--bronze); }
main .excl-name { font-size: 16px; color: var(--ink); }
main .excl-tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

main .section-billing { padding: clamp(64px, 8vw, 104px) 0; }
main .billing-ed { background: #15171a; border-radius: 12px; padding: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 40px; align-items: center; }
main .billing-ed h2 { color: var(--ink); margin: 12px 0 0; }
main .billing-ed p { color: var(--ink-2); font-size: 16px; line-height: 1.62; margin: 16px 0 0; }
main .billing-ed-cta { display: flex; justify-content: flex-end; }

main .service-schema-band { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
main .service-schema-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
main .service-schema-card { background: var(--paper); padding: 26px 24px; }
main .service-schema-card span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 10px; }
main .service-schema-card p { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); margin: 0; }

/* ============================================================
   LEARN
   ============================================================ */
main .learn-section-head { max-width: 60ch; margin-bottom: 40px; }
main .learn-section-head .label { display: block; margin-bottom: 12px; }
main .learn-section-head h2 { margin: 0; }
main .learn-topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
main .learn-topic-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 26px; box-shadow: var(--shadow-card); }
main .learn-topic-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 0 0 10px; }
main .learn-topic-card p { font-size: 14.5px; line-height: 1.58; color: var(--ink-2); margin: 0; }
main .learn-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
main .learn-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 30px; box-shadow: var(--shadow-card); transition: transform 0.18s ease, box-shadow 0.18s ease; }
main .learn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
main .learn-topic { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 14px; display: block; }
main .learn-card h3 { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); margin: 0 0 12px; }
main .learn-card p { font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; margin: 0 0 20px; }
main .learn-card-meta { display: flex; gap: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
main .learn-link { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember-deep); display: inline-flex; gap: 8px; align-items: center; background: none; border: none; padding: 0; cursor: pointer; }
main .learn-article-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
main .learn-article-body section { margin-bottom: 28px; }
main .learn-article-body h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 0 0 12px; }
main .learn-article-body p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
main .learn-ad-safe-note, main .learn-disclaimer { border: 1px solid var(--rule); border-radius: 8px; padding: 16px 20px; background: var(--bg-warm); font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
main .learn-disclaimer { background: var(--paper); margin-top: 12px; }
main .learn-article-aside { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
main .learn-related-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 24px; box-shadow: var(--shadow-card); }
main .learn-related-card h3 { font-family: var(--serif); font-size: 20px; color: var(--ink); margin: 6px 0 10px; }
main .learn-related-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 16px; }
main .learn-article-meta { display: flex; gap: 18px; margin-top: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
main .learn-boundary-section { background: var(--bg-warm); border-top: 1px solid var(--rule); }

/* ============================================================
   TRUST STRIP (optional)
   ============================================================ */
main .trust-v2 { background: var(--paper); border-bottom: 1px solid var(--rule); }
main .trust-v2-inner { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 18px 0; }
main .tv-item { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); }
main .tv-item:not(:last-child)::after { content: "·"; margin-left: 28px; color: var(--rule-strong); }

/* ============================================================
   UTILITY SPACING (content scope)
   ============================================================ */
main .mt-1 { margin-top: 6px; } main .mt-2 { margin-top: 12px; } main .mt-3 { margin-top: 20px; }
main .mt-4 { margin-top: 32px; } main .mt-5 { margin-top: 48px; }
main .body-md { font-size: 16.5px; line-height: 1.66; }
main .body-sm { font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  main .focus-grid, main .icards { grid-template-columns: repeat(2, 1fr); }
  main .dcards, main .grid-3, main .framework, main .learn-topic-grid, main .service-schema-grid { grid-template-columns: repeat(2, 1fr); }
  main .wheel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  main .two-col, main .v3-start-grid, main .sc-head, main .int-head,
  main .not-fit-inner, main .integrative-visual, main .prov-ed, main .provider,
  main .cta-band-inner, main .billing-ed, main .learn-article-layout, main .learn-card-grid {
    grid-template-columns: 1fr;
  }
  main .two-col .tc-side, main .learn-article-aside { position: static; }
  main .integrative-image { min-height: 280px; }
  main .dmatrix-row { grid-template-columns: 1fr; gap: 10px; }
  main .svc-row { grid-template-columns: 40px 1fr; grid-auto-rows: auto; row-gap: 8px; }
  main .svc-row-desc, main .svc-row-boundary, main .svc-row-cta { grid-column: 2; }
  main .cta-band-inner > div:last-child { justify-content: flex-start; }
  main .ph-meta, main .prov-ed-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  main .dcards, main .focus-grid, main .icards, main .grid-2, main .grid-3,
  main .framework, main .learn-topic-grid, main .service-schema-grid,
  main .steps, main .wheel-grid, main .ph-meta, main .prov-ed-meta { grid-template-columns: 1fr; }
  main .sc-head { gap: 20px; }
}


/* ============================================================
   V6 — MOBILE FIRST-CLASS POLISH
   Targeted refinements for <=760px. Hero is untouched (its own
   mobile rules live above). Selectors are `main .x` so they win
   over both base and earlier V6 rules and over legacy breakpoints.
   ============================================================ */
@media (max-width: 760px) {
  /* Tighter, intentional vertical rhythm */
  main .v3-start-path, main .section-clinical, main .section-focus,
  main .section-reviews, main .not-fit-panel, main .section-integrative,
  main .section-framework, main .section-provider, main .section,
  main .section-exclude, main .section-billing { padding-top: 60px; padding-bottom: 60px; }
  main .cta-band { padding-top: 56px; padding-bottom: 56px; }

  /* Page header: clear the fixed nav + announcement, then breathe */
  main .ph { padding-top: 116px; padding-bottom: 40px; }
  main .ph-title { font-size: clamp(33px, 9vw, 46px); line-height: 1.05; }
  main section h2, main .h2 { font-size: clamp(26px, 7.4vw, 34px); }
  main .ph-lede { font-size: 17px; }

  /* Thumb-friendly CTAs — full-width, stacked, 48px min */
  main .btn { min-height: 48px; }
  main .ph-cta-row { width: 100%; gap: 10px; }
  main .ph-cta-row .btn { flex: 1 1 100%; justify-content: center; }
  main .cta-band-inner > div:last-child { flex-direction: column; align-items: stretch; gap: 10px; }
  main .cta-band-inner > div:last-child .btn { width: 100%; justify-content: center; }

  /* Meta strips → horizontal rules, full-width rows */
  main .ph-meta, main .prov-ed-meta { grid-template-columns: 1fr; border-top: 0; }
  main .ph-meta > div, main .prov-ed-meta > div { border-right: 0; border-top: 1px solid var(--rule); padding: 14px 0 4px; }

  /* Service ledger: tighter, scannable stacked entries */
  main .svc-row { padding: 22px 0; column-gap: 14px; row-gap: 6px; }
  main .svc-row-num { font-size: 13px; }
  main .svc-row-h { font-size: 19px; }
  main .svc-row-cta { grid-column: 2; margin-top: 6px; }

  /* Review matrix: clean key → why stack */
  main .dmatrix-row { padding: 22px 0; gap: 8px; }
  main .dmatrix-key { font-size: 21px; }

  /* Cards / panels a touch tighter for density */
  main .dcard { padding: 28px 22px; }
  main .icard, main .focus-card, main .framework-item, main .learn-card,
  main .learn-topic-card, main .card, main .service-schema-card { padding: 24px 22px; }
  main .integrative-inputs { padding: 30px 24px; }
  main .step { padding: 22px 22px; }
  main .billing-ed { padding: 30px 24px; }

  /* Section heads: comfortable single-column lede */
  main .focus-head, main .rev-head, main .fw-head, main .svc-led-head,
  main .excl-head { margin-bottom: 32px; }
  main .sc-head, main .int-head { gap: 18px; margin-bottom: 32px; }
}

/* Very small phones — keep headlines from crowding the gutters */
@media (max-width: 360px) {
  main .ph-title { font-size: 30px; }
  main .dmatrix-key { font-size: 19px; }
  main .integrative-inputs figcaption strong { font-size: 21px; }
}


/* ============================================================
   V6 — REQUEST INTAKE MODAL (multi-step)
   Modal renders OUTSIDE <main>, so it uses :root (light) tokens.
   Ember set locally to match the V6 accent. Bare-scoped.
   ============================================================ */
.modal { --ember: #bd5f37; --ember-deep: #9f4d28; max-width: 660px; }
.modal-head .mh-title { font-size: 12px; letter-spacing: 0.18em; color: var(--bronze); }
.modal-head .mh-sub { font-size: 13px; color: var(--ink-3); margin-top: 5px; letter-spacing: 0; text-transform: none; font-family: var(--sans); line-height: 1.4; max-width: 52ch; }

/* Progress stepper */
.rc-steps { display: flex; gap: 8px; padding: 14px 28px 0; flex-wrap: wrap; }
.rc-step { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 5px 10px; border: 1px solid var(--rule); border-radius: 999px; }
.rc-step.done { color: var(--ember-deep); border-color: rgba(189, 95, 55, 0.45); background: rgba(189, 95, 55, 0.06); }

/* Screener intro */
.request-gate-intro { border: 1px solid var(--rule); border-radius: 8px; padding: 16px 18px; background: var(--paper); margin-bottom: 22px; }
.request-gate-intro span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); display: block; margin-bottom: 8px; }
.request-gate-intro p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* Screener questions */
.request-screen-list { display: flex; flex-direction: column; gap: 22px; }
.request-screen-item { border: 0; margin: 0; padding: 0; }
.request-screen-item legend { font-family: var(--serif); font-size: 18px; color: var(--ink); padding: 0; margin-bottom: 12px; line-height: 1.25; }
.request-option-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.request-option {
  flex: 1 1 auto; min-height: 46px; padding: 10px 16px;
  border: 1px solid var(--border, rgba(111,86,50,0.3)); border-radius: 6px;
  background: var(--bg); color: var(--ink-2); font-size: 14.5px; text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.request-option:hover { border-color: var(--bronze); color: var(--ink); }
.request-option.selected { border-color: var(--ember); background: rgba(189, 95, 55, 0.08); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ember); }

/* Follow-up note */
.rc-note { border-left: 3px solid var(--ember); background: rgba(189, 95, 55, 0.06); padding: 14px 16px; border-radius: 0 6px 6px 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); margin-bottom: 20px; }

/* Lead form */
.rc-form { display: flex; flex-direction: column; gap: 16px; }
.rc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rc-field { display: flex; flex-direction: column; gap: 6px; }
.rc-field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); }
.rc-req { color: var(--ember); }
.rc-field input, .rc-field select {
  width: 100%; padding: 11px 13px; font-size: 15px;
  border: 1px solid var(--border, rgba(111,86,50,0.3)); border-radius: 6px;
  background: #fff; color: var(--ink); font-family: var(--sans);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rc-field input:focus, .rc-field select:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(189, 95, 55, 0.15); }
.rc-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236F5632' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px; }
.rc-hint { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; margin: -4px 0 0; }
.rc-consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 0 2px; cursor: pointer; }
.rc-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ember); }
.rc-consent span { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.rc-error { font-size: 14px; color: #9a2f1c; background: rgba(189, 55, 40, 0.07); border: 1px solid rgba(189, 55, 40, 0.25); border-radius: 6px; padding: 11px 14px; }

/* Crisis screen */
.rc-crisis-lede { font-size: 16px; line-height: 1.55; color: var(--ink); margin: 0 0 20px; }
.rc-crisis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rc-crisis-card { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border: 1px solid var(--border, rgba(111,86,50,0.3)); border-radius: 8px; background: var(--paper); text-decoration: none; }
a.rc-crisis-card:hover { border-color: var(--ember); }
.rc-crisis-card strong { font-family: var(--serif); font-size: 26px; color: var(--ember-deep); line-height: 1; }
.rc-crisis-card span { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.rc-crisis-note { font-size: 13px; color: var(--ink-3); margin: 18px 0 0; line-height: 1.55; }

/* Done / confirmation */
.rc-done { text-align: center; padding: 12px 8px 4px; }
.rc-done-mark { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 999px; background: rgba(189, 95, 55, 0.1); color: var(--ember-deep); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.rc-done h3 { font-family: var(--serif); font-size: 25px; color: var(--ink); margin: 0 0 12px; }
.rc-done p { font-size: 15px; line-height: 1.62; color: var(--ink-2); max-width: 46ch; margin: 0 auto; }
.rc-done a { color: var(--ember-deep); font-weight: 600; }
.rc-done-safety { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }

/* Modal flag-card (outside main, so style here) */
.modal .flag-card { border: 1px solid var(--rule); border-radius: 8px; padding: 16px 18px; background: var(--paper); }
.modal .flag-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--bronze); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.modal .flag-status { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff7ee; background: var(--bronze); padding: 3px 8px; border-radius: 3px; }
.modal .flag-body { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* Modal buttons — match V6 ember + ergonomics */
.modal .btn { min-height: 46px; border-radius: 4px; font-weight: 600; }
.modal .btn-primary { background: linear-gradient(180deg, #c37343, var(--ember-deep)); border: 1px solid var(--ember-deep); color: #fff7ee; }
.modal .btn-primary:hover { background: linear-gradient(180deg, #cf7c4a, #ad5630); color: #fff; }
.modal .btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.modal .btn-secondary { border: 1px solid var(--bronze); color: var(--bronze); background: transparent; }
.modal .btn-ghost { color: var(--ink-3); }
.modal .btn-ghost:hover { color: var(--ink); }

@media (max-width: 600px) {
  .rc-grid-2, .rc-crisis-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 22px; }
  .modal-head, .modal-foot { padding-left: 22px; padding-right: 22px; }
  .rc-steps { padding-left: 22px; padding-right: 22px; }
  .request-option { flex: 1 1 100%; }
  .modal-foot .btn-primary { flex: 1 1 auto; justify-content: center; }
}


/* ============================================================
   V6 — CHARM STATE BADGE + MODULE WORKFLOW SURFACES
   Activation-state badge (6 tones) + the generic module page anatomy.
   Rendered inside <main>, so tokens resolve to V6 light values.
   ============================================================ */
.charm-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 9px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid var(--rule);
  background: rgba(111, 86, 50, 0.06); color: var(--bronze);
  white-space: nowrap; line-height: 1;
}
.charm-badge--lg { font-size: 11px; padding: 7px 13px 7px 11px; }
.charm-badge .cb-dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; flex: 0 0 auto; }
.charm-badge--live    { color: #2f7a3a; background: rgba(95, 160, 110, 0.12); border-color: rgba(95, 160, 110, 0.34); }
.charm-badge--review  { color: #7a5f33; background: rgba(122, 95, 51, 0.09);  border-color: rgba(122, 95, 51, 0.30); }
.charm-badge--portal  { color: #2f6d6a; background: rgba(60, 130, 125, 0.10); border-color: rgba(60, 130, 125, 0.30); }
.charm-badge--upload  { color: #6f5632; background: rgba(111, 86, 50, 0.10);  border-color: rgba(111, 86, 50, 0.32); }
.charm-badge--hold    { color: #5a4424; background: rgba(90, 68, 36, 0.10);   border-color: rgba(90, 68, 36, 0.34); }
.charm-badge--pending { color: #6b6e73; background: rgba(90, 96, 92, 0.08);   border-color: rgba(90, 96, 92, 0.26); }

/* Module page anatomy */
main .module-page .ph { border-bottom: 1px solid var(--rule); }
main .mp-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 18px; }
main .mp-title { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.02em; margin: 14px 0 0; }
main .mp-what { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--ink-2); margin: 18px 0 0; max-width: 52ch; }
main .mp-head-right { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding-top: 8px; }
main .mp-meta { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); width: 100%; }
main .mp-meta-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
main .mp-meta-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); }
main .mp-meta-v { font-size: 15px; color: var(--ink); }
main .mp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

main .mp-block-head { max-width: 60ch; margin-bottom: 28px; }
main .mp-block-head h2 { margin: 12px 0 0; }
main .mp-block-head p { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.6; }

main .mp-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
main .mp-check-row { background: var(--paper); display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; }
main .mp-check-mark { color: var(--ember); font-size: 14px; line-height: 1.5; flex: 0 0 auto; }
main .mp-check-text { font-size: 15px; color: var(--ink); line-height: 1.5; }

main .mp-cats { border-top: 1px solid var(--rule-strong); }
main .mp-cat-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
main .mp-cat-name { font-size: 16px; color: var(--ink); }
main .mp-cat-who { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); white-space: nowrap; }

main .mp-timeline { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule-strong); }
main .mp-tl-item { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: start; }
main .mp-tl-num { font-family: var(--mono); font-size: 14px; color: var(--bronze); }
main .mp-tl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
main .mp-tl-step { font-family: var(--serif); font-size: 19px; color: var(--ink); }
main .mp-tl-desc { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

main .mp-charges { border-top: 1px solid var(--rule-strong); }
main .mp-charge-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
main .mp-charge-name { font-size: 16px; color: var(--ink); }
main .mp-charge-duration { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
main .mp-charge-amt { font-size: 16px; color: var(--ink); letter-spacing: 0.02em; }

@media (max-width: 760px) {
  main .mp-head { grid-template-columns: 1fr; gap: 24px; }
  main .mp-checklist { grid-template-columns: 1fr; }
  main .mp-charge-row { grid-template-columns: 1fr auto; row-gap: 4px; }
  main .mp-charge-duration { grid-column: 2; }
}

/* V6 — request modal: passed → scheduling handoff step */
.rc-pass { text-align: center; padding: 8px 6px 4px; }
.rc-pass-mark { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 999px; background: rgba(95, 160, 110, 0.14); color: #2f7a3a; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.rc-pass h3 { font-family: var(--serif); font-size: 24px; color: var(--ink); margin: 0 0 12px; }
.rc-pass p { font-size: 15px; line-height: 1.62; color: var(--ink-2); max-width: 48ch; margin: 0 auto; }
.rc-pass-types { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; }
.rc-pass-type { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--bronze-deep); border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; background: var(--paper); }


/* ============================================================
   V6 — BOOKING CONSOLE (/book)
   6-step selector: visit type → provider → location → time →
   eligibility → review → staff-confirmation. Rendered in <main>.
   ============================================================ */
main .bk-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: start; margin-top: 16px; }
main .bk-head .mp-title { font-size: clamp(34px, 4vw, 52px); line-height: 1.04; margin: 12px 0 0; }
main .bk-head .mp-what { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin: 16px 0 0; max-width: 56ch; }
main .bk-head-status { padding-top: 8px; }

/* progress stepper */
main .bk-progress { border-bottom: 1px solid var(--rule); background: var(--paper); }
main .bk-steps { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
main .bk-step { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
main .bk-step-num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--rule); font-size: 10px; }
main .bk-step.is-active { color: var(--ember-deep); }
main .bk-step.is-active .bk-step-num { border-color: var(--ember); color: var(--ember-deep); background: rgba(189,95,55,0.08); }
main .bk-step.is-done { color: var(--bronze); }
main .bk-step.is-done .bk-step-num { border-color: var(--bronze); color: var(--bronze); }

/* body layout */
main .bk-body { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
main .bk-summary { position: sticky; top: 120px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); padding: 24px; box-shadow: var(--shadow-card); }
main .bk-sum-head h3 { font-family: var(--serif); font-size: 19px; color: var(--ink); margin: 8px 0 16px; }
main .bk-sum-list { list-style: none; padding: 0; margin: 0; }
main .bk-sum-list li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--rule); font-size: 13.5px; }
main .bk-sum-k { color: var(--ink-3); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
main .bk-sum-v { color: var(--ink); text-align: right; }
main .bk-sum-charm { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rule-strong); }
main .bk-sum-charm-k { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); }
main .bk-sum-charm-v { font-size: 15px; color: var(--ink); }

/* step body */
main .bk-step-head { margin-bottom: 24px; max-width: 60ch; }
main .bk-step-head h2 { margin: 12px 0 0; font-size: clamp(24px, 2.6vw, 34px); }
main .bk-step-head p { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; line-height: 1.6; }

/* selectable card base (visit / place / fit / time) */
main .bk-visit, main .bk-place, main .bk-fit-opt, main .bk-time, main .bk-provider {
  text-align: left; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer; color: var(--ink);
}
main .bk-visit:hover, main .bk-place:hover, main .bk-fit-opt:hover, main .bk-time:hover, main .bk-provider:hover { border-color: var(--bronze); }
main .bk-visit.is-selected, main .bk-place.is-selected, main .bk-fit-opt.is-selected, main .bk-time.is-selected, main .bk-provider.is-selected {
  border-color: var(--ember); box-shadow: inset 0 0 0 1px var(--ember); background: rgba(189,95,55,0.05);
}

/* step 1 — visit grid */
main .bk-visit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
main .bk-visit { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
main .bk-visit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
main .bk-visit-charge { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); }
main .bk-visit-label { font-family: var(--serif); font-size: 19px; line-height: 1.2; color: var(--ink); }
main .bk-visit-sub { font-size: 14px; line-height: 1.5; color: var(--ink-2); flex: 1; }
main .bk-visit-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--rule); }
main .bk-visit-aud { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); }
main .bk-visit-arr { color: var(--ember); }

/* step 2 — provider */
main .bk-provider-grid { display: grid; grid-template-columns: 1fr; max-width: 520px; }
main .bk-provider { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px; align-items: center; }
main .bk-prov-frame { aspect-ratio: 4/5; border-radius: 8px; background: linear-gradient(160deg, var(--sage-tint), var(--sage)); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; }
main .bk-prov-frame-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze-deep); }
main .bk-prov-frame-meta { font-size: 10px; color: var(--ink-3); margin-top: 3px; }
main .bk-prov-name { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); }
main .bk-prov-role { display: block; font-family: var(--mono); font-size: 12px; color: var(--bronze); margin: 4px 0 8px; }
main .bk-prov-sub { font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* step 3 — place */
main .bk-place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
main .bk-place { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; }
main .bk-place-num { font-family: var(--mono); font-size: 12px; color: var(--bronze); }
main .bk-place-label { font-family: var(--serif); font-size: 20px; color: var(--ink); }
main .bk-place-addr { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
main .bk-place-mode { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); margin-top: 4px; }
main .bk-place-note { font-size: 12px; color: var(--ink-3); }

/* step 4 — time */
main .bk-time-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 22px; }
main .bk-time { padding: 16px 18px; font-size: 15px; }
main .bk-time-panel { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--rule); border-radius: 10px; background: var(--bg-warm); }
main .bk-time-panel-h { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); margin-bottom: 6px; }
main .bk-time-panel-s { display: block; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* step 5 — fit */
main .bk-fit-row { margin-bottom: 26px; }
main .bk-fit-q { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 12px; }
main .bk-fit-opts { display: flex; flex-wrap: wrap; gap: 10px; }
main .bk-fit-opt { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; font-size: 14.5px; }
main .bk-fit-foot { font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--rule); padding-top: 16px; }

/* step 6 — review */
main .bk-review { border-top: 1px solid var(--rule-strong); margin-bottom: 28px; }
main .bk-review-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--rule); }
main .bk-rk { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); min-width: 120px; }
main .bk-rv { font-size: 16px; color: var(--ink); }
main .bk-rmeta { font-size: 13px; color: var(--ink-3); }
main .bk-readiness .sec-num { display: block; margin-bottom: 14px; }

/* nav */
main .bk-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }

@media (max-width: 900px) {
  main .bk-body { grid-template-columns: 1fr; }
  main .bk-summary { position: static; }
}
@media (max-width: 640px) {
  main .bk-visit-grid, main .bk-place-grid, main .bk-time-grid { grid-template-columns: 1fr; }
  main .bk-provider { grid-template-columns: 1fr; }
  main .bk-head { grid-template-columns: 1fr; }
}

/* V6 — mobile hero: keep "Takes Shape." on a single line (operator) */
@media (max-width: 760px) {
  body[data-route="home"] .hero-experience h1 { max-width: none; font-size: clamp(42px, 14.4vw, 64px); }
  .hero-experience h1 .hero-line-accent { white-space: nowrap; }
}
@media (max-width: 360px) {
  body[data-route="home"] .hero-experience h1 { font-size: clamp(36px, 13.5vw, 52px); }
}

/* V6 — desktop header unchanged ("keep yours"); MOBILE header = solid dark
   (not grey: opaque, no backdrop blur) + FOUNDRY left-aligned.
   Scoped body[data-route] to beat body[data-route="home"] .nav (the grey wash). */
@media (max-width: 900px) {
  body[data-route] .nav,
  body[data-route] .nav.is-scrolled,
  body[data-route] .nav.nav-is-open {
    background: #17160f;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 250, 240, 0.10);
  }
  body[data-route] .anno {
    background: #13120c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 250, 240, 0.08);
  }
  body[data-route] .anno-main,
  body[data-route] .anno-emergency { color: rgba(255, 250, 240, 0.92); }

  /* FOUNDRY left-aligned (was centered by the mobile grid) */
  body[data-route] .nav-inner { display: flex; justify-content: space-between; align-items: center; }
  body[data-route] .brand { align-items: flex-start; min-width: 0; text-align: left; }
  body[data-route] .brand-stack { align-items: flex-start; }
  body[data-route] .brand-stack span,
  body[data-route] .brand small { text-align: left; }
}

/* V6 — brand subtitle in brass (match :4180 header color scheme; operator) */
body[data-route] .brand small { color: #c9a570; }

/* ════════════════════════════════════════════════════════════════════════
   Integrative inputs figure — REDESIGN (operator: was a black panel with
   light boxes + dark-on-dark heading). New treatment: a clean light editorial
   list that sits in the ivory .section-integrative — no dark panel, no boxes,
   brass labels, readable ink. Scoped + last-in-source to win the cascade.
   ════════════════════════════════════════════════════════════════════════ */
.section-integrative .integrative-inputs {
  background: #E9EAEE;          /* operator: light grey panel */
  border: 1px solid rgba(21, 26, 23, 0.10);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 0;
  /* override the dark-panel token rebind (styles.css:6167) — dark text on
     the light #E9EAEE panel so type is readable. */
  --ink: #1b201c;
  --ink-2: #3a423b;
  --ink-3: #6f6656;
  --brass: #7a5f33;
  --rule: rgba(21, 26, 23, 0.12);
}
.section-integrative .integrative-inputs figcaption {
  display: block;
  margin-bottom: 22px;
}
.section-integrative .integrative-inputs .figure-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--brass);
}
.section-integrative .integrative-inputs figcaption strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.22;
  color: var(--ink);            /* dark on light ivory — readable */
}
.section-integrative .inputs-map {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.section-integrative .inputs-map .input-node {
  background: transparent;      /* kill the light box */
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.section-integrative .inputs-map .input-node > span {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}
.section-integrative .inputs-map .input-node p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}
