:root {
  --ink: #101216;
  --ink-soft: #191c21;
  --paper: #f1eee6;
  --paper-deep: #ded8ca;
  --steel: #969da6;
  --line: rgba(241, 238, 230, 0.17);
  --hot: #ff642e;
  --hot-light: #ffb198;
  --display: "Arial Narrow", "Roboto Condensed", "Franklin Gothic Medium", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }
button, input { font: inherit; }
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 20;
  padding: .7rem 1rem;
  background: var(--paper);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: .75rem clamp(1.25rem, 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 18, 22, .91);
  backdrop-filter: blur(15px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.brand-mark-hot { stroke: var(--hot); }
.site-nav { display: flex; gap: 2rem; }
.site-nav a, .site-footer a {
  color: var(--steel);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover, .site-footer a:hover { color: var(--paper); }
.header-cta {
  justify-self: end;
  padding: .62rem .9rem;
  border: 1px solid var(--paper);
  font-family: var(--mono);
  font-size: .73rem;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}
.header-cta:hover { background: var(--paper); color: var(--ink); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
  min-height: min(760px, calc(100vh - 76px));
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem) clamp(4rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 66%, rgba(255, 100, 46, .12) 66% 66.25%, transparent 66.25%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, 58px 58px, 58px 58px;
  mask-image: linear-gradient(to bottom, black 25%, transparent 100%);
}
.hero-copy, .issue-card { position: relative; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.2rem;
  color: #59616b;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow span { width: 26px; height: 2px; background: var(--hot); }
.eyebrow-light { color: var(--steel); }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7.2vw, 7rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .84;
  text-transform: uppercase;
}
.hero h1 em { color: var(--hot); font-family: Georgia, serif; font-weight: 400; text-transform: none; }
.hero-intro {
  max-width: 670px;
  margin: 2.2rem 0 0;
  color: #c8c5be;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.15rem;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.button-hot { background: var(--hot); color: #150c09; }
.button-hot:hover { background: var(--hot-light); }
.text-link { color: #d6d2c8; font-size: .9rem; text-underline-offset: 5px; }
.text-link span { color: var(--hot); }

.issue-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(25, 28, 33, .84);
  box-shadow: 18px 18px 0 rgba(255, 100, 46, .13);
}
.issue-card::before {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 44px;
  height: 44px;
  background: linear-gradient(225deg, var(--ink) 49%, var(--line) 50% 51%, transparent 52%);
}
.issue-card .feature-thumb { margin-bottom: 1.2rem; }
.issue-card-top, .card-meta, .card-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--steel);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.issue-gauge { display: grid; grid-template-columns: auto 1fr auto; gap: .65rem; align-items: center; margin: 2.2rem 0; color: var(--steel); font: .64rem var(--mono); }
.gauge-line { position: relative; height: 1px; background: #555d67; }
.gauge-line i { position: absolute; top: -5px; left: 78%; width: 10px; height: 10px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 18px var(--hot); }
.issue-kicker { margin: 0 0 .55rem; color: var(--hot); font: .72rem var(--mono); text-transform: uppercase; }
.issue-card h2 { margin: 0; font: 800 clamp(1.7rem, 2.5vw, 2.3rem)/1.02 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.issue-card p:not(.issue-kicker) { color: #aaaeb3; font-size: .92rem; }
.issue-card > a { display: flex; justify-content: space-between; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--paper); font: .74rem var(--mono); text-decoration: none; text-transform: uppercase; }
.issue-card > a span { color: var(--hot); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-strip div { display: flex; gap: .8rem; align-items: center; min-height: 94px; padding: 1rem clamp(1rem, 2.5vw, 2.5rem); border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { color: var(--hot); font: .72rem var(--mono); }
.proof-strip span { color: #b9b7b1; font-size: .83rem; }

.section-shell { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.queue { background: var(--paper); color: var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .55fr); gap: 3rem; align-items: end; }
.section-heading h2, .protocol h2, .editorial h2, .dispatch h2 { margin: 0; font: 900 clamp(2.6rem, 5vw, 5.2rem)/.92 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.section-heading > p { margin: 0; color: #555a60; font-size: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin: 3rem 0 1.2rem; }
.filter {
  min-height: 42px;
  padding: .55rem .9rem;
  border: 1px solid #a9a59c;
  background: transparent;
  color: #555a60;
  cursor: pointer;
  font: .72rem var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.filter:hover, .filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.test-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1px; background: #aaa59b; border: 1px solid #aaa59b; }
.test-card { display: flex; min-height: 330px; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--paper); }
.test-card-featured { grid-row: span 2; min-height: 661px; background: #e8e2d5; }
.test-card[hidden] { display: none; }
.status { padding: .18rem .4rem; background: var(--hot); color: var(--ink); }
.status-muted { background: #c9c4b9; }
.test-card h3 { max-width: 720px; margin: 2rem 0 1rem; font: 800 clamp(1.5rem, 2.8vw, 3.1rem)/1.02 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.test-card:not(.test-card-featured) h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
.test-card > p { max-width: 650px; margin: 0; color: #54575b; }
.test-card dl { margin: auto 0 2rem; border-top: 1px solid #aaa59b; }
.test-card dl div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #aaa59b; }
.test-card dt { font: .7rem var(--mono); text-transform: uppercase; }
.test-card dd { margin: 0; color: #51555b; font-size: .84rem; }
.test-card > a, .card-footer a { color: var(--ink); font: .75rem var(--mono); text-decoration: underline; text-underline-offset: 5px; text-transform: uppercase; }
.card-footer { align-items: end; margin-top: auto; padding-top: 1rem; border-top: 1px solid #b9b4aa; }

.protocol { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 7vw, 8rem); background: var(--hot); color: #160d0a; }
.protocol-title > p:last-child { max-width: 500px; margin-top: 2rem; }
.protocol .eyebrow { color: #512518; }
.protocol .eyebrow span { background: #160d0a; }
.protocol-steps article { display: grid; grid-template-columns: 72px 1fr; gap: 1.3rem; padding: 1.7rem 0; border-top: 1px solid rgba(22,13,10,.38); }
.protocol-steps article:last-child { border-bottom: 1px solid rgba(22,13,10,.38); }
.step-number { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(22,13,10,.6); font: 700 .85rem var(--mono); }
.step-hot { background: var(--ink); color: var(--hot); }
.protocol-steps h3 { margin: 0 0 .35rem; font: 900 1.5rem var(--display); text-transform: uppercase; }
.protocol-steps p { max-width: 620px; margin: 0; }

.editorial { background: var(--paper); color: var(--ink); }
.editorial-rule { padding-bottom: 1rem; border-bottom: 1px solid #aaa59b; color: #676a6e; font: .7rem var(--mono); }
.editorial-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); padding-top: 3rem; }
.editorial-copy { max-width: 710px; }
.editorial-copy p { color: #3e4247; }
.dropcap::first-letter { float: left; margin: .08em .12em 0 0; color: var(--hot); font: 900 5rem/.75 var(--display); }
blockquote { margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 3px solid var(--hot); font: 700 clamp(1.35rem, 2vw, 1.8rem)/1.3 var(--display); }

.dispatch { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 7vw, 8rem); background: #171a1f; }
.dispatch-form-wrap > p { max-width: 580px; color: #b2b5b9; }
.dispatch-form { display: grid; grid-template-columns: 1fr auto; margin-top: 1.4rem; }
.dispatch-form input { min-height: 54px; min-width: 0; padding: .75rem 1rem; border: 1px solid #4e555e; border-right: 0; border-radius: 0; background: #101216; color: var(--paper); outline: none; }
.dispatch-form input:focus { border-color: var(--hot); box-shadow: inset 0 0 0 1px var(--hot); }
.dispatch-form button { min-height: 54px; padding: .75rem 1.2rem; border: 1px solid var(--hot); background: var(--hot); color: #160d0a; cursor: pointer; font: 700 .76rem var(--mono); text-transform: uppercase; }
.dispatch-form button:hover { background: var(--hot-light); }
.form-note { margin: .7rem 0 0 !important; font: .69rem var(--mono); }
.form-note.is-success { color: var(--hot-light); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; padding: 2rem clamp(1.25rem, 4vw, 4.5rem); border-top: 1px solid var(--line); }
.site-footer > p { color: var(--steel); font-size: .82rem; text-align: center; }
.site-footer > div { display: flex; justify-content: end; gap: 1.2rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .issue-card { max-width: 600px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading, .protocol, .editorial-layout, .dispatch { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .test-card-featured { grid-row: auto; min-height: 560px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { text-align: left; }
  .site-footer > div { justify-content: start; }
}

@media (max-width: 560px) {
  .site-header { min-height: 68px; padding: .65rem 1rem; }
  .brand { font-size: .9rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { padding: .55rem .65rem; font-size: .66rem; }
  .hero { padding-top: 4.4rem; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .section-heading { gap: 1.5rem; }
  .test-card-featured { min-height: auto; }
  .test-card dl { margin-top: 2rem; }
  .test-card dl div { grid-template-columns: 1fr; gap: .35rem; }
  .protocol-steps article { grid-template-columns: 54px 1fr; }
  .dispatch-form { grid-template-columns: 1fr; gap: .6rem; }
  .dispatch-form input { border-right: 1px solid #4e555e; }
  .site-footer > div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
