:root {
  --black: #090909;
  --ink: #111111;
  --red: #ff201b;
  --paper: #f2efe8;
  --white: #fffdf8;
  --muted: #8b8983;
  --line: rgba(17, 17, 17, .18);
  --display: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection { color: var(--white); background: var(--red); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 4px;
  background: transparent;
}
.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: 74px;
  padding: 0 clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  background: rgba(9, 9, 9, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.brand {
  width: max-content;
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.05em;
  text-decoration: none;
}
.edition, .issue {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .28em;
}
.edition-link { color: inherit; text-decoration: none; }
.edition { font-size: .85rem; }
.issue { justify-self: end; color: var(--red); font-size: .72rem; }

.hero {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .62fr);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  min-width: 0;
  padding: clamp(58px, 8vw, 120px) clamp(28px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 11px 11px;
}
.hero-copy::after {
  content: "AI";
  position: absolute;
  right: -2vw;
  bottom: -8vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 32, 27, .18);
  font-family: var(--display);
  font-size: clamp(12rem, 28vw, 34rem);
  font-weight: 900;
  line-height: .8;
  pointer-events: none;
}
.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 26px;
  color: var(--red);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 8.2vw, 9.2rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .84;
  text-transform: uppercase;
}
.hero h1 em { color: var(--red); font-style: normal; }
.standfirst {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 38px 0 0;
  font-size: clamp(1.08rem, 1.45vw, 1.4rem);
  line-height: 1.55;
}
.hero-meta {
  position: relative;
  z-index: 1;
  margin-top: 42px;
  padding-top: 18px;
  display: flex;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.25);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .17em;
}
.share-button {
  margin-left: auto;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
}
.read-link {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 46px;
  color: var(--white);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-decoration: none;
}
.read-link span { display: inline-block; margin-left: 8px; color: var(--red); }
.hero-art {
  position: relative;
  margin: 0;
  min-height: 600px;
  min-width: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.art-index {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 10px 12px;
  color: var(--red);
  background: var(--black);
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.manifesto {
  min-height: 190px;
  padding: 28px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--black);
  background: var(--red);
  overflow: hidden;
}
.manifesto p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7.8vw, 9rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .8;
}
.manifesto span {
  min-width: 48px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-style: italic;
  text-align: center;
}

.reading-layout {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 140px;
  display: grid;
  grid-template-columns: 240px minmax(0, 820px);
  justify-content: center;
  gap: clamp(60px, 8vw, 130px);
}
.toc {
  position: sticky;
  top: 116px;
  align-self: start;
  padding-top: 8px;
}
.toc-title {
  margin: 0 0 22px;
  color: var(--red);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.toc nav { border-top: 2px solid var(--ink); }
.toc a {
  padding: 14px 0;
  display: flex;
  gap: 14px;
  color: #77736c;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease, padding .2s ease;
}
.toc a span { color: var(--red); }
.toc a:hover, .toc a.active { padding-left: 8px; color: var(--ink); }

.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 110px; }
.article-body p {
  margin: 0 0 1.45em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.72;
}
.article-body .opening {
  margin-bottom: 1.3em;
  font-family: var(--sans);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.25;
}
.opening::first-letter {
  float: left;
  margin: .04em .09em 0 0;
  color: var(--red);
  font-family: var(--display);
  font-size: 5.2em;
  font-weight: 900;
  line-height: .72;
}
.section-header {
  margin: 112px 0 42px;
  padding-top: 18px;
  border-top: 4px solid var(--ink);
}
.section-header span {
  color: var(--red);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .2em;
}
.section-header h2 {
  max-width: 780px;
  margin: 15px 0 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5.7vw, 5rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .92;
  text-transform: uppercase;
}
blockquote {
  position: relative;
  margin: 72px -80px;
  padding: 64px 80px 58px;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
blockquote::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
}
blockquote span {
  position: absolute;
  top: 18px;
  left: 32px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
}
blockquote p {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  font-family: var(--display) !important;
  font-size: clamp(2rem, 4.7vw, 4rem) !important;
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1 !important;
  text-transform: uppercase;
}
.red-quote { background: var(--red); }
.red-quote span { color: var(--black); }

.chapter-image {
  margin: 112px -80px 0;
  background: var(--black);
}
.chapter-image img { width: 100%; height: auto; }
.chapter-image figcaption {
  padding: 16px 20px 17px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.chapter-image figcaption span { color: var(--red); }
.interlude {
  margin: 100px calc(50% - 50vw);
  padding: 28px max(24px, calc(50vw - 690px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--red);
  background: var(--black);
  font-family: var(--display);
  font-size: clamp(1.3rem, 3.2vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.02em;
}
.conclusion {
  margin: 76px 0 !important;
  padding: 30px 0;
  border-block: 4px solid var(--ink);
  font-family: var(--sans) !important;
  font-size: clamp(1.5rem, 3vw, 2.6rem) !important;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.18 !important;
}

.final-question {
  margin: 110px calc(50% - 50vw) -140px;
  padding: clamp(74px, 10vw, 150px) max(24px, calc(50vw - 500px));
  color: var(--white);
  background: var(--red);
  text-align: center;
}
.final-question .eyebrow { color: var(--black); }
.final-question h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 9.5vw, 9rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .82;
  text-transform: uppercase;
}
.final-question > p:not(.eyebrow) {
  max-width: 700px;
  margin: 34px auto;
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}
.share-button.light {
  margin: 10px auto 0;
  padding: 15px 20px;
  color: var(--white);
  background: var(--black);
}
.ai-disclosure {
  max-width: 780px;
  margin: 66px auto 0;
  padding-top: 25px;
  color: var(--black);
  border-top: 1px solid rgba(0,0,0,.32);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.2;
  text-transform: uppercase;
}

footer {
  min-height: 90px;
  padding: 26px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  color: var(--white);
  background: var(--black);
  font-family: var(--display);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
}
footer span:nth-child(2) { color: #999; }
footer a { justify-self: end; color: var(--red); text-decoration: none; }
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  padding: 14px 18px;
  color: var(--white);
  background: var(--black);
  border-left: 5px solid var(--red);
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  transform: translateY(150%);
  transition: transform .25s ease;
}
.toast.show { transform: translateY(0); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr .64fr; }
  .hero h1 { font-size: clamp(3.6rem, 8vw, 6rem); }
  .reading-layout { grid-template-columns: 1fr; width: min(820px, calc(100% - 40px)); }
  .toc {
    position: relative;
    top: auto;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .toc::-webkit-scrollbar { display: none; }
  .toc-title { display: none; }
  .toc nav { display: flex; width: max-content; border-top: 0; }
  .toc a { padding: 12px 18px 12px 0; border-bottom: 2px solid var(--line); }
  .toc a:hover, .toc a.active { padding-left: 0; color: var(--ink); border-color: var(--red); }
}

@media (max-width: 720px) {
  .site-header { height: 62px; grid-template-columns: 1fr auto; }
  .edition { justify-self: end; font-size: .68rem; }
  .issue { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 660px; padding: 58px 22px 48px; }
  .hero h1 { font-size: clamp(3.8rem, 18vw, 6rem); }
  .standfirst { margin-top: 28px; }
  .hero-meta { flex-wrap: wrap; gap: 13px 18px; }
  .hero-meta .share-button { margin-left: 0; }
  .read-link { margin-top: 30px; }
  .hero-art { min-height: 0; aspect-ratio: 4 / 5; }
  .manifesto { min-height: 160px; padding: 25px 20px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
  .manifesto p { font-size: clamp(2.2rem, 11vw, 4rem); }
  .manifesto p:last-child { grid-column: 1 / -1; font-size: clamp(2rem, 10vw, 3.2rem); white-space: nowrap; }
  .manifesto span { min-width: 24px; }
  .reading-layout { width: min(100% - 36px, 720px); padding: 46px 0 100px; gap: 56px; }
  .article-body .opening { font-size: 1.5rem; }
  .article-body p { font-size: 1.09rem; line-height: 1.68; }
  .section-header { margin-top: 82px; }
  .section-header h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  blockquote, .chapter-image { margin-left: -18px; margin-right: -18px; }
  blockquote { padding: 58px 24px 42px; }
  blockquote span { left: 15px; }
  .chapter-image { margin-top: 82px; }
  .chapter-image figcaption { font-size: .58rem; }
  .interlude { margin-top: 78px; margin-bottom: 78px; padding-inline: 18px; }
  .interlude span { flex: 1; text-align: center; }
  .final-question { margin-top: 84px; padding-inline: 20px; }
  footer { grid-template-columns: 1fr auto; font-size: .6rem; }
  footer span:nth-child(2) { display: none; }
}

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