/* Records Revealed website v2 (29 Nov 2026). The composition is the PURSUE Archive's (archive-triage-glm/site-v2):
   a wall of real frames behind the opening, sticky release dates beside contact-sheet mosaics, cards with their type
   tag on the picture, and a slide-out viewer. Recoloured to the Blue Review brand: Midnight ground, Ice ink,
   Cyan as the one accent (actions, focus, our-video marks). Type: Barlow Condensed ExtraBold + Manrope. */
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope-Variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
:root {
  --film: #061722; --film-2: #0a2131; --film-3: #0f2d42; --film-4: #153a55; --deep: #030d14;
  --ink: #eaf3f8; --mute: #a6bfce; --cyan: #58c9f3; --cyan-ink: #04121b;
  --paper: #f3f1ea;
  --pdf: #2d6c9c; --vid: #c4472b; --img: #2e7d5b; --aud: #8a6a1c;
  --k-witness: #b4532a; --k-investigator: #2d6c9c; --k-site: #2e7d5b; --k-render: #8a6a1c;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif; --body: 'Manrope', system-ui, Arial, sans-serif;
  --wide: 1440px; --gutter: clamp(18px, 3.4vw, 56px); --bar: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--film); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: rgba(88, 201, 243, .6); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--cyan); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
::selection { background: var(--cyan); color: var(--cyan-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .96; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--film); padding: 10px 14px; z-index: 80; }
.skip:focus { left: 8px; top: 8px; }
.note { color: var(--mute); font-size: 14px; }

/* ---- buttons: flat, square-cornered, one fill. Every state readable (the v1 cream-on-cream bug is gone) */
.btn, a.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 12px 18px; border: 0; border-radius: 2px; cursor: pointer;
  font: 700 16px/1.2 var(--body); text-decoration: none; background: var(--cyan); color: var(--cyan-ink); transition: background .18s, color .18s, transform .18s var(--ease); }
.btn:hover, a.btn:hover { background: var(--ink); color: var(--film); }
.btn:active { transform: translateY(1px); }
.btn-ghost, a.btn-ghost { background: var(--film-3); color: var(--ink); }
.btn-ghost:hover, a.btn-ghost:hover { background: var(--film-4); color: var(--ink); }
.link-more { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--cyan); padding-bottom: 2px; }
.link-more:hover { color: var(--cyan); }

/* ---- source chip: real records only, set below the image, never over it */
.chip { display: inline-block; font: 700 14px/1.3 var(--body); background: var(--deep); color: var(--ink); padding: 6px 10px; border-left: 3px solid var(--cyan); }

/* ---- site bar */
.bar { position: sticky; top: 0; z-index: 40; background: var(--film); transition: background .25s; }
.bar.scrolled { background: var(--deep); }
.bar .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--bar); }
.brand { margin-right: auto; display: block; }
.brand img { width: 158px; height: auto; }
.bar nav { display: flex; gap: 2px; }
.bar nav a { text-decoration: none; padding: 9px 14px; font: 600 16px var(--body); color: var(--mute); border-radius: 2px; transition: color .15s, background .15s; }
.bar nav a:hover { color: var(--ink); }
.bar nav a[aria-current='page'] { color: var(--ink); background: var(--film-3); }
.bar .btn { min-height: 40px; padding: 9px 14px; font-size: 14px; }

/* ---- the opening: a wall of real frames behind the content (CSS image, then the WebGL wall over it) */
.wall { position: relative; overflow: hidden; background: var(--film); isolation: isolate; }
.wall-img { position: absolute; inset: 0; background: var(--film) url('/wall/archive-wall.webp') center top / auto 100% repeat-x; filter: grayscale(.7) contrast(1.05) brightness(.8); opacity: .5; z-index: -3; }
.wall canvas.wallgl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.2s var(--ease); }
.wall.gl-on canvas.wallgl { opacity: 1; }
.wall.gl-on .wall-img { opacity: 0; transition: opacity 1.2s; }
/* the one permitted gradient: a neutral scrim so type sits on the photographs */
.wall::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(98deg, rgba(6,23,34,.98) 0%, rgba(6,23,34,.92) 36%, rgba(6,23,34,.55) 66%, rgba(6,23,34,.25) 100%), linear-gradient(0deg, rgba(6,23,34,1) 0%, rgba(6,23,34,0) 30%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(40px, 5vw, 80px); min-height: min(88vh, 900px); }
.hero h1 { font-size: clamp(64px, 9.2vw, 168px); line-height: .88; max-width: 9ch; }
.hero .statement { margin: 28px 0 0; font: 500 21px/1.45 var(--body); max-width: 40ch; color: var(--ink); }
.hero-search { display: flex; gap: 0; margin: 30px 0 0; max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; font: 500 17px var(--body); color: var(--ink); background: var(--film-3); border: 0; border-radius: 2px 0 0 2px; padding: 15px 18px; }
.hero-search input::placeholder { color: var(--mute); }
.hero-search input:focus { outline: 2px solid var(--cyan); outline-offset: -2px; }
.hero-search .btn { border-radius: 0 2px 2px 0; }
.span { margin-top: 40px; max-width: 640px; }
.span-track { position: relative; height: 52px; }
.span-track::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--film-4); }
.span-tick { position: absolute; bottom: 0; transform: translateX(-50%); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 700 16px var(--body); color: var(--ink); z-index: 1; }
.span-tick i { display: block; width: 3px; background: var(--ink); transition: background .15s, height .2s var(--ease); }
.span-tick:hover { color: var(--cyan); }
.span-tick:hover i { background: var(--cyan); }
.span-ends { display: flex; justify-content: space-between; font-size: 16px; color: var(--mute); margin-top: 8px; }
/* Sam's fanned record cards (kept from v1) */
.hero-stack { position: relative; height: clamp(380px, 38vw, 560px); }
.paper { position: absolute; width: 56%; background: var(--paper); padding: 6px; border-radius: 1px; transition: transform .45s var(--ease); text-decoration: none; }
.paper img { width: 100%; aspect-ratio: 760 / 984; object-fit: cover; object-position: top; background: #111; }
.paper .chip { display: block; margin: 6px -6px -6px; }
.paper.p0 { right: 2%; top: 4%; transform: rotate(4deg); z-index: 3; }
.paper.p1 { left: 2%; top: 0; transform: rotate(-6deg); z-index: 1; }
.paper.p2 { left: 20%; top: 20%; transform: rotate(-1.5deg); z-index: 2; }
.paper:hover { transform: rotate(0) translateY(-8px); z-index: 5; }

/* ---- page headers on inner pages: the same wall, quieter */
.phead { position: relative; overflow: hidden; isolation: isolate; }
.phead .wall-img { opacity: .28; }
.phead::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,23,34,.98) 0%, rgba(6,23,34,.9) 50%, rgba(6,23,34,.6) 100%), linear-gradient(0deg, rgba(6,23,34,1) 0%, rgba(6,23,34,0) 50%); }
.phead .wrap { padding-top: clamp(40px, 6vw, 96px); padding-bottom: clamp(32px, 4vw, 64px); }
.phead h1 { font-size: clamp(52px, 7.4vw, 128px); line-height: .9; max-width: 16ch; }
.phead .statement { margin: 20px 0 0; font: 500 21px/1.45 var(--body); max-width: 52ch; }
.crumbs { font-size: 14px; color: var(--mute); margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs .sep { opacity: .5; }

/* ---- sections: big gaps between, small inside */
.sec { padding-top: clamp(72px, 9vw, 160px); }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-hd h2 { font-size: clamp(40px, 4.4vw, 72px); }
.sec-hd .link-more { white-space: nowrap; }
.sub { color: var(--mute); max-width: 60ch; margin: -14px 0 28px; font-size: 17px; }

/* ---- the releases: sticky date beside each mosaic of real thumbnails */
.rel + .rel { margin-top: clamp(96px, 11vw, 200px); }
.rel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.rel + .gap, .gap + .rel { margin-top: 0; }
.rel-info { position: sticky; top: calc(var(--bar) + 28px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rel:not(.in) .rel-info { opacity: .25; transform: translateY(14px); }
.rel-n { font: 700 14px var(--body); color: var(--mute); margin: 0; }
.rel-date { margin: 4px 0 4px; font-family: var(--display); font-weight: 800; font-size: clamp(64px, 7.4vw, 132px); line-height: .88; }
.rel-year { font: 800 46px/1 var(--display); color: var(--mute); margin: 0 0 18px; }
.rel-sum { margin: 0 0 16px; font: 500 17px/1.45 var(--body); max-width: 32ch; }
.rel-sum b { font-weight: 800; }
.stack { display: flex; height: 10px; gap: 2px; max-width: 360px; }
.stack i { display: block; min-width: 3px; background: var(--c); }
.key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 22px; padding: 0; list-style: none; font-size: 14px; color: var(--mute); }
.key li { display: flex; align-items: center; gap: 7px; }
.key li::before { content: ''; width: 10px; height: 10px; background: var(--c); }
.key b { color: var(--ink); }
.t-REN { --c: var(--k-render); }
.t-PDF { --c: var(--pdf); } .t-VID { --c: var(--vid); } .t-IMG { --c: var(--img); } .t-AUD { --c: var(--aud); }
.k-witness-sketch { --c: var(--k-witness); } .k-investigator-drawing { --c: var(--k-investigator); } .k-site-diagram { --c: var(--k-site); } .k-official-rendering { --c: var(--k-render); }
.gap { margin: clamp(48px, 6vw, 96px) 0; padding-left: 18px; border-left: 3px solid var(--film-4); color: var(--mute); font-size: 14px; min-height: 40px; display: flex; align-items: center; }
.sheet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; background: var(--deep); padding: 4px; }
.sheet a { position: relative; aspect-ratio: 4 / 3; background: var(--film-2); overflow: hidden; grid-column: span 2; display: block; text-decoration: none; }
.sheet a:first-child { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease), filter .3s; }
.sheet .t-PDF img, .sheet .t-AUD img { background: #fff; }
.sheet a:hover img { transform: scale(1.04); }
.sheet .more { display: flex; align-items: center; justify-content: center; text-align: center; font: 700 17px/1.3 var(--body); color: var(--ink); background: var(--film-3); padding: 10px; }
.sheet .more:hover { background: var(--film-4); }

/* ---- tags on pictures */
.tag { position: absolute; left: 0; top: 0; background: var(--c, var(--pdf)); color: #fff; font: 700 14px/1 var(--body); padding: 6px 9px; z-index: 1; }
.tag-r { position: absolute; right: 0; bottom: 0; background: rgba(3,13,20,.9); color: var(--ink); font: 700 14px/1 var(--body); padding: 6px 9px; font-variant-numeric: tabular-nums; z-index: 1; }
.tag-ours { position: absolute; right: 0; top: 0; background: var(--cyan); color: var(--cyan-ink); font: 800 14px/1 var(--body); padding: 6px 8px; z-index: 1; }

/* ---- cards: picture, tag on it, short title, one quiet line */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 22px; }
.grid-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { display: block; text-decoration: none; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; }
.frame { display: block; position: relative; aspect-ratio: 4 / 3; background: var(--film-2); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s var(--ease); }
.t-PDF .frame img, .t-AUD .frame img, .d-card .frame img { background: var(--paper); }
.d-card .frame img { object-fit: contain; object-position: center; }
.t-VID .frame img { object-position: center; }
.card:hover .frame img { transform: scale(1.035); }
.card:hover .frame { outline: 3px solid var(--cyan); outline-offset: -3px; }
.card h3 { margin: 14px 0 6px; font: 700 17px/1.32 var(--body); letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin: 0; color: var(--mute); font-size: 16px; line-height: 1.45; }
.card .meta.id { font-size: 14px; opacity: .85; margin-top: 2px; }
.morebox { text-align: center; padding: 40px 0 0; }

/* ---- tools bar for long lists */
.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px 0; position: sticky; top: var(--bar); z-index: 20; background: var(--film); }
.search { flex: 1 1 280px; min-width: 200px; padding: 12px 14px; border: 0; background: var(--film-3); border-radius: 2px; color: var(--ink); }
.search::placeholder { color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chipbtn { padding: 10px 13px; background: var(--film-2); border: 0; border-radius: 2px; cursor: pointer; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.chipbtn[data-c]::before { content: ''; width: 10px; height: 10px; background: var(--c); }
.chipbtn:hover { background: var(--film-3); }
.chipbtn[aria-pressed='true'] { background: var(--ink); color: var(--film); }
.tools select { padding: 11px 10px; border: 0; background: var(--film-2); border-radius: 2px; font-size: 14px; max-width: 220px; color: var(--ink); }
.tools .chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 0 6px; }
.tools .chk input { width: 18px; height: 18px; accent-color: var(--cyan); }
.found { margin: 20px 0 22px; color: var(--mute); font-size: 14px; }

/* ---- the slide-out viewer (records and drawings) */
.viewer { position: fixed; inset: 0; z-index: 70; display: flex; justify-content: flex-end; background: rgba(3,13,20,.78); animation: fadein .2s ease-out; }
@keyframes fadein { from { opacity: 0; } }
.vpanel { width: min(1240px, 100%); height: 100%; background: var(--film-2); display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 8fr); animation: slide .32s var(--ease); box-shadow: -30px 0 80px rgba(0,0,0,.45); }
@keyframes slide { from { transform: translateX(48px); opacity: .4; } }
.vmedia { background: var(--deep); display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; overflow: auto; position: relative; padding: clamp(14px, 2vw, 32px); }
.vmedia img { max-height: calc(100vh - 120px); width: auto; max-width: 100%; background: var(--paper); }
.vmedia video { width: 100%; max-height: 100%; background: #000; }
.vmedia .vcap { margin-top: 10px; font-size: 14px; color: var(--mute); text-align: center; max-width: 70ch; }
.vbody { padding: clamp(20px, 2.6vw, 40px); overflow: auto; min-height: 0; }
.vtop { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 18px; }
.vkind { position: static; display: inline-block; }
.vnav { display: flex; gap: 4px; }
.vnav button { min-width: 44px; min-height: 44px; background: var(--film-3); border: 0; border-radius: 2px; cursor: pointer; font-size: 15px; font-weight: 600; padding: 0 12px; color: var(--ink); }
.vnav button:hover { background: var(--film-4); }
.vbody h2 { margin: 0 0 18px; font-size: clamp(34px, 2.9vw, 52px); line-height: .98; }
.vfacts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 22px; font-size: 15px; }
.vfacts dt { color: var(--mute); }
.vfacts dd { margin: 0; }
.vabout { font: 400 17px/1.6 var(--body); margin: 0 0 8px; }
.vabout p { margin: 0 0 12px; }
.vattrib { font-size: 14px; color: var(--mute); margin: 0 0 20px; }
.vlinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.vstrip h3 { font: 700 14px var(--body); color: var(--mute); margin: 0 0 10px; }
.vstrip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.vstrip button { display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.vstrip img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--paper); }
.vstrip button[aria-current='true'] img { outline: 3px solid var(--cyan); outline-offset: -3px; }
.vstrip span { display: block; font-size: 14px; color: var(--mute); margin-top: 4px; line-height: 1.3; }

/* ---- record page */
.rhead { background: var(--film-2); }
.rhead .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: center; padding-top: clamp(36px, 5vw, 80px); padding-bottom: clamp(36px, 5vw, 80px); }
.rhead h1 { font-size: clamp(44px, 4.6vw, 84px); line-height: .94; max-width: 20ch; }
.rhead h1.h-long { font-size: clamp(34px, 3.3vw, 56px); max-width: none; }
.rmeta { margin: 18px 0 0; color: var(--mute); font-size: 16px; }
.rmeta b { color: var(--ink); font-weight: 700; }
.rhead .vlinks { margin: 26px 0 0; }
.rmedia { margin: 0; }
.rmedia .pg { display: block; background: var(--paper); padding: 6px; }
.rmedia .pg img { width: 100%; }
.rmedia video { width: 100%; background: #000; display: block; }
.rmedia figcaption { margin-top: 10px; font-size: 14px; color: var(--mute); }
.rmedia figcaption .chip { margin-right: 8px; }
.rbody { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 5vw, 88px); padding-top: clamp(56px, 6vw, 104px); }
.rbody h2 { font-size: clamp(34px, 3.4vw, 56px); margin-bottom: 22px; }
.official { font: 400 19px/1.65 var(--body); max-width: 66ch; }
.official p { margin: 0 0 16px; }
.attrib { font-size: 14px; color: var(--mute); margin-top: 18px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: 16px; background: var(--film-2); padding: 24px; }
.facts dt { color: var(--mute); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* ---- blueprint band and pages */
.band { background: var(--deep); margin-top: clamp(72px, 9vw, 160px); }
.bp-band .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding-top: clamp(56px, 7vw, 120px); padding-bottom: clamp(56px, 7vw, 120px); }
.bp-band h2 { font-size: clamp(48px, 5.6vw, 104px); line-height: .9; }
.bp-band .statement { font: 500 21px/1.5 var(--body); margin: 22px 0 28px; max-width: 42ch; }
.bp-shot { position: relative; display: block; overflow: hidden; }
.bp-shot img { width: 100%; transition: transform 1.2s var(--ease); }
.bp-shot:hover img { transform: scale(1.03); }
.drawnby { position: absolute; left: 0; bottom: 0; font: 700 14px var(--body); color: var(--ink); background: rgba(3,13,20,.82); padding: 8px 12px; }
.bp-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 4px; }
.bp-strip a { position: relative; aspect-ratio: 4 / 3; background: var(--paper); display: block; overflow: hidden; }
.bp-strip img { width: 100%; height: 100%; object-fit: contain; }
.bp-page .phead .wrap { padding-bottom: 28px; }
.bp-viewer { margin-top: 0; }
.bp-frame { position: relative; background: #04070b; }
.bp-stage { position: relative; height: min(80vh, 860px); min-height: 440px; overflow: hidden; touch-action: none; }
.bp-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.bp-ready .bp-poster { opacity: 0; pointer-events: none; }
.bp-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; color: var(--mute); font-weight: 600; text-align: center; max-width: 80%; z-index: 3; }
.bp-leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.bp-leaders polyline { fill: none; stroke: #bfe9ff; stroke-width: 1.6; opacity: .85; }
.bp-leaders circle { fill: #bfe9ff; }
.bp-labels { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bp-tag { position: absolute; left: 0; top: 0; pointer-events: auto; display: inline-flex; gap: 8px; align-items: center; font: 800 16px/1 var(--display); letter-spacing: .06em; color: var(--ink); background: rgba(6,14,24,.86); border: 0; box-shadow: inset 0 0 0 1px rgba(160,220,255,.5); border-radius: 2px; padding: 7px 10px; cursor: pointer; white-space: nowrap; transition: background .15s; }
.bp-tag:hover, .bp-tag.is-on { background: var(--film-4); box-shadow: inset 0 0 0 1px var(--cyan); }
.bp-tag-n { color: rgba(127,214,255,.9); }
.bp-hide-labels .bp-labels, .bp-hide-labels .bp-leaders { display: none; }
.bp-drawnby { position: absolute; left: 0; bottom: 0; z-index: 4; font: 700 14px var(--body); color: var(--ink); background: rgba(3,13,20,.82); padding: 8px 12px; }
.bp-pagechip { position: absolute; right: 12px; bottom: 12px; z-index: 4; }
.bp-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; padding: 16px; background: var(--deep); }
.bp-slider { display: flex; align-items: center; gap: 10px; font: 700 15px var(--body); color: var(--mute); }
.bp-slider input { width: 220px; accent-color: var(--cyan); }
.bp-info { position: absolute; right: 16px; top: 16px; z-index: 6; width: min(380px, calc(100% - 32px)); background: rgba(10,33,49,.97); padding: 20px 22px; box-shadow: 0 20px 60px rgba(0,0,0,.5); border-left: 3px solid var(--cyan); }
.bp-info-h { font: 800 26px/1 var(--display); letter-spacing: .03em; margin-bottom: 10px; }
.bp-info-n { color: var(--cyan); }
.bp-info-b { font-size: 15px; }
.bp-info-c { font-size: 14px; font-weight: 700; color: var(--mute); margin: 0; }
.bp-info-x { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: var(--mute); font-size: 26px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.bp-help { color: var(--mute); font-size: 14px; text-align: center; margin: 12px 0 0; }
.bp-nogl .bp-controls { display: none; }
.bp-detail { display: grid; grid-template-columns: minmax(280px, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.bp-drawing { margin: 0; }
.bp-drawing .pg { display: block; background: var(--paper); padding: 6px; }
.bp-drawing figcaption { margin-top: 12px; font-size: 14px; color: var(--mute); }
.bp-drawing .vlinks { margin: 14px 0 0; }
.bp-story h2 { font-size: clamp(34px, 3.4vw, 56px); margin-bottom: 20px; }
.bp-story p { font-size: 18px; }
.cite { color: var(--mute); font-size: 14px; white-space: nowrap; }
.legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.legend li { background: var(--film-2); padding: 16px 18px; font-size: 15px; }
.legend b { display: block; font: 800 22px/1 var(--display); letter-spacing: .04em; margin-bottom: 6px; }
.legend b span { color: var(--cyan); margin-right: 6px; }

/* ---- videos */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 3vw, 48px); align-items: end; }
.feature h3 { font-size: clamp(32px, 2.6vw, 46px); line-height: .98; margin: 0 0 12px; }
.feature .meta { color: var(--mute); margin: 0 0 12px; font-size: 15px; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.yt:hover img { transform: scale(1.03); }
.yt-short { aspect-ratio: 9 / 16; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 51px; border: 0; background: none; padding: 0; cursor: pointer; transition: transform .2s var(--ease); }
.yt:hover .yt-play { transform: scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcard h3 { margin: 14px 0 6px; font: 700 17px/1.32 var(--body); letter-spacing: 0; }
.vcard h3 a { text-decoration: none; }
.vcard h3 a:hover { color: var(--cyan); }
.vcard .meta { margin: 0; color: var(--mute); font-size: 16px; }
.vrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px 22px; }
.srow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-color: var(--film-4) transparent; }
.srow > * { scroll-snap-align: start; }
.video-wrap { max-width: 1100px; margin: 0; }
.video-wrap-short { max-width: 400px; }

/* ---- lists of releases and agencies */
.rlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px; }
.rlist a { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: baseline; padding: 20px 22px; background: var(--film-2); text-decoration: none; transition: background .15s; }
.rlist a:hover { background: var(--film-3); }
.rlist b { font: 800 34px/1 var(--display); }
.rlist span { color: var(--mute); }
.rlist em { font-style: normal; font: 800 26px/1 var(--display); color: var(--mute); }
.rswitch { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 24px; }
.rswitch a { min-width: 44px; text-align: center; padding: 10px; background: var(--film-3); text-decoration: none; font-weight: 700; }
.rswitch a[aria-current='page'] { background: var(--ink); color: var(--film); }
.rswitch a:hover { background: var(--film-4); }

/* ---- prose pages */
.prose { max-width: 760px; padding-top: clamp(40px, 5vw, 80px); }
.prose h1 { font-size: clamp(52px, 6.4vw, 104px); margin-bottom: 28px; }
.prose h2 { font-size: clamp(30px, 3vw, 44px); margin: 1.6em 0 .5em; }
.prose p { font-size: 18px; }
.prose .statement { font: 500 21px/1.5 var(--body); }
.contact { display: grid; gap: 16px; max-width: 560px; }
.contact label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.contact input, .contact select, .contact textarea { font: 500 16px var(--body); color: var(--ink); background: var(--film-3); border: 0; border-radius: 2px; padding: 13px; }

/* ---- footer: the name returns at full width */
.foot { margin-top: clamp(96px, 12vw, 200px); background: var(--deep); padding: clamp(56px, 6vw, 96px) 0 36px; }
.foot-logo { width: min(980px, 100%); margin-bottom: 48px; opacity: .96; }
.foot-cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-cols p { color: var(--mute); font-size: 16px; max-width: 46ch; }
.foot-cols h2 { font: 700 14px var(--body); color: var(--mute); margin: 0 0 10px; }
.foot-cols a { display: block; text-decoration: none; padding: 4px 0; font-size: 16px; }
.foot-cols a:hover { color: var(--cyan); }
.foot-note { margin-top: 48px; color: var(--mute); font-size: 16px; max-width: 90ch; }

/* ---- ad slots: reserved, collapsed until ads are switched on (site.config.json) */
.ad-slot { display: none; }
.ads-preview .ad-slot { display: flex; align-items: center; justify-content: center; margin: 56px auto 0; background: var(--film-2); color: var(--mute); font-size: 13px; }
.ads-preview .ad-leader { width: min(970px, 100% - 40px); min-height: 120px; }
.ads-preview .ad-inline { min-height: 260px; }

/* ---- entrance motion: headings, then text, then pictures (content never hidden without the script) */
.js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js [data-rise].in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .tools { position: static; }
  .bar nav a { padding: 9px 10px; }
}
@media (max-width: 900px) {
  :root { --bar: 58px; }
  .hero .wrap, .rel, .rhead .wrap, .rbody, .bp-band .wrap, .bp-detail, .feature, .vpanel { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { min-height: 0; padding-bottom: 96px; }
  .hero-stack { height: 340px; max-width: 520px; }
  .rel-info { position: static; }
  .rel:not(.in) .rel-info { opacity: 1; transform: none; }
  .vpanel { grid-template-rows: minmax(0, 44%) minmax(0, 1fr); }
  .vmedia img { max-height: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bar .wrap { flex-wrap: wrap; gap: 0 10px; padding-top: 8px; }
  .brand img { width: 132px; }
  .bar nav { order: 3; width: 100%; margin: 4px 0 0; padding: 0 0 6px; justify-content: space-between; }
  .bar nav a { padding: 8px 6px; font-size: 15px; }
  .bar nav::-webkit-scrollbar { display: none; }
  .bar .btn { min-height: 36px; padding: 7px 11px; font-size: 13px; }
  .hero h1 { font-size: 64px; }
  .hero-stack { height: 280px; }
  .grid, .grid-lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card h3 { font-size: 15px; margin-top: 10px; }
  .card .meta.id { display: none; }
  .sheet { grid-template-columns: repeat(4, 1fr); }
  .sheet a { grid-column: span 2; }
  .sheet a:first-child { grid-column: span 4; grid-row: span 1; aspect-ratio: 4 / 3; }
  .sheet a:nth-child(n+8) { display: none; }
  .sheet a.more { display: flex; grid-column: span 4; aspect-ratio: auto; min-height: 64px; }
  .bp-strip { grid-template-columns: repeat(3, 1fr); }
  .bp-strip a:nth-child(n+4) { display: none; }
  .bp-stage { height: 64vh; min-height: 380px; }
  .bp-tag { font-size: 13px; padding: 5px 7px; }
  .bp-slider input { width: 150px; }
  .bp-pagechip { top: 10px; bottom: auto; left: 10px; right: 10px; }
  .srow { grid-auto-columns: 46%; }
  .tools select { flex: 1 1 45%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-rise] { opacity: 1; transform: none; }
}

.sgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
@media (max-width: 1100px) { .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sgrid > :nth-child(n+5) { display: none; } .rel-year { font-size: 34px; } }

/* cards enter with a short stagger when a grid is drawn (directory results, lists) */
.grid > .card { animation: cardin .55s var(--ease) both; }
.grid > .card:nth-child(1) { animation-delay: 0ms; }
.grid > .card:nth-child(2) { animation-delay: 40ms; }
.grid > .card:nth-child(3) { animation-delay: 80ms; }
.grid > .card:nth-child(4) { animation-delay: 120ms; }
.grid > .card:nth-child(5) { animation-delay: 160ms; }
.grid > .card:nth-child(6) { animation-delay: 200ms; }
.grid > .card:nth-child(7) { animation-delay: 240ms; }
.grid > .card:nth-child(8) { animation-delay: 280ms; }
.grid > .card:nth-child(9) { animation-delay: 320ms; }
.grid > .card:nth-child(10) { animation-delay: 360ms; }
.grid > .card:nth-child(11) { animation-delay: 400ms; }
.grid > .card:nth-child(12) { animation-delay: 440ms; }
@keyframes cardin { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 640px) {
  .sec-hd { flex-wrap: wrap; gap: 8px 16px; }
  .sec-hd h2 { font-size: 38px; flex: 1 1 100%; }
  .rhead h1.h-long { font-size: 34px; }
}

/* ---- v2.1 fixes (29 Nov, Sam's notes) */
/* the hidden attribute always wins: the viewer, filtered cards, "Show more" and chips were staying visible */
[hidden] { display: none !important; }
.vmedia { cursor: zoom-out; }
.vmedia img, .vmedia video, .vmedia .vcap { cursor: auto; }
.vnav [data-v='close'] { background: var(--ink); color: var(--film); }
.vnav [data-v='close']:hover { background: #fff; }
.vnav button:disabled { opacity: .35; cursor: default; }

/* our videos in the viewer sidebar */
.vvids { margin: 4px 0 26px; padding: 18px; background: var(--film-3); }
.vvids h3 { font: 800 24px/1 var(--display); margin: 0 0 14px; }
.vvids ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 12px; }
.vvids li:not(.is-short) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 14px; align-items: center; }
.vvids li.is-short { grid-column: 1 / -1; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.vvids .yt-short .yt-play { width: 44px; height: 32px; }
.vvids p { margin: 0; font-size: 16px; line-height: 1.35; }
.vvids p a { font-weight: 700; text-decoration: none; }
.vvids p a:hover { color: var(--cyan); }
.vvids p span { display: block; font-size: 14px; color: var(--mute); margin-top: 4px; }

/* platform logos in the footer */
.social { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--film-3); color: var(--ink); text-decoration: none; font: 700 15px var(--body); border-radius: 2px; transition: background .18s, color .18s; }
.social a:hover { color: #fff; }
.social .s-youtube:hover { background: #ff0033; }
.social .s-tiktok:hover { background: #000; }
.social .s-x:hover { background: #000; }
.social .s-facebook:hover { background: #0866ff; }
.social svg { flex: none; }
.foot-cols .social a { display: inline-flex; padding: 11px 14px; font-size: 15px; }

/* about, standards, privacy, contact: full width, one row per section (heading left, text right) */
.info { padding-top: clamp(40px, 5vw, 80px); }
.plead { font: 500 clamp(21px, 1.8vw, 27px)/1.5 var(--body); max-width: 60ch; margin-bottom: clamp(32px, 4vw, 64px); }
.plead p { margin: 0 0 .8em; }
.plead .statement { font: inherit; }
.plead .contact { font: 400 17px/1.6 var(--body); }
.prow { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 72px); padding: clamp(28px, 3.4vw, 52px) 0; background: linear-gradient(var(--film-3), var(--film-3)) top / 100% 3px no-repeat; }
.prow h2 { font-size: clamp(30px, 2.8vw, 46px); line-height: 1; }
.prow div { font-size: 18px; max-width: 72ch; }
.prow div p { margin: 0 0 1em; }
@media (max-width: 900px) { .prow { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.numbers { list-style: none; margin: clamp(28px, 3vw, 48px) 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: none; }
.plead:has(.numbers) { max-width: none; }
.plead:has(.numbers) > p { max-width: 60ch; }
.numbers li { background: var(--film-2); padding: 22px 24px; font: 500 16px/1.4 var(--body); color: var(--mute); }
.numbers b { display: block; font: 800 clamp(48px, 4.4vw, 76px)/1 var(--display); color: var(--ink); margin-bottom: 8px; }
.social-lg a { padding: 14px 18px; font-size: 16px; }
@media (max-width: 900px) { .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
