/* Global Market Updates — publication skin
   Inter Tight + Cormorant Garamond. Not USWDS. */

:root {
  --ink: #07090d;
  --ink-2: #0c1016;
  --panel: #121821;
  --panel-2: #171e28;
  --raised: #1c2430;
  --line: rgba(232, 220, 196, 0.09);
  --line-strong: rgba(232, 220, 196, 0.16);
  --paper: #efe6d6;
  --paper-2: #c8bfb0;
  --paper-mute: #7c7468;
  --green: #3cb57a;
  --green-2: #74d4a3;
  --green-soft: rgba(60, 181, 122, 0.14);
  --green-line: rgba(60, 181, 122, 0.28);
  --red: #e35b5b;
  --gold: #c9a86c;
  --gold-dim: rgba(201, 168, 108, 0.18);
  --shadow-card: 0 10px 32px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.5);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --max: 1220px;
  --radius: 12px;
  --radius-sm: 8px;
  --t: 180ms ease;

  --primary: var(--ink);
  --primary-mid: var(--panel);
  --primary-light: var(--raised);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-raised: rgba(255, 255, 255, 0.06);
  --accent: var(--green);
  --accent-light: var(--green-2);
  --accent-dim: var(--green-soft);
  --accent-border: rgba(60, 181, 122, 0.14);
  --accent-border-hover: rgba(60, 181, 122, 0.36);
  --border: var(--line);
  --border-strong: var(--line-strong);
  --text-primary: var(--paper);
  --text-secondary: var(--paper-2);
  --text-muted: var(--paper-mute);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 540px at 12% -10%, rgba(60, 181, 122, 0.08), transparent 55%),
    radial-gradient(900px 420px at 92% 8%, rgba(201, 168, 108, 0.06), transparent 50%),
    var(--ink);
  color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--green-2); text-decoration: none; transition: color var(--t); }
a:hover { color: #9be6bf; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--green); color: #06110b;
  padding: 8px 16px; z-index: 1000; font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── MASTHEAD ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 9, 13, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.masthead-top {
  border-bottom: 1px solid var(--line);
  background: #080b10;
}
.masthead-top-inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-mute);
}
.masthead-kicker {
  color: var(--gold);
  font-weight: 600;
}
.masthead-sep {
  width: 1px;
  height: 10px;
  background: var(--line-strong);
}
.masthead-note { flex: 1; }
.masthead-rss {
  color: var(--paper-2);
  font-weight: 600;
  letter-spacing: 0.14em;
}
.masthead-rss:hover { color: var(--paper); }

.header-main { height: 76px; }
.header-main .container,
.header-inner { height: 100%; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; }

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #4ec98a, #1d7a4e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px rgba(60, 181, 122, 0.28);
}

.logo-text-wrap { display: flex; flex-direction: column; gap: 2px; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo-tagline {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--paper-mute);
  line-height: 1.2;
}

.site-nav { margin-left: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links li a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--paper-2);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  transition: background var(--t), color var(--t);
  white-space: nowrap;
  display: block;
}
.nav-links li a:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.05);
}
.nav-links li a.active {
  color: #08140e;
  background: var(--green);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  color: var(--paper);
  padding: 0.45rem 0.5rem;
}

/* ── DATA BAR ── */
.data-bar {
  height: 40px;
  background: #10161e;
  border-bottom: 1px solid var(--green-line);
  overflow: hidden;
}
.data-bar .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.data-bar-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-right: 1rem;
  margin-right: 0.75rem;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  flex-shrink: 0;
}
.data-tickers {
  display: flex;
  align-items: center;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.data-tickers::-webkit-scrollbar { display: none; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border-right: 1px solid var(--line);
  height: 40px;
  white-space: nowrap;
}
.ticker-item:first-child { padding-left: 0; }
.ticker-name { font-size: 0.68rem; color: var(--paper-mute); font-weight: 500; }
.ticker-val {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.ticker-chg {
  font-size: 0.66rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.ticker-chg.up, .up { color: var(--green-2); }
.ticker-chg.down, .down { color: var(--red); }
.data-bar-timestamp {
  margin-left: auto;
  font-size: 0.62rem;
  color: var(--paper-mute);
  padding-left: 1rem;
  flex-shrink: 0;
}

/* ── LABELS ── */
.section-label,
.cards-section-label,
.cat-hero-label,
.page-label,
.ticker-sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.section-label::before,
.cat-hero-label::before,
.article-cat-link:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}
.cards-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

/* ── HOMEPAGE HERO ── */
.hero-section,
.edition-wrap { padding: 2.1rem 0 0; }
.hero-grid,
.lead-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 1.15rem;
}
.hero-featured,
.lead-story {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}
.feat-img-wrap,
.lead-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--raised);
}
.feat-img-wrap img,
.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.hero-featured:hover .feat-img-wrap img,
.lead-story:hover .lead-media img { transform: scale(1.03); }
.feat-img-wrap::after,
.lead-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 9, 13, 0.78) 0%, transparent 48%);
}
.feat-body,
.lead-body { padding: 1.35rem 1.5rem 1.5rem; }
.feat-cat,
.lead-kicker,
.ts-cat,
.card-cat,
.related-card-cat,
.desk-kicker {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green-2);
}
.feat-headline,
.lead-headline,
.article-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1.12;
}
.feat-headline,
.lead-headline {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin: 0.45rem 0 0.7rem;
}
.feat-headline a,
.lead-headline a,
.card-title a,
.ts-headline a,
.related-card-title a { color: inherit; }
.feat-headline a:hover,
.lead-headline a:hover,
.card-title a:hover,
.ts-headline a:hover { color: var(--green-2); }
.feat-excerpt,
.lead-dek {
  font-size: 1.02rem;
  color: var(--paper-2);
  line-height: 1.55;
  max-width: 40rem;
}
.feat-meta,
.lead-meta,
.card-meta,
.ts-date,
.related-card-meta {
  font-size: 0.72rem;
  color: var(--paper-mute);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
}
.feat-meta .sep,
.card-meta .sep { opacity: 0.45; }

.feat-data-badge,
.lead-badge {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  z-index: 2;
  background: rgba(8, 14, 12, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid var(--green-line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  text-align: right;
}
.badge-value,
.dc-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--green-2);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.badge-label,
.dc-label {
  font-size: 0.62rem;
  color: var(--paper-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-ticker-sidebar,
.lead-rail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ticker-sidebar-label {
  margin: 0;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.ticker-sidebar-label::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }

.ticker-story,
.rail-story {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.85rem;
  align-items: center;
  transition: background var(--t);
}
.ticker-story:last-child,
.rail-story:last-child { border-bottom: none; }
.ticker-story:hover,
.rail-story:hover { background: rgba(255, 255, 255, 0.03); }
.rail-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--raised);
}
.rail-thumb img,
.ticker-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ts-headline,
.rail-headline {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--paper);
}

/* Compact ticker stories without thumbs still work */
.ticker-story:not(:has(img)):not(:has(.rail-thumb)) {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ── DESKS / BEATS ── */
.desk-section { padding: 2.4rem 0 0; }
.desk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.desk-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.desk-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--raised);
}
.desk-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}
.desk-card:hover .desk-media img { transform: scale(1.04); }
.desk-body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.desk-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.2;
}
.desk-title a { color: inherit; }
.desk-title a:hover { color: var(--green-2); }
.desk-more {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.desk-more a {
  font-size: 0.82rem;
  color: var(--paper-2);
  line-height: 1.35;
}
.desk-more a:hover { color: var(--paper); }
.desk-link {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
}

/* ── CARDS ── */
.cards-section { padding: 2.2rem 0 0; }
.cards-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.article-card,
.related-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.article-card:hover,
.related-card:hover {
  border-color: var(--green-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.card-img-wrap,
.related-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--raised);
}
.card-img-wrap img,
.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}
.article-card:hover .card-img-wrap img,
.related-card:hover .related-card-img img { transform: scale(1.04); }
.card-body,
.related-card-body {
  padding: 1.05rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card-title,
.related-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--paper);
}
.card-excerpt {
  font-size: 0.9rem;
  color: var(--paper-2);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta { margin-top: auto; }

/* Category pages: lead the first story */
.page-category .cards-grid .article-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}
.page-category .cards-grid .article-card:first-child .card-img-wrap {
  aspect-ratio: 16 / 9;
  min-height: 100%;
}
.page-category .cards-grid .article-card:first-child .card-body {
  justify-content: center;
  padding: 1.6rem 1.7rem;
}
.page-category .cards-grid .article-card:first-child .card-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}
.page-category .cards-grid .article-card:first-child .card-excerpt {
  -webkit-line-clamp: 4;
  font-size: 1rem;
}

/* ── CATEGORY HERO ── */
.cat-hero {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(60, 181, 122, 0.08), transparent 55%);
  pointer-events: none;
}
.cat-hero .container { position: relative; }
.cat-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}
.cat-hero p {
  font-size: 1.05rem;
  color: var(--paper-2);
  line-height: 1.65;
  max-width: 40rem;
}

/* ── ABOUT ── */
.about-section,
.masthead-note { padding: 3rem 0 3.4rem; }
.about-card,
.note-card {
  background: linear-gradient(180deg, #161d26, #10161d);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 2.1rem 2.3rem;
  position: relative;
  overflow: hidden;
}
.about-card { max-width: 820px; margin: 0 auto; text-align: left; }
.about-card h2,
.note-card h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}
.about-card p,
.note-card p {
  font-size: 1rem;
  color: var(--paper-2);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.about-pills,
.beat-pills {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.about-pills a,
.beat-pills a {
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 550;
  border: 1px solid var(--green-line);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}
.about-pills a:hover,
.beat-pills a:hover {
  background: var(--green-soft);
  color: #fff;
}

/* ── ARTICLE ── */
.article-head {
  max-width: 760px;
  margin: 2.6rem auto 0;
  padding: 0 1.5rem;
}
.article-cat-link {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green-2);
  margin-bottom: 1rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}
.article-h1 {
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  margin-bottom: 1.1rem;
}
.article-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--paper-mute);
  margin-bottom: 1.6rem;
}
.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--paper-mute);
  align-self: center;
}
.article-hero {
  max-width: 980px;
  margin: 0 auto 2.4rem;
  padding: 0 1.5rem;
}
.article-hero-inner {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
}
.article-hero-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 2.6rem;
}
.article-body p {
  font-size: 1.125rem;
  line-height: 1.78;
  color: #ddd4c6;
  margin-bottom: 1.35rem;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 2.4rem 0 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
}
.data-callout {
  background: #141c16;
  border: 1px solid var(--green-line);
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.15rem;
  margin: 1.6rem 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}
blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.3rem;
  margin: 1.8rem 0;
}
blockquote p {
  font-family: var(--font-display);
  font-size: 1.35rem !important;
  line-height: 1.4 !important;
  color: var(--paper) !important;
  margin: 0 0 0.4rem !important;
}
blockquote cite {
  display: block;
  font-size: 0.78rem;
  color: var(--paper-mute);
  font-style: normal;
}
.related-coverage-wrap {
  max-width: 720px;
  margin: 0 auto 2.2rem;
  padding: 0 1.5rem;
}
.related-coverage-card {
  background: rgba(60, 181, 122, 0.06);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.related-coverage-card h3 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.related-coverage-card ul { display: flex; flex-direction: column; gap: 0.5rem; }
.related-coverage-card li { font-size: 0.92rem; color: var(--paper-2); }
.related-articles-section {
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid var(--line);
  padding: 2.6rem 0 3rem;
  margin-top: 0.5rem;
}

/* ── LLM INFO ── */
.page-llm main { padding: 2.6rem 0 4rem; }
.page-llm .container { max-width: 800px; }
.page-llm h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}
.lede { font-size: 1.05rem; color: var(--paper-2); margin-bottom: 1.8rem; line-height: 1.7; }
.frontmatter,
.machine-block {
  background: #11171f;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 1.15rem 1.3rem;
  margin-bottom: 2.2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: #c9d4c4;
  overflow-x: auto;
  white-space: pre;
}
.page-llm h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 2.1rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.page-llm p { font-size: 0.98rem; color: var(--paper-2); margin-bottom: 1rem; line-height: 1.7; }
.page-llm ul { margin: 0 0 1rem 1.2rem; list-style: disc; }
.page-llm li { font-size: 0.96rem; color: var(--paper-2); margin-bottom: 0.45rem; }
.page-llm code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  color: var(--green-2);
}
.fact-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.fact-table th, .fact-table td {
  text-align: left;
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--line);
}
.fact-table th { color: var(--paper-mute); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.fact-table td:first-child { color: var(--paper); font-weight: 550; }

/* ── 404 ── */
.error-section { padding: 5rem 0 4rem; text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.9;
  color: var(--green-2);
}
.error-title { font-size: 1.5rem; font-weight: 700; margin: 0.6rem 0 0.8rem; }
.error-desc { font-size: 1.02rem; color: var(--paper-2); max-width: 34rem; margin: 0 auto 1.8rem; }
.btn-cta {
  display: inline-block;
  background: var(--green);
  color: #06110b;
  font-weight: 650;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
}
.btn-cta:hover { background: var(--green-2); color: #06110b; }
.explore-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 3.2rem 0 1.1rem;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}
.explore-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.05rem;
  text-align: left;
}
.explore-card:hover { border-color: var(--green-line); }
.explore-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--paper); margin-bottom: 0.35rem; }
.explore-card p { font-size: 0.82rem; color: var(--paper-2); }

/* ── FOOTER ── */
.site-footer {
  background: #07090d;
  border-top: 1px solid var(--line);
  padding: 2.8rem 0 1.4rem;
  margin-top: 3.2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.2rem;
  margin-bottom: 2rem;
}
.footer-brand .footer-logo,
.footer-brand .logo-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paper);
  display: block;
  margin-bottom: 0.45rem;
}
.footer-brand .footer-desc,
.footer-brand .logo-tagline {
  font-size: 0.9rem;
  color: var(--paper-mute);
  line-height: 1.6;
  text-transform: none;
  letter-spacing: 0;
}
.footer-nav-heading {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.footer-nav ul li { margin-bottom: 0.4rem; }
.footer-nav ul li a,
.site-footer nav a {
  font-size: 0.9rem;
  color: var(--paper-2);
}
.footer-nav ul li a:hover,
.site-footer nav a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.footer-bottom p,
.footer-ai-link { font-size: 0.78rem; color: var(--paper-mute); }

@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeIn 0.45s ease both; }
  .fade-up { opacity: 0; transform: translateY(10px); animation: fadeUp 0.45s ease forwards; }
  .fade-up:nth-child(1) { animation-delay: 0ms; }
  .fade-up:nth-child(2) { animation-delay: 60ms; }
  .fade-up:nth-child(3) { animation-delay: 120ms; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
  @keyframes fadeUp { to { opacity: 1; transform: none; } }
}

@media (max-width: 1100px) {
  .desk-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid,
  .lead-grid,
  .page-category .cards-grid .article-card:first-child { grid-template-columns: 1fr; }
  .cards-grid,
  .related-grid,
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 9, 13, 0.98);
    padding: 0.6rem 1.5rem 1.1rem;
    border-bottom: 1px solid var(--line);
    z-index: 120;
  }
  .nav-links.open li a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .menu-toggle { display: block; margin-left: auto; }
  .logo-tagline,
  .masthead-note,
  .data-bar-label { display: none; }
  .data-bar-timestamp { display: none; }
  .cards-grid,
  .related-grid,
  .desk-grid,
  .explore-grid,
  .footer-inner { grid-template-columns: 1fr; }
  .article-h1 { font-size: 1.85rem; }
  .article-body { padding: 0 1.15rem 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-main { height: 68px; }
  .logo-name { font-size: 1.08rem; }
}
