/*
Theme Name: CricketClaus
Theme URI: https://cricketclaus.example
Author: CricketClaus
Author URI: https://cricketclaus.example
Description: A bright, light-mode cricket theme with a bold green masthead — news & blog, live scores and stats pulled from a live cricket API, web stories, and a deep stats & records hub. Fully customisable header & footer. Fonts: Bricolage Grotesque, Space Grotesk, Space Mono.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cricketclaus
Tags: news, blog, sports, light, custom-menu, featured-images, custom-colors, translation-ready, threaded-comments
*/

/* ============================================================
   CricketClaus — Design System v2  (Light Mode)
   "Broadsheet meets Broadcast"
   Fonts: Bricolage Grotesque · Space Grotesk · Space Mono
   ============================================================ */

:root {
  /* --- Palette --- */
  --paper:    #f7f3ea;     /* warm cream */
  --paper-2:  #fffdf8;     /* card white */
  --ink:      #15120d;     /* near-black */
  --ink-soft: #595348;
  --crimson:  #d83a2b;     /* cricket ball red */
  --crimson-2:#b22a1e;
  --field:    #0e5c42;     /* turf green */
  --field-2:  #0a4733;
  --field-50: #e7f3ed;
  --amber:    #f0a52f;     /* willow gold */
  --amber-50: #fdf1da;
  --line:     #e6dfce;
  --line-2:   #d8cfb9;

  --shadow-xs: 0 1px 2px rgba(21,18,13,.05);
  --shadow-sm: 0 6px 18px -10px rgba(21,18,13,.30);
  --shadow:    0 22px 50px -26px rgba(14,92,66,.40);
  --shadow-lg: 0 40px 80px -30px rgba(21,18,13,.45);

  --r-xl: 26px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --maxw: 1240px;

  --f-display: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  --f-body: "Space Grotesk", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(900px 600px at 88% -8%, rgba(240,165,47,.18), transparent 60%),
    radial-gradient(820px 560px at -6% 4%, rgba(14,92,66,.12), transparent 58%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }

/* --- Type helpers --- */
h1,h2,h3,h4 { font-family: var(--f-display); line-height: 1.02; font-weight: 700; letter-spacing: -.025em; }
.eyebrow {
  font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .24em;
  font-size: .7rem; color: var(--field); font-weight: 700;
}
.mono { font-family: var(--f-mono); }
.accent-bar { display: inline-block; height: 7px; width: 54px; background: var(--crimson); border-radius: 7px; margin-bottom: 16px; }
.kicker {
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border: none;
  font-family: var(--f-body); font-weight: 700; font-size: .92rem;
  padding: 12px 20px; border-radius: 999px; transition: transform .16s, box-shadow .22s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--crimson); color: #fff; box-shadow: 0 12px 24px -12px var(--crimson); }
.btn-primary:hover { transform: translateY(-2px); background: var(--crimson-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-ghost { background: transparent; border: 1.6px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--field); color: var(--field); }
.btn-sm { padding: 9px 15px; font-size: .82rem; }

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.topbar {
  background: var(--ink); color: #d9cdb6; font-family: var(--f-mono);
  font-size: .72rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; gap: 12px; }
.topbar .live { color: #f3d49a; display: inline-flex; align-items: center; gap: 9px; }
.topbar .live .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); box-shadow: 0 0 0 0 rgba(216,58,43,.7); animation: pulse 1.6s infinite; }
.topbar .tlinks { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(216,58,43,.6)} 70%{box-shadow:0 0 0 9px rgba(216,58,43,0)} 100%{box-shadow:0 0 0 0 rgba(216,58,43,0)} }

/* ============================================================
   HEADER / MASTHEAD
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--field-2); border-bottom: 3px solid var(--amber); box-shadow: 0 10px 30px -18px rgba(7,40,28,.55); }
.site-header .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 26px; padding: 12px 0; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: radial-gradient(120% 120% at 28% 18%, var(--field) 0%, var(--field-2) 72%, #06231a 100%);
  display: grid; place-items: center; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.brand .mark::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 60% at 72% 16%, rgba(240,165,47,.28), transparent 62%); }
.brand .mark svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.brand .id { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.brand .name { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.035em; line-height: 1; }
.brand .name em { font-style: normal; color: var(--crimson); }
.brand .sub { font-family: var(--f-mono); font-size: .55rem; letter-spacing: .2em; color: var(--ink-soft); text-transform: uppercase; margin-top: 6px; white-space: nowrap; }

/* --- Primary nav (works for plain <a> list and WP <ul> menus) --- */
.nav { justify-self: center; display: flex; align-items: center; }
.nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > a { }
.nav li { list-style: none; }
.nav a { position: relative; display: inline-block; padding: 10px 15px; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap; transition: color .18s, background .18s; }
.nav a:hover { color: var(--field); background: var(--field-50); }
.nav .current-menu-item > a, .nav .current_page_item > a, .nav .current-menu-ancestor > a, .nav a.active { color: var(--crimson); background: transparent; }
.nav .current-menu-item > a::after, .nav .current_page_item > a::after, .nav .current-menu-ancestor > a::after, .nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2.5px; border-radius: 3px; background: var(--crimson);
}

.header-cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 13px; border: 1.6px solid var(--line-2); background: var(--paper-2); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .15s; }
.icon-btn:hover { border-color: var(--field); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; }
.menu-toggle { display: none; }
.menu-toggle span { display:block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .25s; }

/* --- Green header: light-on-dark contrast overrides --- */
.site-header .brand .name { color: #fff; }
.site-header .brand .name em { color: var(--amber); }
.site-header .brand .sub { color: #a9d2c1; }
.site-header .brand .mark { box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(255,255,255,.28); }
.site-header .nav a { color: #eaf6ef; }
.site-header .nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-header .nav .current-menu-item > a, .site-header .nav .current_page_item > a, .site-header .nav .current-menu-ancestor > a, .site-header .nav a.active { color: var(--amber); background: transparent; }
.site-header .nav .current-menu-item > a::after, .site-header .nav .current_page_item > a::after, .site-header .nav .current-menu-ancestor > a::after, .site-header .nav a.active::after { background: var(--amber); }
.site-header .icon-btn { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
.site-header .icon-btn:hover { border-color: var(--amber); transform: translateY(-1px); }
.site-header .icon-btn svg { stroke: #fff; }
.site-header .btn-ghost { border-color: rgba(255,255,255,.38); color: #fff; }
.site-header .btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.site-header .menu-toggle span { background: #fff; }
/* mobile dropdown keeps its light-paper panel, so restore dark text there */
.site-header .nav.open { background: var(--paper-2); }
.site-header .nav.open a { color: var(--ink); }
.site-header .nav.open a:hover { color: var(--field); background: var(--field-50); }
.site-header .nav.open .current-menu-item > a, .site-header .nav.open .current_page_item > a, .site-header .nav.open a.active { color: var(--crimson); }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--crimson), var(--amber)); z-index: 70; transition: width .1s linear; }

/* ============================================================
   LIVE TICKER
   ============================================================ */
.ticker { background: var(--field-2); color: #eaf6ef; overflow: hidden; border-bottom: 3px solid var(--amber); }
.ticker-inner { display: flex; align-items: center; }
.ticker-label { background: var(--crimson); color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: .72rem; letter-spacing: .12em; padding: 13px 17px; white-space: nowrap; text-transform: uppercase; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.ticker-inner { position: relative; }
.ticker-track { position: relative; }
.ticker-label .pip { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }
.ticker-track { display: flex; gap: 44px; padding: 13px 0; white-space: nowrap; animation: scroll 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-family: var(--f-mono); font-size: .84rem; display: inline-flex; gap: 9px; align-items: center; }
.ticker-item b { color: var(--amber); }
.ticker-item .vs { color: #7ba593; }
@keyframes scroll { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ============================================================
   MESH "IMAGE" PLACEHOLDERS
   ============================================================ */
.mesh { position: absolute; inset: 0; }
.mesh::after { content:""; position:absolute; inset:0; opacity:.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.m1 { background:
  radial-gradient(120% 120% at 15% 15%, #16a06b 0%, transparent 45%),
  radial-gradient(120% 120% at 85% 25%, #0a4733 0%, transparent 55%),
  linear-gradient(160deg, #0e5c42, #07301f); }
.m2 { background:
  radial-gradient(120% 120% at 20% 20%, #ff6a3d 0%, transparent 50%),
  radial-gradient(120% 120% at 80% 80%, #d83a2b 0%, transparent 55%),
  linear-gradient(160deg, #f0a52f, #b22a1e); }
.m3 { background:
  radial-gradient(110% 110% at 25% 15%, #2a8f6c 0%, transparent 50%),
  radial-gradient(120% 120% at 90% 90%, #103a31 0%, transparent 60%),
  linear-gradient(150deg, #14503d, #15120d); }
.m4 { background:
  radial-gradient(120% 120% at 15% 25%, #ffce5c 0%, transparent 50%),
  radial-gradient(120% 120% at 85% 75%, #e7642f 0%, transparent 55%),
  linear-gradient(160deg, #f0a52f, #cf3b1e); }
.m5 { background:
  radial-gradient(120% 120% at 80% 15%, #f0a52f 0%, transparent 45%),
  radial-gradient(120% 120% at 15% 85%, #0e5c42 0%, transparent 55%),
  linear-gradient(150deg, #0a4733, #15120d); }
.m6 { background:
  radial-gradient(120% 120% at 20% 20%, #4fc395 0%, transparent 50%),
  radial-gradient(120% 120% at 85% 80%, #0e5c42 0%, transparent 60%),
  linear-gradient(150deg, #16a06b, #0a4733); }
.m7 { background:
  radial-gradient(120% 120% at 80% 20%, #ff7a59 0%, transparent 50%),
  radial-gradient(120% 120% at 15% 90%, #7b1d12 0%, transparent 55%),
  linear-gradient(150deg, #d83a2b, #4a140c); }
.m8 { background:
  radial-gradient(120% 120% at 25% 15%, #ffd874 0%, transparent 48%),
  radial-gradient(120% 120% at 85% 85%, #0e5c42 0%, transparent 58%),
  linear-gradient(150deg, #f0a52f, #0a4733); }

/* ============================================================
   HERO — BENTO
   ============================================================ */
.hero { padding: 40px 0 26px; }
.hero-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.hero-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.hero-head .date { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-soft); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }

/* featured lead */
.lead { grid-column: span 7; grid-row: span 2; position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 480px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; box-shadow: var(--shadow); }
.lead .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7,18,13,.92) 8%, rgba(7,18,13,.25) 55%, rgba(7,18,13,.35) 100%); }
.lead .tag { position: absolute; top: 26px; left: 26px; z-index: 3; background: var(--crimson); color: #fff; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; padding: 7px 13px; border-radius: 999px; text-transform: uppercase; font-weight: 700; }
.lead .inner { position: relative; z-index: 3; }
.lead .kicker { color: var(--amber); }
.lead h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin: 12px 0 12px; }
.lead p { color: #e2dccf; max-width: 54ch; }
.lead .byline { margin-top: 16px; font-family: var(--f-mono); font-size: .74rem; color: #c9c0ae; display: flex; gap: 12px; align-items: center; }
.lead .byline .d { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.lead:hover .mesh { transform: scale(1.04); }
.lead .mesh { transition: transform .8s ease; }

/* scoreboard widget */
.scoreboard { grid-column: span 5; background: linear-gradient(165deg, var(--ink), #241d12); color: #fff; border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.scoreboard::before { content:""; position:absolute; right:-40px; top:-40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(240,165,47,.35), transparent 70%); }
.sb-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.sb-top .fmt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: #b9b09c; }
.sb-live { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .68rem; font-weight: 700; color: var(--crimson); text-transform: uppercase; }
.sb-live .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); animation: pulse 1.6s infinite; }
.sb-teams { margin-top: 18px; position: relative; z-index: 2; }
.sb-team { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.sb-team + .sb-team { border-top: 1px solid rgba(255,255,255,.08); }
.sb-team .t { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.flag { width: 38px; height: 26px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: .64rem; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.sb-team .runs { font-family: var(--f-mono); font-weight: 700; font-size: 1.5rem; }
.sb-team .runs small { font-size: .8rem; color: #b9b09c; font-weight: 400; }
.sb-team.batting .runs { color: var(--amber); }
.sb-meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.16); display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.sb-meta .req { font-family: var(--f-mono); font-size: .8rem; color: #e2dccf; }
.sb-meta .req b { color: var(--amber); }
.sb-over { display: flex; gap: 6px; }
.ball { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: .72rem; background: rgba(255,255,255,.1); }
.ball.r4 { background: var(--field); }
.ball.r6 { background: var(--crimson); }
.ball.w { background: #fff; color: var(--ink); }

/* trending list */
.trending { grid-column: span 5; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.trending h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.trending h3 .fire { color: var(--crimson); }
.trend-row { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.trend-row:hover .tt { color: var(--crimson); }
.trend-row .n { font-family: var(--f-mono); font-weight: 700; color: var(--line-2); font-size: 1.2rem; line-height: 1.1; }
.trend-row .tt { font-weight: 600; font-size: .96rem; line-height: 1.3; transition: color .15s; }
.trend-row .tm { font-family: var(--f-mono); font-size: .68rem; color: var(--ink-soft); margin-top: 3px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section { padding: 58px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.sec-head .sub { color: var(--ink-soft); max-width: 52ch; margin-top: 8px; }
.sec-head .more { font-family: var(--f-mono); font-size: .8rem; font-weight: 700; color: var(--field); display: inline-flex; gap: 7px; align-items: center; padding: 9px 16px; border: 1.6px solid var(--line-2); border-radius: 999px; transition: .2s; }
.sec-head .more:hover { background: var(--field); color: #fff; border-color: var(--field); }

/* ============================================================
   NEWS — EDITORIAL LAYOUT
   ============================================================ */
.news-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: start; }

.feature-card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: 30px; box-shadow: var(--shadow); }
.feature-card .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7,18,13,.92), rgba(7,18,13,.15) 60%); }
.feature-card .inner { position: relative; z-index: 2; }
.feature-card .cat { display: inline-block; background: var(--amber); color: var(--ink); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.feature-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.feature-card p { color: #e2dccf; margin-top: 10px; max-width: 46ch; }
.feature-card .byline { margin-top: 14px; font-family: var(--f-mono); font-size: .72rem; color: #c9c0ae; }
.feature-card .mesh { transition: transform .8s; }
.feature-card:hover .mesh { transform: scale(1.05); }

/* headline rows list */
.headline-list { display: flex; flex-direction: column; }
.hl-row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; transition: transform .18s; }
.hl-row:first-child { border-top: none; padding-top: 0; }
.hl-row:hover { transform: translateX(4px); }
.hl-thumb { position: relative; width: 96px; height: 72px; border-radius: var(--r-md); overflow: hidden; flex-shrink: 0; }
.hl-cat { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.cat-report { color: var(--field); } .cat-opinion { color: var(--crimson); } .cat-feature { color: #b07d12; } .cat-preview { color: #1d7a9c; }
.hl-row h4 { font-size: 1.06rem; margin: 4px 0 5px; line-height: 1.18; }
.hl-row:hover h4 { color: var(--crimson); }
.hl-row .tm { font-family: var(--f-mono); font-size: .68rem; color: var(--ink-soft); }

/* generic news grid (cards) */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.article { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.article:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.article .thumb .mesh { transition: transform .6s; }
.article:hover .thumb .mesh { transform: scale(1.06); }
.article .cat-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(21,18,13,.84); color: #fff; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.article .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article h3 { font-size: 1.2rem; }
.article:hover h3 { color: var(--crimson); }
.article p { color: var(--ink-soft); font-size: .9rem; }
.article .a-meta { margin-top: auto; font-family: var(--f-mono); font-size: .7rem; color: var(--ink-soft); display: flex; gap: 9px; align-items: center; padding-top: 6px; }
.article .a-meta .d { width: 4px; height: 4px; border-radius: 50%; background: var(--field); }

/* ============================================================
   WEB STORIES
   ============================================================ */
.stories-rail { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; }
.stories-rail::-webkit-scrollbar { height: 8px; }
.stories-rail::-webkit-scrollbar-track { background: var(--line); border-radius: 8px; }
.stories-rail::-webkit-scrollbar-thumb { background: var(--field); border-radius: 8px; }
.story { flex: 0 0 210px; aspect-ratio: 9/16; border-radius: 22px; position: relative; overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .25s, box-shadow .25s; }
.story:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.story .mesh { transition: transform .5s; }
.story:hover .mesh { transform: scale(1.08); }
.story .gloss { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7,18,13,.9) 4%, rgba(7,18,13,.05) 55%); }
.story .bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; gap: 4px; }
.story .bars span { flex: 1; height: 3px; background: rgba(255,255,255,.4); border-radius: 3px; }
.story .bars span.on { background: #fff; }
.story .cap { position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 3; color: #fff; }
.story .cap .k { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.story .cap h4 { font-size: 1.02rem; margin-top: 5px; line-height: 1.18; }
.story .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.22); backdrop-filter: blur(4px); display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.5); transition: transform .2s; }
.story:hover .play { transform: translate(-50%,-50%) scale(1.12); }
.story .play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.story-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.story-wall .story { flex: none; width: 100%; }

/* --- Story Viewer Modal --- */
.viewer { position: fixed; inset: 0; z-index: 200; background: rgba(10,8,5,.85); backdrop-filter: blur(8px); display: none; place-items: center; padding: 20px; }
.viewer.open { display: grid; }
.viewer-card { position: relative; width: min(420px, 94vw); aspect-ratio: 9/16; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.viewer-bg { position: absolute; inset: 0; }
.viewer-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7,18,13,.9), transparent 45%, rgba(7,18,13,.5)); }
.viewer-bars { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 5px; }
.viewer-bars .vb { flex: 1; height: 3px; background: rgba(255,255,255,.35); border-radius: 3px; overflow: hidden; }
.viewer-bars .vb i { display: block; height: 100%; width: 0; background: #fff; }
.viewer-bars .vb.done i { width: 100%; }
.viewer-bars .vb.active i { animation: fillbar 5s linear forwards; }
@keyframes fillbar { from { width: 0 } to { width: 100% } }
.viewer-head { position: absolute; top: 30px; left: 16px; right: 16px; z-index: 4; display: flex; align-items: center; justify-content: space-between; color: #fff; }
.viewer-head .vbrand { display: flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .72rem; }
.viewer-head .vbrand .dot { width: 22px; height: 22px; border-radius: 7px; background: var(--field); display: grid; place-items: center; }
.viewer-head .vbrand .dot svg { width: 13px; height: 13px; }
.viewer-close { width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.2); color: #fff; font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; }
.viewer-close:hover { background: rgba(255,255,255,.35); }
.viewer-content { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding: 30px 26px 40px; color: #fff; }
.viewer-content .vk { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.viewer-content h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.viewer-content p { color: #e2dccf; font-size: .95rem; }
.viewer-nav { position: absolute; inset: 0; z-index: 4; display: flex; }
.viewer-nav button { flex: 1; background: transparent; border: none; cursor: pointer; }
.viewer-tap-hint { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 5; text-align: center; color: rgba(255,255,255,.6); font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; pointer-events: none; }

/* ============================================================
   STATS & RECORDS
   ============================================================ */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; padding: 10px 17px; border-radius: 999px; border: 1.6px solid var(--line-2); background: var(--paper-2); cursor: pointer; transition: .18s; }
.tab:hover { border-color: var(--field); color: var(--field); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-panel { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.panel-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.panel-head h3 { font-size: 1.18rem; }
.panel-head .chip { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; background: var(--field-50); color: var(--field); padding: 5px 11px; border-radius: 999px; font-weight: 700; }

.bar-row { padding: 14px 22px; border-bottom: 1px solid var(--line); }
.bar-row:last-child { border-bottom: none; }
.bar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.bar-who { display: flex; align-items: center; gap: 12px; }
.bar-who .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: .76rem; flex-shrink: 0; }
.bar-who b { display: block; font-size: .96rem; }
.bar-who small { color: var(--ink-soft); font-family: var(--f-mono); font-size: .66rem; }
.bar-val { font-family: var(--f-mono); font-weight: 700; font-size: 1.2rem; }
.bar-track { height: 8px; background: var(--line); border-radius: 8px; overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--field), var(--amber)); transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.bar-fill.crim { background: linear-gradient(90deg, var(--crimson), var(--amber)); }

/* record tiles */
.records-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.record-tile { background: linear-gradient(165deg, var(--paper-2), var(--field-50)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .2s; }
.record-tile:hover { transform: translateY(-4px); }
.record-tile .num { font-family: var(--f-mono); font-weight: 700; font-size: 2.4rem; color: var(--field); letter-spacing: -.03em; line-height: 1; }
.record-tile .lbl { font-size: .88rem; font-weight: 600; margin-top: 8px; }
.record-tile .who { font-family: var(--f-mono); font-size: .68rem; color: var(--ink-soft); margin-top: 8px; }
.record-tile::before { content:""; position:absolute; right:-22px; top:-22px; width: 92px; height: 92px; border-radius: 50%; background: var(--amber); opacity: .2; }

/* records marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; margin-top: 10px; }
.marquee-track { display: flex; gap: 50px; white-space: nowrap; animation: scroll 45s linear infinite; }
.marquee-item { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); display: inline-flex; align-items: center; gap: 14px; }
.marquee-item .num { color: var(--crimson); font-family: var(--f-mono); }
.marquee-item .star { color: var(--amber); }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.cta-band { margin: 30px 0; border-radius: var(--r-xl); padding: 48px; background: linear-gradient(150deg, var(--ink), var(--field-2) 75%); color: #fff; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.cta-band::after { content:""; position:absolute; inset:0; opacity:.45; background: radial-gradient(420px 320px at 92% 120%, var(--amber), transparent 60%); }
.cta-band .kicker { color: var(--amber); }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); position: relative; z-index: 2; margin-top: 8px; }
.cta-band p { color: #d6cdba; margin-top: 8px; position: relative; z-index: 2; }
.cta-form { display: flex; gap: 10px; position: relative; z-index: 2; }
.cta-form input { flex: 1; padding: 15px 18px; border-radius: 999px; border: none; font-family: var(--f-body); font-size: .95rem; }
.cta-form input:focus { outline: 3px solid var(--amber); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #c8bca6; margin-top: 64px; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand .name { color: #fff; }
.site-footer p { color: #9b9079; font-size: .9rem; margin-top: 16px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; font-family: var(--f-display); }
.footer-col a { display: block; padding: 6px 0; color: #b0a48d; font-size: .92rem; transition: color .15s; }
.footer-col a:hover { color: var(--amber); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--crimson); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--f-mono); font-size: .74rem; color: #857a64; }
.footer-bottom .fl { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { padding: 50px 0 20px; }
.page-hero .crumbs { font-family: var(--f-mono); font-size: .74rem; color: var(--ink-soft); margin-bottom: 14px; }
.page-hero .crumbs a:hover { color: var(--crimson); }
.page-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
.page-hero p { color: var(--ink-soft); margin-top: 12px; max-width: 60ch; font-size: 1.05rem; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* match cards (scores page) */
.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.match-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.match-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.match-card .strip { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--field), var(--amber)); }
.match-top { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 14px; }
.match-fmt { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--field); background: var(--field-50); padding: 5px 10px; border-radius: 999px; font-weight: 700; }
.status-live { color: var(--crimson); font-family: var(--f-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.status-live::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); animation: pulse 1.6s infinite; }
.status-soon { color: var(--field); font-family: var(--f-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.team-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; }
.team { display: flex; align-items: center; gap: 11px; font-weight: 700; }
.score { font-family: var(--f-mono); font-weight: 700; font-size: 1.1rem; }
.score small { color: var(--ink-soft); font-weight: 400; }
.match-foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .82rem; color: var(--ink-soft); display: flex; justify-content: space-between; }
.match-foot b { color: var(--field); }

/* ============================================================
   ANIMATION UTIL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .lead { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .scoreboard, .trending { grid-column: 1 / -1; }
  .news-layout { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .records-strip { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-header .wrap { grid-template-columns: auto auto; justify-content: space-between; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 4%; right: 4%; background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); z-index: 60; }
  .nav.open, .nav.open ul { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .nav.open a { width: 100%; display: block; }
  .nav.open a::after { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  .records-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .topbar .tlinks { display: none; }
  .hl-row { grid-template-columns: 72px 1fr; }
  .hl-thumb { width: 72px; height: 60px; }
  .sb-team .runs { font-size: 1.3rem; }
}

/* ============================================================
   ARTICLE / BLOG POST PAGE
   ============================================================ */
.post { padding: 26px 0 0; }
.post-head { max-width: 760px; margin: 0 auto; }
.post-head .crumbs { font-family: var(--f-mono); font-size: .74rem; color: var(--ink-soft); margin-bottom: 18px; }
.post-head .crumbs a:hover { color: var(--crimson); }
.post-cat { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--crimson); }
.post-cat::before { content:""; width: 24px; height: 2px; background: var(--crimson); }
.post-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 14px 0 16px; }
.post-dek { font-size: 1.2rem; color: var(--ink-soft); line-height: 1.5; }

.byline-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 24px 0 6px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 760px; margin-inline: auto; }
.byline-author { display: flex; align-items: center; gap: 13px; }
.byline-author .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.byline-author .who b { font-size: 1rem; display: block; }
.byline-author .who b a:hover { color: var(--crimson); }
.byline-author .who small { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); }
.share { display: flex; gap: 8px; align-items: center; }
.share .lbl { font-family: var(--f-mono); font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; margin-right: 2px; }
.share a { width: 38px; height: 38px; border-radius: 11px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .18s; }
.share a:hover { border-color: var(--field); transform: translateY(-2px); }
.share svg { width: 16px; height: 16px; fill: var(--ink); }

.post-figure { max-width: 980px; margin: 30px auto; }
.post-figure .ph { aspect-ratio: 16/9; border-radius: var(--r-xl); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.post-figure figcaption { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

.post-body { max-width: 760px; margin: 0 auto; }

/* table of contents */
.toc { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--field); border-radius: var(--r-md); padding: 18px 22px; margin: 8px 0 30px; }
.toc h4 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--field); margin-bottom: 10px; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; padding: 5px 0; }
.toc li a { font-weight: 600; font-size: .95rem; }
.toc li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-mono); color: var(--crimson); margin-right: 10px; font-size: .82rem; }
.toc li a:hover { color: var(--crimson); }

/* prose typography */
.prose { font-size: 1.12rem; line-height: 1.78; color: #221d16; }
.prose > p { margin: 0 0 1.3em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.6em 0 .5em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; scroll-margin-top: 90px; }
.prose a:not(.btn) { color: var(--field); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--field-50); }
.prose a:not(.btn):hover { text-decoration-color: var(--field); }
.prose ul, .prose ol { margin: 0 0 1.3em 1.2em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .5em; }
.prose ul li::before { content:""; position: absolute; left: 4px; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); }
.prose ol { list-style: decimal; }
.prose ol li { margin-bottom: .5em; padding-left: 6px; }
.prose strong { color: var(--ink); }
.prose .lead-para { font-size: 1.24rem; line-height: 1.6; }
.prose .lead-para::first-letter { font-family: var(--f-display); font-weight: 800; font-size: 3.6rem; float: left; line-height: .8; margin: 6px 12px 0 0; color: var(--crimson); }

.pullquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 5px solid var(--amber); }
.pullquote p { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--ink); letter-spacing: -.02em; }
.pullquote cite { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: .78rem; font-style: normal; color: var(--ink-soft); }

.keystat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.6em 0; }
.keystat { background: linear-gradient(160deg, var(--paper-2), var(--field-50)); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; text-align: center; }
.keystat .n { font-family: var(--f-mono); font-weight: 700; font-size: 1.9rem; color: var(--field); line-height: 1; }
.keystat .l { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }

.post-tags { display: flex; gap: 9px; flex-wrap: wrap; max-width: 760px; margin: 34px auto 0; }
.post-tags a { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); transition: .18s; }
.post-tags a:hover { background: var(--field); color: #fff; border-color: var(--field); }

/* author bio box */
.author-box { max-width: 760px; margin: 36px auto 0; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; gap: 20px; box-shadow: var(--shadow-sm); }
.author-box .av { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: 1.3rem; flex-shrink: 0; }
.author-box .a-info { flex: 1; }
.author-box .a-kicker { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--crimson); font-weight: 700; }
.author-box h3 { font-size: 1.3rem; margin: 4px 0 8px; }
.author-box h3 a:hover { color: var(--crimson); }
.author-box p { color: var(--ink-soft); font-size: .94rem; }
.author-box .a-links { display: flex; gap: 10px; margin-top: 14px; }
.author-box .a-links a { font-family: var(--f-mono); font-size: .74rem; font-weight: 700; color: var(--field); display: inline-flex; align-items: center; gap: 6px; }
.author-box .a-links a:hover { color: var(--crimson); }

/* related */
.related-head { max-width: 1240px; margin: 0 auto; }

/* ============================================================
   AUTHOR PROFILE PAGE
   ============================================================ */
.author-hero { max-width: 820px; margin: 0 auto; text-align: center; padding: 30px 0 10px; }
.author-hero .av { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; color: #fff; font-family: var(--f-mono); font-weight: 700; font-size: 2rem; box-shadow: var(--shadow); }
.author-hero .a-kicker { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--crimson); font-weight: 700; }
.author-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 8px 0 14px; }
.author-hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 60ch; margin: 0 auto; }
.author-stats { display: flex; gap: 30px; justify-content: center; margin: 24px 0 8px; flex-wrap: wrap; }
.author-stats .s b { font-family: var(--f-mono); font-size: 1.5rem; color: var(--field); }
.author-stats .s span { display: block; font-size: .78rem; color: var(--ink-soft); }
.author-social { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.author-social a { width: 42px; height: 42px; border-radius: 13px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .18s; }
.author-social a:hover { border-color: var(--field); transform: translateY(-2px); }
.author-social svg { width: 18px; height: 18px; fill: var(--ink); }

@media (max-width: 560px) {
  .keystat-row { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; text-align: left; }
  .byline-row { flex-direction: column; align-items: flex-start; }
}
