@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,500;6..72,600&family=Public+Sans:wght@400;500;600&display=swap');

:root {
  --paper: #f6f3ec;
  --ink: #1c2822;
  --muted: #5c6b62;
  --hairline: #e3ddd2;
  --evergreen: #1b4332;
  --evergreen-deep: #143528;
  --mint: #e7f2ec;
  --white: #fff;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --heading: "Newsreader", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --body: "Public Sans", "Segoe UI", sans-serif;
  --page-pad: clamp(28px, 5vw, 64px);
  --max: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-padding-top: 88px; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand {
  font-family: var(--heading);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--evergreen);
}
h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
}
h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  color: var(--evergreen);
}
h3 { font-size: 22px; line-height: 1.25; color: var(--evergreen); }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; }
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img { max-width: 100%; display: block; }
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
::selection { background: var(--mint); color: var(--ink); }
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
a, button, summary {
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out);
}
a:active, button:active, summary:active { transform: scale(0.97); }

.container {
  width: min(var(--max), calc(100% - 2 * var(--page-pad)));
  margin-inline: auto;
}
.eyebrow {
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6b7f72;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--evergreen);
  border-radius: 2px;
  background: var(--evergreen);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.button.outline {
  background: transparent;
  color: var(--evergreen);
}
.plain-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  color: var(--evergreen);
  font-size: 15px;
  font-weight: 500;
}
.prototype-note {
  max-width: 40ch;
  margin-top: 28px;
  padding: 14px 16px;
  background: var(--mint);
  color: var(--evergreen);
  font-size: 14px;
  line-height: 1.45;
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 50;
  min-height: 44px;
  padding: 12px 16px;
  background: var(--evergreen);
  color: var(--white);
}
.skip:focus { top: 12px; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(246 243 236 / 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.navigation nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.navigation nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav-cta { flex: none; padding-inline: 14px; font-size: 14px; white-space: nowrap; }
.menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
}

/* Hero — Canva soft-edge photo + overlay caption */
.hero { padding: 28px 0 0; }
.hero-shell {
  display: grid;
  gap: 28px;
  align-items: stretch;
  min-height: min(72vh, 720px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 24px;
  max-width: 34rem;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.lead {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 45% center;
  border-radius: 0;
}
.hero-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(200px, 46%);
  padding: 16px 18px;
  background: var(--paper);
  color: var(--evergreen);
  font-family: var(--heading);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 56px;
}
.split-copy { max-width: 36rem; }
.split-media {
  min-height: 280px;
  overflow: hidden;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 0;
}

.path-choices {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.path-choices button {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--evergreen);
  background: rgb(255 255 255 / 0.35);
  text-align: left;
}
.path-choices button[aria-checked="true"] {
  background: var(--white);
}
.choice-copy { display: grid; gap: 2px; }
.choice-copy strong {
  font-size: 17px;
  font-weight: 500;
  color: var(--evergreen);
}
.choice-copy small { color: var(--muted); font-size: 15px; }
.radio-mark {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex: none;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}
.path-choices button[aria-checked="true"] .radio-mark {
  border-color: var(--evergreen);
  background: radial-gradient(circle, var(--evergreen) 0 5px, transparent 5.5px);
}
.path-description { margin-top: 24px; }
.path-description > p { max-width: 42ch; color: var(--muted); font-size: 16px; }
.path-description .button { margin-top: 16px; }

.support { padding-block: 56px; }
.support > .container > h2 { margin-bottom: 28px; }
.support-layout {
  display: grid;
  gap: 24px;
  align-items: start;
}
.audience-rails {
  display: grid;
  gap: 10px;
}
.audience-rail {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  background: rgb(243 239 233);
  color: var(--evergreen);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-align: left;
}
.audience-rail[aria-pressed="true"] {
  background: var(--evergreen);
  border-color: var(--evergreen);
  color: var(--white);
}
.service-panel {
  padding: 28px 24px;
  border: 1px solid var(--hairline);
  background: transparent;
  transition: opacity 180ms var(--ease-out), filter 180ms var(--ease-out);
}
.service-panel.is-fading { opacity: 0; filter: blur(2px); }
.service-panel.is-instant { transition: none; filter: none; }
.service-panel h3 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  color: var(--evergreen);
}
.support-hint {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}
.service-list {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}
.service-list button {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 8px 0;
  color: var(--evergreen);
  font-size: 17px;
  text-align: left;
}
.service-list strong {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
}
.service-list button[aria-selected="true"] strong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#service-description {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}
.example {
  margin-top: 10px;
  color: var(--ink);
  font-size: 15px;
}
.support-media img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.process {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}
.process li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 16px;
  padding: 0 0 28px 20px;
  border-left: 1px solid #d8d0c4;
}
.process li:last-child { padding-bottom: 0; }
.process-no {
  grid-row: span 2;
  display: block;
  margin-left: -20px;
  color: var(--evergreen);
  font-family: var(--heading);
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.9;
}
.process h3 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
}
.process p {
  grid-column: 2;
  max-width: 32ch;
  color: var(--muted);
  font-size: 15px;
}

.trust-note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 5px solid var(--evergreen);
  color: var(--evergreen);
  font-size: 18px;
  line-height: 1.55;
}
.trust-note p + p { margin-top: 4px; }

.questions { display: grid; gap: 12px; margin-top: 28px; }
.questions details {
  border: 1px solid var(--hairline);
  border-left: 5px solid var(--evergreen);
  padding: 0 16px;
  background: rgb(255 255 255 / 0.28);
}
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  font-family: var(--heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--evergreen);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::marker { content: ""; }
summary:after { color: var(--evergreen); font-size: 22px; font-weight: 400; content: "+"; }
details[open] summary:after { content: "−"; }
details p { padding: 0 36px 18px 0; color: var(--muted); font-size: 15px; }

.closing-paths {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.closing-paths a {
  display: grid;
  gap: 2px;
  min-height: 56px;
  padding: 12px 14px 12px 16px;
  border-left: 5px solid var(--evergreen);
}
.closing-paths a:focus-visible,
.closing-paths a.is-active {
  outline: 1px solid var(--hairline);
  outline-offset: 0;
  background: rgb(255 255 255 / 0.35);
}
.closing-paths strong {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--evergreen);
}
.closing-paths small {
  color: var(--muted);
  font-size: 15px;
}
.closing-note { margin-top: 28px; max-width: none; }

footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-bar {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
.footer-bar .brand { font-size: 22px; color: var(--ink); }
.footer-bar .brand img { width: 32px; height: 32px; }

dialog {
  position: fixed;
  inset: 0;
  width: min(440px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100% - 48px);
  margin: auto;
  padding: 32px 28px 24px;
  overflow: auto;
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 64px rgb(28 40 34 / 0.12);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
dialog[open] { opacity: 1; transform: scale(1); }
@starting-style {
  dialog[open] { opacity: 0; transform: scale(0.98); }
}
dialog[open].is-closing {
  opacity: 0;
  transform: scale(0.98);
  transition-duration: 160ms;
}
dialog::backdrop {
  background: rgb(28 40 34 / 0.42);
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
dialog[open]::backdrop { opacity: 1; }
@starting-style {
  dialog[open]::backdrop { opacity: 0; }
}
dialog[open].is-closing::backdrop { opacity: 0; transition-duration: 160ms; }
dialog > img { width: 45px; height: 45px; margin-bottom: 18px; border-radius: 8px; }
dialog .eyebrow { margin-bottom: 10px; }
dialog h2 { font-size: 36px; }
dialog > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 16px; }
dialog .button { width: 100%; margin-top: 22px; }
.dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

.not-found { padding-block: 96px 72px; }
.not-found h1 { margin-top: 12px; }
.not-found .lead { max-width: 32ch; }
.not-found .button { margin-top: 28px; }

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--evergreen-deep); color: var(--white); }
  .button.outline:hover { background: var(--mint); color: var(--evergreen); }
  .plain-link:hover,
  .navigation nav a:hover,
  .brand:hover,
  summary:hover,
  .closing-paths a:hover strong { color: var(--evergreen-deep); }
  .path-choices button:hover { background: var(--white); }
  .audience-rail:hover:not([aria-pressed="true"]) { background: #ebe6dc; }
  .service-list button:hover strong { font-weight: 600; }
}

@media (min-width: 901px) {
  .hero-shell {
    grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.2fr);
    gap: 0;
    align-items: stretch;
  }
  .hero-copy {
    padding-right: 40px;
    padding-block: 48px;
  }
  .hero-media {
    margin-right: calc(-1 * var(--page-pad));
    min-height: 640px;
  }
  .hero-media img {
    min-height: 640px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 100%);
  }
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-block: 72px;
  }
  .split-media {
    min-height: 520px;
  }
  .split-media img { min-height: 520px; }
  .pathways .split-media,
  .how .split-media,
  .confidence .split-media,
  .closing .split-media {
    margin-right: calc(-1 * var(--page-pad));
  }
  .support-layout {
    grid-template-columns: 0.85fr 1.05fr 0.95fr;
    gap: 28px;
    align-items: stretch;
  }
  .support-media img { min-height: 420px; height: 100%; }
  .faq .split { align-items: start; }
  .faq-media img { min-height: 480px; }
  .footer-bar {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 28px;
    align-items: center;
  }
  .footer-bar .brand { grid-row: span 2; }
}

@media (max-width: 900px) {
  .menu { display: inline-flex; order: 3; }
  .nav-cta { order: 2; margin-left: auto; }
  .navigation nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-pad) 16px;
    border-bottom: 1px solid var(--hairline);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms var(--ease-out), visibility 0s linear 180ms;
  }
  .navigation nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 180ms var(--ease-out), visibility 0s linear 0s;
  }
  .navigation nav a { min-height: 44px; }
  .hero-actions .button,
  .path-description .button { width: 100%; }
  .hero-media figcaption { right: 16px; bottom: 16px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 120px; }
  .navigation { flex-wrap: wrap; gap: 8px; }
  .brand { font-size: 22px; gap: 8px; }
  .menu { margin-left: auto; }
  .nav-cta {
    order: 4;
    flex: 1 0 100%;
    margin-left: 0;
    padding-inline: 12px;
  }
  .audience-rail { font-size: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    animation: photo-reveal 700ms var(--ease-in-out) both;
  }
  .process.is-ready:not(.is-shown) .process-no { opacity: 0; }
  .process.is-shown .process-no {
    animation: number-in 420ms var(--ease-out) both;
  }
  .process.is-shown li:nth-child(2) .process-no { animation-delay: 50ms; }
  .process.is-shown li:nth-child(3) .process-no { animation-delay: 100ms; }
}

@keyframes photo-reveal {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes number-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  a:active, button:active, summary:active { transform: none; }
  .hero-media img { animation: none; clip-path: none; }
  .service-panel,
  .service-panel.is-fading { filter: none; transition: opacity 180ms var(--ease-out); }
  dialog,
  dialog[open],
  dialog[open].is-closing {
    transform: none;
    transition: opacity 200ms var(--ease-out);
  }
  dialog[open].is-closing { transition-duration: 160ms; }
  @starting-style {
    dialog[open] { opacity: 0; transform: none; }
  }
  .process-no { opacity: 1; transform: none; animation: none; }
}
