:root {
  /* Palette inspired by the original studio site and Knight & Damsel artwork. */
  --ink: #111214;
  --ink-soft: #282a2c;
  --paper: #f2eddc;
  --paper-bright: #fffaf0;
  --acid: #c7e83c;
  --orange: #ee7131;
  --red: #a82d45;
  --teal: #69c6c0;
  --line: rgba(17, 18, 20, 0.18);
  --max: 1240px;
  --shadow: 10px 10px 0 var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-200%);
  background: var(--acid);
  border: 2px solid var(--ink);
  padding: 10px 14px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 56px);
  color: var(--paper-bright);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(242, 237, 220, 0.96);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--acid);
  color: var(--ink);
  border: 2px solid currentColor;
  font-size: 17px;
  font-weight: 1000;
  transform: rotate(-3deg);
}

.brand-type {
  font-size: 14px;
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 2px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
  padding: 138px clamp(20px, 5vw, 76px) 92px;
  background: var(--ink);
  color: var(--paper-bright);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.hero-copy,
.hero-art,
.hero-footer {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label,
.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 10px;
  background: var(--acid);
  color: var(--ink);
  border: 2px solid var(--paper-bright);
  transform: rotate(-1deg);
}

.hero h1,
.section h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 900px;
  margin: 24px 0 24px;
  font-size: clamp(64px, 9.3vw, 144px);
  line-height: 0.82;
}

.hero h1 span {
  color: var(--acid);
  -webkit-text-stroke: 1px var(--acid);
}

.hero-lede {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}

.button-primary {
  background: var(--acid);
  color: var(--ink);
}

.button-ghost {
  border-color: var(--paper-bright);
  color: var(--paper-bright);
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  box-shadow: 6px 6px 0 var(--acid);
}

.button-dark {
  background: var(--ink);
  color: var(--paper-bright);
}

.button-light {
  background: var(--paper-bright);
  color: var(--ink);
}

.hero-art {
  min-width: 0;
  justify-self: end;
  width: min(100%, 580px);
}

.poster-frame {
  position: relative;
  padding: clamp(14px, 2vw, 22px);
  background: var(--orange);
  border: 3px solid var(--paper-bright);
  box-shadow: 14px 14px 0 var(--acid);
  transform: rotate(2.2deg);
}

.poster-frame::before,
.poster-frame::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 12px;
  background: rgba(255, 250, 240, 0.5);
}

.poster-frame::before {
  top: 8px;
  left: 42%;
  transform: rotate(-3deg);
}

.poster-frame::after {
  bottom: 8px;
  right: 13%;
  transform: rotate(4deg);
}

.poster-frame img {
  width: 100%;
  aspect-ratio: 460 / 215;
  object-fit: cover;
  border: 3px solid var(--ink);
  background: var(--ink-soft);
}

.poster-stamp {
  position: absolute;
  right: -26px;
  bottom: -35px;
  padding: 10px 12px;
  background: var(--paper-bright);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--red);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(-5deg);
}

.sticker {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid var(--ink);
  color: var(--ink);
  text-align: center;
  font-size: 11px;
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: 0.06em;
}

.sticker-one {
  top: -42px;
  right: -16px;
  background: var(--teal);
  transform: rotate(8deg);
}

.sticker-two {
  bottom: -74px;
  left: -34px;
  background: var(--acid);
  transform: rotate(-9deg);
}

.hero-footer {
  position: absolute;
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section {
  padding: clamp(76px, 10vw, 150px) clamp(20px, 5vw, 76px);
}

.section-label {
  max-width: var(--max);
  margin: 0 auto 56px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.game-section {
  background: var(--paper-bright);
}

.game-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}

.kicker {
  color: var(--red);
}

.section h2 {
  margin: 14px 0 26px;
  font-size: clamp(50px, 7vw, 104px);
  line-height: 0.88;
}

.game-copy > p:not(.kicker),
.studio-intro > p:not(.kicker),
.team-head > p:not(.kicker) {
  max-width: 680px;
  margin: 0;
  font-size: clamp(17px, 1.45vw, 21px);
}

.game-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin-top: 34px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.game-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 82px;
  padding: 14px;
  background: var(--paper-bright);
}

.game-meta span {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

.game-meta strong {
  font-size: 15px;
}

.screenshot-card {
  margin: 0;
  padding: 14px;
  background: var(--teal);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-1.8deg);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 3px solid var(--ink);
  background:
    linear-gradient(135deg, var(--ink-soft), var(--red));
}

.screenshot-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.feature-strip {
  max-width: var(--max);
  margin: clamp(60px, 8vw, 100px) auto 0;
  display: flex;
  flex-wrap: wrap;
  background: var(--ink);
  color: var(--paper-bright);
  border: 2px solid var(--ink);
}

.feature-strip span {
  flex: 1 1 210px;
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-transform: uppercase;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.studio-section {
  background: var(--acid);
}

.studio-intro,
.history-head,
.team-head {
  max-width: var(--max);
  margin: 0 auto;
}

.studio-intro {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 20px 50px;
  align-items: start;
}

.studio-intro .kicker {
  color: var(--ink);
  padding-top: 10px;
}

.studio-intro h2 {
  margin-top: 0;
}

.studio-intro > p:last-child {
  grid-column: 2;
}

.principles {
  max-width: var(--max);
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.principle {
  min-height: 290px;
  padding: 26px;
  background: var(--paper-bright);
}

.principle-number {
  display: inline-flex;
  min-width: 44px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  border: 2px solid var(--ink);
  font-weight: 900;
}

.principle h3 {
  margin: 40px 0 12px;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.principle p {
  margin: 0;
  color: rgba(17,18,20,0.72);
}

.history-section {
  background: var(--ink);
  color: var(--paper-bright);
}

.history-section .section-label {
  border-color: rgba(255,255,255,0.45);
}

.history-head .kicker {
  color: var(--acid);
}

.timeline {
  max-width: var(--max);
  margin: 66px auto 0;
  border-top: 2px solid rgba(255,255,255,0.45);
}

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}

.timeline-item time {
  color: var(--acid);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 24px;
  text-transform: uppercase;
}

.timeline-item p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,0.65);
}

.timeline-item.is-accent {
  background: var(--orange);
  color: var(--ink);
  margin: 0 -24px;
  padding-inline: 24px;
  border-bottom-color: var(--ink);
}

.timeline-item.is-accent time,
.timeline-item.is-accent p {
  color: var(--ink);
}

.team-section {
  background: var(--paper);
}

.team-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 50px;
}

.team-head .kicker {
  grid-column: 1 / -1;
}

.team-head h2 {
  margin-top: 0;
}

.team-head > p:last-child {
  align-self: end;
  padding-bottom: 10px;
}

.team-grid {
  max-width: var(--max);
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.team-grid article {
  display: flex;
  flex-direction: column;
  min-height: 130px;
  justify-content: space-between;
  padding: 18px;
  background: var(--paper-bright);
}

.team-grid strong {
  font-size: 17px;
  line-height: 1.15;
}

.team-grid span {
  margin-top: 20px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.55;
}

.signal-section {
  padding-top: 0;
  background: var(--paper);
}

.signal-card {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 52px);
  background: var(--teal);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.signal-card .kicker {
  color: var(--ink);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 28px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.signal-grid span {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 16px;
  background: var(--paper-bright);
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 14px;
}

.cta-section {
  background: var(--paper);
  padding-top: 0;
}

.cta-card {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding: clamp(34px, 6vw, 78px);
  background: var(--red);
  color: var(--paper-bright);
  border: 3px solid var(--ink);
  box-shadow: 12px 12px 0 var(--acid);
}

.cta-card .kicker {
  color: var(--acid);
}

.cta-card h2 {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-link {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 76px);
  background: var(--ink);
  color: var(--paper-bright);
  border-top: 2px solid var(--paper-bright);
}

.brand-footer {
  align-self: start;
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-note {
  grid-column: 2 / -1;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper-bright);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 9px 9px 0 var(--acid);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    box-shadow: none;
    border: 0;
    background: var(--acid);
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 124px;
    padding-bottom: 120px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-art {
    width: min(86vw, 620px);
    justify-self: center;
    margin-top: 10px;
  }

  .game-layout {
    grid-template-columns: 1fr;
  }

  .game-visual {
    width: min(92%, 720px);
    justify-self: center;
  }

  .studio-intro,
  .team-head {
    grid-template-columns: 1fr;
  }

  .studio-intro > p:last-child,
  .team-head .kicker {
    grid-column: auto;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 220px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(54px, 17vw, 88px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .poster-frame {
    box-shadow: 8px 8px 0 var(--acid);
  }

  .sticker {
    width: 88px;
    font-size: 9px;
  }

  .sticker-one {
    right: -4px;
  }

  .sticker-two {
    left: -8px;
    bottom: -58px;
  }

  .poster-stamp {
    right: -6px;
  }

  .hero-footer span:last-child {
    display: none;
  }

  .section {
    padding-inline: 18px;
  }

  .section h2 {
    font-size: clamp(46px, 14vw, 74px);
  }

  .game-meta {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-item.is-accent {
    margin-inline: -10px;
    padding-inline: 10px;
  }

  .team-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .feature-strip span {
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  .cta-card {
    padding: 30px 24px;
    box-shadow: 8px 8px 0 var(--acid);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Archive and article pages */
.home-archive {
  background: var(--paper-bright);
  border-top: 2px solid var(--ink);
}

.home-archive-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
}

.home-archive-layout h2 {
  margin-bottom: 0;
}

.home-archive-layout > div:last-child > p {
  margin: 0 0 26px;
  font-size: clamp(17px, 1.45vw, 21px);
}

.archive-hero,
.article-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-bright);
}

.archive-hero {
  min-height: 72svh;
  display: flex;
  align-items: end;
  padding: 148px clamp(20px, 5vw, 76px) clamp(72px, 9vw, 120px);
}

.archive-hero .hero-grid,
.article-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.archive-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.archive-hero h1,
.article-hero h1 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.archive-hero h1 {
  max-width: 1100px;
  margin: 26px 0 28px;
  font-size: clamp(62px, 10vw, 150px);
  line-height: 0.82;
}

.archive-hero h1 span {
  color: var(--acid);
}

.archive-hero-inner > p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: clamp(18px, 1.55vw, 23px);
}

.archive-index {
  background: var(--paper-bright);
}

.archive-intro {
  max-width: var(--max);
  margin: 0 auto 64px;
  display: grid;
  grid-template-columns: 0.34fr 0.8fr 0.9fr;
  gap: 28px 46px;
  align-items: start;
}

.archive-intro h2 {
  margin: 0;
}

.archive-intro > p:last-child {
  margin: 8px 0 0;
  font-size: 18px;
}

.archive-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.archive-card {
  background: var(--paper);
}

.archive-card:nth-child(2) { background: var(--teal); }
.archive-card:nth-child(3) { background: var(--acid); }
.archive-card:nth-child(4) { background: var(--paper-bright); }
.archive-card:nth-child(5) { background: var(--orange); grid-column: 1 / -1; }

.archive-card > a {
  min-height: 440px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 46px);
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease;
}

.archive-card > a:hover,
.archive-card > a:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--ink);
  outline: 0;
}

.archive-number {
  align-self: flex-start;
  min-width: 48px;
  padding: 8px 10px;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  font-weight: 900;
  text-align: center;
}

.archive-card .kicker {
  margin-top: 42px;
  color: var(--ink);
}

.archive-card h2 {
  margin: 12px 0 20px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 0.9;
  text-transform: uppercase;
}

.archive-card > a > p:not(.kicker) {
  max-width: 640px;
  margin: 0;
  color: rgba(17,18,20,0.72);
  font-size: 17px;
}

.archive-card-foot {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(17,18,20,0.3);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.archive-method {
  background: var(--paper);
}

.method-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.method-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--paper-bright);
}

.method-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 36px;
  background: var(--acid);
  border: 2px solid var(--ink);
  font-weight: 900;
}

.method-grid h3 {
  margin: 42px 0 12px;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
}

.method-grid p {
  margin: 0;
  color: rgba(17,18,20,0.7);
}

.article-hero {
  padding: 148px clamp(20px, 5vw, 76px) 82px;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 34px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.breadcrumbs a {
  text-underline-offset: 4px;
}

.article-hero h1 {
  max-width: 1050px;
  margin: 26px 0 26px;
  font-size: clamp(56px, 8vw, 118px);
  line-height: 0.86;
}

.article-deck {
  max-width: 840px;
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.42;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.article-shell {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  justify-content: space-between;
  gap: 60px;
  padding: 84px 0 100px;
}

.article-sidebar {
  align-self: start;
  position: sticky;
  top: 110px;
}

.article-sidebar .kicker {
  color: var(--ink);
}

.article-sidebar ol {
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.article-sidebar li {
  border-bottom: 1px solid var(--line);
}

.article-sidebar a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.article-sidebar a:hover,
.article-sidebar a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.back-link {
  margin-top: 12px;
  color: var(--red);
}

.article-content {
  min-width: 0;
}

.article-content section {
  scroll-margin-top: 110px;
  margin-top: 72px;
}

.article-content section:first-of-type {
  margin-top: 54px;
}

.article-content h2 {
  margin: 0 0 22px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
}

.article-content p,
.article-content li {
  font-size: 18px;
  line-height: 1.68;
}

.article-content p {
  margin: 0 0 22px;
}

.scope-note,
.note-card {
  padding: 22px 24px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
}

.scope-note {
  background: var(--acid);
}

.note-card {
  margin: 34px 0;
  background: var(--teal);
}

.scope-note strong,
.note-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.scope-note p,
.note-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.article-list {
  margin: 24px 0;
  padding-left: 24px;
}

.article-list li {
  margin-bottom: 12px;
}

.article-list.ordered {
  padding-left: 30px;
}

.system-diagram {
  display: grid;
  gap: 2px;
  margin: 34px 0;
  padding: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.system-diagram > div {
  display: grid;
  grid-template-columns: 150px 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: var(--paper-bright);
}

.system-diagram > div:last-child {
  background: var(--paper);
}

.system-diagram span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.system-diagram strong {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
}

.system-diagram i {
  font-style: normal;
  font-weight: 900;
}

.article-media {
  margin: 38px 0;
  padding: 12px;
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.article-media img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--ink-soft);
}

.article-media figcaption {
  padding: 12px 4px 2px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin: 34px 0;
  padding: 2px;
  background: var(--ink);
}

.comparison-grid article {
  padding: 24px;
  background: var(--paper-bright);
}

.comparison-grid article:last-child {
  background: var(--acid);
}

.comparison-grid span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.comparison-grid h3 {
  margin: 26px 0 10px;
}

.comparison-grid p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.stage-table {
  margin: 34px 0;
  border: 2px solid var(--ink);
  background: var(--ink);
  display: grid;
  gap: 2px;
}

.stage-table [role="row"] {
  display: grid;
  grid-template-columns: 0.45fr 1fr 1fr;
  gap: 2px;
  background: var(--ink);
}

.stage-table [role="cell"] {
  padding: 14px;
  background: var(--paper-bright);
  font-size: 14px;
  line-height: 1.45;
}

.stage-table [role="row"]:first-child [role="cell"] {
  background: var(--acid);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.feedback-stack {
  display: grid;
  margin: 32px 0;
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.feedback-stack > div {
  display: grid;
  grid-template-columns: 54px 170px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--paper-bright);
}

.feedback-stack > div:nth-child(2) { background: var(--teal); }
.feedback-stack > div:nth-child(3) { background: var(--acid); }
.feedback-stack > div:nth-child(4) { background: var(--orange); }
.feedback-stack b {
  font-size: 11px;
}
.feedback-stack strong {
  text-transform: uppercase;
  font-size: 13px;
}
.feedback-stack span {
  font-size: 14px;
}

.article-sources {
  padding-top: 44px;
  border-top: 2px solid var(--ink);
}

.article-sources ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  border: 2px solid var(--ink);
}

.article-sources li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.article-sources li:last-child {
  border-bottom: 0;
}

.article-sources a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.article-sources a:hover,
.article-sources a:focus-visible {
  background: var(--acid);
}

.article-sources > p:last-child {
  font-size: 13px;
  color: rgba(17,18,20,0.62);
}

.article-pagination {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 2px;
}

.article-pagination a {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--paper-bright);
  text-decoration: none;
}

.article-pagination a:last-child {
  text-align: right;
  align-items: flex-end;
  background: var(--acid);
}

.article-pagination span {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-pagination strong {
  max-width: 380px;
  font-size: 25px;
  line-height: 1.05;
  text-transform: uppercase;
}

.archive-return {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto 120px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  padding: clamp(30px, 5vw, 64px);
  background: var(--red);
  color: var(--paper-bright);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--acid);
}

.archive-return .kicker {
  color: var(--acid);
}

.archive-return h2 {
  margin: 12px 0 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.88;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .home-archive-layout,
  .archive-intro,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .archive-card:nth-child(5) {
    grid-column: auto;
  }

  .archive-card > a {
    min-height: 360px;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .article-sidebar {
    position: static;
    padding: 22px;
    border: 2px solid var(--ink);
    background: var(--paper-bright);
  }

  .article-sidebar ol {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }

  .archive-return {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .archive-hero,
  .article-hero {
    padding-inline: 18px;
  }

  .archive-hero h1 {
    font-size: clamp(54px, 17vw, 86px);
  }

  .article-hero h1 {
    font-size: clamp(48px, 14.7vw, 74px);
  }

  .archive-card > a {
    min-height: 390px;
  }

  .article-shell,
  .article-pagination,
  .archive-return {
    width: min(calc(100% - 36px), var(--max));
  }

  .article-sidebar ol,
  .comparison-grid,
  .article-pagination {
    grid-template-columns: 1fr;
  }

  .system-diagram > div {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .system-diagram strong {
    text-align: left;
  }

  .system-diagram i {
    transform: rotate(90deg);
    transform-origin: left center;
    height: 12px;
  }

  .stage-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .feedback-stack > div {
    grid-template-columns: 42px 1fr;
  }

  .feedback-stack span {
    grid-column: 2;
  }

  .article-pagination a:last-child {
    text-align: left;
    align-items: flex-start;
  }
}
