/* GamingsWorld — editorial-first, static, and intentionally light.
   The homepage borrows Peggy's spacious Z-pattern rhythm and typographic
   confidence while keeping a distinct gaming-news identity. */

:root {
  /* Color values follow the original deployed scheme (cool zinc + violet /
     blue / pink accent family); the Peggy layout and type stay as they are. */
  --paper: #fafafc;
  --paper-deep: #f2f3f7;
  --ink: #171c28;
  --ink-soft: #3c4557;
  --muted: #5d6779;
  --line: #d8dce6;
  --white: #ffffff;
  --signal: #8b7bff;
  --blue: #5cc8ff;
  --pink: #ff7ab6;
  --orange: #9db4ff;
  /* Text/borders sitting ON an accent block (the accent fills stay the same
     in both themes, so their foreground must stay dark). */
  --on-accent: #0b0d12;
  /* Accent used AS text on the inverted bands (lead story, method band). */
  --signal-ink: #a89bff;
  /* Text/borders inside the inverted bands, whose background is var(--ink)
     in either theme. */
  --band-line: #303748;
  --band-muted: #96a0b5;
  --header-bg: rgba(250, 250, 252, 0.9);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

/* Dark theme. Applied two ways with identical values: explicitly via the
   header toggle (data-theme), or from the OS preference when the visitor
   hasn't chosen. Keep both blocks in sync. */

[data-theme="dark"] {
  --paper: #0b0d12;
  --paper-deep: #0e1118;
  --ink: #eceff5;
  --ink-soft: #c7cdd9;
  --muted: #96a0b5;
  --line: #232837;
  --white: #12151d;
  --signal-ink: #5a48d6;
  --band-line: #b6bcc9;
  --band-muted: #565f70;
  --header-bg: rgba(11, 13, 18, 0.9);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b0d12;
    --paper-deep: #0e1118;
    --ink: #eceff5;
    --ink-soft: #c7cdd9;
    --muted: #96a0b5;
    --line: #232837;
    --white: #12151d;
    --signal-ink: #5a48d6;
    --band-line: #b6bcc9;
    --band-muted: #565f70;
    --header-bg: rgba(11, 13, 18, 0.9);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: min(100% - 44px, 1180px);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover { text-decoration-color: transparent; }

:focus-visible {
  outline: 3px solid #4d5cff;
  outline-offset: 4px;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1, h2 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(3.2rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.3rem, 5vw, 5rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em { font-weight: 400; }

.eyebrow,
.hero-kicker,
.quick-label,
.card-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
  text-wrap: pretty;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-text > span {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.brand-text small {
  max-width: 32ch;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.theme-toggle:hover { background: var(--signal); color: var(--on-accent); }

.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Homepage hero */

.home-hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 7vw, 94px);
  align-items: center;
  padding: clamp(58px, 9vw, 112px) 0 72px;
}

.hero-copy { align-self: center; }

.hero-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 610px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

.home-hero h1 {
  margin: 34px 0 26px;
  max-width: 780px;
}

.home-hero h1 em {
  display: inline-block;
  padding: 0 0.08em 0.06em;
  background: var(--signal);
  color: var(--on-accent);
  font-style: italic;
  line-height: 0.88;
}

.hero-sub {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.button-link,
.button-ghost {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 720;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-link { background: var(--ink); color: var(--paper); }
.button-ghost { background: transparent; color: var(--ink); }
.button-link:hover,
.button-ghost:hover { transform: translateY(-2px); }
.button-link:hover { background: var(--signal); color: var(--on-accent); }
.button-ghost:hover { background: var(--white); }

.hero-feature {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--blue);
  color: var(--on-accent);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-feature:hover {
  transform: translate(-5px, -5px);
  box-shadow: 9px 9px 0 var(--ink);
}

.feature-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 19px;
  border-bottom: 1px solid var(--on-accent);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-art {
  width: 100%;
  flex: 1;
  min-height: 300px;
}

.signal-art path,
.signal-art circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.signal-art circle:last-of-type { stroke-dasharray: 5 7; }

.feature-copy {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 20px;
  align-items: end;
  padding: 23px 20px 25px;
  border-top: 1px solid var(--on-accent);
  background: var(--signal);
}

.feature-copy > span {
  font-size: 0.68rem;
  font-weight: 740;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-copy > span:last-child { grid-row: 2; grid-column: 2; }

.feature-copy strong {
  grid-column: 1;
  max-width: 18ch;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.trust-strip li {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.trust-strip li + li { border-left: 1px solid var(--ink); }
.trust-strip strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.trust-strip span { color: var(--ink-soft); font-size: 0.78rem; line-height: 1.45; }

/* Homepage sections */

.home-section {
  padding: clamp(80px, 11vw, 144px) 0;
  border-bottom: 1px solid var(--ink);
}

.editorial-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.editorial-heading h2 { margin: 12px 0 0; }
.editorial-heading h2 em { font-style: italic; }
.editorial-heading > p { max-width: 42ch; margin: 0; color: var(--muted); }

.section-link {
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  border: 1px solid var(--ink);
}

.lead-story {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vw, 50px);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.lead-story-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--band-line);
  color: var(--band-muted);
  font-size: 0.65rem;
  font-weight: 740;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-story-game {
  margin-top: auto;
  color: var(--signal-ink);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead-story strong {
  max-width: 15ch;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lead-story-description {
  max-width: 54ch;
  margin-top: 22px;
  color: var(--band-muted);
  font-size: 0.9rem;
}

.lead-story-link {
  margin-top: 28px;
  font-size: 0.78rem;
  font-weight: 720;
}

.story-stack { display: flex; flex-direction: column; }

.desk-story {
  min-height: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  padding: clamp(25px, 3.5vw, 42px);
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease;
}

.desk-story + .desk-story { border-top: 1px solid var(--ink); }
.desk-story:hover { background: var(--signal); color: var(--on-accent); }
.desk-story:hover .story-meta,
.desk-story:hover .story-copy > span:last-child { color: var(--on-accent); }
.story-index { font-family: var(--serif); font-size: 1.35rem; }
.story-copy { display: flex; flex-direction: column; gap: 10px; }
.story-meta { color: var(--muted); font-size: 0.66rem; font-weight: 740; letter-spacing: 0.1em; text-transform: uppercase; }
.story-copy strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.03em; }
.story-copy > span:last-child { color: var(--muted); font-size: 0.82rem; }
.story-arrow { align-self: end; font-size: 1.2rem; }

.home-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.home-game {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  padding: clamp(24px, 3.8vw, 42px);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--on-accent);
  text-decoration: none;
  transition: filter 160ms ease;
}

.home-game:hover { filter: saturate(1.25) contrast(1.03); }
.game-tone-1 { background: var(--signal); }
.game-tone-2 { background: var(--pink); }
.game-tone-3 { background: var(--orange); }
.game-tone-4 { background: var(--blue); }
.game-number { font-family: var(--serif); font-size: 1.4rem; }
.game-name {
  grid-column: 1 / -1;
  align-self: end;
  max-width: 12ch;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.7rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.game-detail { grid-column: 1 / 3; align-self: end; font-size: 0.7rem; font-weight: 720; letter-spacing: 0.07em; text-transform: uppercase; }
.game-arrow { grid-column: 3; grid-row: 1; font-size: 1.25rem; }

.journal-list { border-top: 1px solid var(--ink); }

.journal-row {
  min-height: 122px;
  display: grid;
  grid-template-columns: 50px 96px 145px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  transition: padding 180ms ease, background 180ms ease;
}

.journal-row:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: var(--white);
}

.journal-number { font-family: var(--serif); font-size: 1.3rem; }
.journal-date { color: var(--muted); font-size: 0.68rem; font-weight: 720; letter-spacing: 0.08em; text-transform: uppercase; }
.journal-row strong { max-width: 30ch; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.025em; }
.journal-arrow { font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }

.method-band {
  margin: clamp(80px, 11vw, 144px) 0 0;
  padding: clamp(38px, 6vw, 72px);
  background: var(--ink);
  color: var(--paper);
}

.method-band .eyebrow { color: var(--signal-ink); }

.method-band > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: 60px;
  align-items: end;
  margin-top: 28px;
}

.method-band h2 { margin: 0; }
.method-band h2 em { color: var(--signal-ink); font-style: italic; }
.method-band p { margin: 0 0 10px; color: var(--band-muted); font-size: 1rem; }
.method-band > a {
  display: flex;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 17px;
  border-top: 1px solid var(--band-line);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Reusable index cards and sections */

.section {
  margin: 68px 0;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.section-tight { margin: 42px 0; }

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading h2 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.7rem); }
.section-heading > p { max-width: 44ch; margin: 0; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 25px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease;
}

.card:hover { background: var(--signal); color: var(--on-accent); }
.card:hover p,
.card:hover .card-label,
.card:hover .card-more { color: var(--on-accent); }
.card:hover .article-art .accent { fill: var(--paper); }

/* Article line art — stroke-only currentColor so it re-inks with the theme. */

.article-art { display: block; width: 100%; height: auto; }

.article-art path,
.article-art circle,
.article-art rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.article-art .accent { fill: var(--signal); }

.card-art {
  display: block;
  margin: -25px -25px 6px;
  padding: 16px 22px 10px;
  border-bottom: 1px solid var(--ink);
}
.card-art .article-art { max-height: 168px; }

.post-art {
  margin: 30px 0 36px;
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 20px 28px;
}
.post-art .article-art { max-height: 240px; }

.journal-art {
  display: grid;
  place-items: center;
  height: 62px;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: var(--white);
}
.journal-art .article-art { width: auto; height: 100%; }
.card h3 { margin: auto 0 0; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.card p { margin: 0; color: var(--muted); font-size: 0.86rem; }
.card-more { margin-top: 12px; font-size: 0.75rem; font-weight: 720; }
.text-link { font-size: 0.8rem; font-weight: 720; }

.about-band {
  padding: 38px;
  border: 1px solid var(--ink);
  background: var(--signal);
  color: var(--on-accent);
}

.about-band h2 { margin: 8px 0; }
.about-band p { max-width: 70ch; margin-bottom: 0; }
.about-band .eyebrow { color: var(--on-accent); }

/* Breadcrumbs and detail content */

.breadcrumb { margin: 34px 0 12px; font-size: 0.76rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

.inner-page main { padding-top: 28px; }
.page-header { max-width: 52rem; margin: 38px 0 48px; }
.page-header h1,
.index-header h1,
.prose > header h1 { margin: 12px 0 24px; font-size: clamp(2.8rem, 7vw, 6rem); }

/* Editorial index pages (patch briefings, field notes) */

.index-header { max-width: 62rem; margin: 38px 0 clamp(40px, 6vw, 64px); }
.index-header h1 em { font-style: italic; }

.briefing-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.briefing-list > li { border-bottom: 1px solid var(--ink); }

.briefing-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: clamp(26px, 4vw, 40px) 0;
  text-decoration: none;
  transition: padding 180ms ease, background 180ms ease;
}

.briefing-row:hover { padding-right: 20px; padding-left: 20px; background: var(--white); }

.briefing-index { font-family: var(--serif); font-size: 1.35rem; line-height: 1.3; }
.briefing-main { display: flex; flex-direction: column; gap: 12px; }
.briefing-meta { color: var(--muted); font-size: 0.66rem; font-weight: 740; letter-spacing: 0.1em; text-transform: uppercase; }
.briefing-main strong {
  max-width: 24ch;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.briefing-desc { max-width: 62ch; color: var(--muted); font-size: 0.88rem; }

.briefing-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  padding-top: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 740;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: right;
}
.briefing-side span:last-child { color: var(--ink); }

.article-grid { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); }

/* Post headers (article + patch detail pages) */

.post-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 30px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post .facts.post-facts { margin: 34px 0 10px; }
.post-facts dd a { text-decoration: none; border-bottom: 1px solid var(--ink); }

/* Game hub art plate — tone background comes from the game-tone-N classes. */

.game-plate {
  margin: 0 0 44px;
  padding: 22px 30px;
  border: 1px solid var(--ink);
  color: var(--on-accent);
}
.game-plate .article-art { max-height: 230px; }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.facts > div { padding: 17px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--white); }
.facts dt { color: var(--muted); font-size: 0.63rem; font-weight: 740; letter-spacing: 0.1em; text-transform: uppercase; }
.facts dd { margin: 6px 0 0; font-weight: 650; }

.entry-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
}

.entry-index li { border-bottom: 1px solid var(--ink); }
.entry-index a { display: flex; flex-direction: column; gap: 4px; padding: 18px 4px; text-decoration: none; }
.entry-index a:hover { padding-left: 14px; background: var(--white); }
.index-word { font-family: var(--serif); font-size: 1.18rem; }
.index-gloss { color: var(--muted); font-size: 0.82rem; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}
.chip:hover { background: var(--signal); color: var(--on-accent); }

.prose { max-width: 48rem; }
.prose h2 { margin-top: 2em; font-size: clamp(1.8rem, 4vw, 3rem); }
.prose h3 { margin-top: 1.7em; font-family: var(--serif); font-size: 1.45rem; }
.prose p, .prose li { text-wrap: pretty; }
.prose img { max-width: 100%; height: auto; }
.prose ::marker { color: var(--muted); }
.prose blockquote { margin: 1.4em 0; padding: 8px 22px; border-left: 3px solid var(--ink); color: var(--ink-soft); }
.prose table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 9px 13px; border: 1px solid var(--line); text-align: left; font-size: 0.9rem; }
.prose th { background: var(--paper-deep); }
.prose code { padding: 2px 6px; border: 1px solid var(--line); background: var(--paper-deep); font-size: 0.86em; }

.post-date { color: var(--muted); font-size: 0.82rem; }
.post-footer { margin-top: 44px; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); }

.source-list {
  margin-top: 48px;
  border: 1px solid var(--ink);
  background: var(--white);
}
.source-list h2 {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 13px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.source-list h2::after { content: "The research trail"; color: var(--band-muted); }
.source-list p { margin: 0; padding: 14px 20px 4px; color: var(--muted); font-size: 0.84rem; }
.source-list ul { list-style: none; counter-reset: source; margin: 0; padding: 8px 0 4px; }
.source-list li {
  counter-increment: source;
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 11px 20px;
  font-size: 0.9rem;
}
.source-list li + li { border-top: 1px solid var(--line); }
.source-list li::before {
  content: counter(source, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--muted);
  font-size: 0.95rem;
}

/* Support and policy pages */

.support-page { max-width: 56rem; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); margin: 28px 0; }
.support-grid section { padding: 21px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--white); }
.support-grid span { color: var(--muted); font-size: 0.7rem; font-weight: 760; letter-spacing: 0.08em; }
.support-grid h2 { margin: 8px 0; font-family: var(--sans); font-size: 1rem; font-weight: 730; letter-spacing: 0; }
.support-grid p { margin: 0; color: var(--muted); font-size: 0.84rem; }

.support-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0;
  padding: 28px;
  border: 1px solid var(--ink);
  background: var(--signal);
  color: var(--on-accent);
}
.support-callout h2 { margin: 5px 0; font-family: var(--sans); font-size: 1rem; font-weight: 740; letter-spacing: 0; word-break: break-all; }
.support-callout p { margin: 0; font-size: 0.86rem; }
.support-callout .quick-label { color: var(--on-accent); }
.support-callout .button-link { border-color: var(--on-accent); background: var(--on-accent); color: var(--signal); }
.support-callout .button-link:hover { background: var(--white); color: var(--ink); }
.policy-page { padding-bottom: 34px; }
.notfound { padding: 110px 0; text-align: center; }

/* Footer */

.site-footer {
  margin-top: 100px;
  border-top: 1px solid var(--ink);
  background: var(--paper-deep);
}

.footer-inner {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px 60px;
  align-content: center;
  padding-top: 52px;
  padding-bottom: 45px;
}

.footer-brand {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}
.footer-brand .brand-mark { width: 32px; height: 32px; }

.footer-inner > p:not(.footer-note) {
  max-width: 46ch;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.15;
}

.footer-inner nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; align-self: start; }
.footer-inner nav a { font-size: 0.78rem; font-weight: 650; text-decoration: none; }
.footer-note { grid-column: 1 / -1; margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }

/* Responsive */

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-feature { min-height: 500px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li:nth-child(3) { border-left: 0; border-top: 1px solid var(--ink); }
  .trust-strip li:nth-child(4) { border-top: 1px solid var(--ink); }
  .desk-layout { grid-template-columns: 1fr; }
  .lead-story { min-height: 500px; }
  .story-stack { border-top: 1px solid var(--ink); }
  .method-band > div { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; align-items: center; }
  .brand-text small { display: none; }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 0.72rem; }
  .site-nav a:last-child { display: none; }

  .home-hero { gap: 48px; padding: 50px 0 58px; }
  .hero-kicker span:last-child { display: none; }
  .home-hero h1 { font-size: clamp(3.25rem, 17vw, 5.4rem); margin-top: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-feature { min-height: 430px; }
  .signal-art { min-height: 220px; }
  .feature-copy { grid-template-columns: 1fr; }
  .feature-copy > span:last-child { grid-row: auto; grid-column: 1; }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip li { min-height: 88px; }
  .trust-strip li + li { border-left: 0; border-top: 1px solid var(--ink); }

  .editorial-heading { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
  .editorial-heading h2 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .home-section { padding: 78px 0; }

  .lead-story { min-height: 460px; }
  .desk-story { grid-template-columns: auto 1fr; }
  .story-arrow { display: none; }

  .home-game-grid { grid-template-columns: 1fr; }
  .home-game { min-height: 260px; }

  .journal-row {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    padding: 20px 0;
  }
  .journal-art { display: none; }
  .journal-date { grid-column: 2; grid-row: 1; }
  .journal-row strong { grid-column: 2 / -1; grid-row: 2; }
  .journal-arrow { grid-column: 3; grid-row: 1; }

  .briefing-row { grid-template-columns: 40px 1fr; gap: 14px; }
  .briefing-side { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; padding-top: 2px; }
  .briefing-main strong { max-width: none; }
  .post-kicker span:last-child { display: none; }

  .method-band { margin-right: -14px; margin-left: -14px; padding: 42px 26px; }
  .method-band h2 { font-size: clamp(2.9rem, 15vw, 4.6rem); }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-note { grid-column: 1; }
}
