/* ═══════════════════════════════════════════════
   VITALIA CARE SERVICES — Global Design System
   Style: Warm Minimalism
   ═══════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────── */
:root {
  --red:          #C41515;
  --red-dark:     #9A0F0F;
  --red-pale:     #FDF0F0;
  --red-mid:      #E02020;
  --brown:        #5C2D0A;
  --brown-light:  #7C4422;
  --white:        #FFFFFF;
  --bg:           #FAFAF8;
  --bg-alt:       #F4F1EC;
  --text:         #1A1A1A;
  --text-2:       #555555;
  /* #6B6B6B is the lightest grey that still clears WCAG AA 4.5:1 against all
     three page backgrounds (5.33:1 on --white, 5.10:1 on --bg, 4.73:1 on
     --bg-alt). Every use is small text, so none qualify for the 3:1 large-text
     exemption — don't lighten this. */
  --text-3:       #6B6B6B;
  --border:       #E5E2DC;
  --border-dark:  #D0CDC7;
  --shadow-xs:    0 1px 4px rgba(0,0,0,.05);
  --shadow-sm:    0 2px 10px rgba(0,0,0,.07);
  --shadow-md:    0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.11);
  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --section-gap: 72px;
  --header-h: 72px;
}

/* ── Accessibility foundations ──────────────── */

/* Bypass block (WCAG 2.4.1). Parked off-canvas until focused. */
.skip-link {
  position: absolute; top: -120px; left: 16px; z-index: 10000;
  background: var(--red); color: #fff;
  font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

/* Visible focus everywhere (WCAG 2.4.7). The ring sits in the offset gap on
   the page ground, so it stays visible even on the red buttons. */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 2px;
}
/* On dark/red grounds the red ring drops to ~2:1 — go white there instead. */
.footer :focus-visible,
.compliance-bar :focus-visible,
.msf-header :focus-visible,
.careers-hero-img-overlay :focus-visible,
.modal-overlay :focus-visible {
  outline-color: #fff;
  outline-offset: 3px;
}

/* Respect the OS "reduce motion" setting (WCAG 2.3.3). Our users have
   elevated rates of vestibular and seizure conditions — this is not cosmetic. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ── Typography ─────────────────────────────── */
h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--text);
}
h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em; color: var(--text);
}
h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600; line-height: 1.3;
  color: var(--text);
}
h4 { font-size: 17px; font-weight: 600; color: var(--text); }
p { color: var(--text-2); line-height: 1.7; }
.lead {
  font-size: 17px; font-weight: 400;
  color: var(--text-2); line-height: 1.8;
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: var(--section-gap) 0; }
.section-bg { background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-red-pale { background: var(--red-pale); }
.page-top { padding-top: var(--header-h); }

/* ── Grid ───────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: start; }

/* ── Eyebrow / Overline ─────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--red); border-radius: 2px;
  flex-shrink: 0;
}

/* ── Section Header ─────────────────────────── */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 14px; }
.section-header .lead { max-width: 580px; }
.section-header.center { text-align: center; }
.section-header.center .lead { margin: 0 auto; }
.section-header.center .eyebrow { justify-content: center; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em; line-height: 1;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  cursor: pointer; border: 2px solid transparent;
  white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--red); color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 12px rgba(196,21,21,.22);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 4px 20px rgba(196,21,21,.32);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white); color: var(--text);
  border-color: var(--border-dark);
}
.btn-secondary:hover {
  border-color: var(--text-2);
  background: var(--bg);
}
.btn-outline {
  background: transparent; color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red); color: #fff;
}
.btn-ghost {
  background: transparent; color: var(--text-2);
  border-color: transparent; padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--red); }
.btn-lg { padding: 15px 34px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-icon { gap: 0; padding: 11px; border-radius: 50%; }

/* ── Cards ──────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--red-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--red); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; line-height: 1.72; }
.card .tag { margin-top: 18px; }

/* ── Tags / Badges ──────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 20px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
}
.tag-red { background: var(--red-pale); color: var(--red); }
.tag-gray { background: var(--bg-alt); color: var(--text-2); }
.tag-brown { background: rgba(92,45,10,.08); color: var(--brown); }

/* ── Stat Grid ──────────────────────────────── */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat-cell {
  background: var(--white);
  padding: 28px 20px; text-align: center;
  transition: background .2s;
}
.stat-cell:hover { background: var(--bg); }
.stat-n {
  font-size: 48px; font-weight: 800;
  color: var(--red); line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 8px;
}
.stat-l {
  font-size: 12px; font-weight: 600;
  color: var(--text-2); text-transform: uppercase;
  letter-spacing: 0.07em;
}
.stat-s { font-size: 11px; color: var(--text-3); margin-top: 3px; }

/* ── Feature List ───────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--red-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-check svg {
  width: 11px; height: 11px;
  stroke: var(--red); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.feature-text { font-size: 15px; color: var(--text-2); line-height: 1.55; }
.feature-text strong { color: var(--text); font-weight: 600; }

/* ── Trust Row ──────────────────────────────── */
.trust-row {
  display: flex; align-items: center;
  gap: 22px; flex-wrap: wrap; margin-top: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.05em;
}
.trust-item svg {
  width: 14px; height: 14px;
  stroke: var(--text-3); fill: none;
  stroke-width: 2; stroke-linecap: round;
}
.trust-sep {
  width: 4px; height: 4px;
  border-radius: 50%; background: var(--border-dark);
}

/* ── Compliance Bar ─────────────────────────── */
.compliance-bar {
  background: var(--brown);
  padding: 18px 0;
}
.compliance-inner {
  display: flex; align-items: center;
  justify-content: center;
  gap: 32px; flex-wrap: wrap;
}
.cb-item { display: flex; align-items: center; gap: 8px; }
.cb-item svg {
  width: 15px; height: 15px;
  stroke: rgba(255,255,255,.65); fill: none;
  stroke-width: 2; stroke-linecap: round; flex-shrink: 0;
}
.cb-item strong {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.88);
}
.cb-item span {
  font-size: 11px;
  /* .45 measured 3.60:1 on --brown at 11px — under AA. .62 gives 5.42:1. */
  color: rgba(255,255,255,.62);
}
.cb-sep { width: 1px; height: 20px; background: rgba(255,255,255,.15); }

/* ── FAQ Accordion ──────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
/* Real <button> — reset the UA styling, keep the original look. */
.faq-q { margin: 0; font: inherit; }
.faq-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  background: var(--white); transition: background .2s;
  user-select: none;
  width: 100%; border: 0; text-align: left;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text);
}
.faq-hdr:focus-visible { outline-offset: -3px; }
.faq-hdr:hover { background: var(--bg); }
.faq-hdr span { font-size: 15px; font-weight: 600; color: var(--text); }
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--text-3); fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: transform .3s, stroke .2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--red); }
.faq-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-body { max-height: 320px; }
.faq-body p {
  padding: 2px 22px 18px;
  font-size: 14.5px; color: var(--text-2); line-height: 1.75;
}

/* ── Contact Cards ──────────────────────────── */
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--red);
  transform: translateX(4px);
}
.cc-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--red-pale); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.cc-icon svg {
  width: 24px; height: 24px;
  stroke: var(--red); fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.cc-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 4px;
}
.cc-value { font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.2; }
.cc-sub { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ── Page Hero (inner pages) ────────────────── */
/* The artwork is right-weighted and masked transparent across its left 42%, so
   it never sits behind the h1/lead and cannot affect their contrast. Anchored
   right and scaled to the hero's height; dropped entirely once the layout is
   narrow enough for text to reach across. */
.page-hero {
  background-color: var(--bg);
  background-image: url("art/hero-general.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-hero.hero-children { background-image: url("art/hero-children.svg"); }
.page-hero.hero-adult    { background-image: url("art/hero-adult.svg"); }
/* Must list the variants too: `.page-hero.hero-children` is (0,2,0) and would
   out-specify a bare `.page-hero` here, leaving the art behind the text on
   narrow screens. */
@media (max-width: 900px) {
  .page-hero,
  .page-hero.hero-children,
  .page-hero.hero-adult { background-image: none; }
}

/* ── FULL-BLEED PHOTO HERO ─────────────────── */
/* Photo behind the eyebrow/h1/lead with a left-anchored dark scrim. The scrim
   stays >=0.80 opacity across the whole text column (left ~50%), which keeps
   white text above 4.5:1 even over a pure-white region of the photo, then
   fades so the photo reads on the right. Per-page image via --hero-img.
   `.page-hero.hero-photo` is (0,2,0) so it out-specifies the 900px
   `background-image:none` rule above and the photo survives on tablet. */
.page-hero.hero-photo {
  position: relative;
  background-color: #160C0C;
  background-image:
    linear-gradient(90deg, rgba(18,10,10,.90) 0%, rgba(18,10,10,.82) 46%, rgba(18,10,10,.5) 76%, rgba(18,10,10,.34) 100%),
    var(--hero-img);
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat;
  border-bottom: none;
}
.page-hero.hero-photo .eyebrow { color: #fff; }
.page-hero.hero-photo .eyebrow::before { background: #fff; }
.page-hero.hero-photo h1 { color: #fff; }
.page-hero.hero-photo .lead { color: rgba(255,255,255,.92); }
.page-hero.hero-photo .lead a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.hero-credit {
  position: absolute; right: 18px; bottom: 12px; max-width: 55%;
  font-size: 10.5px; line-height: 1.4; color: rgba(255,255,255,.66);
  text-align: right;
}
.hero-credit a { color: rgba(255,255,255,.66); text-decoration: underline; }
.hero-credit a:hover { color: #fff; }
@media (max-width: 760px) {
  /* Text spans full width on mobile — darken the whole frame uniformly. */
  .page-hero.hero-photo {
    background-image:
      linear-gradient(rgba(18,10,10,.82), rgba(18,10,10,.82)),
      var(--hero-img);
    background-position: center, center;
  }
  .hero-credit { position: static; margin-top: 16px; max-width: none; }
}

.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  margin-bottom: 18px;
}
.page-hero .lead { max-width: 620px; }

/* ── Heart Motif Divider ────────────────────── */
.heart-row {
  display: flex; align-items: center; gap: 10px;
  color: var(--red); opacity: .3;
}
.heart-row::before, .heart-row::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.heart-row-icons { font-size: 11px; letter-spacing: 10px; }

/* ── CTA Section ────────────────────────────── */
.cta-section {
  background: var(--red-pale);
  border-top: 1px solid rgba(196,21,21,.12);
  border-bottom: 1px solid rgba(196,21,21,.12);
  padding: 64px 0; text-align: center;
}
.cta-section h2 { margin-bottom: 14px; }
.cta-section p { margin-bottom: 28px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-section .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Testimonial/Quote ──────────────────────── */
.quote-block {
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  background: var(--bg);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 28px 0;
}
.quote-block p {
  font-size: 16px; font-style: italic;
  color: var(--text-2); line-height: 1.7;
  margin-bottom: 10px;
}
.quote-block cite {
  font-size: 12px; font-weight: 700; font-style: normal;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
}

/* ── Perk Cards ─────────────────────────────── */
.perk-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.perk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.perk-emoji { font-size: 30px; margin-bottom: 14px; display: block; }
.perk-card strong {
  display: block; font-size: 15px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.perk-card p { font-size: 14px; line-height: 1.65; }

/* ── Info Box ───────────────────────────────── */
.info-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
}
.info-box p { font-size: 14px; line-height: 1.72; }
.info-box strong { color: var(--text); }

/* ── Language Chips ─────────────────────────── */
.lang-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-chip {
  padding: 5px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  background: var(--red-pale); color: var(--red);
  border: 1px solid rgba(196,21,21,.18);
}

/* ── Step List ──────────────────────────────── */
.step-list { display: flex; flex-direction: column; gap: 20px; }
.step-item {
  display: flex; gap: 20px; align-items: flex-start;
}
.step-num {
  width: 40px; height: 40px; flex-shrink: 0;
  border: 2px solid var(--red); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; color: var(--red);
  transition: background .2s, color .2s;
}
.step-item:hover .step-num { background: var(--red); color: #fff; }
.step-body strong { display: block; font-size: 15px; margin-bottom: 4px; }
.step-body p { font-size: 14px; }

/* ── NAVIGATION ─────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
  height: var(--header-h);
}
.header.scrolled { box-shadow: var(--shadow-md); border-bottom-color: transparent; }
.nav-wrap {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 46px; width: auto; transition: transform .3s; }
.nav-logo:hover img { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: var(--text-2); padding: 8px 14px;
  border-radius: 8px; transition: color .2s, background .2s;
  text-decoration: none;
}
.nav-link:hover { color: var(--red); background: var(--red-pale); }
.nav-link.active { color: var(--red); background: var(--red-pale); font-weight: 600; }
.nav-cta {
  margin-left: 8px;
  background: var(--red); color: #fff;
  padding: 10px 22px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600;
  box-shadow: 0 2px 10px rgba(196,21,21,.22);
  transition: background .2s, box-shadow .2s, transform .15s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 18px rgba(196,21,21,.32);
  transform: translateY(-1px);
  color: #fff;
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; flex-direction: column; gap: 2px;
  z-index: 999; box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 0; font-size: 16px; font-weight: 500;
  color: var(--text-2); border-bottom: 1px solid var(--border);
  transition: color .2s; text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--red); }
.mobile-nav a:last-child { border: none; color: var(--red); font-weight: 700; margin-top: 8px; }

/* ── RESPONSIVE SPLIT LAYOUTS ───────────────── */
/* These layouts used inline grid-template-columns, which NO media query can
   override. On a phone they stayed two-column and crushed the image into an
   ~80px sliver. Keep them as classes so the breakpoints can reach them. */
.split-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.split-hero {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.split-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .split-2, .split-hero { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .split-3 { grid-template-columns: 1fr; }
}

/* Media frames: fixed height reads well on desktop, but a 460px box on a
   390px screen is a tower. Step it down. */
.media-frame {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); height: 420px;
}
.media-frame.tall {
  height: 460px; box-shadow: var(--shadow-xl); position: relative;
}
@media (max-width: 900px) {
  .media-frame, .media-frame.tall { height: 340px; }
}
@media (max-width: 560px) {
  .media-frame, .media-frame.tall { height: 250px; }
}

/* The comparison table can't shrink below its content (first column is
   white-space:nowrap), so give it its own scroll container rather than
   letting it push the whole page sideways. Focusable because a scrollable
   region must be reachable by keyboard (WCAG 2.1.1). */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
}
.table-scroll:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 560px) {
  .comp-table { min-width: 460px; }
}

/* ── PHOTO CREDIT ───────────────────────────── */
/* Required, not decorative: the photography is CC BY 4.0 and the licence
   obliges us to credit "Disabled And Here" and link back. Do not remove. */
.photo-credit {
  font-size: 11px; line-height: 1.5;
  color: var(--text-3); margin-top: 8px;
}
.photo-credit a {
  color: var(--text-3);
  text-decoration: underline; text-underline-offset: 2px;
}
.photo-credit a:hover { color: var(--red); }

/* ── LEGAL PAGES (privacy / rights) ─────────── */
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legal-badge {
  font-size: 11px; font-weight: 600; color: var(--text-2);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 12px;
}

/* stretch (not start) so the sticky TOC has a tall containing block to move in */
.legal-grid { display: grid; grid-template-columns: minmax(0,1fr) 264px; gap: 48px; }
.legal-toc-wrap { order: 2; }
.legal-body { order: 1; }

.legal-toc {
  position: sticky; top: 92px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 18px;
}
.legal-toc-header {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 12px;
}
.legal-toc-links { display: flex; flex-direction: column; gap: 1px; }
.legal-toc-link {
  font-size: 13px; color: var(--text-2); text-decoration: none;
  padding: 6px 8px; border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.legal-toc-link:hover { background: var(--white); color: var(--red); border-left-color: var(--red); }
.legal-toc-link.sub { padding-left: 18px; font-size: 12.5px; color: var(--text-3); }
.legal-toc-divider { height: 1px; background: var(--border); margin: 8px 0; }

/* scroll-margin keeps the sticky header from covering an anchored heading */
.legal-body h2 { font-size: 24px; margin: 38px 0 12px; scroll-margin-top: 96px; }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h3 { font-size: 17px; margin: 24px 0 8px; scroll-margin-top: 96px; }
.legal-body p { font-size: 15px; margin-bottom: 12px; }
.legal-body ul { margin: 0 0 18px 20px; }
.legal-body li { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 7px; }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.legal-callout {
  background: var(--bg); border: 1px solid var(--border);
  border-left-width: 3px; border-radius: var(--r-md);
  padding: 18px 20px; margin: 22px 0;
}
.legal-callout p { margin: 0; font-size: 14px; }
.lc-title {
  display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;
}
.lc-hipaa  { background: var(--red-pale); border-color: rgba(196,21,21,.22); border-left-color: var(--red); }
.lc-rights { background: var(--red-pale); border-color: rgba(196,21,21,.18); border-left-color: var(--red); }
.lc-hipaa .lc-title, .lc-rights .lc-title { color: var(--red); }
.lc-notice { background: #FFF9F0; border-color: rgba(124,68,34,.24); border-left-color: var(--brown-light); }
.lc-notice .lc-title { color: var(--brown); }
.lc-info   { background: var(--bg-alt); border-color: var(--border-dark); border-left-color: var(--text-3); }
.lc-info .lc-title { color: var(--text-2); }

.rights-numbered { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 26px; }
.right-row {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px;
}
.right-row-num {
  font-size: 12px; font-weight: 800; line-height: 1;
  color: var(--red); background: var(--red-pale);
  border-radius: 6px; padding: 5px 7px; min-width: 26px; text-align: center;
}
.right-row-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.right-row-text strong { color: var(--text); }

.rights-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px;
}
.rights-contact-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px;
}
.rights-contact-card strong { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text); }
.rights-contact-card p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.65; }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-toc-wrap { order: 1; }
  .legal-body { order: 2; }
  .legal-toc { position: static; }
}
@media (max-width: 560px) {
  .rights-contact-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ─────────────────────────────────── */
/* On the #1A1A1A ground, white text needs alpha >= .452 to clear AA 4.5:1.
   Nothing carrying text below should drop under that. */
.footer { background: #1A1A1A; padding: 56px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand img {
  height: 50px; margin-bottom: 16px;
  filter: brightness(0) invert(1); opacity: .82;
}
.footer-tagline {
  font-size: 13.5px; color: rgba(255,255,255,.62);
  line-height: 1.75; max-width: 290px; margin-bottom: 18px;
}
.footer-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.f-lang {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  background: rgba(196,21,21,.15); border: 1px solid rgba(196,21,21,.28);
  border-radius: 18px; padding: 3px 11px; color: rgba(255,255,255,.55);
}
/* h2, not h5: these are the footer's section headings and jumping h2 -> h5
   left a hole in the document outline. Styled down to the same 10px label. */
.footer-col h2 {
  font-size: 10px; font-weight: 700; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,.7);
  transition: color .2s; text-decoration: none;
}
.footer-col ul a:hover { color: #fff; }
.footer-col ul li { font-size: 13.5px; color: rgba(255,255,255,.62); line-height: 1.55; }
.footer-col ul li strong { color: rgba(255,255,255,.85); font-weight: 600; }
.footer-heart {
  text-align: center; font-size: 12px;
  letter-spacing: 14px; color: rgba(196,21,21,.35);
  margin-bottom: 28px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 11.5px; color: rgba(255,255,255,.62); }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 11.5px; color: rgba(255,255,255,.62);
  transition: color .2s; text-decoration: none;
}
.footer-links a:hover { color: #fff; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --section-gap: 56px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-2-3 { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .compliance-inner { justify-content: flex-start; gap: 18px; }
  .cb-sep { display: none; }
  .cta-section .btn-group { flex-direction: column; align-items: center; }
  .trust-row { gap: 14px; }
  .trust-sep { display: none; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════
   V4 ADDITIONS — Imagery, Modal, Job Cards,
   Executive Section, Modern Icons, Polish
   ═══════════════════════════════════════════════ */

/* ── Logo sizing ──────────────────────────────── */
.nav-logo img { height: 54px; }
@media (max-width: 768px) { .nav-logo img { height: 46px; } }

/* ── Image components ─────────────────────────── */
.img-cover {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.img-radius { border-radius: var(--r-xl); overflow: hidden; }
.img-frame {
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--bg); position: relative;
  box-shadow: var(--shadow-lg);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: 12px 18px;
  box-shadow: var(--shadow-md);
}
.img-badge-n { font-size: 22px; font-weight: 800; color: var(--red); line-height: 1; }
.img-badge-l { font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .07em; }

/* Hero image section */
.hero-img-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  height: 480px; box-shadow: var(--shadow-xl);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,21,21,.08) 0%, rgba(92,45,10,.04) 100%);
}

/* Section with image split */
.img-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.img-split.reverse .img-split-visual { order: -1; }
@media (max-width: 768px) {
  .img-split { grid-template-columns: 1fr; }
  .img-split.reverse .img-split-visual { order: 0; }
  .hero-img-wrap { height: 300px; }
}

/* Image with aspect ratio */
.aspect-4-3 { aspect-ratio: 4/3; }
.aspect-3-2 { aspect-ratio: 3/2; }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-1-1 { aspect-ratio: 1/1; }

/* ── Executive Director Section ───────────────── */
.exec-section { background: var(--bg); }
.exec-grid {
  display: grid; grid-template-columns: 340px 1fr;
  gap: 64px; align-items: start;
}
.exec-photo-card {
  position: sticky; top: 96px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.exec-photo-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.exec-photo-meta {
  padding: 22px 24px;
  border-top: 1px solid var(--border);
}
.exec-photo-name { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.exec-photo-title { font-size: 13px; color: var(--text-3); font-weight: 500; }
.exec-photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
}
.exec-photo-placeholder svg { width: 56px; height: 56px; stroke: var(--border-dark); fill: none; stroke-width: 1.5; }
.exec-photo-placeholder span { font-size: 12px; color: var(--text-3); }
.exec-content { padding: 8px 0; }
.exec-content h2 { margin-bottom: 6px; font-size: clamp(26px, 3vw, 38px); }
.exec-content .exec-title-label {
  font-size: 13px; font-weight: 600; color: var(--red);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px;
  display: block;
}
.exec-bio p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.exec-credentials {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px; padding: 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.exec-cred-item { display: flex; align-items: flex-start; gap: 12px; }
.exec-cred-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--red-pale); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.exec-cred-icon svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.exec-cred-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); }
.exec-cred-text span { font-size: 12.5px; color: var(--text-3); }
@media (max-width: 900px) {
  .exec-grid { grid-template-columns: 1fr; gap: 36px; }
  .exec-photo-card { position: static; max-width: 340px; }
}

/* ── Job Listing Cards ────────────────────────── */
.jobs-grid { display: flex; flex-direction: column; gap: 16px; }
.job-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 32px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 20px; align-items: center;
  transition: box-shadow .25s, border-color .25s, transform .2s;
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--red);
  transform: translateX(3px);
}
.job-title { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.job-summary { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 12px; max-width: 640px; }
.job-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.job-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: .03em;
}
.job-pill-type { background: var(--bg-alt); color: var(--text-2); }
.job-pill-schedule { background: var(--red-pale); color: var(--red); }
.job-pill-lang { background: rgba(92,45,10,.07); color: var(--brown); }
@media (max-width: 640px) {
  .job-card { grid-template-columns: 1fr; }
}

/* ── Application Modal ────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(10,6,6,.52); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  /* visibility, not just opacity: without it every field inside the closed
     dialog stays in the tab order on page load. The 0s/.3s delay flips it to
     visible INSTANTLY on open — a visibility:hidden element cannot take focus,
     so any delay here would strand focus outside the dialog — while deferring
     the hide on close until the fade-out has finished. */
  visibility: hidden;
  transition: opacity .3s, visibility 0s linear .3s;
}
.modal-overlay.open {
  opacity: 1; pointer-events: auto; visibility: visible;
  transition: opacity .3s, visibility 0s linear 0s;
}
.modal-box {
  background: var(--white); border-radius: var(--r-xl);
  width: 100%; max-width: 620px; max-height: 90vh;
  overflow-y: auto; box-shadow: 0 32px 80px rgba(0,0,0,.22);
  transform: translateY(16px) scale(.98);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  position: sticky; top: 0; background: var(--white); z-index: 1;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.modal-header h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.modal-header p { font-size: 13px; color: var(--text-3); }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s; color: var(--text-2);
}
.modal-close:hover { background: var(--bg-alt); }
.modal-close svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.modal-body { padding: 28px 32px 32px; }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 15px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--sans); font-size: 15px;
  color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,21,21,.1);
  background: var(--white);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 16px; padding-right: 38px;
}
.form-group textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.form-group.has-error input,
.form-group.has-error select { border-color: #E53E3E; }
.form-error { font-size: 12px; color: #E53E3E; margin-top: 5px; display: none; }
.form-group.has-error .form-error { display: block; }

/* File upload */
.file-upload {
  border: 1.5px dashed var(--border-dark);
  border-radius: var(--r-md); padding: 20px;
  text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
  position: relative;
}
.file-upload:hover { border-color: var(--red); background: var(--red-pale); }
.file-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-upload-icon { font-size: 24px; margin-bottom: 6px; }
.file-upload-label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.file-upload-sub { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.file-upload.has-file { border-color: #38A169; background: #F0FFF4; }
.file-upload.has-file .file-upload-label { color: #276749; }

/* Honeypot */
.hp-field { display: none !important; }

/* Modal states */
.modal-success,
.modal-error {
  display: none; text-align: center; padding: 40px 28px;
}
.modal-success.show, .modal-error.show { display: block; }
.modal-state-icon { font-size: 52px; margin-bottom: 16px; }
.modal-success h4 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.modal-error h4 { font-size: 22px; font-weight: 700; color: #C53030; margin-bottom: 8px; }
.modal-success p, .modal-error p { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* Submit row */
.modal-submit-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 8px; flex-wrap: wrap;
}
.modal-note { font-size: 12px; color: var(--text-3); }

/* ── Modern Icon Overrides ────────────────────── */
.icon-modern {
  width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--red-pale);
  display: flex; align-items: center; justify-content: center;
}
.icon-modern svg {
  width: 24px; height: 24px;
  stroke: var(--red); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon-dark-bg { background: rgba(196,21,21,.18); }
.icon-dark-bg svg { stroke: #FFAAAA; }

/* ── Services imagery strip ───────────────────── */
.services-img-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 48px;
}
.services-img-cell {
  border-radius: var(--r-lg); overflow: hidden;
  height: 200px; position: relative;
}
.services-img-cell img { width: 100%; height: 100%; object-fit: cover; }
.services-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  padding: 28px 16px 14px;
  font-size: 13px; font-weight: 600; color: #fff;
  letter-spacing: .03em;
}
@media (max-width: 640px) {
  .services-img-strip { grid-template-columns: 1fr; height: auto; }
  .services-img-cell { height: 180px; }
}

/* ── Careers page imagery ─────────────────────── */
.careers-hero-img {
  border-radius: var(--r-xl); overflow: hidden;
  height: 360px; margin-bottom: 48px; position: relative;
  box-shadow: var(--shadow-lg);
}
.careers-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.careers-hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(196,21,21,.75) 0%, transparent 60%);
  display: flex; align-items: center; padding: 48px;
}
.careers-hero-text h2 { color: #fff; font-size: clamp(26px, 3.5vw, 42px); margin-bottom: 10px; }
.careers-hero-text p { color: rgba(255,255,255,.82); font-size: 16px; max-width: 400px; }

/* ── Scroll reveal animation ──────────────────── */
/* Content is visible by DEFAULT and only hidden once JS has proven it is
   running (the `js` class, set by an inline snippet in <head>). If script.js
   then fails to initialise — blocked by an extension, 404, proxy — the inline
   failsafe adds `reveal-off` and the content appears anyway. No single point
   of failure can leave the page blank. */
.reveal {
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.visible,
.js.reveal-off .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .26s; }

/* ── Misc polish ──────────────────────────────── */
.loading-btn { opacity: .65; pointer-events: none; }
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding: 64px 0 56px; }
}

/* ═══════════════════════════════════════════════
   V5 — Adult Services Expansion
   Dropdown nav, program cards, age callouts,
   audience-neutral home & about pages
   ═══════════════════════════════════════════════ */

/* ── Programs Dropdown Nav ────────────────────── */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-wrap > a {
  display: flex; align-items: center; gap: 4px;
  cursor: default;
}
.nav-dropdown-arrow {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: transform .25s;
}
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  width: 300px;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity .2s, transform .2s;
  z-index: 200;
}
/* Invisible hover bridge across the 10px gap between the Programs trigger and
   this panel. Without it, the mouse crosses an un-hovered dead zone on the way
   down and the menu snaps shut. Spans wider than the panel so a diagonal move
   toward any item stays hovered. Only active while the menu is open (it inherits
   the panel's pointer-events, which are none when closed). */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -16px; left: -12px; right: -12px; height: 18px;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-wrap:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dd-group { padding: 6px 6px 2px; }
.nav-dd-group-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); padding: 4px 8px 8px;
  display: block;
}
.nav-dd-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-md);
  text-decoration: none;
  transition: background .15s;
}
.nav-dd-link:hover { background: var(--bg); }
.nav-dd-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-dd-icon svg {
  width: 16px; height: 16px; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.nav-dd-icon-red { background: var(--red-pale); }
.nav-dd-icon-red svg { stroke: var(--red); }
.nav-dd-icon-brown { background: rgba(92,45,10,.1); }
.nav-dd-icon-brown svg { stroke: var(--brown); }
.nav-dd-link-text { line-height: 1.25; }
.nav-dd-link-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.nav-dd-link-sub { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.nav-dd-divider {
  height: 1px; background: var(--border);
  margin: 6px 8px;
}
/* Mobile dropdown */
.mob-dd-group { padding-left: 14px; border-left: 2px solid var(--border); margin: 4px 0 8px; }
.mob-dd-label {
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3);
  display: block; padding: 4px 0 6px;
}
.mob-dd-link {
  display: block; padding: 9px 0;
  font-size: 15px; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  border-bottom: 1px solid var(--border-lt);
}
.mob-dd-link:last-child { border: none; }
.mob-dd-link:hover { color: var(--red); }

/* ── Age Callout Banners ──────────────────────── */
.age-callout {
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 0;
}
.age-callout-children {
  background: #EBF5FB; border: 1px solid #AED6F1;
}
.age-callout-adult {
  background: rgba(92,45,10,.06); border: 1px solid rgba(92,45,10,.18);
}
.age-callout-icon {
  font-size: 18px; flex-shrink: 0; margin-top: 1px;
}
.age-callout-text { font-size: 14px; color: var(--text); line-height: 1.6; }
.age-callout-text strong { font-weight: 700; }
.age-callout-text a { color: var(--red); text-decoration: underline; }

/* ── Program Hub Page ─────────────────────────── */
.program-track {
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow .25s, transform .2s;
}
.program-track:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.program-track-header {
  padding: 32px 32px 24px;
}
.program-track-header-children { background: #EBF5FB; }
.program-track-header-adult { background: rgba(92,45,10,.06); }
.program-track-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; margin-bottom: 14px;
}
.badge-children { background: #AED6F1; color: #1A5276; }
.badge-adult { background: rgba(92,45,10,.18); color: var(--brown); }
.program-track-header h3 {
  font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.program-track-header p { font-size: 14.5px; color: var(--text-2); line-height: 1.65; }
.program-track-links {
  padding: 20px 24px;
  background: var(--white);
  display: flex; flex-direction: column; gap: 2px;
}
.program-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: var(--r-md);
  text-decoration: none;
  transition: background .15s;
  gap: 12px;
}
.program-link:hover { background: var(--bg); }
.program-link-left { display: flex; align-items: center; gap: 12px; }
.program-link-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.program-link-icon svg {
  width: 18px; height: 18px; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.pli-red { background: var(--red-pale); }
.pli-red svg { stroke: var(--red); }
.pli-brown { background: rgba(92,45,10,.1); }
.pli-brown svg { stroke: var(--brown); }
.program-link-name { font-size: 14.5px; font-weight: 600; color: var(--text); }
.program-link-sub { font-size: 12.5px; color: var(--text-3); }
.program-link-arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: var(--text-3); fill: none; stroke-width: 2; stroke-linecap: round;
  transition: transform .2s;
}
.program-link:hover .program-link-arrow { transform: translateX(3px); stroke: var(--red); }

/* ── SLP / CLS page specific ──────────────────── */
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 48px; align-items: start;
}
.service-detail-sidebar { position: sticky; top: 96px; }
.sidebar-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  margin-bottom: 16px;
}
.sidebar-card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}
.sidebar-card-header h3 { font-size: 14px; font-weight: 700; color: var(--text); }
.sidebar-card-body { padding: 16px 22px; }
.sidebar-contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-lt);
  text-decoration: none;
  transition: color .2s;
}
.sidebar-contact-item:last-child { border: none; }
.sidebar-contact-item svg {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round;
}
.sci-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.sci-value { font-size: 14px; font-weight: 600; color: var(--red); }
.sci-value-dark { color: var(--text); }
.reg-box {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 4px solid var(--brown);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 18px; margin-top: 20px;
}
.reg-box-label {
  font-size: 10px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brown); margin-bottom: 6px;
}
.reg-box p { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.reg-box strong { color: var(--text); }
.service-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 14px;
}
.service-content .lead { margin-bottom: 28px; }
.service-content h3 {
  font-size: 18px; font-weight: 700;
  color: var(--text); margin: 32px 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.service-content p { margin-bottom: 14px; font-size: 15px; }
.service-content ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 20px;
}
.service-content ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--text-2); line-height: 1.6;
}
.service-content ul li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex-shrink: 0; margin-top: 9px;
}

/* ── Home audience cards ──────────────────────── */
.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow .25s, transform .2s;
}
.audience-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.audience-card-img {
  height: 200px; overflow: hidden;
}
.audience-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.audience-card:hover .audience-card-img img { transform: scale(1.04); }
.audience-card-body { padding: 24px 24px 28px; }
.audience-card-badge {
  display: inline-block; margin-bottom: 12px;
  padding: 3px 11px; border-radius: 20px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.acb-children { background: #AED6F1; color: #1A5276; }
.acb-adult { background: rgba(92,45,10,.15); color: var(--brown); }
.acb-all { background: var(--red-pale); color: var(--red); }
.audience-card-body h3 { font-size: 19px; margin-bottom: 8px; }
.audience-card-body p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 18px; }

/* ── Comparison table ─────────────────────────── */
.comp-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border);
  font-size: 14px;
}
.comp-table th {
  background: var(--text); color: #fff;
  padding: 14px 18px; text-align: left;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.comp-table th:first-child { background: #2C2C2C; }
.comp-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  color: var(--text-2); vertical-align: top; line-height: 1.5;
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) td { background: var(--bg); }
.comp-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }

/* ── Mobile responsive additions ─────────────── */
@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-dropdown { display: none; }
  .comp-table { font-size: 12px; }
  .comp-table th, .comp-table td { padding: 10px 12px; }
}

/* ═══════════════════════════════════════════════
   V6 — Resources Hub & Intake Forms
   ═══════════════════════════════════════════════ */

/* ── Resource Cards ──────────────────────────── */
.resource-section-header {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.resource-section-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.resource-section-icon svg {
  width: 24px; height: 24px; fill: none;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.rsi-gov  { background: #EBF5FB; }
.rsi-gov svg { stroke: #1A5276; }
.rsi-rights { background: rgba(196,21,21,.08); }
.rsi-rights svg { stroke: var(--red); }
.rsi-local { background: rgba(92,45,10,.08); }
.rsi-local svg { stroke: var(--brown); }
.rsi-support { background: #EAFAF1; }
.rsi-support svg { stroke: #1E8449; }

.resource-grid { display: flex; flex-direction: column; gap: 10px; }
.resource-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none; color: inherit;
  transition: box-shadow .2s, border-color .2s, transform .15s;
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--red);
  transform: translateX(3px);
}
.resource-card-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.resource-card-icon svg {
  width: 18px; height: 18px; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.rci-gov  { background: #EBF5FB; }
.rci-gov svg { stroke: #1A5276; }
.rci-rights { background: rgba(196,21,21,.08); }
.rci-rights svg { stroke: var(--red); }
.rci-local { background: rgba(92,45,10,.08); }
.rci-local svg { stroke: var(--brown); }
.rci-support { background: #EAFAF1; }
.rci-support svg { stroke: #1E8449; }
.resource-card-body { flex: 1; min-width: 0; }
.resource-card-name {
  font-size: 14.5px; font-weight: 700;
  color: var(--text); margin-bottom: 3px;
}
.resource-card-desc {
  font-size: 13px; color: var(--text-3); line-height: 1.55;
  margin-bottom: 5px;
}
.resource-card-meta {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.resource-tag {
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 2px 8px;
  border-radius: 12px;
}
.rt-official { background: #D6EAF8; color: #1A5276; }
.rt-rights   { background: rgba(196,21,21,.1); color: var(--red-dark); }
.rt-local    { background: rgba(92,45,10,.1); color: var(--brown); }
.rt-support  { background: #D5F5E3; color: #1E8449; }
.rt-forms    { background: var(--bg-alt); color: var(--text-2); }
.resource-card-link-arrow {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: var(--text-3); fill: none; stroke-width: 2; stroke-linecap: round;
  margin-top: 2px; transition: stroke .2s, transform .2s;
}
.resource-card:hover .resource-card-link-arrow {
  stroke: var(--red); transform: translateX(2px);
}

/* Resource phone strip */
.resource-phone {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--red);
}
.resource-phone svg {
  width: 12px; height: 12px;
  stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round;
}

/* ── Eligibility Pathway ──────────────────────── */
.pathway-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; position: relative;
}
.pathway-steps::before {
  content: '';
  position: absolute; top: 28px; left: 10%; right: 10%;
  height: 2px; background: var(--border); z-index: 0;
}
.pathway-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 8px;
  position: relative; z-index: 1;
}
.pathway-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--red);
  margin-bottom: 14px; transition: all .2s;
}
.pathway-step:hover .pathway-num {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 16px rgba(196,21,21,.28);
}
.pathway-step strong {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text); margin-bottom: 5px;
}
.pathway-step p { font-size: 12px; color: var(--text-3); line-height: 1.5; }
@media (max-width: 768px) {
  .pathway-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pathway-steps::before { display: none; }
}
@media (max-width: 480px) {
  .pathway-steps { grid-template-columns: 1fr; }
}

/* ── Intake Form Page ─────────────────────────── */
.intake-page-grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 48px; align-items: start;
}
@media (max-width: 960px) {
  .intake-page-grid { grid-template-columns: 1fr; }
}

/* Multi-step form */
.msf-wrap {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.msf-header {
  background: var(--red); padding: 28px 32px;
}
.msf-header h2 {
  font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px;
}
.msf-header p { font-size: 13.5px; color: rgba(255,255,255,.75); }
.msf-progress {
  background: rgba(255,255,255,.15);
  padding: 16px 32px;
  display: flex; align-items: center; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.msf-step-indicator {
  display: flex; align-items: center; gap: 0; flex: 1;
}
.msf-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.25); border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: rgba(255,255,255,.7);
  flex-shrink: 0; transition: all .3s;
  cursor: default;
}
.msf-step-dot.active {
  background: #fff; border-color: #fff; color: var(--red);
}
.msf-step-dot.done {
  background: rgba(255,255,255,.4); border-color: rgba(255,255,255,.6);
  color: #fff;
}
.msf-step-line {
  flex: 1; height: 2px;
  background: rgba(255,255,255,.2); margin: 0 4px;
  transition: background .3s;
}
.msf-step-line.done { background: rgba(255,255,255,.6); }
.msf-step-label {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.6);
  margin-top: 4px; white-space: nowrap; text-align: center;
}
.msf-step-indicator-wrap {
  display: flex; flex-direction: column; align-items: center;
}
.msf-body { padding: 32px; }
.msf-panel { display: none; }
.msf-panel.active { display: block; }
.msf-panel-title {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.msf-panel-sub {
  font-size: 13px; color: var(--text-3); margin-bottom: 22px;
}
.msf-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.msf-footer-note { font-size: 12px; color: var(--text-3); }
.msf-btn-row { display: flex; gap: 10px; }

/* Form field overrides for intake page */
.intake-form .form-group { margin-bottom: 16px; }
.intake-form .form-row { gap: 14px; }
.intake-form .form-group label {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 6px; display: block;
}
.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%; padding: 11px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); font-family: var(--sans);
  font-size: 14.5px; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,21,21,.1);
  background: var(--white);
}
.intake-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  background-size: 16px; padding-right: 38px;
}
.intake-form textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.intake-form .form-group.has-error input,
.intake-form .form-group.has-error select,
.intake-form .form-group.has-error textarea {
  border-color: #E53E3E;
}
.form-required { color: var(--red); }

/* Radio/Checkbox group */
.radio-group,
.check-group {
  display: flex; flex-direction: column; gap: 8px;
}
.radio-group.inline,
.check-group.inline {
  flex-direction: row; flex-wrap: wrap; gap: 10px;
}
.radio-option,
.check-option {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}

/* These options are <label>s nested inside a .form-group, so the group-label
   rules out-specify plain `.check-option` (0,1,0) and force display:block plus
   an inherited text-transform:uppercase onto the option copy. The one to beat
   is `.intake-form .form-group label` at (0,2,1) — hence the three-class
   selectors below (0,3,0). Do not lower these. */
.intake-form .form-group .check-option,
.intake-form .form-group .radio-option,
.form-group .check-group .check-option,
.form-group .radio-group .radio-option {
  display: flex; align-items: flex-start; gap: 10px;
  text-transform: none; letter-spacing: normal;
  font-size: 14px; font-weight: 400; color: var(--text);
  margin-bottom: 0;
}
.radio-option:hover,
.check-option:hover {
  border-color: var(--red); background: var(--red-pale);
}
/* Checkboxes and radios must not pick up the full-width text-input styling from
   `.intake-form input` / `.form-group input` — same specificity there means
   width:100% and appearance:none leak through and render them as empty bars.
   These selectors are deliberately more specific. */
.radio-option input,
.check-option input,
.intake-form .radio-option input,
.intake-form .check-option input,
.form-group .radio-option input,
.form-group .check-option input {
  width: auto; padding: 0;
  -webkit-appearance: auto; appearance: auto;
  margin-top: 2px; accent-color: var(--red); flex-shrink: 0;
}
.radio-option-label,
.check-option-label {
  font-size: 14px; color: var(--text); line-height: 1.4;
}
.radio-option-sub,
.check-option-sub {
  font-size: 12px; color: var(--text-3); margin-top: 1px;
}
input[type="radio"]:checked ~ .radio-option-label,
input[type="checkbox"]:checked ~ .check-option-label {
  color: var(--red); font-weight: 600;
}

/* Form success/error states */
.msf-success {
  display: none; text-align: center; padding: 48px 32px;
}
.msf-success.show { display: block; }
.msf-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #EAFAF1; border: 2px solid #2ECC71;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}
.msf-success h2 {
  font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 12px;
}
.msf-success p { font-size: 15px; color: var(--text-2); line-height: 1.7; max-width: 480px; margin: 0 auto 20px; }

/* Disclaimer */
.form-disclaimer {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px; margin-top: 16px;
}
.form-disclaimer p {
  font-size: 12px; color: var(--text-3); line-height: 1.65;
}
.form-disclaimer strong { color: var(--text-2); }

/* ── Info boxes for resource page ────────────────*/
.info-callout {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 4px solid var(--brown);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 16px 20px;
}
.info-callout-title {
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brown); margin-bottom: 6px;
}
.info-callout p { font-size: 13.5px; color: var(--text-2); line-height: 1.65; }
.info-callout a { color: var(--red); text-decoration: underline; }

/* Quick links sidebar */
.ql-list { display: flex; flex-direction: column; gap: 6px; }
.ql-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-sm); text-decoration: none;
  font-size: 13.5px; font-weight: 500; color: var(--text);
  transition: background .15s, border-color .15s;
}
.ql-item:hover { background: var(--red-pale); border-color: rgba(196,21,21,.2); color: var(--red); }
.ql-item svg {
  width: 14px; height: 14px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round;
}

/* HCBS rights list */
.rights-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.right-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 16px 18px;
  display: flex; gap: 10px; align-items: flex-start;
}
.right-card-num {
  font-size: 22px; font-weight: 800; color: var(--red);
  opacity: .18; line-height: 1; flex-shrink: 0; min-width: 22px;
}
.right-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.right-card strong { color: var(--text); }
@media (max-width: 640px) {
  .rights-grid { grid-template-columns: 1fr; }
}
