:root {
  --teal-900: #0f2e2c;
  --teal-800: #143d3a;
  --teal-700: #1a5550;
  --teal-600: #1f7a70;
  --teal-500: #2a8f84;
  --teal-100: #dcebe7;
  --cream: #f7f3ec;
  --cream-2: #efe9de;
  --paper: #fffdf9;
  --ink: #1b2422;
  --muted: #5b6763;
  --line: #e2dbcf;
  --star: #e9c46a;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  --text-xs: clamp(.75rem, .72rem + .15vw, .8125rem);
  --text-sm: clamp(.875rem, .85rem + .12vw, .9375rem);
  --text-base: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.07rem + .3vw, 1.3rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem);
  --text-hero: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);

  --radius: 14px;
  --section: clamp(4rem, 8vw, 7.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--teal-600); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--paper); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- type ---------- */
.eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); margin-bottom: 1rem; }
.eyebrow--light { color: var(--star); }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.12; letter-spacing: -.01em; color: var(--teal-900); max-width: 20ch; text-wrap: balance; }
.h3 { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; color: var(--teal-900); }
.lede { color: var(--muted); max-width: 56ch; margin-top: 1rem; }
.prose p + p { margin-top: 1rem; }
.prose p { max-width: 62ch; }
.source { font-size: var(--text-xs); color: var(--muted); margin-top: 1.25rem !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .6rem 1.1rem; border-radius: 999px; font: 600 var(--text-sm)/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-600); color: #fff; }
.btn--primary:hover { background: var(--teal-700); }
.btn--ghost { border-color: var(--line); color: var(--teal-800); background: transparent; }
.btn--ghost:hover { border-color: var(--teal-600); color: var(--teal-600); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.22); }
.btn--lg { min-height: 52px; padding: .8rem 1.5rem; font-size: var(--text-base); }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,236,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,46,44,.4); }
.header__row { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--teal-600); }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--teal-900); letter-spacing: -.01em; }
.brand__name span { font-weight: 400; color: var(--teal-600); }
.brand--light, .brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: var(--teal-100); }
.brand--light .brand__mark { color: var(--star); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { font-size: var(--text-sm); font-weight: 500; color: var(--ink); text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--teal-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; gap: .6rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--teal-900); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: block; }
  .mobile-nav { display: grid; gap: .25rem; padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); background: var(--cream); }
  .mobile-nav.is-open { max-height: 480px; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); }
  .mobile-nav a:not(.btn) { padding: .8rem 0; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: .6rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--teal-900); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,32,30,.88) 0%, rgba(10,32,30,.62) 45%, rgba(10,32,30,.1) 80%), linear-gradient(0deg, rgba(10,32,30,.7) 0%, rgba(10,32,30,0) 45%); }
.hero__inner { position: relative; padding-block: clamp(5rem, 12vw, 8rem) clamp(3.5rem, 8vw, 6rem); }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-hero); line-height: 1.02; letter-spacing: -.02em; max-width: 15ch; text-wrap: balance; }
.hero__lede { margin-top: 1.5rem; max-width: 54ch; font-size: var(--text-base); color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- strip ---------- */
.strip { background: var(--teal-900); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__row > div { padding: 1.4rem 1.25rem; border-left: 1px solid rgba(255,255,255,.1); display: grid; gap: .2rem; }
.strip__row > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { font-size: var(--text-sm); font-weight: 600; }
.strip span { font-size: var(--text-xs); color: rgba(255,255,255,.65); }
@media (max-width: 820px) {
  .strip__row { grid-template-columns: 1fr 1fr; }
  .strip__row > div { padding: 1.1rem .75rem; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .strip__row > div:nth-child(-n+2) { border-top: 0; }
  .strip__row > div:nth-child(odd) { padding-left: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--teal-800); color: #fff; }
.section--dark .h2 { color: #fff; }
.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split--wide { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }

/* ---------- services ---------- */
.feature { display: grid; grid-template-columns: 7fr 5fr; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.feature__img { margin: 0; min-height: 320px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(1.5rem, 4vw, 3rem); }
.feature__body > p { color: var(--muted); margin-top: .5rem; }
.ticks { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--teal-600); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.ticks--small li { font-size: var(--text-sm); color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.card:hover { transform: translateY(-3px); border-color: var(--teal-500); }
.card__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--teal-500); margin-bottom: .75rem; }
.card p { color: var(--muted); font-size: var(--text-sm); margin-top: .5rem; }
@media (max-width: 1020px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; } .feature__img { min-height: 240px; aspect-ratio: 4/3; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* ---------- eligibility ---------- */
#eligibility .btn { margin-top: 1.75rem; }
.checklist { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.checklist__title { font-weight: 600; color: var(--teal-900); margin-bottom: 1.25rem; }
.checklist ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.checklist li { display: grid; grid-template-columns: 34px 1fr; gap: .9rem; align-items: start; }
.checklist li > span { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; font-weight: 600; font-size: var(--text-sm); }
.checklist li p { color: var(--muted); font-size: var(--text-sm); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 0 1.5rem 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: 22px; left: 52px; right: 12px; height: 1px; background: rgba(255,255,255,.2); }
.steps li:last-child::before { display: none; }
.steps__n { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--star); color: var(--star); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.25rem; }
.steps h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: .5rem; }
.steps p { color: rgba(255,255,255,.75); font-size: var(--text-sm); max-width: 32ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .steps li { padding: 0 0 0 64px; }
  .steps__n { position: absolute; left: 0; top: -4px; margin: 0; }
  .steps li::before { top: 48px; bottom: -28px; left: 22px; right: auto; width: 1px; height: auto; }
}

/* ---------- bleed ---------- */
.bleed { position: relative; min-height: clamp(380px, 55vw, 620px); display: flex; align-items: flex-end; overflow: hidden; background: var(--teal-900); }
.bleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.bleed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,32,30,.85) 0%, rgba(10,32,30,.15) 60%); }
.bleed__quote { position: relative; z-index: 1; padding-block: 3rem; }
.bleed blockquote { margin: 0; max-width: 34ch; }
.bleed blockquote p { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.25; color: #fff; }

/* ---------- team ---------- */
.team-top { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.team-top__img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.team-top__img img { width: 100%; height: 100%; object-fit: cover; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.person { display: grid; gap: 1rem; align-content: start; padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.person__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--teal-700); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; }
.person h3 { font-size: var(--text-base); font-weight: 600; color: var(--teal-900); }
.person__role { font-size: var(--text-xs); color: var(--teal-600); font-weight: 600; margin: .2rem 0 .5rem; }
.person p:last-child { font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 1020px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .team-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .people { grid-template-columns: 1fr; } }

/* ---------- referral ---------- */
.referral { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.referral__intro { position: sticky; top: 100px; }
.contact-details { display: grid; justify-items: start; gap: 1rem; margin-block: 1.5rem; }
.contact-details address { font-style: normal; line-height: 1.7; }
.footer__contact { margin-top: 1rem; font-style: normal; line-height: 1.8; }
.footer__contact a { color: var(--star); font-weight: 600; text-underline-offset: .2em; }
.crisis { margin-top: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--star); background: var(--paper); border-radius: 0 10px 10px 0; font-size: var(--text-sm); }
.crisis p { color: var(--muted); margin-top: .25rem; }
.crisis a { font-weight: 600; }
.form, .success { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 4vw, 2.5rem); display: grid; gap: 1.1rem; box-shadow: 0 24px 50px -40px rgba(15,46,44,.5); }
.form__group { border: 0; padding: 0; margin: 0; }
.form__group legend { font-size: var(--text-sm); font-weight: 600; margin-bottom: .7rem; color: var(--teal-900); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: var(--text-sm); font-weight: 500; transition: all .2s var(--ease); }
.chip input:checked + span { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--teal-500); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field > span { font-size: var(--text-sm); font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .85rem; min-height: 46px; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; }
.field.is-invalid input { border-color: #b3452f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: #9c3a26; font-size: var(--text-sm); background: #fbeee9; padding: .7rem .9rem; border-radius: 8px; }
.form__fine { font-size: var(--text-xs); color: var(--muted); text-align: center; }
.btn[disabled] { opacity: .65; cursor: progress; }
.success { text-align: center; justify-items: center; padding-block: 3.5rem; }
.success svg { width: 44px; height: 44px; color: var(--teal-600); }
.success p { color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) { .referral { grid-template-columns: 1fr; } .referral__intro { position: static; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 4rem); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 600; color: var(--teal-900); position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--teal-600); border-bottom: 2px solid var(--teal-600); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__list details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--teal-900); color: rgba(255,255,255,.75); padding-top: clamp(3rem, 6vw, 5rem); font-size: var(--text-sm); }
.footer__row { display: grid; grid-template-columns: 4fr 8fr; gap: 3rem; padding-bottom: 3rem; }
.footer__brand p { margin-top: 1rem; max-width: 32ch; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer h4 { color: #fff; font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__cols a { display: block; color: rgba(255,255,255,.75); text-decoration: none; padding: .25rem 0; }
.footer__cols a:hover { color: #fff; }
.footer__cols p a { display: inline; color: var(--star); font-weight: 600; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--text-xs); color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .footer__row { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
[hidden] { display: none !important; }
