/* ============================================================
   zino — Esports Competition Network editorial stylesheet
   Light Color 007 (Slate Utility) + Typography 037 (Poppins)
   Visual contract: sidebar-led hero, bento rhythm, layered canvas,
   cutout image language, docked nav, vertical-topic-ribbon signature,
   technical-grid surface, technical-grotesk type, filterable-topic-desk.
   ============================================================ */

:root {
  --primary: #2457A7;
  --primary-ink: #173E78;
  --primary-soft: #E0E9F8;
  --accent: #A044C5;
  --accent-soft: #F1E7F8;
  --background: #F6F8FC;
  --surface: #FFFFFF;
  --surface-2: #E9EEF7;
  --surface-3: #DCE4F0;
  --text: #1B2638;
  --text-2: #2C3A52;
  --muted: #5A6B80;
  --muted-2: #8696AC;
  --border: #CDD8E8;
  --border-strong: #A8B7CD;
  --signal-green: #2E8B57;
  --signal-amber: #C77A0F;
  --signal-red: #B23A48;
  --shadow-sm: 0 1px 2px rgba(27,38,56,.06);
  --shadow-md: 0 4px 14px rgba(27,38,56,.08);
  --shadow-lg: 0 12px 32px rgba(27,38,56,.10);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --container: 1240px;
  --font-display: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-body: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --header-h: 68px;
  --mobile-cta-h: 64px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  font-feature-settings: "ss01", "ss02";
  overflow-x: clip;
  max-width: 100vw;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-ink); }
hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-6) 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0 0 var(--space-4);
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-weight: 700;
}
h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.5vw, 38px); letter-spacing: -0.018em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
h4 { font-size: clamp(17px, 1.8vw, 20px); }
p { margin: 0 0 var(--space-4); }

/* ============ container ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .container { padding: 0 18px; } }

/* ============ header (docked) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246,248,252,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); }
}
.site-header .container { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1.5px solid var(--text);
  display: grid; place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-name em { color: var(--primary); font-style: normal; }
.brand-tag {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}
.primary-nav { display: flex; align-items: center; gap: var(--space-2); margin-left: auto; }
.primary-nav ul { display: flex; gap: var(--space-1); list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 14.5px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 120ms ease, background 120ms ease;
}
.primary-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.primary-nav a.is-active { color: var(--primary); background: var(--primary-soft); }
.primary-nav a.cta {
  background: var(--primary);
  color: #fff;
  padding: 9px 16px;
  font-weight: 600;
  border-radius: var(--radius-md);
}
.primary-nav a.cta:hover { background: var(--primary-ink); color: #fff; }
.primary-nav a.signal::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(160,68,197,.18);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .primary-nav a.signal::before { animation: none; }
}
.header-right { display: flex; align-items: center; gap: var(--space-3); margin-left: var(--space-4); }
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 300;
}
.hamburger span {
  display: block;
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 220ms ease, opacity 180ms ease, top 180ms ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 26px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .primary-nav, .header-right > a { display: none; }
  .hamburger { display: block; }
}

/* mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  max-width: 360px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  right: -100%;
  transition: right 260ms ease;
  z-index: 80;
  padding: calc(var(--header-h) + 16px) 24px 32px;
  overflow-y: auto;
  visibility: hidden;
}
.mobile-drawer.is-open { right: 0; visibility: visible; }
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer { transition: none; }
}
.mobile-drawer ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer li + li { border-top: 1px solid var(--border); }
.mobile-drawer a {
  display: block;
  padding: 14px 0;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
}
.mobile-drawer a.cta {
  margin-top: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  text-align: center;
  font-weight: 600;
}
.mobile-drawer a.signal::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27,38,56,.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 75;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 120ms ease;
  text-decoration: none;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-ink); color: #fff; border-color: var(--primary-ink); }
.btn--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: #7C2EA0; color: #fff; border-color: #7C2EA0; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); }
.btn--link { background: transparent; color: var(--primary); padding: 0; border: 0; min-height: 0; }
.btn--link:hover { color: var(--primary-ink); text-decoration: underline; }

/* ============ cover (sidebar-led hero) ============ */
.cover { padding: 56px 0 72px; background: var(--background); position: relative; overflow: hidden; }
.cover::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .25;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.cover .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr); gap: var(--space-7); align-items: start; }
@media (max-width: 980px) { .cover .container { grid-template-columns: 1fr; gap: var(--space-5); } }

.topic-rail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-5) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.topic-rail::before {
  content: "Today's feed";
  position: absolute;
  top: -10px; left: 14px;
  background: var(--surface);
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.topic-rail-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}
.topic-rail-item:first-of-type { border-top: 0; }
.topic-rail-item .ts { font-family: var(--font-mono); color: var(--muted); font-size: 11px; min-width: 46px; }
.topic-rail-item .pill { background: var(--surface-2); color: var(--text-2); padding: 2px 6px; border-radius: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; }
.topic-rail-item .pill.live { background: rgba(160,68,197,.12); color: var(--accent); }

.cover-main { display: flex; flex-direction: column; gap: var(--space-5); }
.cover-headline { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 8px; }
.cover-headline em { color: var(--primary); font-style: normal; }
.cover-lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 65ch; margin-bottom: 0; line-height: 1.6; }
.cover-meta { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: 8px; }
.cover-meta > div { display: flex; flex-direction: column; gap: 2px; }
.cover-meta .label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.cover-meta .value { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); }
.cover-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cover-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.cover-art img { width: 100%; height: 100%; object-fit: cover; }
.cover-art .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(27,38,56,.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cover-art .badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.cover-art .credits {
  position: absolute;
  bottom: 12px; right: 16px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-family: var(--font-mono);
}
@media (max-width: 980px) {
  .cover-art { aspect-ratio: 16 / 11; }
}

/* ============ ticker rail ============ */
.ticker {
  background: var(--text);
  color: #E9EEF7;
  padding: 10px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ticker-inner {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  padding-left: 32px;
  will-change: transform;
}
.ticker:hover .ticker-inner { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
}
.ticker-item .label { color: rgba(255,255,255,.55); }
.ticker-item .value { color: #fff; }
.ticker-item .delta-up { color: #6BE6A8; }
.ticker-item .delta-dn { color: #F4A8A8; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; flex-wrap: wrap; }
}

/* ============ section spacing ============ */
.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }
.section--narrow { padding: 56px 0 32px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--primary); display: inline-block; }
.section-title { margin-bottom: 12px; }
.section-lede { color: var(--text-2); font-size: 17px; max-width: 62ch; margin-bottom: var(--space-6); }
.section-head { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-5); }
.section-head .section-lede { margin-bottom: 0; }

/* ============ deep-dive chapter ============ */
.chapter { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .chapter { grid-template-columns: 1fr; gap: var(--space-5); } }
.chapter .toc {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.chapter .toc ol { margin: 0; padding-left: 18px; font-size: 14px; color: var(--text-2); }
.chapter .toc li { padding: 4px 0; }
.chapter .toc a { color: var(--text-2); }
.chapter .toc a:hover { color: var(--primary); }
.chapter .pullquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin: var(--space-6) 0;
  line-height: 1.4;
}
.chapter .pullquote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 8px; letter-spacing: .02em; }
.chapter p { color: var(--text-2); }
.chapter h3 { margin-top: var(--space-6); }
.chapter h3:first-child { margin-top: 0; }

/* ============ annotated visual ============ */
.annotated {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) { .annotated { grid-template-columns: 1fr; gap: var(--space-5); } }
.annotated-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.annotated-figure img { width: 100%; height: 100%; object-fit: cover; }
.annotated-figure .anno {
  position: absolute;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.annotated-figure .anno .num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.annotated-figure .anno.a1 { top: 10%; left: 8%; }
.annotated-figure .anno.a2 { top: 38%; right: 6%; }
.annotated-figure .anno.a3 { bottom: 12%; left: 16%; }
@media (max-width: 600px) {
  .annotated-figure .anno { font-size: 11px; padding: 6px 8px; }
  .annotated-figure .anno .num { width: 18px; height: 18px; font-size: 10px; }
}
.annotated-list { display: flex; flex-direction: column; gap: var(--space-4); }
.annotated-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.annotated-item .num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.annotated-item h4 { font-size: 15px; margin: 0 0 4px; }
.annotated-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============ data poster ============ */
.data-poster {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-poster h3 { margin-bottom: var(--space-3); }
.data-poster .lede { color: var(--text-2); margin-bottom: var(--space-5); max-width: 56ch; }
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
  font-family: var(--font-mono);
}
.data-table thead th {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--border-strong);
  background: var(--surface-2);
}
.data-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .rank { font-weight: 700; color: var(--accent); }
.data-table .pos { font-weight: 700; color: var(--primary); }
.data-table .pos.up { color: var(--signal-green); }
.data-table .pos.dn { color: var(--signal-red); }
.data-table .team { font-family: var(--font-display); font-weight: 600; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-sm);
}
.data-table-wrap .data-table { border: 0; }
.data-source {
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px dashed var(--border);
}

/* ============ bento grid ============ */
.bento { display: grid; gap: var(--space-4); grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }
.bento-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.bento-cell .cell-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bento-cell h3 { margin: 0; font-size: 19px; }
.bento-cell p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.bento-cell .cell-link { margin-top: auto; }
.bento-cell.lead { grid-column: span 4; }
.bento-cell.lead-photo {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  min-height: 280px;
}
.bento-cell.lead-photo .bento-photo { height: 100%; }
.bento-cell.lead-photo .photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(27,38,56,.85), transparent);
  padding: var(--space-5);
  color: #fff;
}
.bento-cell.lead-photo .photo-overlay h3 { color: #fff; }
.bento-cell.lead-photo .photo-overlay p { color: rgba(255,255,255,.85); }
.bento-photo {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-3);
}
.bento-photo img { width: 100%; height: 100%; object-fit: cover; }
.bento-cell.span-3 { grid-column: span 3; }
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.span-6 { grid-column: span 6; }
@media (max-width: 980px) {
  .bento-cell.lead, .bento-cell.span-3, .bento-cell.span-2, .bento-cell.span-6, .bento-cell.lead-photo {
    grid-column: span 2;
    grid-row: auto;
  }
  .bento-cell.lead-photo { min-height: 220px; padding: 0; }
}
@media (max-width: 560px) {
  .bento-cell.lead, .bento-cell.span-3, .bento-cell.span-2, .bento-cell.span-6, .bento-cell.lead-photo {
    grid-column: span 1;
  }
}

/* ============ split rail ============ */
.split-rail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-7); align-items: start; }
@media (max-width: 900px) { .split-rail { grid-template-columns: 1fr; gap: var(--space-5); } }
.split-rail .rail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.split-rail .rail h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-3); font-weight: 700; }
.split-rail .rail ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.split-rail .rail li {
  counter-increment: r;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.split-rail .rail li:first-child { border-top: 0; }
.split-rail .rail li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  min-width: 24px;
}
.split-rail .body { min-width: 0; }
.split-rail .body > * + * { margin-top: var(--space-4); }

/* ============ filterable topic desk ============ */
.desk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.desk-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
  overflow-x: auto;
  scrollbar-width: none;
}
.desk-tabs::-webkit-scrollbar { display: none; }
.desk-tab {
  background: transparent;
  border: 0;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.desk-tab.is-active { color: var(--primary); }
.desk-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 12px; right: 12px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.desk-tab:hover:not(.is-active) { color: var(--text); }
.desk-panel { display: none; }
.desk-panel.is-active { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-4); }
@media (max-width: 800px) { .desk-panel.is-active { grid-template-columns: 1fr; } }
.desk-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.desk-item h4 { font-size: 15px; margin: 0 0 4px; }
.desk-item .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; font-family: var(--font-mono); }
.desk-item p { font-size: 13.5px; color: var(--text-2); margin: 0; line-height: 1.5; }

/* ============ feed list (chronological) ============ */
.feed { display: grid; grid-template-columns: 88px 1fr; gap: var(--space-5); }
@media (max-width: 700px) { .feed { grid-template-columns: 1fr; gap: var(--space-4); } }
.feed-time {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  border-right: 1px dashed var(--border);
  padding-right: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 700px) {
  .feed-time { border-right: 0; padding-right: 0; padding-bottom: 8px; border-bottom: 1px dashed var(--border); flex-direction: row; gap: 12px; }
}
.feed-time .date { font-size: 11px; color: var(--muted-2); }
.feed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feed-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}
.feed-item:first-child { border-top: 0; }
@media (max-width: 700px) { .feed-item { grid-template-columns: 1fr; } }
.feed-item .thumb {
  width: 96px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.feed-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-item .meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.feed-item .meta .tag { background: var(--surface-2); padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.feed-item h4 { font-size: 16.5px; margin: 0 0 4px; }
.feed-item p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }
.feed-item a.title { color: var(--text); }
.feed-item a.title:hover { color: var(--primary); }

/* ============ responsible close (two-column compact) ============ */
.responsible {
  background: var(--text);
  color: #E9EEF7;
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 800px) { .responsible { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); } }
.responsible h3 { color: #fff; font-size: 22px; }
.responsible p { color: rgba(233,238,247,.82); font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; }
.responsible a.btn { white-space: normal; text-align: center; max-width: 100%; }
.responsible .seal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ============ footer ============ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-7) 0 var(--space-6);
  margin-bottom: 0;
}
.site-footer.has-cta { padding-bottom: calc(var(--space-6) + var(--mobile-cta-h)); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h5 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.footer-meta .legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-meta .legal-links a { color: var(--muted); }
.footer-meta .legal-links a:hover { color: var(--text); }
.footer-brand-line { font-size: 13px; color: var(--text-2); margin-top: 10px; max-width: 38ch; line-height: 1.55; }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; }
.footer-socials a {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-2);
}
.footer-socials a:hover { color: var(--primary); border-color: var(--primary); }
.footer-socials svg { width: 18px; height: 18px; }

/* ============ mobile sticky CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 85;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
}
@media (prefers-reduced-transparency: reduce) { .sticky-cta { background: #fff; } }
@media (max-width: 768px) { .sticky-cta { display: flex; } }
.sticky-cta .note { font-size: 11.5px; color: var(--muted); line-height: 1.3; flex: 1; }
.sticky-cta .note strong { color: var(--text); display: block; font-size: 12.5px; font-weight: 700; }
.sticky-cta .btn { flex: 1.2; width: 100%; min-height: 48px; font-size: 16px; }

/* ============ hub hero (sidebar-led variant) ============ */
.hub-hero { padding: 56px 0 32px; background: var(--background); border-bottom: 1px solid var(--border); }
.hub-hero .container { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.3fr); gap: var(--space-7); align-items: start; }
@media (max-width: 980px) { .hub-hero .container { grid-template-columns: 1fr; gap: var(--space-5); } }
.hub-hero .crumb {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hub-hero h1 { margin-bottom: 12px; }
.hub-hero .lede { color: var(--text-2); max-width: 65ch; font-size: 17.5px; line-height: 1.65; margin-bottom: var(--space-5); }
.hub-hero .hub-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hub-hero .hub-rail { padding: var(--space-4); }
.hub-hero .rail-stat { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 0; border-top: 1px dashed var(--border); font-size: 13.5px; }
.hub-hero .rail-stat:first-of-type { border-top: 0; }
.hub-hero .rail-stat strong { font-family: var(--font-display); font-size: 22px; color: var(--primary); }
.hub-hero .rail-stat .lbl { color: var(--muted); }
.hub-hero .art { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: var(--space-5); }
.hub-hero .art img { width: 100%; height: 100%; object-fit: cover; }

/* ============ generic article / money page ============ */
.article { padding: 56px 0 80px; }
.article .container { max-width: 1080px; }
.article-header { margin-bottom: var(--space-6); }
.article-header .crumb { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.article-header h1 { font-size: clamp(30px, 4vw, 46px); }
.article-header .lede { font-size: 18px; color: var(--text-2); max-width: 70ch; line-height: 1.6; margin-top: 14px; }
.article-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.article-meta .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.article-banner { margin: var(--space-6) 0 var(--space-7); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; }
.article-banner img { width: 100%; height: 100%; object-fit: cover; }
.article-body p { font-size: 17px; line-height: 1.75; color: var(--text); max-width: 68ch; margin-bottom: var(--space-4); }
.article-body h2 { font-size: clamp(22px, 2.6vw, 30px); margin: var(--space-7) 0 var(--space-4); max-width: 68ch; }
.article-body h3 { font-size: clamp(18px, 2vw, 22px); margin: var(--space-6) 0 var(--space-3); max-width: 68ch; }
.article-body ul, .article-body ol { max-width: 68ch; padding-left: 22px; line-height: 1.7; color: var(--text); }
.article-body li { margin-bottom: 6px; }
.article-body figure { margin: var(--space-6) 0; }
.article-body figure img { width: 100%; height: auto; border-radius: var(--radius-md); }
.article-body figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: left; }
.article-body blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text);
}
.article-body .cta-band {
  margin: var(--space-7) 0;
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
}
.article-body .cta-band .copy { max-width: 56ch; }
.article-body .cta-band h4 { margin: 0 0 6px; }
.article-body .cta-band p { margin: 0; font-size: 14.5px; color: var(--text-2); }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}
.faq-item h4 { font-size: 16px; margin: 0 0 8px; color: var(--text); }
.faq-item p { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

/* ============ card grid (for hubs) ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-photo { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); letter-spacing: 0.1em; text-transform: uppercase; }
.card-body h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); }
.card-body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ============ feature row ============ */
.feature-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: var(--space-5); } }
.feature-row .photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feature-row .photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.feature-row.reverse .photo { order: -1; }
@media (max-width: 900px) { .feature-row.reverse .photo { order: 0; } }
.feature-row .copy h2 { margin-bottom: 12px; }
.feature-row .copy p { font-size: 16px; color: var(--text-2); margin-bottom: var(--space-4); max-width: 60ch; }

/* ============ pill badges ============ */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.badge.primary { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }
.badge.live { background: rgba(160,68,197,.12); color: var(--accent); border-color: rgba(160,68,197,.2); }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse-dot 1.8s ease-in-out infinite; }

/* ============ generic helpers ============ */
.text-muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.divider { height: 1px; background: var(--border); margin: var(--space-5) 0; }
.mt-4 { margin-top: var(--space-4); } .mt-5 { margin-top: var(--space-5); } .mt-6 { margin-top: var(--space-6); }
.mb-4 { margin-bottom: var(--space-4); } .mb-5 { margin-bottom: var(--space-5); }
.flex { display: flex; gap: var(--space-3); align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); } .gap-4 { gap: var(--space-4); }

/* ============ skip link / focus ============ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ============ filter chips ============ */
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--space-5); }
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
}
.chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.chip:hover:not(.is-active) { background: var(--surface-2); }

/* ============ chart bar ============ */
.bar-chart { display: flex; gap: 4px; align-items: flex-end; height: 80px; margin-top: 12px; }
.bar { flex: 1; background: var(--primary-soft); border-radius: 4px 4px 0 0; min-height: 6px; transition: background 140ms ease; }
.bar:hover { background: var(--primary); }
.bar.accent { background: var(--accent-soft); }
.bar.accent:hover { background: var(--accent); }

/* ============ player profile card ============ */
.player-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.player-card .photo { aspect-ratio: 4/5; overflow: hidden; }
.player-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.player-card .body { padding: var(--space-4); }
.player-card h4 { margin: 0 0 4px; font-size: 16px; }
.player-card .role { font-size: 12px; color: var(--primary); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 8px; }
.player-card .stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 12px; }
.player-card .stats div { background: var(--surface-2); padding: 6px 8px; border-radius: var(--radius-xs); text-align: center; }
.player-card .stats strong { display: block; color: var(--text); font-family: var(--font-mono); font-size: 14px; margin-top: 2px; }

/* ============ tournament row ============ */
.tournament-list { display: flex; flex-direction: column; gap: var(--space-3); }
.tournament-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
@media (max-width: 600px) {
  .tournament-row { grid-template-columns: 1fr; gap: var(--space-3); }
}
.tournament-row .date-box {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  min-width: 80px;
  font-family: var(--font-mono);
}
.tournament-row .date-box .day { font-size: 22px; font-weight: 700; display: block; }
.tournament-row .date-box .mo { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tournament-row .info h4 { margin: 0 0 4px; font-size: 15.5px; }
.tournament-row .info p { margin: 0; font-size: 13px; color: var(--muted); }
.tournament-row .prize { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 16px; text-align: right; }
.tournament-row .prize .lbl { font-family: var(--font-body); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: block; }

/* ============ tags row ============ */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============ post list ============ */
.post-list { display: flex; flex-direction: column; gap: var(--space-4); }
.post-list .card { flex-direction: row; }
.post-list .card .card-photo { aspect-ratio: 4/3; min-width: 220px; max-width: 240px; flex-shrink: 0; }
@media (max-width: 600px) { .post-list .card { flex-direction: column; } .post-list .card .card-photo { max-width: 100%; aspect-ratio: 16/10; } }

/* ============ error / 404 ============ */
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; padding: var(--space-7) 24px; text-align: center; }
.error-page h1 { font-size: 96px; letter-spacing: -0.04em; margin: 0; color: var(--primary); }
.error-page p { max-width: 56ch; margin: 0 auto var(--space-5); color: var(--text-2); }

/* ============ llms.txt / robots / sitemap / feed styling (visible in case any user hits the dir) ============ */
.feed-page { padding: 56px 0; font-family: var(--font-mono); font-size: 14px; color: var(--text); white-space: pre-wrap; }

/* ============ A11y / reduce ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}