/* The Word of Life · Grant Services
   Structure follows the framed "sheet" layout: tinted gutters, centered hero with a
   highlighted word, framed photo strip, dark story panel, three-card services, bento,
   big-number panel, carousel. Palette is the Word of Life palette. */
:root {
  --outer: #C7D9F2;
  --bg: #EEF4FC;
  --card: #FFFFFF;
  --navy: #00113D;
  --navy-2: #000B29;
  --blue: #417FCE;
  --blue-d: #2F66AE;
  --sky: #79ADEE;
  --sky-2: #B9D3F5;
  --sky-3: #DCE9FA;
  --pop: #FF3200;
  --ink: #00113D;
  --ink-soft: #4D5670;
  --line: rgba(0, 17, 61, .12);
  --offset: #000B29;
  --ghost: #DCE9FA;
  --font: "Poppins", system-ui, sans-serif;
  --script: "Caveat", cursive;
  --r-sm: 0.625rem; --r-md: 1rem; --r-lg: 1.375rem; --r-xl: 1.75rem;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --section: clamp(3.5rem, 7vw, 6rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --outer: #02061A; --bg: #0A1230; --card: #131E45; --navy: #16265A; --navy-2: #050B22;
  --blue: #5B93DC; --blue-d: #417FCE; --sky: #79ADEE; --sky-2: #2A4A8A; --sky-3: #1A2A5C;
  --ink: #FFFFFF; --ink-soft: #B8C1D6; --line: rgba(255,255,255,.14); --offset: #2A4A8A; --ghost: #24387A; color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --outer: #02061A; --bg: #0A1230; --card: #131E45; --navy: #16265A; --navy-2: #050B22;
  --blue: #5B93DC; --blue-d: #417FCE; --sky: #79ADEE; --sky-2: #2A4A8A; --sky-3: #1A2A5C;
  --ink: #FFFFFF; --ink-soft: #B8C1D6; --line: rgba(255,255,255,.14); --offset: #2A4A8A; --ghost: #24387A; color-scheme: dark;
} }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: clamp(16px, calc(16px + (100vw - 1280px) * 0.00625), 26px); }
body { margin: 0; font-family: var(--font); font-size: .72rem; line-height: 1.65; color: var(--ink-soft); background: var(--outer); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--pop); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; left: 8px; top: 8px; z-index: 300; transform: translateY(-300%); opacity: 0; pointer-events: none; font-size: 0.765rem; padding: 0.625rem 0.875rem; background: var(--navy); color: #fff; border-radius: 8px; }
.skip-link:focus-visible { transform: none; opacity: 1; pointer-events: auto; }
.sheet { max-width: none; margin: 0; background: var(--bg); min-height: 100vh; overflow-x: clip; }
.wrap { width: 100%; max-width: 82rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(2.25rem, 5vw, 4rem) 0; }
.muted { color: var(--ink-soft); }
.script { font-family: var(--script); font-weight: 700; letter-spacing: 0; color: var(--blue); font-size: 1.12em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(1rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Top bar */
.org-bar { background: var(--navy-2); color: rgba(255,255,255,.85); font-size: 0.702rem; }
.org-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.125rem; }
.org-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 640px) { .org-bar-label { display: none; } .org-bar-inner { justify-content: center; } }

/* Buttons: pill with a circle arrow */
.btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 6px 6px 6px 1.25rem; min-height: 2.75rem; border-radius: 62.4375rem; font-weight: 500; font-size: 0.81rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .25s var(--ease), background .2s, box-shadow .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-ico { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; flex-shrink: 0; transition: transform .25s var(--ease); }
.btn-ico svg { width: 0.9375rem; height: 0.9375rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-ico { transform: translateX(2px); }
.btn-solid { background: var(--blue); color: #fff; box-shadow: 0 0.625rem 1.5rem -12px rgba(65,127,206,.9); }
.btn-solid .btn-ico { background: var(--pop); color: #fff; }
.btn-solid:hover { background: var(--blue-d); }
.btn-white { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-white .btn-ico { background: var(--blue); color: #fff; }
.btn-plain { padding: 0 1.375rem; }

/* Tag pill */
.tag { display: inline-block; padding: 5px 0.75rem; border-radius: 8px 8px 8px 2px; background: var(--sky-2); color: var(--navy-2); font-size: 0.63rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
:root[data-theme="dark"] .tag { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag { color: #fff; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(0.75rem); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 0.75rem 1.875rem -24px rgba(0,17,61,.5); }
.nav-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.brand img { width: 2.125rem; height: 2.125rem; }
.brand-name { display: grid; line-height: 1.15; }
.brand-name strong { font-size: 0.855rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.brand-name span { font-size: 0.612rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 0.75rem; border-radius: 62.4375rem; font-size: 0.765rem; color: var(--ink); }
.nav-links a:hover { background: var(--sky-3); }
.nav-links a[aria-current="page"] { background: var(--sky-3); font-weight: 600; }
.nav-tools { display: flex; justify-content: flex-end; align-items: center; gap: 0.625rem; }
.theme-toggle { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; position: relative; }
.theme-toggle svg { width: 1.0625rem; height: 1.0625rem; position: absolute; transition: opacity .3s, transform .4s var(--ease); }
.theme-toggle .ico-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .ico-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .theme-toggle .ico-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .ico-sun { opacity: 1; transform: none; } :root:not([data-theme="light"]) .theme-toggle .ico-moon { opacity: 0; } }
.nav-toggle { display: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 1rem; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
.nav-mobile-only { display: none; }
@media (max-width: 900px) {
  .nav-bar { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-flex; }
  .nav-desktop-only { display: none; }
  .nav-mobile-only { display: block; margin-top: 0.625rem; }
  nav#nav { position: absolute; left: 0; right: 0; top: 100%; }
  .nav-links { flex-direction: column; gap: 2px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 0.75rem var(--gutter) 1.25rem; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); box-shadow: 0 1.875rem 2.5rem -30px rgba(0,17,61,.4); }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 0.75rem 0.875rem; font-size: 0.9rem; border-radius: 0.75rem; }
  .nav-links .btn { justify-content: space-between; }
}

/* Hero */
.hero { text-align: center; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.25rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 22ch; margin: 0 auto 1.125rem; letter-spacing: -0.045em; line-height: 1.06; }
.hero--page h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); max-width: 24ch; }
.hero-lead { max-width: 52ch; margin: 0 auto 1.5rem; font-size: clamp(.8rem, .9vw, .88rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.625rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.hl { position: relative; display: inline-block; padding: 0 .14em; margin: 0 .04em; background: var(--sky-3); border-left: 2px solid var(--blue); border-right: 2px solid var(--blue); color: var(--ink); }
.hl::before, .hl::after { content: ""; position: absolute; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--blue); }
.hl::before { left: -6px; top: -7px; } .hl::after { right: -6px; bottom: -7px; }
.strip { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 6px; padding: 8px; background: var(--sky); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--offset); }
.strip img { width: 100%; height: clamp(9.375rem, 22vw, 15.625rem); object-fit: cover; border-radius: 0.875rem; }
.hero--page .strip img { height: clamp(8.125rem, 17vw, 12.5rem); }
@media (max-width: 640px) { .strip { grid-template-columns: 1fr 1fr; } .strip img:first-child { grid-column: 1 / -1; } .strip { box-shadow: 5px 5px 0 var(--navy-2); } }

/* Logo row */
.logos-row { text-align: center; padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 4rem); }
.logos-row p { font-size: 0.855rem; color: var(--ink); margin-bottom: 1.125rem; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.logo-slot { display: grid; place-items: center; min-width: 8.125rem; height: 2.875rem; padding: 0 1rem; border: 1px dashed var(--line); border-radius: 0.75rem; font-size: 0.666rem; color: var(--ink-soft); background: color-mix(in srgb, var(--card) 60%, transparent); }

/* Section heads */
.head { text-align: center; max-width: 40rem; margin: 0 auto clamp(1.75rem, 4vw, 2.75rem); }
.head h2, .h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: 0.75rem; }
.head p { margin: 0 auto; max-width: 54ch; }

/* Dark story panel */
.story { background: var(--navy); color: rgba(255,255,255,.82); border-radius: var(--r-xl); padding: clamp(1.75rem, 5vw, 3.5rem); margin: 0 clamp(8px, 1.4vw, 1.125rem); }
.story h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.story-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.story-top p { font-size: 0.828rem; }
.story-bottom { display: grid; grid-template-columns: 1fr 11.875rem; gap: 1rem; align-items: stretch; }
.story-photo { width: 100%; height: 100%; min-height: 16.25rem; max-height: 23.75rem; object-fit: cover; border-radius: var(--r-lg); }
.statcol { display: grid; gap: 8px; padding: 8px; background: var(--sky); border-radius: var(--r-lg); box-shadow: 6px 6px 0 var(--navy-2); }
.statcol li { list-style: none; display: grid; place-content: center; text-align: center; gap: 2px; background: #fff; border-radius: 0.875rem; padding: 1rem 0.625rem; }
.statcol strong { font-size: 1.7rem; font-weight: 500; letter-spacing: -0.04em; color: #00113D; line-height: 1; }
.statcol span { font-size: 0.648rem; color: #4D5670; line-height: 1.35; }
ul.statcol { margin: 0; }
@media (max-width: 800px) { .story-top { grid-template-columns: 1fr; } .story-bottom { grid-template-columns: 1fr; } .statcol { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 440px) { .statcol { grid-template-columns: 1fr; } }

/* What we do cards */
.wcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.875rem; }
.wcard { display: flex; flex-direction: column; gap: 0.875rem; padding: 1rem; background: var(--card); border-radius: var(--r-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.wcard:hover { transform: translateY(-5px); box-shadow: 0 1.875rem 3.125rem -34px rgba(0,17,61,.5); }
.wcard-top { display: grid; grid-template-columns: 1fr auto; gap: 0.625rem; align-items: start; padding: 4px 4px 0; }
.wcard h3 { font-size: 0.918rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.wcard p { margin: 0; font-size: 0.738rem; line-height: 1.55; }
.wcard img { width: 100%; height: 11.875rem; object-fit: cover; border-radius: 0.875rem; margin-top: auto; }
.arrow { display: inline-grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--pop); color: #fff; flex-shrink: 0; }
.arrow svg { width: 0.8125rem; height: 0.8125rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wcard--accent { background: var(--sky); }
.wcard--accent h3, .wcard--accent p { color: #00113D; }
.wcard--accent img { order: -1; margin-top: 0; height: 13.125rem; }
.wcard--accent .arrow { background: #fff; color: #00113D; }
.more { text-align: center; margin-top: clamp(1.375rem, 3vw, 2rem); }
@media (max-width: 860px) { .wcards { grid-template-columns: 1fr; } .wcard img, .wcard--accent img { height: 13.75rem; } }

/* Bento */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.bento-col { display: grid; gap: 0.75rem; align-content: start; }
.bcard { border-radius: var(--r-lg); padding: clamp(1.375rem, 3vw, 2.125rem); }
.b-stat { background: var(--blue); color: #fff; text-align: center; display: grid; place-content: center; min-height: 10.625rem; }
.b-stat small { font-size: 0.81rem; }
.b-stat strong { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--sky-2); }
.b-photo { padding: 0; overflow: hidden; min-height: 26.25rem; }
.b-photo img { width: 100%; height: 100%; object-fit: cover; }
.b-pills { background: var(--navy-2); display: grid; justify-items: center; gap: 1rem; padding: clamp(1.75rem, 4vw, 2.75rem) 1rem; }
.pill { display: inline-block; padding: 0.625rem 1.625rem; border-radius: 62.4375rem; font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 600; letter-spacing: -0.03em; }
.pill:nth-child(1) { background: var(--sky); color: #00113D; transform: rotate(6deg) translateX(1.125rem); }
.pill:nth-child(2) { background: var(--blue); color: #fff; transform: rotate(-3deg) translateX(-26px); }
.pill:nth-child(3) { background: #F1F6FD; color: var(--blue-d); transform: rotate(4deg) translateX(1.875rem); }
.pill:nth-child(4) { background: var(--pop); color: #fff; transform: rotate(-4deg) translateX(-8px); }
.pill:nth-child(5) { background: var(--sky-2); color: #00113D; transform: rotate(3deg) translateX(1.375rem); }
.b-pills .brand { margin-top: 0.625rem; }
.b-pills .brand-name strong { color: #fff; }
.b-cta { background: var(--navy); text-align: center; display: grid; justify-items: center; gap: 4px; }
.b-cta h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; color: var(--sky); }
.b-cta h3 span { display: block; color: #fff; }
.b-cta .btn { margin-top: 0.875rem; }
.b-logo { background: var(--sky-3); display: grid; place-items: center; min-height: 8.125rem; }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .b-photo { min-height: 20rem; } }

/* Numbers panel */
.numbers { background: var(--card); border-radius: var(--r-xl); padding: clamp(1.75rem, 5vw, 3.5rem); margin: 0 clamp(8px, 1.4vw, 1.125rem); }
.numbers-top { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.numbers-top h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; }
.numbers-top p { margin: 0; }
.ghosts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ghosts li { position: relative; display: grid; place-items: center; min-height: 7.5rem; border-left: 1px solid var(--sky); }
.ghosts li:first-child { border-left: 0; }
.ghosts strong { font-size: clamp(3.4rem, 9vw, 6.4rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; color: var(--ghost); }
.ghosts span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 0.855rem; font-weight: 500; color: var(--ink); line-height: 1.25; padding: 0 0.75rem; }
@media (max-width: 640px) { .ghosts { grid-template-columns: 1fr; } .ghosts li { border-left: 0; border-top: 1px solid var(--sky); } .ghosts li:first-child { border-top: 0; } }

/* Carousel */
.carousel { position: relative; overflow: hidden; padding: 6px 0 0.875rem; }
.car-track { display: flex; gap: 1.125rem; transition: transform .6s var(--ease); will-change: transform; }
.car-card { flex: 0 0 min(35rem, 78vw); background: var(--card); border-radius: var(--r-lg); padding: clamp(1.625rem, 4vw, 2.75rem); text-align: center; opacity: .45; transform: scale(.94); transition: opacity .5s, transform .5s var(--ease), box-shadow .5s; display: grid; gap: 1.125rem; align-content: center; min-height: 15.625rem; }
.car-card.is-active { opacity: 1; transform: none; box-shadow: 8px 8px 0 var(--offset); }
.car-card blockquote { margin: 0; font-size: clamp(1.02rem, 1.8vw, 1.3rem); line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; }
.car-card cite { font-style: normal; display: grid; gap: 2px; justify-items: center; font-size: 0.72rem; }
.car-card cite b { color: var(--ink); font-weight: 600; font-size: 0.81rem; }
.car-dot { display: inline-grid; place-items: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--sky-3); color: var(--blue-d); font-weight: 600; font-size: 0.72rem; }
.car-nav { display: flex; justify-content: center; gap: 0.625rem; margin-top: 1.375rem; }
.car-btn { display: inline-grid; place-items: center; width: 2.625rem; height: 2.625rem; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: transform .2s; }
.car-btn:hover { transform: scale(1.06); }
.car-btn--next { background: var(--pop); border-color: var(--pop); color: #fff; }
.car-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.0625rem 0; font-weight: 500; color: var(--ink); font-size: 0.882rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--sky-3); color: var(--blue-d); font-size: 0.99rem; flex-shrink: 0; transition: transform .3s var(--ease), background .2s, color .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--pop); color: #fff; }
.faq2-answer { padding: 0 0 1.125rem; }
.faq2-answer p { margin: 0; line-height: 1.7; }
.faq2-answer .ch { display: inline-block; opacity: 0; filter: blur(0.625rem); animation: blurin .3s ease forwards; }
@keyframes blurin { to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .faq2-answer .ch { animation: none; opacity: 1; filter: none; } }
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; } }

/* CTA panel */
.cta { background: var(--navy); border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.75rem); margin: 0 clamp(8px, 1.4vw, 1.125rem); text-align: center; color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 23.75rem; height: 23.75rem; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(121,173,238,.35), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 20ch; margin: 0 auto 0.75rem; }
.cta p { max-width: 54ch; margin: 0 auto 1.5rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.625rem; }

/* Footer */
.site-footer { margin-top: var(--section); background: var(--navy-2); color: rgba(255,255,255,.72); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.75rem; font-size: 0.792rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); margin-bottom: 2.25rem; }
.footer-top > * { min-width: 0; }
.site-footer .brand-name strong { color: #fff; }
.site-footer .brand-name span { color: var(--sky); }
.site-footer p { margin: 0.875rem 0 0; max-width: 40ch; }
.site-footer h4 { color: #fff; font-size: 0.648rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.875rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.625rem; padding-top: 1.375rem; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.72rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 0 2px; justify-content: safe center; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; padding: 8px 0.875rem; border-radius: 62.4375rem; background: var(--card); border: 1px solid var(--line); font-size: 0.72rem; font-weight: 500; color: var(--ink); }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.rows { display: grid; gap: 0.875rem; }
.row { display: grid; grid-template-columns: 18.75rem 1fr; gap: clamp(1.125rem, 3vw, 2.25rem); background: var(--card); border-radius: var(--r-lg); padding: 1rem; scroll-margin-top: 5.625rem; }
.row:nth-child(even) { grid-template-columns: 1fr 18.75rem; }
.row:nth-child(even) .row-img { order: 2; }
.row-img { width: 100%; height: 100%; min-height: 15rem; object-fit: cover; border-radius: 0.875rem; }
.row-copy { padding: clamp(6px, 1.5vw, 1.125rem) clamp(4px, 1vw, 0.75rem); display: grid; gap: 0.75rem; align-content: start; }
.row-copy h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.row-copy > p { margin: 0; }
.row-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; }
.box { background: var(--bg); border-radius: 0.875rem; padding: 1rem 1.125rem; }
.box--dark { background: var(--navy); color: rgba(255,255,255,.85); display: grid; gap: 0.75rem; align-content: start; }
.box h3 { font-size: 0.666rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin-bottom: 0.625rem; }
.box--dark h3 { color: var(--sky); margin: 0; }
.box--dark p { margin: 0; font-size: 0.774rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ticks li { position: relative; padding-left: 1.375rem; font-size: 0.774rem; line-height: 1.5; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 6px; width: 0.625rem; height: 6px; border-left: 2px solid var(--pop); border-bottom: 2px solid var(--pop); transform: rotate(-45deg); }
@media (max-width: 860px) { .row, .row:nth-child(even) { grid-template-columns: 1fr; } .row:nth-child(even) .row-img { order: 0; } .row-img { max-height: 16.25rem; } }
@media (max-width: 560px) { .row-cols { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11.875rem, 1fr)); gap: 0.75rem; }
.step { background: var(--card); border-radius: var(--r-lg); padding: 1.375rem 1.25rem; }
.step-n { display: inline-grid; place-items: center; width: 2.125rem; height: 2.125rem; border-radius: 50%; background: var(--pop); color: #fff; font-weight: 600; font-size: 0.792rem; margin-bottom: 0.875rem; }
.step h3 { font-size: 0.9rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.765rem; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 960px) { .grid3, .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3, .grid4 { grid-template-columns: 1fr; } }
.tile { background: var(--card); border-radius: var(--r-lg); padding: 1.375rem 1.25rem; display: grid; gap: 8px; align-content: start; justify-items: start; }
.tile h3 { font-size: 0.9rem; letter-spacing: -0.02em; }
.tile p { margin: 0; font-size: 0.774rem; }
.tile > a { font-weight: 600; font-size: 0.756rem; color: var(--blue); }
.tile > a::after { content: " \2192"; }
.ico { display: inline-grid; place-items: center; width: 2.375rem; height: 2.375rem; border-radius: 0.75rem; background: var(--sky-3); color: var(--blue-d); }
.ico svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.is-placeholder { border: 1px dashed var(--sky); background: color-mix(in srgb, var(--card) 55%, transparent); }
.metric strong { font-size: 2.2rem; font-weight: 500; letter-spacing: -0.04em; color: var(--ink-soft); line-height: 1; }
.metric span { color: var(--ink); font-size: 0.81rem; }
.metric em { font-style: normal; font-size: 0.63rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.case .tag { margin-bottom: 4px; }
.case dl { margin: 6px 0 0; display: grid; gap: 0.625rem; }
.case dt { font-size: 0.63rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.case dd { margin: 0; font-size: 0.765rem; }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 0.774rem; }
.grant-table { min-width: 47.5rem; }
th { text-align: left; font-size: 0.612rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding: 0.875rem 1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 0.8125rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr.ph td { color: var(--ink-soft); font-style: italic; }
.pillst { display: inline-block; padding: 3px 0.625rem; border-radius: 62.4375rem; font-size: 0.612rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: var(--sky-3); color: var(--blue-d); }
.pillst--ask { background: rgba(255,50,0,.12); color: var(--pop); }
.link-btn { display: inline-block; padding: 5px 0.75rem; border-radius: 62.4375rem; border: 1px solid var(--line); font-size: 0.702rem; font-weight: 600; color: var(--blue); }
.link-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.promises li { display: grid; grid-template-columns: 2.375rem 1fr; gap: 0.875rem; background: var(--card); border-radius: var(--r-md); padding: 1rem; }
.promises b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.promises span:not(.ico) { font-size: 0.774rem; }
.details { margin: 0; display: grid; }
.details div { display: grid; grid-template-columns: 6.25rem 1fr; gap: 0.75rem; padding: 0.625rem 0; border-top: 1px solid var(--line); }
.details div:first-child { border-top: 0; }
.details dt { font-size: 0.612rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }
.details dd { margin: 0; color: var(--ink); font-size: 0.792rem; min-width: 0; overflow-wrap: anywhere; }
.details a { color: var(--blue); }
.panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.375rem, 3vw, 2.125rem); }
.panel h3 { font-size: 0.945rem; margin-bottom: 0.625rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; position: relative; display: grid; gap: 1.125rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--sky-2); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -24px; top: 5px; width: 0.875rem; height: 0.875rem; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg); }
.timeline li.now::before { background: var(--pop); }
.timeline b { font-size: 0.63rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.timeline h3 { font-size: 0.9rem; letter-spacing: -0.02em; margin: 2px 0; }
.timeline p { margin: 0; font-size: 0.774rem; }

/* Form */
.form { display: grid; gap: 0.875rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.72rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 0.75rem; padding: 0.75rem 0.875rem; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-note { font-size: 0.72rem; margin: 0; }
.form-status { display: none; padding: 0.75rem 0.875rem; border-radius: 0.75rem; background: var(--sky-3); color: var(--ink); font-weight: 500; margin: 0; }
.form-status.is-visible { display: block; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.side { display: grid; gap: 0.75rem; align-content: start; }
.side .tile a:not(.link-btn) { color: var(--ink); overflow-wrap: anywhere; }

/* grid children that should hug their content */
.tag, .box--dark .btn, .tile .link-btn, .panel .tag { justify-self: start; }
.row-copy .tag { width: fit-content; }

/* Full-width layout: no side gutters; large panels align with the content width */
body { background: var(--bg); }
.story, .numbers, .cta { max-width: calc(82rem - 2 * var(--gutter) + 3rem); margin-inline: auto; width: calc(100% - 2 * var(--gutter) + 1.5rem); }
.site-footer { border-radius: 0; }
.hero h1 { max-width: 24ch; }
.strip img { height: clamp(10rem, 24vw, 22rem); }
.hero--page .strip img { height: clamp(8.5rem, 18vw, 16rem); }

/* ---------- Menu icons and services dropdown ---------- */
.mi { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 0.55rem; background: var(--sky-3); color: var(--blue-d); flex-shrink: 0; transition: background .25s, color .25s, transform .3s var(--ease); }
.mi svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 60%; }
:root[data-theme="dark"] .mi { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mi { color: #fff; } }
.nav-links > li > a { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem 0.35rem 0.4rem; }
.nav-links a:hover .mi, .nav-links a:focus-visible .mi, .nav-links > li > a[aria-current="page"] .mi { background: var(--pop); color: #fff; transform: scale(1.06); }
.nav-links .has-sub { position: relative; display: flex; align-items: center; }
.nav-links .has-sub > a { padding-right: 0.25rem; }
.sub-toggle { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-right: 0.2rem; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.sub-toggle:hover { background: var(--sky-3); }
.sub-toggle svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.has-sub.is-open > .sub-toggle, .has-sub:hover > .sub-toggle { transform: rotate(180deg); }
.nav-links .sub { position: absolute; top: calc(100% + 0.5rem); left: 0; z-index: 60; min-width: 17.5rem; list-style: none; margin: 0; padding: 0.5rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 1.5rem 3rem -1.5rem rgba(0,17,61,.4); opacity: 0; transform: translateY(-0.4rem); pointer-events: none; transition: opacity .2s, transform .25s var(--ease); display: grid; gap: 2px; }
.nav-links .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -0.6rem; height: 0.6rem; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; transform: none; pointer-events: auto; }
.nav-links .sub a { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.7rem; border-radius: 0.7rem; font-size: 0.765rem; font-weight: 500; color: var(--ink); }
.nav-links .sub a:hover { background: var(--sky-3); }
.nav-links .sub a.sub-all { font-weight: 600; color: var(--blue-d); border-bottom: 1px solid var(--line); border-radius: 0.7rem 0.7rem 0 0; margin-bottom: 2px; }
:root[data-theme="dark"] .nav-links .sub a.sub-all { color: var(--sky); }
@media (max-width: 900px) {
  .nav-links > li > a { padding: 0.7rem 0.75rem; gap: 0.75rem; }
  .mi { width: 2rem; height: 2rem; }
  .nav-links .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .nav-links .has-sub > a { flex: 1; }
  .sub-toggle { width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); margin: 0; }
  .nav-links .sub { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--sky-2); border-radius: 0; margin: 0 0 0.4rem 1rem; padding: 0 0 0 0.5rem; opacity: 1; transform: none; pointer-events: auto; display: none; background: transparent; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: grid; }
  .has-sub:hover > .sub-toggle { transform: none; }
  .has-sub.is-open > .sub-toggle { transform: rotate(180deg); }
  .nav-links { max-height: calc(100dvh - 6.5rem); overflow-y: auto; overscroll-behavior: contain; }
}

@keyframes mi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.2rem) rotate(-6deg); } }
@keyframes mi-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes mi-sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-14deg); } 70% { transform: rotate(12deg); } }
@keyframes mi-turn { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(90deg); } }
@keyframes mi-hop { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-0.22rem); } 60% { transform: translateY(0.05rem); } }
@keyframes mi-write { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(0.12rem, -0.06rem) rotate(-8deg); } 50% { transform: translate(-0.08rem, 0.06rem) rotate(4deg); } 75% { transform: translate(0.1rem, 0) rotate(-5deg); } }
@keyframes mi-grow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.25); } }
a:hover > .mi--float svg, a:focus-visible > .mi--float svg { animation: mi-float 1s ease-in-out infinite; }
a:hover > .mi--pulse svg, a:focus-visible > .mi--pulse svg { animation: mi-pulse .9s ease-in-out infinite; }
a:hover > .mi--sway svg, a:focus-visible > .mi--sway svg { animation: mi-sway .9s ease-in-out infinite; }
a:hover > .mi--turn svg, a:focus-visible > .mi--turn svg { animation: mi-turn .9s var(--ease) infinite; transform-origin: 50% 50%; }
a:hover > .mi--hop svg, a:focus-visible > .mi--hop svg { animation: mi-hop .8s ease-in-out infinite; }
a:hover > .mi--write svg, a:focus-visible > .mi--write svg { animation: mi-write .8s ease-in-out infinite; }
a:hover > .mi--grow svg, a:focus-visible > .mi--grow svg { animation: mi-grow .8s ease-in-out infinite; transform-origin: 50% 100%; }

@keyframes mi-in { from { opacity: 0; transform: translateY(0.4rem); } to { opacity: 1; transform: none; } }
@keyframes mi-pop { 0% { transform: scale(.4) rotate(-20deg); } 70% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
.has-sub:hover > .sub > li, .has-sub:focus-within > .sub > li, .has-sub.is-open > .sub > li { animation: mi-in .35s var(--ease) both; }
.has-sub:hover > .sub > li .mi, .has-sub:focus-within > .sub > li .mi, .has-sub.is-open > .sub > li .mi { animation: mi-pop .45s var(--ease) both; }
.sub > li:nth-child(1), .sub > li:nth-child(1) .mi { animation-delay: .02s; }
.sub > li:nth-child(2), .sub > li:nth-child(2) .mi { animation-delay: .06s; }
.sub > li:nth-child(3), .sub > li:nth-child(3) .mi { animation-delay: .10s; }
.sub > li:nth-child(4), .sub > li:nth-child(4) .mi { animation-delay: .14s; }
.sub > li:nth-child(5), .sub > li:nth-child(5) .mi { animation-delay: .18s; }
.sub > li:nth-child(6), .sub > li:nth-child(6) .mi { animation-delay: .22s; }
.sub > li:nth-child(7), .sub > li:nth-child(7) .mi { animation-delay: .26s; }
@media (max-width: 900px) {
  .nav-open .nav-links > li { animation: mi-in .4s var(--ease) both; }
  .nav-open .nav-links > li > a > .mi { animation: mi-pop .5s var(--ease) both; }
  .nav-open .nav-links > li:nth-child(1), .nav-open .nav-links > li:nth-child(1) > a > .mi { animation-delay: .03s; }
  .nav-open .nav-links > li:nth-child(2), .nav-open .nav-links > li:nth-child(2) > a > .mi { animation-delay: .08s; }
  .nav-open .nav-links > li:nth-child(3), .nav-open .nav-links > li:nth-child(3) > a > .mi { animation-delay: .13s; }
  .nav-open .nav-links > li:nth-child(4), .nav-open .nav-links > li:nth-child(4) > a > .mi { animation-delay: .18s; }
  .nav-open .nav-links > li:nth-child(5) { animation-delay: .23s; }
}
@media (prefers-reduced-motion: reduce) { .mi svg, .sub > li, .sub > li .mi, .nav-open .nav-links > li, .nav-open .nav-links > li .mi { animation: none !important; } }

/* ---------- Logo lockup ---------- */
.brand img { width: 2rem; height: auto; aspect-ratio: 680 / 800; }
.brand-name strong { font-family: "Quicksand", var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: 0.792rem; color: #02234D; }
:root[data-theme="dark"] .brand-name strong, .site-footer .brand-name strong, .b-pills .brand-name strong { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-name strong { color: #fff; } }
.b-logo .brand-name strong { color: #02234D; }
.b-logo .brand img { width: 2.6rem; }
