:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --text: #16233f;
  --accent: #1c3c78;
  --accent2: #2e8b8b;
  --teal-ink: #236b6b;
  --muted: #526077;
  --line: #c6d0df;
  --heading: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --body: 'Avenir Next', 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.8; -webkit-font-smoothing: antialiased; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
.wrap, .wrap *, .header-inner > *, .footer-inner > * { min-width: 0; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-family: var(--heading); font-weight: 400; line-height: 1.2; color: var(--accent); hyphens: manual; overflow-wrap: normal; word-break: normal; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3vw, 4.75rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.75rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.4rem, 1.15rem + .65vw, 1.85rem); }
h4, h5, h6 { font-size: 1.25rem; }
p { margin: 0 0 1.3rem; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; overflow-wrap: anywhere; transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
a:hover { color: var(--teal-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent2); outline-offset: 5px; }
::selection { background: #cde5e7; color: var(--text); }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption { padding-block: .8rem; color: var(--muted); font-size: .85rem; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1.5rem; }
li { padding-left: .2rem; }
li::marker { color: var(--teal-ink); }
strong, b { font-weight: 650; }
small { font-size: max(12px, .85em); }
hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
blockquote { margin: 2rem 0; padding: .5rem 1.5rem; border-left: 2px solid var(--accent2); font-family: var(--heading); font-size: 1.3em; }
code, pre, kbd, samp { font-family: var(--mono); font-size: max(12px, .9em); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { padding: .75rem; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { color: var(--accent); }
input, textarea, select, button { max-width: 100%; font: inherit; color: inherit; }
input, textarea, select { padding: .65rem; border: 1px solid var(--line); background: white; }
button, summary { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: 1rem; transform: translateY(-180%); z-index: 10; padding: .65rem 1rem; background: var(--accent); color: white; }
.skip-link:focus { transform: translateY(0); color: white; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding-block: 1.6rem 1.1rem; }
.brand { font-family: var(--heading); font-size: 2rem; line-height: 1.2; letter-spacing: -.035em; text-decoration: none; }
.brand::before { content: ''; display: inline-block; width: 7px; height: 7px; margin: 0 .65rem .3rem 0; border: 1px solid var(--accent2); border-radius: 50%; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.8rem; padding: 0; margin: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .35rem; text-decoration: none; font-size: .8rem; letter-spacing: .045em; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { border-bottom-color: var(--accent2); }

.hero { padding-block: clamp(3.5rem, 7vw, 7rem) 3rem; }
.hero-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); }
.hero-text { width: 100%; text-align: center; }
.eyebrow { margin-bottom: 1.5rem; color: var(--teal-ink); font-family: var(--mono); font-size: .75rem; letter-spacing: .19em; text-transform: uppercase; }
.hero h1 { max-width: 1000px; margin: 0 auto 1.75rem; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.8; }
.hero .lead { max-width: 64ch; margin-inline: auto; }
.hero-note { max-width: 72ch; margin: 1.5rem auto 0; color: var(--muted); font-size: .9rem; }
.hero-actions { margin-top: 1.9rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; max-width: 100%; padding: .8rem 1.6rem; border: 1px solid var(--accent); border-radius: 2px; font-size: .88rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--text); border-color: var(--text); color: white; }
.hero-media { width: 100%; padding-block: 12px; border-block: 1px solid var(--accent); }
.hero-media img { aspect-ratio: 3.3 / 1; object-position: center 48%; }

.section { position: relative; padding-block: clamp(4.5rem, 7vw, 7rem); }
.page-home .section::before { content: ''; position: absolute; top: 0; left: 50%; height: 2.5rem; border-left: 1px solid var(--accent); }
.page-home .section::after { content: ''; position: absolute; top: 2.5rem; left: calc(50% - 3px); width: 7px; height: 7px; border: 1px solid var(--accent2); border-radius: 50%; background: var(--bg); }
.section-title { max-width: 800px; margin: 0 auto 1.6rem; text-align: center; }
.section-title::after { content: ''; display: block; width: 40px; height: 2px; background: var(--accent2); margin: 1.5rem auto 0; }
.section-intro { max-width: 68ch; margin: 0 auto 1.25rem; text-align: center; }
.section-feature { background: var(--surface); border-block: 1px solid var(--line); }
.split { display: grid; justify-items: center; gap: 2.5rem; }
.split-text { max-width: 68ch; }
.split-text > p:last-child { text-align: center; margin-bottom: 0; }
.split-media { width: min(100%, 880px); padding: 10px 0; border-block: 1px solid var(--line); }
.split-media img { aspect-ratio: 2.4 / 1; }
.fact-list { max-width: 780px; margin: 3rem auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact { position: relative; padding: 1.2rem 1.5rem 1.2rem 2rem; border-top: 1px solid var(--line); font-size: .95rem; }
.fact::before { content: ''; position: absolute; left: .35rem; top: 1.95rem; width: 6px; height: 6px; border: 1px solid var(--accent2); border-radius: 50%; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 1.5rem; margin-top: 4rem; counter-reset: entry; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 2rem 1.6rem 1.6rem; border: 1px solid var(--line); background: var(--surface); counter-increment: entry; transition: border-color 180ms ease; }
.card::before { content: ''; position: absolute; top: -1.6rem; left: -1px; width: calc(100% + 1.5rem + 2px); height: 1.6rem; border-top: 1px solid var(--line); }
.card:nth-child(3n)::before { width: calc(100% + 2px); }
.card::after { content: ''; position: absolute; left: 50%; top: -1.6rem; height: 1.6rem; border-left: 1px solid var(--accent2); }
.card-title::before { content: counter(entry, decimal-leading-zero); display: block; margin-bottom: 1rem; font: .75rem/1.3 var(--mono); letter-spacing: .16em; color: var(--teal-ink); }
.card-title::after { content: ''; position: absolute; top: -4px; left: calc(50% - 3px); width: 7px; height: 7px; background: var(--surface); border: 1px solid var(--accent2); border-radius: 50%; z-index: 1; }
.card-title { font-size: clamp(1.4rem, 1.1rem + .55vw, 1.7rem); }
.card-text { font-size: .95rem; line-height: 1.75; }
.card-link { font-size: .85rem; font-weight: 600; text-decoration-color: var(--accent2); }
.card > .card-link { align-self: flex-start; margin-top: auto; padding-top: .5rem; }
.card:hover, .card:focus-within { border-color: var(--accent2); }

.section-partners { border-top: 1px solid var(--line); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; padding: 0; margin: 3rem 0 0; list-style: none; }
.partner { min-width: 0; padding: clamp(1.3rem, 3vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); }
.partner-link { display: block; font-family: var(--heading); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.9rem); line-height: 1.35; overflow-wrap: anywhere; text-decoration: none; }
.partner-link:hover { text-decoration: underline; }
.partner-phrase { margin: 1.2rem 0 .7rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.partner-desc { margin-bottom: 0; font-size: .9rem; color: var(--muted); line-height: 1.75; }

.page-sub { background: var(--surface); }
.article { padding-block: clamp(2.5rem, 5vw, 5rem) clamp(4rem, 8vw, 8rem); }
.article > .wrap { max-width: 66ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-header { padding-bottom: 2.5rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.6rem); margin-bottom: 1.6rem; }
.page-header .lead { margin-bottom: 0; font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); }
.prose { overflow-wrap: anywhere; }
.prose h2 { position: relative; margin: 3rem 0 1.25rem; padding-left: 1.3rem; border-left: 1px solid var(--line); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.prose h2::before { content: ''; position: absolute; left: -4px; top: .5em; width: 7px; height: 7px; background: var(--surface); border: 1px solid var(--accent2); border-radius: 50%; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose li { margin-bottom: .6rem; }
.prose-figure { margin-block: 2.5rem; border-block: 1px solid var(--line); padding-block: 10px; }
.prose-figure img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--bg); }
.note, aside.note { margin-block: 2rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--accent2); background: var(--bg); font-size: .95rem; }
.note > :last-child { margin-bottom: 0; }

.site-footer { background: var(--accent); color: #e6edf7; border-top: 1px solid var(--accent); padding-block: 3rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; text-align: center; }
.footer-note { max-width: 65ch; margin: 0; font-size: .85rem; }
.footer-nav a { display: inline-block; padding-block: .4rem; color: #ffffff; font-size: .8rem; text-decoration-color: #8eabc9; }
.footer-nav a:hover { color: #d3eeee; text-decoration-color: currentColor; }
.site-footer a:focus-visible { outline-color: #b7e2df; }

@media (min-width: 1400px) {
  .wrap { width: min(1200px, calc(100% - 6rem)); }
}
@media (max-width: 850px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3n)::before { width: calc(100% + 1.5rem + 2px); }
  .card:nth-child(2n)::before { width: calc(100% + 2px); }
  .site-nav ul { column-gap: 1.2rem; }
  .hero-media img { aspect-ratio: 2.6 / 1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { padding-block: 1.3rem .9rem; }
  .site-nav ul { gap: .1rem 1rem; }
  .site-nav a { font-size: .75rem; padding-block: .45rem; }
  .hero { padding-top: 3rem; }
  .hero h1 { font-size: clamp(2.1rem, 7.7vw, 2.7rem); }
  .hero .lead { font-size: 1.05rem; }
  .hero-media img { aspect-ratio: 2 / 1; }
  .hero-note { font-size: .85rem; }
  .eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .section-intro { text-align: left; }
  .card-grid, .partner-list, .fact-list { grid-template-columns: minmax(0, 1fr); }
  .card-grid { gap: 3rem; }
  .card::before, .card:nth-child(3n)::before, .card:nth-child(2n)::before { left: 20%; width: 60%; }
  .card { padding: 1.8rem; }
  .split-media img { aspect-ratio: 3 / 2; }
  .breadcrumb { font-size: .75rem; }
  .note, aside.note { padding: 1.15rem; }
  .footer-nav ul { gap: .3rem 1.2rem; }
}
@media (max-width: 480px) {
  h1, .hero h1, .page-header h1 { font-size: clamp(1.5rem, 6.6vw, 1.95rem); }
  .page-header h1 { text-wrap: wrap; }
  h2, .prose h2 { font-size: clamp(1.3rem, 5.7vw, 1.7rem); }
  h3, .card-title { font-size: clamp(1.2rem, 5.3vw, 1.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body, .page-sub { background: white; color: black; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap, .article > .wrap { width: 100%; max-width: 75ch; }
  .article, .section, .hero { padding-block: 1.5rem; }
  .card, .partner, figure, .note { break-inside: avoid; }
  a { color: inherit; }
}
