/* Top Shelf GM — the night edition. The game's sports paper on deadline night: an arena after dark, red neon,
   newspaper rules and columns. Headlines in Barlow Condensed (the logo's face), stories in Source Serif 4. */

@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-800-italic.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../fonts/barlow-condensed-latin-900-italic.woff2') format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url('../fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --night: #04070c;        /* the arena with the lights down */
  --night-2: #0a111c;      /* the press box glass */
  --night-3: #111b2a;
  --ice: #eef3f9;          /* headline white */
  --text: #c6d0dd;         /* story text */
  --muted: #8e9db2;        /* bylines, captions */
  --neon: #ff3b30;         /* the net */
  --neon-ink: #ff5d52;     /* red that reads as text on the dark */
  --neon-deep: #b3170f;     /* red under white text (6.9:1): the ticker's tag, a pressed choice, the skip link */
  --paper: #f3ece0;        /* the newsroom spread: the club paper's newsprint */
  --ink: #15181e;          /* its headlines */
  --ink-2: #3d434d;        /* its stories */
  --ink-rule: rgba(21, 24, 30, 0.18);
  --ink-rule-strong: rgba(21, 24, 30, 0.5);
  --rule: rgba(238, 243, 249, 0.16);
  --rule-strong: rgba(238, 243, 249, 0.42);
  --head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Source Serif 4', Georgia, serif;
  --page: min(1320px, 100% - 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--ice); text-decoration-color: var(--neon); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--neon-ink); }
:focus-visible { outline: 3px solid var(--neon-ink); outline-offset: 3px; }
.wrap { width: var(--page); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--neon-deep); color: #fff; padding: 10px 14px; font: 700 1rem var(--head); }
.skip:focus { top: 12px; }

/* ---- The dateline and the nameplate ---- */
.dateline { border-bottom: 1px solid var(--rule); font: 600 0.95rem/1 var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.dateline .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.dateline .jump { display: flex; gap: 4px; margin-left: auto; }
.dateline .jump a, .dateline .lang a, .dateline .lang span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--muted); }
.dateline .jump a:hover { color: var(--ice); }
.dateline .lang { display: flex; gap: 2px; }
.dateline .lang [aria-current] { color: var(--ice); background: var(--night-3); }
.dateline .lang a:hover { color: var(--ice); }
.nameplate { padding: 22px 0 18px; border-bottom: 3px double var(--rule-strong); }
.nameplate .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.nameplate h1 { margin: 0; justify-self: center; }
.nameplate h1 img { width: clamp(260px, 36vw, 520px); height: auto; }
.nameplate .ear { font: 600 1rem/1.25 var(--head); letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.nameplate .ear strong { display: block; color: var(--ice); font-weight: 800; font-size: 1.15rem; }
.nameplate .ear.right { text-align: right; }

/* ---- The ticker: in-game headlines from a test season ---- */
.ticker { display: flex; align-items: stretch; background: var(--night-2); border-bottom: 1px solid var(--rule); overflow: hidden; font: 600 1.05rem/1 var(--head); letter-spacing: 0.02em; }
.ticker .tag { flex: none; display: flex; align-items: center; padding: 0 16px; background: var(--neon-deep); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.ticker .lane { position: relative; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; width: max-content; }
.ticker.run ul { animation: tick 70s linear infinite; }
.ticker:not(.run) .lane { overflow-x: auto; }
.ticker li { padding: 12px 28px; white-space: nowrap; color: var(--ice); border-right: 1px solid var(--rule); }
.ticker li b { color: var(--neon-ink); font-weight: 800; margin-right: 8px; text-transform: uppercase; }
.ticker:hover ul, .ticker:focus-within ul { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker.run ul { animation: none; } .ticker .lane { overflow-x: auto; } }

/* ---- The lead story: the job, on the red net ---- */
.lead { position: relative; isolation: isolate; min-height: min(78vh, 760px); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--rule); }
.lead picture, .lead picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lead picture { z-index: -2; }
.lead picture img { object-fit: cover; object-position: 66% 50%; }
.lead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 7, 12, 0.94) 0%, rgba(4, 7, 12, 0.82) 34%, rgba(4, 7, 12, 0.15) 62%, rgba(4, 7, 12, 0) 100%), linear-gradient(0deg, rgba(4, 7, 12, 0.85), rgba(4, 7, 12, 0) 30%); }
.lead .wrap { padding: 64px 0 72px; }
.lead .story { max-width: 600px; }
.lead h2 { margin: 0; font: 900 clamp(3.4rem, 8.4vw, 6rem)/0.88 var(--head); text-transform: uppercase; letter-spacing: -0.01em; color: var(--ice); text-wrap: balance; }
.lead h2 em { font-style: italic; color: var(--neon-ink); }
.lead .deck { margin: 22px 0 0; font: 400 1.3rem/1.5 var(--body); color: var(--text); max-width: 38ch; }
.lead .byline { margin: 18px 0 0; font: 600 0.95rem/1.3 var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; font: 800 1.2rem/1 var(--head); letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-red { background: var(--neon); color: #fff; }
.btn-red:hover { background: #ff5247; color: #fff; transform: translateY(-1px); }
.btn-line { border-color: var(--rule-strong); color: var(--ice); background: rgba(4, 7, 12, 0.5); }
.btn-line:hover { border-color: var(--ice); color: #fff; }
.btn:active { transform: translateY(1px); }

/* The lead's one authored moment: the headline set in, line by line, as the edition goes to press. */
@media (prefers-reduced-motion: no-preference) {
  .lead h2 .ln { display: block; clip-path: inset(0 0 100% 0); animation: press 0.9s var(--ease) forwards; }
  .lead h2 .ln:nth-child(2) { animation-delay: 0.12s; }
  .lead h2 .ln:nth-child(3) { animation-delay: 0.24s; }
  .lead .deck, .lead .lead-form, .lead .steam, .lead .byline { animation: rise 0.9s var(--ease) 0.35s both; }
}
@keyframes press { from { clip-path: inset(0 0 100% 0); transform: translateY(0.25em); } to { clip-path: inset(0 0 -10% 0); transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* The email, where the visitor is: on the lead, in the newsroom, at the end. */
.signup-form { display: grid; gap: 10px; }
.signup-form label { font: 700 1rem/1.3 var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ice); }
.signup-form .row { display: flex; gap: 10px; }
.signup-form input[type=email] { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border: 2px solid var(--rule-strong); background: var(--night); color: var(--ice); font: 400 1.1rem var(--body); border-radius: 0; }
.signup-form input[type=email]::placeholder { color: #8796ab; }
.signup-form input[type=email]:focus { outline: none; border-color: var(--neon-ink); }
.signup-form input[aria-invalid=true] { border-color: var(--neon-ink); }
.signup-form .status { margin: 0; min-height: 1.4em; font: 700 1.05rem/1.4 var(--head); letter-spacing: 0.02em; color: var(--ice); }
.signup-form .status:empty { min-height: 0; }
.signup-form .status.ok { color: #7fd7a2; }
.signup-form .status.err { color: var(--neon-ink); }
.lead-form { margin-top: 28px; max-width: 520px; }
.lead .steam { margin-top: 14px; }

/* ---- Sections: a heavy rule, the section's name as its heading ---- */
.section { padding: 64px 0 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 6px solid var(--neon); padding-top: 10px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font: 900 clamp(2.2rem, 4.6vw, 3.4rem)/0.95 var(--head); text-transform: uppercase; color: var(--ice); letter-spacing: -0.005em; }
.section-head p { margin: 0; font: 600 1rem/1.3 var(--head); letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); text-align: right; max-width: 52ch; }

/* Stories in columns, ruled like a page. */
.page-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; }
.story h3 { margin: 0 0 10px; font: 800 clamp(1.7rem, 2.6vw, 2.35rem)/1.02 var(--head); color: var(--ice); text-wrap: balance; }
.story.big h3 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height: 0.98; }
.story p { margin: 0 0 14px; max-width: 64ch; }
.story .dropcap::first-letter { float: left; font: 900 4.2rem/0.8 var(--head); color: var(--neon-ink); margin: 6px 10px 0 0; }
.story ul { margin: 0 0 14px; padding-left: 1.1em; }
.story li { margin-bottom: 6px; }
.story li::marker { color: var(--neon-ink); }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }
.second-row { margin-top: 40px; }
.ruled-left { border-left: 1px solid var(--rule); padding-left: 32px; margin-left: -1px; }
.stack > * + * { border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 22px; }

/* Screenshots: the game itself, framed like press photos, with a caption. */
figure { margin: 0 0 16px; }
.shot { position: relative; display: block; padding: 0; border: 1px solid var(--rule); background: var(--night-2); cursor: zoom-in; width: 100%; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; transition: transform 0.6s var(--ease); }
.shot:hover img { transform: scale(1.015); }
.shot-crop { overflow: hidden; }
.shot.natural img { aspect-ratio: auto; }
.shot.zoom .shot-crop { display: block; position: relative; aspect-ratio: 16 / 9; }
.shot.zoom img { position: absolute; max-width: none; width: calc(var(--z, 2) * 100%); height: auto; aspect-ratio: 16 / 9; left: calc(var(--x) * var(--z, 2) * -100%); top: calc(var(--y) * var(--z, 2) * -100%); transform-origin: calc(var(--x) * 100% + 25%) calc(var(--y) * 100% + 25%); }
figcaption { margin-top: 8px; max-width: 80ch; font: 600 0.95rem/1.35 var(--head); letter-spacing: 0.02em; color: var(--muted); }
figcaption b { color: var(--ice); font-weight: 700; }

/* ---- The feature: the press box, full width ---- */
.feature { position: relative; isolation: isolate; margin: 56px 0 0; min-height: min(86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feature picture, .feature picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature picture { z-index: -2; }
.feature picture img { object-fit: cover; object-position: 60% 40%; }
.feature::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 7, 12, 0.96) 0%, rgba(4, 7, 12, 0.78) 34%, rgba(4, 7, 12, 0.1) 70%); }
.feature .wrap { padding: 0 0 56px; }
.pull { margin: 0; max-width: 18ch; font: 900 italic clamp(2.6rem, 6vw, 5.2rem)/0.92 var(--head); text-transform: uppercase; color: var(--ice); text-wrap: balance; }
.pull span { color: var(--neon-ink); }
.feature .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; border-top: 1px solid var(--rule-strong); padding-top: 22px; }
.feature .cols h3 { margin: 0 0 6px; font: 800 1.5rem/1.05 var(--head); color: var(--ice); }
.feature .cols p { margin: 0; font-size: 1rem; max-width: 60ch; }

.live-row { margin-top: 40px; }

/* ---- The two languages, the same screen ---- */
.bilingual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bilingual .tagline { font: 800 1rem/1 var(--head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--neon-ink); margin: 0 0 8px; }

/* ---- The box score: the game's facts as a stats table ---- */
.boxscore { width: 100%; border-collapse: collapse; font: 600 1.1rem/1.3 var(--head); }
.boxscore caption { text-align: left; font: 900 1.6rem/1 var(--head); text-transform: uppercase; color: var(--ice); padding-bottom: 10px; border-bottom: 3px solid var(--ice); }
.boxscore th, .boxscore td { padding: 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.boxscore th { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; width: 42%; padding-right: 12px; }
.boxscore td { color: var(--ice); }

/* A career told as a box score; the line under it says it's an example. */
.boxscore.career th { width: 34%; }
.note-example { margin: 10px 0 0; max-width: 70ch; font: 600 0.95rem/1.35 var(--head); letter-spacing: 0.02em; color: var(--muted); }

/* ---- Letters to the editor (questions) ---- */
.letters { columns: 2; column-gap: 48px; column-rule: 1px solid var(--rule); }
.letter { break-inside: avoid; margin: 0 0 26px; }
.letter h3 { margin: 0 0 6px; font: 800 1.45rem/1.1 var(--head); color: var(--ice); }
.letter h3::before { content: '\201C'; color: var(--neon-ink); margin-right: 2px; }
.letter h3::after { content: '\201D'; color: var(--neon-ink); }
.letter p { margin: 0; }

/* ---- The late edition: the email signup ---- */
.signup { margin-top: 64px; background: var(--night-2); border-top: 6px solid var(--neon); border-bottom: 1px solid var(--rule); }
.signup .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 48px 0 52px; align-items: center; }
.signup h2 { margin: 0 0 10px; font: 900 clamp(2.4rem, 4.6vw, 3.6rem)/0.95 var(--head); text-transform: uppercase; color: var(--ice); }
.signup p { margin: 0; max-width: 46ch; }
.signup .note { font-size: 0.95rem; color: var(--muted); }
.hp { position: absolute; left: -5000px; }

/* ---- For the press ---- */
.press dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.press dt { font: 700 1rem/1.5 var(--head); letter-spacing: 0.03em; text-transform: uppercase; color: var(--muted); }
.press dd { margin: 0; color: var(--ice); }
.downloads { list-style: none; margin: 0; padding: 0; }
.downloads li { border-bottom: 1px solid var(--rule); }
.downloads a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; font: 700 1.2rem/1.2 var(--head); color: var(--ice); }
.downloads a span { color: var(--muted); font-weight: 600; font-size: 1rem; }
.downloads a:hover { color: var(--neon-ink); }

/* ---- The back page ---- */
.footer { margin-top: 72px; border-top: 3px double var(--rule-strong); padding: 28px 0 40px; font-size: 0.95rem; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: start; }
.footer img { width: 180px; height: auto; }
.footer p { margin: 0 0 8px; max-width: 70ch; }
.footer nav { display: flex; gap: 16px; font: 700 1rem var(--head); text-transform: uppercase; letter-spacing: 0.03em; }

/* ---- The photo desk: a screenshot at full size ---- */
dialog.viewer { padding: 0; border: 0; background: transparent; max-width: min(1600px, 96vw); max-height: 94vh; }
dialog.viewer::backdrop { background: rgba(2, 4, 8, 0.92); }
dialog.viewer img { max-width: 100%; max-height: 86vh; width: auto; height: auto; border: 1px solid var(--rule-strong); }
dialog.viewer p { margin: 10px 0 0; font: 600 1rem/1.3 var(--head); color: var(--ice); display: flex; justify-content: space-between; gap: 16px; }
dialog.viewer button { background: none; border: 2px solid var(--rule-strong); color: var(--ice); font: 800 1rem var(--head); text-transform: uppercase; padding: 8px 14px; cursor: pointer; }
dialog.viewer button:hover { border-color: var(--ice); }

/* ---- Narrower pages ---- */
@media (max-width: 1060px) {
  .col-8, .col-7, .col-5, .col-4, .col-6, .col-12 { grid-column: span 12; }
  .ruled-left { border-left: 0; padding-left: 0; margin-left: 0; border-top: 1px solid var(--rule); padding-top: 22px; margin-top: 8px; }
  .feature .cols { grid-template-columns: 1fr; gap: 18px; }
  .signup .wrap { grid-template-columns: 1fr; gap: 24px; }
  .footer .wrap { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  :root { --page: calc(100% - 32px); }
  body { font-size: 1.02rem; }
  .dateline .edition { display: none; }
  .nameplate .wrap { grid-template-columns: 1fr; }
  .nameplate .ear { display: none; }
  .nameplate h1 img { width: min(320px, 82vw); }
  .lead { min-height: 0; align-items: flex-end; }
  .lead picture img { object-position: 72% 30%; }
  .lead::before { background: linear-gradient(0deg, rgba(4, 7, 12, 0.97) 0%, rgba(4, 7, 12, 0.9) 48%, rgba(4, 7, 12, 0.2) 78%); }
  .lead .wrap { padding: 46vw 0 40px; }
  .lead .deck { font-size: 1.15rem; }
  .btn { width: 100%; justify-content: center; }
  .section { padding-top: 48px; }
  .section-head { flex-direction: column; gap: 6px; }
  .section-head p { text-align: left; }
  .bilingual { grid-template-columns: 1fr; }
  .letters { columns: 1; }
  .feature { min-height: 0; }
  .feature .wrap { padding-top: 52vw; }
  .signup-form .row { flex-direction: column; }
  .press dl { grid-template-columns: 1fr; gap: 2px; }
  .press dd { margin-bottom: 10px; }
}

/* Laptop screens (short): the nameplate and the lead tighten so the actions stay on the first screen. */
@media (min-width: 761px) and (max-height: 820px) {
  .nameplate { padding: 12px 0 10px; }
  .nameplate h1 img { width: clamp(240px, 26vw, 380px); }
  .lead { min-height: 0; }
  .lead picture img { object-position: 66% 22%; }
  .lead .wrap { padding: 44px 0 52px; }
  .lead h2 { font-size: clamp(3rem, 9.5vh, 5rem); }
  .lead .deck { margin-top: 14px; font-size: 1.15rem; max-width: 44ch; }
  .actions { margin-top: 20px; }
  .lead .byline { margin-top: 12px; }
}

/* The road ahead: the dev journal as the paper's schedule, a tier per block, easiest first. */
.road { display: grid; gap: 34px; }
.road-tier h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 3px solid var(--ice); font: 900 1.6rem/1 var(--head); text-transform: uppercase; color: var(--ice); }
.road-tier h3 span { font: 600 1rem/1.2 var(--head); letter-spacing: 0.03em; color: var(--muted); text-align: right; }
.road-tier ul { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 48px; column-rule: 1px solid var(--rule); }
.road-tier li { break-inside: avoid; margin-bottom: 8px; }
.road-tier li::marker { color: var(--neon-ink); }
@media (max-width: 760px) {
  .road-tier ul { columns: 1; }
  .road-tier h3 { flex-direction: column; gap: 6px; }
  .road-tier h3 span { text-align: left; }
}

/* ---- Make the call: the deadline decision, and the paper's late edition that answers it ---- */
.call { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
.call-options { display: grid; gap: 10px; margin: 20px 0 14px; }
.call-options button { display: flex; align-items: baseline; gap: 14px; min-height: 56px; padding: 12px 18px; border: 2px solid var(--rule-strong); background: rgba(4, 7, 12, 0.5); color: var(--ice); font: 600 1.15rem/1.2 var(--head); letter-spacing: 0.01em; text-align: left; cursor: pointer; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease); }
.call-options button b { flex: none; min-width: 4.6em; font-weight: 900; text-transform: uppercase; letter-spacing: 0.04em; color: var(--neon-ink); transition: color 0.2s var(--ease); }
.call-options button:hover { border-color: var(--ice); }
.call-options button:active { transform: translateY(1px); }
.call-options button:focus-visible { outline: 2px solid var(--neon-ink); outline-offset: 3px; }
.call-options button[aria-pressed=true] { background: var(--neon-deep); border-color: var(--neon-deep); color: #fff; }
.call-options button[aria-pressed=true] b { color: #fff; }
.call-note { font: 600 0.95rem/1.35 var(--head); letter-spacing: 0.02em; color: var(--muted); }
.front { border-top: 4px double var(--rule-strong); padding-top: 12px; }
.front-mast { display: flex; justify-content: space-between; gap: 16px; margin: 0; font: 600 0.95rem/1.2 var(--head); letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--rule); padding-bottom: 10px; }
.front-mast span:first-child { font-weight: 900; color: var(--ice); letter-spacing: 0.08em; }
.front-head { margin: 22px 0 12px; font: 800 clamp(2rem, 3.4vw, 2.9rem)/1 var(--head); color: var(--ice); text-wrap: balance; }
.front-deck { margin: 0; font: 400 1.15rem/1.5 var(--body); max-width: 52ch; }
.front-reacts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--rule); }
.front-reacts > div { padding: 0 20px; min-width: 0; }
.front-reacts > div:first-child { padding-left: 0; }
.front-reacts > div + div { border-left: 1px solid var(--rule); }
.front-reacts span { display: block; margin-bottom: 6px; font: 700 0.95rem/1.2 var(--head); letter-spacing: 0.05em; text-transform: uppercase; color: var(--ice); }
.front-reacts p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
@media (max-width: 760px) {
  .front-reacts { grid-template-columns: 1fr; gap: 14px; }
  .front-reacts > div { padding: 0; }
  .front-reacts > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
  .front-mast { flex-direction: column; gap: 4px; }
}

/* ---- Motion: the page's rules print as you reach them, the net lights up once ---- */
@media (prefers-reduced-motion: no-preference) {
  .motion .section-head { position: relative; border-top-color: transparent; }
  .motion .section-head::before { content: ''; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: var(--neon); transform: scaleX(0); transform-origin: left center; transition: transform 0.8s var(--ease); }
  .motion .section-head.printed::before { transform: none; }
  .lead picture img { animation: ignite 1.6s linear backwards; }
}
/* A neon tube catching: dark, two stutters, then lit. */
@keyframes ignite {
  0% { filter: brightness(0.25) saturate(0.4); }
  18% { filter: brightness(0.3) saturate(0.5); }
  22% { filter: brightness(0.95) saturate(1); }
  26% { filter: brightness(0.4) saturate(0.6); }
  34% { filter: brightness(1) saturate(1); }
  38% { filter: brightness(0.55) saturate(0.75); }
  60%, 100% { filter: brightness(1) saturate(1); }
}

/* The viewer's magnifier: a puck from three-quarters. The top face (an ellipse) is the lens, ringed by the puck's edge;
   the side below is vulcanized rubber, lit from the left, with the grip's ridges around it. */
dialog.viewer { overflow: visible; }
dialog.viewer img { cursor: crosshair; touch-action: none; }
dialog.viewer img.puck-on { cursor: none; }
.viewer .puck { position: absolute; z-index: 2; pointer-events: none; width: var(--w); height: calc(var(--h) + var(--band)); }
.viewer .puck-side { position: absolute; left: 0; right: 0; top: calc(var(--h) / 2); height: calc(var(--h) / 2 + var(--band)); border-radius: 0 0 50% 50% / 0 0 calc(var(--h) / 2) calc(var(--h) / 2);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, #07080a 0%, #2c3138 16%, #191c21 42%, #0b0c0f 78%, #050608 100%); }
.viewer .puck-face { position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); border-radius: 50%; background-color: var(--night); background-repeat: no-repeat; background-origin: border-box;
  border: 3px solid #1d2127; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 -10px 18px rgba(0, 0, 0, 0.35); }
.viewer .hint { margin-left: auto; font: 600 0.9rem/1.3 var(--head); letter-spacing: 0.02em; color: var(--muted); text-align: right; }
@media (max-width: 760px) { dialog.viewer p { flex-wrap: wrap; } .viewer .hint { order: 3; width: 100%; margin-left: 0; text-align: left; } }

/* ---- The newsroom: the page's one spread on newsprint (the club paper's own colours: cream, ink, its red) ---- */
.print { background: var(--paper); color: var(--ink-2); margin-top: 56px; padding: 64px 0 56px; border-top: 1px solid var(--rule); }
.print .section-head h2, .print .story h3, .print .front-head { color: var(--ink); }
.print .section-head p, .print figcaption, .print .call-note { color: #5a606b; }
.print figcaption b { color: var(--ink); }
.print .story .dropcap::first-letter { color: var(--neon-deep); }
.print a { color: var(--ink); text-decoration-color: var(--neon-deep); }
.print .ruled-left { border-color: var(--ink-rule); }
.print .stack > * + * { border-color: var(--ink-rule); }
.print .shot { border-color: var(--ink-rule-strong); background: #e8e0d1; }
.print .call { border-top-color: var(--ink-rule); }
.print .call-options button { border-color: var(--ink-rule-strong); background: transparent; color: var(--ink); }
.print .call-options button b { color: var(--neon-deep); }
.print .call-options button:hover { border-color: var(--ink); }
.print .call-options button[aria-pressed=true] { background: var(--neon-deep); border-color: var(--neon-deep); color: #fff; }
.print .call-options button[aria-pressed=true] b { color: #fff; }
.print .call-options button:focus-visible, .print :focus-visible { outline-color: var(--neon-deep); }
.print .front { border-top-color: var(--ink-rule-strong); }
.print .front-mast { color: #5a606b; border-color: var(--ink-rule); }
.print .front-mast span:first-child { color: var(--ink); }
.print .front-reacts { border-color: var(--ink-rule); }
.print .front-reacts > div + div { border-color: var(--ink-rule); }
.print .front-reacts span { color: var(--ink); }
.print .inline-signup { margin-top: 44px; padding-top: 28px; border-top: 3px double var(--ink-rule-strong); max-width: 760px; }
.print .signup-form label { color: var(--ink); }
.print .signup-form input[type=email] { background: #fffaf1; color: var(--ink); border-color: var(--ink-rule-strong); }
.print .signup-form input[type=email]::placeholder { color: #6b707a; }
.print .signup-form input[type=email]:focus, .print .signup-form input[aria-invalid=true] { border-color: var(--neon-deep); }
.print .signup-form .status { color: var(--ink); }
.print .signup-form .status.ok { color: #1f7a45; }
.print .signup-form .status.err { color: var(--neon-deep); }
.print + .section { padding-top: 72px; }

/* ---- Legacy: a band of its own ---- */
.band { background: var(--night-2); margin-top: 56px; padding: 64px 0 56px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band + .section { padding-top: 72px; }

/* ---- The road ahead: three per tier on show, the rest folded ---- */
.road-tier details { margin-top: 4px; }
.road-tier summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; font: 700 1rem/1 var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ice); list-style: none; }
.road-tier summary::-webkit-details-marker { display: none; }
.road-tier summary::before { content: '+'; display: inline-block; width: 1.1em; color: var(--neon-ink); font-weight: 900; }
.road-tier details[open] summary::before { content: '\2212'; }
.road-tier details ul { margin-top: 8px; }

/* ---- The big titles set in as they're reached, like the lead's: once, after their rule prints ---- */
@media (prefers-reduced-motion: no-preference) {
  .motion .section-head h2 { clip-path: inset(0 0 100% 0); transform: translateY(0.3em); transition: clip-path 0.9s var(--ease) 0.18s, transform 0.9s var(--ease) 0.18s; }
  .motion .section-head p { opacity: 0; transition: opacity 0.7s var(--ease) 0.45s; }
  .motion .section-head.printed h2 { clip-path: inset(0 0 -12% 0); transform: none; }
  .motion .section-head.printed p { opacity: 1; }
  .motion .pull, .motion .signup h2 { clip-path: inset(0 0 100% 0); transform: translateY(0.25em); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
  .motion .pull.set, .motion .signup h2.set { clip-path: inset(0 0 -12% 0); transform: none; }
}
@media (max-width: 760px) {
  .dateline .jump a { padding: 0 6px; }
  .lead-form { margin-top: 22px; }
}

/* The language of the emails: two choices, the page's own picked. */
.lang-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0; padding: 0; border: 0; }
.lang-pick legend { float: left; margin-right: 6px; padding: 0; font: 600 0.95rem/44px var(--head); letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.lang-pick label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 1rem/1 var(--head); letter-spacing: 0.03em; color: var(--ice); cursor: pointer; }
.lang-pick input { width: 18px; height: 18px; margin: 0; accent-color: var(--neon); }
.print .lang-pick legend { color: #5a606b; }
.print .lang-pick label { color: var(--ink); }
.print .lang-pick input { accent-color: var(--neon-deep); }

/* The newsroom's third row: your own photos (the folders, before and after) and sharing the front page. */
.third-row { margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.folders { margin: 14px 0 18px; padding: 14px 16px; background: rgba(21, 24, 30, 0.06); border-left: 3px solid var(--neon-deep); font: 600 0.9rem/1.55 ui-monospace, 'Cascadia Mono', Consolas, monospace; color: var(--ink); white-space: pre; overflow-x: auto; }
.pack-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.35fr); align-items: center; gap: 10px; margin: 0; }
.pack-pair img { width: 100%; height: auto; display: block; border-radius: 4px; }
.pack-pair > span { font: 900 1.6rem/1 var(--head); color: var(--neon-deep); }
.pack-pair figcaption { grid-column: 1 / -1; }
.share-shot { margin: 0; max-width: 520px; }
.share-shot img { box-shadow: 0 10px 30px rgba(21, 24, 30, 0.22); }
@media (max-width: 760px) { .pack-pair { grid-template-columns: 1fr; } .pack-pair > span { transform: rotate(90deg); justify-self: center; } }

/* The road ahead: what has landed in the game, struck through and tagged. */
.road-tier li.done s { text-decoration-color: var(--neon-ink); text-decoration-thickness: 2px; color: var(--muted); }
.road-tier li.done::marker { color: var(--muted); }
.done-tag { display: inline-block; margin-left: 4px; padding: 2px 7px 1px; border: 1px solid var(--neon-ink); border-radius: 2px; font: 700 0.72rem/1.2 var(--head); letter-spacing: 0.08em; text-transform: uppercase; color: var(--neon-ink); white-space: nowrap; vertical-align: 2px; }

/* The cookie choice (js/site.js): a small card at the bottom, until the visitor answers. */
.consent { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 50; width: min(560px, calc(100% - 32px));
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 16px; background: var(--night-2); color: var(--text);
  border: 1px solid rgba(238, 243, 249, 0.14); border-radius: 10px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55); font-size: 15px; line-height: 1.45; }
.consent p { margin: 0; flex: 1 1 260px; }
.consent-actions { display: flex; gap: 8px; }
.consent button { font: 700 17px/1 'Barlow Condensed', 'Arial Narrow', sans-serif; letter-spacing: .03em; text-transform: uppercase; padding: 10px 16px;
  border-radius: 6px; cursor: pointer; border: 1px solid rgba(238, 243, 249, 0.25); background: transparent; color: var(--ice); }
.consent .consent-yes { background: var(--neon-deep); border-color: var(--neon-deep); }
.consent button:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: inherit; text-transform: inherit; letter-spacing: inherit; }
