:root {
  color-scheme: light;
  --bg: #f6efe0;
  --surface: #fffaf0;
  --text: #10243f;
  --accent: #1b4a86;
  --teal: #0b7a80;
  --navy: #0e2342;
  --red: #b8362b;
  --heading: 'Palatino Linotype', Palatino, 'Book Antiqua', 'Iowan Old Style', Georgia, serif;
  --body: 'Gill Sans', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --diamond-band: conic-gradient(from 45deg at 50% 50%, transparent 0 25%, #b8362b 0 50%, transparent 0 75%, #0b7a80 0);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: clamp(8px, 1.2vw, 20px);
  border: 4px double var(--accent);
  padding: 5px;
  background: repeating-linear-gradient(45deg, var(--bg) 0 3px, #1b4a8624 3px 4px, var(--bg) 4px 7px);
  color: var(--text);
  font-family: var(--body);
  font-size: clamp(1rem, .94rem + .2vw, 1.125rem);
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
main { background: var(--bg); }
.page { min-width: 0; }
.wrap { width: min(100% - var(--gutter) * 2, 1200px); margin-inline: auto; }
header, main, footer, section, article, div, figure { min-width: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); font-weight: 500; line-height: 1.15; text-wrap: balance; overflow-wrap: normal; word-break: normal; hyphens: auto; }
h1 { font-size: clamp(2.2rem, 4.5vw, 4.75rem); letter-spacing: -.035em; margin: 0 0 28px; }
h2 { font-size: clamp(1.8rem, 2.8vw, 3rem); margin: 0 0 24px; }
h3 { font-size: clamp(1.35rem, 1.6vw, 1.8rem); }
h4, h5, h6 { font-size: 1.2rem; }
p { margin: 0 0 1.25em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption { padding-top: 12px; font-size: .9rem; }
ul, ol { padding-left: 1.5em; }
li { margin-block: .35em; }
blockquote { margin: 2em 0; padding: 1em 1.5em; border-inline: 4px double var(--teal); font-family: var(--heading); font-size: 1.2em; }
hr { border: 0; border-top: 4px double var(--accent); margin: 2rem 0; }
strong, b { font-weight: 700; }
small { font-size: max(.75rem, .875em); }
code, pre { font-family: ui-monospace, monospace; font-size: max(.75rem, .9em); }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; background: var(--surface); border: 1px solid var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { padding: .7em; text-align: left; border: 1px solid var(--accent); overflow-wrap: anywhere; }
th { background: var(--navy); color: var(--surface); }
input, button, textarea, select { max-width: 100%; font: inherit; color: inherit; border-radius: 0; }
input, textarea, select { background: var(--surface); border: 1px solid var(--accent); padding: .6em; }
summary, button { cursor: pointer; }
::selection { color: var(--surface); background: var(--accent); }
.skip-link { position: fixed; top: 12px; left: 24px; z-index: 20; padding: 12px 24px; background: var(--surface); border: 2px solid var(--accent); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border: 1px solid var(--accent); border-bottom: 4px double var(--accent); }
.header-inner { display: flex; flex-direction: column; align-items: center; padding-block: 24px 16px; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--text); font: 500 clamp(1.7rem, 2.4vw, 2.4rem)/1.2 var(--heading); text-decoration: none; letter-spacing: -.03em; }
.brand::before, .brand::after { content: ''; width: 9px; height: 9px; background: var(--red); border: 1px solid var(--red); outline: 1px solid var(--teal); outline-offset: 4px; transform: rotate(45deg); flex: 0 0 auto; }
.site-nav ul, .footer-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px clamp(12px, 2.3vw, 36px); list-style: none; margin: 0; padding: 0; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a { display: block; padding: 7px 2px; color: var(--text); font-size: .92rem; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--red); border-color: var(--red); }
.hero { position: relative; isolation: isolate; background: var(--navy); color: var(--surface); }
.hero::after { content: ''; position: absolute; inset: clamp(12px, 2vw, 30px); border: 4px double #f6efe09c; pointer-events: none; z-index: 2; }
.hero-inner { min-height: min(850px, 88vh); display: grid; place-items: center; padding-block: clamp(70px, 8vw, 125px); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-position: center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0e2342ad, #0e2342df 48%, #0e2342ed); }
.hero-text { width: min(100%, 920px); text-align: center; }
.hero h1 { color: var(--surface); }
.eyebrow { display: inline-block; margin: 0 0 28px; padding: 7px 18px; background: var(--surface); color: var(--red); border-block: 2px solid var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.lead { font-size: clamp(1.1rem, 1rem + .3vw, 1.3rem); line-height: 1.7; }
.hero .lead { max-width: 75ch; margin: 0 auto; color: var(--bg); font-size: clamp(1rem, .92rem + .3vw, 1.2rem); }
.hero-actions { margin-top: 32px; }
.btn { display: inline-flex; justify-content: center; align-items: center; padding: 13px 26px; border: 4px double currentColor; font-size: 1rem; font-weight: 600; text-decoration: none; }
.btn-primary { color: var(--surface); background: var(--red); border-color: var(--surface); }
.btn-primary:hover { color: var(--text); background: var(--surface); border-color: var(--red); }
.hero a:focus-visible, .site-footer a:focus-visible, .section-feature a:focus-visible, .section-partners a:focus-visible { outline-color: var(--surface); }
.section { position: relative; padding-block: clamp(60px, 6vw, 96px); }
.section::before, .site-footer::before { content: ''; display: block; position: absolute; top: 0; left: 0; right: 0; height: 18px; border-block: 2px solid var(--teal); background: var(--diamond-band) center / 16px 16px repeat-x, var(--bg); }
.section-title { text-align: center; margin-inline: auto; max-width: 28ch; }
.section-title::after, .page-header::after { content: ''; display: block; width: 140px; height: 12px; margin: 25px auto; background: linear-gradient(var(--teal), var(--teal)) left center / 55px 1px no-repeat, linear-gradient(var(--teal), var(--teal)) right center / 55px 1px no-repeat, conic-gradient(from 45deg, var(--red) 0 25%, transparent 0 50%, var(--red) 0 75%, transparent 0) center / 12px 12px no-repeat; }
.section > .wrap > p { max-width: 76ch; margin-inline: auto; }
.section > .wrap > p + .section-title { margin-top: 56px; }
.section-intro { text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.card { grid-column: span 2; position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.4vw, 38px); border: 2px solid var(--accent); background: var(--surface); }
.card:nth-last-child(-n+2) { grid-column: span 3; }
.card::before { content: ''; position: absolute; inset: 7px; border: 1px solid #1b4a8666; pointer-events: none; }
.card::after { content: ''; position: absolute; width: 16px; height: 16px; top: -2px; right: -2px; background: var(--bg); border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.card-title { margin: 0 0 16px; }
.card-title::before { content: ''; display: block; width: 8px; height: 8px; transform: rotate(45deg); margin: 0 0 22px 2px; background: var(--red); }
.card-text { font-size: 1rem; line-height: 1.65; }
.card-link { margin-top: auto; padding-block: 8px 0; font-size: .95rem; font-weight: 600; }
.section-feature, .section-partners { background: var(--navy); color: var(--bg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-text .section-title { font-size: clamp(1.8rem, 2.5vw, 2.8rem); }
.split-text p { font-size: 1.02rem; }
.split-media { padding: 10px; border: 4px double var(--bg); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); list-style: none; padding: 0; border-block: 4px double var(--teal); }
.fact { margin: 0; padding: 24px; text-align: center; border: 1px solid var(--teal); }
.fact strong { display: block; font: 500 2rem var(--heading); }
.partner-list { position: relative; list-style: none; max-width: 960px; margin: 32px auto 0; padding: 30px clamp(20px, 3vw, 44px) 0; border: 4px double var(--bg); }
.partner-list::before { content: ''; position: absolute; inset: 0 0 auto; height: 16px; background: var(--diamond-band) center / 16px 16px repeat-x, var(--bg); border-bottom: 2px solid var(--teal); }
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); column-gap: 32px; padding-block: 26px; margin: 0; border-bottom: 1px solid #f6efe066; }
.partner:last-child { border-bottom: 0; }
.partner-link { color: var(--bg); overflow-wrap: anywhere; font-size: .9rem; align-self: start; }
.partner-link:hover { color: #f2ba9c; }
.partner-phrase { grid-column: 1; margin: 10px 0 0; color: #f2ba9c; font-family: var(--heading); font-size: 1.3rem; }
.partner-desc { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 1rem; }
.article { padding: clamp(24px, 5vw, 72px) var(--gutter); }
.article > .wrap { width: 100%; max-width: 880px; border-inline: 4px double var(--accent); padding: clamp(18px, 4vw, 60px); background: var(--surface); }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 10px; font-size: .85rem; margin-bottom: 36px; }
.breadcrumb span::before { content: '\25C6'; color: var(--red); font-size: .75rem; margin-right: 10px; }
.page-header { text-align: center; }
.page-header h1 { font-size: clamp(2rem, 3.5vw, 3.6rem); }
.page-header .lead { font-size: clamp(1.05rem, 1rem + .2vw, 1.2rem); }
.prose { max-width: 68ch; margin-inline: auto; }
.prose h2 { position: relative; font-size: clamp(1.6rem, 2.3vw, 2.25rem); padding-top: 25px; margin: 42px 0 20px; border-top: 2px solid var(--teal); }
.prose h2::before { content: ''; position: absolute; top: -5px; left: 0; width: 8px; height: 8px; transform: rotate(45deg); background: var(--red); }
.prose h3 { margin-top: 32px; }
.prose a { overflow-wrap: anywhere; }
.article-figure { padding: 6px; margin: 32px 0; border: 4px double var(--accent); }
.article-figure img { width: 100%; aspect-ratio: 1000 / 563; }
.note { padding: 20px 24px; background: var(--bg); border-left: 4px double var(--teal); font-size: .95rem; }
.site-footer { position: relative; background: var(--navy); color: var(--bg); padding-block: 66px 36px; border: 1px solid var(--accent); }
.footer-inner { text-align: center; }
.footer-note { max-width: 76ch; margin: 0 auto 26px; font-size: .95rem; }
.footer-nav { border-top: 4px double #f6efe066; padding-top: 20px; }
.footer-nav a { display: block; color: var(--bg); font-size: .9rem; padding: 8px 2px; }
.footer-nav a:hover { color: #f2ba9c; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform .2s ease, border-color .2s ease; }
  .card:hover { transform: translateY(-3px); border-color: var(--red); }
}
@media (min-width: 1450px) {
  .card-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .card, .card:nth-last-child(-n+2) { grid-column: auto; padding: 28px 22px; }
  .card-title { font-size: 1.55rem; }
}
@media (max-width: 850px) {
  .split { grid-template-columns: 1fr; }
  .split-text { max-width: 70ch; margin-inline: auto; }
  .split-media { width: min(100%, 640px); margin-inline: auto; }
  .split-media img { aspect-ratio: 4 / 3; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card:nth-last-child(-n+2) { grid-column: auto; }
  .card:last-child { grid-column: 1 / -1; }
  .hero-inner { min-height: 0; }
}
@media (max-width: 560px) {
  body { margin: 6px; padding: 3px; }
  .header-inner { width: calc(100% - 24px); padding-top: 22px; }
  .site-nav ul { column-gap: 14px; }
  .site-nav a { font-size: .82rem; padding-block: 8px; }
  .brand { gap: 14px; }
  .hero-inner { padding-block: 56px; }
  .hero h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  .hero .lead { line-height: 1.65; }
  .eyebrow { font-size: .75rem; padding-inline: 10px; letter-spacing: .1em; }
  .btn { padding-inline: 16px; font-size: .9rem; }
  .card-grid { grid-template-columns: 1fr; gap: 20px; }
  .card:last-child { grid-column: auto; }
  .partner { display: flex; flex-direction: column; gap: 12px; }
  .partner-phrase { margin: 0; }
  .article { padding: 24px 10px; }
  .article > .wrap { padding: 24px 14px; }
  .page-header h1 { font-size: 2rem; }
  .prose { line-height: 1.75; }
  h1, h2, h3 { hyphens: auto; }
  .breadcrumb { margin-bottom: 26px; }
}
@media (max-width: 480px) {
  .hero h1, .page-header h1 { font-size: clamp(1.2rem, 5.5vw, 1.65rem); }
  h2, .prose h2, .split-text .section-title { font-size: clamp(1.2rem, 5.2vw, 1.5rem); }
  h3 { font-size: clamp(1.2rem, 5vw, 1.35rem); }
  .brand, .eyebrow, .btn, .site-nav, .breadcrumb > * { min-width: 0; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body { margin: 0; padding: 0; background: white; color: black; border: 0; }
  .site-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .article { padding: 0; }
  .article > .wrap { max-width: none; border: 0; padding: 16px; }
  .hero, .section, .site-footer { background: white; color: black; }
  .hero h1, .hero .lead, .partner-link, .partner-phrase { color: black; }
  .hero-media, .hero::before, .hero::after { display: none; }
  .card, figure, .partner { break-inside: avoid; }
  a { color: inherit; }
}
.page-home main { border-inline: 1px solid var(--accent); }
.page-sub main { border-inline: 1px solid var(--accent); background: var(--bg); }
