:root {
  --bg: #f5f6ef;
  --surface: #ffffff;
  --text: #1c2a26;
  --accent: #17706a;
  --accent2: #d08a1e;
  --muted: #52615a;
  --rule: #c9d1c7;
  --heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --body: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --space: clamp(3rem, 6vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.125rem/1.7 var(--body); }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
::selection { background: var(--accent); color: var(--surface); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 5px;
}
h1, h2, h3, h4, h5, h6 { margin: 0 0 1rem; font-family: var(--heading); font-weight: 750; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.1vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.65rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.1rem; }
p { margin: 0 0 1.25rem; }
ul, ol { padding-left: 1.4rem; }
li { padding-left: .15rem; }
li::marker { color: var(--accent); }
figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figcaption, small { font-size: .875rem; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
blockquote { margin: 2rem 0; padding: .5rem 1.5rem; border-left: 3px solid var(--accent); }
table { width: 100%; border-collapse: collapse; font-size: .95em; overflow-wrap: anywhere; }
th, td { padding: .7rem; text-align: left; border-bottom: 1px solid var(--rule); }
th { font-family: var(--heading); }
pre { max-width: 100%; overflow: auto; padding: 1rem; background: var(--surface); }
code { font-size: .9em; overflow-wrap: anywhere; }
input, select, textarea, button { max-width: 100%; font: inherit; color: inherit; }
button, input, select, textarea { border: 1px solid var(--rule); padding: .65rem; background: var(--surface); }
summary, button { cursor: pointer; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: var(--gutter); top: .75rem; padding: .75rem 1rem; background: var(--surface); transform: translateY(-180%); font-family: var(--heading); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-top: 5px solid var(--accent); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 96px; padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--text); font: 750 clamp(1.3rem, 2vw, 1.65rem)/1.1 var(--heading); letter-spacing: -.05em; text-decoration: none; }
.brand::before { content: ''; flex: 0 0 19px; width: 19px; height: 29px; border-left: 5px solid var(--accent); border-right: 5px solid var(--accent); transform: skewY(-24deg); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; padding: 0; margin: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: block; padding-block: .65rem; color: var(--text); font: 600 .875rem/1.4 var(--heading); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'], .page-home .site-nav a[href='index.html'] { border-bottom-color: var(--accent); color: var(--accent); }

.hero { padding-top: clamp(2.5rem, 5vw, 5rem); }
.hero-inner { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.hero-text { display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.eyebrow { grid-column: 1 / -1; margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem; color: var(--accent); font: 700 .75rem/1.5 var(--heading); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 2rem; height: 4px; background: var(--accent2); }
.hero h1 { grid-column: 1; grid-row: 2 / 4; max-width: 12ch; margin-bottom: 0; }
.lead { font-size: clamp(1.2rem, 1.65vw, 1.5rem); line-height: 1.55; }
.hero .lead { grid-column: 2; margin-top: .35rem; }
.hero-actions { grid-column: 2; margin-top: .5rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 48px; padding: .85rem 1.2rem; border: 1px solid var(--accent); font: 700 .875rem/1.4 var(--heading); text-decoration: none; transition: background-color 160ms ease, color 160ms ease; }
.btn::after { content: '\2197'; font-size: 1.2rem; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn:hover { background: var(--text); color: var(--surface); text-decoration: none; }
.hero-media { position: relative; border-bottom: 5px solid var(--accent); }
.hero-media::after { content: ''; position: absolute; bottom: -5px; right: 0; height: 5px; width: 16.666%; background: var(--accent2); }
.hero-media img { width: 100%; aspect-ratio: 2.65; object-position: center 58%; }

.section { padding-block: var(--space); }
.section + .section { border-top: 1px solid var(--rule); }
.section-title { max-width: 23ch; margin-bottom: 1.2rem; }
.section-intro { max-width: 65ch; color: var(--muted); margin-bottom: 2.25rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: guide; border-top: 1px solid var(--text); border-bottom: 1px solid var(--rule); }
.card { min-width: 0; display: flex; flex-direction: column; padding: 1.5rem clamp(1rem, 2vw, 2rem); background: var(--surface); border-right: 1px solid var(--rule); counter-increment: guide; transition: background-color 160ms ease; }
.card:first-child { border-left: 1px solid var(--rule); }
.card::before { content: counter(guide, decimal-leading-zero); color: var(--accent); font: 500 .875rem/1 var(--heading); font-variant-numeric: tabular-nums; padding-bottom: 2.5rem; }
.card:hover { background: #edf2eb; }
.card-title { font-size: clamp(1.25rem, 1.65vw, 1.55rem); line-height: 1.2; letter-spacing: -.025em; text-wrap: pretty; }
.card-text { font-size: 1rem; line-height: 1.6; color: var(--muted); }
.card-link { margin-top: auto; padding-top: 1.5rem; font: 700 .875rem/1.5 var(--heading); }
.card-link::after { content: '\2197'; display: inline-block; margin-left: .75rem; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split-text { min-width: 0; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { grid-column: 1; grid-row: 1; }
.split-text { grid-column: 2; grid-row: 1; }
.section-feature + .section-feature .split-media { grid-column: 2; }
.section-feature + .section-feature .split-text { grid-column: 1; }
.split-media img { width: 100%; aspect-ratio: 6 / 5; object-position: center; }
.split-text .section-title::before { content: ''; display: block; width: 3rem; height: 4px; background: var(--accent2); margin-bottom: 1.5rem; }
.fact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.fact { padding: 1rem 0 0; border-top: 3px solid var(--accent); font-size: 1.05rem; }
.section-partners { background: #edf0e8; }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.partner { min-width: 0; padding: clamp(1.25rem, 2.3vw, 2rem); border: 1px solid #bec9bf; }
.partner-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font: 600 .875rem/1.55 var(--heading); }
.partner-phrase { margin: 1rem 0 .65rem; font: 700 clamp(1.15rem, 1.6vw, 1.4rem)/1.25 var(--heading); letter-spacing: -.02em; }
.partner-phrase::first-letter { text-transform: uppercase; }
.partner-desc { margin: 0; font-size: 1rem; line-height: 1.65; color: var(--muted); }

.page-sub main { border-top: 3px solid var(--accent2); }
.article { padding-block: clamp(2rem, 5vw, 4.5rem) var(--space); }
.article > .wrap { max-width: 740px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; color: var(--muted); font: 500 .8125rem/1.5 var(--heading); }
.page-header { padding-bottom: 2rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--rule); }
.page-header h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.08; max-width: 22ch; }
.page-header .lead { margin: 1.5rem 0 0; color: var(--muted); }
.prose { font-size: clamp(1.0625rem, 1.25vw, 1.1875rem); line-height: 1.8; overflow-wrap: anywhere; }
.prose h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1.2; margin: 2.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); text-wrap: pretty; }
.prose h3 { margin-top: 2rem; }
.prose li { margin-block: .6rem; }
.note { padding: 1.5rem clamp(1.25rem, 3vw, 2rem); margin-top: 2.5rem; border-left: 4px solid var(--accent); background: var(--surface); }
.note p { margin: 0; }
.site-footer { border-top: 1px solid var(--accent); padding-block: 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-note { max-width: 56ch; margin: 0; font-size: .9375rem; color: var(--muted); }
.footer-nav { flex-shrink: 0; }
.footer-nav a { display: inline-block; padding-block: .25rem; font: 600 .8125rem/1.5 var(--heading); }

@media (min-width: 1440px) {
  .hero-media img { aspect-ratio: 2.85; }
}
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; }
  .hero-text { column-gap: 2rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card:nth-child(3) { border-left: 1px solid var(--rule); }
  .card:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .fact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .header-inner { gap: .75rem; padding-block: 1.25rem .5rem; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: space-between; gap: 0 .6rem; }
  .site-nav a { font-size: .75rem; padding-block: .8rem; }
  .hero-text { display: block; }
  .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  .hero h1 { max-width: 13ch; margin-bottom: 1.5rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-media img { aspect-ratio: 1.5; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .split > *, .section-feature + .section-feature .split > * { grid-column: 1; grid-row: auto; min-width: 0; }
  .split-text { width: 100%; }
  .split-media { order: -1; }
  .split-media img { aspect-ratio: 4 / 3; }
  .partner-list { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 1.25rem 1rem; }
  .card-title { font-size: 1.125rem; }
  .card-text { font-size: .9375rem; }
  .card::before { padding-bottom: 1.75rem; }
  .fact-list { gap: 1.25rem; }
  .fact { font-size: 1rem; }
  .breadcrumb { margin-bottom: 2rem; }
  .footer-nav { flex-shrink: 1; }
}
@media (max-width: 390px) {
  .card-grid, .fact-list { grid-template-columns: minmax(0, 1fr); }
  .card { border-left: 1px solid var(--rule); }
  .card + .card { border-top: 1px solid var(--rule); }
  .card-title { font-size: 1.35rem; }
  .card::before { padding-bottom: 1.25rem; }
}
@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%; }
  .article { padding: 0; }
  .article > .wrap { max-width: none; }
  .note, figure, .card, .partner { break-inside: avoid; }
  a { color: inherit; }
}
