/* ===================================================
   ThereCare — consolidated stylesheet
   All pages reference this file; page-specific rules
   are scoped with body.page-* classes.
   =================================================== */

/* ========== VARIABLES ========== */
:root {
  --navy: #0E2A47;
  --navy-2: #133762;
  --navy-dark: #091f36;
  --navy-ink: #0a1f35;
  --teal: #2E8E8E;
  --teal-2: #37a3a3;
  --accent: #1B4DB1;
  --accent-2: #2e63cf;
  --paper: #FBFAF7;
  --surface: #ffffff;
  --line: #E7E4DC;
  --line-2: #DDE4EE;
  --ink: #0E2A47;
  --muted: #556B85;
  --muted-2: #7a8699;
  --white: #ffffff;

  /* Topbar tokens */
  --bar-bg: #0E2A47;
  --bar-fg: #ffffff;
  --bar-fg-muted: #8FA3BC;
  --bar-hover: rgba(255,255,255,.08);
  --bar-border: rgba(255,255,255,.08);
  --bar-cta-bg: #1B4DB1;
  --bar-cta-bg-hover: #2e63cf;
  --bar-active: #6FA8FF;

  /* How It Works step palette */
  --s1: #1B4DB1;
  --s2: #2E8E8E;
  --s3: #C67032;
  --s4: #E07A2B;
  --s5: #7A3C8C;
  --s6: #3E7DD1;
}

/* ========== RESET ========== */
* { box-sizing: border-box }
html, body { margin: 0; padding: 0 }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none }
button { font-family: inherit; cursor: pointer; border: 0; background: none }

.brand-logo {
  height: 50px;
  width: 213px;
  flex: 0 0 auto;
}

/* ========== TOPBAR ========== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bar-bg);
  color: var(--bar-fg);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.topbar.scrolled {
  border-bottom-color: var(--bar-border);
  box-shadow: 0 6px 24px -18px rgba(0,0,0,.45);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; gap: 32px;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 12px; margin-left: -60px; }
.logo-mark { width: 34px; height: 34px; flex-shrink: 0 }
.logo-text { display: flex; flex-direction: column; line-height: 1 }
.logo-name { font-weight: 700; font-size: 20px; letter-spacing: -0.01em; color: var(--bar-fg) }
.logo-sub { font-size: 9.5px; letter-spacing: 0.18em; color: var(--bar-fg-muted); font-weight: 600; margin-top: 4px }
.topbar[data-hide-sub="true"] .logo-sub { display: none }

nav.primary { display: flex; align-items: center; gap: 6px; margin-left: auto; }
nav.primary a,
.nav-parent-link,
.nav-parent-toggle {
  font-size: 14px; font-weight: 500; color: var(--bar-fg);
  padding: 10px 6px; border-radius: 8px;
  position: relative; opacity: .85;
  transition: color .15s ease, background .15s ease, opacity .15s ease;
}
nav.primary a:hover,
.nav-parent-link:hover,
.nav-parent-toggle:hover,
.nav-item-submenu.open > .nav-parent-link,
.nav-item-submenu.open > .nav-parent-toggle { opacity: 1 }
nav.primary a.active,
.nav-parent-link.active,
.nav-parent-toggle.active { color: var(--bar-fg); opacity: 1; font-weight: 700 }
nav.primary a.active:not(.nav-cta)::after,
.nav-parent-link.active::after,
.nav-parent-toggle.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--bar-active); border-radius: 2px;
}
.nav-item-submenu {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-parent-link {
  display: inline-flex;
  align-items: center;
}
.nav-parent-toggle {
  display: inline-flex;
  align-items: center;
  padding-left: 4px;
  padding-right: 4px;
}
.nav-parent-toggle svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  transition: transform .15s ease;
}
.nav-item-submenu.open > .nav-parent-toggle svg {
  transform: rotate(180deg);
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--bar-bg);
  border: 1px solid var(--bar-border);
  border-radius: 0;
  box-shadow: 0 14px 30px -18px rgba(14,42,71,.4);
}
.nav-item-submenu.open > .nav-submenu {
  display: flex;
}
.nav-submenu a {
  width: 100%;
}
.nav-submenu a.active::after {
  left: 6px;
  right: 6px;
}
.nav-cta {
  margin-left: 14px;
  background: var(--bar-cta-bg);
  color: #fff !important;
  padding: 11px 20px !important;
  border-radius: 8px;
  font-weight: 600; opacity: 1 !important;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--bar-cta-bg-hover) !important; transform: translateY(-1px) }

.burger { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center }
.burger:hover { background: var(--bar-hover) }
.burger span { display: block; width: 18px; height: 2px; background: var(--bar-fg); position: relative }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--bar-fg) }
.burger span::before { top: -6px } .burger span::after { top: 6px }

/* ========== HERO (base) ========== */
.hero {
  position: relative; overflow: hidden;
  min-height: 360px; background: #d9d5cb;
}
.hero-photo {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.92) 30%, rgba(251,250,247,0) 54%),
    repeating-linear-gradient(130deg, #c9c3b5 0 18px, #bfb8a8 18px 36px);
}
.hero-inner {
  position: relative;
  max-width: 1280px; margin: 0 auto;
  padding: 56px 32px 64px;
}
.eyebrow {
  color: var(--accent); font-weight: 700;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 800; color: var(--navy);
  margin: 0 0 22px; max-width: 620px;
  text-wrap: balance;
}
.hero p.lede {
  font-size: 15px; line-height: 1.6; color: var(--navy);
  max-width: 520px; margin: 0; text-wrap: pretty;
}

/* Hero CTA buttons */
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px }
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px) }
.btn-text {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,.94);
  padding: 11.5px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.btn-text .arrow { transition: transform .2s ease }
.btn-text:hover {
  background: #EFF3FB;
  transform: translateY(-1px);
}
.btn-text:hover .arrow { transform: translateX(4px) }

/* ========== PHOTO PLACEHOLDERS ========== */
.ph {
  background:
    linear-gradient(180deg, rgba(14,42,71,.05), rgba(14,42,71,0)),
    repeating-linear-gradient(125deg, #E2DDD1 0 14px, #D8D2C3 14px 28px);
  position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.ph::after {
  content: attr(data-caption);
  position: absolute; left: 8px; bottom: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 9.5px;
  color: rgba(14,42,71,.6);
  background: rgba(255,255,255,.78); padding: 3px 6px; border-radius: 3px;
}

/* ========== CTA BAND ========== */
.cta-band { padding: 0 32px 56px }
.cta-inner {
  max-width: 1280px; margin: 0 auto;
  background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px;
  padding: 22px 26px;
  display: flex; align-items: center; gap: 22px;
}
.cta-ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cta-text { flex: 1; min-width: 0 }
.cta-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4 }
.cta-sub { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.5 }
.cta-btn {
  background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: background .15s ease, transform .15s ease; flex-shrink: 0;
}
.cta-btn:hover { background: var(--accent-2); transform: translateY(-1px) }

.cta-band.dark .cta-inner { background: var(--navy); border-color: var(--navy); color: #fff }
.cta-band.dark .cta-ic { background: rgba(255,255,255,.12) }
.cta-band.dark .cta-title { color: #fff }
.cta-band.dark .cta-sub { color: rgba(255,255,255,.72) }

/* ========== NOTE BAND ========== */
.note-band { padding: 0 32px 56px }
.note-inner {
  max-width: 1280px; margin: 0 auto;
  background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px;
  padding: 18px 24px; display: flex; align-items: center; gap: 18px;
}
.note-ic {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.note-text { flex: 1 }
.note-title { font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.005em }
.note-sub { font-size: 13px; color: var(--muted); margin-top: 2px; line-height: 1.5 }
.note-link { color: var(--accent); font-weight: 600; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px }
.note-link .arrow { transition: transform .2s ease }
.note-link:hover .arrow { transform: translateX(4px) }

/* ========== SHARED HERO-PILLARS ========== */
.hero-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 28px; max-width: 680px;
}
.hero-pillar { display: flex; gap: 10px; align-items: flex-start }
.hero-pillar-ic {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-pillar-ic.blue  { background: #EFF3FB; color: var(--accent) }
.hero-pillar-ic.green  { background: #EAF2EA; color: #3F8A4A }
.hero-pillar-ic.purple { background: #F1EDF5; color: #7048A0 }
.hero-pillar-ic.navy   { background: #E5EBF2; color: var(--navy) }
.hero-pillar-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px }
.hero-pillar-body  { font-size: 12px; color: var(--muted); line-height: 1.5 }

/* ========== SHARED RESPONSIVE ==========
   Standard breakpoints: 1280 / 1024 / 768 / 640
*/
@media (max-width: 1024px) {
  nav.primary { display: none }
  .burger { display: flex }
  .cta-inner, .note-inner { flex-direction: column; align-items: flex-start }
  .nav-item-submenu {
    display: contents;
  }
  .nav-parent-link {
    display: block;
  }
  .nav-parent-toggle {
    display: none;
  }
  .nav-submenu {
    position: static;
    min-width: 0;
    padding: 0;
    margin: 0;
    display: contents;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-parent-link,
  .nav-submenu a {
    padding: 10px 6px;
    border-radius: 8px;
    opacity: .85;
    width: auto;
  }
  .nav-parent-link:hover,
  .nav-submenu a:hover {
    background: var(--bar-hover);
    opacity: 1;
  }
  .nav-parent-link.active::after,
  .nav-submenu a.active::after {
    left: 14px;
    right: 14px;
  }
}
@media (max-width: 768px) {
  .hero,
  .page-home .hero,
  .hero.platform,
  .page-how .hero,
  .hero.modules,
  .hero.ss,
  .hero.wf,
  .hero.impact,
  .page-about .hero,
  .hero.contact,
  .page-consulting .hero {
    min-height: auto;
  }

  .hero-inner,
  .page-home .hero-inner,
  .page-how .hero-inner,
  .page-about .hero-inner,
  .page-consulting .hero-inner {
    padding: 32px 24px 36px;
  }

  .hero p.lede,
  .hero .hero-sub,
  .hero .eyebrow {
    width: fit-content;
    max-width: min(100%, 38rem);
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 14px;
    box-shadow: 0 20px 40px -30px rgba(14,42,71,.42);
  }

  .hero .eyebrow {
    padding: 8px 12px;
    margin-bottom: 14px;
  }

  .hero h1 {
    padding: 16px 18px;
    margin-bottom: 14px;
    text-shadow: 1px 1px 10px white;
  }

  .hero p.lede,
  .hero .hero-sub {
    padding: 14px 18px;
  }

  .hero .hero-cta-row,
  .hero .cta-row {
    padding: 12px;
    margin-top: 18px;
    gap: 12px;
  }
}
@media (max-width: 640px) {
  .logo { margin-left: 0; }
  .hero-inner { padding: 40px 20px 48px }
  .topbar-inner { padding: 14px 20px }
  .logo-sub { display: none }
  .hero-photo::after { display: none }

  .hero,
  .page-home .hero,
  .hero.platform,
  .page-how .hero,
  .hero.modules,
  .hero.ss,
  .hero.wf,
  .hero.impact,
  .page-about .hero,
  .hero.contact,
  .page-consulting .hero {
    min-height: auto;
  }

  .hero-inner,
  .page-home .hero-inner,
  .page-how .hero-inner,
  .page-about .hero-inner,
  .page-consulting .hero-inner {
    padding: 24px 20px 28px;
  }

  .hero p.lede,
  .hero .hero-sub,
  .hero .eyebrow {
    max-width: 100%;
    background: rgba(255,255,255,.6);
  }

  .hero h1 {
    font-size: clamp(31px, 10vw, 40px);
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .hero p.lede,
  .hero .hero-sub {
    padding: 12px 16px;
  }

  .hero .hero-cta-row,
  .hero .cta-row {
    width: 100%;
    align-items: stretch;
  }

  .hero .hero-cta-row > a,
  .hero .cta-row > a {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================
   HOME PAGE  (body.page-home)
   ===================================================== */
.page-home .hero { min-height: 480px }
.page-home .hero-photo {
  background:
    linear-gradient(100deg, rgba(251,250,247,.98) 20%, rgba(251,250,247,.85) 28%, rgba(251,250,247,0) 52%),
    url('assets/heros/index-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
  background-size: cover;
}
.page-home .hero-inner { padding: 56px 32px 64px }
.page-home .hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; margin: 0 0 28px; max-width: 640px }
.page-home .hero p.lede { font-size: 16px; line-height: 1.55; max-width: 420px; margin: 0 0 36px }

.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap }

.pillars { background: var(--paper); padding: 64px 32px 72px; border-top: 1px solid var(--line) }
.pillars-inner { max-width: 1280px; margin: 0 auto }
.pillars-title { text-align: center; font-weight: 600; font-size: 20px; color: var(--navy); margin: 0 0 44px; letter-spacing: -0.005em }
.pillar-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px }
.pillar {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  align-items: start; padding: 6px 4px; cursor: pointer;
  border-radius: 10px; transition: background .2s ease;
}
.pillar:hover { background: rgba(14,42,71,.03) }
.pillar .ic {
  width: 56px; height: 56px; border-radius: 50%; background: #EAF1FD;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.pillar:hover .ic { background: #EAF1FD; transform: translateY(-2px) }
.pillar h3 { margin: 6px 0 6px; font-size: 11px; letter-spacing: 0.1em; font-weight: 700; color: var(--navy); text-transform: uppercase }
.pillar p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty }

.quote-band { position: relative; background: var(--navy); color: #fff; overflow: hidden }
.quote-band::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(270deg, rgba(14,42,71,.2) 0%, rgba(14,42,71,.92) 55%, var(--navy) 100%),
    url('assets/home/band.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
}
.quote-inner {
  position: relative; z-index: 1;
  max-width: 1280px; margin: 0 auto;
  padding: 46px 32px; display: flex; align-items: flex-start; gap: 22px;
}
.qmark { font-family: Georgia, serif; font-size: 72px; line-height: .7; color: rgba(255,255,255,.35); flex-shrink: 0; margin-top: 4px }
.quote-text { font-size: 16px; line-height: 1.55; max-width: 780px; color: #EAF0F7; text-wrap: pretty }
.quote-text strong { color: #fff; font-weight: 600 }

@media (max-width: 1024px) {
  .page-home nav.primary { display: none }
  .page-home .burger { display: flex }
  .page-home .hero-inner { padding: 56px 24px 72px }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px }
  .quote-inner { padding: 32px 24px }
}
@media (max-width: 640px) {
  .pillar-grid { grid-template-columns: 1fr }
  .page-home .topbar-inner { padding: 14px 20px; gap: 12px; }
  .page-home .logo-sub { display: none }
  .topbar-inner { justify-content: space-between;}
  .page-home .hero-inner {
    padding: 20px;
  }
  .page-home .hero-photo {
    background: url('assets/heros/index-hero11.webp');
    background-size: cover;
    background-position: 50%;
  }
}

/* =====================================================
   PLATFORM PAGE  (platform.html — no body class needed,
   uses .hero.platform and unique class names)
   ===================================================== */
.hero.platform { min-height: 480px }
.hero.platform .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 20%, rgba(251,250,247,.9) 28%, rgba(251,250,247,0) 52%),
    url('assets/heros/platform-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
  background-size: cover;
}

.hero-side-card {
  position: absolute; right: 32px; top: 40px;
  width: 300px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 22px 44px -30px rgba(14,42,71,.35);
}
.hero-side-card .hsc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px }
.hero-side-card .hsc-ic {
  width: 32px; height: 32px; border-radius: 7px;
  background: #EFF3FB; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hero-side-card .hsc-title { font-weight: 700; font-size: 14px; color: var(--navy) }
.hero-side-card .hsc-body { font-size: 12.5px; color: var(--muted); line-height: 1.55 }

.platform-diagram { padding: 56px 32px 48px; background: var(--paper) }
.platform-diagram-inner { max-width: 1280px; margin: 0 auto }
.pd-title { text-align: center; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin: 0 0 32px }
.pd-row { display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr 1fr; gap: 30px; align-items: stretch; position: relative }
.pd-col { background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 10px; padding: 15px; display: flex; flex-direction: column; position: relative }
.pd-col.green  { background: #EFF5EE; border-color: #D8E4D2 }
.pd-col.purple { background: #F1EDF5; border-color: #E0D7E8 }
.pd-col.teal-t { background: #EAF4F4; border-color: #CEE2E2 }
.pd-col .ic { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid rgba(14,42,71,.08); display: flex; align-items: center; justify-content: center; margin: 4px auto 10px; color: var(--accent) }
.pd-col.green .ic  { color: #3F8A4A }
.pd-col.purple .ic { color: #7048A0 }
.pd-col.teal-t .ic { color: var(--teal) }
.pd-label { text-align: center; font-weight: 700; font-size: 12.5px; letter-spacing: 0.12em; color: var(--navy); text-transform: uppercase; margin: 0 0 16px; line-height: 1.35 }
.pd-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px }
.pd-list li { font-size: 13px; color: var(--navy); font-weight: 500; display: flex; align-items: center; gap: 8px; padding: 4px 2px }
.pd-list li svg { flex-shrink: 0; color: var(--muted-2); opacity: .8 }
.pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: var(--muted-2); opacity: .6; pointer-events: none; z-index: 2 }
.pd-engine { position: relative; background: var(--navy); color: #fff; border: 1px solid var(--navy); border-radius: 10px; padding: 22px 18px; display: flex; flex-direction: column }
.pd-engine .pd-label { color: #fff; letter-spacing: 0.14em }
.pd-engine-steps { display: flex; align-items: first baseline; justify-content: space-between; gap: 6px; margin-bottom: 16px; padding: 4px 0 }
.pd-step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 10.5px; color: rgba(255,255,255,.85); font-weight: 500; flex: 1; text-align: center }
.pd-step .ring { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; color: #fff }
.pd-step-sep { color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: 2px; align-self: center; margin-top: -16px }
.pd-engine-note { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 12px; margin-top: auto }
.pd-engine-note-title { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 4px }
.pd-engine-note-body { font-size: 11.5px; color: rgba(255,255,255,.8); line-height: 1.5 }

.fc-strip { padding: 0 32px 32px }
.fc-inner { max-width: 1280px; margin: 0 auto; background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px; padding: 28px 30px }
.fc-header { text-align: center; color: var(--accent); font-size: 12.5px; letter-spacing: 0.2em; font-weight: 700; text-transform: uppercase; margin: 0 0 22px }
.fc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px }
.fc-cell { display: flex; gap: 14px; align-items: flex-start }
.fc-ic { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid #D9E2F2; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0 }
.fc-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px }
.fc-body  { font-size: 12.5px; color: var(--muted); line-height: 1.5 }

.sga-strip { padding: 0 32px 32px; }
.sga-inner { max-width: 1280px; margin: 0 auto; background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px; padding: 28px 30px }
.sga-header { text-align: center; color: var(--accent); font-size: 12.5px; letter-spacing: 0.2em; font-weight: 700; text-transform: uppercase; margin: 0 0 22px }
.sga-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; align-items: flex-start }
.rhtp-container {
}
.sga-body {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.sga-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.sga-chip {
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: #DCE6F5;
  padding: 5px 10px;
  border-radius: 999px;
}
.sga-chip.alt {
  background: #E9D7F1;
  color: #4d2f70;
}
.sga-chip.alt2 {
  background: #F5E6D6;
  color: #8a5a2a;
}
.sga-btn,
.sga-link {
  display: inline-flex;
  align-items: center;
  border: 0;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.sga-link { display: none; }
.sga-btn:hover,
.sga-btn:focus-visible { background: #2e63cf; }
.sga-btn:focus-visible {
  outline: 3px solid rgba(27, 77, 177, 0.28);
  outline-offset: 3px;
}
.sga-graphic { width: 100%; }
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 42, 71, 0.7);
  backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(14, 42, 71, 0.28);
  overflow: auto;
}
.modal-content { padding: 28px 28px 24px; }
.modal-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--navy);
}
.modal-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 42, 71, 0.08);
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover,
.modal-close:focus-visible { background: rgba(14, 42, 71, 0.14); }
.modal-close:focus-visible {
  outline: 3px solid rgba(27, 77, 177, 0.28);
  outline-offset: 2px;
}
.modal-actions {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 16px;
}

.modal-print-btn {
  border: 0;
  border-radius: 999px;
  background: #eff3fb;
  color: var(--navy);
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.modal-print-btn:hover,
.modal-print-btn:focus-visible {
  background: #dbe5f5;
}
.modal-print-btn:focus-visible {
  outline: 3px solid rgba(27, 77, 177, 0.28);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .pd-row { grid-template-columns: 1fr; gap: 16px }
  .pd-col, .pd-engine { margin-bottom: 10px; }
  .pd-arrow {
    right: 50% !important;
    bottom: -13px;
    transform: rotate(90deg) translateX(50%);
    top: unset;
  }
  .pd-engine { grid-column: 1 / -1;}
  .fc-grid { grid-template-columns: repeat(2, 1fr) }
  .hero-side-card { position: static; margin-top: 28px; width: auto }
  .modal-print-btn { display: none }
}

@media (max-width: 768px) {
  .modal { padding: 16px; }
  .modal-content { padding: 20px 20px 18px; }
}

@media (max-width: 640px) {
  .sga-btn { display: none; }
  .sga-link { display: inline-flex; }
  .platform .hero-inner {
    padding: 20px;
  }
  .hero.platform .hero-photo {
    background: url('assets/platform/hero.webp');
    background-size: cover;
    background-position: 50%;
  }

  .sga-grid,
  .fc-grid {
    grid-template-columns: 1fr;
  }
  .fc-cell {
    margin-bottom: 10px;
  }
  .rhtp-container { display: none; }
}
@page {
  margin: 0.35in;
}

@media print {
   body.print-modal-active * {
    display: none;
  }

  body.print-modal-active .modal,
  body.print-modal-active .modal * {
    display: block;
  }
  body.print-modal-active .modal {
    position: static;
    inset: auto;
    display: block;
    padding: 0;
    background: #fff;
  }
  body.print-modal-active .modal-backdrop,
  body.print-modal-active .modal-close,
  body.print-modal-active .modal-actions {
    display: none !important;
  }
  body.print-modal-active .modal-panel {
    display: block;
    width: 100%;
    max-height: none;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
  }
  body.print-modal-active .modal-content {
    padding: 0;
  }
  body.print-modal-active .modal-title {
    margin: 0 0 0.18in;
    font-size: 20pt;
  }
  body.print-modal-active .modal-image {
    max-width: 100%;
    max-height: calc(100vh - 1.1in);
    object-fit: contain;
    border-radius: 0;
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* =====================================================
   HOW IT WORKS PAGE  (body.page-how)
   ===================================================== */
.page-how .hero { min-height: 480px }
.page-how .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.92) 35%, rgba(251,250,247,0) 58%),
    url('assets/heros/how-it-works-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
  background-size: cover;
}
.page-how .hero-photo::after {
  position: absolute; right: 32px; bottom: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(14,42,71,.55);
  background: rgba(251,250,247,.75); padding: 6px 10px; border-radius: 4px;
}
.page-how .hero-inner { padding: 56px 32px 60px }
.page-how .hero h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; margin: 0 0 18px; max-width: 640px }
.page-how .eyebrow { margin: 0 0 16px }

.steps-section { padding: 48px 32px 40px }
.steps-inner { max-width: 1280px; margin: 0 auto }
.steps-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; position: relative }
.step { padding: 0 6px; position: relative; display: flex; flex-direction: column; justify-content: start; }
.step + .step::before {
  content: ""; position: absolute; left: -10px; top: 28px;
  width: 14px; height: 14px;
  border-right: 2px solid #CDD4DF; border-top: 2px solid #CDD4DF;
  transform: rotate(45deg); opacity: .85;
}
.step-head { display: flex; align-items: center; justify-content: center; margin-bottom: 14px; position: relative; min-height: 56px }
.step-badge {
  position: absolute; left: 45%; top: 50%; transform: translate(-42px, -50%); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 0 0 5px #E6ECF4; flex-shrink: 0;
}
.step-ic { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.step h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--navy); letter-spacing: -0.005em; line-height: 1.25 }
.step p.desc { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0 0 12px; text-wrap: pretty }
.step ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 12px; line-height: 1.6; color: var(--ink) }
.step ul li { position: relative; padding-left: 12px }
.step ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted) }
.step ul.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px }
.step-photo {
  margin-top: auto;
  height: 122px; border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(14,42,71,.06), rgba(14,42,71,0)),
    repeating-linear-gradient(125deg, #E2DDD1 0 14px, #D8D2C3 14px 28px);
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.step-photo-entry-points { background-image: url('assets/how_it_works/entry-points.webp'); background-size: cover; background-repeat: no-repeat; }
.step-photo-asses { background-image: url('assets/how_it_works/asses-identify.webp'); background-size: cover; background-repeat: no-repeat; }
.step-photo-plan { background-image: url('assets/how_it_works/plan.webp'); background-size: cover; background-repeat: no-repeat; }
.step-photo-services { background-image: url('assets/how_it_works/services.webp'); background-size: cover; background-repeat: no-repeat; }
.step-photo-monitor { background-image: url('assets/how_it_works/monitor.webp'); background-size: cover; background-repeat: no-repeat; }
.step-photo-close-loop { background-image: url('assets/how_it_works/close-loop.webp'); background-size: cover; background-repeat: no-repeat; }

.step[data-s="1"] .step-badge { background: var(--s1) } .step[data-s="1"] .step-ic { background: #EAF1FD }
.step[data-s="2"] .step-badge { background: #1F6D6D } .step[data-s="2"] .step-ic { background: #E8F2F2 }
.step[data-s="3"] .step-badge { background: #9A531F } .step[data-s="3"] .step-ic { background: #F4E9DE }
.step[data-s="4"] .step-badge { background: #A65315 } .step[data-s="4"] .step-ic { background: #FBE8D6 }
.step[data-s="5"] .step-badge { background: var(--s5) } .step[data-s="5"] .step-ic { background: #EFE3F2 }
.step[data-s="6"] .step-badge { background: #2F63B2 } .step[data-s="6"] .step-ic { background: #E6EEFA }

.results { padding: 0 32px 56px }
.results-inner {
  max-width: 1280px; margin: 0 auto;
  background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px;
  padding: 22px 28px;
  display: grid; grid-template-columns: minmax(300px, 1.4fr) repeat(4, 1fr);
  gap: 28px; align-items: center;
}
.results-title-block { display: flex; align-items: center; gap: 18px }
.results-ic { width: 56px; height: 56px; border-radius: 50%; background: #DCE6F7; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0 }
.results-title { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; letter-spacing: -0.005em }
.results-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.5 }
.kpi { display: flex; align-items: flex-start; gap: 12px }
.kpi-ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.kpi.blue .kpi-ic   { background: #DDE8F9; color: #1B4DB1 }
.kpi.green .kpi-ic  { background: #DCEBE3; color: #2d7a52 }
.kpi.purple .kpi-ic { background: #E9DFEF; color: #7A3C8C }
.kpi.lilac .kpi-ic  { background: #E6EDFA; color: #3E7DD1 }
.kpi h4 { margin: 2px 0 2px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: -0.005em }
.kpi p  { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5 }

@media (max-width: 1024px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); gap: 28px 12px }
  .step + .step::before { display: none }
  .results-inner { grid-template-columns: 1fr 1fr; padding: 22px }
}
@media (max-width: 768px) { .steps-row { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 640px) {
  .page-how .hero { min-height: 400px }
  .page-how .hero-photo {
    background: url('assets/heros/how-it-works-hero11.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100%;
  }
  .steps-row { grid-template-columns: 1fr }
  .results-inner { grid-template-columns: 1fr }
  .page-how .hero-inner { padding: 20px }
  .step-photo { display: none;}
}

/* =====================================================
   MODULES PAGE  (modules.html — scoped via .hero.modules)
   ===================================================== */
.hero.modules { min-height: 480px; background: linear-gradient(180deg, #EAF0FA 0%, #F4F7FC 100%) }
.hero.modules .hero-photo {
  background:
    linear-gradient(90deg, #EAF0FA 0%, rgba(234,240,250,.9) 32%, rgba(234,240,250,0) 55%),
    url('assets/heros/modules-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 18%;
  background-size: cover;
}

.mod-grid-wrap { padding: 32px 40px; position: relative; z-index: 2 }
.mod-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px }
.mod-card { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 20px 18px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease }
.mod-card:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -24px rgba(14,42,71,.28); border-color: #c9d6ea }
.mod-ic { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px }
.mod-ic.c1 { background: var(--navy) }
.mod-ic.c2 { background: #3F8A4A }
.mod-ic.c3 { background: #7048A0 }
.mod-ic.c4 { background: #D97742 }
.mod-ic.c5 { background: #2E8E8E }
.mod-ic.c6 { background: #1B4DB1 }
.mod-title { font-size: 14px; font-weight: 800; color: var(--navy); letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.3; margin-bottom: 14px; text-wrap: balance }
.mod-list { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px }
.mod-list li { font-size: 13px; color: var(--navy); line-height: 1.45; padding-left: 14px; position: relative }
.mod-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2) }
.mod-photo { margin-top: auto; aspect-ratio: 1.1 / 1; border-radius: 6px }
.mod-photo-infrastructure { background-image: url('assets/modules/infrastructure.webp'); background-repeat: no-repeat; background-size: cover; }
.mod-photo-workforce { background-image: url('assets/modules/workforce.webp'); background-repeat: no-repeat; background-size: cover; }
.mod-photo-clinical-services { background-image: url('assets/modules/clinic-services.webp'); background-repeat: no-repeat; background-size: cover; }
.mod-photo-sdoh { background-image: url('assets/modules/sdoh.webp'); background-repeat: no-repeat; background-size: cover; }
.mod-photo-engagement { background-image: url('assets/modules/engagement.webp'); background-repeat: no-repeat; background-size: cover; }
.mod-photo-revenue { background-image: url('assets/modules/revenue.webp'); background-repeat: no-repeat; background-size: cover; }
.mod-photo-caption { font-size: 9px }

@media (max-width: 1024px) { .mod-grid { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 768px)  { .mod-grid { grid-template-columns: repeat(2, 50%) } }
@media (max-width: 640px) {
  .hero.modules { min-height: 400px;}
  .hero.modules .hero-photo {
    background: url('assets/heros/modules-hero11.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
  }
  .mod-grid { grid-template-columns: 1fr; }
  .mod-photo { display: none; }
  .hero.modules .hero-inner {
    padding: 20px;
  }
}

/* =====================================================
   STATE SOLUTIONS PAGE  (.hero.ss + unique class names)
   ===================================================== */
.hero.ss { min-height: 480px }
.hero.ss .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.9) 50%, rgba(251,250,247,0) 70%),
    url('assets/heros/state-solutions-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
  background-size: cover;
}

.page-state-solutions .hero { margin-bottom: 0 }
.page-state-solutions .ss-pillars-band { padding: 32px 0 0 0 }
.page-state-solutions .ss-pillars-band .results-inner {
  grid-template-columns: repeat(3, 1fr);
}

.examples { padding: 48px 32px 32px; background: var(--paper) }
.examples-inner { max-width: 1280px; margin: 0 auto }
.examples-title { text-align: center; font-size: 24px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin: 0 0 32px }
.state-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px }
.state-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; display: grid; grid-template-columns: 230px 1fr; overflow: hidden }
.state-photo {
  position: relative;
  background: linear-gradient(180deg, rgba(14,42,71,.1), rgba(14,42,71,0) 50%), repeating-linear-gradient(130deg, #8aa0b2 0 14px, #7b90a2 14px 28px);
}
.state-photo.md { background: url('assets/state_solutions/maryland.webp'); background-repeat: no-repeat; background-size: cover; }
.state-photo.or { background: url('assets/state_solutions/oregon.webp'); background-repeat: no-repeat; background-size: cover; }
.state-body { padding: 22px 24px 22px; display: flex; flex-direction: column }
.state-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px }
.state-flag { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-2) }
.state-name { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.015em; display: flex; align-items: center; gap: 8px; margin: 0; }
.state-name .chev { color: var(--accent) }
.state-desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 18px }
.state-focus-label { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px }
.state-focus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-bottom: 14px }
.state-focus { display: flex; gap: 10px; align-items: flex-start }
.state-focus-ic { width: 28px; height: 28px; border-radius: 6px; background: #EFF3FB; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.state-focus-ic.green  { background: #EAF2EA; color: #3F8A4A }
.state-focus-ic.orange { background: #FBEFE6; color: #D97742 }
.state-focus-ic.purple { background: #F1EDF5; color: #7048A0 }
.state-focus-ic.teal   { background: #E1F0F0; color: var(--teal) }
.state-focus-ic.navy   { background: #E5EBF2; color: var(--navy) }
.state-focus-t { font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 2px }
.state-focus-b { font-size: 11.5px; color: var(--muted); line-height: 1.45 }
.state-link,
.state-link-mobile { margin-top: auto; text-align: right; color: var(--accent); font-weight: 600; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; align-self: flex-end }
.state-link:hover { text-decoration: underline }
.state-link-mobile { display: none; }

.stats-band { padding: 0 32px 56px }
.stats-inner { max-width: 1280px; margin: 0 auto; background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px; padding: 20px 26px; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 20px; align-items: center }
.stats-head { display: flex; gap: 14px; align-items: center }
.stats-head-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.stats-head-title { font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 3px }
.stats-head-sub { font-size: 12px; color: var(--muted); line-height: 1.5 }
.stat { display: flex; align-items: center; gap: 12px }
.stat-ic { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1px solid #D9E2F2; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.stat-lbl { font-size: 11px; color: var(--muted); margin-bottom: 1px }
.stat-num { font-size: 17px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em }

@media (max-width: 1024px) {
  .state-row { grid-template-columns: 1fr }
  .state-card { grid-template-columns: 1fr }
  .state-photo { min-height: 180px }
  .stats-inner { grid-template-columns: 1fr 1fr }
  .page-state-solutions .ss-pillars-band .results-inner { grid-template-columns: 1fr 1fr }
}

@media (max-width: 768px) {
  .page-state-solutions .ss-pillars-band .results-inner { grid-template-columns: 1fr }
}

@media (max-width: 640px) {
  .hero.ss {
    min-height: 400px;;
  }
  .hero.ss .hero-inner {
    padding: 20px;
  }
  .hero.ss .hero-photo {
    background: url('assets/heros/state-solutions-hero11.webp');
    background-size: cover;
    background-position: 100%;
  }
  .stats-inner { grid-template-columns: 1fr }
  .page-state-solutions .ss-pillars-band { padding: 32px 32px 0 }
  .state-link-mobile { display: inline-block; }
  .state-link { display: none; }
}

/* =====================================================
   WORKFORCE PAGE  (body.page-workforce + .hero.wf)
   ===================================================== */
.hero.wf { min-height: 480px }
.hero.wf .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.9) 32%, rgba(251,250,247,0) 55%),
    url('assets/heros/workforce-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 30%;
  background-size: cover;
}

.page-workforce .hero { margin-bottom: 0 }
.page-workforce .wf-pillars-band { padding: 32px 0 0 0 }
.page-workforce .wf-pillars-band .results-inner {
  grid-template-columns: repeat(3, 1fr);
}

.wf-section { padding: 48px 32px 36px; background: var(--paper) }
.wf-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr 220px; gap: 24px; align-items: flex-start }
.chats { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 16px }
.chats-photo { aspect-ratio: 4/3;
  background: url('assets/workforce/training.webp');
  background-repeat: no-repeat;
  background-size: cover;
   border-radius: 6px; margin-bottom: 12px; position: relative; overflow: hidden }
.chats-title { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; margin-bottom: 6px }
.chats-body { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 12px }
.chats-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px }
.chats-list li { font-size: 12.5px; color: var(--navy); font-weight: 500; display: flex; align-items: center; gap: 7px }
.chats-list svg { color: var(--teal); flex-shrink: 0 }
.chats-link,
.chats-link-mobile { color: var(--accent); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px }
.chats-link:hover { text-decoration: underline }
.chats-link-mobile { display: none; }
.wf-mid { padding: 4px 4px 0 }
.wf-mid-title { text-align: center; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.015em; margin: 0 0 10px }
.wf-mid-lede { text-align: center; font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 620px; margin: 0 auto 28px; text-wrap: pretty }
.wf-roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px }
.wf-role { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .18s ease, box-shadow .18s ease }
.wf-role:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(14,42,71,.28) }
.wf-role-ic { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 10px }
.wf-role-ic.c1 { background: var(--navy) }
.wf-role-ic.c2 { background: #3F8A4A }
.wf-role-ic.c3 { background: #7048A0 }
.wf-role-ic.c4 { background: #2E8E8E }
.wf-role-ic.c5 { background: #D97742 }
.wf-role-t { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 6px; text-wrap: balance }
.wf-role-b { font-size: 11.5px; color: var(--muted); line-height: 1.5; text-wrap: pretty }
.wf-imp { background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px; padding: 18px }
.wf-imp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px }
.wf-imp-ic { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.wf-imp-title { font-size: 14px; font-weight: 800; color: var(--navy) }
.wf-imp-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #D9E2F2 }
.wf-imp-item:first-of-type { border-top: 0 }
.wf-imp-item-ic { width: 28px; height: 28px; border-radius: 7px; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #D9E2F2 }
.wf-imp-t { font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 3px }
.wf-imp-b { font-size: 11.5px; color: var(--muted); line-height: 1.45 }

.els-band { padding: 0 32px 56px }
.els-inner { max-width: 1280px; margin: 0 auto; background: #EAF0FA; border: 1px solid #D3DFF0; border-radius: 12px; padding: 22px; display: grid; grid-template-columns: 240px 1.15fr 1fr; gap: 26px; align-items: center }
.els-photo { aspect-ratio: 5/3; border-radius: 8px;
  background: url('assets/workforce/serve.webp');
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; overflow: hidden }
.els-text h3 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin: 0 0 10px }
.els-text p { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0 }
.els-steps { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; gap: 6px; align-items: center }
.els-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px }
.els-step-ic { width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 1.5px solid #D3DFF0; color: var(--accent); display: flex; align-items: center; justify-content: center }
.els-step.green .els-step-ic  { color: #3F8A4A }
.els-step.purple .els-step-ic { color: #7048A0 }
.els-step-t { font-size: 13px; font-weight: 800; color: var(--navy) }
.els-step-b { font-size: 11px; color: var(--muted); line-height: 1.45 }
.els-sep { color: var(--muted-2) }

@media (max-width: 1024px) {
  .wf-inner { grid-template-columns: 1fr }
  .wf-roles { grid-template-columns: repeat(2, 1fr) }
  .els-inner { grid-template-columns: 1fr }
  .els-steps { grid-template-columns: 1fr 12px 1fr 12px 1fr }
  .page-workforce .wf-pillars-band .results-inner { grid-template-columns: 1fr 1fr }
}

@media (max-width: 768px) {
  .page-workforce .wf-pillars-band .results-inner { grid-template-columns: 1fr }
}
@media (max-width: 640px) {
  .hero.wf { min-height: 400px }
  .hero.wf .hero-photo {
    background: url('assets/heros/workforce-hero11.webp');
    background-size: cover;
    background-position: 75%;
  }
  .page-workforce .wf-pillars-band {
    padding: 32px 32px 0 32px;
  }
  .chats-link-mobile { display: inline-block }
  .chats-link { display: none; }
}

/* =====================================================
   IMPACT PAGE  (body.page-impact + .hero.impact)
   ===================================================== */
.hero.impact { min-height: 480px }
.hero.impact .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.9) 40%, rgba(251,250,247,0) 60%),
    url('assets/heros/how-it-works-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
  background-size: cover;
}

.page-impact .hero { margin-bottom: 0 }
.page-impact .impact-pillars-band { padding: 32px 0 0 0 }
.page-impact .impact-pillars-band .results-inner {
  grid-template-columns: repeat(4, 1fr);
}

.iag { padding: 32px 40px; position: relative; z-index: 2 }
.iag-inner { max-width: 1280px; margin: 0 auto; background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px; padding: 24px 28px }
.iag-title { font-size: 16px; font-weight: 800; color: var(--accent); margin: 0 0 18px; letter-spacing: -0.01em }
.iag-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px }
.iag-cell { display: flex; align-items: center; gap: 12px }
.iag-ic { width: 44px; height: 44px; border-radius: 50%; color: #fff; flex-shrink: 0; display: flex; align-items: center; justify-content: center }
.iag-ic.blue   { background: var(--accent) }
.iag-ic.green  { background: #3F8A4A }
.iag-ic.purple { background: #7048A0 }
.iag-ic.teal   { background: var(--teal) }
.iag-ic.navy   { background: var(--navy) }
.iag-ic.orange { background: #D97742 }
.iag-num { font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.015em; line-height: 1.1 }
.iag-lbl { font-size: 11.5px; font-weight: 700; color: var(--navy); margin-top: 3px; line-height: 1.3 }
.iag-sub { font-size: 10.5px; color: var(--muted); margin-top: 1px; line-height: 1.3 }
.iag-note { margin-top: 14px; text-align: center; font-size: 11px; color: var(--muted); font-style: italic }

.stories { padding: 0 32px 36px }
.stories-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 340px 1fr 1fr 1fr; gap: 22px; align-items: flex-start }
.stories-intro h2 { font-size: 24px; font-weight: 800; color: var(--accent); letter-spacing: -0.015em; margin: 0 0 12px; line-height: 1.2 }
.stories-intro p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0 0 22px }
.stories-btn,
.stories-link { background: var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 13px; transition: background .15s ease, transform .15s ease }
.stories-btn:hover { background: var(--accent-2); transform: translateY(-1px) }
.stories-link { display: none; }
.story { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease }
.story:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(14,42,71,.25) }
.story-photo { aspect-ratio: 4/3; position: relative }
.story-photo-chronic-care { background: url('assets/impact/chronic-care.webp'); background-repeat: no-repeat; background-size: cover; }
.story-photo-rural-communities { background: url('assets/impact/rural-communities.webp'); background-repeat: no-repeat; background-size: cover; }
.story-photo-coordinated-care { background: url('assets/impact/coordinated-care.webp'); background-repeat: no-repeat; background-size: cover; }
.story-body { padding: 16px 18px 18px }
.story-t { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 6px; letter-spacing: -0.01em }
.story-b { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 10px }
.story-link { color: var(--accent); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px }
.story-link:hover { text-decoration: underline }

.iaka { padding: 0 32px 40px }
.iaka-inner { max-width: 1280px; margin: 0 auto; background: #EFF3FB; border: 1px solid #D9E2F2; border-radius: 12px; padding: 22px 26px; display: grid; grid-template-columns: 200px repeat(5, 1fr); gap: 22px; align-items: flex-start }
.iaka-head { color: var(--accent); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; line-height: 1.3 }
.iaka-cell { display: flex; gap: 12px; align-items: flex-start }
.iaka-ic { width: 32px; height: 32px; border-radius: 8px; background: #fff; border: 1px solid #D9E2F2; color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0 }
.iaka-t { font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 3px; line-height: 1.3 }
.iaka-b { font-size: 11.5px; color: var(--muted); line-height: 1.45 }

@media (max-width: 1024px) {
  .iag-grid { grid-template-columns: repeat(4, 1fr) }
  .stories-inner { grid-template-columns: 1fr 1fr }
  .iaka-inner { grid-template-columns: 1fr }
  .page-impact .impact-pillars-band .results-inner { grid-template-columns: 1fr 1fr }
}
@media (max-width: 768px) {
  .iag-grid { grid-template-columns: repeat(2, 1fr) }
  .stories-inner { grid-template-columns: 1fr }
  .page-impact .impact-pillars-band .results-inner { grid-template-columns: 1fr }
}

@media (max-width: 640px) {
  .hero.impact .hero-photo {
    background: url('assets/heros/how-it-works-hero11.webp');
    background-size: cover;
    background-position: 60%;
  }
  .page-impact .impact-pillars-band {
    padding: 32px 32px 0 32px;
  }
  .iag-grid { grid-template-columns: 1fr }
  .iag-cell { margin-bottom: 10px; }
  .stories-btn { display: none; }
  .stories-link { display: inline-flex; }
}

/* =====================================================
   ABOUT PAGE  (body.page-about)
   ===================================================== */
.page-about .hero { min-height: 480px }
.page-about .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.92) 30%, rgba(251,250,247,0) 52%),
    url('assets/heros/about-hero11.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
  background-size: cover;
}
.page-about .hero-inner { padding: 64px 32px 72px }
.page-about .hero h1 { font-size: clamp(36px, 4.2vw, 54px); line-height: 1.05; margin: 0 0 22px; max-width: 620px }
.page-about .eyebrow { margin: 0 0 18px }

.tweaks-panel { position: fixed; right: 18px; bottom: 18px; z-index: 100; background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 48px -20px rgba(14,42,71,.35); padding: 14px 16px 12px; width: 260px; font-size: 13px; display: none }
.tweaks-panel.open { display: block }
.tweaks-panel h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 700 }
.tweaks-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px }
.tweaks-row > label { font-size: 12px; font-weight: 600; color: var(--navy) }
.tweaks-seg { display: flex; gap: 4px; background: #F2F4F9; padding: 3px; border-radius: 8px }
.tweaks-seg button { flex: 1; padding: 6px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--muted) }
.tweaks-seg button.on { background: #fff; color: var(--navy); box-shadow: 0 1px 0 rgba(14,42,71,.12) }
.tweaks-close { position: absolute; top: 8px; right: 10px; color: var(--muted); font-size: 14px; line-height: 1 }

.section { padding: 56px 32px 56px }
.section-inner { max-width: 1280px; margin: 0 auto }
.section-heading { text-align: center; margin: 0 0 10px; font-size: 22px; font-weight: 600; color: var(--accent); letter-spacing: -0.005em }
.section-sub { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 720px; margin: 0 auto 36px; text-wrap: pretty }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px }
.card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 22px 22px 0; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease }
.card:hover { box-shadow: 0 24px 44px -28px rgba(14,42,71,.25), 0 2px 0 rgba(14,42,71,.02); transform: translateY(-2px); border-color: #cfd8e7 }
.card-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; min-height: 68px }
.card-logo { width: 54px; height: 54px; flex-shrink: 0; display: flex; align-items: center; justify-content: center }
.card-head h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 2px 0 0; line-height: 1.2; letter-spacing: -0.005em }
.card-head h3 .sub { display: block; font-weight: 700; font-size: 18px; color: var(--navy) }
.card-tag { font-style: italic; font-size: 13px; line-height: 1.45; color: var(--accent); font-weight: 500; margin: 0 0 14px }
.card-tag .strong-tag { display: block; font-weight: 600; color: var(--accent); font-style: italic }
.card-section-label { font-size: 15px; font-weight: 700; color: var(--navy); margin: 4px 0 10px }
.card-body { font-size: 13px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; text-wrap: pretty }
.card-body strong { color: var(--navy); font-weight: 600 }
.card-photo { margin: auto -22px 0; height: 128px; position: relative }
.card-photo-mpp { background: url('assets/about_us/mpp.webp'); background-repeat: no-repeat; background-size: cover; background-position: 100% 20%; }
.card-photo-hiyh { background: url('assets/about_us/hiyh.webp'); background-repeat: no-repeat; background-size: cover; background-position: 100% 30%; }
.card-photo-university { background: url('assets/about_us/university.webp'); background-repeat: no-repeat; background-size: cover; }

/* Vault stats block inside a card */
.page-about .stats-band { margin: auto -22px 0; background: var(--navy); padding: 20px 18px; display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; position: relative }
.page-about .stat { text-align: center; position: relative; display: block; align-items: unset; gap: unset; padding: 0 10px; }
.page-about .stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: rgba(255,255,255,.18) }
.page-about .stat-ic { width: 36px; height: 36px; margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; color: #fff; opacity: .9; border: none; background: transparent }
.page-about .stat-num { color: white; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1 }
.page-about .stat-label { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.72); margin-top: 4px }

/* Partner logo marks */
.mpp-mark { width: 54px; height: 54px; border-radius: 10px; background: conic-gradient(from 225deg, #F7C31E 0 25%, #E24B2A 25% 50%, #1B1B1B 50% 75%, #F7C31E 75% 100%); box-shadow: inset 0 0 0 2px #fff }
.mpp-logo { width: 120px; height: 54px; object-fit: contain; display: block }
.hiyh-logo { width: 140px; height: 54px; object-fit: contain; display: block }
.academic-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.academic-logo-card { height: 54px; border-radius: 8px; display: flex; align-items: center; justify-content: center }
.academic-logo-card img { display: block; max-width: 100%; max-height: 100%; object-fit: contain }
.academic-logo-card.linfield { width: 138px; background: #0E2A47; padding: 10px 12px }
.academic-logo-card.redlands { width: 150px; background: #fff; border: 1px solid var(--line-2); padding: 9px 12px }
.academic-logo-card.palm-beach-state { width: 216px; height: 64px; background: #fff; border: 1px solid var(--line-2); padding: 8px 14px }
.vault-logo { width: 138px; height: auto; display: block }

@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 1024px) { .page-about .cta-inner { flex-direction: column; align-items: flex-start } }
@media (max-width: 640px) {
  .page-about .hero { min-height: 400px;}
  .page-about .hero-photo {
    background: url('assets/heros/about-hero11.webp');
    background-size: cover;
    background-position: 100%;
  }
  .card-grid { grid-template-columns: 1fr }
  .page-about .hero-inner { padding: 44px 20px 56px }
}

/* =====================================================
   CONTACT PAGE  (.hero.contact + unique class names)
   ===================================================== */
.hero.contact { min-height: 480px }
.hero.contact .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.92) 30%, rgba(251,250,247,0) 54%),
    url('assets/contact/hero.webp');
  background-position: 100% 40%;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero.contact h1 { max-width: 680px }
.hero.contact .lede { max-width: 560px }

.contact-section { padding: 56px 32px 64px }
.contact-inner { max-width: 920px; margin: 0 auto }
.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 32px 32px 28px; box-shadow: 0 22px 44px -30px rgba(14,42,71,.25) }
.form-title { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.015em; margin: 0 0 6px }
.form-sub { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 24px; text-wrap: pretty }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px }
.field { display: flex; flex-direction: column; gap: 6px }
.field.full { grid-column: 1 / -1 }
.field label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy) }
.field label .req { color: var(--accent); margin-left: 3px }
.field input, .field select, .field textarea { font-family: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 8px; padding: 11px 13px; outline: none; transition: border-color .15s ease, box-shadow .15s ease }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(27,77,177,.14) }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5 }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23556B85' stroke-width='1.6' stroke-linecap='round'><path d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 34px }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { font-size: 12.5px; font-weight: 600; color: var(--navy); background: #EFF3FB; border: 1px solid #D9E2F2; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent) }
.chip:hover:not(.on) { background: #E2EAF7 }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 18px; flex-wrap: wrap }
.consent { font-size: 12px; color: var(--muted); line-height: 1.5; max-width: 430px }
.consent a { color: var(--accent); font-weight: 600 }
.submit { background: var(--accent); color: #fff; padding: 13px 24px; border-radius: 8px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background .15s ease, transform .15s ease }
.submit:hover { background: var(--accent-2); transform: translateY(-1px) }
.submit:disabled { cursor: wait; opacity: .72; transform: none }
.form-message { margin-top: 16px; border-radius: 8px; padding: 12px 14px; font-size: 13px; font-weight: 600; line-height: 1.45 }
.form-message.success { background: #EAF2EA; border: 1px solid #D8E4D2; color: #2d6f3b }
.form-message.error { background: #FCEEEE; border: 1px solid #F1CCCC; color: #A13737 }

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr }
  .field.full { grid-column: 1 }
  .form-card { padding: 24px 22px }
  .contact-section { padding: 40px 20px 32px }
}

@media (max-width: 640px) {
  .hero.contact { min-height: 400px; }
  .hero.contact .hero-photo {
    background: url('assets/consulting/hero.webp');
    background-size: cover;
    background-position: 100%;
  }
}

/* =====================================================
   CONSULTING PAGE  (body.page-consulting)
   ===================================================== */
.page-consulting .hero { min-height: 480px }
.page-consulting .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.92) 34%, rgba(251,250,247,0) 56%),
    url('assets/consulting/hero.webp');
  background-repeat: no-repeat;
  background-position: 100% 40%;
}
.page-consulting .hero-inner { padding: 64px 32px 72px }
.page-consulting .hero h1 { max-width: 560px }
.page-consulting .hero p.lede { max-width: 480px }

.hero-sub {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--navy);
  max-width: 480px;
  margin: 14px 0 0;
  opacity: .78;
  text-wrap: pretty;
}

.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: #fff;
  padding: 11.5px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.btn-outline:hover { background: #EFF3FB; transform: translateY(-1px) }

.sec-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 44px auto 22px;
  max-width: 1280px;
  padding: 0 32px;
}
.sec-head .rule {
  flex: 0 0 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #C7D2E2 50%, transparent);
}
.sec-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--navy);
  text-transform: uppercase;
}

.build-band { padding: 0 32px 8px }
.build-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.build-tile {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.build-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -22px rgba(14,42,71,.28);
  border-color: #C7D2E2;
}
.build-ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.build-ic.c1 { background: #EFF3FB; color: #1B4DB1 }
.build-ic.c2 { background: #F1EDF5; color: #7048A0 }
.build-ic.c3 { background: #EAF2EA; color: #3F8A4A }
.build-ic.c4 { background: #EAF1F6; color: #0E2A47 }
.build-ic.c5 { background: #FAEEE5; color: #D97742 }
.build-ic.c6 { background: #EAF0F7; color: #1B4DB1 }
.build-ic.c7 { background: #F1EDF5; color: #7048A0 }
.build-ic.c8 { background: #E6F2EE; color: #2E8E8E }
.build-tile.feat {
  border: 1.5px solid #F2C7A8;
  background: #FFF7F1;
}
.build-tile.feat .build-ic.c5 { background: #F4D7BD; color: #C45A1F }
.build-t {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
  text-wrap: balance;
  min-height: 32px;
}
.build-b {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

.approach-band { padding: 0 32px 8px }
.approach-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 24px 22px;
}
.approach-row {
  display: grid;
  grid-template-columns: 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr;
  gap: 6px;
  align-items: flex-start;
}
.approach-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
}
.app-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
}
.app-ic .num {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
}
.app-ic.s1 { background: #2E8E8E }
.app-ic.s2 { background: #7048A0 }
.app-ic.s3 { background: #3F8A4A }
.app-ic.s4 { background: #1B4DB1 }
.app-ic.s5 { background: #D97742 }
.app-ic.s6 { background: #0E2A47 }
.app-ic.s7 { background: #7048A0 }
.app-t {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.app-b {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}
.app-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B6C2D4;
  padding-top: 18px;
}

.svc-band { padding: 0 32px 8px }
.svc-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 18px 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc-card:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -22px rgba(14,42,71,.28) }
.svc-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.svc-ic.c1 { background: #EFF3FB; color: #1B4DB1 }
.svc-ic.c2 { background: #EAF2EA; color: #3F8A4A }
.svc-ic.c3 { background: #F1EDF5; color: #7048A0 }
.svc-ic.c4 { background: #EAF1F6; color: #0E2A47 }
.svc-ic.c5 { background: #E6F2EE; color: #2E8E8E }
.svc-ic.c6 { background: #FAEEE5; color: #D97742 }
.svc-t {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.svc-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
  text-wrap: pretty;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.svc-list li {
  font-size: 11.5px;
  color: var(--navy);
  line-height: 1.45;
  padding-left: 10px;
  position: relative;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.split-band { padding: 32px 32px 8px }
.split-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.feat-card {
  background: #EAF0FA;
  border: 1px solid #D3DFF0;
  border-radius: 14px;
  padding: 22px;
}
.feat-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.feat-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.feat-body {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: flex-start;
}
.vt-map {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;

}
.vt-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.feat-lede {
  font-size: 12.5px;
  color: var(--navy);
  line-height: 1.55;
  margin: 0 0 10px;
  text-wrap: pretty;
}
.feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feat-list li {
  font-size: 12px;
  color: var(--navy);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.feat-list svg { color: var(--teal); flex-shrink: 0; margin-top: 2px }
.feat-foot {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  background: rgba(255,255,255,.55);
  border-left: 3px solid var(--teal);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
  text-wrap: pretty;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 22px;
}
.why-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.why-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.why-ic.c1 { background: #EFF3FB; color: #1B4DB1 }
.why-ic.c2 { background: #EAF2EA; color: #3F8A4A }
.why-ic.c3 { background: #E6F2EE; color: #2E8E8E }
.why-ic.c4 { background: #F1EDF5; color: #7048A0 }
.why-ic.c5 { background: #FAEEE5; color: #D97742 }
.why-t {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
  text-wrap: balance;
  min-height: 30px;
}
.why-b {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}

.bottom-band { padding: 8px 32px 24px }
.bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.b-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 20px 22px;
}
.b-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.adv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.adv {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.adv-logo {
  width: 100px;
  height: 54px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}
.adv-logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.adv-logo-img-vault {
  width: 100px;
  height: auto;
}
.adv-logo-img-hiyh {
  width: 100px;
  height: auto;
}
.adv-logo-img-mpp {
  width: 80px;
  height: auto;
}
.adv-logo-linfield {
  background: var(--navy);
  border-color: var(--navy);
}
.adv-logo-img-linfield {
  width: 90px;
  height: auto;
}
.adv-logo-img-redlands {
  width: 100px;
  height: auto;
}
.adv-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(14,42,71,.1), rgba(14,42,71,0)),
    repeating-linear-gradient(125deg, #b9b0a0 0 8px, #a89f8c 8px 16px);
  border: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.adv-photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(14,42,71,.18);
}
.adv-photo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 32px;
  height: 22px;
  border-radius: 50% 50% 0 0;
  background: rgba(14,42,71,.18);
}
.adv-name { font-size: 10.5px; font-weight: 700; color: var(--navy); line-height: 1.25; text-wrap: balance }
.adv-role { font-size: 9.5px; color: var(--muted); line-height: 1.3; text-wrap: pretty }

.out-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.out {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 6px 4px;
}
.out-ic {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.out-ic.c1 { background: #EFF3FB; color: #1B4DB1 }
.out-ic.c2 { background: #FAEEE5; color: #D97742 }
.out-ic.c3 { background: #EAF2EA; color: #3F8A4A }
.out-ic.c4 { background: #E6F2EE; color: #2E8E8E }
.out-ic.c5 { background: #F1EDF5; color: #7048A0 }
.out-ic.c6 { background: #EAF1F6; color: #0E2A47 }
.out-t {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  text-wrap: balance;
}

.cta-band-dark { padding: 8px 32px 56px }
.cta-dark-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(95deg, #1B4DB1 0%, #2e63cf 60%, #1B4DB1 100%);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
  box-shadow: 0 14px 36px -28px rgba(14,42,71,.55);
}
.cta-dark-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-dark-text { flex: 1; min-width: 0 }
.cta-dark-title { font-size: 16px; font-weight: 800; line-height: 1.4; letter-spacing: -0.005em }
.cta-dark-sub { font-size: 13px; color: rgba(255,255,255,.84); margin-top: 3px; line-height: 1.5 }
.cta-dark-btn {
  background: #fff;
  color: var(--accent);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, background .15s ease;
  flex-shrink: 0;
}
.cta-dark-btn:hover { transform: translateY(-1px); background: #F4F7FD }

@media (max-width: 1280px) {
  .build-grid { grid-template-columns: repeat(4, 1fr) }
  .svc-grid { grid-template-columns: repeat(3, 1fr) }
  .approach-row {
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
  }
  .approach-row .app-sep { display: none }
  .why-grid { grid-template-columns: repeat(5, 1fr) }
  .adv-row, .out-row { grid-template-columns: repeat(3, 1fr) }
  .bottom-inner, .split-inner { grid-template-columns: 1fr }
}

@media (max-width: 768px) {
  .build-grid { grid-template-columns: repeat(2, 1fr) }
  .svc-grid { grid-template-columns: repeat(2, 1fr) }
  .approach-row { grid-template-columns: repeat(2, 1fr) }
  .why-grid { grid-template-columns: repeat(2, 1fr) }
  .adv-row, .out-row { grid-template-columns: repeat(2, 1fr) }
  .feat-body { grid-template-columns: 1fr }
  .vt-map { max-width: 160px }
  .cta-dark-inner { flex-direction: column; align-items: flex-start }
}

@media (max-width: 640px) {
  .sec-head,
  .build-band,
  .approach-band,
  .svc-band,
  .split-band,
  .bottom-band,
  .cta-band-dark {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-consulting .hero-inner {
    padding: 20px;
  }

  .page-consulting .hero-photo {
    background: url('assets/consulting/hero.webp');
    background-size: cover;
    background-position: 100%;
  }
}

/* =====================================================
   FOOD AS MEDICINE PAGE
   ===================================================== */
.page-food .hero.fam {
  min-height: 460px;
  background: #e6e1d4;
}
.page-food .hero.fam .hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 32px 60px;
}
.page-food .hero.fam h1 { max-width: 600px }
.page-food .hero.fam p.lede { max-width: 500px }

.page-food .iaka { padding: 32px 0 0 }
.page-food .iaka-inner { grid-template-columns: repeat(5, 1fr); }
.page-food .approach-row { grid-template-columns: repeat(6, 1fr); }

.page-food .hero-strip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-food .hero-strip-tile {
  position: relative;
  overflow: hidden;
}

.page-food .hero-strip-tile.t1 {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2) 50%, rgba(255,255,255,1)) 100%,
    url('assets/food/hero111.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-food .hero-strip-tile.t2 {
  background:
    linear-gradient(180deg, rgba(14,42,71,.05), rgba(14,42,71,.18)),
    url('assets/food/hero22.webp');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-food .hero-strip-tile.t3 {
  background:
    linear-gradient(180deg, rgba(14,42,71,.05), rgba(14,42,71,.18)),
    url('assets/food/hero3.webp');
  background-position: 100% 10%;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-food .hero-photo {
  background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247,.9) 50%, rgba(251,250,247,0) 70%),
    url('assets/food/hero1.webp');
  background-repeat: no-repeat;
  background-position: 100% 5%;
  background-size: cover;
}

.page-food .sec-head { margin: 36px auto 22px }
.page-food .sec-head h2 { color: var(--accent) }

.page-food .need-band {
  padding: 36px 32px 8px;
  position: relative;
}
.page-food .need-eyebrow {
  display: block;
  max-width: 1280px;
  margin: 0 auto 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-food .need-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: #EAF0FA;
  border: 1px solid #D3DFF0;
  border-radius: 14px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 240px;
  gap: 18px;
  align-items: center;
}
.page-food .need-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6px 4px;
  border-right: 1px solid #D3DFF0;
}
.page-food .need-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 8px;
}
.page-food .need-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.page-food .need-t {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.page-food .need-b {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
  max-width: 200px;
}
.page-food .need-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 10px;
}
.page-food .need-cta-ic {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-food .need-cta-text {
  font-size: 12.5px;
  color: var(--navy);
  line-height: 1.55;
  font-weight: 500;
  text-wrap: pretty;
}

.page-food .enable-band { padding: 0 32px 8px }
.page-food .enable-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.page-food .enable-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.page-food .enable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -22px rgba(14,42,71,.28);
}
.page-food .enable-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.page-food .enable-ic.c1 { background: #EFF3FB; color: #1B4DB1 }
.page-food .enable-ic.c2 { background: #F1EDF5; color: #7048A0 }
.page-food .enable-ic.c3 { background: #EAF2EA; color: #3F8A4A }
.page-food .enable-ic.c4 { background: #EAF1F6; color: #0E2A47 }
.page-food .enable-ic.c5 { background: #FAEEE5; color: #D97742 }
.page-food .enable-ic.c6 { background: #E6F2EE; color: #2E8E8E }
.page-food .enable-t {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.page-food .enable-b {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.page-food .built-band { padding: 24px 32px 8px }
.page-food .built-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: #EAF0FA;
  border: 1px solid #D3DFF0;
  border-radius: 14px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 26px;
}
.page-food .built-col h3 {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 16px;
}
.page-food .models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
}
.page-food .model,
.page-food .eco,
.page-food .fund-item,
.page-food .impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-food .model { gap: 6px }
.page-food .model-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #D3DFF0;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-food .model-t {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  text-wrap: balance;
}

.page-food .eco-col {
  border-left: 1px solid #D3DFF0;
  padding-left: 24px;
}
.page-food .eco-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: flex-start;
}
.page-food .eco { gap: 6px }
.page-food .eco-ic {
  width: 42px;
  height: 42px;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-food .eco-t {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  text-wrap: balance;
}
.page-food .eco-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #D3DFF0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  text-wrap: pretty;
}

.page-food .impact-band { padding: 24px 32px 0 }
.page-food .impact-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 14px;
  padding: 26px 28px;
  color: #fff;
}
.page-food .impact-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.page-food .impact-head .rule {
  flex: 0 0 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3) 50%, transparent);
}
.page-food .impact-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
}
.page-food .impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.page-food .impact-item { padding: 0 4px }
.page-food .impact-ic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.page-food .impact-t {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.page-food .impact-b {
  font-size: 11px;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
  text-wrap: pretty;
}

.page-food .fund-band { padding: 32px 32px 56px }
.page-food .fund-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}
.page-food .fund-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.page-food .fund-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.page-food .fund-lede {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 16px;
  text-wrap: pretty;
}
.page-food .fund-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.page-food .fund-item { gap: 6px }
.page-food .fund-ic {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #EFF3FB;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-food .fund-t {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  text-wrap: balance;
}

.page-food .close-card {
  display: flex;
  align-items: center;
  gap: 18px;
}
.page-food .close-ic {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.page-food .close-text { flex: 1 }
.page-food .close-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  text-wrap: balance;
}
.page-food .close-sub {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.page-food .close-btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.page-food .close-btn:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

@media (max-width: 1280px) {
  .page-food .need-inner { grid-template-columns: 1fr 1fr }
  .page-food .need-stat { border-right: 0 }
  .page-food .need-cta {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 14px;
    border-top: 1px solid #D3DFF0;
  }
  .page-food .iaka { padding: 32px 32px 0 32px; }
  .page-food .enable-grid { grid-template-columns: repeat(3, 1fr) }
  .page-food .built-inner { grid-template-columns: 1fr }
  .page-food .eco-col {
    border-top: 1px solid #D3DFF0;
    padding-top: 18px;
  }
  .page-food .impact-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 14px }
  .page-food .fund-inner { grid-template-columns: 1fr; gap: 32px }
  .page-food .hero-strip { width: 48%; opacity: .85 }
}

@media (max-width: 800px) {
  .page-food .hero-strip { display: none }
  .page-food .enable-grid { grid-template-columns: repeat(2, 1fr) }
  .page-food .models-grid { grid-template-columns: repeat(2, 1fr) }
  .page-food .eco-grid { grid-template-columns: repeat(3, 1fr) }
  .page-food .iaka-inner { grid-template-columns: repeat(3, 1fr); }
  .page-food .impact-grid { grid-template-columns: repeat(2, 1fr) }
  .page-food .fund-grid { grid-template-columns: repeat(3, 1fr) }
  .page-food .approach-row { grid-template-columns: repeat(2, 1fr); }
  .page-food .close-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-food .iaka-inner { grid-template-columns: repeat(2, 1fr); }
  .page-food .hero-inner,
  .page-food .need-band,
  .page-food .enable-band,
  .page-food .built-band,
  .page-food .impact-band,
  .page-food .fund-band,
  .page-food .sec-head {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-food .hero-photo {
    background: url('assets/food/hero1.webp');
    background-size: cover;
    background-position: 71%;
  }
  .page-food .iaka-inner {
    grid-template-columns: 1fr;
  }
  .page-food .iaka-cell {
    margin-bottom: 10px;
  }
}

/* =====================================================
   DATA INSIGHTS PAGE (body.page-data-insights)
   ===================================================== */
.page-data-insights .hero.di {
  min-height: 460px;
  background: #dde6f1;
}
.page-data-insights .hero.di .hero-inner {
  padding: 56px 32px 60px;
  position: relative;
  z-index: 2;
}
.page-data-insights .hero.di h1 { max-width: 560px }
.page-data-insights .hero.di p.lede { max-width: 500px }
.page-data-insights .hero.di .hero-strip {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-data-insights .hero.di .hero-strip-tile {
  position: relative;
  overflow: hidden;
}
.page-data-insights .hero.di .hero-strip-tile::after {
  content: attr(data-caption);
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  color: rgba(255,255,255,.95);
  background: rgba(14,42,71,.55);
  padding: 3px 6px;
  border-radius: 3px;
  max-width: 88%;
}
.page-data-insights .hero.di .hero-strip-tile.t1 {
  background:
    linear-gradient(180deg, rgba(14,42,71,.05), rgba(14,42,71,.18)),
    repeating-linear-gradient(125deg, #2E73C9 0 14px, #1B4DB1 14px 28px);
}
.page-data-insights .hero.di .hero-strip-tile.t2 {
  background:
    linear-gradient(180deg, rgba(14,42,71,.05), rgba(14,42,71,.18)),
    repeating-linear-gradient(135deg, #5BA9DE 0 14px, #3F92D8 14px 28px);
}
.page-data-insights .hero.di .hero-strip-tile.t3 {
  background:
    linear-gradient(180deg, rgba(14,42,71,.05), rgba(14,42,71,.18)),
    repeating-linear-gradient(120deg, #2E8E8E 0 14px, #226F6F 14px 28px);
}
.page-data-insights .hero-photo {
   background:
    linear-gradient(95deg, var(--paper) 0%, rgba(251,250,247, 1) 43%, rgba(251,250,247, .92) 53%, rgba(251,250,247,0) 63%),
    url('assets/data/hero.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 15%;
}
.page-data-insights .btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: #fff;
  padding: 11.5px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, transform .15s ease;
}
.page-data-insights .btn-outline:hover {
  background: #EFF3FB;
  transform: translateY(-1px);
}
.page-data-insights .pillar-band { padding: 44px 32px 16px }
.page-data-insights .pillar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-data-insights .hp {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 22px;
  align-items: center;
}
.page-data-insights .hp-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #E6EEF8;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-data-insights .hp.green .hp-ic {
  background: #E6F1E8;
  color: #3F8A4A;
}
.page-data-insights .hp.purple .hp-ic {
  background: #EFEAF5;
  color: #7048A0;
}
.page-data-insights .hp-t {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  text-wrap: balance;
}
.page-data-insights .hp-b {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}
.page-data-insights .dta-band { padding: 16px 32px 16px }
.page-data-insights .dta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 18px;
}
.page-data-insights .dta-card {
  background: #F4F6FA;
  border: 1px solid #E0E6EF;
  border-radius: 14px;
  padding: 24px 22px;
}
.page-data-insights .dta-head {
  text-align: center;
  margin-bottom: 18px;
}
.page-data-insights .dta-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.page-data-insights .dta-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 auto;
  text-wrap: pretty;
}
.page-data-insights .steps {
  display: grid;
  grid-template-columns: 1fr 14px 1fr 14px 1fr 14px 1fr;
  gap: 6px;
  align-items: flex-start;
}
.page-data-insights .step {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  height: 100%;
}
.page-data-insights .step-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.page-data-insights .step.b .step-ic {
  background: #E6EEF8;
  color: var(--accent);
}
.page-data-insights .step.t .step-ic {
  background: #E0F0EE;
  color: #2E8E8E;
}
.page-data-insights .step.g .step-ic {
  background: #E6F1E8;
  color: #3F8A4A;
}
.page-data-insights .step.p .step-ic {
  background: #EFEAF5;
  color: #7048A0;
}
.page-data-insights .step-t {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.page-data-insights .step-b {
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
  text-wrap: pretty;
}
.page-data-insights .step-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 24px;
  color: #B6C2D4;
}
.page-data-insights .des-card {
  background: #EAF0FA;
  border: 1px solid #D3DFF0;
  border-radius: 14px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 18px;
  align-items: center;
}
.page-data-insights .des-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.page-data-insights .des-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-data-insights .des-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--navy);
  line-height: 1.45;
}
.page-data-insights .des-list svg {
  color: #3F8A4A;
  flex-shrink: 0;
  margin-top: 2px;
}
.page-data-insights .des-mon {
  width: 140px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-data-insights .cta-band-dark { padding: 8px 32px 56px }
.page-data-insights .cta-dark-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  color: #fff;
}
.page-data-insights .cta-dark-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-data-insights .cta-dark-text {
  flex: 1;
  min-width: 0;
}
.page-data-insights .cta-dark-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.page-data-insights .cta-dark-sub {
  font-size: 13px;
  color: rgba(255,255,255,.78);
  margin-top: 3px;
  line-height: 1.5;
}
.page-data-insights .cta-dark-btn {
  background: var(--accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .15s ease, background .15s ease;
  flex-shrink: 0;
}
.page-data-insights .cta-dark-btn:hover {
  transform: translateY(-1px);
  background: var(--accent-2);
}
@media (max-width: 1180px) {
  .page-data-insights .pillar-inner { grid-template-columns: 1fr }
  .page-data-insights .dta-inner { grid-template-columns: 1fr }
  .page-data-insights .steps { grid-template-columns: 1fr 1fr; gap: 10px }
  .page-data-insights .step-sep { display: none }
}
@media (max-width: 800px) {
  .page-data-insights .des-card { grid-template-columns: 1fr }
  .page-data-insights .cta-dark-inner { flex-direction: column; align-items: flex-start }
}
@media (max-width: 640px) {
  .page-data-insights .hero.di {
    min-height: 400px;
  }
  .page-data-insights .hero.di .hero-strip {
    position: relative;
    width: 100%;
    min-height: 180px;
    clip-path: none;
    margin-top: 8px;
  }
  .page-data-insights .hero-photo {
    background: url('assets/data/hero.webp');
    background-size: cover;
    background-position: 20%;
  }
  .page-data-insights .hero.di .hero-inner,
  .page-data-insights .pillar-band,
  .page-data-insights .dta-band,
  .page-data-insights .cta-band-dark {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =====================================================
   SITE FOOTER
   ===================================================== */
.site-footer {
  background: var(--bar-bg);
  color: var(--bar-fg);
  border-top: 1px solid var(--bar-border);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 32px;
  display: flex; align-items: center; gap: 32px;
}
nav.footer-nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto; flex-wrap: wrap; justify-content: flex-end;
}
nav.footer-nav a {
  font-size: 13px; font-weight: 500; color: var(--bar-fg);
  padding: 8px 12px; border-radius: 8px; opacity: .75;
  transition: background .15s ease, opacity .15s ease;
}
nav.footer-nav a:hover { background: var(--bar-hover); opacity: 1 }
.footer-bottom { border-top: 1px solid var(--bar-border) }
.footer-bottom-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 13px 32px;
  font-size: 12px; color: var(--bar-fg-muted);
  text-align: center;
}
@media (max-width: 1024px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px }
  nav.footer-nav { margin-left: 0; justify-content: flex-start }
  .footer-bottom-inner { padding: 12px 20px }
}
