/* ==========================================================================
   PARADYGM HEALTH GROUP — demo site stylesheet
   Direction B "The Operator" (CEO-approved 2026-07-14), carried forward.
   Palette/typography tuned to sit with the logo's clean, thin, monoline mark:
   generous letter-spacing on eyebrows/labels, hairline rules, lots of air.
   ========================================================================== */

:root {
  --ink-hero: #0b1f1b;
  --ink-hero-2: #0a1a16;
  --accent: #17b890;
  --accent-hover: #14a37e;
  --accent-2: #f2a65a;
  --paper: #ffffff;
  --paper-2: #f4f7f5;
  --ink: #0d1a16;
  --ink-soft: #45564f;
  --line: #e2ebe6;
  --card: #ffffff;
  --on-accent: #04241c;
  --hero-text: #f2f7f4;
  --hero-soft: rgba(242, 247, 244, .72);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --maxw: 1160px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(11, 31, 27, .05), 0 16px 40px -22px rgba(11, 31, 27, .30);
  --shadow-lift: 0 2px 4px rgba(11, 31, 27, .08), 0 30px 60px -24px rgba(11, 31, 27, .42);
  --ring: 0 0 0 3px rgba(23, 184, 144, .28), 0 0 0 4px var(--accent);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --paper: #0d1a16;
    --paper-2: #0b1712;
    --ink: #eaf3ef;
    --ink-soft: #9db3aa;
    --line: #1e2f28;
    --card: #12211c;
    --accent: #1fca9f;
    --accent-hover: #34d6ad;
    --accent-2: #f4b06a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 44px -22px rgba(0, 0, 0, .75);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .6), 0 32px 64px -24px rgba(0, 0, 0, .85);
    --ring: 0 0 0 3px rgba(31, 202, 159, .3), 0 0 0 4px var(--accent);
  }
}

:root[data-theme="dark"] {
  --paper: #0d1a16;
  --paper-2: #0b1712;
  --ink: #eaf3ef;
  --ink-soft: #9db3aa;
  --line: #1e2f28;
  --card: #12211c;
  --accent: #1fca9f;
  --accent-hover: #34d6ad;
  --accent-2: #f4b06a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 18px 44px -22px rgba(0, 0, 0, .75);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, .6), 0 32px 64px -24px rgba(0, 0, 0, .85);
  --ring: 0 0 0 3px rgba(31, 202, 159, .3), 0 0 0 4px var(--accent);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
.num-t { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  padding: 13px 22px; border-radius: 8px;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 26px -14px var(--accent); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--hero-text); border-color: rgba(242, 247, 244, .28); }
.btn-ghost-dark:hover { border-color: var(--hero-text); transform: translateY(-2px); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
a:focus-visible, button:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Header + logo ----------
   Logo rule: BLACK lockup on light surfaces, WHITE lockup on dark surfaces.
   Both variants ship; CSS shows exactly one. Never recoloured, never stretched. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; padding: 16px 24px; max-width: var(--maxw); margin: 0 auto; }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; padding: 4px 0; }
/* Every lockup is hidden by default; exactly one is switched on below.
   Logo2 = mark + PARADYGM + HEALTH GROUP (full lockup, roomy surfaces).
   Logo1 = mark + PARADYGM (compact, used where space is tight = mobile header). */
.brand img { display: none; height: 38px; width: auto; }

/* Default + explicit light: BLACK lockup on our light surfaces */
.brand .logo-2.logo-on-light { display: block; }
:root[data-theme="light"] .brand .logo-2.logo-on-light { display: block; }
:root[data-theme="light"] .brand .logo-2.logo-on-dark { display: none; }

/* Dark surfaces: WHITE lockup */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand .logo-2.logo-on-light { display: none; }
  :root:not([data-theme]) .brand .logo-2.logo-on-dark { display: block; }
}
:root[data-theme="dark"] .brand .logo-2.logo-on-light { display: none; }
:root[data-theme="dark"] .brand .logo-2.logo-on-dark { display: block; }

.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink-soft); font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 6px; transition: color .16s ease, background .16s ease; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--accent); }
.header-cta { margin-left: 8px; }

.theme-toggle {
  flex: none; width: 38px; height: 38px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color .16s ease, border-color .16s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .sun { display: none; }
  :root:not([data-theme]) .theme-toggle .moon { display: block; }
}
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: var(--ink-hero-2); color: var(--hero-soft);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em; text-align: center;
  padding: 8px 16px; border-bottom: 1px solid rgba(242, 247, 244, .1);
}
.demo-banner b { color: var(--accent-2); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--ink-hero) 0%, var(--ink-hero-2) 100%); color: var(--hero-text); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; top: -30%; right: -10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 184, 144, .20), transparent 62%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 92px 0 84px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); margin: 20px 0 0; color: var(--hero-text); }
.hero .sub { font-size: 20px; color: var(--hero-soft); margin-top: 22px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.eyebrow-2 { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.eyebrow-2::before { content: ""; width: 26px; height: 2px; background: var(--accent-2); border-radius: 2px; }

.trust-line-dark { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 30px; color: var(--hero-soft); font-size: 13.5px; font-weight: 600; }
.trust-line-dark .sep { opacity: .5; }

.hero-visual { position: relative; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 5 / 4; margin: 0; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-statbadge { position: absolute; left: 16px; right: 16px; bottom: 16px; background: color-mix(in srgb, var(--ink-hero) 84%, transparent); backdrop-filter: blur(7px); border: 1px solid rgba(242, 247, 244, .20); border-radius: 12px; padding: 15px 18px; color: var(--hero-text); }
.hero-statbadge .cap { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.hero-statbadge .giant { font-size: clamp(38px, 6vw, 56px); font-weight: 800; line-height: .9; margin-top: 4px; }
.hero-statbadge .giant .num-t { color: var(--accent); }
.hero-statbadge .stat-label { font-size: 13.5px; color: var(--hero-soft); margin-top: 4px; }

/* Page hero (interior pages) */
.phero { background: linear-gradient(160deg, var(--ink-hero) 0%, var(--ink-hero-2) 100%); color: var(--hero-text); position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; top: -40%; right: -8%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 184, 144, .18), transparent 62%); pointer-events: none; }
.phero-inner { position: relative; z-index: 1; padding: 72px 0 64px; max-width: 74ch; }
.phero h1 { font-size: clamp(34px, 5.2vw, 56px); margin-top: 18px; color: var(--hero-text); }
.phero p { color: var(--hero-soft); font-size: 19px; margin-top: 18px; max-width: 60ch; }

/* Breadcrumb */
.crumb { font-size: 13.5px; color: var(--hero-soft); font-weight: 600; }
.crumb a { color: var(--hero-soft); text-decoration: none; }
.crumb a:hover { color: var(--hero-text); text-decoration: underline; }
.crumb span { opacity: .5; margin: 0 6px; }

/* ---------- Metric strip ---------- */
.metricstrip { background: var(--ink-hero-2); color: var(--hero-text); border-top: 1px solid rgba(242, 247, 244, .1); }
.metricstrip .row { display: grid; grid-template-columns: repeat(4, 1fr); }
.metricstrip .m { padding: 30px 22px; border-left: 1px solid rgba(242, 247, 244, .12); }
.metricstrip .m:first-child { border-left: none; }
.metricstrip .m .n { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; color: var(--hero-text); }
.metricstrip .m .n b { color: var(--accent); font-weight: 800; }
.metricstrip .m .l { font-size: 13.5px; color: var(--hero-soft); margin-top: 6px; font-weight: 600; }
.metricstrip .m .src { font-size: 11.5px; color: rgba(242, 247, 244, .45); margin-top: 4px; }

/* ---------- Section shell ---------- */
.section { padding: 84px 0; }
.section.tight { padding-top: 0; }
.section-head { max-width: 64ch; margin-bottom: 28px; }
.eyebrow-3 { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 18px; }

/* ---------- The two-line fork (primary spine) ---------- */
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.forkcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 0 30px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.forkcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.forkcard .fc-photo { height: 190px; width: 100%; object-fit: cover; display: block; }
.forkcard .fc-body { padding: 26px 30px 0; flex: 1; display: flex; flex-direction: column; }
.forkcard .fc-idx { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.forkcard h3 { font-size: clamp(23px, 2.6vw, 30px); margin-top: 10px; }
.forkcard .fc-who { color: var(--ink-soft); font-size: 14.5px; margin-top: 10px; font-weight: 600; }
.forkcard .fc-desc { color: var(--ink-soft); font-size: 16.5px; margin-top: 14px; }
.forkcard .chips { margin-top: 18px; }
.forkcard .fc-act { padding: 22px 30px 0; margin-top: auto; }

.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 6px 11px; }

/* ---------- Numbered service rows ---------- */
.rows { border-top: 1px solid var(--line); margin-top: 14px; }
.srow { display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: start; padding: 40px 8px; border-bottom: 1px solid var(--line); transition: background .18s ease; }
.srow:hover { background: var(--paper-2); }
.srow .idx { font-size: clamp(38px, 5vw, 60px); font-weight: 800; color: var(--accent-2); line-height: .85; letter-spacing: -.03em; }
.srow .body .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.srow .body h3 { font-size: clamp(22px, 2.8vw, 30px); margin-top: 8px; }
.srow .body p { color: var(--ink-soft); margin-top: 12px; font-size: 16.5px; max-width: 60ch; }
.srow .act { align-self: center; white-space: nowrap; }
.srow .act a { font-weight: 800; font-size: 15px; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.srow .act a .arr { transition: transform .18s ease; }
.srow:hover .act a .arr { transform: translateX(5px); }

/* ---------- Example-service cards ---------- */
.svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svccard {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.svccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.svccard img { width: 100%; height: 170px; object-fit: cover; display: block; }
.svccard .sc-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.svccard h3 { font-size: 21px; }
.svccard p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; flex: 1; }
.svccard .sc-more { color: var(--accent); font-weight: 800; font-size: 14.5px; margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; }
.svccard .sc-more .arr { transition: transform .18s ease; }
.svccard:hover .sc-more .arr { transform: translateX(5px); }

.linetags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.linetag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid; }
.linetag.org { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 44%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.linetag.prov { color: var(--accent-2); border-color: color-mix(in srgb, var(--accent-2) 46%, transparent); background: color-mix(in srgb, var(--accent-2) 14%, transparent); }

/* ---------- Placeholder treatment (must read as visibly unfinished) ---------- */
.placeholder {
  border: 1.5px dashed color-mix(in srgb, var(--accent-2) 55%, var(--line));
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 6%, transparent) 0 12px, transparent 12px 24px), var(--card);
}
.placeholder .sc-body { position: relative; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid color-mix(in srgb, var(--accent-2) 50%, transparent);
  background: color-mix(in srgb, var(--accent-2) 14%, transparent);
  padding: 5px 10px; border-radius: 999px;
}
.badge-soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.ph-note { font-size: 13px; color: var(--ink-soft); font-style: italic; margin-top: 14px; }

/* ---------- Outcomes / thesis band ---------- */
.obandwrap { padding: 0 0 84px; }
.oband { background: linear-gradient(160deg, var(--ink-hero) 0%, var(--ink-hero-2) 100%); color: var(--hero-text); border-radius: 16px; padding: 60px clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.oband-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .20; z-index: 0; }
.oband::after { content: ""; position: absolute; bottom: -40%; left: -6%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 166, 90, .16), transparent 62%); pointer-events: none; }
.oband-head { position: relative; z-index: 1; max-width: 56ch; }
.oband h2 { color: var(--hero-text); font-size: clamp(28px, 3.6vw, 42px); margin-top: 14px; }
.oband .oband-sub { color: var(--hero-soft); margin-top: 16px; font-size: 17.5px; }
.oband-quotes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.oband-quotes .q { border-top: 2px solid rgba(242, 247, 244, .18); padding-top: 16px; }
.oband-quotes .q b { display: block; font-size: 17px; color: var(--hero-text); line-height: 1.35; font-weight: 700; }
.oband-quotes .q span { display: block; color: var(--hero-soft); margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.oband-cta { position: relative; z-index: 1; margin-top: 40px; }

/* ---------- Prose / detail pages ---------- */
.two-col { display: grid; grid-template-columns: 1.5fr .9fr; gap: 56px; align-items: start; }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }
.prose ul { color: var(--ink-soft); font-size: 16.5px; margin: 14px 0 0; padding-left: 20px; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  margin: 26px 0 0; padding: 20px 24px; border-left: 3px solid var(--accent);
  background: var(--paper-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; color: var(--ink);
}
.prose blockquote cite { display: block; font-size: 13px; font-weight: 600; font-style: normal; color: var(--ink-soft); margin-top: 10px; letter-spacing: .04em; text-transform: uppercase; }

.aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; box-shadow: var(--shadow); }
.panel h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; }
.panel .kv { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.panel .kv:first-of-type { border-top: none; }
.panel .kv b { font-weight: 700; }
.panel .kv span { color: var(--ink-soft); text-align: right; }
.panel .kv code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px; color: var(--accent); font-weight: 700; }
.panel p { font-size: 14.5px; color: var(--ink-soft); }
.panel-photo { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; }
.panel-photo img { width: 100%; height: 240px; object-fit: cover; display: block; }

.table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; }
table.cpt { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15px; }
table.cpt th, table.cpt td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
table.cpt th { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); }
table.cpt tr:last-child td { border-bottom: none; }
table.cpt code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; color: var(--accent); }
table.cpt td { color: var(--ink-soft); }
table.cpt td:first-child { color: var(--ink); }

/* ---------- People / team ---------- */
.people-photo { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.people-photo img { width: 100%; height: clamp(280px, 40vw, 420px); object-fit: cover; object-position: center 22%; display: block; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-photo { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-photo img { width: 100%; height: clamp(260px, 32vw, 360px); object-fit: cover; display: block; }
.split-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 12px; }
.split-copy p { color: var(--ink-soft); font-size: 17px; margin: 14px 0 0; }

/* ---------- Final CTA ---------- */
.finalcta { text-align: center; }
.finalcta .inner { border: 1px solid var(--line); background: var(--paper-2); border-radius: 16px; padding: 64px clamp(24px, 5vw, 72px); }
.finalcta h2 { font-size: clamp(28px, 4vw, 48px); }
.finalcta p { color: var(--ink-soft); font-size: 18px; margin: 16px auto 0; max-width: 48ch; }
.finalcta .hero-cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: none; }
.contact-list .ico { flex: none; width: 38px; height: 38px; border-radius: 9px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.contact-list .ct h4 { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list .ct p, .contact-list .ct a { margin-top: 5px; font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; display: block; }
.contact-list .ct a:hover { color: var(--accent); }

.form-note { border: 1.5px dashed color-mix(in srgb, var(--accent-2) 55%, var(--line)); border-radius: 12px; padding: 28px; background: color-mix(in srgb, var(--accent-2) 5%, var(--card)); }
.form-note h3 { font-size: 19px; margin-top: 14px; }
.form-note p { color: var(--ink-soft); font-size: 15.5px; margin-top: 10px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: var(--ring); border-color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-2); padding: 60px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand .brand img { height: 44px; }
.foot-brand p { color: var(--ink-soft); font-size: 14.5px; max-width: 34ch; }
.foot-col h4 { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 14px; }
.foot-col a { display: block; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 600; padding: 5px 0; transition: color .16s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-col p { color: var(--ink-soft); font-size: 14.5px; padding: 5px 0; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 13.5px; }
.hipaa-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 13px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .metricstrip .row { grid-template-columns: repeat(2, 1fr); }
  .metricstrip .m:nth-child(odd) { border-left: none; }
  .metricstrip .m:nth-child(3), .metricstrip .m:nth-child(4) { border-top: 1px solid rgba(242, 247, 244, .12); }
  .oband-quotes { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .aside { position: static; }
  .svcgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 56px; }
  .nav { display: none; }
  .section { padding: 60px 0; }
  .srow { grid-template-columns: 1fr; gap: 14px; padding: 32px 4px; }
  .srow .act { align-self: start; }
  .fork { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .brand img { height: 32px; }
  /* Header space is tight on mobile -> swap the full lockup for the compact one.
     The footer keeps Logo2 (it has room). */
  .site-header .brand .logo-2 { display: none !important; }
  .site-header .brand .logo-1.logo-on-light { display: block; }
}
@media (max-width: 860px) and (prefers-color-scheme: dark) {
  :root:not([data-theme]) .site-header .brand .logo-1.logo-on-light { display: none; }
  :root:not([data-theme]) .site-header .brand .logo-1.logo-on-dark { display: block; }
}
@media (max-width: 860px) {
  :root[data-theme="dark"] .site-header .brand .logo-1.logo-on-light { display: none; }
  :root[data-theme="dark"] .site-header .brand .logo-1.logo-on-dark { display: block; }
  :root[data-theme="light"] .site-header .brand .logo-1.logo-on-light { display: block; }
  :root[data-theme="light"] .site-header .brand .logo-1.logo-on-dark { display: none; }
}
@media (max-width: 640px) {
  .svcgrid { grid-template-columns: 1fr; }
  .oband-quotes { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .metricstrip .row { grid-template-columns: 1fr; }
  .metricstrip .m { border-left: none; border-top: 1px solid rgba(242, 247, 244, .12); }
  .metricstrip .m:first-child { border-top: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
