/* 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-top: 3rem; padding-bottom: 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-top: 2.5rem; padding-bottom: 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; }

/* ===== v3: multi-page, honeycomb brand system ===== */
:root {
  --c-honey: #E2A93B;
  --c-honey-wash: #FBF0D9;
  --c-honey-ink: #6B4A0E;
  --hex-clip: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.nav { gap: 1.25rem; }
@media (max-width: 1180px) { .nav, .hdr .hdr-cta { display: none; } .menu { display: block; } }

/* Hexagon badge, drawn like the logo: teal outline, tinted fill */
.hex { position: relative; flex: none; display: inline-grid; place-items: center; width: 56px; height: 64px; background: var(--c-accent); clip-path: var(--hex-clip); }
.hex::before { content: ""; position: absolute; inset: 2px; background: var(--c-accent-wash); clip-path: var(--hex-clip); }
.hex i { position: relative; font-size: 1.7rem; color: var(--c-accent-hover); }
.hex-honey { background: var(--c-honey); }
.hex-honey::before { background: var(--c-honey-wash); }
.hex-honey i { color: var(--c-honey-ink); }
.hex-dark { background: var(--c-ink); }
.hex-dark::before { background: #DDE6E8; }
.hex-dark i { color: var(--c-ink); }
.hex-sm { width: 42px; height: 48px; }
.hex-sm i { font-size: 1.3rem; }
.hex-lg { width: 76px; height: 88px; margin-bottom: 1rem; }
.hex-lg i { font-size: 2.3rem; }

/* Honeycomb grid (6 cells, rows of 3 offset into a comb) */
.comb { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.cell { grid-column: span 2; aspect-ratio: 0.866; position: relative; clip-path: var(--hex-clip); background: var(--c-accent); display: grid; place-content: center; text-align: center; padding: 0 12%; margin: 0 3%; }
.cell::before { content: ""; position: absolute; inset: 2px; clip-path: var(--hex-clip); background: #fff; z-index: 0; }
.cell > * { position: relative; z-index: 1; }
.cell:nth-child(1) { grid-column: 1 / span 2; }
.cell:nth-child(2) { grid-column: 3 / span 2; }
.cell:nth-child(3) { grid-column: 5 / span 2; }
.cell:nth-child(4) { grid-column: 2 / span 2; margin-top: -8%; }
.cell:nth-child(5) { grid-column: 4 / span 2; margin-top: -8%; }
.cell:nth-child(6) { grid-column: 6 / span 2; margin-top: -8%; }
.cell:nth-child(even)::before { background: var(--c-honey-wash); }
.cell-native { font: 700 clamp(1rem, 0.8rem + 0.8vw, 1.35rem)/1.2 var(--f-head); color: var(--c-ink); }
.cell-en { font-size: 0.85rem; color: var(--c-ink-soft); margin-top: 0.2rem; }
.comb-lg { max-width: 760px; margin: 0 auto 3rem; }
.comb-youth .cell i { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); color: var(--c-accent-hover); }
.comb-youth .cell:nth-child(even) i { color: var(--c-honey-ink); }

/* Language band */
.lang-band { padding: var(--sec) 0; }
.lang-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.lang-grid h2 { margin-bottom: 0.75rem; }
.lang-grid .btn { margin-top: 0.5rem; }

/* Program cards (bento) */
.progs { padding: var(--sec) 0; background: var(--c-tint); }
.progs h2 { margin-bottom: 0.5rem; }
.prog-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 2rem; }
.pcard { grid-column: span 2; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink); text-decoration: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.pcard:hover { border-color: var(--c-accent); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--c-ink); }
.pcard p { color: var(--c-ink-soft); margin: 0; }
.pcard .ages { margin-top: auto; padding-top: 0.5rem; }
.prog-bento > .pcard:nth-child(1) { grid-column: span 3; }
.prog-bento > .pcard:nth-child(2) { grid-column: span 3; }
.pcard-feature { background: var(--c-ink); border-color: var(--c-ink); }
.pcard-feature h3, .pcard-feature:hover { color: #fff; }
.pcard-feature p { color: var(--c-on-dark-soft); }
.pcard-youth { background: var(--c-honey-wash); border-color: #F1DDAF; }
.prog-bento-4 > .pcard:nth-child(n) { grid-column: span 3; }
.prog-bento-3 > .pcard:nth-child(n) { grid-column: span 2; }
.prog-bento-3 > .pcard:nth-child(1) { grid-column: span 2; }

/* What-we-treat chips */
.treat-band { padding: var(--sec) 0 calc(var(--sec) * 0.6); }
.treat-band h2 { margin-bottom: 1.5rem; }
.treat-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.treat-chips a { display: flex; align-items: center; gap: 0.7rem; min-height: 64px; padding: 0.75rem 1rem; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink); font-weight: 600; text-decoration: none; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.treat-chips a:hover { border-color: var(--c-accent); background: var(--c-tint); }
.treat-chips i { font-size: 1.6rem; color: var(--c-accent); }

.peer .mission { margin-top: 1.5rem; }
.peer .btn { margin-top: 0.5rem; }

/* Inner pages */
.page-head-prog .wrap { display: grid; justify-items: start; }
.page-head .ages { margin: 0.5rem 0 0; }
.head-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.page-head-youth { background: var(--c-honey-wash); border-bottom-color: #F1DDAF; }
.youth-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.page-head-comb { background: var(--c-tint) var(--hexpat, none); }
.prog-body { padding: calc(var(--sec) * 0.75) 0; }
.prog-body h2 { margin-bottom: 0.25rem; }
.prog-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--c-ink-soft); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.side { display: grid; gap: 1rem; position: sticky; top: 110px; }
.incl { list-style: none; padding: 0 !important; display: grid; gap: 1.1rem; margin: 1rem 0; }
.incl li { display: flex; gap: 1rem; align-items: flex-start; margin: 0; }
.incl h3 { margin-bottom: 0.2rem; font-size: 1.1rem; color: var(--c-ink); }
.incl p { margin: 0; }

/* Signs to look for */
.signs { padding: var(--sec) 0; background: var(--c-tint); }
.signs-youth { background: #fff; }
.signs-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.signs h2 { margin-bottom: 0.75rem; }
.sign-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.sign-list li { position: relative; padding: 1rem 1rem 1rem 3rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.signs-youth .sign-list li { background: var(--c-honey-wash); border-color: #F1DDAF; }
.sign-list li::before { content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 18px; height: 20px; background: var(--c-accent); clip-path: var(--hex-clip); }
.signs-youth .sign-list li::before { background: var(--c-honey); }
.urgent-line { position: relative; margin: 2rem 0 0; padding: 1.1rem 1.25rem 1.1rem 3.25rem; background: var(--c-ink); color: var(--c-on-dark); border-radius: var(--radius); }
.urgent-line i { position: absolute; left: 1.1rem; top: 1.05rem; font-size: 1.5rem; color: var(--c-honey); }
.urgent-line a { color: #fff; font-weight: 600; }

/* Level of care steps */
.loc, .refer-how { padding: calc(var(--sec) * 0.75) 0; }
.loc h2, .refer-how h2 { margin-bottom: 1.5rem; }
.loc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: loc; }
.loc-step { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.loc-step + .loc-step::before { content: "\2192"; position: absolute; left: -0.95rem; top: 2.2rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: 50%; font-size: 0.9rem; color: var(--c-accent); z-index: 1; }
.loc-step p { color: var(--c-ink-soft); margin: 0; }
.loc-step a { font-weight: 600; }
.loc-out { background: var(--c-tint); }
.loc-note { margin-top: 1.25rem; }

/* What we treat page */
.treat-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); padding-top: 3rem; padding-bottom: var(--sec); align-items: start; }
.conditions { display: grid; gap: 1rem; }
.cond { display: flex; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius); scroll-margin-top: 110px; }
.cond h2 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.cond h3 { font-size: 0.95rem; color: var(--c-ink-soft); margin: 0.9rem 0 0.4rem; font-family: var(--f-body); }
.cond p { margin: 0; color: var(--c-ink-soft); }
.cond ul { margin: 0; padding-left: 1.1rem; color: var(--c-ink-soft); columns: 2; column-gap: 2rem; }
.cond li { margin-bottom: 0.3rem; break-inside: avoid; }
.cond-help { margin-top: 1rem; padding: 1.75rem; background: var(--c-tint); border-radius: var(--radius); }
.cond-help h2 { margin-bottom: 0.6rem; }

/* About */
.about-mission { padding: calc(var(--sec) * 0.75) 0 0; }
.mission-lg { font: 600 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1.3 var(--f-head); max-width: 30ch; color: var(--c-ink); padding-left: 1.25rem; border-left: 4px solid var(--c-honey); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-card { padding: 1.75rem; border: 1px solid var(--c-line); border-radius: var(--radius); }
.about-card h2 { font-size: 1.35rem; margin: 1rem 0 0.5rem; }
.about-card p { color: var(--c-ink-soft); margin: 0; }
.about-card:first-child { background: var(--c-honey-wash); border-color: #F1DDAF; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.contact-tile { display: grid; gap: 0.3rem; justify-items: start; padding: 1.5rem; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink); text-decoration: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.contact-tile:hover { border-color: var(--c-accent); box-shadow: var(--shadow); color: var(--c-ink); }
.ct-k { font-size: 0.9rem; color: var(--c-ink-soft); margin-top: 0.6rem; }
.ct-v { font: 600 1.1rem/1.3 var(--f-head); word-break: break-word; }
.note-line { margin-top: 1.25rem; font-size: var(--t-small); }

/* Legal pages */
.legal { padding: 3rem 0 var(--sec); }
.legal-prose { max-width: 760px; }
.legal-callout { padding: 1.5rem; background: var(--c-tint); border-left: 4px solid var(--c-accent); border-radius: var(--radius); margin-bottom: 2rem; }
.legal-callout h2 { margin-top: 0 !important; }
.agency-list { display: grid; gap: 1rem; margin: 1rem 0; }
.agency-list > div { padding: 1.1rem 1.25rem; border: 1px solid var(--c-line); border-radius: var(--radius); }
.agency-list dt { font-weight: 600; color: var(--c-ink); margin-bottom: 0.3rem; }
.agency-list dd { margin: 0; color: var(--c-ink-soft); }

/* Map placeholder (loads only on consent or click) */
.map-ph { height: 100%; min-height: 360px; display: grid; place-content: center; justify-items: center; gap: 0.75rem; padding: 1.5rem; text-align: center; color: var(--c-ink-soft); font-size: var(--t-small); }

/* Footer legal row + linklike buttons */
.foot-legal-nav { padding: 1.25rem 0; border-top: 1px solid var(--c-line); }
.foot-legal-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.9rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot .linklike { color: var(--c-ink); }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; }

/* Cookie notice */
.cookie { position: fixed; z-index: 60; left: 1rem; bottom: 1rem; max-width: 440px; background: #fff; border: 1px solid var(--c-line); border-top: 4px solid var(--c-accent); border-radius: var(--radius); box-shadow: 0 18px 50px -20px rgba(18, 48, 58, 0.55); }
.cookie-in { padding: 1.25rem 1.35rem; }
.cookie h2 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.cookie p { font-size: 0.92rem; color: var(--c-ink-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-actions .btn { min-height: 42px; padding: 0.5rem 1rem; }

@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .treat-chips { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .lang-grid, .prog-grid, .signs-grid, .treat-layout, .youth-head { grid-template-columns: 1fr; }
  .side { position: static; }
  .prog-bento > .pcard:nth-child(n), .prog-bento-3 > .pcard:nth-child(n) { grid-column: span 6; }
  .loc-steps, .about-grid { grid-template-columns: 1fr; }
  .loc-step + .loc-step::before { content: "\2193"; left: 1.5rem; top: -0.95rem; }
  .sign-list { grid-template-columns: 1fr; }
  .comb-youth { max-width: 360px; }
}
@media (max-width: 640px) {
  .comb { grid-template-columns: repeat(5, 1fr); max-width: 340px; margin-inline: auto; }
  .cookie-in { padding: 1rem; }
  .cookie p { font-size: 0.86rem; margin-bottom: 0.75rem; }
  .cell:nth-child(n) { margin-top: 0; }
  .cell:nth-child(1) { grid-column: 1 / span 2; }
  .cell:nth-child(2) { grid-column: 3 / span 2; }
  .cell:nth-child(3) { grid-column: 2 / span 2; margin-top: -11.5%; }
  .cell:nth-child(4) { grid-column: 4 / span 2; margin-top: -11.5%; }
  .cell:nth-child(5) { grid-column: 1 / span 2; margin-top: -11.5%; }
  .cell:nth-child(6) { grid-column: 3 / span 2; margin-top: -11.5%; }
  .treat-chips, .contact-grid { grid-template-columns: 1fr; }
  .cond { flex-direction: column; }
  .cond ul { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .cookie { left: 0.5rem; right: 0.5rem; bottom: 4.75rem; max-width: none; }
}

/* ===== v4: people photography with a honeycomb accent ===== */
.photo { position: relative; margin: 0; }
.photo img { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; display: block; }
.photo-wide img { aspect-ratio: 4 / 3; }
.photo-tall img { aspect-ratio: 3 / 4; }
.photo::after { content: ""; position: absolute; width: 46px; height: 53px; right: -12px; bottom: -14px; background: var(--c-honey); clip-path: var(--hex-clip); box-shadow: none; }
.photo::before { content: ""; position: absolute; z-index: 1; width: 30px; height: 35px; right: 30px; bottom: -20px; background: var(--c-accent); clip-path: var(--hex-clip); }
.photo-honey-left::after { right: auto; left: -12px; }
.photo-honey-left::before { right: auto; left: 30px; }

/* Page header with a photo */
.head-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.head-split .photo img { max-height: 420px; }

/* Home welcome band */
.welcome { padding: var(--sec) 0; }
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.welcome h2 { margin-bottom: 0.75rem; }
.welcome .head-actions { margin-top: 1.25rem; }
.side .photo { margin-bottom: 1.25rem; }
.about-photo { padding: calc(var(--sec) * 0.6) 0 0; }
.about-photo .photo img { max-height: 480px; }

@media (max-width: 820px) {
  .head-split, .welcome-grid { grid-template-columns: 1fr; }
  .photo::after { right: -6px; }
  .photo-honey-left::after { left: -6px; }
}
.contact-photo { max-width: 640px; margin: 2rem 0 0; }
.prose .photo { margin: 2rem 0; }

/* ===== v5: Bright Path Behavioral Health brand (overrides everything above) =====
   Deep teal #0F4C5C primary, ink #12343B text, gold #E8A33D accent only (never text on light),
   light gold #F2C77A small text on teal, warm off-white #F7F4EE page, white cards. Plus Jakarta Sans. */
:root {
  --c-bg: #F7F4EE;
  --c-card: #FFFFFF;
  --c-tint: #EFEAE0;
  --c-tint-2: #E7E0D2;
  --c-ink: #12343B;
  --c-ink-soft: #4A5D61;
  --c-line: #DDD5C6;
  --c-accent: #0F4C5C;
  --c-accent-hover: #0B3A47;
  --c-accent-wash: #E1ECEE;
  --c-gold: #E8A33D;
  --c-gold-light: #F2C77A;
  --c-honey: #E8A33D;
  --c-honey-wash: #FBF1DE;
  --c-honey-ink: #6B4A0E;
  --c-on-dark: #F7F4EE;
  --c-on-dark-soft: #CFDDE0;
  --f-head: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --t-body: 1.0625rem;
  --hex-clip: circle(50% at 50% 50%);
  --radius: 10px;
}
body { background: var(--c-bg); font-weight: 400; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
.label { font: 600 0.78rem/1.2 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-accent); }

/* Crisis bar + header */
.crisis-bar { background: #0B3A47; }
.hdr { background: var(--c-bg); border-bottom-color: var(--c-line); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--c-ink); }
.brand-mark { width: 52px; height: 52px; flex: none; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font: 800 1.45rem/1 var(--f-head); letter-spacing: -0.02em; color: var(--c-ink); }
.brand-sub { font: 600 0.62rem/1 var(--f-body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--c-accent); margin-top: 0.35rem; }
.brand-rev .brand-name { color: var(--c-on-dark); }
.brand-rev .brand-sub { color: var(--c-gold-light); }
.nav a { font-weight: 600; }

/* Buttons */
.btn { border-radius: 8px; font-weight: 600; }
.btn-light { background: var(--c-bg); border-color: var(--c-bg); color: var(--c-ink); }

/* Circles instead of hexagons */
.hex { width: 56px; height: 56px; border-radius: 50%; clip-path: none; background: var(--c-accent-wash); }
.hex::before { display: none; }
.hex i { color: var(--c-accent); }
.hex-honey { background: var(--c-honey-wash); }
.hex-honey i { color: var(--c-honey-ink); }
.hex-dark { background: #E3E8E9; }
.hex-sm { width: 42px; height: 42px; }
.hex-lg { width: 76px; height: 76px; }
.sign-list li::before { width: 10px; height: 10px; border-radius: 50%; clip-path: none; top: 1.45rem; left: 1.2rem; background: var(--c-gold); }
.signs-youth .sign-list li::before { background: var(--c-gold); }

/* Languages: simple chips instead of the honeycomb */
.comb { display: flex; flex-wrap: wrap; gap: 0.6rem; max-width: none; margin: 0; }
.cell, .cell:nth-child(n) { grid-column: auto; aspect-ratio: auto; clip-path: none; margin: 0; padding: 0.8rem 1.1rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 999px; display: inline-flex; align-items: baseline; gap: 0.5rem; text-align: left; }
.cell::before { display: none; }
.cell-native { font-size: 1.05rem; }
.cell-en { margin: 0; }
.comb-lg { margin-bottom: 2.5rem; }

/* Photos: thin gold rule instead of hex accents */
.photo::before { display: none; }
.photo::after { width: 64px; height: 4px; right: auto; left: 0; bottom: -12px; clip-path: none; border-radius: 2px; background: var(--c-gold); }
.photo-honey-left::after { left: 0; }

/* No left-border callouts: use a top gold rule instead */
.mission, .mission-lg, .pull { border-left: 0; padding-left: 0; padding-top: 1rem; position: relative; }
.mission::before, .mission-lg::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--c-gold); }
.legal-callout { border-left: 0; border-top: 4px solid var(--c-gold); }

/* Cards on off-white */
.pcard, .cred, .loc-step, .cond, .about-card, .contact-tile, .res-list a, .agency-list > div, .sign-list li, .contact-card, .route-list { background: var(--c-card); }
.pcard-feature { background: var(--c-accent); border-color: var(--c-accent); }
.pcard-youth, .about-card:first-child, .signs-youth .sign-list li { background: var(--c-honey-wash); }
.progs, .programs, .signs, .faq-teaser, .page-head, .visit-info, .bring, .aside-box, .cond-help, .faq-cta, .legal-callout { background: var(--c-tint); }
.page-head-youth { background: var(--c-honey-wash); }
.aside-urgent, .urgent, .urgent-line { background: var(--c-accent); }
.peer { background: var(--c-accent); }
.route-list { border-top-color: var(--c-gold); }

/* Teal footer */
.foot { background: var(--c-accent); color: var(--c-on-dark-soft); border-top: 0; }
.foot h2 { color: var(--c-gold-light); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; }
.foot a, .foot .linklike { color: var(--c-on-dark); }
.foot address { color: var(--c-on-dark); }
.foot-crisis strong { color: #fff; }
.foot-legal-nav, .foot-by { border-top-color: rgba(247, 244, 238, 0.2); }
.foot-creds a, .foot-creds img { background: #fff; border-radius: 8px; }
.foot-creds img { padding: 6px; box-sizing: content-box; }
.foot-by-text span { color: var(--c-on-dark-soft); }
.foot .brand { margin-bottom: 1rem; }

/* Evaluations + attorneys */
.eval-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.75rem; }
.eval-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink); text-decoration: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
a.eval-card:hover { border-color: var(--c-accent); box-shadow: var(--shadow); color: var(--c-ink); }
.eval-card p, .eval-card li { color: var(--c-ink-soft); margin: 0; }
.eval-card ul { margin: 0; padding-left: 1.1rem; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.path { padding: 1.75rem; border-radius: var(--radius); background: var(--c-card); border: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 0.6rem; }
.path-dark { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-dark); }
.path-dark h3 { color: #fff; }
.path-dark p { color: var(--c-on-dark-soft); }
.path .head-actions { margin-top: auto; padding-top: 0.75rem; }
.process { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: proc; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.process li { counter-increment: proc; padding: 1.25rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); }
.process li::before { content: counter(proc); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-gold); color: var(--c-ink); font-weight: 800; margin-bottom: 0.75rem; }
.process h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.process p { color: var(--c-ink-soft); margin: 0; font-size: 0.95rem; }
.note-box { padding: 1.25rem 1.4rem; background: var(--c-card); border: 1px solid var(--c-line); border-top: 4px solid var(--c-gold); border-radius: var(--radius); }
.note-box p:last-child { margin-bottom: 0; }
@media (max-width: 1080px) { .process { grid-template-columns: repeat(2, 1fr); } .eval-types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .paths, .eval-types, .process { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .brand-mark { width: 44px; height: 44px; } .brand-name { font-size: 1.25rem; } .brand-sub { font-size: 0.56rem; letter-spacing: 0.24em; } }
.route-list { grid-template-columns: repeat(4, 1fr); }
.home-evals .eval-types { margin-bottom: 1.5rem; }
@media (max-width: 1080px) { .route-list { grid-template-columns: repeat(2, 1fr); } .route-list li:nth-child(3) { border-left: 0; } .route-list li:nth-child(n+3) { border-top: 1px solid var(--c-line); } }
@media (max-width: 820px) { .route-list { grid-template-columns: 1fr; } }
/* v5 fixes: logo mark sizing beats the old .brand img rule; no wrapping in nav or wordmark */
.brand img.brand-mark { width: 52px; height: 52px; }
.foot .brand img.brand-mark { width: 56px; height: 56px; }
.brand-name, .brand-sub, .nav a { white-space: nowrap; }
.hdr-in { gap: 1.5rem; }
.nav { gap: 1.1rem; }
.nav a { font-size: 0.96rem; }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); }
@media (max-width: 640px) { .brand img.brand-mark { width: 42px; height: 42px; } }
/* v6: evaluations as a secondary service on home */
.route-list { grid-template-columns: repeat(3, 1fr); }
.also-evals { padding: 0 0 var(--sec); }
.also-evals-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1.5rem 1.75rem; background: var(--c-card); border: 1px solid var(--c-line); border-top: 4px solid var(--c-gold); border-radius: var(--radius); }
.also-evals h2 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.also-evals p { margin: 0; }
@media (max-width: 1080px) { .route-list { grid-template-columns: 1fr 1fr 1fr; } .route-list li:nth-child(n) { border-top: 0; } .route-list li + li { border-left: 1px solid var(--c-line); } }
@media (max-width: 820px) { .route-list { grid-template-columns: 1fr; } .route-list li + li { border-left: 0; border-top: 1px solid var(--c-line); } }
/* v7: plain-language home (concerns, care cards, why list) */
.concerns { padding: var(--sec) 0 0; }
.concern-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.concern-list a { display: flex; align-items: flex-start; gap: 0.9rem; height: 100%; padding: 1rem 1.15rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-ink); text-decoration: none; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.concern-list a:hover, .concern-list a:focus-visible { border-color: var(--c-accent); transform: translateY(-2px); }
.concern-list i { font-size: 1.7rem; color: var(--c-accent); flex: none; margin-top: 0.1rem; }
.concern-list strong { display: block; font-weight: 600; line-height: 1.35; }
.concern-list strong + span { display: block; margin-top: 0.2rem; font-size: 0.88rem; color: var(--c-ink-soft); }
.pcard-k { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-ink-soft); }
.pcard .ages { margin-top: auto; }
.why-list { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: 0.9rem; }
.why-list li { padding-left: 1.1rem; border-left: 3px solid var(--c-gold); color: var(--c-ink-soft); }
.why-list strong { color: var(--c-ink); }
.also-evals { padding: 0 0 var(--sec); }
.pcard-feature .pcard-k { color: rgba(255,255,255,0.72); }
@media (max-width: 640px) { .concern-list { grid-template-columns: 1fr; } }
/* v7b: plain-language titles with the official program name as a small label */
.page-head-prog .label { margin-top: 1rem; }
.cond .label { display: block; margin-bottom: 0.35rem; }
.prog-table th .pcard-k { display: block; margin-top: 0.3rem; }
/* v8: phone polish (audit 2026-10-26) */
.pcard-youth .hex-honey { background: #fff; }
.video-toggle { min-height: 44px; }
.foot-legal-nav .linklike, .linklike[data-cookie-prefs] { min-height: 44px; }
@media (max-width: 640px) {
  :root { --sec: 3rem; }
  .concern-list { gap: 0.5rem; margin-top: 1.5rem; }
  .concern-list a { padding: 0.8rem 1rem; gap: 0.75rem; align-items: center; }
  .concern-list i { font-size: 1.45rem; margin-top: 0; }
  .concern-list strong { font-size: 0.98rem; }
  .concern-list strong + span { font-size: 0.82rem; margin-top: 0.1rem; }
  .prog-bento { gap: 0.75rem; margin-top: 1.5rem; }
  .pcard { padding: 1.25rem; }
  .cred { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cred-dbh img { width: 180px; height: auto; }
  .cred-carf img { width: 72px; height: 72px; }
}
/* v9: telehealth tags; form + email in the phone bar */
.ages { flex-wrap: wrap; }
.age-mode { background: transparent; color: var(--c-ink); border: 1px solid var(--c-gold); }
.pcard-feature .age-mode { color: #fff; }
@media (max-width: 640px) {
  .callbar { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0.5rem; }
}
.btn { white-space: normal; text-align: center; }
/* v10: route boxes - arrow centred vertically beside the text */
.route-list a { grid-template-columns: 1fr auto; column-gap: 1rem; align-content: center; }
.route-t, .route-d { grid-column: 1; }
.route-t::after { content: none; }
.route-list a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.2rem; color: var(--c-accent); transition: transform var(--dur) var(--ease); }
.route-list a:hover::after { transform: translateX(4px); }
/* v10b: contact tiles on phones - icon beside text, vertically centred */
@media (max-width: 640px) {
  .contact-tile { grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.15rem; align-items: center; padding: 1rem 1.15rem; }
  .contact-tile .hex { grid-row: 1 / span 2; }
  .ct-k { margin-top: 0; align-self: end; }
  .ct-v { align-self: start; font-size: 1.02rem; }
}
/* v11: telehealth-first home block with appointment-only office card */
.visit-home { grid-template-columns: 1.5fr 1fr; background: var(--c-card); }
.visit-home .visit-info p.muted { font-size: 1rem; margin-bottom: 0.5rem; }
.visit-home .why-list { margin-bottom: 1.5rem; }
.visit-home .head-actions .btn { margin-bottom: 0; }
.office-card { margin: 0; border: 0; border-radius: 0; background: var(--c-card); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
.office-card address { font-style: normal; font-size: 1.1rem; }
.office-card p { margin: 0; color: var(--c-ink-soft); }
@media (max-width: 960px) { .visit-home { grid-template-columns: 1fr; } .office-card { border-top: 1px solid var(--c-line); } }
/* v12: forms first - single phone-bar button, footer email note */
@media (max-width: 640px) { .callbar { grid-template-columns: 1fr; } }
.foot-note { font-size: 0.85rem; opacity: 0.85; max-width: 32ch; }
/* v13: condensed phone layout - same content, less scrolling */
.show-more { margin-top: 1rem; width: 100%; }
@media (max-width: 640px) {
  .concern-list.is-collapsed li:nth-child(n+5) { display: none; }
  .pcard .hex, .loc-step .hex { display: none; }
  .pcard { gap: 0.45rem; padding: 1.1rem 1.15rem; }
  .pcard h3 { font-size: 1.15rem; }
  .pcard p { font-size: 0.95rem; }
  .welcome .photo, .start .photo, .contact-photo { display: none; }
  .welcome-grid, .start-grid { gap: 1.5rem; }
  .peer .mission { font-size: 1.1rem; }
  .steps { gap: 1.1rem; margin-top: 1.25rem; }
  .bring { padding: 1.25rem; }
  .faq-teaser .qa:nth-of-type(n+3) { display: none; }
  .hero-sub { font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; padding-bottom: 1.5rem; }
  .foot-brand, .foot-crisis { grid-column: 1 / -1; }
  .foot ul { gap: 0.35rem; font-size: 0.92rem; }
  .foot-legal-nav ul { gap: 0.35rem 1rem; font-size: 0.82rem; }
  .foot-by { flex-direction: row; align-items: center; gap: 0.9rem; padding-top: 1rem; }
  .foot-by-card { width: 96px; }
  .foot-legal { font-size: 0.8rem; }
  .ages { gap: 0.3rem; }
  .age { font-size: 0.78rem; padding: 0.2rem 0.5rem; }
  .pcard-k { font-size: 0.72rem; }
  .steps p { font-size: 0.95rem; }
  .visit-home .why-list { gap: 0.6rem; margin-bottom: 1.1rem; }
}
@media (max-width: 640px) {
  /* card titles already say it plainly; the full description is one tap away */
  .progs .pcard p { display: none; }
  /* footer link lists duplicate the Menu on phones */
  .foot-grid > div:not(.foot-brand):not(.foot-crisis) { display: none; }
}
/* v14: phone - "what to have ready" opens on tap; shorter peer-run section */
.bring-details > summary { list-style: none; cursor: pointer; }
.bring-details > summary::-webkit-details-marker { display: none; }
.bring-details > summary h3 { display: inline; }
.peer-short { display: none; }
@media (max-width: 640px) {
  .bring { padding: 0; }
  .bring-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; min-height: 48px; }
  .bring-details > summary::after { content: "+"; font: 600 1.4rem/1 var(--f-head); color: var(--c-accent); }
  .bring-details[open] > summary::after { content: "\2212"; }
  .bring-details > summary h3 { margin: 0; font-size: 1.05rem; }
  .bring-details > ul, .bring-details > .note { margin-left: 1.15rem; margin-right: 1.15rem; }
  .bring-details > .note { margin-bottom: 1.15rem; }
  .peer { padding: 2.5rem 0; }
  .peer-grid { gap: 1rem; }
  .peer h2 { font-size: 1.6rem; }
  .peer .mission { font-size: 1rem; margin-bottom: 0; }
  .peer-long { display: none; }
  .peer-short { display: block; }
}
@media (max-width: 640px) {
  .peer .peer-grid h2 { font-size: 1.55rem; line-height: 1.2; }
  .peer .peer-grid .mission { font-size: 1rem; }
  .welcome .head-actions .btn-secondary { display: none; }
}
@media (min-width: 641px) { .bring-details > summary { margin-bottom: 0.9rem; cursor: default; pointer-events: none; } }
