:root {
  --ink: #172019;
  --muted: #59625a;
  --paper: #f4f0e6;
  --paper-2: #e7e1d3;
  --night: #0f1712;
  --night-2: #19251d;
  --line: rgba(23,32,25,.16);
  --green: #315f45;
  --copper: #bc744c;
  --gold: #d3ad62;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Avenir Next", "Century Gothic", "Trebuchet MS", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: .2; pointer-events: none; background-image: radial-gradient(rgba(31,50,37,.2) .65px,transparent .65px); background-size: 7px 7px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
h1,h2,h3 { margin: 0; font-family: var(--serif); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(3.4rem,7vw,6.7rem); }
h2 { font-size: clamp(2.35rem,4.7vw,4.5rem); }
h3 { font-size: clamp(1.45rem,2.3vw,2.15rem); }
p { margin: .7rem 0 0; }
.wrap { width: min(var(--max),calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: white; background: var(--night); }
.skip-link:focus { top: 1rem; }
.eyebrow,.kicker { margin: 0 0 .75rem; color: var(--green); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.button-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .3rem; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--green); }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.55); }
.button.ghost { color: white; border-color: rgba(255,255,255,.4); background: rgba(10,18,13,.28); }
.button[aria-disabled="true"] { cursor: default; opacity: .72; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244,240,230,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { width: min(var(--max),calc(100% - 3rem)); min-height: 4.6rem; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(3,.35rem); gap: .15rem; align-items: end; width: 1.35rem; height: 1.35rem; transform: rotate(-8deg); }
.brand-mark i { display: block; background: var(--green); border-radius: .4rem .4rem .1rem .1rem; }
.brand-mark i:nth-child(1) { height: 58%; }.brand-mark i:nth-child(2) { height: 100%; background: var(--copper); }.brand-mark i:nth-child(3) { height: 76%; }
.nav-links { display: flex; align-items: center; gap: .2rem; }
.nav-links a { padding: .58rem .75rem; color: var(--muted); font-size: .84rem; font-weight: 800; text-decoration: none; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: rgba(49,95,69,.09); }
.nav-links .nav-cta { color: white; background: var(--green); }

.hero { position: relative; aspect-ratio: 43/18; min-height: 560px; overflow: hidden; color: white; background: var(--night); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(8,14,10,.94),rgba(8,14,10,.72) 42%,rgba(8,14,10,.12) 72%),linear-gradient(0deg,rgba(8,14,10,.35),transparent 40%); }
.hero-copy { position: relative; z-index: 2; width: min(var(--max),calc(100% - 3rem)); height: 100%; margin: auto; display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { max-width: 780px; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.78); font-size: clamp(1.02rem,1.6vw,1.25rem); }
.hero .eyebrow { color: #c6dfa7; }

.manifesto { padding: clamp(2.7rem,5vw,4.8rem) 0; border-bottom: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,7vw,7rem); align-items: center; }
.manifesto h2 { font-size: clamp(2.2rem,4vw,3.8rem); }
.manifesto-grid > p { max-width: 600px; margin: 0; padding-left: 2rem; border-left: 1px solid var(--copper); color: var(--muted); font-size: 1.05rem; }
.manifesto strong { color: var(--ink); }

.section { padding: clamp(3.8rem,7vw,6.5rem) 0; }
.section-head { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,.6fr); gap: 1rem 5rem; align-items: end; margin-bottom: 2.6rem; }
.section-head .kicker { grid-column: 1/-1; }
.section-head > p:last-child { margin: 0 0 .35rem; color: var(--muted); font-size: 1.08rem; }
.section-head.light h2 { color: white; }.section-head.light .kicker { color: #c6dfa7; }
.section-head.compact { grid-template-columns: 1fr; margin-bottom: 2rem; }

.world-section { background: #e0e7db; }
.system-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 1px; background: var(--line); }
.system-pair article { background: var(--paper); }
.system-pair .media img,.blast-strip .media img { width: 100%; height: auto; aspect-ratio: 43/18; object-fit: contain; background: var(--night); }
.system-pair article > div { padding: 1.45rem 1.7rem 1.7rem; }
.system-pair span { color: var(--green); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.system-pair h3 { margin-top: .35rem; }
.first-hours { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 1px; gap: 1px; padding: 1px; background: var(--line); }
.first-hours article { min-width: 0; display: grid; grid-template-columns: 58px 1.5rem minmax(0,1fr); gap: .8rem; align-items: center; min-height: 150px; padding: 1rem; background: var(--paper); }
.rule-visual { width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; background: var(--night); }
.rule-visual > img:not(.pack-icon) { width: 100%; height: 100%; object-fit: contain; }
.rule-visual .pack-icon { width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.first-hours article > span { align-self: start; color: var(--copper); font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.first-hours h3 { font-size: 1.3rem; }.first-hours p { color: var(--muted); font-size: .86rem; line-height: 1.45; }

.blast-section { color: white; background: #151a16; }
.blast-section .section-head .kicker { color: #c6dfa7; }.blast-section .section-head > p:last-child { color: rgba(255,255,255,.66); }
.blast-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin: 0; padding: 1px; list-style: none; background: rgba(255,255,255,.16); }
.blast-strip li { min-width: 0; padding-bottom: 1.2rem; background: #202720; }
.blast-strip span,.blast-strip strong { display: inline-block; margin-top: 1rem; }
.blast-strip span { margin-left: 1rem; color: var(--gold); font-size: .65rem; letter-spacing: .1em; }.blast-strip strong { margin-left: .6rem; }
.extraction-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin-top: 1px; background: rgba(255,255,255,.16); }
.extraction-notes p { margin: 0; padding: 1.3rem; color: rgba(255,255,255,.64); background: var(--night-2); font-size: .9rem; }
.extraction-notes strong { display: block; color: white; }

.progression-section { color: white; background: var(--night); }
.progression-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 1px; background: rgba(255,255,255,.16); }
.progression-grid > article { min-width: 0; padding: clamp(2rem,4vw,3.4rem); background: var(--night-2); }
.progression-grid .magic-path { background: #251c24; }
.progression-grid h3 { max-width: 530px; font-size: clamp(2rem,3.3vw,3.1rem); }
.progression-grid p:not(.eyebrow) { max-width: 590px; color: rgba(255,255,255,.68); }
.progression-grid .eyebrow { color: #c6dfa7; }
.path-icons { display: flex; align-items: center; min-height: 70px; margin-bottom: 1.8rem; }
.pack-icon { width: 60px; height: 60px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 12px 15px rgba(0,0,0,.28)); }
.path-icons .pack-icon + .pack-icon { margin-left: -.55rem; }
.casing-rail { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: .3rem; margin-top: 2rem; }
.casing-rail span { min-width: 0; display: grid; justify-items: center; gap: .25rem; }
.casing-rail .pack-icon { width: 42px; height: 42px; }
.casing-rail small { max-width: 100%; overflow: hidden; color: rgba(255,255,255,.52); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }

.dimensions-section { background: var(--paper-2); }
.dimension-row { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1px; padding: 1px; background: var(--line); }
.dimension-row article { min-width: 0; min-height: 125px; padding: 1rem; background: rgba(255,255,255,.5); }
.dimension-row span,.dimension-row strong,.dimension-row small { display: block; }
.dimension-row span { color: var(--copper); font-size: .62rem; letter-spacing: .1em; }.dimension-row strong { margin-top: 1.2rem; line-height: 1.15; }.dimension-row small { margin-top: .4rem; color: var(--muted); font-size: .7rem; line-height: 1.35; }

.download-section { padding: clamp(3.8rem,7vw,6rem) 0; color: white; background: linear-gradient(130deg,#28181c,#101713); }
.download-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr); gap: clamp(2.5rem,7vw,7rem); align-items: center; }
.download-grid h2 { max-width: 780px; font-size: clamp(2.4rem,4.8vw,4.6rem); }
.download-grid p:not(.kicker) { max-width: 720px; color: rgba(255,255,255,.68); }
.download-grid .kicker { color: #e7bd70; }
.download-grid .secondary { color: white; border-color: rgba(255,255,255,.3); background: transparent; }
.download-grid dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; background: rgba(255,255,255,.16); }
.download-grid dl div { min-height: 105px; padding: 1.15rem; background: rgba(255,255,255,.06); }
.download-grid dt { color: rgba(255,255,255,.52); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }.download-grid dd { margin: .35rem 0 0; font: 400 1.45rem/1 var(--serif); }

.site-footer { padding: 1.5rem 0; color: rgba(255,255,255,.6); background: #090e0b; font-size: .75rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 2rem; }.site-footer strong { color: white; }

@media (max-width: 1000px) {
  .hero { display: flex; flex-direction: column; min-height: 0; aspect-ratio: auto; }
  .hero-copy { order: 1; height: auto; padding: 3.5rem 0; }
  .hero-media { position: relative; order: 2; aspect-ratio: 43/18; }
  .hero-media img { height: auto; }.hero-shade { display: none; }
  .dimension-row { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .first-hours { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .wrap,.nav,.hero-copy { width: min(100% - 2rem,var(--max)); }
  .nav { display: block; padding: .7rem 0; }
  .brand { margin-bottom: .45rem; }
  .nav-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .nav-links a { min-width: 0; padding: .5rem .25rem; text-align: center; font-size: .72rem; }
  .manifesto-grid,.section-head,.system-pair,.progression-grid,.download-grid { grid-template-columns: 1fr; }
  .manifesto-grid > p { padding: 1.25rem 0 0; border-left: 0; border-top: 1px solid var(--copper); }
  .section-head { gap: .8rem; }.section-head .kicker { grid-column: auto; }.section-head > p:last-child { margin-top: .4rem; }
  .blast-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .extraction-notes { grid-template-columns: 1fr; }
  .dimension-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dimension-row article:last-child { grid-column: 1/-1; }
  .site-footer .wrap { display: block; }.site-footer span { display: block; margin-top: .3rem; }
}

@media (max-width: 520px) {
  html { scroll-padding-top: 7.5rem; }
  h1 { font-size: 3rem; }.section { padding: 3.5rem 0; }
  .first-hours { grid-template-columns: 1fr; }
  .first-hours article { min-height: 128px; }
  .casing-rail { grid-template-columns: repeat(4,minmax(0,1fr)); row-gap: .8rem; }
  .download-grid dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}
