/* ============================================
   PLATERO — Design System 2026
   Bleu profond + accent or, fintech moderne
   ============================================ */

:root {
  --navy-950: #050B1A;
  --navy-900: #0A1530;
  --navy-800: #0F1F40;
  --navy-700: #1A2F5A;
  --navy-600: #2A4480;
  --navy-500: #3D5DA8;

  --gold-500: #E8B547;
  --gold-600: #D49A2E;
  --gold-400: #F2C868;
  --gold-100: #FBF1D9;

  --up: #10B981;
  --up-soft: #D1FAE5;
  --down: #EF4444;
  --down-soft: #FEE2E2;

  /* Light mode */
  --bg: #F7F3EA;
  --bg-elev: #FFFFFF;
  --bg-soft: #EFEADC;
  --ink: #0A1530;
  --ink-soft: #2F3A52;
  --muted: #6B7280;
  --line: rgba(10, 21, 48, 0.10);
  --line-strong: rgba(10, 21, 48, 0.18);

  --font-sans: "Geist", "Inter Tight", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --font-display: "Geist", "Inter Tight", system-ui, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 21, 48, 0.06), 0 1px 1px rgba(10, 21, 48, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 21, 48, 0.08), 0 2px 4px rgba(10, 21, 48, 0.05);
  --shadow-lg: 0 24px 48px -12px rgba(10, 21, 48, 0.18);

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
}

[data-theme="dark"] {
  --bg: #050B1A;
  --bg-elev: #0C1730;
  --bg-soft: #0A1530;
  --ink: #F1ECE0;
  --ink-soft: #B8BFD0;
  --muted: #6B7494;
  --line: rgba(241, 236, 224, 0.10);
  --line-strong: rgba(241, 236, 224, 0.18);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 48px -12px rgba(0,0,0,0.6);
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
  transition: background 0.4s ease, color 0.4s ease;
  padding-top: 0 !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum", "zero"; }

/* WordPress overrides */
.entry-title { display: none !important; }
.site-header { display: none !important; }
#masthead { display: none !important; }
#colophon { display: none !important; }
.generate-back-to-top { display: none !important; }
.inside-navigation, .main-navigation { display: none !important; }

/* GP layout wrappers — invisible containers */
#page, #content, #primary, .site-inner, .inside-site-container {
  display: contents !important;
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site-content {
  display: contents !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
#main.site-main {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  float: none !important;
  width: auto !important;
}

/* Admin bar offsets */
.admin-bar .ticker { top: 32px; }
.admin-bar .nav { top: 70px; }
.admin-bar .filter-bar { top: 121px; }
@media screen and (max-width: 782px) {
  .admin-bar .ticker { top: 46px; }
  .admin-bar .nav { top: 84px; }
  .admin-bar .filter-bar { top: 135px; }
}

/* ============ Ticker ============ */
.ticker {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  color: #F1ECE0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  font-size: 12.5px;
  height: 38px;
  display: flex;
  align-items: center;
}
.ticker__label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 0 var(--gutter);
  height: 100%;
  background: var(--navy-900);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  white-space: nowrap;
  position: relative;
  z-index: 2;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ticker__label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--up);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.ticker__track {
  display: flex;
  gap: 0;
  animation: marquee 90s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.ticker__sym { color: #B8BFD0; font-weight: 500; }
.ticker__price { font-family: var(--font-mono); font-feature-settings: "tnum"; color: #F1ECE0; }
.ticker__delta { font-family: var(--font-mono); font-size: 11px; }
.ticker__delta.up   { color: var(--up); }
.ticker__delta.down { color: var(--down); }
.ticker__spark { width: 40px; height: 16px; opacity: 0.8; }

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 38px;
  z-index: 49;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.logo__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--gold-500) 160%);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 -2px 6px rgba(0,0,0,0.3), 0 2px 4px rgba(10, 21, 48, 0.2);
}
.nav__links {
  display: flex;
  gap: 2px;
  margin-left: 8px;
}
.nav__link {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}
.nav__link:hover { background: var(--bg-soft); color: var(--ink); }
.nav__link.active { color: var(--ink); }
.nav__link.active::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
  margin: 4px auto -2px;
}
.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink-soft);
  border-radius: 10px;
  transition: all 0.2s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.nav__burger { display: none !important; }
@media (max-width: 920px) { .nav__burger { display: grid !important; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--navy-800); }
[data-theme="dark"] .btn--primary { background: var(--gold-500); color: var(--navy-950); }
[data-theme="dark"] .btn--primary:hover { background: var(--gold-400); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-400); }

/* ============ Layout primitives ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
}
[data-theme="dark"] .eyebrow { color: var(--gold-400); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 14px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
  text-decoration: none;
}
.link-arrow:hover { color: var(--gold-600); border-color: var(--gold-500); gap: 10px; }
[data-theme="dark"] .link-arrow:hover { color: var(--gold-400); }

/* ============ Cards ============ */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--bg-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.tag--gold { background: var(--gold-100); color: var(--gold-600); border-color: transparent; }
[data-theme="dark"] .tag--gold { background: rgba(232, 181, 71, 0.12); color: var(--gold-400); }
.tag--navy { background: var(--navy-900); color: var(--gold-400); border-color: transparent; }
.tag--up { background: var(--up-soft); color: #047857; border-color: transparent; }
[data-theme="dark"] .tag--up { background: rgba(16, 185, 129, 0.14); color: var(--up); }

/* ============ Scroll reveal ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ Footer ============ */
.footer {
  background: var(--navy-950);
  color: #B8BFD0;
  padding: 72px 0 32px;
  margin-top: 64px;
}
.footer a { color: #B8BFD0; transition: color 0.2s; }
.footer a:hover { color: var(--gold-400); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 14px;
  color: #8b94ad;
  max-width: 340px;
}
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: #4B5270;
}
.footer__disclaimer strong { color: #6B7494; font-weight: 600; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #6B7494;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 20px; }

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ Footer responsive ============ */
@media (max-width: 920px) {
  .nav__links { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================
   HOMEPAGE STYLES
   ============================ */

/* HERO */
.hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 7vw, 88px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 10%, color-mix(in oklab, var(--gold-500) 14%, transparent) 0%, transparent 40%),
    radial-gradient(circle at 86% 70%, color-mix(in oklab, var(--navy-700) 10%, transparent) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.hero__intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.hero__headline {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.hero__headline em {
  font-style: normal;
  color: var(--gold-600);
  font-family: var(--font-display);
  position: relative;
}
[data-theme="dark"] .hero__headline em { color: var(--gold-400); }
.hero__headline em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--gold-500);
  opacity: 0.18;
  z-index: -1;
  border-radius: 2px;
}
.hero__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 420px;
  margin-bottom: 14px;
}
.hero__meta {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.hero__meta strong { color: var(--ink); font-weight: 500; }

/* Featured grid */
.featured {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.feat-main {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-decoration: none;
}
.feat-main:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.feat-main__media {
  aspect-ratio: 16 / 9;
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
}
.feat-main__media img,
.feat-main__media svg { width: 100%; height: 100%; object-fit: cover; }
.feat-main__body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feat-main__tags { display: flex; gap: 8px; align-items: center; }
.feat-main__title {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.feat-main:hover .feat-main__title { color: var(--gold-600); }
[data-theme="dark"] .feat-main:hover .feat-main__title { color: var(--gold-400); }
.feat-main__excerpt {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.feat-main__byline {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.byline__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--navy-900);
  flex-shrink: 0;
}
.byline__sep { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.feat-side { display: flex; flex-direction: column; gap: 16px; }
.feat-side-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 18px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  align-items: start;
  text-decoration: none;
}
.feat-side-card:hover { transform: translateX(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.feat-side-card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 8px;
  font-weight: 500;
}
[data-theme="dark"] .feat-side-card__tag { color: var(--gold-400); }
.feat-side-card__title {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.feat-side-card:hover .feat-side-card__title { color: var(--gold-600); }
[data-theme="dark"] .feat-side-card:hover .feat-side-card__title { color: var(--gold-400); }
.feat-side-card__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.feat-side-card__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  background: var(--navy-900);
  overflow: hidden;
  position: relative;
}
.feat-side-card__media img,
.feat-side-card__media svg { width: 100%; height: 100%; object-fit: cover; }

/* INDICES SNAPSHOT */
.indices { padding: 24px 0 48px; }
.indices__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.idx {
  background: var(--bg-elev);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: background 0.2s;
}
.idx:hover { background: var(--bg-soft); }
.idx__head { display: flex; justify-content: space-between; align-items: baseline; }
.idx__sym {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}
.idx__delta { font-family: var(--font-mono); font-size: 12px; font-weight: 500; }
.idx__delta.up { color: var(--up); }
.idx__delta.down { color: var(--down); }
.idx__price {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-feature-settings: "tnum";
  color: var(--ink);
}
.idx__spark { height: 32px; }
.idx__spark svg { width: 100%; height: 100%; }

/* TOP COURTIERS */
.brokers-top {
  position: relative;
  background: var(--navy-950);
  color: #F1ECE0;
  margin: 0;
  border-radius: var(--r-xl);
}
.brokers-top__wrap {
  padding: clamp(48px, 7vw, 80px);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.brokers-top__wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, color-mix(in oklab, var(--gold-500) 18%, transparent), transparent 50%),
    linear-gradient(180deg, transparent, color-mix(in oklab, var(--navy-900) 60%, transparent));
  pointer-events: none;
}
.brokers-top .eyebrow { color: var(--gold-400); position: relative; z-index: 1; }
.brokers-top .section-title { color: #F1ECE0; position: relative; z-index: 1; }
.brokers-top__intro p {
  color: #B8BFD0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 540px;
  margin-top: 14px;
  position: relative; z-index: 1;
}
.brokers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.broker {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.3s;
  position: relative;
  text-decoration: none;
  color: #F1ECE0;
}
.broker:hover { background: rgba(255,255,255,0.05); border-color: rgba(232, 181, 71, 0.35); transform: translateY(-3px); }
.broker__rank {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-400);
}
.broker__logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: #F1ECE0;
  color: var(--navy-900);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.broker__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.broker__stars { display: flex; gap: 3px; align-items: center; font-size: 13px; }
.broker__stars .score { font-family: var(--font-mono); margin-left: 4px; color: var(--gold-400); font-weight: 500; }
.broker__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.broker__stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b94ad;
  margin-bottom: 4px;
}
.broker__stat-val { font-family: var(--font-mono); font-size: 14px; color: #F1ECE0; font-weight: 500; }
.broker__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--gold-400);
  font-weight: 500;
}
.broker__cta::after { content: "→"; transition: transform 0.2s; }
.broker:hover .broker__cta::after { transform: translateX(4px); }
.broker--first {
  background: linear-gradient(180deg, rgba(232, 181, 71, 0.12), rgba(232, 181, 71, 0.02));
  border-color: rgba(232, 181, 71, 0.35);
}

/* NEWS GRID */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card { display: flex; flex-direction: column; text-decoration: none; }
.news-card__media {
  aspect-ratio: 5 / 3;
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.news-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card__media svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card__media img,
.news-card:hover .news-card__media svg { transform: scale(1.04); }
.news-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  transition: border-color 0.3s;
}
.news-card:hover .news-card__body { border-color: var(--line-strong); }
.news-card__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; }
[data-theme="dark"] .news-card__tag { color: var(--gold-400); }
.news-card__title {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.news-card:hover .news-card__title { color: var(--gold-600); }
[data-theme="dark"] .news-card:hover .news-card__title { color: var(--gold-400); }
.news-card__excerpt { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.news-card__meta {
  margin-top: auto;
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 12px;
  letter-spacing: 0.04em;
}

/* PEA GUIDE */
.guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.guide__visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--navy-900);
}
.guide__visual svg { width: 100%; height: 100%; }
.guide__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: steps;
}
.guide__list li {
  padding-left: 36px;
  position: relative;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  counter-increment: steps;
}
.guide__list li strong { color: var(--ink); font-weight: 600; }
.guide__list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-600);
  letter-spacing: 0.04em;
}
[data-theme="dark"] .guide__list li::before { color: var(--gold-400); }

/* NEWSLETTER — hidden until activation */
.newsletter, #newsletter, .side-cta { display: none !important; }

/* NEWSLETTER */
.newsletter {
  background: var(--navy-950);
  color: #F1ECE0;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.newsletter::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 50%; height: 180%;
  background: radial-gradient(circle, rgba(232, 181, 71, 0.18), transparent 60%);
  pointer-events: none;
}
.newsletter h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.025em; color: #F1ECE0; position: relative; }
.newsletter p { color: #B8BFD0; font-size: 15px; line-height: 1.55; margin-top: 14px; max-width: 420px; position: relative; }
.newsletter__stats { display: flex; gap: 32px; margin-top: 28px; position: relative; }
.newsletter__stat-num { font-family: var(--font-mono); font-size: 28px; font-weight: 500; color: var(--gold-400); letter-spacing: -0.02em; }
.newsletter__stat-lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #8b94ad; margin-top: 4px; }
.newsletter__form { display: flex; flex-direction: column; gap: 14px; position: relative; }
.newsletter__input-wrap {
  display: flex;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 6px;
  transition: border-color 0.2s;
}
.newsletter__input-wrap:focus-within { border-color: var(--gold-500); }
.newsletter__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 14px;
  color: #F1ECE0;
  font: inherit;
  font-size: 15px;
}
.newsletter__input::placeholder { color: #6B7494; }
.newsletter__form .btn--gold { padding: 12px 22px; border-radius: 8px; }
.newsletter__small { font-size: 12.5px; color: #8b94ad; line-height: 1.5; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 26px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  transition: color 0.2s;
  cursor: pointer;
}
.faq__q:hover { color: var(--gold-600); }
[data-theme="dark"] .faq__q:hover { color: var(--gold-400); }
.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s, border-color 0.2s;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq__icon::before { width: 10px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 10px; transition: transform 0.3s; }
.faq__item[open] .faq__icon { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__a {
  padding: 0 56px 28px 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 760px;
}
.faq__a a { color: var(--gold-600); border-bottom: 1px solid currentColor; }
[data-theme="dark"] .faq__a a { color: var(--gold-400); }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }

/* Homepage responsive */
@media (max-width: 980px) {
  .hero__intro { grid-template-columns: 1fr; gap: 32px; }
  .featured { grid-template-columns: 1fr; }
  .indices__grid { grid-template-columns: repeat(3, 1fr); }
  .brokers-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .guide { grid-template-columns: 1fr; gap: 32px; }
  .guide__visual { aspect-ratio: 5 / 3; }
  .newsletter { grid-template-columns: 1fr; gap: 32px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .indices__grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .feat-side-card { grid-template-columns: 1fr; }
  .feat-side-card__media { aspect-ratio: 16 / 9; }
}

/* ============================
   ARTICLE PAGE STYLES
   ============================ */

.read-progress {
  position: fixed;
  left: 0; top: 0;
  height: 2px;
  background: var(--gold-500);
  width: 0%;
  z-index: 100;
  transition: width 0.1s linear;
}

.art-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.art-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.art-breadcrumb a { color: var(--muted); transition: color 0.2s; }
.art-breadcrumb a:hover { color: var(--gold-600); }
.art-breadcrumb__sep { color: var(--line-strong); }
.art-breadcrumb__current { color: var(--ink); }
.art-tags { display: flex; gap: 8px; margin-bottom: 20px; }
.art-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 900px;
}
.art-deck {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 720px;
  margin-top: 24px;
  font-weight: 400;
}
.art-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.art-meta__author { display: flex; align-items: center; gap: 12px; }
.art-meta__author .byline__avatar { width: 40px; height: 40px; font-size: 14px; }
.art-meta__name { font-size: 14px; font-weight: 500; color: var(--ink); }
.art-meta__role { font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.04em; }
.art-meta__stats {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.art-meta__stats strong { color: var(--ink); font-weight: 500; }
.art-share { display: flex; gap: 8px; }
.art-cover {
  margin: 48px 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--navy-900);
}
.art-cover img,
.art-cover svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.art-cover__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 12px;
}
.art-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 280px;
  gap: 56px;
  align-items: start;
}
.art-toc { position: sticky; top: 120px; padding-top: 8px; }
.art-toc__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 500;
  margin-bottom: 18px;
}
[data-theme="dark"] .art-toc__title { color: var(--gold-400); }
.art-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid var(--line);
}
.art-toc__list a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.2s;
  text-decoration: none;
}
.art-toc__list a:hover { color: var(--ink); }
.art-toc__list a.active { color: var(--ink); border-left-color: var(--gold-500); font-weight: 500; }

/* Prose */
.prose {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--ink);
  font-family: var(--font-sans);
  counter-reset: sections;
}
.prose > * + * { margin-top: 24px; }
.prose h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 56px;
  color: var(--ink) !important;
  scroll-margin-top: 120px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  counter-increment: sections;
  border-bottom: none !important;
  background: none !important;
  padding: 0 !important;
}
.prose h2::before {
  content: counter(sections, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-600);
  letter-spacing: 0.06em;
}
[data-theme="dark"] .prose h2::before { color: var(--gold-400); }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 36px; letter-spacing: -0.02em; color: var(--ink) !important; }
.prose h4, .prose h5 { color: var(--ink) !important; }
.prose p { color: var(--ink); }
.prose p strong { font-weight: 600; }
.prose a { color: var(--gold-600); border-bottom: 1px solid color-mix(in oklab, var(--gold-600) 30%, transparent); transition: border-color 0.2s; }
[data-theme="dark"] .prose a { color: var(--gold-400); }
.prose a:hover { border-bottom-color: currentColor; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li::marker { color: var(--gold-600); }
[data-theme="dark"] .prose li::marker { color: var(--gold-400); }
.prose blockquote {
  border-left: 3px solid var(--gold-500);
  padding: 4px 0 4px 28px;
  margin-top: 36px;
  margin-bottom: 36px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prose blockquote cite {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-style: normal;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Tables inside WP content */
.prose table,
.entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14.5px !important;
  margin: 32px 0 !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  background: var(--bg-elev) !important;
}
.prose table thead th,
.entry-content table thead th {
  background: var(--bg-soft) !important;
  color: var(--muted) !important;
  padding: 12px 16px !important;
  text-align: left !important;
  font-family: var(--font-mono) !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid var(--line) !important;
}
.prose table td,
.entry-content table td {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--line) !important;
  color: var(--ink) !important;
  font-size: 14px !important;
  background: transparent !important;
}
.prose table tr:last-child td,
.entry-content table tr:last-child td { border-bottom: 0 !important; }
.prose table tbody tr:nth-child(even) td,
.entry-content table tbody tr:nth-child(even) td { background: color-mix(in oklab, var(--bg-soft) 50%, transparent) !important; }
.prose table tbody tr:hover td,
.entry-content table tbody tr:hover td { background: var(--bg-soft) !important; }

/* Key fact card */
.keyfact {
  margin: 40px 0;
  padding: 28px 32px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.keyfact__num {
  font-family: var(--font-mono);
  font-size: 44px;
  font-weight: 500;
  color: var(--gold-600);
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: "tnum";
}
[data-theme="dark"] .keyfact__num { color: var(--gold-400); }
.keyfact__lbl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.keyfact__txt { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }

/* Inline chart */
.chart-fig { margin: 40px 0; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.chart-fig__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.chart-fig__title { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.chart-fig__sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chart-fig__legend { display: flex; gap: 16px; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); letter-spacing: 0.04em; }
.chart-fig__dot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 6px; vertical-align: middle; }
.chart-fig__svg { width: 100%; height: 240px; }

/* Comparison table */
.cmp-table { margin: 40px 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cmp-table table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line); }
.cmp-table th { background: var(--bg-soft); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table tr:hover td { background: color-mix(in oklab, var(--bg-soft) 50%, transparent); }
.cmp-table td.num { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.cmp-table .up { color: var(--up); }
.cmp-table .down { color: var(--down); }

/* Sidebar */
.art-side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.side-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.side-card__hd { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; font-weight: 500; }
[data-theme="dark"] .side-card__hd { color: var(--gold-400); }
.side-news { display: flex; flex-direction: column; gap: 14px; }
.side-news a { display: flex; flex-direction: column; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-news a:last-child { border-bottom: 0; padding-bottom: 0; }
.side-news__title { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.side-news a:hover .side-news__title { color: var(--gold-600); }
[data-theme="dark"] .side-news a:hover .side-news__title { color: var(--gold-400); }
.side-news__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }
.side-cta { background: var(--navy-950); color: #F1ECE0; padding: 24px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.side-cta::before { content: ""; position: absolute; top: -50%; right: -30%; width: 80%; height: 200%; background: radial-gradient(circle, rgba(232, 181, 71, 0.2), transparent 60%); }
.side-cta__hd { color: var(--gold-400); position: relative; }
.side-cta h4 { font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; margin-bottom: 8px; color: #F1ECE0; position: relative; }
.side-cta p { font-size: 13.5px; line-height: 1.5; color: #B8BFD0; margin-bottom: 18px; position: relative; }
.side-cta .btn { width: 100%; justify-content: center; position: relative; }

/* Author box */
.author-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 32px;
  margin: 64px 0 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  align-items: center;
}
.author-box .byline__avatar { width: 72px; height: 72px; font-size: 22px; }
.author-box__name { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.author-box__role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); margin-top: 4px; }
.author-box__bio { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin-top: 10px; }

/* Related */
.related { margin-top: 96px; padding-top: 64px; border-top: 1px solid var(--line); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.related-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.related-card__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--navy-900); transition: transform 0.3s; }
.related-card:hover .related-card__media { transform: translateY(-3px); }
.related-card__media img,
.related-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.related-card__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; }
[data-theme="dark"] .related-card__tag { color: var(--gold-400); }
.related-card__title { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.related-card:hover .related-card__title { color: var(--gold-600); }
.related-card__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }

/* Article responsive */
@media (max-width: 1100px) {
  .art-grid { grid-template-columns: 1fr; gap: 32px; }
  .art-toc { position: static; }
  .art-side { position: static; flex-direction: row; }
  .side-card, .side-cta { flex: 1; }
}
@media (max-width: 720px) {
  .art-side { flex-direction: column; }
  .art-meta__stats { width: 100%; margin-left: 0; }
  .related-grid { grid-template-columns: 1fr; }
  .keyfact { grid-template-columns: 1fr; gap: 12px; }
  .author-box { grid-template-columns: 1fr; }
}

/* ============================
   ACTUALITÉS (CATEGORY) STYLES
   ============================ */

.cat-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, color-mix(in oklab, var(--gold-500) 10%, transparent), transparent 50%);
  pointer-events: none;
}
.cat-hero__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.cat-hero h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
.cat-hero__sub { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 520px; margin-top: 20px; }
.cat-counts { display: flex; gap: 48px; align-items: flex-end; }
.cat-counts__num { font-family: var(--font-mono); font-size: 56px; font-weight: 400; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.cat-counts__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* Filter bar */
.filter-bar {
  position: sticky;
  top: 89px;
  z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.filter-bar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  overflow-x: auto;
}
.filter-bar__inner::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}
.filter-pill:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--ink-soft); }
.filter-pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .filter-pill.active { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.filter-count { margin-left: 4px; font-family: var(--font-mono); font-size: 11px; opacity: 0.6; }
.filter-sep { width: 1px; height: 24px; background: var(--line); flex-shrink: 0; }
.filter-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.filter-sort select {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 6px 28px 6px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Featured editorial split */
.cat-featured { padding: 48px 0; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.cf-big {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-900);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #F1ECE0;
  text-decoration: none;
}
.cf-big__bg { position: absolute; inset: 0; }
.cf-big__bg img,
.cf-big__bg svg { width: 100%; height: 100%; object-fit: cover; }
.cf-big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 11, 26, 0.9)); }
.cf-big__content { position: relative; z-index: 1; max-width: 520px; }
.cf-big__tags { display: flex; gap: 8px; margin-bottom: 16px; }
.cf-big__title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; color: #F1ECE0; }
.cf-big__excerpt { font-size: 15.5px; line-height: 1.55; color: #B8BFD0; margin-top: 14px; }
.cf-big__meta { margin-top: 18px; display: flex; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: #8b94ad; letter-spacing: 0.06em; }
.cf-big__meta strong { color: #F1ECE0; font-weight: 500; }

.cf-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: var(--r-xl); overflow: hidden; }
.cf-row {
  background: var(--bg-elev);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 50px 1fr 80px;
  gap: 20px;
  align-items: center;
  transition: background 0.2s;
  text-decoration: none;
}
.cf-row:hover { background: var(--bg-soft); }
.cf-row__num { font-family: var(--font-mono); font-size: 13px; color: var(--gold-600); font-weight: 500; letter-spacing: 0.04em; }
[data-theme="dark"] .cf-row__num { color: var(--gold-400); }
.cf-row__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cf-row__title { font-size: 16px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.cf-row:hover .cf-row__title { color: var(--gold-600); }
[data-theme="dark"] .cf-row:hover .cf-row__title { color: var(--gold-400); }
.cf-row__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; text-align: right; }

/* Main article list */
.cat-list { padding: 32px 0 64px; }
.cat-list__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.cat-list__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }

.list-item {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 16px;
  border-top: 1px solid var(--line);
  transition: background 0.2s;
  margin: 0 -16px;
  border-radius: var(--r-md);
  text-decoration: none;
}
.list-item:hover { background: var(--bg-elev); }
.list-item__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--navy-800); transition: transform 0.3s; }
.list-item:hover .list-item__media { transform: translateY(-2px); }
.list-item__media img,
.list-item__media svg { width: 100%; height: 100%; object-fit: cover; }
.list-item__body { display: flex; flex-direction: column; gap: 10px; }
.list-item__head { display: flex; gap: 12px; align-items: center; }
.list-item__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; }
[data-theme="dark"] .list-item__tag { color: var(--gold-400); }
.list-item__date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.list-item__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.list-item__title { font-size: 22px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.2; color: var(--ink); }
.list-item:hover .list-item__title { color: var(--gold-600); }
[data-theme="dark"] .list-item:hover .list-item__title { color: var(--gold-400); }
.list-item__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.list-item__footer { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }
.list-item__footer strong { color: var(--ink); font-weight: 500; }
.list-item__cta {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: all 0.25s;
  flex-shrink: 0;
}
.list-item:hover .list-item__cta { background: var(--ink); color: var(--bg); border-color: var(--ink); transform: rotate(-45deg); }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.pager__btn {
  min-width: 40px; height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  transition: all 0.2s;
  text-decoration: none;
}
.pager__btn:hover { background: var(--bg-soft); color: var(--ink); }
.pager__btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .pager__btn.active { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }
.pager__btn.nav { border-color: var(--line-strong); padding: 0 16px; }

/* WP pagination */
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border-radius: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); transition: all 0.2s; text-decoration: none; }
.page-numbers:hover { background: var(--bg-soft); color: var(--ink); }
.page-numbers.current { background: var(--ink); color: var(--bg); }
[data-theme="dark"] .page-numbers.current { background: var(--gold-500); color: var(--navy-950); }
.prev.page-numbers, .next.page-numbers { border: 1px solid var(--line-strong); padding: 0 16px; }

/* Category responsive */
@media (max-width: 920px) {
  .cat-hero__inner { grid-template-columns: 1fr; }
  .cat-counts { gap: 24px; }
  .cat-featured { grid-template-columns: 1fr; }
  .cf-big { min-height: 360px; padding: 28px; }
  .list-item { grid-template-columns: 200px 1fr; }
  .list-item__cta { display: none; }
}
@media (max-width: 600px) {
  .list-item { grid-template-columns: 1fr; gap: 14px; }
  .cat-counts__num { font-size: 40px; }
  .filter-bar { top: 87px; }
}

/* ============================
   TEMPLATE ALIASES & EXTRAS
   ============================ */

/* Cat hero extras */
.cat-hero__sub { font-size: 17px; line-height: 1.55; color: var(--ink-soft); max-width: 520px; margin-top: 20px; }
.cat-hero__meta {
  display: flex;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 20px;
}
.cat-hero__meta strong { color: var(--ink); font-weight: 500; }

/* filter-btn = filter-pill */
.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}
.filter-btn:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--ink-soft); }
.filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .filter-btn.active { background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500); }

/* cf-big with media child */
.cf-big__media { position: absolute; inset: 0; }
.cf-big__media img, .cf-big__media svg { width: 100%; height: 100%; object-fit: cover; }
.cf-big__body { position: relative; z-index: 1; }
.cf-big__body .cf-big__tags { display: flex; gap: 8px; margin-bottom: 16px; }
.cf-big__body .cf-big__title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; color: #F1ECE0; }
.cf-big__body .cf-big__excerpt { font-size: 15.5px; line-height: 1.55; color: #B8BFD0; margin-top: 14px; }
.cf-big__body .cf-big__meta { margin-top: 18px; display: flex; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: #8b94ad; letter-spacing: 0.06em; }

/* cf-row 2-col (no rank number) */
.cf-row { grid-template-columns: 1fr 80px; }

/* cf-row thumb */
.cf-row__thumb { aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--navy-900); }
.cf-row__thumb img, .cf-row__thumb svg { width: 100%; height: 100%; object-fit: cover; }

/* list-item aliases */
.list-item__thumb { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--navy-800); transition: transform 0.3s; }
.list-item:hover .list-item__thumb { transform: translateY(-2px); }
.list-item__thumb img, .list-item__thumb svg { width: 100%; height: 100%; object-fit: cover; }
.list-item__body { display: flex; flex-direction: column; gap: 10px; }
.list-item__tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-600); font-weight: 500; }
[data-theme="dark"] .list-item__tag { color: var(--gold-400); }
.list-item__title { font-size: 22px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.2; color: var(--ink); }
.list-item:hover .list-item__title { color: var(--gold-600); }
[data-theme="dark"] .list-item:hover .list-item__title { color: var(--gold-400); }
.list-item__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.list-item__meta { display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }
.list-item__arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); font-size: 16px; transition: all 0.25s; flex-shrink: 0; }
.list-item:hover .list-item__arrow { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Art grid — 2-col (body + sidebar, no TOC) */
.art-grid { grid-template-columns: minmax(0, 1fr) 300px; }

/* Art post nav */
.art-postnav {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.art-postnav__item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-elev);
  transition: border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.art-postnav__item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.art-postnav__item--next { text-align: right; }
.art-postnav__dir { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.art-postnav__title { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.35; }

/* Sidebar link list */
.side-card__label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; font-weight: 500; display: block; }
[data-theme="dark"] .side-card__label { color: var(--gold-400); }
.side-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.side-link:last-child { border-bottom: 0; padding-bottom: 0; }
.side-link__date { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }
.side-link__title { font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.side-link:hover .side-link__title { color: var(--gold-600); }
[data-theme="dark"] .side-link:hover .side-link__title { color: var(--gold-400); }

/* Art responsive override for 2-col grid */
@media (max-width: 1100px) {
  .art-grid { grid-template-columns: 1fr; }
  .art-side { position: static; flex-direction: row; flex-wrap: wrap; }
}

/* Category list responsive */
@media (max-width: 720px) {
  .list-item { grid-template-columns: 1fr; gap: 14px; }
  .list-item__thumb { aspect-ratio: 16 / 9; }
  .list-item__arrow { display: none; }
}

/* Mobile nav (moved from wp_head inline) */
.nav__mobile { display: flex; flex-direction: column; padding: 12px var(--gutter); gap: 4px; border-top: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 95%, transparent); backdrop-filter: blur(16px); }
.nav__mobile[hidden] { display: none !important; }
.nav__burger { display: none; }
@media (max-width: 920px) { .nav__burger { display: grid; } }
