:root {
  color-scheme: light;
  --bg: #e4eef0;
  --surface: #f6fafb;
  --text: #1c2b2e;
  --accent: #c28a12;
  --green: #2f6b4f;
  --deep: #234f3d;
  --line: #bccfd0;
  --heading: 'Avenir Next', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --body: Georgia, 'Iowan Old Style', 'Times New Roman', 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, .95rem + .2vw, 1.125rem)/1.75 var(--body); }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; min-width: 0; }
::selection { background: #e6c772; color: var(--text); }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease; }
a:hover { color: var(--text); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-family: var(--heading); font-weight: 650; line-height: 1.17; letter-spacing: -.035em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 4.2vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 2.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 1.7vw, 1.8rem); }
h4, h5, h6 { font-size: 1.2rem; }
p { margin: 0 0 1.25rem; }
ul, ol { padding-left: 1.4em; }
li { padding-left: .2em; }
li::marker { color: var(--green); }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figcaption, small { font-size: .875em; }
strong, b { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--bg); }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 1.25rem; background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: .9em; }
th, td { padding: .75rem; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
th { font-family: var(--heading); background: var(--bg); }
button, input, select, textarea { max-width: 100%; font: inherit; }
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: .7rem 1rem; background: var(--surface); color: var(--deep); transform: translateY(-180%); font-family: var(--heading); }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--surface); border-top: 5px solid var(--accent); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--deep); text-decoration: none; font: 750 clamp(1.25rem, 1.65vw, 1.6rem)/1.2 var(--heading); letter-spacing: -.05em; }
.brand::before { content: ''; flex: 0 0 16px; width: 16px; height: 25px; background: var(--green); border-radius: 100% 0 100% 0; transform: rotate(-15deg); }
.site-nav, .footer-nav { font: 600 .875rem/1.5 var(--heading); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: block; padding-block: .65rem; color: var(--text); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .page-home .site-nav a[href='index.html'] { color: var(--deep); border-color: var(--accent); }

.hero { background: var(--deep); color: var(--surface); }
.hero-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; max-width: 1600px; }
.hero-text { padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4vw, 4rem); align-self: center; }
.hero h1 { max-width: 12ch; margin-bottom: 1.6rem; }
.eyebrow { max-width: 36ch; font: 700 .75rem/1.6 var(--heading); text-transform: uppercase; letter-spacing: .15em; }
.hero .eyebrow { color: #f0d994; margin-bottom: 1.8rem; }
.lead { font-size: clamp(1.12rem, 1rem + .4vw, 1.35rem); line-height: 1.65; }
.hero .lead { max-width: 44ch; color: #e4eef0; }
.hero-actions { margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.35rem; border: 1px solid currentColor; font: 700 .9rem/1.5 var(--heading); text-decoration: none; text-align: center; }
.btn-primary { background: var(--accent); color: #14211e; border-color: var(--accent); }
.btn-primary:hover { background: #e1b54e; border-color: #e1b54e; color: #14211e; }
.hero a:focus-visible, .site-footer a:focus-visible { outline-color: #f0d994; }
.hero-media { min-width: 0; min-height: 100%; position: relative; }
.hero-media img { position: absolute; width: 100%; height: 100%; object-position: center; }

.section { padding-block: clamp(3.5rem, 6.5vw, 6.5rem); background: var(--surface); }
.page-home main > .section:nth-child(odd) { background: var(--bg); }
.section-title { max-width: 24ch; color: var(--deep); }
.section-intro { max-width: 65ch; margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.75rem); background: var(--bg); border-top: 4px solid var(--accent); }
.card-title { max-width: 28ch; color: var(--deep); }
.card-text { margin-block: .35rem 1.75rem; }
.card-link { margin-top: auto; padding-block: .35rem; font: 700 .9rem/1.5 var(--heading); }
.card-link::after { content: '\2192'; display: inline-block; margin-left: .75rem; transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(4px); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.split-text { align-self: center; padding: clamp(1.75rem, 4.5vw, 4.5rem); }
.split-text .section-title::before { content: ''; display: block; width: 3rem; height: 3px; margin-bottom: 1.5rem; background: var(--accent); }
.split-text p:last-child { margin-bottom: 0; }
.split-media { min-height: 420px; position: relative; }
.split-media img { width: 100%; height: 100%; position: absolute; }
.section-feature .split { background: var(--surface); }
.section-feature:nth-child(even) .split { background: var(--bg); }
.section-feature:nth-child(even) .split-media { order: -1; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; list-style: none; padding: 0; margin: 2.5rem 0 0; counter-reset: facts; }
.fact { position: relative; counter-increment: facts; border-top: 1px solid var(--line); padding: 1.5rem 0 0 3.5rem; }
.fact::before { content: '0' counter(facts); position: absolute; top: 1.5rem; left: 0; font: 700 1.35rem/1.5 var(--heading); color: var(--green); }
.section-partners { border-top: 1px solid var(--line); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.partner { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid var(--line); background: var(--surface); }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 600 .84rem/1.6 var(--heading); }
.partner-phrase { margin: 1rem 0 .6rem; font: 650 clamp(1.15rem, 1.3vw, 1.35rem)/1.35 var(--heading); color: var(--deep); }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { margin: 0; font-size: .95rem; line-height: 1.7; }

.page-sub { background: var(--bg); }
.article { padding-block: clamp(2rem, 4.5vw, 4.5rem) clamp(3rem, 7vw, 7rem); }
.article > .wrap { max-width: 900px; }
.breadcrumb { font: 500 .8rem/1.65 var(--heading); margin-bottom: 2rem; overflow-wrap: anywhere; }
.breadcrumb a { margin-right: .5rem; }
.breadcrumb span { margin-left: .5rem; }
.page-header { border-top: 4px solid var(--accent); background: var(--deep); color: var(--surface); padding: clamp(1.5rem, 4vw, 3.5rem); }
.page-header h1 { font-size: clamp(2.1rem, 3.8vw, 3.5rem); max-width: 22ch; }
.page-header .lead { margin: 1.5rem 0 0; color: var(--bg); }
.prose { background: var(--surface); padding: clamp(1.5rem, 4vw, 3.5rem); overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); color: var(--deep); margin-top: 2.75rem; margin-bottom: 1.1rem; }
.prose h3 { margin-top: 2rem; }
.prose > p { line-height: 1.85; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.note { border-left: 4px solid var(--accent); background: var(--bg); padding: clamp(1.25rem, 2.5vw, 2rem); margin: 2.5rem 0; }
.note p { margin: 0; }
.site-footer { background: var(--deep); color: var(--surface); border-top: 5px solid var(--accent); padding-block: clamp(2rem, 4vw, 3.5rem); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem 4rem; }
.footer-note { max-width: 55ch; margin: 0; font-size: .95rem; }
.footer-nav { max-width: 340px; }
.footer-nav ul { gap: .5rem 1.5rem; }
.footer-nav a { display: inline-block; color: var(--surface); padding-block: .3rem; }
.footer-nav a:hover { color: #f0d994; }

@media (min-width: 1600px) {
  .hero-text { padding-left: 5.5rem; }
}
@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .hero-text { padding: 2.5rem 1.75rem; }
  .hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
  .split-text { padding: 2rem; }
  .split-media { min-height: 380px; }
  .footer-inner { flex-direction: column; }
  .footer-nav { max-width: none; }
}
@media (max-width: 640px) {
  .site-nav { width: 100%; font-size: .8rem; }
  .site-nav ul { justify-content: space-between; gap: .3rem .7rem; }
  .header-inner { min-height: auto; padding-block: 1.1rem .7rem; }
  .hero-inner, .split, .card-grid, .fact-list, .partner-list { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding: 2.75rem var(--gutter); }
  .hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 8.5vw, 3.4rem); }
  .hero-media { min-height: 0; aspect-ratio: 4 / 3; }
  .section-title { max-width: 25ch; }
  .split-text { padding: 1.75rem 1.5rem 2rem; }
  .split-media { min-height: 0; aspect-ratio: 4 / 3; }
  .section-feature:nth-child(even) .split-media { order: 0; }
  .section-intro { margin-bottom: 2rem; }
  .fact-list { gap: 1rem; }
  .page-header, .prose { padding: 1.5rem; }
  .page-header h1 { font-size: clamp(2rem, 7.5vw, 2.75rem); }
  .breadcrumb { margin-bottom: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  body, .page-sub, .prose, .page-header { background: white; color: black; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap, .article > .wrap { width: 100%; max-width: none; }
  .article, .prose, .page-header { padding: 1rem 0; }
  .page-header .lead { color: black; }
  a { color: inherit; }
  h2, h3 { break-after: avoid; }
  .note, .card, .partner { break-inside: avoid; }
}
