/* PeerHive. Trust-first clinic site: white and cool tint surfaces, deep teal as the single accent,
   Schibsted Grotesk headings + Source Sans 3 body, 6px radius everywhere. Light theme only
   (the CARF seal and state logo are supplied on light backgrounds). */

:root {
  --c-bg: #FFFFFF;
  --c-tint: #EFF4F5;
  --c-tint-2: #E3ECEE;
  --c-ink: #12303A;
  --c-ink-soft: #46616A;
  --c-line: #D5E1E4;
  --c-accent: #1A6576;
  --c-accent-hover: #124E5B;
  --c-accent-wash: #DCEBEE;
  --c-on-dark: #E9F1F3;
  --c-on-dark-soft: #B5C9CE;

  --f-head: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --t-body: 1.125rem;
  --t-small: 0.95rem;
  --t-h1: clamp(2.2rem, 1.6rem + 2.2vw, 3.3rem);
  --t-h2: clamp(1.75rem, 1.35rem + 1.4vw, 2.4rem);
  --t-h3: 1.25rem;

  --radius: 6px;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --sec: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --maxw: 1200px;

  --dur: 200ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(18, 48, 58, 0.06), 0 12px 32px -18px rgba(18, 48, 58, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 var(--t-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-head); color: var(--c-ink); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: var(--t-h1); font-weight: 700; }
h2 { font-size: var(--t-h2); font-weight: 700; }
h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--c-accent); text-underline-offset: 3px; }
a:hover { color: var(--c-accent-hover); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 62ch; }
.muted { color: var(--c-ink-soft); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--c-ink); color: #fff; padding: 0.6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: rectangular, one accent */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.25rem; border-radius: var(--radius);
  font: 600 1.02rem/1.2 var(--f-body); text-decoration: none; white-space: nowrap;
  border: 2px solid var(--c-accent); cursor: pointer;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--c-accent); }
.btn-secondary:hover { background: var(--c-accent-wash); color: var(--c-accent-hover); }
.btn-light { background: #fff; border-color: #fff; color: var(--c-ink); }
.btn-light:hover { background: var(--c-on-dark); border-color: var(--c-on-dark); color: var(--c-ink); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }

/* Crisis bar */
.crisis-bar { background: var(--c-ink); color: var(--c-on-dark); font-size: var(--t-small); }
.crisis-bar .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; padding-top: 0.55rem; padding-bottom: 0.55rem; }
.crisis-bar p { margin: 0; }
.crisis-bar strong { color: #fff; font-weight: 600; }
.crisis-bar a { color: #fff; font-weight: 600; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--c-line); }
.hdr-in { display: flex; align-items: center; gap: 1.75rem; height: 76px; }
.brand { margin-right: auto; display: block; }
.brand img { width: 184px; height: auto; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 0.9rem; border: 1.5px solid var(--c-line); border-radius: var(--radius); font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--c-accent); color: var(--c-accent); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, 86vw); background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 0.5rem; display: grid; }
.menu-panel a { padding: 0.75rem 0.8rem; color: var(--c-ink); text-decoration: none; font-weight: 600; border-radius: 4px; }
.menu-panel a:hover { background: var(--c-tint); }

/* Hero */
.hero { position: relative; min-height: min(78dvh, 760px); display: grid; align-items: center; overflow: hidden; background: var(--c-ink); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 34, 41, 0.86) 0%, rgba(12, 34, 41, 0.62) 45%, rgba(12, 34, 41, 0.12) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 4.5rem; padding-bottom: 7.5rem; }
.hero-copy { max-width: 50rem; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero-sub { color: var(--c-on-dark); font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem); max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.video-toggle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: 5.5rem;
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0 0.85rem;
  background: rgba(12, 34, 41, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius);
  font: 600 0.88rem/1 var(--f-body); cursor: pointer;
}
.video-toggle:hover { background: rgba(12, 34, 41, 0.8); }
.video-toggle svg { width: 14px; height: 14px; fill: currentColor; }

/* Routing bar, overlapping the hero */
.route { position: relative; z-index: 3; margin-top: -4rem; }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--c-line); border-top: 4px solid var(--c-accent); border-radius: var(--radius); box-shadow: var(--shadow); }
.route-list li + li { border-left: 1px solid var(--c-line); }
.route-list a { display: grid; gap: 0.25rem; height: 100%; padding: 1.35rem 1.5rem; text-decoration: none; color: var(--c-ink); transition: background-color var(--dur) var(--ease); }
.route-list a:hover { background: var(--c-tint); }
.route-t { font: 600 1.15rem/1.25 var(--f-head); display: flex; justify-content: space-between; gap: 1rem; }
.route-t::after { content: "\2192"; color: var(--c-accent); transition: transform var(--dur) var(--ease); }
.route-list a:hover .route-t::after { transform: translateX(4px); }
.route-d { color: var(--c-ink-soft); font-size: var(--t-small); }

/* Credentials */
.creds { padding: var(--sec) 0 calc(var(--sec) * 0.8); }
.creds h2 { font-size: 1.35rem; margin-bottom: 1.5rem; }
.creds-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.1fr 1.1fr 0.9fr; gap: 1rem; align-items: stretch; }
.creds-row > li { display: flex; }
.creds-row .cred { width: 100%; }
.cred { display: flex; align-items: center; gap: 1.1rem; padding: 1.1rem 1.4rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; color: var(--c-ink); text-decoration: none; }
a.cred { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
a.cred:hover { border-color: var(--c-accent); box-shadow: var(--shadow); color: var(--c-ink); }
.cred img { flex: none; }
.cred-carf img { width: 76px; height: 76px; }
.cred-dbh { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.cred-dbh img { width: 190px; height: auto; }
.cred-text { font-size: var(--t-small); line-height: 1.4; color: var(--c-ink-soft); }
.cred-text strong { display: block; color: var(--c-ink); font-size: 1.02rem; margin-bottom: 0.15rem; }
.cred-peer { background: var(--c-tint); border-color: var(--c-tint); }
.cred-link { color: var(--c-accent); font-weight: 600; }

/* Programs */
.programs { padding: var(--sec) 0; background: var(--c-tint); }
.programs-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.75rem; }
.programs-head h2 { margin-bottom: 0.5rem; }
.programs-head p { margin: 0; color: var(--c-ink-soft); max-width: 46ch; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 4px; }
.seg button { font: 600 0.98rem/1 var(--f-body); color: var(--c-ink); background: transparent; border: 0; border-radius: 4px; min-height: 42px; padding: 0 1rem; cursor: pointer; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.seg button:hover { background: var(--c-tint); }
.seg button[aria-pressed="true"] { background: var(--c-accent); color: #fff; }
.prog-status { font-size: var(--t-small); color: var(--c-ink-soft); margin: 0 0 0.75rem; min-height: 1.4em; }
.prog-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.prog-table th, .prog-table td { text-align: left; vertical-align: top; padding: 1.3rem 1.5rem; }
.prog-table thead th { font: 600 0.85rem/1.2 var(--f-body); color: var(--c-ink-soft); background: #F8FAFB; border-bottom: 1px solid var(--c-line); letter-spacing: 0.02em; }
.prog-table tbody tr + tr th, .prog-table tbody tr + tr td { border-top: 1px solid var(--c-line); }
.prog-table tbody th { width: 26%; }
.prog-name { font: 600 1.2rem/1.25 var(--f-head); color: var(--c-ink); display: block; }
.prog-table td p { margin: 0; color: var(--c-ink-soft); }
.ages { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.age { font-size: 0.86rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 4px; background: var(--c-accent-wash); color: var(--c-accent-hover); white-space: nowrap; }
.age-only { background: var(--c-ink); color: #fff; }
.prog-table tr[hidden] { display: none; }
.programs-foot { margin-top: 1.25rem; color: var(--c-ink-soft); }

/* Getting started */
.start { padding: var(--sec) 0; }
.start-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.start h2 { margin-bottom: 0.75rem; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: step; display: grid; gap: 1.75rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 1.1rem; }
.steps li::before { content: counter(step); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent-wash); color: var(--c-accent-hover); font: 700 1.1rem/1 var(--f-head); }
.steps h3 { margin: 0.45rem 0 0.3rem; }
.steps p { margin: 0; color: var(--c-ink-soft); }
.bring { background: var(--c-tint); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 110px; }
.bring h3 { margin-bottom: 0.9rem; }
.bring ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.bring li { margin-bottom: 0.45rem; }
.bring li::marker { color: var(--c-accent); }
.bring .note { font-size: var(--t-small); color: var(--c-ink-soft); margin: 0; padding-top: 1rem; border-top: 1px solid var(--c-line); }

/* Peer-run statement band */
.peer { background: var(--c-ink); color: var(--c-on-dark); padding: var(--sec) 0; }
.peer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.peer h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.peer p { color: var(--c-on-dark-soft); }
.peer p strong { color: #fff; font-weight: 600; }
.mission { margin: 1.5rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--c-accent-wash); color: #fff; font-size: 1.15rem; }

/* Referral partners */
.refer { padding: var(--sec) 0; }
.refer-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.refer h2 { margin-bottom: 0.75rem; }
.partner-types { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.partner-types li { font-size: 0.95rem; padding: 0.4rem 0.8rem; border: 1px solid var(--c-line); border-radius: var(--radius); }
.contact-card { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 1rem; }
.contact-card dl { margin: 0 0 1.25rem; display: grid; gap: 0.9rem; }
.contact-card dt { font-size: 0.85rem; font-weight: 600; color: var(--c-ink-soft); }
.contact-card dd { margin: 0.1rem 0 0; font-size: 1.1rem; font-weight: 600; }
.contact-card dd a { text-decoration: none; }
.contact-card .note { font-size: var(--t-small); color: var(--c-ink-soft); margin: 0; }

/* Location */
.visit { padding: 0 0 var(--sec); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.4fr; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.visit-info { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--c-tint); }
.visit-info h2 { margin-bottom: 1.25rem; }
.visit-info address { font-style: normal; font-size: 1.15rem; margin-bottom: 1.25rem; }
.visit-info .btn { margin-bottom: 1.5rem; }
.visit-info p { color: var(--c-ink-soft); font-size: var(--t-small); margin: 0; }
.map { min-height: 360px; background: var(--c-tint-2); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* FAQ */
.faq-teaser { padding: var(--sec) 0; background: var(--c-tint); }
.faq-teaser-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.faq-teaser h2 { margin-bottom: 0.75rem; }
.qa { border-top: 1px solid var(--c-line); }
.qa:last-of-type { border-bottom: 1px solid var(--c-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font: 600 1.12rem/1.35 var(--f-head); color: var(--c-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--c-accent-wash); color: var(--c-accent-hover); font: 600 1.2rem/1 var(--f-body); transition: transform var(--dur) var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--c-accent); }
.qa-body { padding: 0 2.5rem 1.25rem 0; color: var(--c-ink-soft); }
.qa-body p:last-child, .qa-body ul:last-child { margin-bottom: 0; }
.qa-body ul { padding-left: 1.2rem; }

/* FAQ page */
.page-head { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0 2rem; background: var(--c-tint); border-bottom: 1px solid var(--c-line); }
.page-head h1 { margin-bottom: 0.75rem; }
.page-head p { color: var(--c-ink-soft); max-width: 58ch; margin: 0; }
.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); padding: 3rem 0 var(--sec); align-items: start; }
.toc { position: sticky; top: 110px; }
.toc h2 { font-size: 0.95rem; color: var(--c-ink-soft); margin-bottom: 0.6rem; font-family: var(--f-body); letter-spacing: 0; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--c-line); }
.toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.toc a:hover { color: var(--c-accent); border-left-color: var(--c-accent); }
.faq-group { margin-bottom: 3rem; }
.faq-group > h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.urgent { background: var(--c-ink); color: var(--c-on-dark); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); margin-bottom: 3rem; }
.urgent h2 { color: #fff; font-size: 1.6rem; margin-bottom: 0.4rem; }
.urgent > p { color: var(--c-on-dark-soft); }
.urgent-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; }
.urgent-list li { background: var(--c-ink); padding: 1rem 1.1rem 1rem 0; }
.urgent-list li:nth-child(odd) { padding-left: 0; }
.urgent-list li:nth-child(even) { padding-left: 1.25rem; }
.urgent-num { display: block; font: 700 1.35rem/1.2 var(--f-head); color: #fff; text-decoration: none; }
a.urgent-num:hover { color: var(--c-accent-wash); }
.urgent-list span { font-size: var(--t-small); color: var(--c-on-dark-soft); }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.res-list a { display: block; height: 100%; padding: 1.1rem 1.25rem; border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.res-list a:hover { border-color: var(--c-accent); background: #FAFCFC; }
.res-list strong { display: block; font-family: var(--f-head); font-weight: 600; margin-bottom: 0.2rem; }
.res-list span { font-size: var(--t-small); color: var(--c-ink-soft); }
.faq-cta { background: var(--c-tint); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-cta p { margin: 0; font: 600 1.2rem/1.3 var(--f-head); }

/* Footer */
.foot { background: var(--c-tint); border-top: 1px solid var(--c-line); padding: 3.5rem 0 2rem; font-size: var(--t-small); color: var(--c-ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.foot-logo { background: #fff; border-radius: var(--radius); padding: 0.6rem 0.8rem; display: inline-block; margin-bottom: 1rem; }
.foot-logo img { width: 170px; height: auto; }
.foot h2 { font: 600 0.95rem/1.3 var(--f-body); color: var(--c-ink); margin-bottom: 0.75rem; letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.foot a { color: var(--c-ink); }
.foot address { font-style: normal; line-height: 1.6; }
.foot-crisis strong { color: var(--c-ink); }
.foot-creds { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.foot-creds img { height: auto; }
.foot-by { display: flex; align-items: center; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.foot-by-card { display: block; flex: none; width: 150px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: transform var(--dur) var(--ease); }
.foot-by-card:hover { transform: translateY(-2px); }
.foot-by-video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.foot-by-text { margin: 0; display: grid; gap: 0.1rem; }
.foot-by-text a { font-weight: 600; }
.foot-legal { margin-top: 1.25rem; font-size: 0.85rem; }

.callbar { display: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav, .hdr .btn-primary { display: none; }
  .menu { display: block; }
  .creds-row { grid-template-columns: 1fr 1fr; }
  .cred-peer { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .route-list { grid-template-columns: 1fr; }
  .route-list li + li { border-left: 0; border-top: 1px solid var(--c-line); }
  .start-grid, .peer-grid, .refer-grid, .faq-teaser-grid, .visit-grid, .faq-layout { grid-template-columns: 1fr; }
  .bring, .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 0.4rem; border: 0; }
  .toc a { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 0.45rem 0.75rem; margin: 0; }
  .creds-row { grid-template-columns: 1fr; }
  .res-list, .urgent-list { grid-template-columns: 1fr; }
  .urgent-list li:nth-child(n) { padding-left: 0; }

  /* Program table becomes stacked rows */
  .prog-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prog-table, .prog-table tbody, .prog-table tr, .prog-table th, .prog-table td { display: block; width: 100%; }
  .prog-table tbody th { width: 100%; padding-bottom: 0.4rem; }
  .prog-table td { padding-top: 0.4rem; padding-bottom: 0.4rem; }
  .prog-table tbody tr { padding: 0.9rem 0; }
  .prog-table tbody tr + tr { border-top: 1px solid var(--c-line); }
  .prog-table tbody tr + tr th, .prog-table tbody tr + tr td { border-top: 0; }
  .prog-table td:last-child { padding-bottom: 1rem; }
}

@media (max-width: 640px) {
  .crisis-bar .wrap { font-size: 0.88rem; }
  .hdr-in { height: 64px; }
  .brand img { width: 150px; }
  .hero { min-height: 0; }
  .hero-in { padding-top: 3rem; padding-bottom: 6.5rem; }
  .hero-scrim { background: linear-gradient(180deg, rgba(12, 34, 41, 0.55) 0%, rgba(12, 34, 41, 0.88) 100%); }
  .hero-actions .btn { width: 100%; }
  .video-toggle { top: 0.75rem; bottom: auto; right: 0.75rem; min-height: 36px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 0.5rem; font-size: 0.92rem; }
  .cred { flex-direction: row; }
  .cred-dbh img { width: 160px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-by { flex-direction: column; align-items: flex-start; }
  .foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .callbar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--c-line);
  }
  .callbar .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Form pages (Jotform embed) */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); padding: 2.5rem 0 var(--sec); align-items: start; }
.form-frame { min-height: 900px; }
.form-frame iframe { display: block; width: 100%; min-height: 1100px; border: 0; }
.form-aside { position: sticky; top: 110px; display: grid; gap: 1rem; }
.aside-box { background: var(--c-tint); border-radius: var(--radius); padding: 1.5rem; }
.aside-box h2 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.aside-box p { color: var(--c-ink-soft); font-size: var(--t-small); }
.aside-box p:last-child { margin-bottom: 0; }
.aside-box .btn { width: 100%; margin-bottom: 0.75rem; }
.aside-urgent { background: var(--c-ink); color: var(--c-on-dark); }
.aside-urgent h2 { color: #fff; }
.aside-urgent p { color: var(--c-on-dark-soft); }
.aside-urgent a { color: #fff; font-weight: 600; }
@media (max-width: 820px) {
  .form-layout { grid-template-columns: 1fr; }
  .form-aside { position: static; }
}
.contact-card .btn { width: 100%; margin-bottom: 1rem; }
