:root {
  color-scheme: light;
  --ink: #121d1b;
  --ink-soft: #3c4b48;
  --muted: #6f7d79;
  --line: #e6e3db;
  --line-strong: #d5d1c6;
  --canvas: #fbfaf7;
  --surface: #ffffff;
  --surface-soft: #f4f2ec;
  --surface-bar: #eae7df;
  --pine: #17423c;
  --pine-deep: #0f2e2a;
  --site-accent: #17423c;
  --accent-ink: #ffffff;
  --gold: #9a6a24;
  --radius: 10px;
  --radius-lg: 16px;
  --font-display: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --font-body: "Avenir Next", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif CJK SC", "Iowan Old Style", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", ui-monospace, monospace;
  --page-max: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 1px 2px rgb(18 29 27 / 0.04), 0 12px 30px rgb(18 29 27 / 0.06);
  --shadow-lift: 0 2px 4px rgb(18 29 27 / 0.05), 0 22px 48px rgb(18 29 27 / 0.12);
  font-family: var(--font-body);
}

* { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  line-height: 1.65;
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--pine); }
img { display: block; max-width: 100%; height: auto; background: var(--surface-bar); }
button, input { font: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgb(23 66 60 / 0.14); }
:is(h1, h2, h3, h4)[id] { scroll-margin-top: 24px; }
:is(h1, h2, h3, h4) {
  text-wrap: balance;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.021em;
}
p, li, a, button, input, label, time, .site-nav, .brand, .section-heading a, .desk-rail a {
  font-family: var(--font-body);
}
p, h1, h2, h3, h4, a { overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
}

/* —— Site chrome —— */
.site-header {
  display: grid;
  grid-template-columns: minmax(150px, auto) 1fr minmax(230px, auto);
  align-items: center;
  gap: 28px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 18px 20px 16px;
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--pine); }
.brand img { width: 32px; height: 32px; border-radius: 8px; background: transparent; }
.site-nav { display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--pine);
  transition: right 260ms var(--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 { right: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.language-switch,
.toolbar-rss-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  background: var(--surface);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.language-switch:hover,
.toolbar-rss-btn:hover { border-color: var(--pine); color: var(--pine); }
.header-search {
  display: flex;
  align-items: center;
  width: min(100%, 232px);
  padding: 3px 3px 3px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 200ms var(--ease);
}
.header-search:focus-within { border-color: var(--pine); }
.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  padding: 6px 0;
}
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: #9aa5a2; }
.header-search button {
  border: 0;
  border-radius: 999px;
  height: 30px;
  padding: 0 14px;
  color: var(--accent-ink);
  background: var(--pine);
  white-space: nowrap;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.header-search button:hover { background: var(--pine-deep); }
.header-search button:active { transform: translateY(1px); }

main {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 16px 88px;
}
.edition-shell { background: transparent; }
.page-intro { max-width: 760px; margin: 40px 0 52px; }
.page-intro h1 { margin: 0 0 14px; font-size: clamp(34px, 4.4vw, 48px); line-height: 1.08; }
.page-intro > p:last-child { max-width: 58ch; color: var(--muted); }
.eyebrow, .section-label, .story-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* —— Home desks —— */
.desk-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0 0 4px;
}
.desk-rail a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color 200ms var(--ease), color 200ms var(--ease), background 200ms var(--ease);
}
.desk-rail a:first-child {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff;
}
.desk-rail a:first-child:hover { background: var(--pine-deep); color: #fff; }
.desk-rail a:hover { border-color: var(--pine); color: var(--pine); background: var(--surface); }

.home-status { margin: 28px 0 0; }

/* —— Sections —— */
.story-section { margin: 0; padding: 56px 0 0; }
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.2;
}
.section-heading a {
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.section-heading a::after { content: " →"; }

/* —— Cover / Today —— */
.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 0 44px;
  align-items: start;
}
.cover-grid-single { grid-template-columns: minmax(0, 1fr); }
.cover-media {
  display: block;
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface-bar);
}
.cover-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.cover-media:hover img { transform: scale(1.035); }
.cover-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cover-lead h3 {
  max-width: 32ch;
  margin: 0;
  font-size: clamp(26px, 2.9vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.024em;
}
.cover-lead h3 a { text-decoration: none; }
.cover-lead h3 a:hover { color: var(--pine); }
.cover-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
}
.cover-brief {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.cover-brief > h3 {
  flex: 0 0 auto;
  margin: 0 0 2px;
  font-size: 17px;
  letter-spacing: 0.01em;
}
.cover-brief > article {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.cover-brief > article[hidden] { display: none; }
.cover-brief > article:last-of-type,
.cover-brief > article.is-rail-end { border-bottom: 0; }
.cover-brief > article:not(:has(.brief-thumb)) {
  grid-template-columns: minmax(0, 1fr);
}
.brief-thumb { overflow: hidden; border-radius: 8px; }
.brief-thumb img {
  width: 56px;
  height: 56px;
  object-fit: cover;
}
.cover-brief h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.cover-brief h4 a { text-decoration: none; }
.cover-brief h4 a:hover { color: var(--pine); }
.cover-brief p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.entity-route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.entity-route::before {
  content: attr(aria-label);
  margin-right: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.entity-route a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color 200ms var(--ease), color 200ms var(--ease);
}
.entity-route a:hover { border-color: var(--pine); color: var(--pine); }

/* —— Latest —— */
.latest-section { padding-top: 60px; }
.latest-board {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 8px 48px;
  align-items: start;
}
.latest-stack { min-width: 0; }
.latest-now {
  min-width: 0;
  padding-bottom: 22px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.latest-now-media {
  display: block;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  background: var(--surface-bar);
}
.latest-now-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.latest-now-media:hover img { transform: scale(1.03); }
.latest-now-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.latest-now h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.26;
  letter-spacing: -0.024em;
}
.latest-now h3 a { text-decoration: none; }
.latest-now h3 a:hover { color: var(--pine); }
.latest-now-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.64;
}
.latest-mid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.latest-mid:last-child { border-bottom: 0; }
.latest-mid-has-media { grid-template-columns: 88px minmax(0, 1fr); }
.latest-mid-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-bar);
}
.latest-mid-media img {
  width: 88px;
  height: 66px;
  object-fit: cover;
}
.latest-mid h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.latest-mid h3 a { text-decoration: none; }
.latest-mid h3 a:hover { color: var(--pine); }
.latest-mid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.latest-wire {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.latest-wire > li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.latest-wire > li[hidden] { display: none; }
.latest-wire > li:last-child,
.latest-wire > li.is-rail-end { border-bottom: 0; }
.latest-wire time {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding-top: 3px;
}
.latest-wire h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.012em;
}
.latest-wire h3 a { text-decoration: none; }
.latest-wire h3 a:hover { color: var(--pine); }
.latest-wire p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* —— Channels —— */
.channels-section { padding-top: 60px; }
.channel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.channel-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}
.channel-tabs button:hover { border-color: var(--pine); color: var(--pine); }
.channel-tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--pine);
  background: var(--pine);
}
.channel-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
}
.channel-panel[hidden] { display: none; }
.channel-panel article {
  display: grid;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.channel-story-media {
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.channel-thumb { overflow: hidden; border-radius: 10px; }
.channel-thumb img {
  width: 116px;
  height: 78px;
  object-fit: cover;
}
.channel-panel article > p,
.channel-panel article > div > p:first-child {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
}
.channel-panel article > div > p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.channel-panel h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.48;
  letter-spacing: -0.012em;
}
.channel-panel h3 a { text-decoration: none; }

/* —— Analysis —— */
.analysis-package {
  margin: 52px 0 0;
  padding: 38px 36px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  color: var(--ink);
}
.analysis-package h3 {
  margin: 0 0 26px;
  font-size: clamp(20px, 2vw, 25px);
}
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.analysis-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 0;
  border: 0;
}
.analysis-feature {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line-strong);
}
.analysis-package .package-thumb {
  display: block;
  overflow: hidden;
  margin: 0;
  border-radius: 12px;
  background: var(--surface-bar);
}
.analysis-package .package-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.analysis-package .package-thumb:hover img { transform: scale(1.035); }
.analysis-package article > p,
.analysis-package article > div > p:first-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.analysis-package h4 {
  margin: 0;
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.32;
  color: var(--ink);
}
.analysis-package h4 a { text-decoration: none; color: inherit; }
.analysis-package h4 a:hover { color: var(--pine); }
.analysis-package article > div > p:last-child {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.66;
}

/* —— Evergreen —— */
.evergreen-package { margin-top: 52px; }
.evergreen-package h3 {
  margin: 0 0 22px;
  font-size: clamp(20px, 2vw, 25px);
}
.evergreen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: transparent;
}
.evergreen-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.evergreen-grid article:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.evergreen-tag {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.evergreen-grid h4 {
  margin: 0;
  font-size: 17px;
  line-height: 1.44;
  letter-spacing: -0.014em;
}
.evergreen-grid h4 a { text-decoration: none; }
.evergreen-grid article > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* —— Editorial promise —— */
.editorial-promise {
  display: grid;
  gap: 14px;
  padding: 36px 34px 38px;
  border-radius: var(--radius-lg);
  background: var(--pine);
  color: #eef3f0;
}
.promise-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #c8a86a;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.promise-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
}
.promise-body {
  max-width: 44ch;
  text-wrap: pretty;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.3vw, 29px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: #fff;
}
.promise-link {
  justify-self: start;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 0.36);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 200ms var(--ease), border-color 200ms var(--ease);
}
.promise-link:hover { border-color: #fff; background: rgb(255 255 255 / 0.12); color: #fff; }

/* —— First party —— */
.first-party-section { padding-top: 60px; }
.first-party-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.first-party-grid article {
  padding: 0;
  border: 0;
}
.first-party-grid img {
  width: 100%;
  margin-bottom: 14px;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 12px;
}
.first-party-grid article > p { margin: 0; color: var(--muted); font-size: 12px; }
.first-party-grid h3 { margin: 8px 0 10px; font-size: 22px; line-height: 1.34; }
.first-party-grid h3 a { text-decoration: none; }
.first-party-grid article > p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
}

/* —— Archive gateway —— */
.archive-gateway {
  margin-top: 60px;
  padding: 44px 40px 46px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.archive-gateway-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
}
.archive-gateway-tool h2 { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 30px); }
.archive-gateway-tool > p { margin: 0; color: var(--muted); max-width: 44ch; }
.archive-gateway-form { display: grid; gap: 8px; margin: 22px 0 18px; }
.archive-gateway-form label { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.archive-gateway-form > div {
  display: flex;
  align-items: center;
  padding: 4px 4px 4px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 200ms var(--ease);
}
.archive-gateway-form > div:focus-within { border-color: var(--pine); }
.archive-gateway-form input {
  min-width: 0;
  min-height: 44px;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.archive-gateway-form input:focus { outline: none; }
.archive-gateway-form input::placeholder { color: #9aa5a2; }
.archive-gateway-form button {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--pine);
  color: var(--accent-ink);
  font-weight: 700;
  cursor: pointer;
}
.archive-gateway-form button:hover { background: var(--pine-deep); }
.archive-gateway-count { color: var(--muted); font-size: 14px; }
.archive-gateway-count strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.archive-gateway-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.archive-gateway-head h3 { margin: 0; font-size: 16px; }
.archive-gateway-head a {
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.archive-preview-list article {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.archive-preview-list article:last-child { border-bottom: 0; }
.archive-preview-list h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.archive-preview-list h3 a { text-decoration: none; }

.empty-state {
  margin: 0;
  padding: 22px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
}
.empty-state h2 { margin: 0 0 8px; font-size: 22px; }

/* —— Library / search —— */
.library-intro { max-width: 840px; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}
.filters a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
}
.filters a:hover { border-color: var(--pine); color: var(--pine); }
.filters a[aria-current="page"] {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff;
}
.library-search { margin-top: 22px; max-width: 560px; }
.archive-list { display: grid; gap: 0; margin-top: 8px; }
.archive-list article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.archive-list article.archive-item-text {
  grid-template-columns: minmax(0, 1fr);
  padding: 18px 0;
}
.archive-list article.archive-item-text .archive-copy h2 {
  font-size: clamp(17px, 1.6vw, 20px);
}
.archive-thumb {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-bar);
}
.archive-thumb img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}
.archive-thumb:hover img { transform: scale(1.04); }
.archive-copy { min-width: 0; }
.archive-copy .story-meta { margin: 0 0 8px; }
.archive-copy h2 {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.archive-copy h2 a { text-decoration: none; }
.archive-copy h2 a:hover { color: var(--pine); }
.archive-copy > p:last-child {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.pager {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.pager a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
}
.pager a:hover { border-color: var(--pine); color: var(--pine); }

/* —— Article / about —— */
.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: 400px;
  margin-bottom: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.lead-copy { padding: 44px; align-self: center; }
.lead-copy h2 { margin: 0 0 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.18; }
.lead-copy p { color: var(--muted); }
.lead-image { min-height: 400px; overflow: hidden; }
.lead-image img { width: 100%; height: 100%; object-fit: cover; }
.text-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--pine); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 34px; }

.article { max-width: 720px; margin: 0 auto; padding: 40px 8px 56px; }
.article > header h1 {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.14;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}
.article-meta time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.article-summary {
  max-width: 54ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}
.article-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 8px;
}
.article-toolbar button {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.article-toolbar button:hover { border-color: var(--pine); color: var(--pine); }
.article figure { margin: 28px 0; }
.article figure img { border-radius: 12px; }
.article-body { font-size: 18px; line-height: 1.86; color: var(--ink-soft); }
.article-body p { margin: 1.15em 0; }
.article-body a { color: var(--pine); font-weight: 600; }

.takeaways,
.article-faq,
.citations,
.related-panel {
  margin: 36px 0;
  padding: 24px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}
.takeaways h2,
.article-faq h2,
.citations h2,
.related-panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.takeaways ul,
.citations ol {
  margin: 0;
  padding-left: 1.2em;
}
.takeaways li,
.citations li {
  margin: 0.55em 0;
  color: var(--ink-soft);
}
.article-faq details {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.article-faq details:first-of-type { border-top: 0; }
.article-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}
.article-faq details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}
.source-link { margin: 28px 0 0; }
.source-link a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--pine);
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.source-link a:hover { background: var(--pine-deep); color: #fff; }
.related-list { display: grid; gap: 10px; }
.related-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 200ms var(--ease);
}
.related-item:hover { border-color: var(--pine); }
.related-item span { color: var(--muted); font-size: 12px; }
.related-item strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.about-page { max-width: 840px; margin: 0 auto; }
.about-grid {
  display: grid;
  gap: 18px;
  margin-top: -12px;
}
.about-grid section {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.about-grid h2 { margin: 0 0 10px; font-size: 20px; }
.about-grid p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 54ch;
}
.about-grid a { color: var(--pine); font-weight: 700; text-decoration: none; }
.about-grid a:hover { text-decoration: underline; }

.tool-feedback { color: var(--muted); font-size: 13px; }
.reading-micro .article-body p {
  margin: 0.9em auto;
  padding-bottom: 0.55em;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.reading-micro .cover { margin-top: 18px; }

/* —— Footer —— */
.site-footer {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 20px 56px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-top: 34px;
  border-top: 1px solid var(--line-strong);
}
.footer-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}
.footer-grid p { margin: 0.4rem 0; font-size: 14px; }
.footer-grid a {
  display: block;
  margin: 0.4rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.footer-grid a:hover { color: var(--pine); }
.footer-contact-area {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.footer-email {
  font-family: var(--font-mono);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.footer-contact {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.footer-contact:hover { border-color: var(--pine); color: var(--pine); }

.policy-page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 30px 0 100px;
}
.policy-page .page-intro { margin-bottom: 46px; }
.policy-page h2 { margin: 34px 0 10px; font-size: clamp(21px, 3vw, 28px); }
.policy-page p { color: var(--ink-soft); }
.contact-address {
  padding: 22px 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: clamp(17px, 4vw, 23px);
}
.contact-popover {
  position: fixed;
  z-index: 40;
  min-width: 264px;
  padding: 16px 18px;
  border: 1px solid var(--pine-deep);
  border-radius: 12px;
  background: var(--pine-deep);
  color: #f2f6f4;
  box-shadow: var(--shadow-lift);
}
.contact-popover-kicker {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8a86a;
}
.contact-email-row { display: flex; gap: 10px; align-items: center; }
.contact-email-row a { color: #fff; }
.contact-email-row button {
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.contact-copy-status {
  display: block;
  margin-top: 8px;
  min-height: 1.2em;
  font-size: 12px;
  color: #c6d2ce;
}

.language-suggestion {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 24px));
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-lift);
}
.language-suggestion-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.language-suggestion-actions a,
.language-suggestion-actions button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.language-suggestion-actions a {
  background: var(--pine);
  color: var(--accent-ink);
  border-color: var(--pine);
}
.language-suggestion-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
.reveal-ready { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .cover-grid { grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr); gap: 0 32px; }
  .latest-board { gap: 8px 32px; }
  .evergreen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 14px 14px 12px;
  }
  .site-nav { gap: 18px; }
  .header-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
    flex-wrap: wrap;
  }
  .header-search { width: 100%; }
  main { padding: 0 14px 72px; }
  .home-status { margin-top: 20px; }
  .desk-rail { margin-top: 4px; }
  .story-section { padding-top: 44px; }
  .cover-grid,
  .cover-grid-single,
  .analysis-grid,
  .analysis-feature,
  .channel-panel,
  .first-party-grid,
  .archive-gateway-inner,
  .lead-story,
  .story-grid { grid-template-columns: 1fr; }
  .analysis-feature { padding-bottom: 24px; }
  .analysis-package { padding: 28px 22px 30px; }
  .cover-lead h3 { max-width: none; }
  .cover-brief { margin-top: 26px; }
  .latest-board { grid-template-columns: 1fr; gap: 22px; }
  .latest-now { border-bottom: 1px solid var(--line); }
  .latest-mid-has-media { grid-template-columns: 76px minmax(0, 1fr); }
  .latest-mid-media img { width: 76px; height: 58px; }
  .latest-wire { border-top: 1px solid var(--line); }
  .latest-wire > li { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; }
  .channel-story-media { grid-template-columns: 100px minmax(0, 1fr); }
  .channel-thumb img { width: 100px; height: 70px; }
  .editorial-promise { padding: 26px 22px 28px; }
  .archive-gateway { padding: 30px 22px 32px; }
  .lead-copy { padding: 28px 20px; }
  .lead-image { min-height: 240px; }
  .archive-list article { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .about-grid section { padding: 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-contact-area { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .site-header { grid-template-columns: 1fr; }
  .site-nav { justify-content: space-between; gap: 12px; }
  .header-actions { grid-column: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .desk-rail { gap: 8px; }
  .evergreen-grid { grid-template-columns: 1fr; }
  .cover-brief { padding: 18px 16px 8px; }
  .cover-brief > article { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .brief-thumb img { width: 52px; height: 52px; }
  .desk-rail { gap: 8px; }
  .first-party-grid { gap: 26px; }
  .archive-list article { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .cover-media:hover img,
  .latest-card-media:hover img,
  .evergreen-grid article:hover,
  .analysis-package .package-thumb:hover img { transform: none; }
}
