:root {
  --bg: #dde5e2;
  --surface: #f4f7f5;
  --text: #22292a;
  --accent: #a8502a;
  --pine: #2f6b4f;
  --muted: #4d5e56;
  --line: #9baea3;
  --heading: 'Palatino Linotype', Palatino, 'Book Antiqua', serif;
  --body: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { 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, .96rem + .16vw, 1.125rem); line-height: 1.75; }
.page { min-width: 0; }
main { display: block; }
::selection { background: var(--pine); color: var(--surface); }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; box-shadow: 0 0 0 2px var(--surface); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; font-family: var(--heading); line-height: 1.13; font-weight: 700; text-wrap: balance; overflow-wrap: break-word; }
h1 { font-size: clamp(2.6rem, 2rem + 3vw, 5.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 1.45rem + 1.4vw, 3.1rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.4rem, 1.2rem + .5vw, 1.8rem); }
h4, h5, h6 { font-size: 1.2rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.4em; }
li { padding-left: .15em; }
img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
hr { border: 0; border-top: 2px dotted var(--line); margin: 2.5rem 0; }
blockquote { margin: 2rem 0; padding: .5rem 1.5rem; border-left: 3px solid var(--pine); font-family: var(--heading); font-size: 1.35rem; }
code, pre { font-size: .9em; overflow-wrap: anywhere; }
pre { max-width: 100%; overflow: auto; padding: 1rem; background: var(--bg); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; }
.wrap { width: min(1200px, calc(100% - clamp(2rem, 7vw, 7rem))); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .7rem 1rem; background: var(--surface); color: var(--text); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-top: 6px solid var(--pine); background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 106px; padding-block: 1.2rem; border-bottom: 1px solid var(--line); }
.brand { flex-shrink: 0; font-family: var(--heading); font-weight: 700; font-size: clamp(1.65rem, 1.4rem + .6vw, 2.1rem); color: var(--text); text-decoration: none; letter-spacing: -.04em; }
.brand::before { content: ''; display: inline-block; width: .7rem; height: .7rem; margin-right: .7rem; border: 3px double var(--accent); border-radius: 50%; vertical-align: .12em; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: inline-block; padding-block: .4rem; color: var(--text); text-decoration: none; font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { border-color: var(--accent); }

.page-home .hero { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 4vw, 4rem); }
.hero-inner { display: flex; flex-direction: column; padding: clamp(.5rem, 1vw, .85rem); background: var(--surface); border: 1px solid var(--pine); box-shadow: 6px 7px 0 #bccbc2; }
.hero-media { order: -1; border: 1px solid var(--pine); border-bottom: 0; }
.hero-media img { height: clamp(230px, 32vw, 445px); object-position: center 54%; }
.hero-text { display: grid; grid-template-columns: 1.18fr 1fr; gap: .7rem clamp(1.5rem, 4vw, 4.5rem); padding: clamp(1.5rem, 3.5vw, 3.5rem); color: var(--surface); background: var(--pine); border-top: 8px solid var(--accent); }
.eyebrow { font-size: .72rem; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; line-height: 1.7; }
.hero .eyebrow { grid-column: 1 / -1; margin-bottom: 1rem; }
.hero h1 { grid-column: 1; grid-row: 2 / 4; margin: 0; max-width: 11ch; font-size: clamp(2.75rem, 2rem + 3.1vw, 5rem); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.65; }
.hero .lead { font-size: clamp(1rem, .92rem + .3vw, 1.2rem); margin-bottom: .75rem; }
.hero-actions { align-self: end; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; padding: .85rem 1.3rem; min-height: 48px; border: 1px solid currentColor; font-size: .85rem; font-weight: 700; text-decoration: none; letter-spacing: .035em; transition: background-color .18s ease, transform .18s ease; }
.btn::after { content: '\2192'; font-size: 1.2rem; }
.btn-primary { background: var(--surface); color: var(--pine); border-color: var(--surface); }
.btn-primary:hover { background: var(--bg); transform: translateY(-2px); }

.section { position: relative; padding-block: clamp(2.8rem, 5vw, 5rem); }
.section + .section::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1200px, calc(100% - clamp(2rem, 7vw, 7rem))); transform: translateX(-50%); border-top: 2px dotted var(--line); }
.section-title { max-width: 24ch; margin-bottom: .5em; }
.section-intro { max-width: 66ch; color: var(--muted); margin-bottom: 2.25rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: route; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 1.4rem; border: 1px dashed var(--pine); border-top: 5px solid var(--accent); background: var(--surface); counter-increment: route; transition: transform .2s ease, box-shadow .2s ease; }
.card::before { content: 'ROUTE ' counter(route, decimal-leading-zero); display: block; margin-bottom: 1.75rem; color: var(--pine); font-size: .68rem; font-weight: 750; letter-spacing: .17em; }
.card::after { content: ''; position: absolute; right: -1px; top: 1.2rem; width: .55rem; height: 1.1rem; background: var(--bg); border: 1px solid var(--pine); border-right: 0; border-radius: 1rem 0 0 1rem; }
.card-title { font-size: clamp(1.4rem, 1.15rem + .4vw, 1.65rem); line-height: 1.2; }
.card-text { color: var(--muted); font-size: .94rem; line-height: 1.7; }
.card-link { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: .8rem; font-weight: 700; }
.card-link::after { content: '\2197'; margin-left: .5rem; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 3px 5px 0 #bccbc2; } }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split-text { min-width: 0; max-width: 55ch; }
.split-text .section-title::before { content: ''; display: block; width: 3rem; height: 5px; background: var(--accent); margin-bottom: 1.4rem; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { min-width: 0; padding: .65rem; border: 1px solid var(--pine); background: var(--surface); box-shadow: 5px 5px 0 #bccbc2; }
.split-media img { aspect-ratio: 6 / 5; object-fit: cover; }
.section-feature:nth-of-type(3) .split-media { max-width: 410px; justify-self: center; transform: rotate(1.5deg); }
.section-feature:nth-of-type(3) .split-media img { aspect-ratio: 4 / 5; }
.section-feature:nth-of-type(4) .split-text { order: 2; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; list-style: none; padding: 0; margin: 2rem 0 0; border-top: 3px solid var(--pine); }
.fact { position: relative; margin: 0; padding: 1.25rem 0 1.25rem 1.75rem; border-bottom: 1px solid var(--line); }
.fact::before { content: ''; position: absolute; left: 0; top: 1.85rem; width: .5rem; height: .5rem; border: 2px solid var(--pine); border-radius: 50%; }

.section-partners { background: var(--surface); border-top: 5px solid var(--pine); }
.section.section-partners::before { display: none; }
.partner-list { list-style: none; padding: 0; margin: 0; counter-reset: entry; }
.partner { display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 1.6rem; row-gap: .4rem; padding: 1.6rem 0; border-top: 1px dotted var(--pine); counter-increment: entry; min-width: 0; }
.partner::before { content: counter(entry, decimal-leading-zero); grid-column: 1; grid-row: 1 / 3; font-size: .75rem; letter-spacing: .06em; color: var(--accent); padding-top: .3rem; }
.partner-link { grid-column: 2; grid-row: 2; min-width: 0; overflow-wrap: anywhere; font-size: .78rem; line-height: 1.7; }
.partner-phrase { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: .7rem; margin: 0; font-family: var(--heading); font-size: 1.3rem; line-height: 1.3; }
.partner-phrase::after { content: ''; flex: 1; min-width: 1.2rem; border-bottom: 1px dotted var(--line); }
.partner-desc { grid-column: 3; grid-row: 1 / 3; margin: 0; font-size: .9rem; line-height: 1.75; color: var(--muted); }

.page-sub .article { padding: clamp(1.5rem, 4vw, 4rem) 0 clamp(3rem, 6vw, 6rem); }
.article > .wrap { max-width: 850px; padding: clamp(1.2rem, 4vw, 3.5rem); background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--pine); box-shadow: 5px 6px 0 #c7d3cc; }
.breadcrumb { font-size: .75rem; color: var(--muted); margin-bottom: 2.4rem; }
.breadcrumb a { margin-right: .45rem; }
.breadcrumb span { margin-left: .45rem; }
.page-header { padding-bottom: 1.6rem; margin-bottom: 2rem; border-bottom: 2px dotted var(--line); }
.page-header h1 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.8rem); }
.page-header .lead { margin-bottom: 0; color: var(--muted); }
.prose { font-size: clamp(1rem, .95rem + .2vw, 1.1rem); line-height: 1.85; overflow-wrap: anywhere; }
.prose h2 { margin: 2.2rem 0 1rem; font-size: clamp(1.6rem, 1.4rem + .7vw, 2.15rem); }
.prose h2::before { content: ''; display: block; width: 2.2rem; height: 3px; background: var(--pine); margin-bottom: .8rem; }
.prose li { margin-block: .6rem; }
.note { position: relative; margin: 2.5rem 0 0; padding: 1.5rem; border: 1px solid var(--pine); border-left: 5px solid var(--pine); background: var(--bg); font-size: .96rem; }
.note::before { content: ''; position: absolute; top: -5px; right: 1.5rem; width: 2rem; height: 8px; background: var(--accent); }
.note p:last-child { margin-bottom: 0; }
.site-footer { padding-block: 2.5rem; background: var(--pine); color: var(--surface); border-top: 7px double var(--surface); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; }
.footer-note { max-width: 57ch; margin: 0; font-size: .8rem; line-height: 1.8; }
.footer-nav { max-width: 370px; }
.footer-nav ul { gap: .55rem 1.3rem; }
.footer-nav a { color: var(--surface); font-size: .8rem; display: inline-block; padding-block: .25rem; }

@media (min-width: 1500px) { .wrap { width: min(1280px, calc(100% - 8rem)); } }
@media (max-width: 1050px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 1.6rem; }
  .hero-text { gap: 1rem 2rem; }
  .hero h1 { font-size: clamp(2.7rem, 5.5vw, 4.5rem); }
}
@media (max-width: 700px) {
  .site-nav ul { gap: .2rem 1rem; }
  .site-nav a { font-size: .7rem; }
  .hero-text { display: block; }
  .hero h1 { max-width: 13ch; margin-bottom: 1.25rem; }
  .hero .lead { margin-bottom: 1.5rem; }
  .hero .eyebrow { font-size: .65rem; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .section-feature:nth-of-type(3) .split-media { transform: none; width: 100%; max-width: none; }
  .section-feature:nth-of-type(3) .split-media img { aspect-ratio: 5 / 4; object-position: center 58%; }
  .section-feature:nth-of-type(4) .split-text { order: 0; }
  .fact-list { grid-template-columns: minmax(0, 1fr); }
  .partner { grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: .75rem; }
  .partner-desc { grid-column: 2; grid-row: 3; margin-top: .4rem; }
  .partner-phrase::after { min-width: 1rem; }
  .footer-inner { flex-direction: column; gap: 1.25rem; }
  .footer-nav { max-width: none; }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card::before { margin-bottom: 1rem; }
  .hero-text { padding: 1.3rem; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3rem); }
  .hero-media img { height: 240px; }
  .page-header h1 { font-size: 2.2rem; }
  .article > .wrap { padding: 1.2rem; }
  .note { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .btn:hover { transform: none; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .site-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .wrap { width: 100%; }
  .article > .wrap, .hero-inner, .split-media { box-shadow: none; }
  .hero-text, .site-footer { background: white; color: black; }
  .section, .article { padding-block: 1.5rem; }
  .card, .note, .split-media { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
}
