:root {
  color-scheme: light;
  --bg: #eef4f7;
  --surface: #ffffff;
  --text: #17303d;
  --accent: #1c6a99;
  --accent2: #a8713a;
  --wood-ink: #805329;
  --muted: #4e6570;
  --line: #cddce3;
  --heading: Georgia, 'Iowan Old Style', 'Palatino Linotype', serif;
  --body: 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: clamp(1rem, .94rem + .2vw, 1.125rem); line-height: 1.8; overflow-wrap: break-word; }
.page { min-width: 0; }
main, section, article, header, footer, nav, div { min-width: 0; }
::selection { background: #c7e1ef; color: var(--text); }
a { color: var(--accent); text-underline-offset: .23em; text-decoration-thickness: 1px; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
a:hover { color: var(--wood-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .7em; font-family: var(--heading); font-weight: 400; line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.55rem + 2.6vw, 4.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.85rem, 1.35rem + 1.5vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.4rem, 1.15rem + .7vw, 1.9rem); }
h4, h5, h6 { font-size: 1.25rem; }
p { margin: 0 0 1.35em; }
ul, ol { padding-inline-start: 1.4rem; }
li { padding-inline-start: .15rem; }
li::marker { color: var(--wood-ink); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption, small { font-size: .875rem; color: var(--muted); }
figcaption { padding-top: .8rem; }
strong, b { font-weight: 650; }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
blockquote { margin: 2rem 0; padding: .5rem 0 .5rem 1.5rem; border-left: 3px solid var(--accent2); font-family: var(--heading); font-size: 1.3em; }
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: .95em; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: start; overflow-wrap: anywhere; }
button, input, textarea, select { max-width: 100%; font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .7rem 1.2rem; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--surface); border-top: 4px solid var(--accent2); }
.header-inner { display: flex; flex-direction: column; align-items: center; padding-top: 1.6rem; }
.brand { color: var(--text); font-family: var(--heading); font-size: clamp(1.9rem, 1.5rem + 1vw, 2.65rem); letter-spacing: -.04em; text-decoration: none; line-height: 1.3; }
.brand::after { content: ''; display: block; width: 2.6rem; height: 6px; margin: .7rem auto 0; border-top: 1px solid var(--accent2); border-bottom: 1px solid var(--accent2); }
.site-nav { width: 100%; margin-top: 1.15rem; border-top: 1px solid var(--line); }
.site-nav ul, .footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.site-nav ul { justify-content: center; gap: .15rem clamp(.8rem, 2vw, 2rem); }
.site-nav li, .footer-nav li { padding: 0; min-width: 0; }
.site-nav a { display: block; padding: .9rem 0; color: var(--text); font-size: .82rem; font-weight: 550; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'], .page-home .site-nav li:first-child a { color: var(--accent); border-bottom-color: var(--accent2); }
.hero { padding-top: clamp(3rem, 6vw, 6rem); }
.hero-inner { display: grid; gap: clamp(2.5rem, 4vw, 4rem); }
.hero-text { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 6.5rem); align-items: start; }
.eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; color: var(--wood-ink); font-size: .76rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 2.8rem; height: 1px; background: var(--accent2); }
.hero h1 { grid-column: 1; grid-row: 2 / 4; margin: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, .98rem + .3vw, 1.25rem); line-height: 1.8; }
.hero .lead { grid-column: 2; margin: 0 0 1.5rem; }
.hero-actions { grid-column: 2; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 1.4rem; min-height: 48px; padding: .8rem 1.5rem; border: 1px solid var(--accent2); border-radius: 2px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--wood-ink); color: white; }
.btn-primary::after, .card-link::after { content: '\2192'; }
.btn-primary:hover { background: #67411f; color: white; }
.hero-media { padding: clamp(.45rem, 1vw, .9rem); background: var(--surface); box-shadow: 0 16px 38px #17303d0a; }
.hero-media img { width: 100%; aspect-ratio: 2.35; object-position: center 55%; }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }
.section-title { max-width: 26ch; margin-bottom: 1.1rem; }
.section-intro { max-width: 76ch; color: var(--muted); margin-bottom: 2.5rem; }
.section > .wrap > p:not(.section-intro) { max-width: 79ch; }
.section > .wrap > p:last-child { margin-bottom: 0; }
.card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; margin: 2.5rem 0 3rem; counter-reset: guide; }
.card { grid-column: span 2; display: flex; flex-direction: column; align-items: start; padding: clamp(1.4rem, 2.5vw, 2.5rem); background: var(--surface); border-top: 2px solid var(--accent2); counter-increment: guide; }
.card:nth-child(n+4) { grid-column: span 3; }
.card::before { content: '0' counter(guide); margin-bottom: 1.8rem; font-family: var(--heading); font-size: 1.1rem; color: var(--wood-ink); }
.card-title { margin-bottom: .8rem; }
.card-text { color: var(--muted); font-size: .98rem; }
.card-link { display: inline-flex; align-items: center; gap: 1.5rem; margin-top: auto; padding-block: .5rem; font-size: .86rem; font-weight: 650; }
.section-feature { background: var(--surface); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-text p { color: var(--muted); }
.split-text > :last-child { margin-bottom: 0; }
.split-media { padding-bottom: 1.2rem; border-bottom: 2px solid var(--accent2); }
.split-media img { width: 100%; aspect-ratio: 1.12; }
.fact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: 0; margin: 2rem 0; list-style: none; }
.fact { padding: 1.5rem 0; border-top: 1px solid var(--accent2); }
.fact strong { display: block; font-family: var(--heading); font-size: 1.65rem; }
.section-partners { border-top: 1px solid var(--line); }
.section-partners .section-title { display: flex; align-items: center; gap: 1.5rem; }
.section-partners .section-title::after { content: ''; width: 4rem; height: 1px; background: var(--accent2); }
.partner-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding: 0; margin: 2.5rem 0 0; list-style: none; }
.partner { min-width: 0; padding: clamp(1.25rem, 2.3vw, 2rem); background: var(--surface); border-top: 1px solid var(--line); }
.partner-link { display: block; overflow-wrap: anywhere; word-break: normal; font-size: .84rem; line-height: 1.65; }
.partner-phrase { margin: 1.4rem 0 .75rem; font-family: var(--heading); font-size: 1.35rem; line-height: 1.3; }
.partner-desc { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.8; }
.page-sub main { border-top: 1px solid var(--line); }
.article { padding: clamp(2rem, 4vw, 4rem) 0 clamp(4rem, 7vw, 7rem); }
.breadcrumb { margin-bottom: clamp(2rem, 4vw, 4rem); font-size: .84rem; color: var(--muted); }
.breadcrumb a { margin-right: .5rem; }
.breadcrumb span { margin-left: .5rem; }
.page-header { max-width: 980px; margin: 0 auto clamp(2.5rem, 4vw, 4rem); }
.page-header h1 { max-width: 25ch; }
.page-header .lead { max-width: 76ch; margin-bottom: 0; }
.article-media { padding: clamp(.4rem, 1vw, .9rem); margin-bottom: clamp(2rem, 4vw, 4rem); background: var(--surface); }
.article-media img { width: 100%; aspect-ratio: 2.25; }
.prose { max-width: 850px; margin-inline: auto; padding: clamp(1.5rem, 4vw, 4rem); background: var(--surface); border-top: 2px solid var(--accent2); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + .8vw, 2.2rem); margin: 2.1em 0 .8em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose li + li { margin-top: .65rem; }
.note { padding: 1.4rem 1.6rem; margin-block: 2rem; border-left: 3px solid var(--accent2); background: var(--bg); color: var(--text); }
.site-footer { border-top: 3px solid var(--accent2); background: var(--surface); padding-block: clamp(2.5rem, 5vw, 5rem); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(2rem, 7vw, 7rem); }
.footer-note { max-width: 45ch; margin: 0; color: var(--muted); font-size: .92rem; }
.footer-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .4rem; font-size: .85rem; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-media img, .split-media img { transition: filter .35s ease; }
  .hero-media:hover img, .split-media:hover img { filter: saturate(1.08); }
  .card { transition: transform .2s ease, box-shadow .2s ease; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #17303d09; }
}
@media (max-width: 1000px) {
  .hero-text { column-gap: 2rem; }
  .hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); }
  .site-nav ul { column-gap: 1.25rem; }
  .card, .card:nth-child(n+4) { grid-column: span 3; }
  .card:last-child { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .split-text { max-width: 76ch; }
  .split-media img { aspect-ratio: 1.9; }
}
@media (max-width: 760px) {
  .hero-text { grid-template-columns: 1fr; }
  .hero h1, .hero .lead, .hero-actions { grid-column: 1; grid-row: auto; }
  .hero h1 { max-width: 23ch; margin-bottom: 1.3rem; }
  .hero .lead { max-width: 65ch; }
  .hero-media img { aspect-ratio: 1.65; }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .article-media img { aspect-ratio: 1.65; }
  .fact-list { grid-template-columns: 1fr; gap: .5rem; }
}
@media (max-width: 520px) {
  .header-inner { padding-top: 1.2rem; }
  .site-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .site-nav a { height: 100%; display: flex; align-items: center; padding-block: .65rem; font-size: .75rem; line-height: 1.5; min-height: 44px; }
  .hero { padding-top: 2.5rem; }
  .hero-media img, .split-media img { aspect-ratio: 1.35; }
  .card-grid, .partner-list { grid-template-columns: 1fr; }
  .card, .card:nth-child(n+4), .card:last-child { grid-column: auto; }
  .card::before { margin-bottom: 1rem; }
  .prose { padding: 1.5rem 1.2rem; }
  .partner { padding: 1.5rem; }
  .footer-nav ul { grid-template-columns: 1fr; }
  .footer-nav a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: 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%; }
  .section, .article { padding-block: 1rem; }
  .prose { max-width: none; padding: 0; border: 0; }
  .hero-text, .split { display: block; }
  .hero-media, .article-media { max-width: 75%; margin-inline: auto; box-shadow: none; }
  .card, .partner, figure { break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; }
}
