/*
Theme Name: Bad Ideas Only on Thursdays
Theme URI: https://badideasonlyonthursday.com
Author: Spread Media Studios / RWS Films
Description: The Thursday Edition: newsprint layout for Reports, Field Reports (podcast) and inventor Dossiers. Needs the Bad Ideas Core plugin.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary. All rights reserved.
Text Domain: bad-ideas
*/

/* Layout: a newsprint broadsheet on paper stock, one fluid column (max 1280px) that stacks at phone width.
   One deliberate look: paper and ink, red for action, yellow for emphasis. */
:root {
  --paper: #EFE6D1;
  --paper-2: #F7F1E3;
  --card: #FFFDF7;
  --ground: #E7DCC4;
  --ink: #1D1B18;
  --ink-soft: #5B5449;
  --rule-soft: #CFC3A8;
  --red: #B81E1B;
  --red-dark: #8F1512;
  --yellow: #F2C230;
  --green: #9CCB86;
  --error-bg: #FBEDEA;
  --on-red: #FFFFFF;
  --display: 'Alfa Slab One', 'Rockwell', 'Roboto Slab', Georgia, serif;
  --label: 'Oswald', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --gutter: clamp(16px, 3.2vw, 40px);
  color-scheme: light;
}

@font-face { font-family: 'Alfa Slab One'; src: url('assets/fonts/alfaslabone.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('assets/fonts/oswald-var.woff') format('woff'); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Libre Caslon Text'; src: url('assets/fonts/librecaslon-var.woff') format('woff'); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Libre Caslon Text'; src: url('assets/fonts/librecaslon-italic-var.woff') format('woff'); font-weight: 400 700; font-style: italic; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: #000; color: #fff; padding: 10px 14px; text-decoration: none; font-family: var(--label); }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tab { font-variant-numeric: tabular-nums; }
.ph { color: var(--ink-soft); }

.sheet { max-width: 1280px; min-height: 100vh; margin: 0 auto; background: var(--paper); padding-block: 28px 0; padding-inline: var(--gutter); display: flex; flex-direction: column; }
.sheet > * { min-width: 0; max-width: 100%; }
.site-main { display: flex; flex-direction: column; gap: 40px; padding-block: 24px 48px; flex: 1 0 auto; }

/* ---------- Shared pieces ---------- */
.eyebrow { font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.eyebrow.red, .red { color: var(--red); }
.btn { display: inline-block; background: var(--red); color: var(--on-red); text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  font-family: var(--label); font-weight: 600; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 20px; line-height: 1.2; }
.btn:hover { background: var(--red-dark); color: var(--on-red); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-quiet { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: 10px 18px; }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-danger { background: var(--ink); }
.stamp { display: inline-block; border: 3px double var(--red); color: var(--red); font-family: var(--label); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; transform: rotate(-3deg); }
.redact { background: var(--ink); color: var(--ink); user-select: none; }
.sect-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; background: var(--ink); color: var(--paper); padding: 10px 18px; }
.sect-h h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 1px; text-transform: uppercase; color: var(--paper); }
.sect-h span, .sect-h a { font-family: var(--label); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); }
.sect-h a { color: var(--paper); }
.block { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.howto { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); max-width: 70ch; }
.crumbs { font-family: var(--label); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; padding-top: 18px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--ink); }
.notice { border: 3px solid var(--ink); background: var(--green); padding: 12px 18px; font-family: var(--label); font-size: 17px; letter-spacing: .5px; margin-top: 18px; }
.notice.is-error { background: var(--error-bg); border-color: var(--red); color: var(--red-dark); }

/* ---------- Studio chrome (Spread Media Studios starter kit) ---------- */
.topbar { position: relative; z-index: 20; height: 38px; padding: 0 clamp(16px, 3.6vw, 48px); background: #000; color: #fff; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.topbar nav { height: 100%; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.topbar a { display: flex; align-items: center; height: 100%; text-decoration: none; color: #fff; }
.topbar .logo-svg { display: block; height: 17px; width: auto; color: #fff; }
.topbar .tb-text { font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.topbar a:hover { opacity: .75; color: #fff; }
.sitefoot { border-top: 3px solid var(--ink); padding: 16px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-family: var(--label); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.sitefoot a { text-decoration: none; }
.studio-foot { margin-inline: calc(-1 * var(--gutter)); }
.studio-foot .legal { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 14px; padding: 10px clamp(16px, 3.6vw, 48px); font: 11px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); }
.studio-foot .legal p { margin: 0; }
.studio-foot .legal nav { display: flex; gap: 14px; flex-wrap: wrap; }
.studio-foot .legal a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.studio-foot .bars { display: grid; grid-template-columns: repeat(8, 1fr); height: clamp(26px, 6vh, 48px); margin: 0; padding: 0; list-style: none; }
.studio-foot .bars li:nth-child(1) { background: #0b0b0b; } .studio-foot .bars li:nth-child(2) { background: #0000ff; }
.studio-foot .bars li:nth-child(3) { background: #00ffff; } .studio-foot .bars li:nth-child(4) { background: #00ff00; }
.studio-foot .bars li:nth-child(5) { background: #ff00ff; } .studio-foot .bars li:nth-child(6) { background: #ff0000; }
.studio-foot .bars li:nth-child(7) { background: #ffffff; } .studio-foot .bars li:nth-child(8) { background: #ffe100; }

/* ---------- Masthead ---------- */
.mast { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; padding-bottom: 12px; }
.mast .logo { text-decoration: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.mast .l1 { font-family: var(--display); font-size: clamp(36px, 5vw, 52px); line-height: 1; color: var(--red); }
.mast .l2 { font-family: var(--label); font-weight: 700; font-size: 16px; letter-spacing: 3px; }
.mast .l3 { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); line-height: 1; }
.mast .ed { font-family: var(--label); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }

/* Front page: the full broadsheet masthead */
.mast-front { display: grid; grid-template-columns: 190px minmax(0, 1fr) 190px; align-items: center; gap: 32px; padding-bottom: 20px; }
.sticker { width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; background: var(--yellow); border-radius: 50%; border: 3px solid var(--ink); transform: rotate(-10deg); padding: 24px; text-align: center;
  font-family: var(--label); font-weight: 700; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.sticker b { color: var(--red); font-weight: 700; }
.mast-title { display: flex; flex-direction: column; align-items: center; text-decoration: none; min-width: 0; }
.mast-title .t1 { margin: 0; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: clamp(52px, 8.2vw, 104px); line-height: .95; letter-spacing: 1px; color: var(--red); }
.mast-title .t2 { display: flex; align-items: center; gap: 16px; width: 100%; justify-content: center; margin-top: 6px; font-family: var(--label); font-weight: 700; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: 4px; }
.mast-title .t2::before, .mast-title .t2::after { content: ""; height: 3px; background: var(--ink); flex-grow: 1; }
.mast-title .t3 { font-family: var(--display); font-size: clamp(40px, 6.6vw, 84px); line-height: 1; letter-spacing: 2px; }
.next-box { width: 190px; height: 190px; background: var(--yellow); border: 3px solid var(--ink); display: flex; align-items: flex-end; gap: 4px; padding: 12px 0 0 14px; overflow: hidden; }
.next-box span { font-family: var(--label); font-weight: 700; font-size: 22px; line-height: 1.05; text-transform: uppercase; align-self: flex-start; }
.next-box img { width: 84px; height: 160px; object-fit: cover; display: block; }
.strip { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 7px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; font-family: var(--label); font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Main navigation ---------- */
.mainnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 3px solid var(--ink); padding: 6px 0; }
.mainnav.is-inner { border-top: 3px solid var(--ink); }
.mainnav .menu-wrap { overflow-x: auto; min-width: 0; scrollbar-width: thin; }
.mainnav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; font-family: var(--label); font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.mainnav a { display: block; text-decoration: none; padding: 10px 12px; }
.mainnav .current-menu-item > a, .mainnav .current_page_item > a, .mainnav .current-menu-parent > a, .mainnav a[aria-current] { background: var(--red); color: var(--on-red); }
.navtools { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.searchform { display: flex; align-items: center; border: 2px solid var(--ink); background: var(--paper-2); height: 44px; }
.searchform .s-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 100%; cursor: pointer; flex-shrink: 0; }
.searchform input[type=search] { border: 0; outline: none; min-height: 0; background: transparent; font-family: var(--label); font-size: 15px; width: 0; padding: 0; height: 100%; color: var(--ink); transition: width .2s; }
.searchform:focus-within input[type=search], .searchform input[type=search]:not(:placeholder-shown), .searchform.is-wide input[type=search] { width: 170px; padding: 0 10px 0 0; }
.searchform:focus-within { outline: 3px solid var(--red); outline-offset: 2px; }
.acct-link { font-family: var(--label); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 2px solid var(--ink); padding: 10px 12px; white-space: nowrap; }
.acct-link:hover { background: var(--ink); color: var(--paper); }

/* ---------- Front page ---------- */
.lead-row { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
.lead { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lead h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6.4vw, 82px); line-height: .98; letter-spacing: 1px; text-transform: uppercase; }
.lead h2 a { text-decoration: none; }
.strap { background: var(--yellow); padding: 8px 16px; font-family: var(--label); font-weight: 700; font-size: clamp(18px, 2.2vw, 28px); letter-spacing: 1px; text-transform: uppercase; align-self: flex-start; }
.lead-fig { position: relative; border: 3px solid var(--ink); margin: 0; }
.lead-fig img { width: 100%; height: 300px; object-fit: cover; display: block; }
.lead-fig .go { position: absolute; right: 0; bottom: 0; background: var(--red); color: var(--on-red); text-decoration: none; font-family: var(--label); font-weight: 600; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; padding: 10px 18px; }
.lead-fig .go:hover { background: var(--red-dark); }
.lead-text { margin: 0; font-size: 17px; line-height: 1.55; column-count: 2; column-gap: 32px; }
.lead-text::first-letter, .dropcap::first-letter { font-family: var(--display); font-size: 44px; float: left; line-height: .9; margin: 4px 8px 0 0; }
.others { display: flex; flex-direction: column; min-width: 0; }
.others h3 { margin: 0 0 4px; background: var(--red); color: var(--on-red); font-family: var(--label); font-weight: 700; font-size: 22px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 14px; }
.other { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ink); text-decoration: none; }
.other img, .other .ph-img { width: 92px; height: 76px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--ink); background: var(--paper-2); }
.other span { font-family: var(--label); font-weight: 700; font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.other.is-pod { background: var(--ink); color: var(--paper); padding-inline: 12px; }
.other.is-pod:hover { color: var(--yellow); }
.other.is-pod .mic { width: 92px; height: 76px; flex-shrink: 0; background: var(--yellow); display: flex; align-items: center; justify-content: center; }
.other.is-pod small { display: block; font-family: var(--label); font-size: 12px; letter-spacing: 2px; color: var(--yellow); text-transform: uppercase; font-weight: 400; margin-bottom: 4px; }

.field-band { border: 3px solid var(--ink); background: var(--paper-2); }
.field-band .sect-h { padding: 12px 20px; }
.field-band .sect-h h2 { font-size: clamp(24px, 2.8vw, 34px); }
.field-body { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 28px; padding: 24px; }
.ep-lede { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ep-lede h3 { margin: 0; font-family: var(--label); font-weight: 700; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; text-transform: uppercase; }
.ep-lede h3 a { text-decoration: none; }
.ep-lede p { margin: 0; font-size: 16px; line-height: 1.5; }
.listen-on { font-family: var(--label); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.dossier-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
.dcard { border: 2px solid var(--ink); background: var(--card); padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dcard-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--label); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.dcard-top b { font-weight: 700; }
.dcard h3 { margin: 0; font-family: var(--label); font-weight: 700; font-size: 24px; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 8px; overflow-wrap: anywhere; }
.dcard h3 a { text-decoration: none; }
.dcard .facts-mini { font-size: 14px; line-height: 1.7; margin: 0; }
.dcard .odds-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--ink); padding-top: 10px; margin-top: auto; }
.dcard .odds-row span { font-family: var(--label); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.dcard .odds-row b { font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--red); }
.dcard .more { font-family: var(--label); font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.followup { border-top: 2px solid var(--ink); padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; }
.followup b { font-family: var(--label); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--yellow); padding: 4px 10px; }

.shop-row { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; }
.mailorder-h { display: flex; flex-wrap: wrap; align-items: stretch; border: 2px solid var(--ink); }
.mailorder-h h2 { margin: 0; background: var(--red); color: var(--on-red); font-family: var(--label); font-weight: 700; font-size: 24px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 16px; }
.mailorder-h span { flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--yellow); font-family: var(--label); font-size: 16px; letter-spacing: 3px; text-transform: uppercase; padding: 10px 8px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 16px; }
.product { display: flex; flex-direction: column; align-items: center; gap: 10px; border: 1px solid var(--ink); padding: 12px; background: var(--paper-2); text-align: center; }
.product img { width: 100%; height: 150px; object-fit: cover; display: block; }
.product h3 { margin: 0; font-family: var(--label); font-weight: 700; font-size: 17px; text-transform: uppercase; }
.classifieds { display: flex; flex-direction: column; gap: 12px; }
.classifieds h2 { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 14px; }
.ad { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 2px solid var(--ink); padding: 14px; text-decoration: none; font-family: var(--label); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.1; background: var(--card); }
.ad small { display: block; font-family: var(--body); font-weight: 400; font-size: 14px; line-height: 1.4; text-transform: none; margin-top: 4px; }
.ad.yellow { background: var(--yellow); }
.ad.green { background: var(--green); }
.ad:hover { color: var(--red-dark); }

.archive-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.archive-tabs { display: flex; align-items: stretch; border: 2px solid var(--ink); flex-wrap: wrap; }
.archive-tabs h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 1px; padding: 10px 20px; border-right: 2px solid var(--ink); }
.archive-tabs a { display: flex; align-items: center; text-decoration: none; font-family: var(--label); font-weight: 700; font-size: 22px; padding: 6px 24px; border-left: 1px solid var(--ink); }
.archive-tabs a:first-of-type { border-left: 0; }
.archive-tabs a[aria-current] { background: var(--red); color: var(--on-red); }

/* ---------- Report (single post) ---------- */
.report-head { display: flex; flex-direction: column; gap: 12px; border-bottom: 3px solid var(--ink); padding-bottom: 20px; }
.report-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 76px); line-height: .98; text-transform: uppercase; }
.report-head .dek { margin: 0; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.45; max-width: 60ch; font-style: italic; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--label); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.report-fig { margin: 0; border: 3px solid var(--ink); }
.report-fig img { display: block; width: 100%; max-height: 520px; object-fit: cover; }
.report-fig figcaption, .wp-element-caption { font-family: var(--label); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 12px; border-top: 1px solid var(--ink); background: var(--paper-2); }
.report-body { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.prose { min-width: 0; font-size: 18px; line-height: 1.65; max-width: 68ch; }
.prose > * { margin-block: 0 1em; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; text-transform: uppercase; margin-top: 1.4em; }
.prose h3 { font-family: var(--label); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; margin-top: 1.2em; }
.prose blockquote, .prose .wp-block-quote { margin: 1.2em 0; padding: 14px 22px; border-left: 6px solid var(--red); background: var(--card); font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; }
.prose blockquote p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose figure { margin: 1.4em 0; }
.prose img { border: 2px solid var(--ink); }
.report-body .prose > p:first-child::first-letter { font-family: var(--display); font-size: 3.2em; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--red); }
.prose a { color: var(--red-dark); }
.prose .wp-block-gallery { gap: 12px; }
.report-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 3px solid var(--ink); padding-top: 14px; margin-top: 1.6em; font-family: var(--label); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.report-nav a { text-decoration: none; }
.side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.artifact { border: 3px solid var(--ink); background: var(--card); }
.artifact .eyebrow { display: block; background: var(--ink); color: var(--paper); padding: 8px 14px; }
.artifact-in { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.artifact-in img { width: 100%; height: 170px; object-fit: cover; display: block; border: 1px solid var(--ink); }
.artifact-in .facts-mini { font-size: 14px; line-height: 1.7; margin: 0; }
.side-list h2 { margin: 0 0 6px; font-family: var(--label); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; border-bottom: 3px solid var(--ink); padding-bottom: 6px; }
.edition-box { border: 3px solid var(--ink); background: var(--yellow); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.edition-box h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.edition-box p { margin: 0; font-size: 15px; line-height: 1.45; }

/* ---------- Lists: Reports, search, archive ---------- */
.page-head { display: flex; flex-direction: column; gap: 10px; border-bottom: 3px solid var(--ink); padding-bottom: 18px; }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.6vw, 72px); line-height: .98; text-transform: uppercase; }
.page-head p { margin: 0; font-size: 17px; max-width: 62ch; }
.report-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.rcard { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.rcard .img { display: block; border: 2px solid var(--ink); aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; max-width: 100%; }
.rcard .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcard h2 { margin: 0; font-family: var(--label); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.rcard h2 a { text-decoration: none; }
.rcard p { margin: 0; font-size: 15px; line-height: 1.5; }
.rcard .meta { font-family: var(--label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--label); font-size: 17px; }
.pagination .page-numbers { display: inline-block; border: 2px solid var(--ink); padding: 6px 14px; text-decoration: none; }
.pagination .current { background: var(--red); border-color: var(--red); color: var(--on-red); }
.edition-group { display: flex; flex-direction: column; gap: 10px; }
.edition-group h2 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; font-family: var(--display); font-weight: 400; font-size: 30px; border-bottom: 3px solid var(--ink); padding-bottom: 6px; scroll-margin-top: 20px; }
.edition-group h2 small { font-family: var(--label); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.edition-items { margin: 0; padding: 0; list-style: none; }
.edition-items li { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.edition-items .kind { font-family: var(--label); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; width: 120px; flex-shrink: 0; color: var(--red); }
.edition-items a { font-family: var(--label); font-weight: 600; font-size: 20px; text-transform: uppercase; text-decoration: none; }

/* ---------- Field Reports ---------- */
.ep-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.ep-art { aspect-ratio: 1; max-width: 100%; border: 3px solid var(--ink); background: var(--yellow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; }
.ep-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-art span { font-family: var(--display); font-size: 30px; line-height: 1; text-align: center; text-transform: uppercase; }
.ep-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ep-info h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: .98; text-transform: uppercase; }
.ep-info .summary { margin: 0; font-size: 18px; line-height: 1.55; max-width: 62ch; }
.ep-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ep-links a { font-family: var(--label); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 2px solid var(--ink); padding: 6px 12px; background: var(--card); }
.ep-links a:hover { background: var(--ink); color: var(--paper); }

.player { display: flex; align-items: center; gap: 14px; border: 2px solid var(--ink); padding: 10px; background: var(--paper); }
.player .play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--red); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.player .play:hover { background: var(--red-dark); }
.player .play[disabled] { background: var(--rule-soft); cursor: not-allowed; }
.player .play .i-pause { display: none; }
.player.is-playing .play .i-play { display: none; }
.player.is-playing .play .i-pause { display: block; }
.player .track { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.player .bar { position: relative; height: 10px; background: var(--rule-soft); cursor: pointer; border: 0; padding: 0; width: 100%; }
.player .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); }
.player .times { display: flex; justify-content: space-between; font-family: var(--label); font-size: 13px; }
.player .note { font-family: var(--label); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-soft); }
.player.is-big .play { width: 64px; height: 64px; }

.ep-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.chapters { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.chapters li { display: flex; gap: 18px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid var(--rule-soft); font-size: 17px; }
.chapters button, .chapters .time { font-family: var(--label); font-weight: 700; font-size: 17px; color: var(--red); background: none; border: 0; padding: 0; cursor: pointer; min-width: 52px; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.chapters button:hover { color: var(--red-dark); }
.vault { border: 3px solid var(--ink); background: var(--card); }
.vault .eyebrow { display: block; background: var(--yellow); padding: 8px 14px; border-bottom: 3px solid var(--ink); }
.vault-in { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.vault-in b { font-family: var(--display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.05; }
.vault-in p { margin: 0; font-size: 15px; line-height: 1.5; }
.dossier-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters a { font-family: var(--label); font-size: 15px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; border: 2px solid var(--ink); padding: 6px 14px; }
.filters a[aria-current] { background: var(--ink); color: var(--paper); }
.ep-list { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--ink); }
.ep-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.ep-row .no { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--red); }
.ep-row .no small { display: block; font-family: var(--label); font-size: 12px; letter-spacing: 2px; color: var(--ink); text-transform: uppercase; }
.ep-row h2 { margin: 0 0 4px; font-family: var(--label); font-weight: 700; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.ep-row h2 a { text-decoration: none; }
.ep-row p { margin: 0; font-size: 15px; line-height: 1.5; }
.ep-row .player-cell { width: 300px; }
.ep-row .tags { font-family: var(--label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Dossier ---------- */
.file { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 3px solid var(--ink); background: var(--card); }
.file-tab { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 10px 18px; border-bottom: 3px solid var(--ink); font-family: var(--label); font-size: 14px; letter-spacing: 2px; text-transform: uppercase; background: var(--paper-2); }
.file-tab b { font-weight: 700; }
.photo { position: relative; border-right: 3px solid var(--ink); min-height: 300px; background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(29, 27, 24, .06) 10px 11px), var(--paper);
  display: flex; align-items: center; justify-content: center; font-family: var(--label); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .stamp { position: absolute; left: 14px; bottom: 16px; background: var(--card); }
.file-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.file-body h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.4vw, 68px); line-height: .98; text-transform: uppercase; overflow-wrap: anywhere; }
.file-body .idea { margin: 0; font-family: var(--label); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 16px; line-height: 1.5; }
.facts dt { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; padding-top: 2px; }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-family: var(--label); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; border: 2px solid var(--ink); padding: 4px 10px; background: var(--green); }
.equation { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr); border: 3px solid var(--ink); background: var(--card); }
.equation .term { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.equation .term.result { background: var(--yellow); }
.equation .term .eyebrow { font-size: 13px; }
.equation .term p { margin: 0; font-size: 17px; line-height: 1.45; overflow-wrap: anywhere; }
.equation .op { display: flex; align-items: center; justify-content: center; padding: 0 10px; border-inline: 3px solid var(--ink); font-family: var(--display); font-size: 40px; color: var(--red); background: var(--paper); }
.package { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 3px solid var(--ink); }
.package .pk { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.package .pk-head { grid-column: 1 / -1; background: var(--card); border-bottom: 3px solid var(--ink); }
.package .pk-head .line { font-family: var(--display); font-size: clamp(30px, 4.4vw, 56px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.package .pk-pitch { background: var(--paper-2); border-right: 3px solid var(--ink); }
.package .pk-dis { background: var(--ink); color: var(--paper); }
.package .pk-dis .eyebrow { color: var(--yellow); }
.package .line { margin: 0; font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
.package .pk-dis .line { font-style: italic; }
.two { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.odds { border: 3px solid var(--ink); background: var(--card); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.odds-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.odds-top .big { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--red); }
.meter { display: flex; height: 22px; border: 2px solid var(--ink); }
.meter .for { background: var(--red); }
.meter .against { background: var(--rule-soft); }
.meter-key { display: flex; justify-content: space-between; font-family: var(--label); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.log-wrap { overflow-x: auto; }
table.log { width: 100%; border-collapse: collapse; font-size: 15px; }
table.log caption { text-align: left; font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; padding-bottom: 8px; }
table.log th { text-align: left; font-family: var(--label); font-weight: 600; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding: 6px 8px; }
table.log td { border-bottom: 1px solid var(--rule-soft); padding: 9px 8px; vertical-align: top; }
table.log td:last-child, table.log th:last-child { text-align: right; white-space: nowrap; }
.ep-mini { display: flex; gap: 16px; align-items: center; border: 2px solid var(--ink); padding: 14px; background: var(--paper-2); }
.ep-mini .t { font-family: var(--label); font-weight: 700; font-size: 20px; text-transform: uppercase; line-height: 1.1; text-decoration: none; }
.ep-mini .s { font-family: var(--label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.ep-mini > div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ep-mini .play { width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.locked { border: 3px dashed var(--ink); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 32px; align-items: start; background: var(--paper-2); }
.locked h2 { margin: 4px 0 0; font-family: var(--label); font-size: 22px; text-transform: uppercase; }
.locked ul { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.locked li { display: flex; gap: 10px; align-items: baseline; }
.locked li .k { font-family: var(--label); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; width: 130px; flex-shrink: 0; }
.unlocked { border: 3px solid var(--ink); background: var(--card); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.unlocked .facts dd { white-space: pre-line; }
.seeking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; border: 3px solid var(--ink); background: var(--yellow); padding: 20px 24px; }
.seeking h2 { margin: 4px 0; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; }
.seeking p { margin: 0; max-width: 60ch; line-height: 1.5; }

/* ---------- Forms: sign-up, questionnaire, account ---------- */
.bi-signup { display: flex; flex-direction: column; gap: 10px; }
.bi-signup-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; }
.bi-signup-row label { grid-column: 1 / -1; font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px; }
.bi-signup-row input { border-right: 0; }
.bi-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.bi-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--red); flex-shrink: 0; }
.bi-status { margin: 0; font-family: var(--label); font-size: 15px; letter-spacing: .5px; min-height: 1.2em; }
.bi-status.is-error, .status.error { color: var(--red); }
.bi-status.is-ok { color: #2F5E22; }
input[type=text], input[type=email], input[type=url], input[type=search], select, textarea {
  width: 100%; font: 16px/1.45 var(--body); color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 0; padding: 10px 12px; }
textarea { resize: vertical; min-height: 76px; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--red) !important; background: var(--error-bg) !important; }

.q-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: end; border-bottom: 3px solid var(--ink); padding-bottom: 22px; }
.q-intro h1 { margin: 6px 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5.6vw, 72px); overflow-wrap: break-word; line-height: .98; text-transform: uppercase; }
.q-intro p { margin: 0; font-size: 17px; line-height: 1.55; max-width: 62ch; }
.formno { border: 3px solid var(--ink); background: var(--card); padding: 12px 16px; font-family: var(--label); text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; display: grid; gap: 4px; }
.formno b { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 1px; color: var(--red); }
.q-work { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.q-form { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.q-form fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.q-form legend { width: 100%; padding: 8px 14px; margin-bottom: 16px; background: var(--ink); color: var(--paper); font-family: var(--label); font-weight: 700; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
.q-form legend span { color: var(--yellow); margin-right: 10px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f > label, .f .lbl { font-family: var(--label); font-weight: 600; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; }
.f label i, .f .lbl i { font-style: normal; font-weight: 400; color: var(--ink-soft); letter-spacing: .5px; text-transform: none; font-family: var(--body); font-size: 14px; }
.f .hint { font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.f .warn { font-family: var(--label); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); min-height: 1em; }
.odds-in { display: flex; align-items: center; gap: 16px; }
.odds-in input { flex: 1; accent-color: var(--red); }
.odds-in output { font-family: var(--display); font-size: 30px; color: var(--red); min-width: 3.4em; text-align: right; }
.checks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.checks label { display: flex; gap: 10px; align-items: flex-start; }
.checks input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex-shrink: 0; }
.chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.chipset label { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); padding: 6px 10px; background: var(--paper-2); font-family: var(--label); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.chipset input { accent-color: var(--red); }
.send { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.status { font-family: var(--label); font-size: 15px; letter-spacing: .5px; }
.preview { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.admin-bar .preview { top: 48px; }
.pv-tab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; border: 3px solid var(--ink); border-bottom: 0; background: var(--paper-2); padding: 10px 16px; font-family: var(--label); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.pv-file { border: 3px solid var(--ink); background: var(--card); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.pv-file .nm { font-family: var(--display); font-size: 30px; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.pv-file .id { font-family: var(--label); font-size: 16px; text-transform: uppercase; overflow-wrap: anywhere; }
.preview .equation { grid-template-columns: minmax(0, 1fr); }
.preview .equation .op { border-inline: 0; border-block: 3px solid var(--ink); padding: 0; font-size: 24px; }
.preview .equation .term { padding: 10px 14px; }
.preview .equation .term p { font-size: 15px; }
.preview .package { grid-template-columns: minmax(0, 1fr); }
.preview .package .pk { padding: 12px 14px 14px; gap: 6px; }
.preview .package .pk-head .line { font-size: clamp(22px, 2.6vw, 32px); }
.preview .package .pk-pitch { border-right: 0; border-bottom: 3px solid var(--ink); }
.preview .package .line { font-size: 15px; }
.empty { color: var(--ink-soft); font-style: italic; }
.pk-dis .empty { color: var(--rule-soft); }
.pv-note { font-size: 14px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.done { border: 3px solid var(--ink); background: var(--green); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.done h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 34px; text-transform: uppercase; }
.done p { margin: 0; line-height: 1.5; }
.done .ref { font-family: var(--label); font-size: 20px; letter-spacing: 1px; }

.panel { border: 3px solid var(--ink); background: var(--card); padding: clamp(18px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.panel h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.4vw, 52px); line-height: 1; text-transform: uppercase; }
.panel p { margin: 0; line-height: 1.55; }
.bi-account-facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 18px; margin: 0; }
.bi-account-facts dt { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.bi-account-facts dd { margin: 0; overflow-wrap: anywhere; }
.bi-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bi-account-actions form { margin: 0; }
.bi-account-delete { border-top: 1px dashed var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.not-found { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mast-front { grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 20px; }
  .sticker, .next-box { width: 150px; height: 150px; }
  .sticker { font-size: 20px; padding: 18px; }
  .next-box span { font-size: 17px; }
  .next-box img { width: 64px; height: 124px; }
  .field-body { grid-template-columns: minmax(0, 1fr); }
  .report-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .lead-row, .shop-row, .report-body, .ep-body, .ep-hero, .two, .q-work, .file, .locked, .q-intro { grid-template-columns: minmax(0, 1fr); }
  .photo { border-right: 0; border-bottom: 3px solid var(--ink); min-height: 220px; }
  .ep-art { max-width: 260px; }
  .preview { position: static; }
  .lead-text { column-count: 1; }
}
@media (max-width: 760px) {
  .mast-front { grid-template-columns: minmax(0, 1fr); }
  .sticker, .next-box { display: none; }
  .equation { grid-template-columns: minmax(0, 1fr); }
  .equation .op { border-inline: 0; border-block: 3px solid var(--ink); padding: 2px 0; font-size: 30px; }
  .package { grid-template-columns: minmax(0, 1fr); }
  .package .pk-pitch { border-right: 0; border-bottom: 3px solid var(--ink); }
  .mainnav { flex-wrap: wrap; }
  .mainnav .menu-wrap { width: 100%; }
  .mainnav ul { font-size: 15px; }
  .mainnav a { padding: 8px 12px; }
  .navtools { width: 100%; }
  .searchform { flex: 1; }
  .searchform input[type=search] { width: 100%; padding: 0 10px 0 0; }
  .products, .dossier-cards { grid-template-columns: minmax(0, 1fr); }
  .report-list { grid-template-columns: minmax(0, 1fr); }
  .lead-fig img { height: 220px; }
  .ep-row { grid-template-columns: 70px minmax(0, 1fr); }
  .ep-row .no { font-size: 30px; }
  .ep-row .player-cell { grid-column: 1 / -1; width: auto; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .archive-tabs h2 { width: 100%; border-right: 0; border-bottom: 2px solid var(--ink); }
}
@media (max-width: 480px) {
  .facts, .bi-account-facts { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .facts dd, .bi-account-facts dd { margin-bottom: 8px; }
  .locked li { flex-direction: column; gap: 0; }
  .bi-signup-row { grid-template-columns: minmax(0, 1fr); }
  .bi-signup-row input { border-right: 2px solid var(--ink); }
  .bi-signup-row .btn { margin-top: 8px; }
  .other span { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .mainnav, .studio-foot .bars, .player, .locked, .seeking { display: none !important; } .sheet { max-width: none; } }

/* Compact sign-up (narrow sidebars): stack the field and the button. */
.bi-signup.is-compact .bi-signup-row { grid-template-columns: minmax(0, 1fr); }
.bi-signup.is-compact .bi-signup-row input { border-right: 2px solid var(--ink); }
.bi-signup.is-compact .bi-signup-row .btn { margin-top: 8px; }

/* Libre Caslon's italic has long-s ligatures (ſt); keep modern spelling. */
em, i, cite, .dek, .package .pk-dis .line, .empty { font-variant-ligatures: no-common-ligatures no-discretionary-ligatures no-historical-ligatures; font-feature-settings: "liga" 0, "dlig" 0, "hlig" 0; }
.sheet > .studio-foot { max-width: none; }

/* ======================================================================
   v1.1 · October 16, 2026
   The Thursday Generator box, The Wire / The Evidence Room, page templates and block styles.
   ====================================================================== */

/* ---------- The Thursday Generator box (top of the right-hand column) ---------- */
.gen-box { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; min-width: 0; }
.gen-box-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; background: var(--ink); color: var(--yellow); font-family: var(--label); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; padding: 8px 14px; }
.gen-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px var(--yellow); flex-shrink: 0; }
.gen-box .bad-ideas-thursday { min-height: 200px; }
.gen-box-link { align-self: flex-end; font-family: var(--label); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.side .gen-box { margin-bottom: 0; }

/* ---------- The Wire and The Evidence Room ---------- */
.app-head h1 { font-size: clamp(42px, 6vw, 80px); }
.app-intro { font-size: 18px; line-height: 1.55; max-width: 68ch; }
.app-intro > * { margin: 0 0 .6em; }
.app-frame { border: 3px solid var(--ink); background: #fff; box-shadow: 8px 8px 0 var(--ink); margin-right: 8px; }
.app-frame iframe { display: block; width: 100%; border: 0; background: #fff; min-height: 600px; }
.app-alt { margin: -16px 0 0; text-align: right; font-family: var(--label); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.app-page { gap: 28px; }

/* ---------- Page templates: Wide layout and With sidebar ---------- */
.is-wide .page-head-x { align-items: center; text-align: center; }
.is-wide .page-head-x .dek { margin-inline: auto; }
.entry-wide { max-width: none; counter-reset: bi-num; }
.entry-wide > * { max-width: 720px; margin-inline: auto; }
.entry-wide > .alignwide { max-width: 1120px; }
.entry-wide > .alignfull { max-width: none; margin-inline: calc(-1 * var(--gutter)); }
.entry-side { max-width: none; counter-reset: bi-num; }
.prose { counter-reset: bi-num; }
.prose > .alignfull, .prose > .alignwide { margin-block: 2em; }
.prose .alignright { float: right; width: min(46%, 340px); margin: .3em 0 1em 28px; }
.prose .alignleft { float: left; width: min(46%, 340px); margin: .3em 28px 1em 0; }
.prose .alignright img, .prose .alignleft img { width: 100%; }
.prose > h2, .prose > hr, .prose > .wp-block-columns, .prose > .wp-block-group, .prose > .wp-block-cover { clear: both; }
.prose img { display: block; max-width: 100%; height: auto; }

/* Core blocks, newsprint style */
.prose .wp-block-image { margin-block: 1.4em; }
.prose .wp-block-image figcaption, .prose .wp-block-gallery figcaption { margin: 0; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { background: var(--ink); color: var(--paper); font-family: var(--label); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 8px; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image img { border: 2px solid var(--ink); }
.prose .wp-block-pullquote { margin: 1.6em 0; padding: 22px 0; border-block: 4px solid var(--ink); text-align: center; }
.prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; background: none; }
.prose .wp-block-pullquote p { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.08; color: var(--red); margin: 0; text-transform: uppercase; }
.prose .wp-block-pullquote cite { display: block; margin-top: 12px; font-family: var(--label); font-style: normal; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink); }
.prose .wp-block-pullquote.alignright, .prose .wp-block-pullquote.alignleft { width: min(44%, 320px); padding: 16px 0; text-align: left; }
.prose .wp-block-pullquote.alignright p, .prose .wp-block-pullquote.alignleft p { font-size: clamp(22px, 2.4vw, 28px); }
.prose .wp-block-quote cite { display: block; margin-top: 8px; font-family: var(--label); font-style: normal; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.prose .wp-block-cover { border: 3px solid var(--ink); padding: clamp(24px, 5vw, 64px); }
.prose .wp-block-cover.alignfull { border-inline: 0; }
.prose .wp-block-cover .wp-block-cover__inner-container > * { margin-block: 0 .5em; }
.prose .wp-block-cover h2 { font-size: clamp(36px, 6vw, 78px); line-height: .95; margin: 0 0 .2em; color: #fff; }
.prose .wp-block-cover p { font-size: clamp(17px, 1.6vw, 21px); }
.prose .wp-block-cover .is-style-kicker { color: var(--yellow); }
.prose .wp-block-media-text { border: 3px solid var(--ink); background: var(--card); margin-block: 1.6em; }
.prose .wp-block-media-text .wp-block-media-text__media img { border: 0; }
.prose .wp-block-media-text .wp-block-media-text__content { padding: 22px 26px; }
.prose .wp-block-media-text .wp-block-media-text__content > * { margin-block: 0 .7em; }
.prose .wp-block-media-text .wp-block-media-text__content > h2:first-child, .prose .wp-block-media-text .wp-block-media-text__content > h3:first-child { margin-top: 0; }
.prose .wp-block-columns { gap: 28px; margin-block: 1.6em; }
.prose .wp-block-column > * { margin-block: 0 .8em; }
.prose .wp-block-column > h3 { margin-top: .4em; }
.prose .wp-block-buttons { gap: 10px; margin-block: 1.2em; }
.prose .wp-block-button__link { background: var(--red); color: var(--on-red); border-radius: 0; font-family: var(--label); font-weight: 600; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; padding: 12px 22px; text-decoration: none; }
.prose .wp-block-button__link:hover { background: var(--red-dark); color: var(--on-red); }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.prose .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--paper); }
.prose .wp-block-separator { border: 0; border-top: 3px solid var(--ink); margin: 2em auto; opacity: 1; }
.prose .wp-block-separator.is-style-dots { border: 0; text-align: center; }
.prose .wp-block-separator.is-style-dots::before { content: "\2605  \2605  \2605"; color: var(--red); font-size: 18px; letter-spacing: 10px; }
.prose .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--card); border: 3px solid var(--ink); }
.prose .wp-block-table th { text-align: left; background: var(--ink); color: var(--paper); font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 12px; }
.prose .wp-block-table td { border-bottom: 1px solid var(--rule-soft); padding: 9px 12px; }
.prose .wp-block-table figcaption { border: 0; background: none; padding: 6px 0; }


/* Colour palette classes (the editor's Ink, Paper, Red, Yellow, Green), used by covers and any block coloured in the editor. */
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-paper-color { color: var(--paper); } .has-paper-background-color { background-color: var(--paper); }
.has-red-color { color: var(--red); } .has-red-background-color { background-color: var(--red); }
.has-yellow-color { color: var(--yellow); } .has-yellow-background-color { background-color: var(--yellow); }
.has-green-color { color: var(--green); } .has-green-background-color { background-color: var(--green); }

/* Block styles (editor: select a block > Styles) */
.prose .is-style-callout { background: var(--yellow); border: 3px solid var(--ink); padding: 20px 24px; margin-block: 1.6em; }
.prose :is(.is-style-callout, .is-style-callout > .wp-block-group__inner-container) > :not(.wp-block-group__inner-container) { margin-block: 0 .6em; }
.prose :is(.is-style-callout, .is-style-callout > .wp-block-group__inner-container) > :last-child:not(.wp-block-group__inner-container), .prose :is(.is-style-fact-box, .is-style-fact-box > .wp-block-group__inner-container) > :last-child:not(.wp-block-group__inner-container), .prose :is(.is-style-ink-band, .is-style-ink-band > .wp-block-group__inner-container) > :last-child:not(.wp-block-group__inner-container), .prose :is(.is-style-clipping, .is-style-clipping > .wp-block-group__inner-container) > :last-child:not(.wp-block-group__inner-container) { margin-bottom: 0; }
.prose .is-style-callout h2, .prose .is-style-callout h3 { margin-top: 0; }
.prose .is-style-fact-box { background: var(--card); border: 3px solid var(--ink); padding: 0 20px 18px; margin-block: 1.6em; font-size: 16px; }
.prose :is(.is-style-fact-box, .is-style-fact-box > .wp-block-group__inner-container) > :not(.wp-block-group__inner-container) { margin-block: 0 .6em; }
.prose :is(.is-style-fact-box, .is-style-fact-box > .wp-block-group__inner-container) > :first-child:not(.wp-block-group__inner-container) { margin: 0 -20px 14px; background: var(--ink); color: var(--paper); padding: 8px 20px; font-family: var(--label); font-weight: 700; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; }
.prose .is-style-fact-box ul { padding-left: 1.1em; }
.prose .is-style-ink-band { background: var(--ink); color: var(--paper); padding: clamp(24px, 4vw, 48px); margin-block: 2em; }
.prose :is(.is-style-ink-band, .is-style-ink-band > .wp-block-group__inner-container) > :not(.wp-block-group__inner-container) { margin-block: 0 .6em; }
.prose .is-style-ink-band h2, .prose .is-style-ink-band h3 { color: var(--yellow); margin-top: 0; }
.prose .is-style-ink-band a { color: var(--yellow); }
.prose .is-style-ink-band .wp-block-button__link { background: var(--yellow); color: var(--ink); }
.prose .is-style-ink-band .is-style-outline .wp-block-button__link { background: transparent; color: var(--paper); border-color: var(--paper); }
.prose .is-style-clipping { background: var(--card); border: 1px dashed var(--ink); padding: 18px 22px; box-shadow: 6px 6px 0 rgba(29, 27, 24, .18); transform: rotate(-.8deg); margin-block: 1.8em; }
.prose :is(.is-style-clipping, .is-style-clipping > .wp-block-group__inner-container) > :not(.wp-block-group__inner-container) { margin-block: 0 .6em; }
.prose p.is-style-lede { font-size: clamp(20px, 2vw, 24px); line-height: 1.5; }
.prose p.is-style-lede::first-letter { font-family: var(--display); font-size: 3.1em; float: left; line-height: .85; margin: 6px 10px 0 0; color: var(--red); }
.prose p.is-style-stat { font-family: var(--display); font-size: clamp(48px, 6vw, 72px); line-height: 1; color: var(--red); margin: 0 0 .1em; }
.prose p.is-style-label, .prose .is-style-kicker { font-family: var(--label); font-weight: 600; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.3; margin: 0 0 .4em; }
.prose .is-style-kicker { color: var(--red); }
.prose h2.is-style-kicker, .prose h3.is-style-kicker { margin-top: 1.4em; }
.prose .is-style-numbered { counter-increment: bi-num; display: flex; align-items: baseline; gap: 16px; border-top: 3px solid var(--ink); padding-top: 14px; }
.prose .is-style-numbered::before { content: counter(bi-num, decimal-leading-zero); font-family: var(--display); font-size: 1.7em; color: var(--red); line-height: 1; flex-shrink: 0; }
.prose .wp-block-image.is-style-framed img { border: 3px solid var(--ink); }
.prose .wp-block-image.is-style-framed figcaption { border: 3px solid var(--ink); border-top: 0; }
.prose .wp-block-image.is-style-polaroid { background: #fff; padding: 10px 10px 4px; box-shadow: 4px 6px 0 rgba(29, 27, 24, .25); transform: rotate(-2deg); border: 1px solid var(--rule-soft); }
.prose .wp-block-image.is-style-polaroid img { border: 0; }
.prose .wp-block-image.is-style-polaroid figcaption { background: none; border: 0; text-align: center; font-family: var(--body); font-style: italic; font-size: 15px; letter-spacing: 0; text-transform: none; padding: 8px 4px 6px; }
.prose .wp-block-column:nth-child(even) .is-style-polaroid { transform: rotate(1.6deg); }
.prose .wp-block-quote.is-style-question { background: none; border: 0; border-top: 2px solid var(--ink); padding: 14px 0 0 46px; position: relative; font-family: var(--label); font-weight: 700; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; text-transform: uppercase; margin: 1.8em 0 .7em; }
.prose .wp-block-quote.is-style-question::before { content: "Q."; position: absolute; left: 0; top: 10px; font-family: var(--display); font-size: 28px; color: var(--red); }
.prose .wp-block-list.is-style-checklist { list-style: none; padding-left: 0; }
.prose .wp-block-list.is-style-checklist li { position: relative; padding-left: 34px; }
.prose .wp-block-list.is-style-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; background: var(--red); color: var(--on-red); font-size: 14px; font-weight: 700; }
.prose .bi-card-col { border: 2px solid var(--ink); background: var(--card); padding: 0 0 16px; }
.prose .wp-block-column.bi-card-col > * { margin-inline: 16px; }
.prose .bi-card-col > .wp-block-image:first-child { margin: 0 0 14px; }
.prose .bi-card-col > .wp-block-image:first-child img { border: 0; border-bottom: 2px solid var(--ink); width: 100%; }
.prose .bi-card-col h3 { margin-top: 0; }

@media (max-width: 900px) {
  .side .gen-box { max-width: 520px; }
}
@media (max-width: 760px) {
  .prose .alignright, .prose .alignleft, .prose .wp-block-pullquote.alignright, .prose .wp-block-pullquote.alignleft { float: none; width: auto; margin: 1.4em 0; }
  .app-frame { box-shadow: 5px 5px 0 var(--ink); margin-right: 5px; }
  .app-alt { margin-top: -10px; }
  .prose .wp-block-media-text .wp-block-media-text__content { padding: 18px; }
}
.prose .wp-block-cover .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.prose .wp-block-cover .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--ink); }
