:root {
  --bg: #f5efe3;
  --surface: #fffdf8;
  --text: #1e1a1a;
  --accent: #b3141f;
  --accent2: #2c3e50;
  --line: #c8bdab;
  --heading: 'Arial Narrow', 'Helvetica Neue', Impact, Haettenschweiler, sans-serif;
  --body: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: clamp(1rem, .94rem + .2vw, 1.125rem)/1.75 var(--body); overflow-wrap: break-word; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
::selection { color: var(--surface); background: var(--accent); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .18s ease, background-color .18s ease; }
a:hover { color: var(--accent2); }
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; box-shadow: 0 0 0 3px var(--surface); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; font-family: var(--heading); font-weight: 800; font-stretch: condensed; text-transform: uppercase; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 4.7vw, 5rem); }
h2 { font-size: clamp(1.85rem, 2.7vw, 3rem); }
h3 { font-size: clamp(1.45rem, 1.9vw, 2rem); }
h4, h5, h6 { font-size: 1.2rem; }
p, ul, ol, dl, blockquote { margin: 0 0 1.35rem; }
ul, ol { padding-left: 1.5rem; }
li + li { margin-top: .35rem; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption, small { font-size: .875rem; }
figcaption { padding-top: .75rem; color: var(--accent2); }
hr { margin: 2rem 0; border: 0; border-top: 2px solid var(--line); }
blockquote { padding: 1rem 1.5rem; border-left: 5px solid var(--accent); background: var(--surface); }
strong, b { font-weight: 700; }
code, pre { font-family: monospace; font-size: .9em; }
pre { overflow: auto; padding: 1rem; background: var(--surface); }
table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-size: .95em; }
th, td { padding: .7rem; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
th { background: var(--accent2); color: var(--surface); font-family: var(--heading); }
button, input, select, textarea { max-width: 100%; font: inherit; padding: .65rem; border: 1px solid var(--accent2); border-radius: 0; }
button, summary { cursor: pointer; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .8rem 1.2rem; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-top: 8px solid var(--accent); border-bottom: 1px solid var(--text); background: var(--surface); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.3rem; }
.brand { max-width: 13rem; color: var(--text); font: 900 clamp(1.5rem, 2vw, 2rem)/.95 var(--heading); text-transform: uppercase; letter-spacing: -.04em; text-decoration: none; border-left: 6px solid var(--accent); padding: .25rem 0 .25rem .9rem; }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a { display: block; padding-block: .6rem; color: var(--accent2); font: 700 .875rem/1.3 var(--heading); text-transform: uppercase; letter-spacing: .065em; text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'], .page-home .site-nav a[href='index.html'] { color: var(--accent); border-bottom-color: var(--accent); }
.hero { padding-block: clamp(2rem, 5vw, 5rem); border-bottom: 9px solid var(--accent); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 4rem); align-items: stretch; }
.hero-text { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; color: var(--accent); font: 800 .8rem/1.4 var(--heading); text-transform: uppercase; letter-spacing: .16em; }
.eyebrow::before { content: ''; flex: 0 0 2rem; height: 6px; background: var(--accent); }
.hero h1 { color: var(--accent); max-width: 15ch; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.35rem); line-height: 1.65; }
.hero .lead { max-width: 55ch; font-size: clamp(1rem, .9rem + .3vw, 1.2rem); }
.hero-actions { margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 100%; min-height: 48px; padding: .95rem 1.3rem; border: 2px solid var(--accent); font: 800 .9rem/1.4 var(--heading); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; }
.btn::after { content: '\2192'; font-size: 1.3rem; }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn:hover { background: var(--accent2); border-color: var(--accent2); color: var(--surface); }
.hero-media { min-width: 0; position: relative; padding: 9px; border: 1px solid var(--accent2); background: var(--surface); box-shadow: 8px 8px 0 var(--accent2); }
.hero-media img { width: 100%; height: 100%; min-height: 420px; object-position: 52% center; filter: saturate(.75); }
.hero-media::after { content: ''; position: absolute; bottom: 9px; left: 9px; right: 9px; height: 9px; background: var(--accent); }
.section { padding-block: clamp(2.5rem, 5vw, 5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-title { max-width: 26ch; margin-bottom: 1.25rem; }
.section-intro { max-width: 65ch; margin-bottom: 2rem; color: var(--accent2); }
.page-home .section > .wrap > .prose { max-width: 78ch; }
.section-feature { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.split-text, .split-media { min-width: 0; }
.split-text .section-title { color: var(--accent2); }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding-bottom: .75rem; border-bottom: 7px solid var(--accent); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 7px solid var(--accent2); border-left: 1px solid var(--line); background: var(--surface); }
.card { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: .7rem 1.3rem; padding: clamp(1.3rem, 2.5vw, 2.5rem); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .2s ease; }
.card:hover { background: var(--bg); }
.card-num { grid-row: 1 / 4; margin: 0; padding-top: .15rem; border-right: 1px dashed var(--line); color: var(--accent); font: 800 2.3rem/1 var(--heading); font-variant-numeric: tabular-nums; }
.card-title { margin: 0; color: var(--accent2); }
.card-text { margin: 0; font-size: 1rem; }
.card-link { justify-self: start; display: inline-block; padding-block: .6rem; font: 800 .85rem/1.5 var(--heading); text-transform: uppercase; letter-spacing: .08em; }
.card-link::after { content: ' \2192'; padding-left: .5rem; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); padding: 0; list-style: none; border-top: 5px solid var(--accent); }
.fact { margin: 0; padding: 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.fact strong, .fact dt { display: block; color: var(--accent2); font: 800 1.75rem/1.2 var(--heading); }
.fact dd { margin: .5rem 0 0; }
.section-partners { background: #e9e1d2; }
.partner-list { padding: 0; margin: 0; list-style: none; }
.partner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: .6rem 2.5rem; max-width: 1000px; padding: clamp(1.5rem, 3vw, 3rem); background: var(--surface); border-block: 2px solid var(--accent2); border-inline: 1px solid var(--line); box-shadow: 0 5px 0 #d5cbbb; }
.partner::before, .partner::after { content: ''; position: absolute; top: calc(50% - 12px); width: 12px; height: 24px; background: #e9e1d2; }
.partner::before { left: -1px; border-radius: 0 24px 24px 0; border: 1px solid var(--line); border-left: 0; }
.partner::after { right: -1px; border-radius: 24px 0 0 24px; border: 1px solid var(--line); border-right: 0; }
.partner-link { min-width: 0; overflow-wrap: anywhere; font: 700 1rem/1.6 var(--heading); align-self: end; }
.partner-phrase { grid-column: 1; margin: 0; color: var(--accent2); font: 800 1.3rem/1.2 var(--heading); text-transform: uppercase; }
.partner-desc { grid-column: 2; grid-row: 1 / 3; padding-left: 2.5rem; border-left: 2px dashed var(--line); margin: 0; font-size: 1rem; }
.article { padding-block: clamp(1.5rem, 3vw, 3rem) clamp(3rem, 6vw, 6rem); }
.page-sub .article > .wrap { max-width: 1080px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; font: 700 .8rem/1.6 var(--heading); letter-spacing: .07em; text-transform: uppercase; }
.breadcrumb span { color: var(--accent2); }
.page-header { border-top: 7px solid var(--accent); border-bottom: 1px solid var(--accent2); padding-block: clamp(1.5rem, 3vw, 3rem); margin-bottom: 3rem; }
.page-header h1 { max-width: 23ch; color: var(--accent); font-size: clamp(2.5rem, 4.5vw, 4.6rem); }
.page-header .lead { max-width: 70ch; margin-bottom: 0; }
.prose { max-width: 72ch; }
.article .prose { margin-inline: auto; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.65rem, 2.2vw, 2.4rem); color: var(--accent2); }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose p { text-wrap: pretty; }
.prose a { overflow-wrap: anywhere; }
.prose-media { margin-block: 1.75rem; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-bottom: 5px solid var(--accent); }
.prose-media img { width: 100%; aspect-ratio: 3 / 2; }
.note { padding: 1.5rem; margin-block: 2rem; background: var(--surface); border-left: 6px solid var(--accent); color: var(--accent2); }
.note > :last-child { margin-bottom: 0; }
.site-footer { background: var(--accent2); color: var(--surface); border-top: 8px solid var(--accent); padding-block: clamp(2rem, 4vw, 4rem); }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 5rem; align-items: start; }
.footer-note { max-width: 53ch; margin: 0; font-size: 1rem; }
.footer-nav ul { gap: .4rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .5rem; color: var(--surface); font: 700 .85rem/1.4 var(--heading); text-transform: uppercase; letter-spacing: .06em; }
.footer-nav a:hover { text-decoration-thickness: 3px; }
@media (min-width: 1200px) {
  .page-home .section > .wrap:has(> .prose) { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
}
@media (max-width: 1000px) {
  .header-inner { align-items: start; flex-direction: column; gap: 1rem; }
  .brand { max-width: none; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
  .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
}
@media (max-width: 760px) {
  .hero-inner, .split, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 20ch; font-size: clamp(2.5rem, 7.5vw, 3.8rem); }
  .hero-media { margin-right: 8px; }
  .hero-media img { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
  .site-nav ul { gap: .15rem 1.1rem; }
  .site-nav a { font-size: .8rem; }
  .partner { grid-template-columns: minmax(0, 1fr); }
  .partner-desc { grid-column: 1; grid-row: auto; margin-top: 1rem; padding: 1rem 0 0; border-left: 0; border-top: 2px dashed var(--line); }
  .footer-inner { gap: 1.5rem; }
}
@media (max-width: 540px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card { grid-template-columns: 3rem minmax(0, 1fr); gap: .6rem 1rem; }
  .brand { font-size: 1.5rem; }
  .section-title { max-width: 100%; }
  .page-header h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
}
@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-nav, .skip-link, .hero-actions, .footer-nav { display: none; }
  .wrap { width: 100%; }
  .hero-inner, .split, .footer-inner { display: block; }
  .hero-media { box-shadow: none; }
  .hero-media img { height: auto; min-height: 0; max-height: 300px; }
  .site-footer { background: white; color: black; }
  .card, .partner, figure { break-inside: avoid; }
}
