:root {
  --bg: #e9f3fa;
  --surface: #ffffff;
  --text: #0b2a45;
  --accent: #f2c200;
  --sea: #0d4a7a;
  --cream: #fff8e5;
  --heading: Futura, 'Avenir Next', 'Trebuchet MS', 'Century Gothic', sans-serif;
  --body: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: clamp(1rem, .94rem + .22vw, 1.125rem)/1.8 var(--body); }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.page-home { background: var(--bg); }
.page-sub { background: var(--surface); }
.page-sub .article { background: linear-gradient(var(--bg), var(--surface) 48rem); }
.wrap { width: min(100% - var(--gutter) * 2, 80rem); margin-inline: auto; }
:is(div, article, section, figure, nav) { min-width: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; color: var(--sea); font-family: var(--heading); font-weight: 700; line-height: 1.16; text-wrap: balance; }
:is(h1, h2, h3, h4, h5, h6), :is(h1, h2, h3, h4, h5, h6) a { hyphens: manual; overflow-wrap: normal; word-break: normal; }
h1 { font-size: clamp(2.25rem, 1.3rem + 3vw, 4.5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.65rem); letter-spacing: -.02em; }
h4, h5, h6 { font-size: 1.15rem; }
p { margin: 0 0 1.25rem; }
a { color: var(--sea); text-underline-offset: .23em; text-decoration-thickness: .08em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--sea); outline-offset: 5px; box-shadow: 0 0 0 5px var(--surface); }
::selection { background: var(--accent); color: var(--text); }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption { margin-top: .75rem; font-size: .9rem; }
ul, ol { padding-left: 1.5rem; }
li { padding-left: .15rem; }
li::marker { color: var(--sea); }
blockquote { margin: 2rem 0; padding: 1.5rem; border-left: 5px solid var(--accent); background: var(--cream); }
hr { height: 9px; border: 0; margin: 2.5rem 0; background: repeating-linear-gradient(125deg, var(--sea) 0 10px, var(--cream) 10px 20px); }
strong, b { font-weight: 700; }
small { font-size: .85em; }
code, pre { font-family: monospace; overflow-wrap: anywhere; }
pre { white-space: pre-wrap; padding: 1rem; background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: .95em; }
th, td { padding: .75rem; border-bottom: 1px solid #b7ccdc; text-align: left; overflow-wrap: anywhere; }
th { background: var(--bg); font-family: var(--heading); }
button, input, select, textarea { max-width: 100%; font: inherit; color: inherit; }
input, select, textarea { border: 1px solid var(--sea); padding: .65rem; background: white; }
button, summary { cursor: pointer; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--accent); color: var(--text); transform: translateY(-200%); font-family: var(--heading); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: var(--surface); padding-block: 1.35rem 1.7rem; }
.site-header::after { content: ''; position: absolute; inset: auto 0 0; height: 7px; background: repeating-linear-gradient(120deg, var(--sea) 0 12px, var(--cream) 12px 24px, var(--accent) 24px 36px, var(--cream) 36px 48px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 800 clamp(1.6rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--heading); letter-spacing: -.055em; }
.brand::before { content: ''; width: 1.35rem; height: 1.9rem; flex: none; background: var(--accent); clip-path: polygon(80% 0, 80% 80%, 100% 80%, 80% 100%, 0 100%, 12% 80%, 0 80%); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.35rem; padding: 0; margin: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: block; padding-block: .45rem; font: 700 .9rem/1.5 var(--heading); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { border-color: var(--sea); }

.hero { position: relative; isolation: isolate; padding-block: clamp(3rem, 6vw, 6.5rem) clamp(4rem, 7vw, 7.5rem); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sea); clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%); }
.hero-inner { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.hero-text { position: relative; z-index: 1; color: white; }
.hero h1 { color: white; font-size: clamp(2.35rem, 1rem + 3.5vw, 4.65rem); }
.eyebrow { display: flex; align-items: center; gap: .75rem; font: 700 .75rem/1.5 var(--heading); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.5rem; }
.eyebrow::before { content: ''; width: 2rem; height: .65rem; background: var(--accent); transform: skewX(-24deg); flex: none; }
.lead { font-size: clamp(1.1rem, 1rem + .35vw, 1.35rem); line-height: 1.75; }
.hero .lead { max-width: 55ch; font-size: clamp(1rem, .95rem + .2vw, 1.15rem); }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 1.4rem; min-height: 3.2rem; padding: .85rem 1.4rem; font: 700 1rem/1.4 var(--heading); text-decoration: none; border: 2px solid var(--sea); background: white; color: var(--sea); transition: transform .2s ease, box-shadow .2s ease; }
.btn::after { content: '\2197'; font-size: 1.3em; }
.btn-primary { background: var(--accent); color: var(--text); border-color: var(--accent); box-shadow: 5px 5px 0 var(--text); }
.hero-media { align-self: stretch; min-height: 30rem; position: relative; background: var(--accent); clip-path: polygon(16% 0, 100% 0, 100% 94%, 0 100%); }
.hero-media img { height: 100%; position: absolute; inset: 0; clip-path: polygon(18% 0, 100% 0, 100% 92%, 0 98%); object-position: 52% center; }

.section { position: relative; isolation: isolate; padding-block: clamp(3.5rem, 6vw, 6.5rem); }
.section-title { max-width: 24ch; }
.section-title::before { content: ''; display: block; width: 3.5rem; height: .4rem; margin-bottom: 1.3rem; background: var(--accent); transform: skewX(-25deg); }
.section-intro { max-width: 76ch; margin-bottom: 2.5rem; }
.card-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; margin-block: 3rem; }
.card-grid::before { content: ''; position: absolute; inset: -1.2rem calc(var(--gutter) * -.4); z-index: -1; background: repeating-linear-gradient(120deg, var(--sea) 0 22px, var(--cream) 22px 44px); clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); }
.card { display: flex; flex-direction: column; padding: clamp(1.25rem, 2vw, 2rem); background: white; border-top: 5px solid var(--accent); box-shadow: 0 8px 18px #0b2a4514; transition: transform .22s ease, box-shadow .22s ease; }
.card-title { margin-bottom: 1rem; }
.card-text { font-size: 1rem; line-height: 1.75; }
.card-link { margin-top: auto; padding-top: 1rem; font: 700 .9rem/1.5 var(--heading); }
.card-link::after { content: '\2197'; display: inline-block; margin-left: .7rem; }
.section-feature { color: white; padding-block: clamp(5rem, 9vw, 9rem); }
.section-feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sea); clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); }
.section-feature h2, .section-feature a { color: white; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding-bottom: .65rem; background: var(--accent); clip-path: polygon(5% 0, 100% 5%, 95% 100%, 0 94%); }
.split-media img { aspect-ratio: 4 / 5; clip-path: polygon(5% 0, 100% 5%, 95% 100%, 0 94%); }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding: 0; list-style: none; }
.fact { padding: 1.5rem; border-left: 5px solid var(--accent); background: white; color: var(--text); }
.section-partners { padding-top: clamp(4.5rem, 7vw, 7rem); }
.section-partners::before { content: ''; position: absolute; inset: 0; z-index: -1; background: white; clip-path: polygon(0 3%, 100% 0, 100% 100%, 0 100%); }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.partner { padding: 1.6rem 0; border-top: 2px solid var(--sea); }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 700 .85rem/1.6 var(--heading); }
.partner-phrase { margin: 1rem 0 .5rem; font: 700 1.25rem/1.35 var(--heading); color: var(--sea); }
.partner-desc { margin: 0; font-size: .95rem; line-height: 1.75; }

.article { padding-block: 2rem clamp(4rem, 7vw, 7rem); }
.article > .wrap { max-width: 55rem; }
.breadcrumb { margin-bottom: 2rem; font: .8rem/1.7 var(--heading); overflow-wrap: anywhere; }
.breadcrumb a { margin-right: .4rem; }
.breadcrumb span { margin-left: .4rem; }
.page-header { position: relative; isolation: isolate; padding: clamp(2rem, 4vw, 3.5rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 5vw, 4.5rem); margin-bottom: 2.5rem; color: white; }
.page-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sea); clip-path: polygon(0 0, 100% 0, 100% 93%, 0 100%); }
.page-header::after { content: ''; position: absolute; top: 0; left: 0; width: 6rem; height: .5rem; background: var(--accent); }
.page-header h1 { color: white; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }
.page-header .lead { margin-bottom: 0; }
.article-figure { margin: 0 0 3rem; padding-bottom: .7rem; background: repeating-linear-gradient(120deg, var(--sea) 0 14px, var(--cream) 14px 28px); clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
.article-figure img { aspect-ratio: 16 / 9; clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
.prose { max-width: 69ch; overflow-wrap: anywhere; }
.article .prose { margin-inline: auto; }
.prose h2 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2.15rem); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.note { padding: 1.5rem 1.75rem; margin-block: 2rem; background: var(--cream); color: var(--text); border-left: 5px solid var(--accent); }

.site-footer { position: relative; isolation: isolate; color: white; padding-block: clamp(4.5rem, 7vw, 7rem) 3rem; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--text); clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 5rem; }
.footer-note { max-width: 58ch; margin: 0; font-size: .95rem; }
.footer-nav ul { gap: .55rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .25rem; color: white; font: .9rem/1.6 var(--heading); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 14px 25px #0b2a4526; }
  .card:nth-child(even):hover { transform: translateY(-5px) rotate(1deg); }
  .btn:hover { transform: translateY(-3px); box-shadow: 6px 8px 0 var(--text); }
}
@media (min-width: 1400px) {
  .hero-media { min-height: 37rem; }
}
@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; gap: .75rem 2rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { grid-template-columns: 1.2fr 1fr; }
  .hero h1 { font-size: clamp(2.2rem, 4.7vw, 3.5rem); }
}
@media (max-width: 720px) {
  .site-header { padding-block: 1.1rem 1.3rem; }
  .site-nav ul { gap: .1rem 1.1rem; }
  .site-nav a { font-size: .8rem; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.25rem, 7.2vw, 3.3rem); }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; clip-path: polygon(7% 0, 100% 0, 100% 92%, 0 100%); }
  .hero-media img { clip-path: polygon(9% 0, 100% 0, 100% 90%, 0 98%); }
  .hero::before { clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%); }
  .hero .lead { max-width: none; }
  .split-media img { aspect-ratio: 3 / 2; }
  .section-feature::before { clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); }
  .footer-inner { grid-template-columns: 1fr; }
  .page-header { margin-inline: -.25rem; }
  .article-figure img { aspect-ratio: 3 / 2; }
}
@media (max-width: 480px) {
  .card-grid, .partner-list, .fact-list { grid-template-columns: 1fr; }
  .card { padding: 1.6rem; }
  .card-grid { gap: 1.25rem; }
  .section-intro { margin-bottom: 2rem; }
  .section-title { max-width: 100%; }
  h1, .hero h1 { font-size: clamp(1.5rem, 8vw, 2.4rem); }
  .page-header h1 { font-size: clamp(1.125rem, 6vw, 1.8rem); }
  h2, .prose h2 { font-size: clamp(1.25rem, 6vw, 1.8rem); }
  h3 { font-size: clamp(1.125rem, 5vw, 1.25rem); }
  .breadcrumb { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .hero, .section, .article { padding-block: 1rem; }
  .hero-text, .section-feature, .page-header, h1, h2, h3, a, .hero h1, .page-header h1, .section-feature h2 { color: black; }
  .hero::before, .section::before, .page-header::before, .card-grid::before { display: none; }
  .page-header { padding: 0; }
  .prose { max-width: none; }
  .card, figure { break-inside: avoid; box-shadow: none; }
}
