/*
Theme Name: Boosie Fan Site
Description: Unofficial fan site theme for Boosie Badazz. Black-and-white photography, blackletter headings, one red. Includes album and song content types, a settings screen for AdSense and affiliate IDs, structured data, and a one-click content importer.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: boosie-fan-site
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face { font-family: 'Archivo'; src: url('assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Pirata One'; src: url('assets/fonts/pirata-one-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('assets/fonts/bodoni-moda-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Mea Culpa'; src: url('assets/fonts/mea-culpa-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
:root { --font-archivo: 'Archivo'; --font-blackletter: 'Pirata One'; --font-serif: 'Bodoni Moda'; --font-script: 'Mea Culpa'; }

:root {
  --black: #0a0a0a;
  --paper: #e9e8e5;
  --red: #a51c1c;
  --red-hot: #f2493f;

  --bg: var(--black);
  --surface: #141414;
  --surface-2: #1c1c1c;
  --fg: #f1efea;
  --muted: #a3a09a;
  --line: #2c2c2c;
  --accent: var(--red-hot); /* red that stays readable as text on black */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --blackletter: var(--font-blackletter), 'Old English Text MT', 'UnifrakturCook', serif;
  --serif: var(--font-serif), 'Bodoni 72', Didot, 'Times New Roman', serif;
  --script: var(--font-script), 'Snell Roundhand', cursive;
  --body: var(--font-archivo), system-ui, -apple-system, 'Segoe UI', sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--band, .theme-paper {
  --bg: var(--paper);
  --surface: #dddcd8;
  --surface-2: #d2d1cc;
  --fg: #0d0d0d;
  --muted: #55524d;
  --line: #bdbbb5;
  --accent: var(--red);
  background: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
/* Film grain over everything, so flat colour reads like print instead of screen. */
body::after { content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; background-image: var(--grain); opacity: 0.16; mix-blend-mode: overlay; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2 { font-family: var(--blackletter); font-weight: 400; line-height: 0.95; margin: 0; text-wrap: balance; letter-spacing: 0.005em; }
h1 { font-size: clamp(3rem, 9vw, 6.6rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
code { font-size: 0.9em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 96px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; border-bottom: 3px solid var(--fg); padding-bottom: 14px; }
.eyebrow { font-family: var(--serif); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lede { color: var(--muted); max-width: 62ch; }
.fineprint { font-size: 0.78rem; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.link-arrow { font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.82rem; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow::after { content: ' →'; }
.script { font-family: var(--script); font-weight: 400; color: var(--accent); line-height: 0.9; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons: square red blocks with serif caps, as on the old site. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 2px solid transparent; border-radius: 0; font-family: var(--serif); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; white-space: nowrap; }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: #fff; color: var(--red); border-color: #fff; }
.section--band .btn--primary:hover, .theme-paper .btn--primary:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn--ghost { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.82rem; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.btn--ghost[aria-disabled='true']:hover { background: transparent; color: var(--fg); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Draft-mode editor UI: highlighter yellow, deliberately off-brand so nobody mistakes it for design. */
.draft-banner { background: #ffd60a; color: #111; font-size: 0.78rem; font-weight: 700; text-align: center; padding: 6px var(--gutter); letter-spacing: 0.04em; position: relative; z-index: 91; }
.chip-verify { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 1px 7px; background: #ffd60a; color: #111; font-family: var(--body); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.6; white-space: nowrap; }
.chip-verify--block { display: block; margin: 10px 0 0; white-space: normal; text-align: center; padding: 6px 10px; }
.draft-note { border-left: 6px solid #ffd60a; padding: 14px 18px; margin-block: 24px; background: rgba(255, 214, 10, 0.1); font-size: 0.92rem; }
.draft-note__title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; margin-bottom: 6px; }
.draft-note ul { list-style: disc; padding-left: 20px; }
.draft-note p:last-child { margin-bottom: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { font-family: var(--blackletter); font-size: 2.1rem; text-decoration: none; line-height: 1; white-space: nowrap; color: var(--fg); }
.logo span { color: var(--accent); }
.logo:hover { color: var(--fg); }
.site-nav { margin-left: auto; min-width: 0; }
.site-nav ul { display: flex; gap: clamp(14px, 2.4vw, 30px); }
.site-nav a { font-family: var(--serif); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 10px 0; display: block; }
@media (max-width: 760px) {
  .site-header__in { flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .site-header__cta { margin-left: auto; }
  .site-nav { order: 3; width: 100%; margin: 0; }
  .site-nav ul { gap: 0; justify-content: space-between; padding-block: 2px; }
  .site-nav a { padding: 12px 0; font-size: 0.76rem; letter-spacing: 0.08em; }
}

/* Home hero: the portrait is the page. Type sits on the washed-out sky to its right. */
.hero { position: relative; background: #d6d6d4; color: #0d0d0d; overflow: hidden; --fg: #0d0d0d; --bg: #d6d6d4; --accent: var(--red); --line: #a9a8a4; --muted: #45433f; }
.hero__photo { position: relative; width: 100%; aspect-ratio: 800 / 800; overflow: hidden; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.hero__photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 34%; background: linear-gradient(to top, #d6d6d4 12%, transparent); }
.hero__credit { position: relative; margin: 0; padding: 0 var(--gutter) 14px; font-size: 0.7rem; color: #55524d; text-align: center; }
.hero__credit a:hover { color: var(--red); }
.hero__body { position: relative; padding: 0 var(--gutter) clamp(32px, 6vw, 56px); margin-top: -64px; text-align: center; }
.hero__title { font-size: clamp(3.4rem, 15vw, 5.2rem); line-height: 0.9; }
.hero__script { display: block; font-size: clamp(3.4rem, 15.5vw, 5.6rem); margin: 10px 0 22px; white-space: nowrap; }
.hero__lede { font-size: 1.05rem; max-width: 34ch; margin: 0 auto 22px; color: #26241f; }
.hero__cta { display: grid; gap: 10px; max-width: 420px; margin-inline: auto; }
.hero__cta .btn { width: 100%; min-height: 54px; font-size: 1.02rem; }
@media (min-width: 900px) {
  .hero { min-height: min(86vh, 860px); display: grid; align-items: center; }
  .hero__photo { position: absolute; inset: 0 auto 0 0; width: 68%; aspect-ratio: auto; }
  .hero__photo img { object-position: 100% 0; }
  .hero__photo::after { display: none; }
  .hero__credit { position: absolute; left: 0; bottom: 0; text-align: left; padding: 6px 12px 6px var(--gutter); background: rgba(214, 214, 212, 0.88); }
  .hero__body { margin: 0 0 0 auto; width: min(31%, 440px); padding: 72px var(--gutter) 72px 0; box-sizing: content-box; }
  .hero__title { font-size: clamp(3.6rem, 5.6vw, 5.4rem); }
  .hero__script { font-size: clamp(3.6rem, 5.4vw, 5.6rem); }
  .hero__body { text-align: center; }
}

.marquee { background: var(--red); color: #fff; overflow: hidden; border-block: 3px solid var(--black); }
.marquee__track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.marquee__track span { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 10px 22px; white-space: nowrap; }
.marquee__track span::after { content: '✕'; margin-left: 44px; opacity: 0.7; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } html { scroll-behavior: auto; } }

/* Page hero: black slab, red rule */
.page-hero { position: relative; padding-block: clamp(28px, 5vw, 56px) clamp(32px, 5vw, 64px); border-bottom: 6px solid var(--red); background: linear-gradient(180deg, #161616, var(--black)); }
.page-hero h1 { font-size: clamp(3rem, 8.5vw, 6.2rem); max-width: 15ch; }
.page-hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 60ch; margin: 20px 0 0; color: #d6d3cd; }
.page-hero .btn-row, .page-hero .listen { margin-top: 26px; }
.crumbs { margin-bottom: 22px; font-size: 0.8rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: '/'; margin: 0 8px; opacity: 0.5; }
.crumbs a { text-decoration: none; }

/* Prose + layout */
.prose { max-width: 70ch; }
.prose h2 { margin: 1.5em 0 0.45em; scroll-margin-top: 90px; }
.prose h3 { margin: 1.5em 0 0.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: square; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 0.35em; }
.prose li::marker { color: var(--accent); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1fr) 340px; } }
.aside { display: grid; gap: 20px; }
@media (min-width: 960px) { .aside { position: sticky; top: 92px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 22px; }
.panel h2 { font-size: 2rem; margin-bottom: 12px; }
.panel h3 { margin-bottom: 10px; }
.panel p:last-child { margin-bottom: 0; }

/* Quick facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); border-top: 4px solid var(--red); overflow: hidden; background: var(--surface); margin: 0; }
.facts > div { padding: 16px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin: 0 -1px -1px 0; }
.facts dt { font-family: var(--serif); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.facts .big { font-family: var(--blackletter); font-weight: 400; font-size: 3rem; line-height: 0.9; }

/* Timeline */
.timeline { border-left: 3px solid var(--fg); margin: 8px 0 24px 6px; padding-left: 22px; }
.timeline li { position: relative; padding-bottom: 22px; }
.timeline li::before { content: ''; position: absolute; left: -31px; top: 9px; width: 13px; height: 13px; background: var(--red); }
.timeline__year { font-family: var(--blackletter); font-size: 1.9rem; color: var(--accent); line-height: 1; display: block; }
.timeline p { margin: 4px 0 0; }

/* Cards + covers */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.card { display: block; text-decoration: none; }
.card .cover { transition: transform 0.2s, box-shadow 0.2s; }
.card:hover .cover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--red); }
.card__title { display: block; margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.15; }
.card__meta { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--muted); line-height: 1.35; }
/* Placeholder covers: photocopied flyer tiles in black, paper or red. */
.cover { position: relative; aspect-ratio: 1; width: 100%; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 9%; container-type: inline-size; isolation: isolate; border: 1px solid #2c2c2c; }
.cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: 0.55; mix-blend-mode: multiply; }
.cover--ink { background: #0d0d0d; color: #f1efea; }
.cover--ink::before { mix-blend-mode: screen; opacity: 0.35; }
.cover--paper { background: #dedcd6; color: #0d0d0d; border-color: #0d0d0d; }
.cover--red { background: var(--red); color: #fff; border-color: var(--red); }
.cover__tag { font-family: var(--serif); font-weight: 700; font-size: max(4.4cqi, 0.56rem); letter-spacing: 0.18em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 8px; border-bottom: 0.9cqi solid currentColor; padding-bottom: 3cqi; }
.cover__title { font-family: var(--blackletter); font-size: 19cqi; line-height: 0.86; overflow-wrap: anywhere; }
.cover__title--long { font-size: 14.5cqi; }
.cover--ink .cover__tag span:last-child, .cover--paper .cover__tag span:last-child { color: var(--red-hot); }
.cover--paper .cover__tag span:last-child { color: var(--red); }
.cover--img { padding: 0; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.cover-lg { max-width: 420px; }

/* Listen buttons */
.listen__list { display: flex; flex-wrap: wrap; gap: 10px; }
.dsp { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 2px solid var(--fg); background: transparent; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dsp:hover { background: var(--red); border-color: var(--red); color: #fff; }
.dsp__dot { width: 9px; height: 9px; background: var(--accent); flex: none; }
.dsp:hover .dsp__dot { background: #fff; }

/* Tour */
.tour { border-top: 1px solid var(--line); }
.section-head + .tour { border-top: 0; }
.tour__row { display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tour__date { text-align: center; line-height: 1; background: var(--red); color: #fff; padding: 8px 4px 6px; }
.tour__month { display: block; font-family: var(--serif); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; }
.tour__day { display: block; font-family: var(--blackletter); font-size: 2.3rem; margin-top: 2px; }
.tour__city { display: block; font-family: var(--blackletter); font-size: 1.9rem; line-height: 1; }
.tour__venue { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 5px; }
@media (max-width: 520px) { .tour__row { grid-template-columns: 60px minmax(0, 1fr); } .tour__row > .btn { grid-column: 2; justify-self: start; } }
.empty { border: 1px solid var(--line); border-top: 4px solid var(--red); padding: clamp(24px, 4vw, 40px); background: var(--surface); }
.empty__title { font-family: var(--blackletter); font-size: 2.4rem; line-height: 1; margin-bottom: 10px; }

/* Merch */
.merch__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .merch__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.merch__tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 18px; text-decoration: none; overflow: hidden; background: #0d0d0d; color: #f1efea; border: 2px solid #0d0d0d; transition: transform 0.2s, box-shadow 0.2s; }
.merch__tile::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.4; mix-blend-mode: screen; }
.merch__tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--red); color: #fff; }
.merch__tile--1, .merch__tile--2 { background: var(--red); border-color: var(--red); }
@media (min-width: 860px) { .merch__tile--2 { background: #0d0d0d; border-color: #0d0d0d; } .merch__tile--3 { background: var(--red); border-color: var(--red); } }
:not(.section--band) > .wrap .merch__tile:not(.merch__tile--1):not(.merch__tile--3) { border-color: #3a3a3a; }
.merch__label { position: relative; font-family: var(--blackletter); font-size: 2.6rem; line-height: 0.95; }
.merch__line { position: relative; font-size: 0.86rem; opacity: 0.85; margin-top: 6px; }

/* Signup */
.signup { display: grid; gap: 28px; grid-template-columns: 1fr; background: var(--red); color: #fff; padding: clamp(24px, 4.5vw, 52px); scroll-margin-top: 90px; position: relative; --fg: #fff; --accent: #fff; --muted: #f3d9d7; }
.signup::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.35; mix-blend-mode: multiply; pointer-events: none; }
.signup > * { position: relative; }
@media (min-width: 900px) { .signup { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.signup h2 { margin-bottom: 14px; }
.signup__copy p { max-width: 44ch; margin: 0; }
.signup__form { display: grid; gap: 12px; }
.signup .btn--primary { background: var(--black); border-color: var(--black); }
.signup .btn--primary:hover { background: #fff; color: var(--black); border-color: #fff; }
.signup a:hover { color: #fff; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--serif); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 0; border: 2px solid #3a3a3a; background: #f4f2ee; color: #0d0d0d; font: inherit; font-size: 1rem; }
.signup .field input { border-color: var(--black); }
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #77736c; }
.form { display: grid; gap: 14px; }
@media (min-width: 640px) { .form--2 { grid-template-columns: 1fr 1fr; } .form--2 .span-2 { grid-column: 1 / -1; } }

/* FAQ */
.faq h2 { margin-bottom: 18px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 1.6rem; color: var(--accent); font-weight: 400; }
.faq__item[open] summary::after { content: '–'; }
.faq__a { padding: 0 0 18px; max-width: 68ch; }

/* Ads */
.ad-slot { display: flex; align-items: center; justify-content: center; margin-block: 32px; overflow: hidden; contain: layout paint; }
.ad-slot:not(:has(ins)) { border: 1px dashed var(--line); background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(128, 128, 128, 0.07) 12px 24px); }
.ad-slot__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* Video */
.video { position: relative; display: flex; align-items: flex-end; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; text-decoration: none; padding: 20px; border: 2px solid #2c2c2c; background: #0d0d0d; color: #f1efea; }
.video::before { content: ''; position: absolute; inset: 0; background: var(--grain), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 5px); opacity: 0.8; }
.video--thumb { padding: 0; }
.video--thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.video:hover img { filter: none; }
.video__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 76px; height: 76px; background: var(--red); transition: scale 0.2s; }
.video__play::after { content: ''; position: absolute; left: 53%; top: 50%; translate: -50% -50%; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
.video:hover .video__play { scale: 1.08; }
.video:hover { color: #fff; }
.video__label { position: relative; font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(0.9rem, 1.6vw, 1.15rem); line-height: 1.1; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-top: 4px solid var(--red); }
table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { font-family: var(--serif); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: var(--surface); white-space: nowrap; }
td a { font-weight: 700; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Lists of links */
.linklist { columns: 2; column-gap: 28px; }
@media (min-width: 720px) { .linklist { columns: 3; } }
.linklist li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); }
.linklist a { text-decoration: none; font-weight: 600; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tile { display: block; text-decoration: none; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); transition: transform 0.2s, box-shadow 0.2s; }
a.tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--red); color: var(--fg); }
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.stat { font-family: var(--blackletter); font-size: clamp(3rem, 6vw, 4.4rem); line-height: 0.9; color: var(--accent); display: block; margin-bottom: 6px; }
.search { margin-bottom: 26px; max-width: 460px; }

/* Footer */
.site-footer { border-top: 6px solid var(--red); background: var(--black); padding-block: clamp(40px, 6vw, 72px) 32px; overflow: hidden; }
.site-footer__mark { font-family: var(--blackletter); font-size: clamp(3.6rem, 15vw, 12rem); line-height: 0.85; color: var(--fg); margin: 0 0 36px; white-space: nowrap; }
.site-footer__cols { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }
.site-footer h2 { font-family: var(--serif); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.site-footer__cols a { text-decoration: none; display: block; padding: 6px 0; color: #d6d3cd; }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 36px; }
.site-footer__legal { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.site-footer__legal p { margin-bottom: 6px; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 10px; }

/* Fan-site labelling */
.logo small { font-family: var(--serif); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.site-footer__disclaimer { color: #d6d3cd; max-width: 78ch; font-size: 0.9rem; }
.site-footer__disclaimer strong { color: #fff; }
.sources { font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 32px; }
.photo { margin: 0 0 28px; }
.photo img { width: 100%; filter: grayscale(1) contrast(1.05); border: 1px solid var(--line); }
.photo figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.pullquote { border-left: 6px solid var(--red); padding: 4px 0 4px 18px; margin: 20px 0; font-size: 1.1rem; }
.pullquote cite { display: block; font-style: normal; font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.amazon .fineprint { margin-top: 6px; }

/* WordPress specifics */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prose > .wp-block-heading:first-child { margin-top: 0; }
.prose img { border: 1px solid var(--line); }
.prose .wp-block-image figcaption, .prose figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 8px; }
.prose blockquote { border-left: 6px solid var(--red); padding: 4px 0 4px 18px; margin: 20px 0; font-size: 1.1rem; }
.prose blockquote cite { display: block; font-style: normal; font-size: 0.82rem; color: var(--muted); margin-top: 8px; }
.prose .facts, .prose .table-wrap, .prose .tiles, .prose .grid { margin-block: 20px; }
.post-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.post-meta { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }
.pagination { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border: 2px solid var(--fg); text-decoration: none; font-family: var(--serif); font-weight: 700; padding: 0 10px; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { color: var(--accent); }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; padding-block: 10px; line-height: 1.2; } .dsp { white-space: nowrap; } }
.amazon .fineprint { margin-top: 6px; }
.tour__name { display: block; font-size: 0.86rem; margin-top: 3px; color: var(--fg); }
