/* ═══════════════════════════════════════════════════════
   POTSH MUSIC — styles.css
   ═══════════════════════════════════════════════════════ */

:root {
  /* ═══════════════════════════════════════════════════════
     POTSH MUSIC — PRESS RUN COLOR SYSTEM v3.0
     ═══════════════════════════════════════════════════════

     Editorial monochrome. Six tones from ink to recycled-paper cream.
     One disciplined spot accent: Sacrament red, used for live signals
     only (NEW tags, NOW STREAMING, pulsing live-status dots).

     The brand cue is the system itself — Teko display type, generous
     whitespace, the wordmark. Not a hex pop.

     Inspired by the editorial discipline of NYT T Magazine, A24,
     House & Garden archival issues, and W+K house style.
     ─────────────────────────────────────────────────────── */

  /* ── The 6-tone monochrome scale ────────────────
     Ordered light → dark. Every adjacent pair has
     enough contrast for hierarchy without color. */
  --page:       #FFFFFF;       /* primary page surface */
  --recycled:   #F2EDDD;       /* warm cream — long-form, editorial */
  --newsprint:  #D9D3C4;       /* light warm-gray — dividers, callouts */
  --graphite:   #6B6358;       /* mid-tone — eyebrows, captions, borders */
  --charcoal:   #1A1A1A;       /* soft black — body text */
  --ink:        #0A0A0A;       /* hero ink — headlines, dark surfaces, button fills */

  /* ── Inverse on dark surfaces ───────────────── */
  --page-inverse: #FFFFFF;     /* type on ink surfaces */
  --recycled-inverse: #F2EDDD; /* warm type on ink — for button text */
  --graphite-inverse: #B5AFA3; /* lifted graphite — eyebrows on dark, 6.79:1 AAA */

  /* ── Sacrament — the only chroma in the system
        Used SPARINGLY: live-status pulse, NEW tags, NOW STREAMING.
        Three places per page max. Never as a button fill. */
  --sacrament:       #A8341E;  /* on light surfaces — 6.74:1 AA on white */
  --sacrament-glow:  #E27360;  /* on ink surfaces — 5.45:1 AA on black */

  /* ── Surface aliases (kept so existing HTML continues to render) */
  --bg:          var(--page);
  --warm:        var(--recycled);   /* was #FAF6F0 — now commits to the editorial cream */
  --canvas:      var(--newsprint);
  --dark:        var(--ink);
  --dark-2:      #111111;
  --rule:        var(--newsprint);

  /* ── Type aliases ──────────────────────────── */
  --text:        var(--charcoal);
  --ink-inverse: var(--page-inverse);
  --muted:       var(--graphite);

  /* ── Legacy accent aliases ─────────────────────────
        Existing HTML uses var(--signal), var(--green), var(--mark), var(--accent)
        in eyebrows, buttons, and links across the site. Each resolves to a
        sensible monochrome value:
          --green   → graphite on light (eyebrows), page-inverse on dark
          --signal  → graphite on light, page-inverse on dark
          --mark    → charcoal on light, page-inverse on dark
          --accent  → ink on light (button fill), page-inverse on dark
        The on-dark rebinds happen in the .section.dark block below. */
  --signal:      var(--graphite);
  --signal-glow: var(--page-inverse);
  --green:       var(--graphite);
  --mark:        var(--charcoal);
  --mark-lifted: var(--page-inverse);
  --accent:      var(--ink);
  --bright:      var(--page-inverse);  /* on-ink bright accent — for inline use */

  --container: 1280px;
  --pad-desktop: 64px;   /* reduced from 80px — tighter section rhythm 2026-05-24 */
  --pad-mobile:  40px;   /* reduced from 48px — less scroll before content on mobile */
}

/* Dark-context rebinding
   When the surface is dark, accent + muted + rule tokens lift to
   their on-ink counterparts. Catches every dark surface site-wide. */
.section.dark,
.dark-scope,
.ad-strip,
.footer-dark,
.site-footer,
.ad-prefooter,
.ad-compound,
.links-page,
[data-theme="dark"] {
  --signal:        var(--page-inverse);
  --signal-glow:   var(--page-inverse);
  --green:         var(--page-inverse);
  --accent:        var(--page-inverse);
  --mark:          var(--page-inverse);
  --mark-lifted:   var(--page-inverse);
  --sacrament:     var(--sacrament-glow);
  --muted:         var(--graphite-inverse);
  --rule:          #2A2A2A;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5 { margin: 0 0 16px; }
h1, .disp-lg { font-family: 'Teko', 'Arial Narrow', Impact, sans-serif; font-size: clamp(46px, 6vw, 78px); line-height: 0.95; letter-spacing: 0.03em; text-transform: uppercase; font-weight: 400; }
h2, .disp    { font-family: 'Teko', 'Arial Narrow', Impact, sans-serif; font-size: clamp(35px, 4vw, 54px); line-height: 1.0;  letter-spacing: 0.02em; text-transform: uppercase; font-weight: 400; }
h3, .disp-sm { font-family: 'Teko', 'Arial Narrow', Impact, sans-serif; font-size: clamp(27px, 3vw, 38px); line-height: 1.05; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 400; }
h4 { font-family: 'Teko', sans-serif; font-size: 24px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 400; }
h5 { font-family: 'Teko', sans-serif; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
p { margin: 0 0 14px; }

.eyebrow { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin: 0 0 6px; }
.eyebrow.green, .eyebrow.signal { color: var(--signal); }
.eyebrow.mark { color: var(--mark); }
.eyebrow.live, .eyebrow.now { color: var(--sacrament); }
.section.dark .eyebrow { color: var(--signal); }
.section.dark .eyebrow.live, .section.dark .eyebrow.now,
.dark-scope .eyebrow.live, .dark-scope .eyebrow.now {
  color: var(--sacrament-glow);
}

/* ── SACRAMENT spot accent utility classes ────────────
   Reserved for LIVE / NEW / NOW moments only. Max 3 on screen.
   Use .live for active states. .now for imminent releases.
   Never apply to body text, never to a fill larger than a pill. */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sacrament);
  vertical-align: middle;
  animation: potshLivePulse 1.6s ease-in-out infinite;
}
.section.dark .live-dot, .dark-scope .live-dot { background: var(--sacrament-glow); }

.tag-new {
  display: inline-block;
  background: var(--sacrament);
  color: var(--page-inverse);
  font-family: 'Teko', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}

.date-marker {
  color: var(--sacrament);
  font-family: 'Teko', sans-serif;
  font-weight: 600;
}
.section.dark .date-marker, .dark-scope .date-marker { color: var(--sacrament-glow); }

@keyframes potshLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.7); }
}

blockquote { font-family: 'Teko', sans-serif; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.15; letter-spacing: 0.02em; text-transform: uppercase; margin: 16px 0 16px; padding-left: 16px; border-left: 3px solid var(--accent); }

/* ── Layout ─────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: var(--pad-desktop) 0; border-bottom: 1px solid var(--rule); }
.section.dark { background: var(--ink); color: var(--page-inverse); border-bottom-color: #222; }
.section.dark p { color: var(--graphite-inverse); }
.section.dark a { color: var(--page-inverse); }
.section.canvas { background: var(--canvas); }
.section.warm { background: var(--warm); }
.section.tight { padding: 48px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-asym { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

/* ── Buttons ──────────────────────────────────
   PRESS RUN button system:
   - .btn          → ink-filled primary. Solid black, cream text. The default for "do this now."
   - .btn.ghost    → underline-only tertiary. No box. For secondary nav.
   - .btn.dark     → on-ink ink-filled flips to cream-filled with ink text.
   - .btn.green    → legacy class kept for compat — same as .btn (ink-filled).
   - .btn.sacrament → reserved for live-status only (NEW, NOW STREAMING). Three per page max. */
.btn { display: inline-block; background: var(--ink); color: var(--recycled-inverse); font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 22px; font-size: 15px; border: 1px solid var(--ink); cursor: pointer; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.btn:hover { background: var(--charcoal); border-color: var(--charcoal); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.btn.ghost { background: transparent; color: var(--ink); border: 0; padding: 14px 0; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.btn.ghost:hover { background: transparent; color: var(--ink); text-decoration-thickness: 2px; transform: none; box-shadow: none; }
.btn.dark { background: var(--page-inverse); color: var(--ink); border-color: var(--page-inverse); }
.btn.dark:hover { background: var(--recycled); border-color: var(--recycled); color: var(--ink); }
.btn.green { background: var(--ink); color: var(--recycled-inverse); border-color: var(--ink); }
.btn.green:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--recycled-inverse); }
.btn.sacrament { background: var(--sacrament); color: var(--page-inverse); border-color: var(--sacrament); }
.btn.sacrament:hover { background: var(--ink); border-color: var(--ink); color: var(--sacrament-glow); }
.btn.disabled, .btn[disabled] { opacity: 0.4; cursor: not-allowed; pointer-events: none; box-shadow: none; transform: none; }
/* On dark sections, primary buttons flip to cream-on-ink-frame */
.section.dark .btn, .dark-scope .btn, .links-page .btn { background: var(--page-inverse); color: var(--ink); border-color: var(--page-inverse); }
.section.dark .btn:hover, .dark-scope .btn:hover, .links-page .btn:hover { background: var(--recycled); border-color: var(--recycled); color: var(--ink); }
.section.dark .btn.ghost, .dark-scope .btn.ghost, .links-page .btn.ghost { background: transparent; color: var(--page-inverse); border: 0; }
.section.dark .btn.ghost:hover, .dark-scope .btn.ghost:hover, .links-page .btn.ghost:hover { color: var(--page-inverse); text-decoration-thickness: 2px; }

/* ── DSP platform-colored buttons (hover paints the brand color) ─── */
.btn.spotify { background: transparent; color: #1DB954; border-color: #1DB954; }
.btn.spotify:hover { background: #1DB954; color: #fff; border-color: #1DB954; }
.btn.apple { background: transparent; color: #FA243C; border-color: #FA243C; }
.btn.apple:hover { background: #FA243C; color: #fff; border-color: #FA243C; }
.btn.iheart { background: transparent; color: #C6002B; border-color: #C6002B; }
.btn.iheart:hover { background: #C6002B; color: #fff; border-color: #C6002B; }
.btn.amazon { background: transparent; color: #00A8E1; border-color: #00A8E1; }
.btn.amazon:hover { background: #00A8E1; color: #fff; border-color: #00A8E1; }
.btn.youtube { background: transparent; color: #FF0000; border-color: #FF0000; }
.btn.youtube:hover { background: #FF0000; color: #fff; border-color: #FF0000; }
.btn.tiktok { background: #000; color: #fff; border-color: #000; }
.btn.tiktok:hover { background: #fff; color: #000; border-color: #000; }

.btn-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }

/* ── Copy-link button (deep-link share) ──────── */
.copy-link-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid var(--rule); color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 4px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.copy-link-btn:hover { color: var(--text); border-color: var(--text); background: #fff; }
.copy-link-btn.copied { color: #fff; background: var(--accent); border-color: var(--accent); }

/* ── Deep-link target sections (clear sticky header on scroll) ─ */
[id^="play-"], [data-deep-link] { scroll-margin-top: 100px; }

/* ── Announcement strip ─────────────────────── */
.ad-strip { background: var(--ink); color: var(--page-inverse); padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; flex-wrap: wrap; }
.ad-strip-copy { font-family: 'Teko', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.ad-strip-cta { color: var(--page-inverse); text-decoration: underline; text-underline-offset: 4px; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }
.ad-strip-cta:hover { text-decoration-thickness: 2px; }
.ad-strip-dismiss { background: transparent; border: 0; color: var(--page-inverse); cursor: pointer; font-size: 14px; padding: 6px 10px; }

/* ── Header / Nav ───────────────────────────── */
.site-header { border-bottom: 1px solid var(--rule); background: #fff; position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 28px; width: auto; }
.main-nav { display: flex; gap: 24px; }
.main-nav a { font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 17px; text-decoration: none; color: var(--text); padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--text); padding: 6px 12px; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; }

/* ── Hero ───────────────────────────────────── */
.hero { padding: 64px 0 52px; }  /* reduced from 96px/80px — 2026-05-24 above-fold audit */
.hero h1 { margin-bottom: 16px; }
.hero p { font-size: 17px; color: #444; max-width: 640px; margin-bottom: 24px; }
.hero.dark { background: var(--dark); color: #fff; }
.hero.dark p { color: #c9c9c9; }
.hero-asym { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-asym img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ── Cards ──────────────────────────────────── */
.artist-card { text-decoration: none; color: var(--text); display: block; }
.artist-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.artist-card .card-lane { font-family: ui-monospace, monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 8px 0 2px; }
.artist-card .card-name { font-family: 'Teko', sans-serif; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0; }
.artist-card .card-genre { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.artist-card.staged { opacity: 0.65; }

.news-card { text-decoration: none; color: var(--text); display: block; }
.news-card img, .news-card .news-placeholder, .news-card video, .news-card-video { width: 100%; aspect-ratio: 16/8; object-fit: cover; object-position: center top; background: #d4d4d4; display: block; }
/* Per-card crop overrides — override top-anchor only where subject is not near the top */
.news-card .card-meta { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); margin: 8px 0 4px; }
.news-card .card-headline { font-family: 'Teko', sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: 0.03em; margin: 0; line-height: 1.1; }
.news-card .card-excerpt { font-size: 13px; color: #555; margin: 6px 0 0; }

.playlist-card { background: var(--canvas); padding: 24px; border: 1px solid var(--rule); }
.playlist-card .pl-cover { width: 100%; aspect-ratio: 1/1; background: linear-gradient(135deg, var(--ink), var(--graphite)); margin-bottom: 16px; }
.playlist-card .pl-cover.gradient-2 { background: linear-gradient(135deg, #0a0a0a, #3a3a3a); }
.playlist-card .pl-cover.gradient-3 { background: linear-gradient(135deg, #c97a4a, #f3c79a); }
.playlist-card .pl-cover.gradient-4 { background: linear-gradient(135deg, #1d4d2d, #6ab06a); }
.playlist-card .pl-cover.gradient-5 { background: linear-gradient(135deg, #2a1a4a, #6e4ac0); }
.playlist-card .pl-cover.gradient-6 { background: linear-gradient(135deg, #6b5b3d, #d9c79a); }
.playlist-card h4 { margin: 0 0 4px; }
.playlist-card p { font-size: 13px; color: #555; margin-bottom: 10px; }

/* ── Featured ad slot (dark inline) ─────────── */
.featured-slot { background: var(--dark); color: #fff; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; }
.featured-slot .tag { font-family: ui-monospace, monospace; font-size: 11px; color: var(--green); letter-spacing: 0.12em; text-transform: uppercase; }
.featured-slot h4 { color: #fff; margin: 8px 0 4px; }
.featured-slot p { color: #c9c9c9; font-size: 13px; }
.featured-slot a { color: var(--green); text-decoration: none; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }

.view-all-tile { border: 1px dashed var(--muted); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text); aspect-ratio: 4/5; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Combos / single module ─────────────────── */
.combos-module { background: var(--warm); border: 2px dashed var(--accent); padding: 32px; display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: start; }
.combos-module .cm-art { width: 140px; height: 140px; object-fit: cover; }
.combos-module h3 { margin: 8px 0 4px; }
.yt-placeholder { background: #111; color: #fff; height: 180px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; margin: 16px 0; }
.yt-placeholder .play { width: 56px; height: 56px; border-radius: 50%; background: #e62b1e; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.yt-placeholder small { color: #888; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.06em; }

/* ── AD-02 Compound band ────────────────────── */
.ad-compound { background: var(--dark); color: #fff; padding: 80px 0; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.ad-compound .grid-2 { gap: 48px; align-items: center; }
.ad-compound h3 { color: #fff; }
.ad-compound p { color: #c9c9c9; }
.ad-compound .editorial-slot { aspect-ratio: 4/3; background: linear-gradient(135deg, #1a1a1a, #2d2d3d); border: 1px solid #2a2a2a; }

/* ── Pre-footer band ────────────────────────── */
.ad-prefooter { background: #000; color: #fff; padding: 56px 0; }
.ad-prefooter-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.ad-prefooter-headline { font-family: 'Teko', sans-serif; font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.0; margin: 0 0 8px; }
.ad-prefooter-sub { color: #aaa; margin: 0; }

/* ── Footer ─────────────────────────────────── */
.site-footer { background: var(--dark); color: #c9c9c9; padding: 64px 0 0; }
.site-footer h5 { color: #fff; }
.site-footer p, .site-footer a, .site-footer li { color: #c9c9c9; font-size: 13px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-credit { color: #888; font-size: 12px; margin-top: 12px; }
.footer-social-link.green { color: var(--green); }
.colophon { border-top: 1px solid #222; padding: 20px 0; font-size: 12px; color: #888; }
.colophon a { color: #888; margin-left: 16px; }

/* ── Forms ──────────────────────────────────── */
[hidden] { display: none !important; }
form { display: flex; flex-direction: column; gap: 12px; }
form[hidden] { display: none !important; }
input[type="text"], input[type="email"], select, textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: #fff;
  width: 100%;
  border-radius: 0;
}
textarea { resize: vertical; }
.form-inline { flex-direction: row; gap: 0; }
.form-inline input { flex: 1; border-right: 0; }
.form-inline button { border: 0; }

/* ── News article ───────────────────────────── */
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: clamp(28px, 3vw, 36px); margin: 40px 0 16px; }
.article-body p { font-size: 17px; line-height: 1.6; margin-bottom: 18px; color: #2a2a2a; }
.article-body em { color: #555; }
.article-body hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
.article-hero { width: 100%; max-height: 540px; object-fit: cover; object-position: center center; }
/* Per-article hero crop overrides */
#girlcode-no-mercy-hero { object-position: center 20%; }
.article-meta { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }

/* ── Filter strip ───────────────────────────── */
.filter-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }  /* reduced from 32px — 2026-05-24 */
.filter-strip button { background: transparent; border: 1px solid var(--rule); padding: 8px 16px; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; cursor: pointer; }
.filter-strip button.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Banner strip (BOY.CODE collab) ─────────── */
.banner-strip { background: var(--accent); color: #fff; padding: 12px 16px; font-family: 'Teko', sans-serif; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; margin-bottom: 16px; }

/* ── Member tile ────────────────────────────── */
.member-tile img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.member-tile h4 { margin: 12px 0 0; text-align: center; }

/* ── Links page ─────────────────────────────── */
.links-page { background: #000; color: #fff; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; font-family: system-ui, sans-serif; }
.links-container { max-width: 400px; width: 100%; text-align: center; }
.links-container .portrait { width: 160px; height: 160px; object-fit: cover; margin: 0 auto 24px; border-radius: 50%; }
.links-container h2 { color: #fff; }
.links-container .eyebrow { color: var(--green); }
.links-container .handle-logo { height: 28px; filter: invert(1); margin: 16px auto 32px; }
.links-stack { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.links-stack .btn { padding: 14px 20px; font-size: 15px; }
.links-page .btn.dark { color: #fff; border-color: #fff; }

/* ── Hero full-bleed image ──────────────────── */
.hero-bleed { width: 100%; aspect-ratio: 16/6; object-fit: cover; }

/* ── Caption ────────────────────────────────── */
.caption { font-family: ui-monospace, monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }

/* ── Helpers ────────────────────────────────── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.flex-between { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

/* ── Merch ad band (full-width dark) ────────── */
.merch-ad-band { background: #0f0f0f; color: #fff; overflow: hidden; border-top: 1px solid #222; border-bottom: 1px solid #222; }
.merch-ad-band-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 340px; }
.merch-ad-band-copy { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.merch-ad-band-copy p { color: #aaa; }
.merch-ad-band-img { overflow: hidden; }
.merch-ad-band-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ── Merch card (inline, warm bg) ───────────── */
.merch-card { background: var(--warm); border: 1px solid var(--rule); display: grid; grid-template-columns: 260px 1fr; align-items: stretch; overflow: hidden; }
.merch-card-img { overflow: hidden; }
.merch-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.merch-card-body { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; }

/* ── Size selector ──────────────────────────── */
.size-select { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 20px; }
.size-select button { background: #fff; border: 1px solid var(--rule); padding: 10px 16px; font-family: 'Teko', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; min-width: 50px; transition: background 0.1s, border-color 0.1s; }
.size-select button:hover { border-color: var(--accent); color: var(--accent); }
.size-select button.selected { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Merch strip (inline announcement) ──────── */
.merch-strip { background: var(--warm); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 18px 0; }
.merch-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.merch-strip-copy { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.merch-strip-copy strong { font-family: 'Teko', sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .hero-asym, .grid-asym { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .merch-card { grid-template-columns: 200px 1fr; }
}
@media (max-width: 768px) {
  .merch-ad-band-inner { grid-template-columns: 1fr; min-height: auto; }
  .merch-ad-band-copy { padding: 40px 28px; }
  .merch-ad-band-img { aspect-ratio: 16/9; }
  .merch-card { grid-template-columns: 1fr; }
  .merch-card-img { aspect-ratio: 16/8; }
  .merch-card-body { padding: 24px 28px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.mobile-2 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: var(--pad-mobile) 0; }
  .hero { padding: 40px 0 32px; }  /* reduced from 56px/48px — 2026-05-24 */
  .ad-prefooter-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 12px 28px 24px; border-bottom: 1px solid var(--rule); }
  .main-nav.nav-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); border-left: 0; }
  .combos-module { grid-template-columns: 1fr; }
  .combos-module .cm-art { width: 100%; height: auto; aspect-ratio: 1/1; }


  /* === Mobile safety net (added 2026-05-20 hotfix) === */
  /* Force any inline-styled grid in a .section or .container to collapse to 1 column */
  .section [style*="display:grid"],
  .section [style*="display: grid"],
  .container [style*="display:grid"],
  .container [style*="display: grid"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Allow inline flex rows to wrap rather than overflow */
  .section [style*="display:flex"],
  .section [style*="display: flex"] {
    flex-wrap: wrap !important;
  }
  /* Final safety net: prevent horizontal scroll on the page regardless of what overflows */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  /* Tame any extra-wide nested grid like the 90px+1fr date-row pattern */
  .section ol[style*="grid"] li {
    grid-template-columns: 1fr !important;
  }


  /* === V3 hotfix (2026-05-20): image-first ordering on mobile === */
  /* Reverse grid-asym / hero-asym children so the image appears FIRST on mobile */
  .grid-asym, .hero-asym {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 24px !important;
  }
  /* Tighten sections with heavy inline padding on mobile (updated 2026-05-24) */
  .section[style*="padding-top:64px"],
  .section[style*="padding-top: 64px"] {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  /* Hero mobile padding is now set directly on .hero above — no override needed (2026-05-24) */
}

/* === Preview buttons — red sacrament treatment (2026-05-20) === */
.preview-btn {
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.preview-btn:hover, .preview-btn:focus {
  background: var(--accent);
  color: #fff !important;
}

/* === Video lightbox (2026-05-20) === */
#video-lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
#video-lightbox[hidden] { display: none !important; }
#video-lightbox .vl-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.92); }
#video-lightbox .vl-frame { position: relative; z-index: 1; width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 8px; }
#video-lightbox .vl-title { color: #fff; font-family: 'Teko', sans-serif; font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; padding: 0 4px; }
#video-lightbox .vl-video { width: 100%; max-height: 80vh; background: #000; border-radius: 6px; display: block; }
#video-lightbox .vl-close { position: absolute; top: -38px; right: -4px; background: transparent; border: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; padding: 4px 8px; }
#video-lightbox .vl-prev,
#video-lightbox .vl-next { position: absolute; top: 40%; transform: translateY(-50%); background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 10px 14px; border-radius: 4px; z-index: 3; transition: background 0.2s; }
#video-lightbox .vl-prev:hover,
#video-lightbox .vl-next:hover { background: rgba(0,0,0,0.85); }
#video-lightbox .vl-prev { left: -56px; }
#video-lightbox .vl-next { right: -56px; }
@media (max-width: 640px) {
  #video-lightbox .vl-prev { left: 6px; top: auto; bottom: 68px; transform: none; }
  #video-lightbox .vl-next { right: 6px; top: auto; bottom: 68px; transform: none; }
}
#video-lightbox .vl-hint { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #888; text-align: center; padding: 4px; }
#video-lightbox .vl-hint.hidden { visibility: hidden; }
body.vl-open { overflow: hidden; }

/* View count badge under preview buttons */
.view-count {
  font-family: ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

/* === Lightbox v2: YouTube-style meta (2026-05-20) === */
#video-lightbox .vl-frame { max-width: 480px; }
#video-lightbox .vl-meta { display: flex; flex-direction: column; gap: 4px; padding: 6px 2px 0; }
#video-lightbox .vl-title { color: #fff; font-family: 'Teko', sans-serif; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; margin: 0; }
#video-lightbox .vl-stats { display: flex; align-items: center; gap: 8px; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #888; }
#video-lightbox .vl-views { color: #ccc; }
#video-lightbox .vl-views::before { content: '\25CF'; color: var(--accent); margin-right: 6px; font-size: 8px; vertical-align: 2px; }
#video-lightbox .vl-sep { color: #555; }
#video-lightbox .vl-hint { color: #888; }
#video-lightbox .vl-hint.hidden { display: none; }
/* Remove old per-button badges if any inline elements exist */
.view-count { display: none !important; }
