/*
 * Electronic Dispatch — screen.css
 * Unified stylesheet extracted from mockups/. Normalisations applied:
 *   - Container width: 1200px everywhere (homepage mockup used 1280px, the outlier).
 *   - Drift: --magenta → --danger. Single token for the #ff3b6b colour.
 *   - --warning is part of the shared palette (homepage mockup omitted it).
 */

:root {
  --bg: #0a0a0c;
  --surface: #121215;
  --surface-2: #1a1a1f;
  --border: #26262d;
  --border-strong: #33333c;
  --text: #e8e8ea;
  --text-muted: #8a8a93;
  --text-dim: #5c5c66;
  --accent: #00D4FF;
  --accent-soft: #6ee0ff;
  --accent-dim: rgba(0, 212, 255, 0.15);
  --warning: #ff9c3a;
  --danger: #ff3b6b;
  --container: 1200px;

  /* Ghost custom font hooks — overridden by the font picker in Admin */
  --gh-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gh-font-body:    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--gh-font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--gh-font-heading); }
body { padding-bottom: 80px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Breaking news ticker ---------- */
.ticker {
  background: var(--accent); color: #000;
  display: flex; align-items: center;
  overflow: hidden; height: 30px;
  font-size: 12px; font-weight: 700;
}
.ticker-label {
  background: #000; color: var(--accent);
  padding: 0 14px; height: 100%;
  display: flex; align-items: center;
  text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 10px; flex-shrink: 0;
}
.ticker-content {
  flex: 1; display: flex; align-items: center;
  animation: ticker-scroll 50s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }
.ticker-text { padding: 0 32px; white-space: nowrap; flex-shrink: 0; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation: none; }
  .ticker-text + .ticker-text { display: none; }
}

/* 4 a.m. ambient pulse on the masthead — slow radiating glow that signals
   the publication is "on the wire." Subtle by design, suppressed for users
   with prefers-reduced-motion. */
.live-dot {
  display: inline-block; vertical-align: middle;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  margin-right: 10px; position: relative; top: -1px;
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55);
  animation: live-dot-pulse 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes live-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55); opacity: 1; }
  60%  { box-shadow: 0 0 0 7px rgba(0, 212, 255, 0); opacity: 0.85; }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

/* ---------- Nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,12,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-weight: 900; letter-spacing: 1.2px; font-size: 18px; text-transform: uppercase; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-muted);
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  position: relative; padding: 4px 0;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute;
  bottom: -22px; left: 0;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  border-radius: 4px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn svg { display: block; }
.nav-toggle { display: none; } /* shown only at mobile breakpoint */
.subscribe-btn {
  background: var(--accent); color: #000;
  border: none; padding: 9px 18px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px; cursor: pointer;
}
.progress-bar { height: 2px; background: var(--accent); width: 0%; transition: width 0.1s linear; }

/* ---------- Section labels ---------- */
.section-bar {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-bar h2 {
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--text);
}
.section-bar .accent-mark { color: var(--accent); margin-right: 8px; }
.section-bar .see-all {
  font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 600;
}
.section-bar .see-all:hover { color: var(--accent); }
.section-label {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-heading {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 24px;
}
section { margin-bottom: 56px; }

/* ---------- Grid-pattern placeholder background ---------- */
.grid-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.grid-bg.grid-sm::after { background-size: 16px 16px; }
.grid-bg.grid-lg::after { background-size: 32px 32px; }
.bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,12,0.5) 60%, rgba(10,10,12,0.95) 100%);
}

/* ---------- Hero ---------- */
.hero-home {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 56px;
}
.hero-main {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  cursor: pointer;
}
.hero-main .feature-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }
.hero-text { position: relative; z-index: 2; padding: 36px; width: 100%; }
.category-pill {
  display: inline-block;
  background: var(--accent); color: #000;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 5px 11px; border-radius: 3px;
  margin-bottom: 14px;
}
.hero-main h1 {
  font-size: 38px; line-height: 1.1; font-weight: 900;
  letter-spacing: -0.8px;
  max-width: 700px;
}
.hero-main .deck {
  color: var(--text-muted);
  font-size: 15px; line-height: 1.5;
  margin-top: 12px; max-width: 600px;
}
.hero-meta {
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 14px;
}

/* Empty-state hero (no featured post yet) */
.hero-empty .hero-main { cursor: default; background: var(--surface); }
.hero-empty .hero-coming-soon { display: flex; align-items: flex-end; }
.hero-empty .hero-text h1 { font-size: 36px; line-height: 1.15; }
.hero-empty .hero-text .deck { font-size: 15px; line-height: 1.6; margin-top: 14px; }
.hero-empty .hero-text .deck a { color: var(--accent); }

.hero-side { display: flex; flex-direction: column; gap: 16px; }
.side-story {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px; flex: 1; cursor: pointer;
  transition: border-color 0.15s;
}
.side-story:hover { border-color: var(--accent); }
.side-cat {
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.side-title { font-size: 15px; line-height: 1.3; font-weight: 700; margin-bottom: 8px; }
.side-meta { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; }

/* ---------- News strip (4-up) ---------- */
.news-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.news-card { cursor: pointer; }
.news-img {
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
  position: relative; overflow: hidden;
}
.news-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-cat {
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.news-title { font-size: 15px; line-height: 1.35; font-weight: 700; }
.news-meta { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 8px; }

/* ---------- Late Pass branded section ---------- */
.late-pass {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 212, 255, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  position: relative; overflow: hidden;
}
.late-pass-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.late-pass-title-block { display: flex; align-items: baseline; gap: 14px; }
.late-pass-mark { font-size: 11px; color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.late-pass-h { font-size: 36px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.late-pass-sub { color: var(--text-muted); font-size: 13px; margin-top: 8px; max-width: 560px; line-height: 1.5; }
.late-pass-issue { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.5px; text-align: right; }
.late-pass-issue strong { color: var(--text); font-size: 14px; display: block; margin-top: 4px; font-weight: 700; }
.late-pass-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pick-card { cursor: pointer; }
.pick-cover {
  aspect-ratio: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative; overflow: hidden;
  margin-bottom: 12px;
}
.pick-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pick-num {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,0.85); color: var(--accent);
  font-size: 11px; font-weight: 800;
  padding: 3px 7px; border-radius: 3px;
  z-index: 3; letter-spacing: 1px;
}
.pick-play {
  position: absolute; bottom: 8px; right: 8px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--accent);
  border-radius: 50%; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  z-index: 3; font-size: 12px;
}
.pick-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.pick-artist { font-size: 12px; color: var(--text-muted); }
.pick-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
.late-pass-byline {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 12px;
}
.avatar-mini {
  width: 26px; height: 26px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 700; font-size: 10px;
}

/* ---------- Features grid (2-up) ---------- */
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card { cursor: pointer; }
.feature-img {
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 18px;
  position: relative; overflow: hidden;
}
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px; font-weight: 800;
  padding: 5px 10px;
  text-transform: uppercase; letter-spacing: 1.2px;
  z-index: 3;
}
.feature-tag.photo-essay-tag { border-color: var(--danger); color: var(--danger); }
.feature-cat {
  color: var(--accent);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 10px;
}
.feature-title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 10px; }
.feature-deck { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px; }
.feature-meta { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Reviews row (4-up on home) ---------- */
.reviews-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rev-card { cursor: pointer; }
.rev-cover {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative; overflow: hidden;
  margin-bottom: 12px;
}
.rev-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rev-score {
  position: absolute; top: 10px; right: 10px;
  background: var(--accent); color: #000;
  font-weight: 800; font-size: 15px;
  padding: 5px 10px; border-radius: 3px;
  z-index: 3;
}
.rev-score.mid { background: var(--warning); }
.rev-score.low { background: var(--danger); }
.rev-title { font-size: 14px; font-weight: 700; }
.rev-artist { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.rev-genre {
  color: var(--accent);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-top: 8px;
}

/* ---------- Mixes row (3-up embed cards) ---------- */
.mixes-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px; cursor: pointer;
  display: flex; gap: 16px; align-items: center;
  transition: border-color 0.15s;
}
.mix-card:hover { border-color: var(--accent); }
.mix-art {
  width: 80px; height: 80px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px; flex-shrink: 0;
  position: relative; overflow: hidden;
}
.mix-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mix-play {
  position: absolute; bottom: 4px; right: 4px;
  width: 24px; height: 24px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--accent);
  color: var(--accent); border-radius: 50%;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
}
.mix-info { flex: 1; min-width: 0; }
.mix-platform { color: var(--accent); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 4px; }
.mix-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.mix-dj { font-size: 12px; color: var(--text-muted); }
.mix-duration { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 6px; }

/* ---------- Events list ---------- */
.events-list { display: flex; flex-direction: column; }
.event-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  cursor: pointer;
}
.event-row:hover { background: var(--surface); }
.event-date {
  font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700; text-align: center;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}
.event-date strong { display: block; font-size: 22px; font-weight: 900; color: var(--text); margin-top: 2px; }
.event-info { display: flex; flex-direction: column; }
.event-name { font-size: 16px; font-weight: 700; }
.event-venue { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.event-tags { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }
.event-tix {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  padding: 8px 14px;
  text-transform: uppercase; letter-spacing: 1.2px;
  border-radius: 3px;
}

/* ---------- Newsletter (large) ---------- */
.newsletter {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px; text-align: center;
  margin-bottom: 56px;
}
.newsletter h3 { font-size: 28px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.newsletter p {
  color: var(--text-muted); font-size: 14px;
  margin: 0 auto 22px; max-width: 480px; line-height: 1.5;
}
.newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text); padding: 12px 14px;
  font-size: 13px; border-radius: 4px;
}
.newsletter-form button {
  background: var(--accent); color: #000; border: none;
  padding: 12px 24px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px; cursor: pointer;
}

/* ---------- Newsletter (sidebar) ---------- */
.newsletter-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px; margin-top: 28px;
}
.newsletter-box h4 { font-size: 14px; margin-bottom: 6px; }
.newsletter-box p { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.newsletter-box input {
  width: 100%; background: var(--bg);
  border: 1px solid var(--border-strong); color: var(--text);
  padding: 8px 10px; font-size: 12px; border-radius: 3px; margin-bottom: 8px;
}
.newsletter-box button {
  width: 100%; background: var(--accent); color: #000;
  font-weight: 700; border: none; padding: 9px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
  border-radius: 3px; cursor: pointer;
}

/* ---------- Page header (archives) ---------- */
.page-header {
  max-width: var(--container); margin: 0 auto;
  padding: 40px 24px 24px;
}
.page-header h1 { font-size: 44px; font-weight: 800; letter-spacing: -1px; margin-bottom: 8px; }
.page-header h1 .accent { color: var(--accent); }
.page-header p { color: var(--text-muted); font-size: 15px; max-width: 580px; line-height: 1.6; }

/* ---------- Filter bar ---------- */
.filter-bar {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px 24px;
  display: flex; gap: 10px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.filter-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px; padding: 7px 14px;
  border-radius: 100px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 500;
}
.filter-chip.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.filter-spacer { flex: 1; }
.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 14px; font-size: 12px;
  border-radius: 4px;
}

/* ---------- Featured review hero ---------- */
.featured-section {
  max-width: var(--container); margin: 0 auto;
  padding: 32px 24px;
}
.featured-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px; align-items: center;
}
.featured-cover {
  aspect-ratio: 1;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative; overflow: hidden;
}
.featured-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.score-badge {
  position: absolute; top: 16px; right: 16px;
  width: 64px; height: 64px;
  background: var(--accent); color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; font-weight: 800; z-index: 3;
}
.score-badge.mid { background: var(--warning); }
.score-badge.low { background: var(--danger); }
.score-badge .num { font-size: 24px; line-height: 1; }
.score-badge .out { font-size: 9px; letter-spacing: 1px; margin-top: 2px; opacity: 0.7; }
.essential-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: #000; color: var(--accent);
  font-size: 9px; font-weight: 800;
  padding: 5px 10px;
  border: 1px solid var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  z-index: 3;
}
.featured-body { padding: 8px 0; }
.release-type { color: var(--accent); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.featured-body h2 { font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 6px; }
.featured-body .artist { font-size: 18px; color: var(--text-muted); margin-bottom: 18px; font-weight: 500; }
.featured-meta {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.featured-meta strong { color: var(--text); font-weight: 600; }
.featured-excerpt { font-size: 15px; line-height: 1.65; color: #c8c8cf; margin-bottom: 22px; }
.featured-byline { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-muted); }

.avatar {
  width: 28px; height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--accent);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 52px; height: 52px; font-size: 15px; }
.avatar.md { width: 36px; height: 36px; font-size: 12px; }

/* ---------- Reviews grid (3-up archive) ---------- */
.reviews-section {
  max-width: var(--container); margin: 0 auto;
  padding: 24px 24px 48px;
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden; cursor: pointer;
  transition: border-color 0.15s;
}
.review-card:hover { border-color: var(--accent); }
.cover-wrap {
  aspect-ratio: 1;
  position: relative;
  background: var(--surface-2);
  overflow: hidden;
}
.cover-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.score-pill {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #000;
  font-weight: 800; font-size: 18px;
  padding: 6px 12px; border-radius: 4px;
  z-index: 3; box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.score-pill.high { background: var(--accent); }
.score-pill.mid  { background: var(--warning); }
.score-pill.low  { background: var(--danger); }
.card-type {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 9px; font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase; letter-spacing: 1px;
  z-index: 3;
}
.review-card-body { padding: 18px; }
.review-card-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.review-card-artist { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.review-card-excerpt {
  font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.8px;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.genre-tag { color: var(--accent); font-weight: 600; }

/* ---------- Load more / pagination ---------- */
.load-more-wrap {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px 48px; text-align: center;
}
.load-more, .pagination a {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 32px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  border-radius: 3px; cursor: pointer;
  display: inline-block;
}
.load-more:hover, .pagination a:hover { background: var(--accent); color: #000; }
.pagination { display: flex; justify-content: center; gap: 12px; }

/* ---------- Score legend strip ---------- */
.score-legend {
  max-width: var(--container); margin: 0 auto;
  padding: 24px 24px 48px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px; align-items: start;
}
.legend-title { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.legend-sub { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.legend-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.legend-tier { padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.tier-range { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.tier-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.tier-desc { font-size: 11px; color: var(--text-dim); line-height: 1.4; }
.tier-1 .tier-range, .tier-1 .tier-label { color: var(--accent); }
.tier-2 .tier-range, .tier-2 .tier-label { color: var(--accent-soft); }
.tier-3 .tier-range, .tier-3 .tier-label { color: var(--text); }
.tier-4 .tier-range, .tier-4 .tier-label { color: var(--warning); }
.tier-5 .tier-range, .tier-5 .tier-label { color: var(--danger); }

/* ---------- Magazine-cover hero (3-column, YourEDM-style) ---------- */
.hero-magazine {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}
.hero-magazine-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 32px 24px 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 20px;
  position: relative;
}
.hero-deco {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-deco::before, .hero-deco::after {
  content: ""; position: absolute;
  background: var(--accent);
}
.hero-deco-tl { top: 20px; left: 8px; }
.hero-deco-tl::before { top: 0; left: 0; width: 28px; height: 2px; }
.hero-deco-tl::after  { top: 0; left: 0; width: 2px; height: 28px; }
.hero-deco-br { bottom: 24px; right: 8px; }
.hero-deco-br::before { bottom: 0; right: 0; width: 28px; height: 2px; }
.hero-deco-br::after  { bottom: 0; right: 0; width: 2px; height: 28px; }

/* Left column: big featured story */
.hero-featured {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.4s ease;
}
.hero-featured:hover {
  border-color: var(--accent);
}
.hero-featured-image {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
}
.hero-featured-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-featured:hover .hero-featured-image img { transform: scale(1.03); }
.hero-featured-image .bg-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,12,0.4) 70%, rgba(10,10,12,0.95) 100%);
}
.hero-featured-text {
  padding: 20px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-featured-eyebrow {
  color: var(--accent);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
}
.hero-featured-headline {
  font-size: 52px; line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1.6px;
  margin: 0;
}
.hero-featured-deck {
  font-size: 15px; line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.hero-featured-deck a { color: var(--accent); }
.hero-featured-byline {
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 4px;
}
.hero-featured-byline strong { color: var(--text); font-weight: 700; }
.hero-featured-empty .hero-featured-image { height: 220px; background: var(--surface); }

/* Middle column: 2 stacked secondary stories */
.hero-secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-secondary-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.hero-secondary-card:hover { border-color: var(--accent); }
.hero-secondary-image {
  height: 100px;
  position: relative;
  background: var(--surface-2);
  overflow: hidden;
  flex-shrink: 0;
}
.hero-secondary-image img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-secondary-text {
  padding: 14px 16px;
  display: flex; flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hero-secondary-eyebrow {
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.hero-secondary-title {
  font-size: 14px; line-height: 1.35;
  font-weight: 700;
  margin: 0;
}
.hero-secondary-byline {
  font-size: 10px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-top: auto;
}
.hero-secondary-placeholder {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0,212,255,0.03) 100%);
}
.hero-secondary-placeholder .hero-secondary-text { padding: 18px 16px; }

/* Right column: featured-media partial (mix / late pass / CTA) */
.featured-media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.featured-media-eyebrow {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.featured-media-card, .featured-media-card-cta {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px;
}
.featured-media-card { display: flex; flex-direction: column; gap: 14px; }
.featured-media-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface-2);
  border-radius: 6px;
  overflow: hidden;
}
.featured-media-art img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.featured-media-art-vertical { aspect-ratio: 1 / 1.2; }
.featured-media-play {
  position: absolute; bottom: 10px; right: 10px;
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  z-index: 3;
}
.featured-media-meta { padding: 0 4px; display: flex; flex-direction: column; gap: 4px; }
.featured-media-platform {
  color: var(--accent);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.featured-media-title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.featured-media-dj { font-size: 12px; color: var(--text-muted); }
.featured-media-duration {
  font-size: 10px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-top: 2px;
}
.featured-media-cta-h { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 10px; }
.featured-media-cta-deck { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin-bottom: 16px; }
.featured-media-cta-form { display: flex; flex-direction: column; gap: 8px; }
.featured-media-cta-form input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 4px;
}
.featured-media-cta-form button {
  background: var(--accent); color: #000;
  border: none;
  padding: 9px 14px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  border-radius: 4px; cursor: pointer;
}

/* Responsive: collapse to 1-column on smaller screens */
@media (max-width: 1100px) {
  .hero-magazine-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .featured-media { grid-column: span 2; }
}
@media (max-width: 700px) {
  .hero-magazine-inner { grid-template-columns: 1fr; padding: 20px 16px 24px; }
  .featured-media { grid-column: auto; }
  .hero-featured { min-height: 0; }
  .hero-featured-image { height: 220px; }
  .hero-featured-headline { font-size: 24px; }
  .hero-deco { display: none; }
}

/* ---------- News pillar page ---------- */
.news-top { max-width: var(--container); margin: 24px auto 40px; padding: 0 24px; }
.news-top-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.news-top-card:hover { border-color: var(--accent); }
.news-top-image { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.news-top-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-top-text { display: flex; flex-direction: column; gap: 12px; }
.news-top-eyebrow {
  color: var(--accent);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
}
.news-top-headline { font-size: 30px; line-height: 1.15; font-weight: 900; letter-spacing: -0.7px; }
.news-top-deck { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
.news-top-meta { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-top: auto; }

.news-list { max-width: var(--container); margin: 0 auto; padding: 0 24px 48px; }
.news-row {
  display: grid;
  grid-template-columns: 70px 120px 1fr 80px;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.news-row:hover { background: rgba(0,212,255,0.03); }
.news-row-date { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; padding-top: 4px; }
.news-row-cat {
  font-size: 10px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700;
  padding-top: 4px;
}
.news-row-headline h3 { font-size: 17px; line-height: 1.35; font-weight: 700; margin-bottom: 6px; }
.news-row-headline p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.news-row-meta { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; text-align: right; padding-top: 4px; }
@media (max-width: 800px) {
  .news-top-card { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 100px 1fr; }
  .news-row-cat, .news-row-meta { grid-column: 1 / -1; padding-top: 0; }
}

/* ---------- Features pillar page ---------- */
.features-hero { max-width: var(--container); margin: 24px auto 48px; padding: 0 24px; }
.features-hero-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.features-hero-card:hover { border-color: var(--accent); }
.features-hero-image { position: relative; height: 380px; overflow: hidden; }
.features-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.features-hero-text { padding: 28px 32px 32px; }
.features-hero-eyebrow {
  color: var(--accent);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px;
}
.features-hero-headline { font-size: 38px; line-height: 1.1; font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.features-hero-deck { font-size: 17px; line-height: 1.55; color: var(--text-muted); margin-bottom: 16px; max-width: 700px; }
.features-hero-meta { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.features-hero-meta strong { color: var(--text); font-weight: 700; }

.features-grid-section { max-width: var(--container); margin: 0 auto 48px; padding: 0 24px; }
.features-subsection { max-width: var(--container); margin: 0 auto 48px; padding: 0 24px; }
.features-subgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .features-subgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-subgrid { grid-template-columns: 1fr; } }

.pitch-cta {
  max-width: var(--container);
  margin: 0 auto 48px;
  padding: 0 24px;
}
.pitch-cta-inner {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0,212,255,0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.pitch-cta-eyebrow { color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.pitch-cta-h { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin: 8px 0; }
.pitch-cta-deck { font-size: 14px; color: var(--text-muted); line-height: 1.55; max-width: 540px; }
.pitch-cta-button {
  background: var(--accent); color: #000;
  padding: 12px 22px;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 700px) { .pitch-cta-inner { flex-direction: column; align-items: flex-start; padding: 24px; } }

/* ---------- Scroll-reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Article (single post) ---------- */
.article-hero {
  max-width: var(--container); margin: 0 auto;
  padding: 24px;
}
.breadcrumb { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }
.hero-image {
  height: 380px; width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image .hero-text { position: relative; z-index: 2; padding: 32px 36px; width: 100%; }
.hero-image h1 {
  font-size: 36px; line-height: 1.15;
  font-weight: 800; max-width: 800px;
  letter-spacing: -0.5px;
}
.hero-subhead { margin-top: 14px; color: var(--text-muted); font-size: 16px; line-height: 1.5; max-width: 700px; }

.article-wrap {
  max-width: var(--container); margin: 0 auto;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
}
.byline {
  display: flex; align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; margin-bottom: 28px;
}
.author-mini { display: flex; align-items: center; gap: 12px; flex: 1; }
.author-name { font-size: 13px; font-weight: 600; }
.author-meta { font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.share-row { display: flex; gap: 8px; }
.share-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text-muted); border-radius: 3px; cursor: pointer; font-size: 12px;
}

.lede { font-size: 19px; line-height: 1.55; color: var(--text); font-weight: 400; margin-bottom: 24px; }
.article-body p { font-size: 16px; line-height: 1.75; color: #c8c8cf; margin-bottom: 20px; }
.article-body h2 { font-size: 22px; margin: 36px 0 16px; font-weight: 700; letter-spacing: -0.3px; }
.article-body h3 { font-size: 18px; margin: 28px 0 12px; font-weight: 700; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; color: #c8c8cf; }
.article-body li { font-size: 16px; line-height: 1.75; margin-bottom: 8px; }
.article-body a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }
.article-body a:hover { border-bottom-color: var(--accent); }
.article-body blockquote, .pull-quote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-size: 22px; line-height: 1.4;
  font-weight: 500; color: var(--text);
  font-style: italic;
}
.article-body img, .article-body figure img { border-radius: 4px; margin: 28px 0 8px; }
.article-body figcaption, .caption { font-size: 12px; color: var(--text-dim); margin-bottom: 24px; font-style: italic; }
.article-body iframe { width: 100%; border: 0; border-radius: 4px; margin: 20px 0; background: var(--surface); }

/* ---------- Music / video embed players (used in reviews + mix posts) ---------- */
.article-body iframe[src*="soundcloud.com"] { min-height: 166px; }
.article-body iframe[src*="soundcloud.com"][src*="visual=true"] { min-height: 450px; }
.article-body iframe[src*="bandcamp.com"] { min-height: 470px; }
.article-body iframe[src*="mixcloud.com"] { min-height: 180px; }
.article-body iframe[src*="spotify.com"] { min-height: 152px; }
.article-body iframe[src*="youtube.com"], .article-body iframe[src*="youtube-nocookie.com"], .article-body iframe[src*="vimeo.com"] { aspect-ratio: 16 / 9; min-height: 0; }
.article-body iframe[src*="beatport.com"] { min-height: 540px; }

/* Ghost's Koenig embed cards (oEmbed-resolved) — make them look intentional */
.article-body .kg-embed-card { margin: 28px 0; }
.article-body .kg-embed-card iframe { margin: 0; }
.article-body .kg-audio-card, .article-body .kg-video-card {
  margin: 28px 0; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--border);
}
.article-body .kg-audio-card { background: var(--surface); padding: 12px; }
.article-body .kg-card-hascaption figcaption {
  font-size: 12px; color: var(--text-dim); margin-top: 8px;
  font-style: italic; text-align: center;
}

/* ---------- Compact newsletter strip (above the homepage hero) ---------- */
.newsletter-strip {
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex; align-items: center; gap: 16px;
  font-size: 13px;
}
.newsletter-strip-mark {
  color: var(--accent);
  font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: 1.5px;
  white-space: nowrap;
}
.newsletter-strip-copy {
  color: var(--text-muted);
  flex: 1; min-width: 0;
}
.newsletter-strip-form {
  display: flex; gap: 6px;
  flex-shrink: 0;
}
.newsletter-strip-form input {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 3px;
  min-width: 200px;
}
.newsletter-strip-form button {
  background: var(--accent); color: #000;
  border: none;
  padding: 7px 14px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  border-radius: 3px; cursor: pointer;
}
.newsletter-strip-dismiss {
  background: transparent; border: none;
  color: var(--text-dim);
  font-size: 18px; cursor: pointer;
  padding: 0 4px;
}
.newsletter-strip-dismiss:hover { color: var(--text); }
@media (max-width: 800px) {
  .newsletter-strip { flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
  .newsletter-strip-copy { width: 100%; order: 2; font-size: 12px; }
  .newsletter-strip-form { width: 100%; order: 3; }
  .newsletter-strip-form input { flex: 1; min-width: 0; }
}

/* Koenig editor image widths */
.article-body .kg-width-wide,
.article-body figure.kg-width-wide { max-width: 100%; width: calc(100% + 120px); margin-left: -60px; margin-right: -60px; }
.article-body .kg-width-full,
.article-body figure.kg-width-full { max-width: 100vw; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; }
.article-body .kg-width-wide img,
.article-body .kg-width-full img { width: 100%; height: auto; border-radius: 0; }
.article-body .kg-image-card { margin: 28px 0; }
.article-body .kg-bookmark-card { margin: 24px 0; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.article-body .kg-bookmark-container { display: flex; text-decoration: none; color: var(--text); }
.article-body .kg-bookmark-content { flex: 1; padding: 18px; }
.article-body .kg-bookmark-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.article-body .kg-bookmark-description { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.article-body .kg-bookmark-metadata { font-size: 11px; color: var(--text-dim); margin-top: 12px; text-transform: uppercase; letter-spacing: 0.6px; }
.article-body .kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; background: var(--surface-2); }
.article-body .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.article-body .kg-gallery-container { margin: 28px 0; }
.article-body .kg-gallery-row { display: flex; gap: 8px; margin-bottom: 8px; }
.article-body .kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }

@media (max-width: 1000px) {
  .article-body .kg-width-wide,
  .article-body figure.kg-width-wide { width: 100%; margin-left: 0; margin-right: 0; }
  .article-body .kg-bookmark-container { flex-direction: column; }
  .article-body .kg-bookmark-thumbnail { width: 100%; height: 160px; }
}

.tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 36px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px; padding: 5px 10px;
  border-radius: 3px;
  text-transform: lowercase; letter-spacing: 0.3px;
}

.author-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  display: flex; gap: 18px; align-items: flex-start;
}
.author-card-avatar {
  flex-shrink: 0;
  width: 60px; height: 60px;
  font-size: 22px; font-weight: 800;
  background: radial-gradient(circle at 30% 25%, rgba(0,212,255,0.18), var(--surface-2));
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.06);
}
.author-card-initial { color: var(--accent); line-height: 1; }
.author-card-body { flex: 1; min-width: 0; }
.author-card-name { font-size: 17px; font-weight: 800; letter-spacing: -0.3px; }
.author-card-name:hover { color: var(--accent); }
.author-card-facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 5px;
  font-size: 12px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
}
.author-card-fact + .author-card-fact::before { content: "·"; margin-right: 8px; color: var(--text-dim); }
.author-card-bio { font-size: 13.5px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }
.author-card-links {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  margin-top: 14px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.author-card-links a { color: var(--text-dim); }
.author-card-links a:hover { color: var(--accent); }
.author-card-all { color: var(--accent) !important; }
@media (max-width: 560px) { .author-card { flex-direction: column; } }

aside.sidebar { position: sticky; top: 80px; align-self: start; }
.sidebar-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.related-item {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.related-thumb {
  width: 72px; height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  flex-shrink: 0; border-radius: 3px;
  position: relative; overflow: hidden;
}
.related-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.related-title { font-size: 13px; line-height: 1.35; font-weight: 600; }
.related-cat { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }

.ad-slot {
  margin-top: 28px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  height: 250px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ---------- Related grid (article footer) ---------- */
.related-grid-section {
  max-width: var(--container); margin: 0 auto;
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.card-image {
  height: 160px; background: var(--surface-2);
  position: relative; overflow: hidden;
}
.card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; }
.card-cat {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 9px; font-weight: 700;
  padding: 3px 8px; border-radius: 2px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}
.card-title { font-size: 15px; line-height: 1.35; font-weight: 700; }
.card-meta { font-size: 11px; color: var(--text-dim); margin-top: 10px; text-transform: uppercase; letter-spacing: 0.6px; }

/* ---------- Magazine hero (homepage) ---------- */
.hero-magazine {
  background: var(--bg);
  padding: 40px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero-magazine-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  position: relative;
}

/* Decorative geometric accents in the hero corners */
.hero-deco {
  position: absolute;
  width: 120px; height: 120px;
  border: 1px solid var(--accent);
  opacity: 0.18;
  pointer-events: none;
}
.hero-deco-tl {
  top: -20px; left: -20px;
  border-right: 0; border-bottom: 0;
}
.hero-deco-br {
  bottom: -20px; right: -20px;
  border-left: 0; border-top: 0;
}

/* LEFT COLUMN — big featured story */
.hero-featured {
  position: relative;
  display: flex; align-items: flex-end;
  aspect-ratio: 4 / 5;
  max-height: 720px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s ease-out;
}
.hero-featured-image {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.8s ease-out;
}
.hero-featured:hover .hero-featured-image img { transform: scale(1.04); }
.hero-featured-image .bg-fade {
  background: linear-gradient(180deg, transparent 30%, rgba(10,10,12,0.5) 60%, rgba(10,10,12,0.98) 100%);
}
.hero-featured-text {
  position: relative; z-index: 2;
  padding: 40px;
  width: 100%;
}
.hero-featured-eyebrow {
  display: inline-block;
  background: var(--accent); color: #000;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.hero-featured-headline {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  color: var(--text);
}
.hero-featured-deck {
  font-size: 16px; line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 600px;
}
.hero-featured-byline {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.hero-featured-byline strong { color: var(--text); }

.hero-featured-empty { cursor: default; }
.hero-featured-empty:hover .hero-featured-image img { transform: none; }

/* MIDDLE COLUMN — 2 stacked secondary stories */
.hero-secondary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-secondary-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.hero-secondary-card:hover { border-color: var(--accent); }
.hero-secondary-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.hero-secondary-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-secondary-text { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.hero-secondary-eyebrow {
  font-size: 10px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-secondary-title {
  font-size: 17px; font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
  flex: 1;
}
.hero-secondary-byline {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-secondary-placeholder {
  border-style: dashed;
  background: transparent;
}
.hero-secondary-placeholder .hero-secondary-text { justify-content: center; min-height: 140px; }

/* RIGHT COLUMN — featured media widget */
.featured-media {
  display: flex;
  flex-direction: column;
}
.featured-media-eyebrow {
  font-size: 10px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.featured-media-card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.featured-media-card:hover { border-color: var(--accent); }
.featured-media-art {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.featured-media-art-vertical { aspect-ratio: 4 / 5; }
.featured-media-art img { width: 100%; height: 100%; object-fit: cover; }
.featured-media-play {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.85);
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.featured-media-meta { padding: 18px; }
.featured-media-platform {
  font-size: 10px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.featured-media-title {
  font-size: 16px; font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}
.featured-media-dj { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.featured-media-duration { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }

.featured-media-cta .featured-media-card-cta {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.featured-media-cta-h {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  color: var(--text);
}
.featured-media-cta-deck {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}
.featured-media-cta-form { display: flex; flex-direction: column; gap: 8px; }
.featured-media-cta-form input {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 3px;
}
.featured-media-cta-form button {
  background: var(--accent); color: #000;
  border: none;
  padding: 10px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 3px; cursor: pointer;
}

/* Responsive — collapse to single column on tablet, stack everything on mobile */
@media (max-width: 1000px) {
  .hero-magazine-inner { grid-template-columns: 1fr 1fr; }
  .hero-featured { grid-column: 1 / -1; aspect-ratio: 16 / 10; max-height: 480px; }
  .hero-deco { width: 80px; height: 80px; }
}
@media (max-width: 700px) {
  .hero-magazine-inner { grid-template-columns: 1fr; }
  .hero-featured-headline { font-size: 32px; }
  .hero-featured-text { padding: 24px; }
}

/* ---------- News pillar page ---------- */
.news-top {
  max-width: var(--container); margin: 0 auto;
  padding: 24px;
}
.news-top-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s;
}
.news-top-card:hover { border-color: var(--accent); }
.news-top-image { aspect-ratio: 4 / 3; overflow: hidden; }
.news-top-image img { width: 100%; height: 100%; object-fit: cover; }
.news-top-text { padding: 32px; display: flex; flex-direction: column; justify-content: center; }
.news-top-eyebrow {
  font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; margin-bottom: 14px;
}
.news-top-headline { font-size: 32px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 14px; color: var(--text); }
.news-top-deck { font-size: 15px; color: var(--text-muted); line-height: 1.55; margin-bottom: 20px; }
.news-top-meta { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.2px; margin-top: auto; }

.news-list {
  max-width: var(--container); margin: 0 auto;
  padding: 32px 24px 48px;
}
.news-row {
  display: grid;
  grid-template-columns: 80px 110px 1fr 80px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  text-decoration: none;
  transition: padding-left 0.2s, background 0.2s;
}
.news-row:hover { background: var(--surface); padding-left: 12px; padding-right: 12px; }
.news-row-date { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; }
.news-row-cat { font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.news-row-headline h3 { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--text); margin-bottom: 4px; }
.news-row-headline p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.news-row-meta { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.8px; text-align: right; }
@media (max-width: 800px) {
  .news-top-card { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 80px 1fr; }
  .news-row-cat, .news-row-meta { display: none; }
}

/* ---------- Features pillar page ---------- */
.features-hero {
  max-width: var(--container); margin: 0 auto;
  padding: 24px;
}
.features-hero-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  cursor: pointer;
}
.features-hero-image { position: absolute; inset: 0; }
.features-hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease-out; }
.features-hero-card:hover .features-hero-image img { transform: scale(1.03); }
.features-hero-image .bg-fade {
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,12,0.4) 50%, rgba(10,10,12,0.95) 100%);
}
.features-hero-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px;
  max-width: 800px;
}
.features-hero-eyebrow {
  font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; margin-bottom: 14px; display: inline-block;
}
.features-hero-headline { font-size: 42px; font-weight: 900; line-height: 1.1; letter-spacing: -1px; margin-bottom: 16px; color: var(--text); }
.features-hero-deck { font-size: 16px; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; max-width: 640px; }
.features-hero-meta { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1.2px; }
.features-hero-meta strong { color: var(--text); }

.features-grid-section, .features-subsection {
  max-width: var(--container); margin: 0 auto;
  padding: 32px 24px;
}
.features-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) {
  .features-hero-headline { font-size: 28px; }
  .features-hero-text { padding: 24px; }
  .features-subgrid { grid-template-columns: 1fr; }
}

/* ---------- Pitch CTA (used at bottom of features page) ---------- */
.pitch-cta {
  max-width: var(--container); margin: 32px auto;
  padding: 0 24px;
}
.pitch-cta-inner {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0, 212, 255, 0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.pitch-cta-eyebrow {
  font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 2px;
  font-weight: 700; margin-bottom: 8px;
}
.pitch-cta-h { font-size: 24px; font-weight: 800; letter-spacing: -0.3px; margin-bottom: 8px; color: var(--text); }
.pitch-cta-deck { color: var(--text-muted); font-size: 14px; line-height: 1.55; margin: 0; max-width: 580px; }
.pitch-cta-button {
  background: var(--accent); color: #000;
  padding: 14px 24px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
}
@media (max-width: 700px) {
  .pitch-cta-inner { grid-template-columns: 1fr; }
}

/* ---------- Scroll-reveal animation (tasteful fade-in for cards) ----------
   Uses IntersectionObserver via a tiny inline script in default.hbs (TBD).
   Class `.reveal` starts hidden + translated down, transitions in when
   .is-visible is toggled. Respects prefers-reduced-motion. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Pillar empty state (renders on tag-*.hbs when the tag has 0 posts) ---------- */
.pillar-empty {
  max-width: var(--container);
  margin: 32px auto 64px;
  padding: 0 24px;
}
.pillar-empty-inner {
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    radial-gradient(1200px 240px at 15% -20%, rgba(0,212,255,0.07), transparent 70%),
    linear-gradient(180deg, rgba(18,18,21,0.95) 0%, rgba(10,10,12,0.95) 100%);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.pillar-empty-mark {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent);
  padding: 6px 10px;
  border: 1px solid var(--accent-dim);
  border-radius: 3px;
  margin-bottom: 22px;
}
.pillar-empty-h {
  font-size: 34px; font-weight: 900;
  letter-spacing: -0.7px;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 720px;
}
.pillar-empty-deck {
  font-size: 16px; line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 28px;
}
.pillar-empty-deck strong { color: var(--text); font-weight: 600; }
.pillar-empty-actions {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.pillar-empty-btn {
  background: var(--accent); color: #000;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
}
.pillar-empty-link {
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}
.pillar-empty-link:hover { color: var(--accent); }
@media (max-width: 700px) {
  .pillar-empty-inner { padding: 36px 24px; }
  .pillar-empty-h { font-size: 26px; }
  .pillar-empty-deck { font-size: 15px; }
}

/* ---------- Error page (error.hbs — 404 + other errors) ---------- */
.error-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 24px 120px;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.error-page-inner { max-width: 640px; position: relative; }
.error-code {
  font-size: clamp(120px, 26vw, 260px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -6px;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  text-stroke: 1px var(--border-strong);
  user-select: none;
  margin-bottom: 8px;
}
.error-mark {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 14px;
}
.error-h {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.error-deck {
  font-size: 16px; line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.error-actions { margin-bottom: 28px; }
.error-btn {
  display: inline-block;
  background: var(--accent); color: #000;
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
}
.error-links {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.error-links a {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-dim);
  text-decoration: none;
}
.error-links a:hover { color: var(--accent); }

/* ---------- Tag profile hero (artist / label / venue pages) ---------- */
.tag-profile-hero {
  max-width: var(--container); margin: 0 auto 32px;
  height: 380px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.tag-profile-cover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.tag-profile-hero .bg-fade {
  background: linear-gradient(180deg, transparent 0%, rgba(10,10,12,0.6) 50%, rgba(10,10,12,0.98) 100%);
}
.tag-profile-text {
  position: relative; z-index: 2;
  padding: 32px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}
.tag-profile-name {
  font-size: 56px; font-weight: 900;
  letter-spacing: -1.5px;
  margin-top: 14px;
  line-height: 1;
}
.tag-profile-bio {
  margin-top: 18px;
  font-size: 17px; line-height: 1.55;
  color: var(--text-muted);
  max-width: 640px;
}
.tag-profile-meta {
  margin-top: 18px;
  font-size: 11px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1.5px;
}
@media (max-width: 700px) {
  .tag-profile-hero { height: 320px; }
  .tag-profile-name { font-size: 40px; }
  .tag-profile-bio { font-size: 15px; }
}

/* ---------- Policy pages (about, editorial-policy, corrections, ethics, etc.) ---------- */
.policy-body { font-size: 16px; line-height: 1.75; color: #c8c8cf; }
.policy-body h2 { font-size: 22px; margin: 40px 0 12px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.policy-body h2:first-child { margin-top: 0; }
.policy-body h3 { font-size: 17px; margin: 28px 0 10px; font-weight: 700; color: var(--text); }
.policy-body p { margin-bottom: 18px; }
.policy-body ul, .policy-body ol { margin: 0 0 20px 22px; }
.policy-body li { margin-bottom: 6px; line-height: 1.7; }
.policy-body a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }
.policy-body a:hover { border-bottom-color: var(--accent); }
.policy-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 0 12px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  padding-right: 16px;
  border-radius: 0 4px 4px 0;
}
.policy-body code, .policy-body kbd {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 13px;
  color: var(--accent);
}
.policy-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.policy-body th, .policy-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.policy-body th {
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
}
.policy-body strong { color: var(--text); }
.policy-body hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* ---------- Author / artist profile ---------- */
.author-hero {
  max-width: var(--container); margin: 0 auto;
  padding: 48px 24px 32px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
}
.author-hero .avatar { width: 96px; height: 96px; font-size: 28px; }
.author-hero h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; }
.author-hero .bio { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin-top: 8px; max-width: 600px; }
.author-hero .stats { font-size: 11px; color: var(--text-dim); margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Mix detail (post) ---------- */
.mix-player-wrap {
  max-width: var(--container); margin: 32px auto 0;
  padding: 0 24px;
}
.mix-player-wrap iframe {
  width: 100%; min-height: 320px;
  border: 1px solid var(--border);
  border-radius: 6px; background: var(--surface);
}
.mix-meta-strip {
  max-width: var(--container); margin: 24px auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.mix-meta-strip strong { color: var(--text); display: block; font-size: 14px; margin-top: 4px; }

/* ---------- Event detail (post) ---------- */
.event-card-big {
  max-width: var(--container); margin: 32px auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px; align-items: center;
}
.event-card-big .event-date strong { font-size: 36px; }

/* ---------- Closing newsletter section ---------- */
.newsletter-close {
  margin: 80px auto 64px;
  max-width: var(--container);
  padding: 0 24px;
}
.newsletter-close-inner {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(0,212,255,0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-close-inner::before {
  content: ""; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: var(--accent);
}
.newsletter-close-mark {
  color: var(--accent);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 18px;
}
.newsletter-close-h {
  font-size: 36px; line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.8px;
  max-width: 680px;
  margin: 0 auto 16px;
}
.newsletter-close-deck {
  font-size: 16px; line-height: 1.55;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}
.newsletter-close-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 640px;
  margin: 0 auto 36px;
}
.newsletter-close-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: left;
}
.newsletter-close-tile-num {
  color: var(--accent);
  font-size: 32px; font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.newsletter-close-tile-label {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 6px;
}
.newsletter-close-tile-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.newsletter-close-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 14px;
}
.newsletter-close-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 6px;
}
.newsletter-close-form button {
  background: var(--accent); color: #000;
  border: none;
  padding: 14px 26px;
  font-size: 12px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.newsletter-close-form button:hover { opacity: 0.9; }
.newsletter-close-fineprint {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 12px;
  letter-spacing: 0.3px;
}
.newsletter-close-fineprint a { color: var(--accent); }
@media (max-width: 700px) {
  .newsletter-close-inner { padding: 40px 24px; }
  .newsletter-close-h { font-size: 26px; }
  .newsletter-close-tiles { grid-template-columns: 1fr; }
  .newsletter-close-form { flex-direction: column; }
}

/* ---------- Footer (multi-column, brand-forward) ---------- */
footer.site {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.site-footer-top {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
}
.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.site-footer-top .site-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2.8fr;
  gap: 56px;
  align-items: start;
}
.site-footer-brand .site-footer-logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text);
}
.site-footer-brand .site-footer-logo span { color: var(--accent); }
.site-footer-tagline {
  color: var(--accent);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 6px;
}
.site-footer-blurb {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}
.site-footer-sub-btn {
  display: inline-block;
  margin-top: 18px;
  background: var(--accent); color: #000;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.site-footer-sub-btn:hover { opacity: 0.9; }

.site-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.site-footer-col-h {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.site-footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s;
}
.site-footer-col a:hover { color: var(--accent); }

.site-footer-bottom { padding: 18px 0; }
.site-footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer-social { display: flex; gap: 14px; }
.site-footer-social a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer-social a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .site-footer-top .site-footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .site-footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .site-footer-legal { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer-cols { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-home { grid-template-columns: 1fr; }
  .news-strip { grid-template-columns: repeat(2, 1fr); }
  .late-pass-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-row { grid-template-columns: repeat(2, 1fr); }
  .mixes-row, .reviews-grid, .related-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .article-wrap { grid-template-columns: 1fr; }
  aside.sidebar { position: static; }
  .score-legend { grid-template-columns: 1fr; }
  .legend-scale { grid-template-columns: repeat(2, 1fr); }
  .event-card-big { grid-template-columns: 1fr; }
  .author-hero { grid-template-columns: 64px 1fr; }
  .author-hero .avatar { width: 64px; height: 64px; font-size: 18px; }

  /* mobile nav: links collapse into a toggled dropdown panel */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 6px 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 24px; font-size: 14px; }
  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }
}

/* ============================================================
   Micro-interactions — v0.3 motion layer
   Tactile feedback on cards, buttons, links. Dark-editorial
   restraint: short durations, small distances, no bounce.
   Everything here is disabled under prefers-reduced-motion at
   the bottom of this block.
   ============================================================ */

/* Cards: subtle lift + cyan edge glow on hover */
.article-card,
.news-card,
.feature-card,
.mix-card,
.review-card,
.side-story,
.hero-secondary-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease,
              border-color 0.2s ease;
}
.article-card:hover,
.news-card:hover,
.feature-card:hover,
.mix-card:hover,
.review-card:hover,
.side-story:hover,
.hero-secondary-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--accent-dim);
}

/* Card images push in slowly while the card is hovered */
.card-image img,
.hero-secondary-image img,
.news-top-image img {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-card:hover .card-image img,
.news-card:hover .card-image img,
.feature-card:hover .card-image img,
.hero-secondary-card:hover .hero-secondary-image img {
  transform: scale(1.05);
}

/* Primary cyan buttons: tactile press + a light sheen sweep on hover */
.subscribe-btn,
.pitch-cta-button,
.pillar-empty-btn,
.load-more,
.newsletter-close-form button,
.newsletter-strip-form button {
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.subscribe-btn::after,
.pitch-cta-button::after,
.pillar-empty-btn::after {
  content: "";
  position: absolute; top: 0; left: -130%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.subscribe-btn:hover::after,
.pitch-cta-button:hover::after,
.pillar-empty-btn:hover::after { left: 140%; }
.subscribe-btn:hover,
.pitch-cta-button:hover,
.pillar-empty-btn:hover { box-shadow: 0 6px 22px -6px var(--accent); }
.subscribe-btn:active,
.pitch-cta-button:active,
.pillar-empty-btn:active,
.load-more:active,
.newsletter-close-form button:active,
.newsletter-strip-form button:active { transform: translateY(1px) scale(0.985); }

/* Search / icon button: press feedback + accent border on hover */
.icon-btn { transition: transform 0.12s ease, border-color 0.15s ease, color 0.15s ease; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn:active { transform: scale(0.92); }

/* Filter chips: lift on hover */
.filter-chip {
  transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.filter-chip:not(.active):hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

/* "See all" / arrow links: nudge the arrow right on hover */
.see-all { transition: color 0.15s ease; display: inline-block; }
.see-all:hover { transform: translateX(2px); }

/* Keyboard focus — visible cyan ring (accessibility + on-brand) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .article-card, .news-card, .feature-card, .mix-card, .review-card,
  .side-story, .hero-secondary-card,
  .card-image img, .hero-secondary-image img, .news-top-image img,
  .subscribe-btn, .pitch-cta-button, .pillar-empty-btn, .load-more,
  .icon-btn, .filter-chip, .see-all, .nav-links a::after {
    transition: none !important;
    transform: none !important;
  }
  .subscribe-btn::after,
  .pitch-cta-button::after,
  .pillar-empty-btn::after { display: none; }
  .nav-links a.active::after { transform: scaleX(1) !important; }
}

/* ================================================================
   v0.4 — News-site layout pass
   New homepage hero, Featured grid, category rows, big colorful
   event cards; new subpage list view; new article-page Trending +
   Related; hashtag pills; expanded share buttons; About-author card;
   floating Spotify player; per-category color tokens; bigger
   gradient section labels.
   ================================================================ */

/* ---- Per-category accent palette ---- */
:root {
  --cat-news:      #ff9c3a;   /* orange */
  --cat-features:  #a06bff;   /* purple */
  --cat-reviews:   #00D4FF;   /* cyan */
  --cat-mixes:     #ff3b6b;   /* magenta */
  --cat-events:    #3aff9c;   /* green */
  --cat-late-pass: #ffc83a;   /* gold */
  --cat-default:   #00D4FF;
}

/* Apply category colors to any element bearing data-cat="<slug>" */
[data-cat="news"]      { color: var(--cat-news); }
[data-cat="features"]  { color: var(--cat-features); }
[data-cat="reviews"]   { color: var(--cat-reviews); }
[data-cat="mixes"]     { color: var(--cat-mixes); }
[data-cat="events"]    { color: var(--cat-events); }
[data-cat="late-pass"] { color: var(--cat-late-pass); }

/* ---- Big gradient section label bar ---- */
.gl-section-bar {
  display: flex; align-items: center; gap: 18px;
  margin: 56px 0 26px;
}
.gl-section-bar-sm { margin: 32px 0 14px; }
.gl-section-label {
  font-size: 26px; font-weight: 900;
  letter-spacing: -0.5px; text-transform: none;
  color: var(--text);
  flex-shrink: 0;
}
.gl-section-bar-sm .gl-section-label { font-size: 16px; letter-spacing: 1.8px; text-transform: uppercase; }
.gl-section-line {
  flex: 1; height: 2px; border-radius: 1px;
  background: linear-gradient(90deg, var(--cat-news) 0%, var(--cat-mixes) 35%, var(--cat-features) 65%, var(--cat-reviews) 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible .gl-section-line,
section.is-visible .gl-section-line { transform: scaleX(1); }
.gl-section-view-all {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.gl-section-view-all:hover { transform: translateX(3px); }

/* ---- Homepage hero: big main left + 3 stacked right ---- */
.hp-hero { padding: 24px 0 8px; }
.hp-hero-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.hp-hero-main {
  display: block; position: relative;
  border-radius: 12px; overflow: hidden;
  min-height: 520px;
  background: var(--surface-2);
}
.hp-hero-main-image { position: absolute; inset: 0; }
.hp-hero-main-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-hero-main:hover .hp-hero-main-image img { transform: scale(1.04); }
.hp-hero-main-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 30%, rgba(10,10,12,0.55) 70%, rgba(10,10,12,0.95) 100%);
}
.hp-hero-main-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 36px 32px;
  z-index: 2;
}
.hp-hero-main-eyebrow {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  margin-bottom: 12px; display: inline-block;
}
.hp-hero-main-headline {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -1px; margin-bottom: 12px;
  color: #fff;
}
.hp-hero-main-deck {
  font-size: 15px; line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 640px; margin-bottom: 14px;
}
.hp-hero-main-meta { font-size: 12px; color: rgba(255,255,255,0.55); }
.hp-hero-stack { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.hp-stack-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.28s ease;
}
.hp-stack-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -14px rgba(0,0,0,0.8);
}
.hp-stack-image { background: var(--surface-2); overflow: hidden; }
.hp-stack-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hp-stack-card:hover .hp-stack-image img { transform: scale(1.06); }
.hp-stack-text { padding: 14px 16px 14px 0; display: flex; flex-direction: column; justify-content: center; }
.hp-stack-eyebrow {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.hp-stack-title { font-size: 15px; font-weight: 800; line-height: 1.3; letter-spacing: -0.2px; color: var(--text); }
@media (max-width: 900px) {
  .hp-hero-inner { grid-template-columns: 1fr; }
  .hp-hero-main { min-height: 360px; }
  .hp-stack-card { grid-template-columns: 100px 1fr; }
}

/* ---- Featured grid: overlay cards ---- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.overlay-card {
  position: relative; display: block;
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.overlay-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.85); }
.overlay-card-image { position: absolute; inset: 0; }
.overlay-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.overlay-card:hover .overlay-card-image img { transform: scale(1.06); }
.overlay-card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 40%, rgba(10,10,12,0.92) 100%);
}
.overlay-card-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 20px 20px; z-index: 2;
}
.overlay-card-eyebrow {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 8px; display: inline-block;
}
.overlay-card-title {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.3px; line-height: 1.25;
  color: #fff;
}
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .featured-grid { grid-template-columns: 1fr; } }

/* ---- Category rows (homepage) ---- */
.cat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.28s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 30px -14px rgba(0,0,0,0.8);
}
.cat-card-image { height: 160px; overflow: hidden; background: var(--surface-2); }
.cat-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-card-image img { transform: scale(1.05); }
.cat-card-body { padding: 16px 18px 18px; }
.cat-card-eyebrow {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 8px; display: inline-block;
}
.cat-card-title {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.3px; line-height: 1.3;
  margin-bottom: 8px; color: var(--text);
}
.cat-card-deck { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin-bottom: 12px; }
.cat-card-meta { font-size: 11px; color: var(--text-dim); }
@media (max-width: 1000px) { .cat-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-row { grid-template-columns: 1fr; } }

/* ---- Big colorful event cards ---- */
.events-big-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.event-card-big {
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  padding: 22px 22px 18px;
  border-radius: 10px;
  background:
    linear-gradient(140deg, rgba(0,0,0,0.35), rgba(0,0,0,0.75) 80%),
    var(--card-tint, #2a1e0a);
  color: #fff;
  position: relative; overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.event-card-big:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -16px rgba(0,0,0,0.9); }
.event-card-big:nth-child(6n+1) { --card-tint: #4a2a0a; }
.event-card-big:nth-child(6n+2) { --card-tint: #0a3a1c; }
.event-card-big:nth-child(6n+3) { --card-tint: #2a0a3a; }
.event-card-big:nth-child(6n+4) { --card-tint: #0a1a3a; }
.event-card-big:nth-child(6n+5) { --card-tint: #3a0a1a; }
.event-card-big:nth-child(6n+6) { --card-tint: #0a3a3a; }
.event-card-big-title {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.3px; line-height: 1.2;
  margin-bottom: 6px;
}
.event-card-big-sub { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.45; }
.event-card-big-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
}
.event-card-big-when {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--cat-mixes);
}
.event-card-big-btn {
  background: var(--cat-mixes); color: #fff;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.4px;
  padding: 7px 14px; border-radius: 4px;
}
@media (max-width: 900px) { .events-big-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .events-big-grid { grid-template-columns: 1fr; } }

/* ---- Submit-event button (events filter bar) ---- */
.submit-event-btn {
  display: inline-block;
  border: 1px solid var(--cat-mixes);
  color: var(--cat-mixes);
  padding: 7px 16px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  border-radius: 999px;
  text-decoration: none;
  margin-left: auto;
  transition: background 0.2s ease, color 0.2s ease;
}
.submit-event-btn:hover { background: var(--cat-mixes); color: #fff; }

/* ---- List-card (subpages) ---- */
.list-section { padding: 8px 0 32px; }
.list-stack { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }
.list-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 22px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.28s ease;
}
.list-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px -14px rgba(0,0,0,0.7);
}
.list-card-image { width: 100%; height: 160px; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.list-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.list-card:hover .list-card-image img { transform: scale(1.05); }
.list-card-body { padding: 4px 6px 8px 0; }
.list-card-eyebrow {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  display: inline-block; margin-bottom: 8px;
}
.list-card-title {
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.5px; line-height: 1.2;
  margin-bottom: 10px; color: var(--text);
}
.list-card-deck { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.list-card-meta { font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 700px) {
  .list-card { grid-template-columns: 1fr; }
  .list-card-image { height: 200px; }
}

/* ---- Hashtag pills (under article body) ---- */
.hashtag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 28px 0 32px;
}
.hashtag-pill {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--cat-mixes);
  background: rgba(255, 59, 107, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.hashtag-pill:hover {
  background: var(--cat-mixes);
  color: #fff;
  border-color: var(--cat-mixes);
  transform: translateY(-1px);
}
/* Per-category hashtag tint stays linked to its data-cat */
.hashtag-pill[data-cat="news"]      { color: var(--cat-news);      border-color: rgba(255, 156, 58, 0.4);  background: rgba(255, 156, 58, 0.04); }
.hashtag-pill[data-cat="news"]:hover      { background: var(--cat-news);      border-color: var(--cat-news);      color: #0a0a0c; }
.hashtag-pill[data-cat="features"]  { color: var(--cat-features);  border-color: rgba(160, 107, 255, 0.4); background: rgba(160, 107, 255, 0.04); }
.hashtag-pill[data-cat="features"]:hover  { background: var(--cat-features);  border-color: var(--cat-features);  color: #fff; }
.hashtag-pill[data-cat="reviews"]   { color: var(--cat-reviews);   border-color: rgba(0, 212, 255, 0.4);   background: rgba(0, 212, 255, 0.04); }
.hashtag-pill[data-cat="reviews"]:hover   { background: var(--cat-reviews);   border-color: var(--cat-reviews);   color: #0a0a0c; }
.hashtag-pill[data-cat="events"]    { color: var(--cat-events);    border-color: rgba(58, 255, 156, 0.4);  background: rgba(58, 255, 156, 0.04); }
.hashtag-pill[data-cat="events"]:hover    { background: var(--cat-events);    border-color: var(--cat-events);    color: #0a0a0c; }
.hashtag-pill[data-cat="late-pass"] { color: var(--cat-late-pass); border-color: rgba(255, 200, 58, 0.4);  background: rgba(255, 200, 58, 0.04); }
.hashtag-pill[data-cat="late-pass"]:hover { background: var(--cat-late-pass); border-color: var(--cat-late-pass); color: #0a0a0c; }

/* ---- Thumb-row card (sidebar Trending + Related side column) ---- */
.thumb-row {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 12px; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.thumb-row:last-child { border-bottom: none; }
.thumb-row-image { width: 72px; height: 72px; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.thumb-row-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.thumb-row:hover .thumb-row-image img { transform: scale(1.08); }
.thumb-row-title { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--text); }
.thumb-row:hover .thumb-row-title { color: var(--accent); }

.sidebar-block { margin-bottom: 32px; }
.trending-list { display: flex; flex-direction: column; }

/* ---- Article RELATED (bottom): 2x2 overlay + side column thumb-rows ---- */
.related-section { padding-top: 24px; padding-bottom: 32px; max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.related-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
}
.related-grid-overlay {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.related-grid-overlay .overlay-card { aspect-ratio: 16 / 10; }
.related-side { display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .related-layout { grid-template-columns: 1fr; }
}

/* ---- About-author card (replaces old multi-line layout) ---- */
.author-card-h {
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.3px; margin-bottom: 10px;
}
.author-card-h a { color: var(--text); }
.author-card-h a:hover { color: var(--accent); }

/* ---- Expanded share buttons (post byline) ---- */
.share-row { gap: 6px; }
.share-btn {
  cursor: pointer;
  font-weight: 700;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Floating Spotify player ---- */
.spotify-player {
  position: fixed; z-index: 60;
  right: 18px; bottom: 18px;
  width: 340px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,0.85);
}
.spotify-player-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px 6px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.spotify-player-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800;
  color: var(--cat-mixes);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.spotify-player-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cat-mixes);
  animation: spotify-dot-pulse 1.8s ease-in-out infinite;
}
.spotify-player-close {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 18px; line-height: 1;
  padding: 2px 6px;
}
.spotify-player-close:hover { color: var(--text); }
.spotify-player-frame { display: block; border: none; }
@keyframes spotify-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
@media (max-width: 560px) {
  .spotify-player { left: 12px; right: 12px; width: auto; }
  .spotify-player-frame { height: 200px !important; }
}

/* ---- Bonus scroll-reveal flair: section labels rise + glow on enter ---- */
.gl-section-label {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible .gl-section-label,
section.is-visible .gl-section-label { opacity: 1; transform: translateY(0); }
section.cat-row-section,
section.events-big-section,
section.featured-section,
section.related-section,
section.list-section { /* ensure the section IS observable */ }

@media (prefers-reduced-motion: reduce) {
  .hp-hero-main-image img, .overlay-card-image img, .cat-card-image img,
  .hp-stack-image img, .list-card-image img, .thumb-row-image img,
  .event-card-big, .hp-hero-main, .hp-stack-card, .overlay-card, .cat-card,
  .list-card, .spotify-player-dot, .gl-section-line, .gl-section-label {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
