@charset "UTF-8";
/* ==========================================================================
   FORELINES — "Signal" design system
   A modern research-institute look: midnight navy, signal orange, a colour per
   publication type, Sora headlines, Source Serif reading text, rounded cards.

    1. Fonts            9. Home
    2. Tokens          10. Cards & lists
    3. Base            11. Article
    4. Layout          12. Listings, pages, authors
    5. Buttons, chips  13. Sidebar modules
    6. Top bar/header  14. Footer
    7. Drawer          15. Utilities & print
    8. Search
   ========================================================================== */

/* ------------------------------------------------------------ 1. FONTS */
@font-face { font-family: 'Sora'; src: url('/assets/fonts/sora-variable.woff2') format('woff2-variations'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/assets/fonts/sourceserif4-variable.woff2') format('woff2-variations'); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('/assets/fonts/sourceserif4-italic-variable.woff2') format('woff2-variations'); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'InterVar'; src: url('/assets/fonts/inter-variable.woff2') format('woff2-variations'); font-weight: 100 900; font-display: swap; }

/* ----------------------------------------------------------- 2. TOKENS */
:root {
  --font-display: 'Sora', 'InterVar', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-ui: 'InterVar', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #F4F6FA;
  --surface: #FFFFFF;
  --surface-2: #EBEFF5;
  --ink: #0B1524;
  --ink-2: #29364A;
  --muted: #586579;
  --faint: #8792A3;
  --line: #E0E5EE;
  --line-2: #C9D1DD;

  --navy: #0B1524;
  --navy-2: #13233B;
  /* brand gold from the logo: --accent is the text-safe deep gold,
     --gold the brighter one used for fills, buttons and lines */
  --accent: #8A6628;
  --accent-2: #6F5120;
  --accent-soft: #F6EEDF;
  --gold: #C29B57;
  --gold-2: #D6B676;
  --focus: #2E62F0;

  /* one colour per publication type */
  --c-analysis: #2E62F0;
  --c-brief: #0C9B76;
  --c-research: #A8792E;
  --c-explainer: #7453F0;
  --c-commentary: #D2336E;
  --c-news: #6F7B8D;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(11, 21, 36, .06);
  --shadow: 0 1px 2px rgba(11, 21, 36, .05), 0 10px 30px -14px rgba(11, 21, 36, .18);
  --shadow-lg: 0 30px 70px -30px rgba(11, 21, 36, .45);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;

  --shell: 1280px;
  --gutter: clamp(1rem, 4vw, 2.25rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --speed: 200ms;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #09111D; --surface: #0F1928; --surface-2: #162336;
    --ink: #E8EDF5; --ink-2: #C3CDDA; --muted: #93A0B3; --faint: #6B788B;
    --line: #1D2A3C; --line-2: #2B3A50;
    --accent: #D9B878; --accent-2: #E8CE98; --accent-soft: #2A2214; --focus: #6D95FF; --gold: #D2AE6C; --gold-2: #E3C68F;
    --c-analysis: #6D95FF; --c-brief: #33C79C; --c-research: #D9B878;
    --c-explainer: #A18BFF; --c-commentary: #F0679B; --c-news: #8C98AA;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #09111D; --surface: #0F1928; --surface-2: #162336;
  --ink: #E8EDF5; --ink-2: #C3CDDA; --muted: #93A0B3; --faint: #6B788B;
  --line: #1D2A3C; --line-2: #2B3A50;
  --accent: #D9B878; --accent-2: #E8CE98; --accent-soft: #2A2214; --focus: #6D95FF; --gold: #D2AE6C; --gold-2: #E3C68F;
  --c-analysis: #6D95FF; --c-brief: #33C79C; --c-research: #D9B878;
  --c-explainer: #A18BFF; --c-commentary: #F0679B; --c-news: #8C98AA;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ------------------------------------------------------------- 3. BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
::selection { background: var(--gold); color: var(--navy); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
kbd { font-family: var(--font-mono); font-size: .8em; padding: .1em .4em; border: 1px solid var(--line-2); border-radius: 4px; background: var(--surface); }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; padding: .7rem 1.2rem; background: var(--accent); color: #fff; font-weight: 600; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------- 4. LAYOUT */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell--narrow { max-width: 820px; }
.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.section--tight { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.section--flush { padding-top: 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.band { background: var(--surface); border-block: 1px solid var(--line); }

.layout-rail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 1080px) { .layout-rail { grid-template-columns: minmax(0, 1fr); } }

.card-grid { display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s6); }
.section-head__eyebrow { margin: 0 0 .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.section-head__title { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.03em; }
.section-head__more {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .55rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  font-size: .84rem; font-weight: 600; color: var(--ink-2);
  transition: background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease);
}
.section-head__more:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.section-intro { margin: calc(var(--s5) * -1) 0 var(--s6); max-width: 64ch; color: var(--muted); }

/* ------------------------------------------------- 5. BUTTONS & CHIPS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.35rem; border: 1px solid var(--ink); border-radius: var(--r-pill);
  background: var(--ink); color: var(--bg);
  font-size: .9rem; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
  transition: transform var(--speed) var(--ease), background var(--speed) var(--ease), border-color var(--speed) var(--ease), color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform var(--speed) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--gold); border-color: var(--gold); color: #0B1524; box-shadow: 0 10px 24px -12px var(--gold); }
.btn--accent:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--sm { padding: .55rem .95rem; font-size: .82rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none;
  border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

.chip {
  --chip: var(--c-analysis);
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem .3rem .6rem; border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--chip) 12%, transparent);
  color: var(--chip);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; white-space: nowrap;
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
a.chip:hover { background: var(--chip); color: #fff; }
.chip--analysis { --chip: var(--c-analysis); }
.chip--brief { --chip: var(--c-brief); }
.chip--research { --chip: var(--c-research); }
.chip--explainer { --chip: var(--c-explainer); }
.chip--commentary { --chip: var(--c-commentary); }
.chip--news { --chip: var(--c-news); }

.kicker-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; }
.kicker-sep { display: none; }
.kicker { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.kicker--muted { color: var(--faint); letter-spacing: .08em; }
.kicker--muted:hover { color: var(--ink); }
.kicker--light { color: rgba(255, 255, 255, .7); letter-spacing: .08em; }
.kicker--light:hover { color: #fff; }

/* ---------------------------------------------- 6. TOP BAR & HEADER */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: .76rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 38px; }
.topbar__tag { display: flex; align-items: center; gap: .7rem; margin: 0; }
.topbar__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.topbar__links { display: flex; gap: 1.25rem; }
.topbar__links a { color: rgba(255, 255, 255, .72); transition: color var(--speed); }
.topbar__links a:hover { color: #fff; }
@media (max-width: 760px) { .topbar__links { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--speed) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(11, 21, 36, .35); }
.site-header__row { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.5rem); height: var(--header-h); }

.menu-btn {
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
  height: 42px; padding: 0 .95rem 0 .75rem; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink); font-size: .84rem; font-weight: 600; cursor: pointer;
  transition: border-color var(--speed), background var(--speed);
}
.menu-btn:hover { border-color: var(--ink); }
.menu-btn svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .menu-btn span { display: none; } .menu-btn { padding: 0 .7rem; } }

.brand { display: inline-flex; align-items: center; gap: .6rem; flex: none; color: var(--ink); }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent) 0%, #FF8A3D 100%); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.04em;
  box-shadow: 0 6px 16px -8px var(--accent);
}
.brand__word { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.brand__word em { font-style: normal; color: var(--accent); }
.brand__logo { max-height: 42px; width: auto; }
.brand--inverse { color: #fff; }

.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.primary-nav__item { position: relative; display: flex; align-items: center; }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .85rem; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background var(--speed), color var(--speed);
}
.primary-nav__link:hover, .primary-nav__item.is-open > .primary-nav__link { background: var(--surface-2); color: var(--ink); }
.primary-nav__item.is-active > .primary-nav__link { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.primary-nav__caret svg { width: 14px; height: 14px; transition: transform var(--speed); }
.has-dropdown:hover .primary-nav__caret svg, .has-dropdown.is-open .primary-nav__caret svg { transform: rotate(180deg); }
.primary-nav__toggle { display: none; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 100;
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s5);
  width: min(640px, 90vw); padding: var(--s5);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.dropdown__intro { padding: var(--s4); border-radius: var(--r); background: var(--surface-2); display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; }
.dropdown__intro p { margin: 0; font-size: .84rem; line-height: 1.5; color: var(--muted); }
.dropdown__all { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; font-size: .84rem; font-weight: 700; color: var(--c-analysis); }
.dropdown__all svg { transition: transform var(--speed); }
.dropdown__all:hover svg { transform: translateX(3px); }
.dropdown__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.dropdown__list a { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: var(--r-sm); font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: background var(--speed), color var(--speed); }
.dropdown__list a:hover, .dropdown__list a[aria-current] { background: var(--surface-2); color: var(--ink); }
.dropdown__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: color-mix(in srgb, var(--c-analysis) 12%, transparent); color: var(--c-analysis); flex: none; }
.dropdown__icon svg { width: 17px; height: 17px; }

.site-header__actions { display: flex; align-items: center; gap: .25rem; margin-left: .25rem; }
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .site-header__actions { margin-left: auto; }
  .site-header__row .brand { margin-inline: auto 0; }
}

.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), #E8D3A6); transition: width 80ms linear; }

/* ------------------------------------------------------------ 7. DRAWER */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(6, 12, 22, .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity 250ms var(--ease); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(390px, 88vw);
  display: flex; flex-direction: column; gap: var(--s2); overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s4) var(--s5) var(--s6); background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(-100%); transition: transform 320ms var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--s3); }
.drawer__search { position: relative; margin-bottom: var(--s3); }
.drawer__search svg { position: absolute; left: .9rem; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--faint); }
.drawer__search input { width: 100%; padding: .75rem 1rem .75rem 2.6rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface-2); font-size: .9rem; }
.drawer__search input:focus { outline: none; border-color: var(--focus); background: var(--surface); }
.drawer__label { margin: var(--s4) 0 var(--s2); padding-left: .75rem; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.drawer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drawer__list a, .drawer__group summary {
  display: flex; align-items: center; gap: .75rem; padding: .7rem .75rem; border-radius: var(--r-sm);
  font-size: .98rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background var(--speed);
}
.drawer__list a svg, .drawer__group summary span svg { width: 19px; height: 19px; color: var(--muted); flex: none; }
.drawer__list a:hover, .drawer__group summary:hover { background: var(--surface-2); }
.drawer__list a[aria-current] { background: var(--accent-soft); color: var(--accent-2); }
.drawer__list a[aria-current] svg { color: var(--accent); }
.drawer__group summary { justify-content: space-between; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary > span { display: flex; align-items: center; gap: .75rem; }
.drawer__group summary > svg { color: var(--faint); transition: transform var(--speed); }
.drawer__group[open] summary > svg { transform: rotate(180deg); }
.drawer__sub { list-style: none; margin: 2px 0 var(--s2) 1.35rem; padding: 0 0 0 .9rem; border-left: 2px solid var(--line); display: grid; gap: 1px; }
.drawer__sub a { padding: .5rem .75rem; font-size: .9rem; font-weight: 500; color: var(--muted); }
.drawer__sub a:hover { color: var(--ink); }
.drawer__list--quiet a { font-weight: 500; color: var(--ink-2); font-size: .94rem; }
.drawer__cta {
  display: grid; gap: .2rem; margin-top: auto; padding: var(--s4) var(--s5); border-radius: var(--r);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff;
}
.drawer__cta strong { font-family: var(--font-display); font-size: 1.05rem; }
.drawer__cta span { font-size: .84rem; color: rgba(255, 255, 255, .7); }

/* ----------------------------------------------------------- 8. SEARCH */
.search-overlay {
  position: fixed; inset: 0; z-index: 220; display: grid; place-items: start center; padding-top: 16vh;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; visibility: hidden; transition: opacity var(--speed), visibility var(--speed);
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__box { width: min(760px, 90vw); }
.search-overlay input {
  width: 100%; padding: 1.1rem 1.5rem; border: 2px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface);
  font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 2rem); font-weight: 600; letter-spacing: -.02em; box-shadow: var(--shadow-lg);
}
.search-overlay input:focus { outline: none; border-color: var(--accent); }
.search-overlay__hint { margin-top: var(--s4); text-align: center; font-size: .84rem; color: var(--muted); }

/* ------------------------------------------------------------- 9. HOME */
.home-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(194, 155, 87, .26), transparent 60%),
    radial-gradient(700px 480px at -10% 110%, rgba(46, 98, 240, .32), transparent 60%),
    linear-gradient(180deg, #0B1524 0%, #0E1C31 100%);
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}
.home-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.home-hero .shell { position: relative; }
.home-hero__lead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-hero .chip { background: rgba(255, 255, 255, .1); color: #fff; }
.home-hero .chip::before { background: var(--gold); }
.home-hero__title { margin: var(--s4) 0; font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.home-hero__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 400ms var(--ease); }
.home-hero__title a:hover { background-size: 100% 2px; }
.home-hero__dek { max-width: 56ch; font-family: var(--font-body); font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .76); }
.home-hero__findings { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: .55rem; }
.home-hero__findings li { position: relative; padding-left: 1.4rem; color: rgba(255, 255, 255, .85); font-size: .95rem; line-height: 1.5; }
.home-hero__findings li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.home-hero__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s6); }
.home-hero__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin: 0; font-size: .84rem; color: rgba(255, 255, 255, .6); }
.home-hero__meta > * + *::before { content: '·'; margin-right: .9rem; color: rgba(255, 255, 255, .35); }
.home-hero__media { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); background: #13233B; }
.home-hero__media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.home-hero__lead:hover .home-hero__media img { transform: scale(1.03); }

.home-hero__side { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin-top: clamp(2rem, 4vw, 3rem); }
.mini {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: var(--s5);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r); background: rgba(255, 255, 255, .04);
  transition: background var(--speed), border-color var(--speed), transform var(--speed) var(--ease);
}
.mini:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.mini strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.mini__meta { margin-top: auto; font-size: .76rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 960px) {
  .home-hero__lead { grid-template-columns: 1fr; }
  .home-hero__media { order: -1; aspect-ratio: 16 / 10; }
  .home-hero__side { grid-template-columns: 1fr; }
}

.area-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.area-strip__inner { display: flex; align-items: center; gap: var(--s4); min-height: 64px; }
.area-strip__label { flex: none; padding-right: var(--s4); border-right: 1px solid var(--line); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-analysis); }
.area-strip__list { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-block: .6rem; }
.area-strip__list::-webkit-scrollbar { display: none; }
.area-strip__list a {
  display: inline-flex; align-items: center; gap: .45rem; flex: none; padding: .45rem .85rem;
  border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: border-color var(--speed), background var(--speed), color var(--speed);
}
.area-strip__list a svg { width: 15px; height: 15px; color: var(--c-analysis); }
.area-strip__list a:hover { border-color: var(--c-analysis); color: var(--ink); background: color-mix(in srgb, var(--c-analysis) 7%, transparent); }

.format-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1100px) { .format-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .format-cards { grid-template-columns: 1fr; } }
.fcard {
  --tone: var(--c-analysis);
  position: relative; display: flex; flex-direction: column; gap: .7rem; min-height: 290px; padding: var(--s5);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed);
}
.fcard::after { content: ''; position: absolute; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%; background: var(--tone); opacity: .08; transition: transform 500ms var(--ease), opacity 500ms; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--tone) 40%, var(--line)); }
.fcard:hover::after { transform: scale(1.35); opacity: .14; }
.fcard--brief { --tone: var(--c-brief); }
.fcard--research { --tone: var(--c-research); }
.fcard--explainer { --tone: var(--c-explainer); }
.fcard--commentary { --tone: var(--c-commentary); }
.fcard__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--tone); color: #fff; box-shadow: 0 10px 22px -12px var(--tone); }
.fcard__icon svg { width: 22px; height: 22px; }
.fcard h3 { margin-top: .4rem; font-size: 1.3rem; }
.fcard p { font-size: .9rem; line-height: 1.55; color: var(--muted); }
.fcard__latest { font-size: .84rem; line-height: 1.45; color: var(--ink-2); }
.fcard__latest em { display: block; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tone); }
.fcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--muted); }
.fcard__foot svg { color: var(--tone); transition: transform var(--speed); }
.fcard:hover .fcard__foot svg { transform: translateX(4px); }

.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s4); }
.area-card {
  display: flex; flex-direction: column; gap: .5rem; padding: var(--s5);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed), border-color var(--speed);
}
.area-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-analysis) 35%, var(--line)); }
.area-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .4rem; border-radius: 12px; background: color-mix(in srgb, var(--c-analysis) 12%, transparent); color: var(--c-analysis); }
.area-card__icon svg { width: 21px; height: 21px; }
.area-card h3 { font-size: 1.15rem; }
.area-card p { font-size: .88rem; line-height: 1.5; color: var(--muted); }
.area-card__count { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .4rem; font-size: .8rem; font-weight: 700; color: var(--c-analysis); }
.area-card__count svg { width: 15px; height: 15px; transition: transform var(--speed); }
.area-card:hover .area-card__count svg { transform: translateX(3px); }

.archive-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); }
@media (max-width: 720px) { .archive-list { grid-template-columns: 1fr; } }
.archive-list li { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: var(--s3); padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.archive-list time { padding-top: .15rem; font-size: .76rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.archive-list a { font-family: var(--font-display); font-size: .96rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; transition: color var(--speed); }
.archive-list a:hover { color: var(--accent); }
.topics { margin-top: var(--s7); }

/* -------------------------------------------------- 10. CARDS & LISTS */
.story { position: relative; display: flex; flex-direction: column; }
.story__media { position: relative; display: block; overflow: hidden; background: var(--surface-2); aspect-ratio: 16 / 10; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.story:hover .story__media img { transform: scale(1.04); }
.story__media--wide { aspect-ratio: 16 / 9; }
.story__media--tall { aspect-ratio: 4 / 5; }
.story__badge { position: absolute; left: .75rem; top: .75rem; padding: .3rem .65rem; border-radius: var(--r-pill); background: var(--gold); color: #0B1524; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.story__body { display: flex; flex-direction: column; gap: .6rem; }
.story__title { font-size: 1.14rem; font-weight: 600; line-height: 1.32; letter-spacing: -.02em; }
.story__title a { transition: color var(--speed); }
.story__title a::after { content: ''; position: absolute; inset: 0; }   /* whole card is clickable */
.story__title a:hover, .story:hover .story__title a { color: var(--accent); }
.story__dek { font-size: .92rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story__meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: auto; padding-top: .2rem; font-size: .78rem; color: var(--faint); }
.story__meta a { font-weight: 600; color: var(--ink-2); }
.story__meta a:hover { color: var(--accent); }
.story__meta-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.story .kicker-row { position: relative; z-index: 1; }

/* card: the default tile */
.story--minor, .story--major {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed);
}
.story--minor:hover, .story--major:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.story--minor .story__body, .story--major .story__body { flex: 1; padding: var(--s4) var(--s5) var(--s5); }
.story--minor:not(:has(.story__media)) .story__body { padding-top: var(--s5); }
.story--major .story__title { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.section--alt .story--minor, .section--alt .story--major, .band .story--minor { background: var(--bg); }

.story--lead { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.story--lead .story__media { aspect-ratio: auto; min-height: 100%; }
.story--lead .story__body { padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.story--lead .story__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.12; letter-spacing: -.03em; }
.story--lead .story__dek { -webkit-line-clamp: 4; font-size: 1rem; }
@media (max-width: 860px) { .story--lead { grid-template-columns: 1fr; } .story--lead .story__media { aspect-ratio: 16 / 9; } }

.story--row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: var(--s4); align-items: start; padding-block: var(--s4); border-bottom: 1px solid var(--line); }
.story--row:last-child { border-bottom: 0; }
.story--row .story__media { grid-column: 2; grid-row: 1; aspect-ratio: 1; border-radius: var(--r-sm); }
.story--row .story__body { grid-column: 1; grid-row: 1; gap: .4rem; }
.story--row .story__title { font-size: .98rem; }
.story--micro .story__title, .story--text .story__title { font-size: 1rem; }

.divided > * + * { margin-top: 0; }

/* ------------------------------------------------------- 11. ARTICLE */
.article-head { padding-block: clamp(2rem, 5vw, 3.25rem) var(--s5); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-bottom: var(--s5); font-size: .8rem; color: var(--faint); }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb svg { width: 12px; height: 12px; opacity: .6; }
.article-title { margin: var(--s4) 0; font-size: clamp(2rem, 4.8vw, 3.35rem); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.article-dek { max-width: 62ch; margin-bottom: var(--s5); font-family: var(--font-body); font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.5; color: var(--muted); }

.byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); padding: var(--s4) 0; border-block: 1px solid var(--line); font-size: .86rem; }
.byline__who { display: flex; align-items: center; gap: .75rem; }
.byline__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.byline__name { font-weight: 700; color: var(--ink); }
.byline__name:hover { color: var(--accent); }
.byline__role { display: block; font-size: .76rem; color: var(--faint); }
.byline__when { color: var(--muted); }
.byline__tools { display: flex; gap: .4rem; margin-left: auto; }
.share { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); cursor: pointer; transition: background var(--speed), color var(--speed), border-color var(--speed); }
.share:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.share svg { width: 16px; height: 16px; }

.article-figure { margin: 0 0 var(--s6); }
.article-figure img { width: 100%; border-radius: var(--r-lg); }
.article-figure figcaption, .prose figcaption { margin-top: .7rem; font-size: .8rem; line-height: 1.5; color: var(--muted); }

.archive-note { display: flex; gap: .7rem; align-items: flex-start; margin: 0 0 var(--s5); padding: var(--s3) var(--s4); border-radius: var(--r); background: var(--surface-2); font-size: .84rem; line-height: 1.55; color: var(--muted); }
.archive-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.archive-note a { font-weight: 700; color: var(--accent); }

.key-findings { margin: 0 0 var(--s6); padding: var(--s5) var(--s6); border-radius: var(--r-lg); background: color-mix(in srgb, var(--c-analysis) 7%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c-analysis) 22%, var(--line)); }
.key-findings h2 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-analysis); }
.findings { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: .75rem; counter-reset: finding; }
.findings li { counter-increment: finding; display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: .5rem; font-family: var(--font-body); font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); }
.findings li::before { content: counter(finding, decimal-leading-zero); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--c-analysis); color: #fff; font-family: var(--font-ui); font-size: .7rem; font-weight: 700; }

.report-download { display: flex; align-items: center; gap: var(--s4); margin: 0 0 var(--s6); padding: var(--s4) var(--s5); border-radius: var(--r-lg); background: var(--navy); color: #fff; transition: transform var(--speed) var(--ease), box-shadow var(--speed); }
.report-download:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.report-download svg { width: 32px; height: 32px; flex: none; color: var(--gold); }
.report-download strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.report-download span { font-size: .8rem; color: rgba(255, 255, 255, .6); }

.prose { max-width: 70ch; font-family: var(--font-body); font-size: 1.19rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.3em; }
.prose p { margin: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 2em; margin-bottom: .5em; color: var(--ink); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.prose h2 { font-size: 1.55em; letter-spacing: -.025em; }
.prose h3 { font-size: 1.25em; }
.prose h4 { font-size: 1.05em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-decoration-thickness: 2px; text-underline-offset: .2em; transition: color var(--speed), text-decoration-color var(--speed); }
.prose a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote { margin: 2em 0; padding: var(--s5) var(--s6); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; background: var(--surface); font-size: 1.12em; font-style: italic; color: var(--ink); }
.prose blockquote p + p { margin-top: .6em; }
.prose figure { margin: 2em 0; }
.prose img { border-radius: var(--r); }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r); background: var(--surface-2); }
.prose hr { width: 60px; margin: 2.5em auto; border-top: 3px solid var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: .9rem; }
.prose th, .prose td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; }
.prose code { padding: .12em .35em; border-radius: 4px; background: var(--surface-2); font-family: var(--font-mono); font-size: .85em; }
.prose pre { padding: var(--s4); border-radius: var(--r); background: var(--navy); color: #E8EDF5; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.tag-row, .tag-cloud { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-size: .8rem; font-weight: 500; color: var(--ink-2); transition: background var(--speed), color var(--speed), border-color var(--speed); }
.tag:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.cite { margin-top: var(--s7); padding: var(--s5); border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.cite__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.cite h2 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cite p { margin: 0; font-size: .88rem; line-height: 1.6; color: var(--ink-2); word-break: break-word; }

.author-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-card h3 { font-size: 1.15rem; }
.author-card p { margin: .35rem 0 0; font-size: .9rem; color: var(--muted); }

.neighbours { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s4); }
.neighbours a { display: grid; gap: .45rem; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color var(--speed), transform var(--speed) var(--ease); }
.neighbours a:hover { border-color: var(--ink); transform: translateY(-2px); }
.neighbours span { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.neighbours strong { font-family: var(--font-display); font-weight: 600; line-height: 1.35; }
.neighbours a:last-child:not(:first-child) { text-align: right; justify-items: end; }

.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; margin-left: -2px; padding: .4rem 0 .4rem 1rem; border-left: 2px solid transparent; font-size: .86rem; line-height: 1.4; color: var(--muted); transition: color var(--speed), border-color var(--speed); }
.toc .toc__sub a { padding-left: 1.8rem; font-size: .8rem; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }

/* --------------------------------------- 12. LISTINGS, PAGES, AUTHORS */
.page-head {
  position: relative; overflow: hidden; margin-bottom: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(2.5rem, 6vw, 4rem);
  background: radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%), var(--surface);
  border-bottom: 1px solid var(--line);
}
.page-head__title { margin-top: .5rem; font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.04em; }
.page-head__desc { max-width: 62ch; margin-top: var(--s4); font-family: var(--font-body); font-size: 1.15rem; color: var(--muted); }
.page-head__count { margin-top: var(--s3); font-size: .82rem; color: var(--faint); }
.subnav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: var(--s5); }
.subnav a { padding: .45rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); font-size: .84rem; font-weight: 600; color: var(--ink-2); transition: all var(--speed); }
.subnav a:hover, .subnav a[aria-current='page'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; margin-top: var(--s7); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current='page'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pagination .is-gap { border: 0; background: none; min-width: 20px; }
.pagination svg { width: 16px; height: 16px; }

.empty-state { padding: var(--s8) var(--s5); border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: var(--surface); text-align: center; }
.empty-state h2 { margin-bottom: var(--s3); font-size: 1.5rem; }
.empty-state p { max-width: 46ch; margin-inline: auto; color: var(--muted); }

.author-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s4); }
.author-tile { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: transform var(--speed) var(--ease), box-shadow var(--speed); }
.author-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.author-tile img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.author-tile h2 { font-size: 1.15rem; }
.author-tile p { margin: .35rem 0 0; font-size: .88rem; color: var(--muted); }
.author-tile__role { font-size: .78rem !important; font-weight: 600; letter-spacing: .04em; color: var(--accent) !important; }
.author-tile__count { display: inline-block; margin-top: .6rem; font-size: .78rem; font-weight: 700; color: var(--ink-2); }

/* ------------------------------------------------ 13. SIDEBAR MODULES */
.rail { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--s5); }
@media (max-width: 1080px) { .rail { position: static; } }
.module { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.section--alt .module { background: var(--bg); }
.module__head { display: flex; align-items: center; gap: .5rem; margin: 0 0 var(--s4); font-family: var(--font-ui); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.module__head svg { color: var(--accent); }

.ranked { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .6rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.ranked li:first-child { padding-top: 0; }
.ranked li:last-child { border-bottom: 0; padding-bottom: 0; }
.ranked li::before { content: counter(rank, decimal-leading-zero); font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--accent); line-height: 1.3; }
.ranked a { font-family: var(--font-display); font-size: .94rem; font-weight: 600; line-height: 1.38; letter-spacing: -.01em; }
.ranked a:hover { color: var(--accent); }
.ranked small { display: block; margin-top: .25rem; font-size: .74rem; color: var(--faint); }

.newsletter { padding: var(--s5); border-radius: var(--r-lg); background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.newsletter h3 { margin-bottom: .5rem; font-size: 1.25rem; color: #fff; }
.newsletter p { font-size: .88rem; color: rgba(255, 255, 255, .7); }
.newsletter__form { display: grid; gap: .5rem; margin-top: var(--s4); }
.newsletter input[type='email'] { width: 100%; padding: .75rem 1rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-pill); background: rgba(255, 255, 255, .08); color: #fff; font-size: .9rem; }
.newsletter input[type='email']::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter input[type='email']:focus { outline: none; border-color: var(--accent); }
.newsletter .btn--light { background: var(--gold); border-color: var(--gold); color: #0B1524; }
.newsletter__note { margin-top: .6rem; font-size: .76rem !important; color: rgba(255, 255, 255, .5) !important; }

/* ----------------------------------------------------------- 14. FOOTER */
/* Colours are fixed (not theme tokens) so the footer reads the same in light
   and dark mode — the previous version inverted and became unreadable. */
.footer { margin-top: 0; background: #07101C; color: #C9D2DE; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer a { color: #C9D2DE; transition: color var(--speed); }
.footer a:hover { color: #fff; }

.footer__digest {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s6); align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); border-radius: var(--r-lg);
  background: radial-gradient(500px 260px at 100% 0%, rgba(194, 155, 87, .28), transparent 65%), linear-gradient(135deg, #13233B 0%, #0E1A2C 100%);
  border: 1px solid rgba(255, 255, 255, .08);
}
.footer__eyebrow { margin: 0 0 .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #D6B676; }
.footer__digest h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.footer__digest p { margin-top: .5rem; color: #9FACBD; }
.footer__form { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer__form input[type='email'] { flex: 1 1 220px; min-width: 0; padding: .85rem 1.2rem; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); color: #fff; font-size: .95rem; }
.footer__form input[type='email']::placeholder { color: #7D8A9C; }
.footer__form input[type='email']:focus { outline: none; border-color: #C29B57; background: rgba(255, 255, 255, .1); }
.footer__note { flex-basis: 100%; margin: .2rem 0 0 1rem !important; font-size: .78rem; color: #7D8A9C !important; }
@media (max-width: 800px) { .footer__digest { grid-template-columns: 1fr; } }

.footer__grid { display: grid; grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { max-width: 40ch; margin-top: var(--s4); font-size: .9rem; line-height: 1.65; color: #8F9CAE; }
.footer__social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s5); }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; transition: background var(--speed), border-color var(--speed); }
.footer__social a:hover { background: #C29B57; border-color: #C29B57; color: #0B1524; }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h3 { margin-bottom: var(--s4); font-family: var(--font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer__col a { font-size: .9rem; color: #9FACBD; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); padding-block: var(--s5); border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; color: #7D8A9C; }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; gap: var(--s5); }
.footer__bottom a { color: #7D8A9C; }
.footer .brand__word { color: #fff; }

/* -------------------------------------- 16. BRAND, LANGUAGE, MOTION */
[hidden] { display: none !important; }

/* Logo lockups — the light version swaps in wherever the theme is dark */
.brand__logo { display: block; height: 46px; width: auto; max-width: none; }
.brand__logo--on-dark { display: none; }
:root[data-theme='dark'] .brand__logo--on-light { display: none; }
:root[data-theme='dark'] .brand__logo--on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .brand__logo--on-light { display: none; }
  :root:not([data-theme='light']) .brand__logo--on-dark { display: block; }
}
.brand { transition: opacity var(--speed); }
.brand:hover { opacity: .85; }
@media (max-width: 520px) { .site-header__row .brand__logo { height: 36px; } }
.drawer__head .brand__logo { height: 40px; }
.footer__logo { display: inline-block; }
.footer__logo img { display: block; width: min(300px, 100%); height: auto; }
.footer__email { display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s4); font-size: .92rem; font-weight: 600; color: #fff !important; }
.footer__email svg { width: 17px; height: 17px; color: #C29B57; }
.footer__email:hover { color: #D6B676 !important; }

/* Theme switch: one button, the right icon for the current theme */
.theme-btn { position: relative; }
.theme-btn__icon { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 250ms var(--ease), transform 350ms var(--ease); }
.theme-btn__icon--sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme='dark'] .theme-btn__icon--moon { opacity: 0; transform: rotate(90deg) scale(.6); }
:root[data-theme='dark'] .theme-btn__icon--sun { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn__icon--moon { opacity: 0; transform: rotate(90deg) scale(.6); }
  :root:not([data-theme='light']) .theme-btn__icon--sun { opacity: 1; transform: none; }
}
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: background-color 350ms ease, color 350ms ease, border-color 350ms ease, fill 350ms ease !important;
}

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: .35rem; height: 42px; padding: 0 .7rem;
  border: 1px solid transparent; border-radius: var(--r-pill); background: transparent; color: var(--ink-2);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: background var(--speed), color var(--speed);
}
.lang__btn:hover, .lang.is-open .lang__btn { background: var(--surface-2); color: var(--ink); }
.lang__btn svg { width: 18px; height: 18px; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 120; min-width: 190px; max-height: 70vh; overflow-y: auto;
  margin: 0; padding: .4rem; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease), visibility var(--speed);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: .55rem .75rem;
  border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); font-size: .9rem; text-align: left; cursor: pointer;
}
.lang__menu button:hover { background: var(--surface-2); color: var(--ink); }
.lang__menu button[aria-current] { color: var(--accent); font-weight: 700; }
.lang__menu button[aria-current]::after { content: '✓'; }
/* Small phones: the header is full, so the switcher lives in the sidebar only */
@media (max-width: 520px) { .site-header .lang { display: none; } }
.drawer__langs { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 .5rem; }
.drawer__langs button { padding: .42rem .8rem; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-2); font-size: .84rem; cursor: pointer; }
.drawer__langs button:hover { border-color: var(--ink); }
.drawer__langs button[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* Google Translate draws its own toolbar and tooltips — keep the page clean */
.goog-te-banner-frame, iframe.skiptranslate, .skiptranslate > iframe, #goog-gt-tt, .goog-te-balloon-frame,
.goog-tooltip, .goog-te-spinner-pos, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight, font[style] { background: none !important; box-shadow: none !important; }

/* Back to top */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 80;
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 300ms, background var(--speed);
}
.to-top svg { width: 20px; height: 20px; transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #0B1524; }
:root[data-theme='dark'] .to-top { background: var(--surface-2); }

/* Motion — entrance on first paint, gentle reveal on scroll */
@keyframes fl-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fl-zoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
@keyframes fl-sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(220%) skewX(-18deg); } }

.home-hero__body > *, .page-head .shell > *, .article-head > * { animation: fl-rise 800ms var(--ease) both; }
.home-hero__body > :nth-child(2), .page-head .shell > :nth-child(2), .article-head > :nth-child(2) { animation-delay: 80ms; }
.home-hero__body > :nth-child(3), .page-head .shell > :nth-child(3), .article-head > :nth-child(3) { animation-delay: 160ms; }
.home-hero__body > :nth-child(4), .page-head .shell > :nth-child(4), .article-head > :nth-child(4) { animation-delay: 240ms; }
.home-hero__body > :nth-child(n+5), .page-head .shell > :nth-child(n+5), .article-head > :nth-child(n+5) { animation-delay: 320ms; }
.home-hero__media { animation: fl-zoom 1100ms var(--ease) 150ms both; }
.home-hero__media::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  animation: fl-sheen 1400ms var(--ease) 900ms both;
}
.home-hero__side .mini { animation: fl-rise 700ms var(--ease) both; }
.home-hero__side .mini:nth-child(1) { animation-delay: 380ms; }
.home-hero__side .mini:nth-child(2) { animation-delay: 460ms; }
.home-hero__side .mini:nth-child(3) { animation-delay: 540ms; }

.fx { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--fx-delay, 0s); }
.fx.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .home-hero__body > *, .page-head .shell > *, .article-head > *, .home-hero__media, .home-hero__side .mini { animation: none; }
  .home-hero__media::before { display: none; }
  .fx { opacity: 1; transform: none; }
}

/* ---------------------------------------------- 15. UTILITIES & PRINT */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 720px) { .hide-sm { display: none !important; } }
.muted { color: var(--muted); }
.reveal { opacity: 1; }

.field { display: grid; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); font-size: .95rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 20%, transparent); }
.alert { padding: var(--s4) var(--s5); border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: .9rem; }

@media print {
  .topbar, .site-header, .drawer, .search-overlay, .rail, .footer, .byline__tools, .neighbours, .cite__head button, .report-download { display: none !important; }
  body { background: #fff; color: #000; }
  .layout-rail { display: block; }
  .prose { max-width: none; font-size: 11pt; color: #000; }
  .prose a::after { content: ' (' attr(href) ')'; font-size: .8em; color: #555; }
}
