:root {
  --bg: #ddd6c6;
  --surface: #efe9dc;
  --text: #1f2326;
  --accent: #2e4b57;
  --rust: #9c3d22;
  --heading: 'Rockwell', 'Roboto Slab', 'Courier New', Georgia, serif;
  --body: 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 4.5vw, 76px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--text);
  background-color: var(--bg);
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(31,35,38,.025) 3px 4px), repeating-linear-gradient(90deg, transparent 0 4px, rgba(255,255,255,.13) 4px 5px);
  font-family: var(--body);
  font-size: clamp(16px, .25vw + 15px, 19px);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
.page { min-width: 0; }
main { display: block; }
.wrap { width: min(100% - var(--gutter) * 2, 1380px); margin-inline: auto; }
:where(section, article, div, nav, figure, li) { min-width: 0; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em;
  font-family: var(--heading);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6.2vw, 6.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.9rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
h4, h5, h6 { font-size: 1.25rem; }
p { margin: 0 0 1.3em; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .23em; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
::selection { background: var(--accent); color: var(--surface); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
figcaption { margin-top: .7rem; font-size: .85rem; }
ul, ol { padding-left: 1.5em; }
li::marker { color: var(--rust); }
strong, b { font-weight: 750; }
hr { margin-block: 2rem; border: 0; border-top: 2px solid var(--text); }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 5px solid var(--rust); background: var(--surface); }
blockquote p:last-child { margin-bottom: 0; }
code, pre { font-family: 'Courier New', monospace; background: var(--surface); }
pre { padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; font-size: .9em; }
th, td { padding: .7rem; border: 1px solid var(--accent); text-align: left; overflow-wrap: anywhere; }
button, input, select, textarea { max-width: 100%; font: inherit; color: inherit; border: 1px solid var(--accent); border-radius: 0; padding: .6rem; background: var(--surface); }
.skip-link { position: absolute; top: 12px; left: var(--gutter); padding: .7rem 1rem; background: var(--surface); z-index: 10; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { border-top: 8px solid var(--text); }
.header-inner { padding-top: 25px; }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--text); font-family: var(--heading); font-size: clamp(1.65rem, 2.9vw, 2.8rem); font-weight: 900; letter-spacing: -.06em; line-height: 1.15; text-decoration: none; }
.brand::before { content: ''; width: 23px; height: 33px; flex: 0 0 23px; border-inline: 4px solid var(--rust); background: linear-gradient(35deg, transparent 42%, var(--rust) 43% 51%, transparent 52%); transform: skewY(-9deg); }
.site-nav { margin-top: 22px; border-top: 1px solid var(--text); border-bottom: 3px solid var(--text); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; list-style: none; gap: 0 26px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 13px 0; color: var(--text); font-size: .83rem; font-weight: 750; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--rust); text-decoration: underline; text-decoration-thickness: 3px; }
.page-home .hero { padding-block: clamp(36px, 5vw, 76px) clamp(48px, 6vw, 90px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; column-gap: clamp(28px, 6vw, 90px); }
.hero-text { display: contents; }
.eyebrow { grid-column: 1 / -1; margin-bottom: 24px; color: var(--rust); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { grid-column: 1 / -1; margin-bottom: .45em; padding-bottom: .38em; border-bottom: 8px solid var(--text); }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.4rem); line-height: 1.65; }
.hero .lead { grid-column: 1; grid-row: 3; margin-bottom: 22px; }
.hero-actions { grid-column: 1; grid-row: 4; align-self: end; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 15px 23px; border: 2px solid var(--text); font-size: .93rem; font-weight: 750; text-decoration: none; line-height: 1.4; }
.btn::after, .card-link::after { content: ''; display: inline-block; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex-shrink: 0; }
.btn-primary { color: var(--surface); background: var(--accent); box-shadow: 4px 4px 0 var(--text); }
.btn-primary:hover { color: var(--surface); background: var(--rust); }
.hero-media { grid-column: 2; grid-row: 3 / 5; border: 1px solid var(--text); padding: 8px; background: var(--surface); position: relative; }
.hero-media::after { content: ''; position: absolute; bottom: 18px; right: 18px; width: 35px; height: 35px; border-right: 4px solid var(--surface); border-bottom: 4px solid var(--surface); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; min-height: 300px; aspect-ratio: 4 / 3; }
.section { padding-block: clamp(44px, 6vw, 88px); }
.section-title { position: relative; border-top: 7px solid var(--text); padding-top: 24px; padding-right: 45px; margin-bottom: 28px; }
.section-title::after { content: ''; position: absolute; right: 2px; top: 26px; width: 25px; height: 29px; border-left: 3px solid var(--rust); border-right: 3px solid var(--rust); background: linear-gradient(135deg, transparent 43%, var(--rust) 44% 51%, transparent 52%); transform: skewY(-12deg); }
.section-intro { max-width: 59ch; margin-bottom: 30px; font-size: 1.1em; }
.section > .wrap > p:not(.section-intro) { max-width: 70ch; }
.section-feature { background: var(--surface); border-block: 1px solid var(--accent); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.split-text p { max-width: 60ch; }
.split-text p:last-child { margin-bottom: 0; }
.split-media { padding: 0 0 12px 12px; border-left: 6px solid var(--rust); border-bottom: 6px solid var(--rust); }
.split-media img { width: 100%; aspect-ratio: 4 / 5; }
.card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-block: 35px; counter-reset: boards; }
.card { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.5vw, 36px); border: 1px solid var(--text); border-top: 6px solid var(--accent); background: var(--surface); box-shadow: 3px 3px 0 rgba(31,35,38,.18); counter-increment: boards; }
.card:nth-child(n+4) { grid-column: span 3; }
.card::before { content: '0' counter(boards); font-family: var(--heading); font-size: 1rem; font-weight: 700; color: var(--rust); padding-bottom: 25px; }
.card-title { max-width: 19ch; }
.card-text { font-size: .95em; margin-bottom: 30px; }
.card-link { display: inline-flex; align-items: center; gap: 24px; margin-top: auto; padding-block: 8px; font-size: .85rem; font-weight: 800; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; border-top: 3px solid var(--text); }
.fact { padding: 22px; border-bottom: 1px solid var(--accent); }
.fact strong { display: block; font-family: var(--heading); font-size: 1.7em; }
.section-partners { border-top: 1px solid var(--accent); background: rgba(239,233,220,.55); }
.partner-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; padding: 1px; margin: 32px 0 0; list-style: none; background: var(--accent); border: 1px solid var(--accent); }
.partner { display: flex; flex-direction: column; padding: 22px; background: var(--surface); }
.partner-link { overflow-wrap: anywhere; word-break: normal; font-size: .75rem; line-height: 1.55; }
.partner-phrase { margin-block: 16px 12px; font-family: var(--heading); font-weight: 700; font-size: 1.15rem; line-height: 1.25; overflow-wrap: anywhere; }
.partner-desc { margin: 0; font-size: .84rem; line-height: 1.7; }
.article { padding-block: 32px clamp(64px, 8vw, 120px); }
.page-sub .article > .wrap { max-width: 1120px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; margin-bottom: 36px; }
.breadcrumb a { font-weight: 700; }
.page-header { margin-bottom: 40px; }
.page-header h1 { font-size: clamp(2.25rem, 5.5vw, 5.5rem); padding-bottom: .4em; border-bottom: 7px solid var(--text); }
.page-header .lead { max-width: 58ch; margin: 30px auto 0; }
.article-figure { max-width: 880px; margin: 44px auto; padding: 8px; background: var(--surface); border: 1px solid var(--text); }
.article-figure img { width: 100%; max-height: 600px; object-fit: cover; }
.prose { max-width: 62ch; margin-inline: auto; overflow-wrap: anywhere; }
.prose h2 { margin-top: 1.65em; padding-top: 20px; border-top: 4px solid var(--accent); font-size: clamp(1.7rem, 2.7vw, 2.65rem); line-height: 1.17; text-wrap: pretty; }
.prose h3 { margin-top: 1.5em; }
.prose p { margin-bottom: 1.45em; }
.prose li { padding-left: .3em; margin-bottom: .6em; }
.note { padding: 24px; border-left: 5px solid var(--rust); background: var(--surface); margin-block: 28px; }
.note > :last-child { margin-bottom: 0; }
.site-footer { border-top: 8px solid var(--text); background: var(--accent); color: var(--surface); padding-block: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-note { max-width: 50ch; margin: 0; font-size: .9rem; }
.footer-nav ul { gap: 4px 24px; justify-content: flex-end; }
.footer-nav a { display: inline-block; color: var(--surface); font-size: .8rem; padding-block: 8px; }
.footer-nav a:hover { text-decoration-thickness: 3px; }
.site-footer :focus-visible { outline-color: var(--surface); }
@media (min-width: 1500px) {
  .hero h1 { font-size: 6.3rem; }
}
@media (max-width: 1000px) {
  .partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-inner { column-gap: 30px; }
  .hero .lead { font-size: 1.05rem; }
  .split { gap: 32px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-nav ul { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .site-nav ul { column-gap: 20px; }
  .site-nav a { padding-block: 9px; font-size: .77rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.35rem, 7.4vw, 3.7rem); }
  .hero .lead { grid-column: 1; grid-row: auto; font-size: 1.05rem; }
  .hero-actions { grid-column: 1; grid-row: auto; margin-bottom: 30px; }
  .hero-media { grid-column: 1; grid-row: auto; }
  .hero-media img { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-media { max-width: 100%; }
  .split-media img { aspect-ratio: 3 / 2; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card:nth-child(n+4) { grid-column: auto; }
  .card:last-child { grid-column: 1 / -1; }
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner { padding: 18px; }
}
@media (max-width: 480px) {
  .eyebrow { font-size: .75rem; letter-spacing: .1em; }
  .hero h1, .page-header h1 { font-size: clamp(1.2rem, 5.5vw, 1.65rem); }
  h2, .prose h2 { font-size: clamp(1.2rem, 5.2vw, 1.5rem); }
  .card-grid, .partner-list { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .card::before { padding-bottom: 16px; }
  .section-title { padding-right: 36px; }
  .partner { padding: 22px; }
  .breadcrumb { margin-bottom: 26px; }
}
@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; }
  .page-header h1 { font-size: 30pt; }
  .prose { max-width: 70ch; }
  a { color: black; }
  h2, h3 { break-after: avoid; }
  img, .card, .partner { break-inside: avoid; }
}
