/* The Games Insider: design system. Editorial, mobile-first, no web fonts, light and dark.
   Tokens first, then base, layout, components, article, footer, responsive. See docs/DESIGN_SYSTEM.md. */

/* ---- Tokens ---------------------------------------------------------------- */
:root {
  /* colour: light (default) */
  --bg: #fbfaf8;
  --surface: #ffffff;
  --surface-2: #f1eef4;
  --ink: #15111d;
  --ink-2: #3b3547;
  --muted: #655f74;
  --rule: #e4e0ea;
  --brand: #e0006b;          /* fills, white text on top: 4.9:1 */
  --brand-ink: #b8005a;      /* link and label text on --bg / --surface */
  --accent: #5b32d6;         /* secondary violet, used sparingly */
  --on-brand: #ffffff;
  --ring: #5b32d6;
  --header: #0b0614;
  --header-ink: #f4f0fa;
  --header-muted: #b7aecb;
  /* kicker colours (text on --bg/--surface, all >= 4.5:1) */
  --k-news: #b8005a; --k-reviews: #8f5200; --k-guides: #006690; --k-deals: #07724a; --k-industry: #5b32d6;
  --k-weekly: #7a1fc4; --k-editorial: #5c566b;
  --k-playstation: #0a4cc7; --k-xbox: #0b6b0b; --k-nintendo: #c0000f; --k-pc: #4f4a62; --k-mobile: #00736a;
  /* type */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
  --serif: "Iowan Old Style", "Charter", "Sitka Text", Cambria, Georgia, "Noto Serif", serif;
  /* scale (fluid headline sizes, fixed UI sizes) */
  --fs-meta: 0.8125rem;      /* 13 */
  --fs-small: 0.875rem;      /* 14 */
  --fs-body: 1rem;           /* 16 */
  --fs-prose: 1.125rem;      /* 18 */
  --fs-h3: 1.1875rem;
  --fs-h1: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  --fs-lead: clamp(1.6rem, 1.15rem + 1.9vw, 2.45rem);
  /* space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  /* layout */
  --max: 1200px;
  --measure: 42rem;          /* article column */
  --side: 320px;
  --r: 6px;
  color-scheme: light;
}
/* dark palette: follows the system setting unless the reader chose a theme; the same values apply to [data-theme="dark"] */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0914; --surface: #151020; --surface-2: #1d1629; --ink: #f4f0fa; --ink-2: #d2cadf; --muted: #a59cb8;
    --rule: #2b2339; --brand-ink: #ff6aae; --accent: #a58bff; --ring: #ff8cc2; color-scheme: dark;
    --k-news: #ff6aae; --k-reviews: #ffb238; --k-guides: #5cc8ff; --k-deals: #43e0a0; --k-industry: #a58bff;
    --k-weekly: #cf8bff; --k-editorial: #a59cb8; --k-playstation: #6ea2ff; --k-xbox: #52d977; --k-nintendo: #ff6b73;
    --k-pc: #b3acc6; --k-mobile: #3fdccc;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0914; --surface: #151020; --surface-2: #1d1629; --ink: #f4f0fa; --ink-2: #d2cadf; --muted: #a59cb8;
  --rule: #2b2339; --brand-ink: #ff6aae; --accent: #a58bff; --ring: #ff8cc2; color-scheme: dark;
  --k-news: #ff6aae; --k-reviews: #ffb238; --k-guides: #5cc8ff; --k-deals: #43e0a0; --k-industry: #a58bff;
  --k-weekly: #cf8bff; --k-editorial: #a59cb8; --k-playstation: #6ea2ff; --k-xbox: #52d977; --k-nintendo: #ff6b73;
  --k-pc: #b3acc6; --k-mobile: #3fdccc;
}

/* ---- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--fs-body)/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-ink); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--s4); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 30; background: var(--brand); color: var(--on-brand); padding: var(--s3) var(--s4); font-weight: 700; }
.skip:focus { left: var(--s2); top: var(--s2); }
main { padding-top: var(--s5); padding-bottom: var(--s7); min-height: 60vh; }

/* ---- Buttons and icon buttons ---------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 var(--s4); border: 1px solid currentColor; border-radius: var(--r); font: 700 var(--fs-small)/1 var(--sans); cursor: pointer; white-space: nowrap; background: transparent; color: var(--ink); }
.btn:hover { color: var(--brand-ink); }
.btn-solid, .site-header .btn { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-solid:hover, .site-header .btn:hover { color: var(--on-brand); filter: brightness(1.08); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: inherit; cursor: pointer; font-size: 18px; }
.menu-btn { display: none; }

/* ---- Header (always dark so the logo sits on its intended background) ------ */
.site-header { background: var(--header); color: var(--header-ink); border-bottom: 3px solid var(--brand); }
.site-header a:hover { color: #fff; }
.bar { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo . actions" "nav nav nav"; align-items: center; column-gap: var(--s4); padding-top: var(--s2); padding-bottom: 0; }
.logo { grid-area: logo; padding: var(--s1) 0; }
.logo img { height: 48px; width: auto; }
.actions { grid-area: actions; display: flex; align-items: center; gap: var(--s2); }
.actions .icon-btn { color: var(--header-ink); }
.actions .icon-btn:hover { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.mainnav { grid-area: nav; display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--s2) * -1); }
.mainnav::-webkit-scrollbar { display: none; }
.mainnav a { padding: 11px var(--s3); font-weight: 600; font-size: var(--fs-small); color: var(--header-muted); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.mainnav a:hover { color: #fff; }
.mainnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--brand); }
.mainnav a.hot { color: #fff; font-weight: 800; }
.mainnav a.hot::before { content: "\2605\00a0"; color: #ff6aae; }
.nav-extra { display: none; }
.quick { background: #120a20; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.quick-inner { display: flex; gap: var(--s5); align-items: center; overflow-x: auto; scrollbar-width: none; min-height: 40px; font-size: var(--fs-meta); }
.quick-inner::-webkit-scrollbar { display: none; }
.quick-label { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.6875rem; color: #ff6aae; flex: none; }
.quick a { color: var(--header-muted); white-space: nowrap; padding: 10px 0; }

/* ---- Section heads, labels, breadcrumbs ----------------------------------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin: 0 0 var(--s3); padding-bottom: var(--s2); border-bottom: 1px solid var(--rule); }
.section-head > :first-child { font: 800 0.8125rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.section-head > :first-child::before { content: ""; display: inline-block; width: 4px; height: 14px; margin-right: 10px; vertical-align: -1px; background: var(--brand); transform: skewX(-18deg); }
.see-all { display: inline-block; padding: 4px 0; font-size: var(--fs-small); font-weight: 700; color: var(--brand-ink); white-space: nowrap; }
.see-all:hover { text-decoration: underline; }
.eyebrow { font: 800 var(--fs-meta)/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-ink); margin: 0 0 var(--s2); }
.crumbs { font-size: var(--fs-meta); color: var(--muted); margin-bottom: var(--s4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 var(--s2); list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--rule); }
.crumbs li[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.crumbs a { padding: 6px 0; display: inline-block; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.kickers { display: flex; flex-wrap: wrap; gap: 0 var(--s3); margin-bottom: var(--s1); }
.kicker { --k: var(--k-news); display: inline-block; min-width: 24px; padding: 5px 0; font: 800 0.6875rem/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--k); }
.kicker:hover { color: var(--k); text-decoration: underline; }
.s-news { --k: var(--k-news); } .s-reviews { --k: var(--k-reviews); } .s-guides { --k: var(--k-guides); } .s-deals { --k: var(--k-deals); }
.s-industry { --k: var(--k-industry); } .s-weekly { --k: var(--k-weekly); } .s-editorial { --k: var(--k-editorial); }
.p-playstation { --k: var(--k-playstation); } .p-xbox { --k: var(--k-xbox); } .p-nintendo { --k: var(--k-nintendo); }
.p-pc { --k: var(--k-pc); } .p-mobile { --k: var(--k-mobile); }
.score { position: absolute; right: var(--s3); top: var(--s3); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font: 800 1.0625rem/1 var(--sans); color: #111; border: 3px solid rgba(0, 0, 0, 0.3); }
.score-big { width: 60px; height: 60px; font-size: 1.5rem; }
.score-high { background: #3bdc92; } .score-mid { background: #ffc934; } .score-low { background: #ff6262; }

/* ---- Cards ---------------------------------------------------------------- */
.card { position: relative; }
.card .thumb { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--surface-2); aspect-ratio: 16 / 9; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font: 700 var(--fs-h3)/1.25 var(--serif); margin: 0 0 var(--s2); }
.card h3 a:hover, .card h2 a:hover { color: var(--brand-ink); }
.card .summary { margin: 0 0 var(--s2); color: var(--ink-2); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { margin: 0; font-size: var(--fs-meta); color: var(--muted); }
.meta a { color: var(--ink-2); font-weight: 600; }
.meta a:hover { color: var(--brand-ink); text-decoration: underline; }
.card-body { padding-top: var(--s3); }
.card.lead .thumb { border-radius: var(--r); }
.lead-text { padding-top: var(--s4); }
.card.lead h2 { font: 700 var(--fs-lead)/1.12 var(--serif); letter-spacing: -0.01em; margin: 0 0 var(--s3); }
.card.lead .summary { font-size: 1.0625rem; -webkit-line-clamp: 4; }
.card.compact { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); }
.card.compact:last-child { border-bottom: 0; padding-bottom: 0; }
.card.compact h3 { font-size: 1rem; margin: 0 0 var(--s1); }
.card.compact .kickers { margin-bottom: var(--s1); }
.card.row { display: grid; grid-template-columns: 260px 1fr; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--rule); }
.card.row .card-body { padding-top: 0; }
.card.row h3 { font-size: 1.375rem; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }

/* ---- Home ------------------------------------------------------------------ */
.hero { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: var(--s6); margin-bottom: var(--s7); }
.hero-side { border-left: 1px solid var(--rule); padding-left: var(--s6); }
.strip { margin: 0 0 var(--s7); }
.strip-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 72px) / 4)); gap: var(--s5); overflow-x: auto; padding-bottom: var(--s2); scroll-snap-type: x mandatory; }
.strip-row > * { scroll-snap-align: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) var(--side); gap: var(--s7); margin-bottom: var(--s7); }
.split-side { display: flex; flex-direction: column; gap: var(--s6); }
.river { border-top: 1px solid var(--rule); }
.split-main > .river:first-child, .split-main > .section-head + .river { border-top: 0; }
.picks ol { list-style: none; counter-reset: pick; margin: 0; padding: 0; }
.picks li { counter-increment: pick; display: grid; grid-template-columns: 36px 1fr; gap: var(--s2); padding: var(--s3) 0; border-bottom: 1px solid var(--rule); font: 700 1rem/1.35 var(--serif); }
.picks li:last-child { border-bottom: 0; }
.picks li::before { content: counter(pick); font: 800 1.5rem/1 var(--sans); color: var(--brand-ink); }
.picks a:hover { color: var(--brand-ink); }
.platform-row { margin: 0 0 var(--s7); }

/* ---- Newsletter ------------------------------------------------------------- */
.newsletter { border-radius: var(--r); padding: var(--s5); background: var(--header); color: #fff; border-top: 3px solid var(--brand); }
.newsletter .eyebrow { color: #ff8cc2; }
.newsletter-title { font: 700 1.3125rem/1.25 var(--serif); margin: 0 0 var(--s4); }
.newsletter .soon { margin: 0; font-size: 0.9375rem; color: #d9cfee; }
.newsletter .soon a { text-decoration: underline; color: #fff; }
.signup { display: flex; flex-wrap: wrap; gap: var(--s2); }
.signup input { flex: 1 1 180px; min-width: 0; min-height: 44px; padding: 0 var(--s3); border-radius: var(--r); border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.08); color: #fff; font: inherit; }
.signup input::placeholder { color: #bdb2d3; }
.newsletter-box, .newsletter-inline { max-width: 760px; margin: var(--s6) auto 0; }
.weekly-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s6); align-items: center; padding: var(--s6) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.weekly-band h2 { font: 700 clamp(1.4rem, 1rem + 1.4vw, 2rem)/1.15 var(--serif); margin: 0 0 var(--s3); }
.weekly-band > div:first-child .eyebrow { margin: 0 0 var(--s2); }
.weekly-band > div:first-child > p:not(.eyebrow) { color: var(--ink-2); margin: 0; }
.weekly-band .newsletter { margin: 0; }

/* ---- Listing and static pages ---------------------------------------------- */
.page-head { max-width: 46rem; margin: var(--s3) 0 var(--s6); }
.page-head h1 { font: 700 var(--fs-h1)/1.08 var(--serif); letter-spacing: -0.01em; margin: 0 0 var(--s3); }
.standfirst { font: 400 1.25rem/1.45 var(--serif); color: var(--ink-2); margin: 0 0 var(--s4); }
.listing-lead { margin-bottom: var(--s6); }
.empty { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s6) 0 0; }
.pager a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 var(--s3); border: 1px solid var(--rule); border-radius: var(--r); font-weight: 700; font-size: var(--fs-small); }
.pager a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager a:hover { border-color: var(--brand); }
.authors { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); max-width: 46rem; }
.authors h2 { font: 700 1.5rem/1.2 var(--serif); }
.log { padding-left: var(--s5); }

/* ---- Article ---------------------------------------------------------------- */
.article-layout { display: grid; grid-template-columns: minmax(0, var(--measure)) var(--side); gap: var(--s7); justify-content: center; }
.post-head h1 { font: 700 var(--fs-h1)/1.1 var(--serif); letter-spacing: -0.015em; margin: var(--s2) 0 var(--s4); }
.post-head .standfirst { margin-bottom: var(--s4); }
.post-head .meta { font-size: var(--fs-small); padding-bottom: var(--s4); border-bottom: 1px solid var(--rule); }
.post-image { margin: var(--s5) 0; }
.post-image img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; }
.post-image figcaption { font-size: var(--fs-meta); color: var(--muted); margin-top: var(--s2); }
.notice { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); background: var(--surface); border-left: 4px solid var(--brand); font-size: var(--fs-small); }
.verified { margin: 0 0 var(--s4); padding: var(--s3) var(--s4); background: var(--surface); border-left: 4px solid #1f9d63; font-size: var(--fs-small); color: var(--ink-2); }
.verified span { color: #1f9d63; font-weight: 800; margin-right: var(--s1); }
.verified time { color: var(--ink); font-weight: 700; }
.scorebox { display: flex; align-items: center; gap: var(--s4); padding: var(--s4); margin: 0 0 var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.scorebox .score { position: static; flex: none; }
.scorebox strong { display: block; }
.scorebox span { color: var(--muted); font-size: var(--fs-small); }
.keyfacts { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--brand); border-radius: var(--r); padding: var(--s4) var(--s5); margin: 0 0 var(--s5); }
.keyfacts h2 { font: 800 var(--fs-meta)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-ink); margin: 0 0 var(--s2); }
.keyfacts ul { margin: 0; padding-left: 1.2em; }
.keyfacts li { margin: var(--s1) 0; }
.prose { font-size: var(--fs-prose); line-height: 1.7; }
.prose h2 { font: 700 1.625rem/1.2 var(--serif); margin: var(--s7) 0 var(--s3); }
.prose h3 { font: 700 1.25rem/1.25 var(--serif); margin: var(--s6) 0 var(--s2); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: var(--s2); }
.prose a { color: var(--brand-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose blockquote { margin: var(--s5) 0; padding: 0 0 0 var(--s4); border-left: 4px solid var(--brand); font: italic 1.25rem/1.5 var(--serif); color: var(--ink-2); }
.prose blockquote p { margin: 0; }
.why { margin: var(--s6) 0; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--brand); border-radius: var(--r); }
.why h2 { margin: 0 0 var(--s2); font: 800 var(--fs-meta)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-ink); }
.why p:last-child, .why ul:last-child { margin-bottom: 0; }
.sources, .corrections-log { margin: var(--s6) 0 0; padding: var(--s4) 0 0; border-top: 1px solid var(--rule); font-size: var(--fs-small); }
.sources h2, .corrections-log h2 { font: 800 var(--fs-meta)/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 var(--s2); }
.sources p { margin: 0 0 var(--s2); color: var(--muted); }
.sources ul, .corrections-log ul { margin: 0; padding-left: 1.2em; }
.sources li, .corrections-log li { margin: var(--s1) 0; }
.sources a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.host { color: var(--muted); font-size: var(--fs-meta); margin-left: var(--s1); }
.post-tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s6) 0 var(--s4); }
.post-tags a, .post-tags span { padding: 6px var(--s3); border: 1px solid var(--rule); border-radius: var(--r); font-size: var(--fs-small); font-weight: 600; background: var(--surface); }
.post-tags a:hover { border-color: var(--brand); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); padding: var(--s3) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.share > span { font-weight: 800; font-size: var(--fs-meta); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-right: var(--s2); }
.share a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s3); border: 1px solid var(--rule); border-radius: var(--r); font-size: var(--fs-small); font-weight: 600; }
.share a:hover { border-color: var(--brand); }
.feedback { font-size: var(--fs-small); color: var(--muted); }
.feedback a { color: var(--brand-ink); text-decoration: underline; }
.author-box { margin: var(--s5) 0; padding: var(--s4) var(--s5); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); font-size: var(--fs-small); }
.author-box p { margin: var(--s1) 0; }
.author-box a:hover { color: var(--brand-ink); }
.article-side { padding-top: var(--s2); }
.related { margin-top: var(--s7); }
.related .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-article { max-width: var(--measure); }

/* ---- Search ----------------------------------------------------------------- */
.searchbox { max-width: 46rem; margin: 0 0 var(--s5); }
.searchbox input { width: 100%; min-height: 52px; padding: 0 var(--s4); border-radius: var(--r); border: 1px solid var(--ink-2); background: var(--surface); color: var(--ink); font: inherit; font-size: 1.125rem; }
.searchbox input:focus { border-color: var(--ring); outline: 3px solid var(--ring); outline-offset: 0; }
#results { max-width: 56rem; }

/* ---- Footer ----------------------------------------------------------------- */
.site-footer { background: var(--header); color: var(--header-muted); border-top: 3px solid var(--brand); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s5); }
.footer-brand img { height: 60px; width: auto; margin-bottom: var(--s3); }
.footer-brand p { margin: 0; font-size: var(--fs-small); max-width: 38ch; }
.site-footer nav { display: flex; flex-direction: column; gap: 2px; font-size: var(--fs-small); }
.site-footer nav a { padding: 6px 0; }
.site-footer h2 { font: 800 0.6875rem/1 var(--sans); text-transform: uppercase; letter-spacing: 0.12em; color: #ff8cc2; margin: 0 0 var(--s2); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { padding-top: var(--s4); padding-bottom: var(--s6); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--fs-meta); }

/* ---- Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, var(--measure)); }
  .article-side { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
  .strip-row { grid-auto-columns: minmax(240px, calc((100% - 24px) / 2)); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: var(--s6); }
  .hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--s5); }
  .weekly-band { grid-template-columns: 1fr; }
  .card.row { grid-template-columns: 180px 1fr; gap: var(--s4); }
  .card.row h3 { font-size: 1.1875rem; }
  .card.row .summary { -webkit-line-clamp: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  /* the menu collapses behind a button when JavaScript is available; without it the nav scrolls sideways */
  .bar { grid-template-areas: "logo actions" "nav nav"; grid-template-columns: 1fr auto; }
  .js .mainnav { display: none; flex-direction: column; margin: 0 calc(var(--s4) * -1); padding: var(--s2) var(--s4) var(--s3); background: #120a20; }
  .js .mainnav.open { display: flex; }
  .js .mainnav.open .nav-extra { display: block; color: #fff; }
  .js .mainnav a { padding: 14px var(--s2); border-bottom: 1px solid rgba(255, 255, 255, 0.07); margin: 0; font-size: 1rem; }
  .js .menu-btn { display: inline-grid; }
  .quick { display: none; }
  .logo img { height: 40px; }
  .actions .btn { display: none; }
}
@media (max-width: 560px) {
  .grid, .related .grid { grid-template-columns: 1fr; }
  .card.row { grid-template-columns: 112px 1fr; }
  .card.row .summary { display: none; }
  .card.row h3 { font-size: 1.0625rem; }
  .card.row .kickers { margin-bottom: var(--s1); }
  .card.compact { grid-template-columns: 88px 1fr; }
  .standfirst { font-size: 1.125rem; }
  .prose { font-size: 1.0625rem; }
  .keyfacts, .why, .author-box { padding: var(--s4); }
  .footer-grid { grid-template-columns: 1fr; }
  main { padding-top: var(--s4); }
}
@media (prefers-reduced-motion: no-preference) {
  .card .thumb img { transition: transform 0.3s ease; }
  .card:hover .thumb img { transform: scale(1.03); }
}
@media (forced-colors: active) {
  .btn, .icon-btn, .pager a, .post-tags a { border: 1px solid ButtonText; }
  .site-header, .site-footer { border-color: CanvasText; }
}
@media print {
  .site-header, .site-footer, .share, .newsletter, .article-side, .related, .quick { display: none; }
  body { background: #fff; color: #000; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}
