:root {
  --bg: #0e342f;
  --surface: #154a42;
  --text: #f1ead8;
  --accent: #ec5a7e;
  --gold: #f0c75e;
  --ink: #173d35;
  --muted: #c8d2bf;
  --paper: #f1ead8;
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --sans: 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 80% 5%, #f0c75e12, transparent 45%), repeating-linear-gradient(35deg, #ffffff02 0 1px, transparent 1px 4px);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.page { min-width: 0; }
main, section, article, nav, div, figure { min-width: 0; }
::selection { background: var(--gold); color: var(--bg); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
p { margin: 0 0 1.25rem; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; line-height: 1.13; text-wrap: balance; overflow-wrap: anywhere; margin: 0 0 1.2rem; }
h1 { font-size: clamp(2.5rem, 2rem + 2.9vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.45rem, 1.2rem + .7vw, 2rem); }
h4, h5, h6 { font-size: 1.25rem; }
ul, ol { padding-left: 1.4rem; }
li { padding-left: .2rem; }
li::marker { color: #a13552; }
hr { border: 0; border-top: 1px solid var(--gold); margin: 2rem 0; }
blockquote { margin: 2rem 0; border-left: 3px solid var(--gold); padding: .5rem 1.5rem; font-family: var(--serif); font-size: 1.3em; }
button, input, select, textarea { font: inherit; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: .9em; }
th, td { text-align: left; padding: .7rem; border-bottom: 1px solid #8d9279; overflow-wrap: anywhere; }
pre { overflow: auto; padding: 1rem; }
code { font-size: .9em; }
.wrap { width: min( calc(100% - 3rem), 1240px); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; background: var(--paper); color: var(--ink); padding: .75rem 1.2rem; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid #f1ead82b; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 100px; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: 400 clamp(1.5rem, 1.2rem + .7vw, 2rem)/1.2 var(--serif); text-decoration: none; white-space: nowrap; }
.brand::before { content: ''; width: .7rem; height: .7rem; background: var(--accent); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .3rem 1.35rem; padding: 0; margin: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: block; padding-block: .5rem; font-size: .875rem; text-decoration: none; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gold); border-bottom-color: var(--gold); }
.hero { padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(3rem, 5vw, 5rem); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-text { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); font-weight: 700; margin-bottom: 1.5rem; }
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(2.7rem, 1.65rem + 3.4vw, 5rem); }
.hero h1::after, .section-title::after, .page-header h1::after, .prose h2::after { content: ''; display: block; width: 3.5rem; height: 2px; background: var(--gold); margin-top: 1.3rem; }
.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.25rem); line-height: 1.7; }
.hero .lead { font-size: 1rem; color: var(--muted); max-width: 59ch; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; justify-content: center; align-items: center; padding: .85rem 1.5rem; border: 1px solid var(--gold); border-radius: 3px; font-size: .9rem; font-weight: 700; text-decoration: none; transition: background-color .2s, transform .2s; }
.btn-primary { background: var(--gold); color: var(--bg); box-shadow: 0 4px 0 #071e1b; }
.btn-primary::after { content: '\2197'; margin-left: 1.5rem; font-size: 1.25em; }
.btn:hover { background: var(--paper); color: var(--bg); transform: translateY(-2px); }
.hero-media { position: relative; padding: 11px; border: 1px solid #fff8df; border-radius: 9px; background: var(--paper); box-shadow: 0 26px 55px #031b1766, 7px 8px 0 #c7bd9e, 11px 12px 0 #092a25; }
.hero-media img { width: 100%; aspect-ratio: 1.05; border-radius: 3px; object-position: center; }
.section { padding-block: clamp(2.5rem, 4vw, 4.5rem); }
.section-title { max-width: 24ch; }
.section-intro { color: var(--muted); max-width: 65ch; margin-bottom: 2rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 2.6vw, 2.5rem); border: 1px solid var(--paper); border-radius: 8px; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px #bdb79f, 0 10px 25px #041c1926; transition: transform .22s ease, box-shadow .22s ease; }
.card::before { content: ''; width: .6rem; height: .9rem; background: #ac3454; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); margin-bottom: 1.5rem; }
.card:first-child { grid-row: span 2; justify-content: center; background: var(--surface); color: var(--paper); box-shadow: inset 0 0 0 6px var(--surface), inset 0 0 0 7px #f1ead850, 0 10px 25px #041c1926; }
.card:first-child::before { width: 2rem; height: 3rem; background: var(--accent); margin-bottom: 2rem; }
.card:first-child .card-title { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.card-title { margin-bottom: .85rem; }
.card-text { font-size: .95rem; line-height: 1.7; }
.card-link { font-size: .8rem; font-weight: 700; padding-block: .5rem; margin-top: auto; }
.card:first-child .card-link { margin-top: 1rem; color: var(--gold); }
.card-link::after { content: '\2197'; display: inline-block; margin-left: .7rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.split-text p { color: var(--muted); font-size: 1rem; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding: .6rem; background: var(--paper); border-radius: 5px; box-shadow: 0 16px 30px #051e1933; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; border-radius: 2px; }
.section-feature { margin-top: 1.5rem; border-top: 1px solid #f0c75e42; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 1rem; list-style: none; }
.fact { padding: 1rem 1.25rem; border-left: 2px solid var(--gold); background: var(--surface); }
.section-partners { padding-bottom: clamp(4rem, 7vw, 7rem); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.partner { padding: clamp(1.5rem, 2.5vw, 2.5rem); background: var(--surface); border: 1px solid #f1ead86b; border-top: 3px solid var(--gold); border-radius: 3px; }
.partner-link { display: block; overflow-wrap: anywhere; font-size: .8rem; line-height: 1.6; color: var(--gold); margin-bottom: 1.25rem; }
.partner-phrase { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + .7vw, 1.8rem); line-height: 1.25; }
.partner-desc { font-size: .95rem; color: var(--text); margin: 0; }
.article { padding: clamp(1.5rem, 4vw, 4.5rem) 0 clamp(3rem, 6vw, 6rem); }
.article > .wrap { width: min(calc(100% - 3rem), 850px); padding: clamp(1.4rem, 5vw, 4.5rem); background: var(--paper); color: var(--ink); border-radius: 7px; border: 1px solid #fff6df; box-shadow: 0 24px 70px #031c174a, inset 0 0 0 7px var(--paper), inset 0 0 0 8px #c5bea6; }
.breadcrumb { color: #4c6053; font-size: .78rem; line-height: 1.7; margin-bottom: 2.5rem; overflow-wrap: anywhere; }
.breadcrumb a { color: var(--ink); }
.page-header { margin-bottom: 2.5rem; }
.page-header h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.9rem); }
.page-header .lead { color: #41594b; }
.article > .wrap, .article > .wrap p, .article > .wrap li, .card:not(:first-child) p, .card:not(:first-child) li, .breadcrumb { color: #31594f; }
.prose { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: 1.85; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); margin-top: 2.6rem; }
.prose h2::after { width: 2.5rem; margin-top: .85rem; }
.prose h3 { margin-top: 2rem; }
.prose a { color: #8e2c47; text-decoration-thickness: 1.5px; }
.prose li { margin-bottom: .65rem; }
.prose > :last-child { margin-bottom: 0; }
.article-figure { margin: 2rem 0; padding: .4rem; border: 1px solid #bcb59e; background: #e2dac3; }
.article-figure img { width: 100%; max-height: 480px; object-fit: cover; }
.article-figure img[width="800"] { width: auto; max-height: 480px; margin-inline: auto; object-fit: contain; }
figcaption { font-size: .8rem; padding: .75rem .25rem; }
.note { margin: 2rem 0; padding: 1.25rem 1.5rem; background: #e4ddc7; border-left: 3px solid #a13552; font-size: .95rem; }
.note p:last-child { margin-bottom: 0; }
.site-footer { padding-block: 2.5rem; border-top: 1px solid #f0c75e52; background: #092b26; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.footer-note { color: var(--muted); font-size: .8rem; line-height: 1.8; margin: 0; max-width: 65ch; }
.footer-nav ul { gap: .35rem 1.2rem; }
.footer-nav a { display: inline-block; padding-block: .3rem; font-size: .8rem; }
.footer-nav a:hover { color: var(--gold); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px) rotate(-.7deg); box-shadow: inset 0 0 0 6px var(--paper), inset 0 0 0 7px #bdb79f, 0 18px 30px #041c194a; }
  .card:nth-child(even):hover { transform: translateY(-4px) rotate(.7deg); }
  .card:first-child:hover { box-shadow: inset 0 0 0 6px var(--surface), inset 0 0 0 7px #f1ead850, 0 18px 30px #041c194a; }
}
@media (min-width: 1400px) { .hero-media img { aspect-ratio: 1.15; } }
@media (max-width: 1000px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .hero-inner { gap: 2rem; }
  .hero h1 { font-size: clamp(2.6rem, 4.7vw, 3.8rem); }
  .hero-media img { aspect-ratio: .85; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:first-child { grid-row: auto; grid-column: 1 / -1; }
  .card:first-child::before { width: .8rem; height: 1.2rem; margin-bottom: 1.25rem; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .site-nav ul { gap: .1rem 1.2rem; }
  .site-nav a { font-size: .8rem; }
  .hero-inner, .split, .partner-list, .footer-inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 17ch; font-size: clamp(2.7rem, 8vw, 3.8rem); }
  .hero-media { margin: .5rem .5rem 0 0; }
  .hero-media img { aspect-ratio: 16 / 10; }
  .split { gap: 1.75rem; }
  .split-media { max-width: 100%; }
  .section-feature .split-media { order: -1; }
  .article > .wrap { width: calc(100% - 1.5rem); }
  .breadcrumb { margin-bottom: 1.75rem; }
}
@media (max-width: 480px) {
  .card-grid, .fact-list { grid-template-columns: 1fr; }
  .card { padding: 1.75rem; }
  .card:first-child { grid-column: auto; }
  .card::before { margin-bottom: 1rem; }
  .section-intro { font-size: 1rem; }
  .article > .wrap { padding: 1.75rem 1.25rem; }
  .page-header h1 { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .card:hover { transform: none; }
}
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .article { padding: 0; }
  .article > .wrap { width: 100%; max-width: none; padding: 0; border: 0; box-shadow: none; background: white; color: black; }
  .note { background: transparent; }
  h1, h2, h3 { break-after: avoid; }
  figure, .note { break-inside: avoid; }
}
.page-home main { padding-bottom: 0; }
.page-sub main { min-height: 65vh; }
