/* ==========================================================================
   ON Rewind — main stylesheet
   Modern editorial layout with 1970s–90s Ontario cues used sparingly:
   transport-control glyphs, broadcast "channel" numbers, ticket-stub edges,
   highway-sign condensed type. No neon, no static, no pixel fonts.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL OFL — see assets/fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Barlow Condensed"; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: optional; }
@font-face { font-family: "Barlow Condensed"; src: url(../fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); font-weight: 800; font-style: normal; font-display: optional; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url(../fonts/barlow-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-wght-normal.woff2) format("woff2-variations"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url(../fonts/source-serif-4-latin-wght-italic.woff2) format("woff2-variations"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--ink: #17140f;
	--ink-2: #2a2620;
	--ink-3: #3a352d;
	--paper: #f6f1e7;
	--paper-2: #ece4d4;
	--paper-3: #e0d5c0;
	--white: #fffdf8;
	--muted: #5e574c;
	--muted-on-ink: #b5ac9c;
	--line: rgba(23, 20, 15, .14);
	--line-strong: rgba(23, 20, 15, .3);
	--line-on-ink: rgba(246, 241, 231, .16);

	--signal: #e0492a;       /* fills, logo plate, CTA on ink */
	--signal-text: #b8361a;  /* text-safe on paper (5.2:1) */
	--blue: #3567b5;
	--blue-text: #2f5da6;
	--plum: #7b4b94;
	--pine: #2e7d5b;
	--pine-text: #2a6e50;
	--amber: #c98a1b;
	--amber-text: #8a5d0d;

	--font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-ui: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--container: 1240px;
	--wide: 1080px;
	--measure: 680px;
	--gutter: 16px;
	--radius: 3px;
	--radius-lg: 10px;
	--shadow: 0 1px 0 rgba(23, 20, 15, .06), 0 10px 30px -18px rgba(23, 20, 15, .45);
	--ease: cubic-bezier(.2, .7, .2, 1);

	--step--1: .875rem;
	--step-0: 1.0625rem;
	--step-1: clamp(1.2rem, 1.1rem + .4vw, 1.375rem);
	--step-2: clamp(1.45rem, 1.25rem + .8vw, 1.875rem);
	--step-3: clamp(1.85rem, 1.5rem + 1.6vw, 2.75rem);
	--step-4: clamp(2.4rem, 1.8rem + 3vw, 4.25rem);
	--step-5: clamp(2.9rem, 2rem + 4.8vw, 6.25rem);
}
@media (min-width: 720px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

/* Pillar tones: data-pillar on any element sets --tone / --tone-text */
[data-pillar] { --tone: var(--signal); --tone-text: var(--signal-text); }
[data-pillar="gone"] { --tone: var(--plum); --tone-text: var(--plum); }
[data-pillar="still-here"] { --tone: var(--pine); --tone-text: var(--pine-text); }
[data-pillar="retail"] { --tone: var(--signal); --tone-text: var(--signal-text); }
[data-pillar="play"] { --tone: var(--blue); --tone-text: var(--blue-text); }
[data-pillar="road-trips"] { --tone: var(--amber); --tone-text: var(--amber-text); }
[data-pillar="then-and-now"] { --tone: var(--ink); --tone-text: var(--ink); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: var(--step-0);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; }
:where(ul[class], ol[class], .site-nav ul, .pillar-strip ul, .menu-panel ul, .footer-col ul, .breadcrumbs ol, .sources ol, .credits ul) { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.screen-reader-text, .visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--measure) + var(--gutter) * 2); }

/* ---------- Glyphs & labels ---------- */
.glyph { width: .9em; height: .9em; flex: none; fill: currentColor; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.eyebrow, .label, .meta-mono {
	font-family: var(--font-mono);
	font-weight: 500;
	font-size: .75rem;
	line-height: 1.2;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.label {
	display: inline-flex; align-items: center; gap: .45em;
	color: var(--tone-text, var(--signal-text));
	text-decoration: none;
	position: relative; z-index: 2;
}
.label:hover { text-decoration: underline; }
.label .glyph { fill: var(--tone, var(--signal)); }
.on-ink .label, .label--on-ink { color: var(--paper); }
.on-ink .label .glyph { fill: var(--tone, var(--signal)); }
.on-ink [data-pillar="then-and-now"] .glyph, .on-ink .label[data-pillar="then-and-now"] .glyph { fill: var(--paper); }
.eyebrow { color: var(--muted); display: inline-flex; gap: .5em; align-items: center; }

/* ---------- Buttons ---------- */
.btn, .onr-button {
	--btn-bg: var(--ink); --btn-fg: var(--paper);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .7em 1.3em;
	background: var(--btn-bg); color: var(--btn-fg);
	border: 2px solid var(--btn-bg); border-radius: var(--radius);
	font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
	text-decoration: none; cursor: pointer;
	transition: transform .15s var(--ease), background-color .15s, color .15s;
}
.btn:hover, .onr-button:hover { transform: translateY(-1px); }
.btn:active, .onr-button:active { transform: translateY(1px); }
.btn .glyph { width: .8em; height: .8em; }
.btn--signal, .onr-button--primary { --btn-bg: var(--signal); --btn-fg: var(--ink); }
.btn--ghost { background: transparent; color: var(--btn-bg); }
.on-ink .btn--ghost { --btn-bg: var(--paper); color: var(--paper); }
.btn--small { min-height: 40px; padding: .5em .9em; font-size: 1rem; }
.link-arrow { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 231, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.site-header__bar { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.site-logo { display: block; flex: none; line-height: 0; }
.site-logo svg { height: 30px; width: auto; }
@media (min-width: 1100px) { .site-logo svg { height: 34px; } .site-header__bar { min-height: 76px; } }
.site-nav { display: none; margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a {
	display: flex; align-items: center; gap: .4em; padding: 10px 10px; border-radius: var(--radius);
	font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
}
.site-nav a .glyph { fill: var(--tone); width: .7em; height: .7em; }
.site-nav a:hover, .site-nav .current-menu-item > a, .site-nav a[aria-current="page"] { background: var(--paper-2); }
.site-header__tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); border: 0; background: transparent; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.header-newsletter { display: none; }
@media (min-width: 640px) { .header-newsletter { display: inline-flex; } }
@media (min-width: 1100px) {
	.site-nav { display: block; }
	.site-nav ~ .site-header__tools { margin-inline-start: 8px; }
	.menu-toggle { display: none; }
}
.menu-panel { border-top: 1px solid var(--line); background: var(--paper); padding-block: 12px 28px; }
.menu-panel[hidden] { display: none; }
.menu-panel { max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
.menu-panel__inner { display: grid; gap: 22px; }
.menu-panel__sections a { display: flex; align-items: center; gap: .7em; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.menu-panel__sections a > span { display: grid; gap: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.menu-panel__sections small { font-family: var(--font-ui); font-weight: 500; font-size: .85rem; text-transform: none; color: var(--muted); letter-spacing: 0; }
.menu-panel__sections .glyph { fill: var(--tone); width: .8em; height: .8em; }
.menu-panel__sections [data-pillar="then-and-now"] .glyph { fill: var(--ink); }
.menu-panel__sections a[aria-current="page"] { background: var(--paper-2); }
.menu-panel__browse { display: grid; gap: 10px; justify-items: start; }
.menu-panel__browse .eyebrow { margin-top: 4px; }
.menu-panel .menu-secondary { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.menu-panel .menu-secondary a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.menu-panel .menu-secondary a:hover { text-decoration: underline; }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; }
.search-form input[type=search] { flex: 1; min-width: 0; min-height: 48px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--white); font-size: 1.05rem; }
.search-form--big input[type=search] { min-height: 60px; font-size: 1.3rem; font-family: var(--font-body); }

/* ---------- Section heads ("channels") ---------- */
.section { padding-block: clamp(40px, 6vw, 80px); }
.section + .section { padding-top: 0; }
.section--band { background: var(--paper-2); }
.section--band + .section { padding-top: clamp(40px, 6vw, 80px); }
.section--ink, .on-ink { background: var(--ink); color: var(--paper); }
.section--ink + .section { padding-top: clamp(40px, 6vw, 80px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 3px solid currentColor; }
.section-head__titles { display: grid; gap: 8px; }
.section-head__ch { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: .6em; color: var(--muted); }
.on-ink .section-head__ch { color: var(--muted-on-ink); }
.section-head__ch b { display: inline-grid; place-items: center; min-width: 2.2em; height: 1.7em; padding: 0 .4em; background: var(--tone-text, var(--ink)); color: var(--paper); border-radius: 2px; font-weight: 500; }
.section-head__ch .glyph { fill: var(--tone, var(--signal)); }
.section-head h2 { font-size: var(--step-4); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .9; }
.section-head p { color: var(--muted); max-width: 46ch; font-family: var(--font-body); font-weight: 400; }
.on-ink .section-head p { color: var(--muted-on-ink); }
.section-head .link-arrow { flex: none; }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: start; } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px 24px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid--remember { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
@media (min-width: 980px) { .grid--remember { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.grid--lead { display: grid; gap: 28px 24px; }
@media (min-width: 900px) { .grid--lead { grid-template-columns: 1.6fr 1fr; } .grid--lead > :first-child { grid-row: span 2; } }

/* One story in a multi-column section: lay it out horizontally instead of leaving gaps. */
@media (min-width: 900px) {
	.grid--solo { grid-template-columns: 1fr; }
	.grid--solo > .card { grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
	.grid--solo > .card .card__title { font-size: var(--step-3); font-weight: 800; }
	.grid--solo > .card .card__dek { font-size: var(--step-1); }
}

/* ---------- Media (images + fallback) ---------- */
.media { position: relative; overflow: hidden; background: var(--paper-3); border-radius: var(--radius); aspect-ratio: 3 / 2; }
.media--sq { aspect-ratio: 1; }
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media__fallback {
	position: absolute; inset: 0; display: grid; place-items: center;
	background:
		repeating-linear-gradient(180deg, transparent 0 11px, rgba(255, 255, 255, .07) 11px 12px),
		linear-gradient(160deg, var(--tone, var(--signal)), var(--ink) 130%);
}
.media__fallback .glyph { width: 28%; height: auto; max-width: 120px; fill: rgba(246, 241, 231, .9); }

/* ---------- Cards ---------- */
.card { position: relative; display: grid; gap: 14px; align-content: start; }
.card__body { display: grid; gap: 8px; align-content: start; }
.card__title { font-size: var(--step-2); font-weight: 700; line-height: 1.02; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 2px; }
.card:hover .media img { transform: scale(1.03); }
.card:focus-within { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: var(--radius); }
.card__title a:focus-visible { outline: none; }
.card__dek { font-family: var(--font-body); font-weight: 400; font-size: 1.02rem; line-height: 1.45; color: var(--muted); }
.on-ink .card__dek { color: var(--muted-on-ink); }
.card__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.on-ink .card__meta { color: var(--muted-on-ink); }

.card--feature .card__title { font-size: var(--step-3); font-weight: 800; }
.card--feature .card__dek { font-size: var(--step-1); }

.card--compact { gap: 10px; }
.card--compact .card__title { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); }
.card--compact .card__kicker { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tone-text); display: flex; gap: .5em; align-items: center; }
.card--compact .card__kicker .glyph { fill: var(--tone); }

.card--row { grid-template-columns: 112px 1fr; gap: 16px; align-items: start; padding-block: 18px; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .card--row { grid-template-columns: 220px 1fr; gap: 24px; } }
.card--row .card__title { font-size: var(--step-2); }

/* Ticket-style "worth the drive" card */
.card--ticket { background: var(--white); border-radius: var(--radius-lg); padding: 10px 10px 18px; box-shadow: var(--shadow); }
.card--ticket .card__body { padding-inline: 8px; }
.card--ticket .media { border-radius: 6px; }
.card--ticket::before, .card--ticket::after { content: ""; position: absolute; top: calc(66.6% * .66); width: 18px; height: 18px; border-radius: 50%; background: var(--paper-2); }
.card--ticket::before { left: -9px; }
.card--ticket::after { right: -9px; }
.section:not(.section--band) .card--ticket::before, .section:not(.section--band) .card--ticket::after { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); padding-block: clamp(28px, 5vw, 64px) 0; position: relative; overflow: hidden; }
.hero::before { /* faint broadcast scan texture, static and subtle */
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, .025) 3px 4px);
}
.hero__grid { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; } }
.hero__intro { position: relative; display: grid; gap: 22px; align-content: center; padding-block: clamp(8px, 4vw, 56px) clamp(0px, 3vw, 40px); }
.hero__eyebrow { color: var(--muted-on-ink); }
.hero__eyebrow .glyph { fill: var(--signal); }
.hero__title { font-size: var(--step-5); font-weight: 800; text-transform: uppercase; line-height: .86; letter-spacing: -.012em; }
.hero__title em { font-style: normal; color: var(--signal); }
.hero__lede { font-family: var(--font-body); font-weight: 400; font-size: var(--step-1); line-height: 1.45; color: #ddd5c6; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pillar strip (tape-deck buttons) */
.pillar-strip { position: relative; border-top: 1px solid var(--line-on-ink); }
.pillar-strip ul { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.pillar-strip ul::-webkit-scrollbar { display: none; }
.pillar-strip li { flex: 1 0 auto; scroll-snap-align: start; }
.pillar-strip a {
	display: flex; align-items: center; gap: .55em; justify-content: center; min-height: 56px; padding: 0 18px;
	font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
	border-inline-end: 1px solid var(--line-on-ink); color: var(--paper);
}
.pillar-strip li:first-child a { border-inline-start: 1px solid var(--line-on-ink); }
.pillar-strip a .glyph { fill: var(--tone); width: .7em; height: .7em; }
.pillar-strip a[data-pillar="then-and-now"] .glyph { fill: var(--paper); }
.pillar-strip a:hover { background: var(--ink-2); }

/* ---------- Archive headers ---------- */
.archive-head { padding-block: clamp(32px, 6vw, 72px) clamp(24px, 4vw, 40px); border-bottom: 1px solid var(--line); position: relative; }
.archive-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--tone, var(--signal)); }
.archive-head__inner { display: grid; gap: 14px; }
.archive-head h1 { font-size: var(--step-5); font-weight: 800; text-transform: uppercase; line-height: .86; display: flex; align-items: center; gap: .18em; }
.archive-head h1 .glyph { width: .42em; height: .42em; fill: var(--tone); flex: none; }
.archive-head p.archive-head__desc { font-family: var(--font-body); font-weight: 400; font-size: var(--step-1); max-width: 44ch; color: var(--muted); }
.archive-head__sponsor { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: .45em; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; text-decoration: none; background: transparent; }
.chip .glyph { fill: var(--tone, var(--ink)); width: .65em; height: .65em; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip[aria-current="true"] .glyph { fill: var(--paper); }

.pagination { margin-top: 48px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; font-family: var(--font-mono); font-size: .85rem; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Story (single) ---------- */
.breadcrumbs { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4em; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .4em; opacity: .5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.story__header { padding-top: clamp(24px, 4vw, 48px); display: grid; gap: 18px; }
.story__title { font-size: var(--step-4); font-weight: 800; line-height: .95; }
.story__dek { font-family: var(--font-body); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.35; color: var(--ink-3); }
.story__byline { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding-block: 14px; border-block: 1px solid var(--line); font-size: .95rem; }
.story__byline .meta-mono { color: var(--muted); }
.story__byline strong { font-weight: 600; }
.story__hero { margin: clamp(24px, 4vw, 40px) auto 0; }
.story__hero .media { aspect-ratio: auto; background: var(--paper-3); border-radius: 4px; }
.story__hero .media img { height: auto; max-height: 82vh; object-fit: cover; }
.figcaption, .story__hero figcaption, .entry-content figcaption {
	margin-top: 10px; font-family: var(--font-ui); font-size: .88rem; line-height: 1.4; color: var(--muted);
}
.credit { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.figcaption .credit { display: block; margin-top: 4px; }

.notice-sample { background: repeating-linear-gradient(-45deg, #fde7e1 0 12px, #fbded6 12px 24px); border: 2px dashed var(--signal-text); color: var(--signal-text); padding: 12px 16px; border-radius: var(--radius); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; line-height: 1.5; }
.notice-draft { background: repeating-linear-gradient(-45deg, #f6ecd2 0 12px, #f1e4c2 12px 24px); border-color: var(--amber-text); color: var(--amber-text); }
.disclosure { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); font-size: .9rem; }
.disclosure .meta-mono { background: var(--signal); color: var(--ink); padding: 3px 6px; border-radius: 2px; }
.disclosure a { color: var(--paper); }

/* At-a-glance ticket */
.glance { margin: 32px auto 40px; }
.glance__ticket { display: grid; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); position: relative; overflow: hidden; }
@media (min-width: 640px) { .glance__ticket { grid-template-columns: auto 1fr; } }
.glance--few .glance__ticket { grid-template-columns: 1fr; }
.glance__stub { background: var(--tone-text, var(--signal-text)); color: var(--paper); padding: 16px 18px; display: flex; align-items: center; gap: .6em; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.2rem; letter-spacing: .04em; }
.glance__stub .glyph { fill: var(--paper); }
@media (min-width: 640px) { .glance:not(.glance--few) .glance__stub { writing-mode: vertical-rl; transform: rotate(180deg); padding: 18px 14px; justify-content: center; border-left: 2px dashed rgba(246, 241, 231, .5); } }
.glance dl { margin: 0; padding: 16px 20px; display: grid; gap: 12px 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.glance dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.glance dd { margin: 2px 0 0; font-weight: 600; }
.glance dd a { color: var(--blue-text); }
.status { display: inline-flex; align-items: center; gap: .4em; }
.status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--muted); }
.status--operating::before, .status--seasonal::before { background: var(--pine); box-shadow: 0 0 0 3px rgba(46, 125, 91, .2); }
.status--closed::before, .status--demolished::before { background: var(--signal); }
.status--repurposed::before, .status--relaunched::before { background: var(--amber); }

/* Long-form body */
.entry-content { font-family: var(--font-body); font-weight: 400; font-size: clamp(1.09rem, 1.02rem + .3vw, 1.2rem); line-height: 1.68; color: #221e18; }
.entry-content > * { max-width: var(--measure); margin-inline: auto; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content > .alignwide { max-width: var(--wide); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { font-size: var(--step-3); font-weight: 800; margin-top: 1.9em; line-height: 1; color: var(--ink); }
.entry-content h3 { font-size: var(--step-2); margin-top: 1.6em; color: var(--ink); }
.entry-content h2 + *, .entry-content h3 + * { margin-top: .6em; }
.entry-content a { color: var(--blue-text); text-decoration-color: rgba(47, 93, 166, .45); }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content ul:not([class*="is-style"]), .entry-content ol:not([class*="is-style"]) { padding-left: 1.3em; list-style: revert; }
.entry-content > ul, .entry-content > ol { margin-inline: auto; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--signal-text); }
.entry-content strong { font-weight: 650; }
.entry-content blockquote { margin-inline: auto; padding: 0 0 0 1.1em; border-left: 4px solid var(--signal); font-style: italic; }
.entry-content hr { border: 0; height: 18px; background: radial-gradient(circle, var(--ink) 2px, transparent 2.5px) center / 18px 18px repeat-x; max-width: 90px; }
.entry-content figure { margin-bottom: 0; }
.entry-content img { border-radius: 3px; }
.entry-content .wp-block-image.alignwide img, .entry-content .wp-block-image.alignfull img { width: 100%; }

/* Block styles registered by the plugin */
.entry-content .is-style-memory-box, .memory-cta {
	background: var(--ink); color: var(--paper); padding: 26px 26px 28px; border-radius: var(--radius-lg); position: relative; font-family: var(--font-ui);
}
.entry-content .is-style-memory-box h3, .memory-cta h2 { font-size: var(--step-2); text-transform: uppercase; font-weight: 800; color: var(--paper); margin: 0; }
.entry-content .is-style-memory-box h3::before, .memory-cta h2::before { content: "◀◀ "; color: var(--signal); font-size: .7em; vertical-align: .12em; }
.entry-content .is-style-memory-box p, .memory-cta p { color: #ddd5c6; margin-top: .6em; }
.entry-content .is-style-memory-box a { color: var(--paper); }
.entry-content .is-style-ticket { background: var(--white); padding: 20px 22px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border-left: 6px dashed var(--signal); }
.entry-content .is-style-ticket h3 { margin-top: 0; }
.entry-content .is-style-reader-memory { border: 0; padding: 22px 24px; background: var(--paper-2); border-radius: var(--radius-lg); font-style: normal; position: relative; }
.entry-content .is-style-reader-memory::before { content: "Reader memory"; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal-text); display: block; margin-bottom: 8px; }
.entry-content .is-style-reader-memory p { font-size: 1.12em; line-height: 1.5; }
.entry-content .is-style-reader-memory cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.entry-content .is-style-then-now { position: relative; gap: 8px; }
.entry-content .is-style-then-now figure.wp-block-image { position: relative; }
.entry-content .is-style-then-now figure.wp-block-image::before { content: "Then"; position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; }
.entry-content .is-style-then-now figure.wp-block-image:nth-of-type(2)::before { content: "Now"; background: var(--signal); color: var(--ink); }
.entry-content .is-style-tape-list { counter-reset: tape; list-style: none; padding: 0; }
.entry-content .is-style-tape-list > li { counter-increment: tape; position: relative; padding-left: 3.4em; }
.entry-content .is-style-tape-list > li::before { content: counter(tape, decimal-leading-zero); position: absolute; left: 0; top: .15em; font-family: var(--font-mono); font-size: .8em; background: var(--ink); color: var(--paper); padding: 2px 6px; border-radius: 2px; }

/* Story footer modules */
.story__after { display: grid; gap: 40px; margin-top: 56px; }
.whats-there-now { border-top: 3px solid var(--ink); padding-top: 18px; }
.whats-there-now h2 { font-size: var(--step-3); font-weight: 800; text-transform: uppercase; }
.whats-there-now p { font-family: var(--font-body); font-weight: 400; font-size: 1.12rem; line-height: 1.6; margin-top: 10px; }
.whats-there-now .meta-mono { color: var(--muted); margin-top: 12px; display: block; }
.memory-cta { display: grid; gap: 16px; }
.memory-cta .btn { justify-self: start; }

.sources h2, .credits h2 { font-size: 1.5rem; text-transform: uppercase; font-weight: 800; display: flex; align-items: center; gap: .4em; }
.sources ol { counter-reset: src; margin-top: 14px; display: grid; gap: 12px; }
.sources li { counter-increment: src; position: relative; padding-left: 2.6em; font-size: .95rem; line-height: 1.45; }
.sources li::before { content: counter(src, decimal-leading-zero); position: absolute; left: 0; top: .1em; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 2px; padding: 1px 4px; }
.sources a { color: var(--blue-text); word-break: break-word; }
.sources .src-meta { color: var(--muted); }
.credits ul { margin-top: 10px; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.story-updates { font-size: .95rem; color: var(--muted); border-left: 3px solid var(--amber); padding-left: 12px; }
.story-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.story-tools a.correction { font-size: .92rem; color: var(--muted); }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.share__label { margin-inline-end: 6px; color: var(--muted); }
.share a, .share button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.share svg { width: 18px; height: 18px; }
.share svg:not([fill="none"]) { fill: currentColor; }
.share [data-share-native] { width: auto; padding: 0 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; gap: .4em; display: none; }
.share.has-native [data-share-native] { display: inline-flex; }
.share [data-copied]::after { content: attr(data-copied); position: absolute; transform: translateY(-36px); background: var(--ink); color: var(--paper); padding: 4px 8px; border-radius: 2px; font-size: .75rem; white-space: nowrap; }

/* Related */
.related { background: var(--paper-2); padding-block: clamp(40px, 6vw, 72px); margin-top: 64px; }

/* ---------- Newsletter band (ticket) ---------- */
.newsletter-band { padding-block: clamp(40px, 6vw, 80px); }
.newsletter-ticket {
	position: relative; display: grid; gap: 22px; background: var(--signal); color: var(--ink);
	border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px);
	-webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
@media (min-width: 900px) { .newsletter-ticket { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }
.newsletter-ticket h2 { font-size: var(--step-4); font-weight: 800; text-transform: uppercase; line-height: .88; }
.newsletter-ticket p.lede { font-family: var(--font-body); font-weight: 400; font-size: var(--step-1); margin-top: 12px; max-width: 36ch; }
.newsletter-ticket .admit { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.newsletter-ticket .onr-form input[type=email] { border-color: var(--ink); }
.newsletter-ticket .onr-button--primary { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.newsletter-ticket .onr-form__fine, .newsletter-ticket .onr-form__fine a { color: var(--ink); }

/* ---------- Forms ---------- */
.onr-form { display: grid; gap: 18px; }
.onr-form__fields { display: grid; gap: 18px 16px; }
@media (min-width: 640px) { .onr-form__fields { grid-template-columns: 1fr 1fr; } .onr-field { grid-column: 1 / -1; } .onr-field--half { grid-column: span 1; } }
.onr-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.onr-field input[type=text], .onr-field input[type=email], .onr-field input[type=url], .onr-field select, .onr-field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--white); font-size: 1.05rem; font-weight: 500;
}
.onr-field textarea { font-family: var(--font-body); font-weight: 400; line-height: 1.55; resize: vertical; }
.onr-field input:focus, .onr-field select:focus, .onr-field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(53, 103, 181, .35); outline-offset: 0; }
.onr-field input[type=file] { font-size: .95rem; padding: 10px; border: 2px dashed var(--line-strong); border-radius: var(--radius); width: 100%; background: var(--white); }
.onr-check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; line-height: 1.4; cursor: pointer; }
.onr-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--ink); }
.onr-req { color: var(--signal-text); }
.onr-field__help { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.onr-field__error { font-size: .9rem; color: var(--signal-text); font-weight: 600; margin-top: 6px; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--signal-text) !important; }
.onr-form__actions { display: grid; gap: 12px; justify-items: start; }
.onr-form__fine { font-size: .85rem; color: var(--muted); max-width: 60ch; }
.onr-notice { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.onr-notice--ok { background: #dcefe4; color: #1d5139; border-left: 5px solid var(--pine); }
.onr-notice--error { background: #fde4dd; color: #8c2a14; border-left: 5px solid var(--signal); }
.onr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.onr-form--compact .onr-form__fields { grid-template-columns: 1fr; }
.onr-form--newsletter .onr-form__fields { grid-template-columns: 1fr; }
@media (min-width: 520px) {
	.onr-form--newsletter { grid-template-columns: 1fr auto; align-items: end; column-gap: 10px; }
	.onr-form--newsletter .onr-form__status, .onr-form--newsletter .onr-field--checkbox, .onr-form--newsletter .onr-form__fine { grid-column: 1 / -1; }
	.onr-form--newsletter .onr-form__fields { display: contents; }
	.onr-form--newsletter .onr-field--email { grid-column: 1; }
	.onr-form--newsletter .onr-form__actions { grid-column: 2; grid-row: 2; display: contents; }
	.onr-form--newsletter .onr-button { grid-column: 2; grid-row: 2; align-self: end; }
}
.onr-form.is-busy { opacity: .6; pointer-events: none; }

/* ---------- Pages ---------- */
.page-head { padding-block: clamp(32px, 6vw, 72px) 28px; }
.page-head h1 { font-size: var(--step-5); font-weight: 800; text-transform: uppercase; line-height: .88; }
.page-head p { font-family: var(--font-body); font-weight: 400; font-size: var(--step-1); color: var(--muted); max-width: 46ch; margin-top: 16px; }
.page-body { padding-bottom: 72px; }
.page-body .entry-content > .wp-block-shortcode, .page-body .entry-content > form { max-width: var(--measure); }
.page-body .entry-content .onr-form { font-family: var(--font-ui); font-size: 1rem; }

/* ---------- Empty / 404 ---------- */
.empty { padding-block: 72px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.empty h1, .empty h2 { font-size: var(--step-5); font-weight: 800; text-transform: uppercase; line-height: .86; }
.empty p { font-family: var(--font-body); font-weight: 400; font-size: var(--step-1); color: var(--muted); max-width: 40ch; }
.empty .search-form { width: min(560px, 100%); }
.counter { font-family: var(--font-mono); font-size: 1rem; letter-spacing: .2em; background: var(--ink); color: var(--signal); padding: 8px 14px; border-radius: 4px; }

/* ---------- Slots (ads/sponsors, off at launch) ---------- */
.slot { margin-block: 40px; text-align: center; }
.slot__label { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 56px 28px; margin-top: 0; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr repeat(4, 1fr); } .footer-brand { grid-column: auto; } }
.footer-brand svg { height: 34px; width: auto; }
.footer-brand p { margin-top: 16px; color: var(--muted-on-ink); font-family: var(--font-body); font-weight: 400; max-width: 34ch; }
.footer-col h2 { font-family: var(--font-mono); font-weight: 500; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-ink); margin-bottom: 12px; }
.footer-col li { padding-block: 5px; }
.footer-col a { display: inline-flex; gap: .45em; align-items: center; min-height: 32px; }
.footer-col .glyph { fill: var(--tone); width: .6em; height: .6em; }
.footer-col [data-pillar="then-and-now"] .glyph { fill: var(--paper); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-on-ink); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: var(--muted-on-ink); }
.footer-base p { max-width: 70ch; }
.footer-base a { color: var(--muted-on-ink); text-decoration: underline; }

/* ---------- Cookie consent (GA4 only) ---------- */
.consent { position: fixed; inset: auto 12px 12px 12px; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__inner { pointer-events: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; max-width: 760px; padding: 14px 16px; background: var(--ink); color: var(--paper); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(23, 20, 15, .3); outline: 1px solid rgba(246, 241, 231, .28); }
.consent__text { margin: 0; flex: 1 1 320px; font-size: .95rem; line-height: 1.45; }
.consent__text a { color: var(--paper); }
.consent__actions { display: flex; gap: 10px; }
.consent .btn--ghost { --btn-bg: var(--paper); color: var(--paper); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ==========================================================================
   0.2 — reading, discovery and search
   ========================================================================== */

@keyframes onr-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes onr-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes onr-rewind { 0% { transform: translateX(0); } 30% { transform: translateX(-16%); } 45% { transform: translateX(-9%); } 60% { transform: translateX(-15%); } 100% { transform: translateX(0); } }
@keyframes onr-spin { to { transform: rotate(-360deg); } }

/* Logo: the ◀◀ gives a little rewind on hover. */
.site-logo svg path[fill="#E0492A"] { transform-box: fill-box; transform-origin: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.site-logo:hover svg path[fill="#E0492A"], .site-logo:focus-visible svg path[fill="#E0492A"] { animation: onr-rewind .7s var(--ease); }
}

/* Cards: a slightly livelier hover, still quiet. */
@media (hover: hover) {
	.card--ticket, .card--compact .media, .card--standard .media { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
	.card--ticket:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(23, 20, 15, .06), 0 18px 34px -18px rgba(23, 20, 15, .55); }
	.card--compact:hover .media, .card--standard:hover .media { box-shadow: 0 14px 28px -20px rgba(23, 20, 15, .7); }
}

/* ---------- Header: "Now playing" + reading progress (stories) ---------- */
.now-playing { display: none; flex: 1; min-width: 0; flex-direction: column; justify-content: center; gap: 3px; padding-inline-start: 16px; border-inline-start: 1px solid var(--line); text-decoration: none; }
.is-reading .now-playing { display: flex; animation: onr-rise .3s var(--ease) both; }
.is-reading .site-nav { display: none; }
.now-playing__label { display: inline-flex; align-items: center; gap: .45em; color: var(--signal-text); font-size: .66rem; }
.now-playing__label .glyph { fill: var(--signal); width: .8em; height: .8em; }
.now-playing__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now-playing:hover .now-playing__title { text-decoration: underline; }
@media (max-width: 899px) {
	/* Collapse the wordmark to its "ON" plate to make room for the title. */
	.site-logo { transition: width .25s var(--ease); width: calc(30px * 4563 / 910); overflow: hidden; }
	.site-logo svg { max-width: none; }
	.is-reading .site-logo { width: calc(30px * 1137 / 910); }
	.is-reading .site-header__bar { gap: 12px; }
	.is-reading .header-newsletter { display: none; }
	.now-playing { padding-inline-start: 12px; }
	.now-playing__title { font-size: 1rem; }
}
.readbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; overflow: hidden; }
.readbar__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--signal), #f0703f); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }

/* ---------- Instant search dialog ---------- */
.has-dialog { overflow: hidden; }
.search-dialog { width: min(680px, calc(100vw - 24px)); max-width: none; max-height: min(78dvh, 720px); margin: max(10px, 9vh) auto auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(23, 20, 15, .55); overflow: hidden; }
.search-dialog[open] { display: flex; flex-direction: column; animation: onr-rise .22s var(--ease); }
.search-dialog::backdrop { background: rgba(23, 20, 15, .55); backdrop-filter: blur(3px); }
.search-dialog__panel { display: flex; flex-direction: column; min-height: 0; }
.search-dialog__form { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 18px; border-bottom: 2px solid var(--ink); background: var(--white); }
.search-dialog__form > .icon { width: 22px; height: 22px; color: var(--muted); }
.search-dialog__form input { flex: 1; min-width: 0; min-height: 52px; border: 0; background: transparent; font-family: var(--font-body); font-size: 1.3rem; outline: none; }
.search-dialog__form input::-webkit-search-cancel-button { display: none; }
.search-dialog.is-loading .search-dialog__form > .icon { animation: onr-spin 1s linear infinite; }
.search-dialog__body { overflow-y: auto; overscroll-behavior: contain; padding: 14px 18px 18px; display: grid; gap: 12px; }
.search-dialog__status { font-size: .9rem; color: var(--muted); }
.search-dialog__status:empty { display: none; }
.search-dialog__browse { display: grid; gap: 10px; }
.search-dialog__browse[hidden] { display: none; }
.search-dialog__browse .chip { min-height: 36px; font-size: .95rem; padding: 0 12px; }
.random-link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 600; color: var(--signal-text); }
.search-dialog__hint { display: none; padding: 10px 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .66rem; }
@media (hover: hover) and (pointer: fine) { .search-dialog__hint { display: block; } }
kbd { display: inline-block; min-width: 1.7em; padding: 1px 5px; margin-inline-end: 2px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 3px; font-family: var(--font-mono); font-size: .95em; text-align: center; background: var(--white); }

.instant-results { display: grid; gap: 2px; margin: 0 -8px; }
.instant-results[hidden] { display: none; }
.instant-results a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 6px; text-decoration: none; }
.instant-results img, .instant-results__ph { width: 56px; height: 56px; border-radius: 4px; object-fit: cover; background: linear-gradient(160deg, var(--tone, var(--signal)), var(--ink) 130%); }
.instant-results__text { display: grid; gap: 2px; min-width: 0; }
.instant-results__meta { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tone-text, var(--muted)); }
.instant-results__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; text-transform: uppercase; }
.instant-results__title mark { background: rgba(224, 73, 42, .22); color: inherit; border-radius: 2px; padding: 0 1px; }
.instant-results__dek { font-size: .88rem; color: var(--muted); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.instant-results [aria-selected="true"] > a, .instant-results a:hover { background: var(--paper-2); }
.instant-results [aria-selected="true"] > a { box-shadow: inset 3px 0 0 var(--signal); }
.instant-results__all a { display: flex; min-height: 48px; padding-inline: 12px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--signal-text); }

/* Search page filters */
.search-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; margin-top: 4px; }
.search-filters label { display: grid; gap: 4px; }
.search-filters label .meta-mono { color: var(--muted); font-size: .66rem; }
.search-filters select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317140f' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; -webkit-appearance: none; font-weight: 600; }
.search-filters__clear { align-self: center; font-size: .92rem; color: var(--muted); min-height: 44px; display: inline-flex; align-items: center; }
.search-browse { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- Chips (regions / decades) ---------- */
.chips ul { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { transition: background-color .15s, border-color .15s, color .15s; }
.chip.is-current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip__n { display: inline-grid; place-items: center; min-width: 1.75em; height: 1.75em; padding: 0 .35em; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-family: var(--font-mono); font-weight: 500; font-size: .68rem; letter-spacing: 0; }
.chip.is-current .chip__n { background: rgba(246, 241, 231, .18); color: var(--paper); }
.on-ink .chip { border-color: var(--line-on-ink); color: var(--paper); }

/* Browse archives (/region/…, /decade/…) */
.archive-head--browse { background: var(--paper-2); }
.archive-head--browse::before { background: repeating-linear-gradient(90deg, var(--signal) 0 25%, var(--amber) 25% 50%, var(--pine) 50% 75%, var(--blue) 75% 100%); }
.archive-head--browse .eyebrow .glyph { fill: var(--signal); }
.archive-head--browse .chips { margin-top: 8px; }
.browse-switch { margin-top: 64px; padding-top: 22px; border-top: 3px solid var(--ink); display: grid; gap: 14px; }
.browse-switch__title { font-size: var(--step-2); font-weight: 800; text-transform: uppercase; }

/* ---------- Homepage: Rewind to… ---------- */
.rewind-to__grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .rewind-to__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }
.rewind-to__label { color: var(--muted); margin-bottom: 14px; }
.tapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .tapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tape {
	--shell: var(--ink); --label: var(--paper);
	position: relative; display: grid; gap: 8px; padding: 10px 10px 12px; border-radius: 8px; background: var(--shell); color: var(--ink); text-decoration: none;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .06), 0 10px 22px -16px rgba(23, 20, 15, .8);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tapes li:nth-child(6n+2) .tape { --label: #f3d9a4; }
.tapes li:nth-child(6n+3) .tape { --label: #f6c7b9; }
.tapes li:nth-child(6n+4) .tape { --label: #cfe2d6; }
.tapes li:nth-child(6n+5) .tape { --label: #d5dff2; }
.tapes li:nth-child(6n+6) .tape { --label: #e2d3ea; }
.tape__label { display: flex; align-items: center; gap: 10px; padding: 8px 10px 6px; border-radius: 3px; background: var(--label); font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em;
	background-image: linear-gradient(transparent calc(100% - 7px), var(--signal) calc(100% - 7px), var(--signal) calc(100% - 4px), transparent calc(100% - 4px)); }
.tape__side { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 2px; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: 0; }
.tape__window { display: flex; justify-content: center; gap: 22%; align-items: center; margin-inline: 14%; height: 34px; border-radius: 17px; background: #3b362e; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); }
.tape__window i { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle, #3b362e 0 4px, transparent 4.5px), repeating-conic-gradient(var(--paper-3) 0 30deg, #cdbfa6 30deg 60deg); box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); }
.tape__n { color: var(--muted-on-ink); text-align: center; font-size: .66rem; }
.tape:hover, .tape:focus-visible { transform: translateY(-3px) rotate(-.6deg); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08), 0 18px 30px -16px rgba(23, 20, 15, .9); }
.tape:hover .tape__label, .tape:focus-visible .tape__label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .1em; }
@media (prefers-reduced-motion: no-preference) {
	.tape:hover .tape__window i, .tape:focus-visible .tape__window i { animation: onr-spin 1.1s linear infinite; }
}

.region-list { border-top: 1px solid var(--line-strong); }
.region-list a { display: grid; grid-template-columns: 1fr auto 20px; gap: 12px; align-items: center; min-height: 52px; padding: 10px 2px; border-bottom: 1px solid var(--line-strong); text-decoration: none; }
.region-list__name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; }
.region-list__n { display: inline-grid; place-items: center; min-width: 2em; height: 2em; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.region-list .icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.region-list a:hover .region-list__name { text-decoration: underline; }
.region-list a:hover .icon { transform: translateX(4px); }

.random-card { display: grid; gap: 6px; margin-top: 22px; padding: 20px 22px; border-radius: var(--radius-lg); text-decoration: none; position: relative; overflow: hidden; }
.random-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, .03) 3px 4px); }
.random-card__eyebrow { color: var(--muted-on-ink); }
.random-card__title { display: flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1; text-transform: uppercase; }
.random-card__title .icon { width: .8em; height: .8em; color: var(--signal); transition: transform .3s var(--ease); }
.random-card__dek { color: #ddd5c6; font-family: var(--font-body); font-weight: 400; }
.random-card:hover .random-card__title { text-decoration: underline; text-decoration-thickness: 3px; }
@media (prefers-reduced-motion: no-preference) { .random-card:hover .random-card__title .icon { transform: rotate(-12deg) scale(1.1); } }
.random-btn .icon { width: 1em; height: 1em; }

/* ---------- Story: jump-to / in this story ---------- */
.story-nav { margin-block: 4px 32px; }
.story-nav details { border: 1.5px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--white); }
.story-nav summary { display: flex; align-items: center; gap: .6em; min-height: 52px; padding: 10px 18px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .03em; text-transform: uppercase; }
.story-nav summary::-webkit-details-marker { display: none; }
.story-nav summary .icon { width: 20px; height: 20px; color: var(--tone-text, var(--signal-text)); }
.story-nav summary::after { content: ""; margin-inline-start: auto; width: .5em; height: .5em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
.story-nav details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.story-nav ol { counter-reset: nav; margin: 0; padding: 0 18px 12px; list-style: none; }
.story-nav li { counter-increment: nav; }
.story-nav a { display: grid; grid-template-columns: 2em minmax(0, 1fr); align-items: baseline; column-gap: .75em; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-weight: 600; line-height: 1.3; }
.story-nav a::before { content: counter(nav, decimal-leading-zero); font-family: var(--font-mono); font-weight: 500; font-size: .7rem; color: var(--muted); min-width: 2em; }
.story-nav a:hover { color: var(--tone-text, var(--signal-text)); text-decoration: underline; }
.story-nav__where { grid-column: 2; color: var(--muted); font-weight: 500; font-size: .88rem; }
@media (min-width: 720px) { .story-nav--list ol { columns: 2; column-gap: 28px; } .story-nav--list li { break-inside: avoid; } }
.entry-content :is(h2, h3)[id] { scroll-margin-top: 90px; }

/* Byline: sources chip */
.story__byline .byline-sources { display: inline-flex; align-items: center; gap: .4em; padding: 5px 10px; border: 1.5px solid currentColor; border-radius: 999px; color: var(--pine-text); text-decoration: none; }
.story__byline .byline-sources:hover { background: var(--pine-text); color: var(--paper); }
.byline-sources .icon { width: 1.05em; height: 1.05em; }

/* Hero photo zoom + lightbox */
.story__hero img { cursor: zoom-in; }
.zoom-btn { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(23, 20, 15, .72); color: var(--paper); cursor: pointer; opacity: .9; transition: opacity .2s, transform .2s var(--ease); }
.zoom-btn:hover { opacity: 1; transform: scale(1.07); }
.zoom-btn .icon { width: 20px; height: 20px; }
.zoom-btn[hidden] { display: none; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 60px 16px 20px; border: 0; background: rgba(15, 13, 10, .95); color: var(--paper); }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: center; gap: 14px; animation: onr-fade .2s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; cursor: zoom-out; }
.lightbox form { position: absolute; top: 10px; right: 10px; margin: 0; }
.lightbox__close { color: var(--paper); }
.lightbox__close:hover { background: rgba(255, 255, 255, .1); }
.lightbox__caption { max-width: 72ch; text-align: center; font-size: .92rem; line-height: 1.45; color: #ddd5c6; }
.lightbox__caption .credit { display: block; margin-top: 4px; color: var(--muted-on-ink); }

/* Sources panel ("How we know this") */
.sources { border-top: 3px solid var(--ink); }
.sources > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 56px; padding-block: 16px; cursor: pointer; list-style: none; }
.sources > summary::-webkit-details-marker { display: none; }
.sources > summary::after { content: ""; margin-inline-start: auto; width: .6em; height: .6em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--ease); }
.sources[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.sources__title { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; }
.sources__title .icon { color: var(--pine); width: .9em; height: .9em; }
.sources__meta { color: var(--muted); }
.sources > summary:hover .sources__title { text-decoration: underline; }
.sources__body { display: grid; gap: 6px; padding-bottom: 12px; }
.sources__intro { font-size: .95rem; color: var(--muted); max-width: 62ch; }
.sources__body h2 { font-size: 1.15rem; margin-top: 18px; }
.sources__body ol { margin-top: 8px; }
.sources__body .credits { margin-top: 8px; }

/* Up next */
.up-next { display: grid; gap: 10px; margin-top: 56px; }
.up-next__link { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); text-decoration: none; box-shadow: var(--shadow); }
@media (min-width: 720px) { .up-next__link { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); } }
.up-next__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-3); }
.up-next__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.up-next__link:hover .up-next__media img { transform: scale(1.04); }
.up-next__body { display: grid; align-content: center; gap: 10px; padding: clamp(20px, 3vw, 40px); border-top: 6px solid var(--tone); }
@media (min-width: 720px) { .up-next__body { border-top: 0; border-left: 6px solid var(--tone); } }
.up-next[data-pillar="then-and-now"] .up-next__body { border-color: var(--paper); }
.up-next__eyebrow { display: inline-flex; align-items: center; gap: .5em; color: var(--muted-on-ink); }
.up-next__eyebrow .glyph { fill: var(--signal); }
.up-next__title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: .95; text-transform: uppercase; }
.up-next__link:hover .up-next__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .1em; }
.up-next__dek { font-family: var(--font-body); font-weight: 400; color: #ddd5c6; line-height: 1.45; }
.up-next__random { justify-self: end; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--muted); text-decoration: none; }
.up-next__random:hover { color: var(--ink); text-decoration: underline; }
.up-next__random .icon { width: 1.2em; height: 1.2em; }
.up-next + .related { margin-top: 48px; }

/* Footer: browse column */
.footer-decades { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 6px; }
.footer-decades a { font-family: var(--font-mono); font-size: .85rem; }
.footer-col .icon { width: 1em; height: 1em; }
.chips ul { margin: 0; padding: 0; list-style: none; }
.chips--decades .chip, .tape__label, .archive-head--decade h1, .footer-decades a { text-transform: none; }
.sources .credits li { padding-left: 0; }
.sources .credits li::before { content: none; }
.search-dialog__status { order: -1; }

/* ==========================================================================
   0.3 — retro look: channels hero, ticker, section styles, texture
   ========================================================================== */
:root {
	--stripe-1: #e9b949; --stripe-2: #e2862d; --stripe-3: #e0492a; --stripe-4: #a3311d;
	--stripes: linear-gradient(180deg, var(--stripe-1) 0 25%, var(--stripe-2) 25% 50%, var(--stripe-3) 50% 75%, var(--stripe-4) 75% 100%);
	--stripes-x: linear-gradient(90deg, var(--stripe-1) 0 25%, var(--stripe-2) 25% 50%, var(--stripe-3) 50% 75%, var(--stripe-4) 75% 100%);
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .08 0 0 0 0 .06 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Paper grain: one fixed layer over everything, too faint to affect reading. */
body::after { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--grain); opacity: .07; will-change: transform; }

/* ---------- Hero: 70s swoosh + TV channels ---------- */
.hero { padding-top: clamp(28px, 5vw, 56px); }
.hero__swoosh { position: absolute; left: 0; top: 0; width: min(620px, 70vw); height: auto; pointer-events: none; opacity: .95; }
.hero__swoosh path { fill: none; stroke-width: 21; }
@media (max-width: 979px) { .hero__swoosh { width: 300px; opacity: .55; } }
@media (prefers-reduced-motion: no-preference) {
	.hero__swoosh path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: onr-draw 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
}
@keyframes onr-draw { to { stroke-dashoffset: 0; } }
.hero__title em { text-shadow: 0 0 28px rgba(224, 73, 42, .35); }

.tv { position: relative; display: grid; gap: 14px; padding-bottom: clamp(24px, 4vw, 44px); }
.tv__set { position: relative; display: grid; }
.tv__slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s .35s; }
.tv__slide.is-on { visibility: visible; opacity: 1; transition: opacity .35s ease; }
.tv .card--hero { gap: 16px; }
.tv .card--hero .media { aspect-ratio: 16 / 10; border-radius: 14px; box-shadow: 0 0 0 6px #0d0b08, 0 0 0 7px rgba(246, 241, 231, .12), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.tv .card--hero .media::after { /* CRT glass: scanlines + vignette */
	content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
	background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0 2px, rgba(0, 0, 0, .09) 2px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .45) 100%);
}
.tv .card__title { font-size: var(--step-3); font-weight: 800; }
.tv .card__dek { color: var(--muted-on-ink); font-size: var(--step-1); }
@media (prefers-reduced-motion: no-preference) {
	.tv.is-switching .tv__slide.is-on .media img { animation: tv-on .45s var(--ease); }
}
@keyframes tv-on { 0% { clip-path: inset(48% 0 48% 0); filter: brightness(2.2) saturate(0); } 55% { clip-path: inset(0 0 0 0); filter: brightness(1.4) saturate(.6); } 100% { clip-path: inset(0 0 0 0); filter: none; } }

.tv__osd { position: absolute; z-index: 3; top: 0; left: 0; right: 0; aspect-ratio: 16 / 10; pointer-events: none; font-family: var(--font-mono); font-size: clamp(.8rem, .7rem + .4vw, 1.05rem); letter-spacing: .08em; color: #f2ffe9; text-shadow: 0 0 6px rgba(160, 255, 140, .55), 2px 2px 0 rgba(0, 0, 0, .55); }
.tv__osd > * { position: absolute; display: inline-flex; align-items: center; gap: .4em; }
.tv__play { top: 5%; left: 4%; }
.tv__play .glyph { width: .85em; height: .85em; fill: currentColor; }
.tv__ch { top: 5%; right: 4%; font-size: 1.35em; }
.tv__ch b { font-weight: 500; }
.tv__time { bottom: 6%; left: 4%; }
@media (prefers-reduced-motion: no-preference) { .tv.is-switching .tv__ch { animation: osd-blink .9s steps(2, start) 2; } }
@keyframes osd-blink { to { visibility: hidden; } }

.tv-guide { display: flex; gap: 8px; align-items: stretch; }
.tv-guide__list { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin: 0; padding: 0; list-style: none; }
.tv-guide__list::-webkit-scrollbar { display: none; }
.tv-guide__list li { scroll-snap-align: start; }
.tv-guide__item { position: relative; display: grid; gap: 4px; height: 100%; padding: 10px 12px 14px; border-radius: 6px; background: var(--ink-2); color: var(--paper); text-decoration: none; border: 1px solid var(--line-on-ink); transition: background-color .2s, border-color .2s; }
.tv-guide__item:hover, .tv-guide__item.is-on { background: var(--ink-3); border-color: rgba(246, 241, 231, .35); }
.tv-guide__ch { color: var(--tone, var(--signal)); font-size: .66rem; }

.tv-guide__title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-guide__bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; border-radius: 2px; background: rgba(246, 241, 231, .12); overflow: hidden; }
.tv-guide__bar i { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
.tv-guide__item.is-on .tv-guide__bar i { transform: scaleX(1); }
.tv.is-running .tv-guide__item.is-on .tv-guide__bar i { animation: tv-progress var(--dwell, 8s) linear both; }
@keyframes tv-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tv-guide__pause { flex: none; width: 44px; display: grid; place-items: center; border: 1px solid var(--line-on-ink); border-radius: 6px; background: var(--ink-2); color: var(--paper); cursor: pointer; }
.tv-guide__pause:hover { background: var(--ink-3); }
.tv-guide__pause .glyph { width: 16px; height: 16px; fill: currentColor; }
.tv-guide__pause[hidden] { display: none; }

/* ---------- "Now showing" ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--stripe-1); color: var(--ink); border-block: 2px solid var(--ink); overflow: hidden; }
.ticker__label { flex: none; display: flex; align-items: center; gap: .5em; padding: 0 16px; background: var(--ink); color: var(--stripe-1); position: relative; z-index: 1; }
.ticker__label .glyph { fill: var(--signal); width: .8em; height: .8em; }
.ticker__track { flex: 1; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__run { display: flex; width: max-content; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; }
.ticker a { display: inline-flex; align-items: center; gap: .55em; min-height: 46px; padding: 0 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.ticker a .glyph { width: .62em; height: .62em; fill: var(--ink); }
.ticker a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: no-preference) {
	.ticker__run { animation: ticker 70s linear infinite; }
	.ticker:hover .ticker__run, .ticker.is-paused .ticker__run { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
	.ticker__track { overflow-x: auto; -webkit-mask: none; mask: none; }
	.ticker ul[aria-hidden] { display: none; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 639px) { .ticker__label span, .ticker__label { font-size: .62rem; padding: 0 10px; } }
.hero__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.tv, .tv-guide { min-width: 0; }
.tv .card__title { font-size: var(--step-2); }
@media (min-width: 1100px) { .tv .card__title { font-size: clamp(1.9rem, 1.2rem + 1.1vw, 2.4rem); } }
.tv .card__dek { font-size: var(--step-0); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tv-guide__ch { color: var(--muted-on-ink); display: inline-flex; align-items: center; gap: .5em; }
.tv-guide__ch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tone, var(--signal)); }
.tv-guide__item[data-pillar="then-and-now"] .tv-guide__ch::before { background: var(--paper); }
.tv-guide__item.is-on .tv-guide__ch { color: var(--paper); }
@media (max-width: 639px) { .tv .card--hero .media { border-radius: 10px; box-shadow: 0 0 0 4px #0d0b08, 0 0 0 5px rgba(246, 241, 231, .12); } .tv__osd { font-size: .72rem; } }
.hero__swoosh { width: min(540px, 48vw); top: -28px; }
@media (max-width: 979px) {
	.hero__swoosh { display: none; }
	.hero { background-image: var(--stripes); background-size: 100% 14px; background-repeat: no-repeat; padding-top: 44px; }
}

/* ---------- Homepage section styles ---------- */
/* Remember This?: a wall of snapshots. */
.section--snapshots .grid--remember { gap: 34px 22px; padding-top: 8px; }
.section--snapshots .card--compact { --tilt: -1.6deg; background: var(--white); padding: 10px 10px 16px; border-radius: 2px; box-shadow: 0 1px 2px rgba(23, 20, 15, .1), 0 14px 26px -16px rgba(23, 20, 15, .55); transform: rotate(var(--tilt)); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.section--snapshots .card--compact:nth-child(4n+2) { --tilt: 1.4deg; }
.section--snapshots .card--compact:nth-child(4n+3) { --tilt: -.8deg; }
.section--snapshots .card--compact:nth-child(4n+4) { --tilt: 2deg; }
.section--snapshots .card--compact::before { content: ""; position: absolute; z-index: 2; top: -11px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(233, 185, 73, .62); box-shadow: 0 1px 2px rgba(23, 20, 15, .12); }
.section--snapshots .card--compact:nth-child(even)::before { transform: translateX(-50%) rotate(4deg); background: rgba(226, 134, 45, .5); }
.section--snapshots .card--compact .media { border-radius: 1px; }
.section--snapshots .card--compact .card__body { padding-inline: 4px; }
.section--snapshots .card--compact:hover, .section--snapshots .card--compact:focus-within { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 2px rgba(23, 20, 15, .1), 0 22px 36px -18px rgba(23, 20, 15, .6); }
.section--snapshots .card--compact:focus-within { outline-offset: 4px; }
@media (max-width: 639px) { .section--snapshots .card--compact { padding: 7px 7px 12px; } .section--snapshots .card--compact::before { width: 60px; height: 18px; top: -8px; } }

/* Gone: lights-out band. */
.section--gone { background: radial-gradient(ellipse at 85% 0%, rgba(123, 75, 148, .35), transparent 55%), #1b1620; }
.section--gone + .section { padding-top: clamp(40px, 6vw, 80px); }
.section--gone .section-head__ch b { background: var(--plum); }
.section--gone .section-head h2 { color: var(--paper); }
.section--gone .card .media { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.section--gone .label { color: #c9a8dc; }
.section--gone .card__meta { color: var(--muted-on-ink); }
.section--gone .link-arrow { color: var(--paper); }

/* Retail Rewind: a department-store flyer. */
.section--flyer {
	background-color: #f4dc93;
	background-image: radial-gradient(rgba(184, 54, 26, .13) 1.3px, transparent 1.6px);
	background-size: 12px 12px;
	border-block: 3px solid var(--ink);
}
.section--flyer + .section { padding-top: clamp(40px, 6vw, 80px); }
.section--flyer .section-head { border-bottom-color: var(--signal-text); }
.section--flyer .section-head h2 { display: inline-block; justify-self: start; background: var(--signal); color: var(--white); padding: .08em .3em .02em; transform: rotate(-1.5deg); box-shadow: 6px 6px 0 var(--ink); }
.section--flyer .section-head p { color: #4d3f22; }
.section--flyer .card { background: var(--white); padding: 10px 10px 18px; border-radius: 4px; box-shadow: 0 1px 0 rgba(23, 20, 15, .1), 0 12px 24px -18px rgba(23, 20, 15, .6); }
.section--flyer .card .card__body { padding-inline: 6px; }
.section--flyer .card__meta { display: inline-flex; justify-self: start; align-items: center; gap: .4em; padding: 3px 8px 3px 14px; background: var(--stripe-1); color: var(--ink); border-radius: 2px 3px 3px 2px; clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); }

/* Road Trips: Ontario highway guide sign. */
.section--highway .section-head h2 { justify-self: start; background: #1d6b45; color: #fff; padding: .14em .4em .08em; border-radius: 10px; box-shadow: inset 0 0 0 3px #1d6b45, inset 0 0 0 5px #fff; }
.section--highway .section-head__ch b { background: #1d6b45; }
.section + :is(.section--band, .section--gone, .section--flyer, .section--ink) { padding-top: clamp(40px, 6vw, 80px); }

/* Still Here: a drive-in marquee with bulbs that chase on hover. */
.section--marquee .section-head h2 {
	justify-self: start; padding: 18px 20px 12px; border-radius: 6px; color: var(--stripe-1); text-shadow: 0 0 14px rgba(233, 185, 73, .45);
	background: radial-gradient(circle, #ffe7a3 0 3px, rgba(255, 231, 163, .25) 4px, transparent 5px) 0 0 / 18px 14px repeat-x, radial-gradient(circle, #ffe7a3 0 3px, rgba(255, 231, 163, .25) 4px, transparent 5px) 0 100% / 18px 14px repeat-x, var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
	.section--marquee:hover .section-head h2 { animation: chase .5s steps(2) infinite; }
}
@keyframes chase { to { background-position: 18px 0, -18px 100%, 0 0; } }

/* ---------- Footer: stripes + neon sign-off ---------- */
.site-footer { background-image: var(--stripes); background-size: 100% 16px; background-repeat: no-repeat; padding-top: 72px; }
.footer-sign { margin: 0 0 48px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 5vw, 5.75rem); line-height: .9; text-transform: uppercase; letter-spacing: .01em; }
.footer-sign__a { color: #ffe3d8; text-shadow: 0 0 4px #fff3ee, 0 0 14px rgba(224, 73, 42, .9), 0 0 32px rgba(224, 73, 42, .7), 0 0 60px rgba(224, 73, 42, .45); }
.footer-sign__b { color: #fff3cf; text-shadow: 0 0 4px #fffaf0, 0 0 14px rgba(233, 185, 73, .9), 0 0 32px rgba(233, 185, 73, .65), 0 0 60px rgba(233, 185, 73, .4); }
@media (prefers-reduced-motion: no-preference) { .footer-sign__b { animation: neon-flicker 7s infinite; } }
@keyframes neon-flicker {
	0%, 90%, 93%, 96%, 100% { opacity: 1; }
	91%, 94.5% { opacity: .35; text-shadow: none; }
}

/* ---------- Section pages: tone-tinted heads with a big glyph ---------- */
.archive-head { overflow: hidden; }
.archive-head[data-pillar] { background: var(--paper-2); background: color-mix(in srgb, var(--tone) 9%, var(--paper)); }
.archive-head__mark { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); width: clamp(180px, 30vw, 420px); pointer-events: none; opacity: .14; }
.archive-head__mark .glyph { width: 100%; height: auto; fill: var(--tone); }
.archive-head[data-pillar="then-and-now"] .archive-head__mark .glyph { fill: var(--ink); }
.archive-head__count { display: inline-flex; justify-self: start; padding: 6px 10px; background: var(--ink); color: var(--signal); border-radius: 3px; letter-spacing: .14em; }
.archive-head__inner { position: relative; }

/* ---------- Pages (About, Contact, Submit a Memory…) ---------- */
.page-head { position: relative; overflow: hidden; background: var(--stripes) left bottom / 100% 14px no-repeat, var(--paper-2); padding-bottom: calc(clamp(28px, 4vw, 44px) + 14px); margin-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { margin-top: 16px; }
.page-head__mark { position: absolute; right: -40px; bottom: 6px; width: clamp(200px, 32vw, 460px); opacity: .1; pointer-events: none; }
.page-head__mark .glyph { width: 100%; height: auto; fill: var(--signal); }
.page-head .container { position: relative; }
/* Other channels only load once the page has (keeps the first photo fast). */
.tv:not(.is-ready) .tv__slide:not(:first-child) { display: none; }

/* ==========================================================================
   0.3.1 — polish
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html { scrollbar-color: var(--ink-3) var(--paper-2); }
p, li, figcaption { text-wrap: pretty; }

/* Photos fade in as they arrive (only when JS is running, so nothing hides without it). */
@media (prefers-reduced-motion: no-preference) {
	.js .media img[loading="lazy"]:not(.is-loaded) { opacity: 0; animation: onr-reveal .3s 4s forwards; } /* safety net if scripts never run */
}
@keyframes onr-reveal { to { opacity: 1; } }
.media img { transition: opacity .45s ease, transform .6s var(--ease); }

/* Story chapters: each section heading is a "track". */
.story .entry-content { counter-reset: track; }
.story .entry-content > h2 { counter-increment: track; }
.story .entry-content > h2::before { content: "◀◀ Track " counter(track, decimal-leading-zero); content: "◀◀ Track " counter(track, decimal-leading-zero) / ""; display: block; margin-bottom: .55em; font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-text); }

/* Pull quotes */
.entry-content blockquote.wp-block-quote, .entry-content > blockquote { position: relative; margin-block: 2em; padding: .2em 0 .2em 1.2em; border-left: 0; font-style: normal; }
.entry-content blockquote.wp-block-quote::before, .entry-content > blockquote::before { content: ""; position: absolute; left: 0; top: .3em; bottom: .3em; width: 6px; border-radius: 3px; background: var(--stripes-x); background: linear-gradient(180deg, var(--stripe-1), var(--stripe-2), var(--stripe-3), var(--stripe-4)); }
.entry-content blockquote p { font-family: var(--font-body); font-size: 1.3em; line-height: 1.35; font-style: italic; color: var(--ink); }
.entry-content blockquote cite { display: block; margin-top: .7em; font-family: var(--font-mono); font-style: normal; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.entry-content blockquote cite::before { content: "— "; }

/* Hero photo: a thin print edge. */
.story__hero .media { box-shadow: 0 0 0 1px rgba(23, 20, 15, .08), 0 24px 48px -30px rgba(23, 20, 15, .6); }

/* Mobile: shorter breadcrumbs; "Keep rewinding" becomes a swipe row. */
@media (max-width: 639px) {
	.story .breadcrumbs li:last-child { display: none; }
	.related .grid--3 { grid-auto-flow: column; grid-auto-columns: 78%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
	.related .grid--3::-webkit-scrollbar { display: none; }
	.related .grid--3 > * { scroll-snap-align: start; }
}

/* Forms on pages sit on an index card. */
.page-body .onr-form:not(.onr-form--newsletter) { max-width: var(--measure); margin-inline: auto; padding: calc(clamp(22px, 4vw, 40px) + 8px) clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px); border-radius: var(--radius-lg); box-shadow: 0 1px 0 rgba(23, 20, 15, .08), 0 20px 40px -28px rgba(23, 20, 15, .6); background: var(--stripes-x) top / 100% 8px no-repeat, var(--white); }
.onr-field input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--radius); background: var(--ink); color: var(--paper); font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.onr-field input[type=file]::file-selector-button:hover { background: var(--ink-3); }

/* Footer decades as small tape labels. */
.footer-decades { gap: 6px; }
.footer-decades a { padding: 3px 7px; border: 1px solid var(--line-on-ink); border-radius: 3px; }
.footer-decades a:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.onr-field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317140f' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }

/* ---------- Series (Still Serving, Lost Eats) ---------- */
.story__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.series-badge { display: inline-flex; align-items: center; gap: .45em; padding: 5px 10px 5px 8px; border-radius: 3px; background: var(--ink); color: var(--stripe-1); text-decoration: none; }
.series-badge .glyph { width: .8em; height: .8em; fill: var(--signal); }
.series-badge:hover { background: var(--ink-3); }
.archive-head--series { background: var(--stripes) left bottom / 100% 14px no-repeat, var(--paper-2); padding-bottom: calc(clamp(24px, 4vw, 40px) + 14px); }
.archive-head--series::before { display: none; }
.archive-head--series .archive-head__mark .glyph { fill: var(--signal); }
.archive-head--series .eyebrow .glyph { fill: var(--signal); }
.series-ask { margin-top: 64px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--ink); color: var(--paper); display: grid; gap: 12px; justify-items: start; }
.series-ask h2 { font-size: var(--step-3); font-weight: 800; text-transform: uppercase; color: var(--stripe-1); }
.series-ask p { color: #ddd5c6; font-family: var(--font-body); font-weight: 400; max-width: 52ch; }
