/*
Theme Name: GTA6META Leonida
Theme URI: https://vicegrind.com
Author: vicegrind.com
Author URI: https://vicegrind.com
Description: Custom Miami-at-dusk synthwave theme for vicegrind.com, an unofficial GTA 6 fan news and guides site. Full-bleed sunset hero with live countdowns, a perspective grid horizon, a dynamic article grid, an illustrative Leonida map, a classified-dossier character hub, and a pre-order tracker.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gta6meta
*/

/* ============================================================
   Design tokens
   ============================================================ */
:root {
  --accent: #ff2e88;
  --accent-rgb: 255, 46, 136;
  --cyan: #2ce8e0;
  --cyan-glow: #9fefe9;
  --orange: #ff7a2d;
  --amber: #ffae3a;
  --gold: #ffc24b;
  --purple: #7b2ff7;
  --purple-2: #b15cff;
  --green: #3ee87a;

  --bg: #0a0716;
  --panel: #0c0820;
  --card: #120b24;
  --ticker-bg: #0d0820;
  --footer-bg: #08050f;

  --text: #f1e6f3;
  --muted: #b8a9c6;
  --muted-2: #a99bb8;
  --muted-3: #9a8caa;
  --dim: #7a6a8c;
  --dim-2: #6c5d80;
  --label: #c9b6d6;

  --maxw: 1200px;

  --font-display: "Saira Condensed", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --font-logo: "Playfair Display", Georgia, serif;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 48px);
}

.section { padding-block: clamp(56px, 8vw, 100px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1.4vw, 13px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan-glow);
}

/* Section header row (accent bar + H2 + view-all) */
.section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(22px, 3vw, 34px);
  flex-wrap: wrap;
}
.section-head .bar {
  width: 5px;
  align-self: stretch;
  min-height: 38px;
  border-radius: 4px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(var(--accent-rgb), .8);
}
.section-head h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 5vw, 52px);
  line-height: .95;
  color: #fff;
}
.section-head .view-all {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--label);
  transition: color .2s ease;
}
.section-head .view-all:hover { color: #fff; }

/* Generic pills/buttons */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1;
  transition: box-shadow .2s ease, transform .2s ease, background .2s ease, color .2s ease;
}
.btn-accent {
  font-size: 11.5px;
  font-weight: 700;
  padding: 13px 22px;
  color: #0a0716;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .55);
}
.btn-accent:hover { box-shadow: 0 0 30px rgba(var(--accent-rgb), .85); }
.btn-outline {
  font-size: 11.5px;
  font-weight: 700;
  padding: 13px 22px;
  color: var(--cyan);
  border: 1px solid rgba(44, 232, 224, .55);
  background: rgba(44, 232, 224, .05);
}
.btn-outline:hover { box-shadow: 0 0 22px rgba(44, 232, 224, .4); color: #fff; }

/* ============================================================
   Fixed overlays (scanlines + film grain)
   ============================================================ */
.fx-scanlines, .fx-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
.fx-scanlines {
  z-index: 80;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, .13) 2px 3px);
  mix-blend-mode: multiply;
  opacity: .5;
  animation: flicker 5s steps(60) infinite;
}
.fx-grain {
  z-index: 81;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   Sticky nav
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(10, 7, 22, .74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(var(--accent-rgb), .22);
}
.site-nav .row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 48px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.brand-logo {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  background: linear-gradient(92deg, #ff2e88, #b15cff 45%, #2ce8e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.brand-logo .tld { opacity: .6; }

.nav-links {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  flex-wrap: wrap;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--label);
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.cd-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(var(--accent-rgb), .4);
  background: rgba(var(--accent-rgb), .07);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
}
.cd-chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.4s steps(2) infinite;
}

/* ============================================================
   Hero + countdown
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(640px, 94vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 90px clamp(18px, 5vw, 48px) 0;
}
.hero-layer { position: absolute; inset: 0; }

.hero-sky {
  z-index: 0;
  background: linear-gradient(180deg, #140726 0%, #2a0e3e 16%, #5e1a55 36%, #a5275f 53%, #e23e63 68%, #ff6a3d 83%, #ffb43d 97%);
}
.hero-sun {
  z-index: 1;
  top: 50%;
  left: 50%;
  width: clamp(280px, 46vw, 540px);
  height: clamp(280px, 46vw, 540px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #ffe24b, #ffae3a 28%, #ff6a3d 54%, #ff2e88 100%);
  box-shadow: 0 0 130px 10px rgba(255, 90, 120, .5);
  animation: sunpulse 5s ease-in-out infinite;
  inset: auto;
}
.hero-sun::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54%;
  background: repeating-linear-gradient(0deg, transparent 0 8px, #1b0a33 8px 12px);
}
.hero-grid {
  z-index: 2;
  inset: auto;
  bottom: 0;
  left: 50%;
  width: 200%;
  height: 48%;
  transform: translateX(-50%) perspective(300px) rotateX(79deg);
  transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), .6) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(44, 232, 224, .45) 1.5px, transparent 1.5px);
  background-size: 44px 44px;
  -webkit-mask: linear-gradient(to top, #000 8%, transparent 88%);
  mask: linear-gradient(to top, #000 8%, transparent 88%);
  animation: gridmove 1.5s linear infinite;
}
.hero-vignette {
  z-index: 4;
  background: radial-gradient(120% 90% at 50% 30%, transparent 40%, rgba(8, 4, 20, .7) 100%);
  box-shadow: inset 0 -120px 120px -40px rgba(8, 4, 20, .9);
}
.hero-palm {
  position: absolute;
  bottom: 0;
  z-index: 6;
  width: clamp(110px, 17vw, 240px);
  height: clamp(170px, 28vw, 360px);
  object-fit: contain;
  object-position: 50% 100%;
  opacity: .96;
}
.hero-palm.left { left: 0; }
.hero-palm.right { right: 0; }

.hero-content { position: relative; z-index: 10; max-width: 1000px; width: 100%; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  height: 1px;
  width: clamp(20px, 8vw, 90px);
  background: rgba(44, 232, 224, .6);
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(46px, 11.5vw, 156px);
  line-height: .84;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 0 38px rgba(var(--accent-rgb), .7), 0 2px 0 rgba(0, 0, 0, .25);
  margin: 6px 0 26px;
}

.countdown {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(6px, 1.5vw, 14px);
  flex-wrap: nowrap;
}
.cd-cell {
  min-width: clamp(64px, 15vw, 150px);
  padding: clamp(10px, 1.6vw, 18px) clamp(6px, 1.4vw, 14px);
  border-radius: 14px;
  background: rgba(10, 7, 22, .46);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--accent-rgb), .5);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), .3);
}
.cd-cell.cyan { border-color: rgba(44, 232, 224, .6); box-shadow: 0 0 24px rgba(44, 232, 224, .3); }
.cd-cell.orange { border-color: rgba(255, 122, 45, .6); box-shadow: 0 0 24px rgba(255, 122, 45, .3); }
.cd-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 9vw, 98px);
  line-height: 1;
  color: #fff;
}
.cd-cell.secs .cd-num { color: var(--accent); animation: blink 1s steps(2) infinite; }
.cd-label {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.3vw, 12px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--label);
  margin-top: 6px;
}
.cd-sep {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 6vw, 70px);
  color: rgba(255, 255, 255, .5);
}

.hero-date {
  font-family: var(--font-mono);
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 22px;
}
.hero-sub {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #e8d9ef;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ============================================================
   News ticker
   ============================================================ */
.ticker {
  background: var(--ticker-bg);
  border-top: 1px solid rgba(var(--accent-rgb), .3);
  border-bottom: 1px solid rgba(var(--accent-rgb), .3);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track .grp {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.ticker-item {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e7d8ee;
  white-space: nowrap;
  padding: 0 18px;
}
.ticker-item .dia { color: var(--accent); margin-left: 36px; }

/* ============================================================
   Latest Field Notes - article grid
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb), .6);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 26px rgba(var(--accent-rgb), .25);
}
.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb .placeholder {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #1c1233, #1c1233 11px, #170e2a 11px, #170e2a 22px);
}
.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0a0716;
  padding: 4px 9px;
  border-radius: 6px;
}
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.1;
  color: #fff;
}
.card-excerpt { font-size: 13.5px; color: var(--muted-2); margin: 0; }
.card-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dim);
}

/* ============================================================
   Leonida map (static, illustrative)
   ============================================================ */
.map-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border: 1px solid rgba(44, 232, 224, .22);
  border-radius: 24px;
  background: var(--panel);
  padding: clamp(26px, 4vw, 54px);
}
.map-copy h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 46px);
  color: #fff;
  margin: 10px 0 14px;
}
.map-copy p { color: var(--muted); margin: 0 0 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--label);
  border: 1px solid rgba(44, 232, 224, .35);
  border-radius: 999px;
  padding: 7px 14px;
}
.callout-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid rgba(255, 174, 58, .45);
  background: rgba(255, 174, 58, .08);
  color: #ffd79a;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 20px;
}
.callout-warn .ic { color: var(--amber); }

.map-frame {
  position: relative;
  border: 1px solid rgba(44, 232, 224, .55);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(44, 232, 224, .25);
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(8, 4, 20, .8);
  border: 1px solid rgba(44, 232, 224, .4);
  border-radius: 6px;
  padding: 5px 9px;
}
.map-pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 7px; }
.map-pin .pdot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.map-pin .plabel {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(8, 4, 20, .72);
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.map-pin .pstatus { font-size: 9px; padding: 2px 6px; border-radius: 4px; margin-left: 4px; }
.status-confirmed { color: #06301a; background: var(--green); }
.status-rumored { color: #2e1c00; background: var(--amber); }

/* ============================================================
   Character hub - classified dossiers
   ============================================================ */
.dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.dossier {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(var(--accent-rgb), .3);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dossier:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 26px rgba(var(--accent-rgb), .25);
}
.dossier-plate {
  position: relative;
  flex: 0 0 clamp(132px, 33%, 190px);
  min-height: 288px;
  background: radial-gradient(120% 80% at 50% 18%, #1c1130, #0a0512);
  overflow: hidden;
}
.dossier-silhouette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--accent) 6%, #b15cff 56%, #2ce8e0 100%);
  -webkit-mask-position: bottom center;
  mask-position: bottom center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 0 20px rgba(var(--accent-rgb), .5));
}
.dossier-halftone {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0a0512 32%, transparent 33%);
  background-size: 6px 6px;
  opacity: .5;
  mix-blend-mode: multiply;
}
.dossier-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, .25) 2px 3px);
  opacity: .5;
}
.dossier-stamp {
  position: absolute;
  top: 14px;
  left: 10px;
  transform: rotate(-12deg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 3px 7px;
}
.dossier-photo-cap {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
}
.dossier-data { flex: 1 1 280px; padding: clamp(18px, 3vw, 26px); }
.dossier-file { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }
.dossier-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 66px);
  line-height: .9;
  color: #fff;
  margin: 4px 0;
}
.dossier-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.dossier-fields { margin: 0 0 16px; }
.dossier-fields li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .14);
  font-family: var(--font-mono);
  font-size: 12px;
}
.dossier-fields .k { color: var(--muted-3); text-transform: uppercase; letter-spacing: 1px; }
.dossier-fields .v { color: #e7d8ee; text-align: right; }
.dossier-fields .v.redacted {
  color: var(--accent);
  letter-spacing: 1px;
  text-shadow: 0 0 9px rgba(var(--accent-rgb), .55);
}
.dossier-bio { font-size: 13.5px; color: var(--muted-2); margin: 0 0 14px; }
.dossier-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); }

/* ============================================================
   Pre-order tracker
   ============================================================ */
.preorder-panel {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(var(--accent-rgb), .28);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 0 60px rgba(var(--accent-rgb), .12);
  padding: clamp(26px, 4vw, 48px);
}
.preorder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.live-flag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.live-flag .gdot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1.6s steps(2) infinite; }
.preorder-top h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 46px);
  color: #fff;
}
.preorder-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0a0716;
  background: var(--accent);
  border-radius: 999px;
  padding: 9px 16px;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .5);
  white-space: nowrap;
}
.preorder-copy { color: var(--muted); margin: 0 0 22px; max-width: 760px; }

/* Expected editions */
.editions { margin: 0 0 26px; }
.editions-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.editions-head h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(18px, 2.5vw, 24px);
  color: #fff;
}
.editions-note { font-size: 12.5px; color: var(--dim); }
.editions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.edition-card {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(10, 7, 22, .4);
  padding: 18px;
}
.edition-card .etag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(255, 174, 58, .4);
  background: rgba(255, 174, 58, .08);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 10px;
}
.edition-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff; margin: 0 0 6px; }
.edition-card .eprice { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); margin: 0 0 8px; }
.edition-card p:last-child { font-size: 13px; color: var(--muted-2); margin: 0; }

.tracker-table { display: grid; grid-template-columns: 1.4fr 1.6fr .8fr 1fr; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; overflow: hidden; }
.tracker-table .th, .tracker-table .td { padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 13.5px; }
.tracker-table .th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255, 255, 255, .02);
}
.tracker-table .store { color: #fff; font-weight: 600; }
.tracker-table .muted { color: var(--muted-2); }
.tracker-table .row-last .td { border-bottom: none; }
.status-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  color: #06140c;
}
.status-chip.status-link { text-decoration: none; cursor: pointer; transition: filter .2s ease, box-shadow .2s ease; }
.status-chip.status-link:hover { filter: brightness(1.08); box-shadow: 0 0 14px rgba(var(--accent-rgb), .5); }

.notify-sub { font-size: 14px; color: var(--muted-2); margin: 0 0 14px; max-width: 560px; }

.notify {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.notify-title { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 3vw, 28px); color: #fff; margin-bottom: 6px; }
.notify-consent { font-size: 12px; color: var(--dim); margin-top: 12px; }
.notify-consent a { color: var(--cyan); text-decoration: underline; }

/* Style the native + WPForms email capture to match */
.notify-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 520px; }
.notify-form input[type="email"] {
  flex: 1 1 240px;
  background: rgba(10, 7, 22, .6);
  border: 1px solid rgba(var(--accent-rgb), .35);
  border-radius: 999px;
  padding: 13px 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
}
.notify-form input[type="email"]::placeholder { color: var(--dim); }
.notify-form input[type="email"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 16px rgba(var(--accent-rgb), .35); }
.notify-form button, .notify-form input[type="submit"] {
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0a0716;
  background: var(--accent);
  border-radius: 999px;
  padding: 13px 22px;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .55);
  transition: box-shadow .2s ease;
}
.notify-form button:hover, .notify-form input[type="submit"]:hover { box-shadow: 0 0 30px rgba(var(--accent-rgb), .85); }

/* WPForms container overrides so the embedded form inherits the look */
.notify .wpforms-container { margin: 0; }
.notify .wpforms-form .wpforms-field { padding: 0; }
.notify .wpforms-field-label, .notify .wpforms-form .wpforms-field-description { display: none; }
.notify .wpforms-form .wpforms-field-row,
.notify .wpforms-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; max-width: 520px; }
.notify .wpforms-form input[type="email"] {
  flex: 1 1 240px;
  background: rgba(10, 7, 22, .6);
  border: 1px solid rgba(var(--accent-rgb), .35) !important;
  border-radius: 999px !important;
  padding: 13px 18px !important;
  color: #fff !important;
  font-family: var(--font-mono);
  font-size: 13px !important;
}
.notify .wpforms-form button[type="submit"] {
  border: none;
  cursor: pointer;
  font-family: var(--font-mono) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #0a0716 !important;
  background: var(--accent) !important;
  border-radius: 999px !important;
  padding: 13px 22px !important;
  box-shadow: 0 0 18px rgba(var(--accent-rgb), .55);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(var(--accent-rgb), .3);
  padding-block: clamp(40px, 6vw, 72px);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 36px;
}
.footer-brand .brand-logo { font-size: 24px; }
.footer-tag { color: var(--muted-2); font-size: 14px; margin-top: 10px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 14px;
}
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 22px;
  margin: 0 0 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-meta a { color: var(--label); transition: color .2s ease; }
.footer-meta a:hover { color: #fff; }
.footer-meta span { color: var(--dim-2); }
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
}

/* ============================================================
   Single post + archive (token-styled, not pixel-designed)
   ============================================================ */
.page-head { padding: clamp(40px, 7vw, 90px) 0 clamp(20px, 3vw, 36px); text-align: center; }
.page-head h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(34px, 7vw, 84px);
  line-height: .9;
  color: #fff;
  text-shadow: 0 0 30px rgba(var(--accent-rgb), .5);
}
.page-head .page-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--dim); margin-top: 16px; }

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(18px, 5vw, 48px) clamp(40px, 7vw, 90px);
}
.article-hero { max-width: 1100px; margin: 0 auto clamp(24px, 4vw, 40px); border-radius: 18px; overflow: hidden; border: 1px solid rgba(var(--accent-rgb), .2); }
.article p { color: var(--text); font-size: 17px; line-height: 1.75; }
.article h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 4vw, 40px); color: #fff; margin: 36px 0 14px; }
.article h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 30px); color: #fff; margin: 28px 0 12px; }
.article a { color: var(--accent); text-decoration: underline; }
.article ul, .article ol { padding-left: 22px; margin: 16px 0; }
.article li { margin: 8px 0; color: var(--text); }
.article img { border-radius: 12px; margin: 20px 0; }
.back-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sunpulse {
  0%, 100% { filter: brightness(1) saturate(1); }
  50% { filter: brightness(1.12) saturate(1.2); }
}
@keyframes gridmove {
  from { background-position: 0 0; }
  to { background-position: 0 44px; }
}
@keyframes flicker {
  0%, 100% { opacity: .5; }
  50% { opacity: .42; }
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: .25; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track,
  .hero-sun,
  .hero-grid,
  .fx-scanlines,
  .cd-chip .dot,
  .cd-cell.secs .cd-num,
  .live-flag .gdot { animation: none !important; }
  .card, .dossier { transition: none; }
}

/* ============================================================
   Narrow screens
   ============================================================ */
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; }
  .tracker-table { grid-template-columns: 1fr; }
  .tracker-table .th { display: none; }
  .tracker-table .td { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .tracker-table .td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 3px;
  }
  .cd-sep { font-size: clamp(22px, 7vw, 40px); }

  /* Larger touch targets on phones: primary nav links were ~17px tall,
     below the recommended ~44px tap size. Mobile-only, desktop unchanged. */
  .nav-links { gap: 2px 16px; }
  .nav-links a { display: inline-block; padding: 12px 4px; line-height: 1; }
  .footer-col a { padding-block: 7px; }
}

/* Smallest phones: let the countdown cells share the row so nothing clips. */
@media (max-width: 400px) {
  .countdown { gap: 4px; }
  .cd-cell { min-width: 0; flex: 1 1 0; padding: 9px 3px; }
  .cd-num { font-size: clamp(24px, 12vw, 44px); }
  .cd-label { font-size: 8.5px; letter-spacing: .5px; }
  .cd-sep { font-size: clamp(16px, 5vw, 26px); }
}
