:root {
  color-scheme: dark;
  --bg: #2a2926;
  --surface: #35332f;
  --text: #f0ebe2;
  --accent: #e8b82a;
  --steel: #c8d4da;
  --ink: #211f1c;
  --line: #5c5952;
  --heading: Impact, 'Arial Narrow Bold', 'Franklin Gothic Medium', 'Helvetica Neue', Arial, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-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-family: var(--body); font-size: clamp(1rem, .94rem + .2vw, 1.125rem); line-height: 1.7; }
.page { min-width: 0; }
.page-home main { overflow: clip; }
main, article, section, nav, figure, div { min-width: 0; }
::selection { background: var(--accent); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .23em; text-decoration-thickness: 1px; overflow-wrap: anywhere; transition: color .18s ease, background-color .18s ease; }
a:hover { color: var(--text); }
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; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .65em; font-family: var(--heading); font-weight: 400; line-height: 1.08; text-transform: uppercase; letter-spacing: .015em; overflow-wrap: anywhere; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.1vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.3vw, 3.5rem); }
h3 { font-size: clamp(1.45rem, 1.9vw, 2rem); }
h4, h5, h6 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.5rem; }
li { padding-left: .15rem; }
strong, b { font-weight: 750; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--ink); }
code, pre { font-family: ui-monospace, monospace; background: var(--ink); overflow-wrap: anywhere; }
pre { padding: 1rem; white-space: pre-wrap; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .75rem; border: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
button, input, select, textarea { max-width: 100%; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--steel); padding: .65rem; }
figcaption, small { font-size: .875rem; color: var(--steel); }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 20; padding: .75rem 1.25rem; background: var(--accent); color: var(--ink); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); color: var(--ink); }
.site-header { position: relative; z-index: 3; background: var(--ink); border-top: 5px solid var(--accent); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.4rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--text); font-family: var(--heading); font-size: clamp(1.5rem, 2.1vw, 2rem); line-height: 1.1; text-transform: uppercase; text-decoration: none; }
.brand::before { content: ''; flex: 0 0 25px; height: 29px; background: repeating-linear-gradient(112deg, var(--accent) 0 6px, transparent 6px 10px); }
.site-nav ul, .footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; }
.site-nav li, .footer-nav li { padding: 0; }
.site-nav a { display: block; padding: .55rem 0; color: var(--steel); font-size: .875rem; font-weight: 650; text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); border-color: var(--accent); }

.hero { position: relative; padding-block: clamp(2rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem); isolation: isolate; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 30px; background: var(--accent); clip-path: polygon(0 88%, 100% 0, 100% 16%, 0 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1.06fr; align-items: stretch; position: relative; }
.hero-text { position: relative; z-index: 1; padding: clamp(1.5rem, 3vw, 3rem) 2rem clamp(1.5rem, 3vw, 3rem) 0; align-self: center; }
.hero-text::before { content: ''; position: absolute; z-index: -1; inset: -1px -5rem -1px calc(-1 * var(--gutter)); background: var(--bg); clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
.hero h1 { max-width: 10ch; margin-bottom: .35em; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1.5rem; }
.lead { color: var(--steel); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.65; }
.hero .lead { max-width: 45ch; font-size: clamp(1rem, .92rem + .25vw, 1.15rem); }
.hero-actions { margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.4rem; min-height: 48px; font-weight: 750; text-decoration: none; border: 1px solid var(--accent); }
.btn-primary { color: var(--ink); background: var(--accent); box-shadow: 5px 5px 0 var(--ink); }
.btn-primary::after { content: '\2197'; margin-left: 1.25rem; }
.btn-primary:hover { background: var(--text); color: var(--ink); }
.hero-media { min-height: 540px; margin-left: -2rem; position: relative; background: var(--surface); }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-position: 60% center; }
.hero-media::after { content: ''; position: absolute; right: 0; bottom: 0; width: 100px; height: 12px; background: repeating-linear-gradient(115deg, var(--accent) 0 12px, var(--ink) 12px 20px); }

.section { position: relative; isolation: isolate; padding-block: clamp(4rem, 7vw, 7rem); }
.section-title { max-width: 22ch; }
.section-intro { max-width: 65ch; color: var(--steel); margin-bottom: 2.5rem; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; padding: clamp(1.2rem, 2vw, 1.8rem); border-top: 5px solid var(--accent); background: var(--surface); transition: transform .2s ease, background-color .2s ease; }
.card-title { font-size: clamp(1.4rem, 1.75vw, 1.85rem); line-height: 1.18; }
.card-text { font-size: .95rem; color: var(--steel); }
.card-link { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 750; }
.card-link::after { content: '\2192'; margin-left: .75rem; }
.section-feature::before, .section-partners::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--surface); clip-path: polygon(0 3vw, 100% 0, 100% calc(100% - 3vw), 0 100%); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split-text { padding-block: 1rem; max-width: 54ch; }
.split-text p { color: var(--steel); }
.split-text .section-title { max-width: 15ch; }
.split-media { position: relative; padding: 0 0 12px 12px; }
.split-media::before { content: ''; position: absolute; z-index: -1; inset: 22% 20% 0 0; background: var(--accent); }
.split-media img { width: 100%; height: clamp(320px, 32vw, 460px); object-position: center; }
.section-feature + .section-feature::before { background: var(--ink); clip-path: polygon(0 0, 100% 3vw, 100% 100%, 0 calc(100% - 3vw)); }
.section-feature + .section-feature .split-text { order: 2; }
.section-feature + .section-feature .split-media { order: 1; }
.fact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: checks; }
.fact { position: relative; padding: 1.5rem 0 1.5rem 3.5rem; border-top: 1px solid var(--line); counter-increment: checks; }
.fact::before { content: counter(checks, decimal-leading-zero); position: absolute; top: 1.45rem; left: 0; font-family: var(--heading); font-size: 1.8rem; color: var(--accent); line-height: 1.3; }
.section-partners { padding-bottom: clamp(5rem, 8vw, 8rem); }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.partner { padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--bg); border-left: 2px solid var(--line); }
.partner-link { display: inline-block; max-width: 100%; color: var(--accent); overflow-wrap: anywhere; font-size: .9rem; font-weight: 650; }
.partner-phrase { font-family: var(--heading); text-transform: uppercase; font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.2; letter-spacing: .02em; margin: 1rem 0 .65rem; }
.partner-desc { margin: 0; color: var(--steel); font-size: .925rem; line-height: 1.75; }

.page-sub main { padding: clamp(1.5rem, 4vw, 4rem) var(--gutter) clamp(3rem, 6vw, 6rem); }
.article { max-width: 900px; margin-inline: auto; background: var(--surface); border-top: 6px solid var(--accent); position: relative; }
.article::after { content: ''; position: absolute; inset: auto 0 -14px; height: 14px; background: var(--surface); clip-path: polygon(0 0, 100% 0, 0 100%); }
.article > .wrap { width: auto; padding: clamp(1.25rem, 5vw, 4.5rem); }
.breadcrumb { font-size: .8rem; color: var(--steel); margin-bottom: 2.5rem; overflow-wrap: anywhere; }
.breadcrumb a { margin-right: .4rem; }
.breadcrumb span { margin-left: .4rem; }
.page-header { padding-bottom: 1.5rem; margin-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.3rem, 4.5vw, 4.25rem); line-height: 1.08; }
.page-header .lead { margin-bottom: 0; }
.prose { max-width: 68ch; margin-inline: auto; line-height: 1.85; }
.prose h2 { margin-top: 2.25em; margin-bottom: .65em; font-size: clamp(1.65rem, 2.6vw, 2.4rem); line-height: 1.2; }
.prose h3 { margin-top: 1.75em; }
.prose li { margin-bottom: .6rem; }
.prose > :last-child { margin-bottom: 0; }
.note { padding: 1.4rem clamp(1rem, 3vw, 2rem); margin-block: 2.5rem; background: var(--ink); border-left: 5px solid var(--accent); color: var(--text); }
.note p:last-child { margin: 0; }
.site-footer { padding-block: 3rem; background: var(--ink); border-bottom: 6px solid var(--accent); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 2rem 4rem; }
.footer-note { max-width: 63ch; margin: 0; color: var(--steel); font-size: .825rem; }
.footer-nav { max-width: 25rem; }
.footer-nav ul { gap: .5rem 1.5rem; }
.footer-nav a { display: inline-block; padding-block: .25rem; font-size: .85rem; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-4px); background: #3d3a34; }
}
@media (min-width: 1500px) {
  .hero-media { margin-right: -2rem; }
}
@media (max-width: 1100px) {
  .header-inner { flex-wrap: wrap; gap: .75rem 2rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-text { padding-right: 1rem; }
  .hero-media { min-height: 560px; }
}
@media (max-width: 760px) {
  .header-inner { padding-block: 1rem; }
  .site-nav { width: 100%; }
  .site-nav ul { gap: .1rem 1.2rem; }
  .site-nav a { font-size: .8rem; }
  .hero { padding-top: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { grid-row: 1; margin: 0 calc(-1 * var(--gutter)); min-height: 0; height: clamp(250px, 60vw, 420px); }
  .hero-text { padding: 2rem 0 0; }
  .hero-text::before { inset: -2rem calc(-1 * var(--gutter)) -1px; clip-path: polygon(0 2rem, 100% 0, 100% 100%, 0 100%); }
  .hero h1 { max-width: 15ch; font-size: clamp(2.8rem, 9vw, 4.6rem); }
  .hero .lead { max-width: 55ch; }
  .eyebrow { margin-bottom: 1rem; font-size: .7rem; }
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-text { max-width: none; }
  .split-text .section-title { max-width: 20ch; }
  .section-feature + .section-feature .split-text, .section-feature + .section-feature .split-media { order: initial; }
  .split-media img { height: clamp(280px, 65vw, 420px); }
  .partner-list { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-nav { max-width: none; }
}
@media (max-width: 480px) {
  .card-grid, .fact-list { grid-template-columns: 1fr; }
  .card { padding: 1.5rem; }
  .card-title { font-size: 1.65rem; }
  .page-sub main { padding-inline: .75rem; }
  .breadcrumb { margin-bottom: 1.75rem; }
  .page-header h1 { font-size: clamp(2.1rem, 9vw, 2.7rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; --text: #111; --steel: #333; --bg: #fff; --surface: #fff; --ink: #fff; --accent: #111; --line: #888; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .page-sub main, .article > .wrap { padding: 0; }
  .article { max-width: none; border: 0; }
  .article::after { display: none; }
  a { color: #111; }
  h1, h2, h3 { break-after: avoid; }
  .note, figure { break-inside: avoid; }
}
