/* Site-specific on top of base.css and decades.css. No colours named
   here: everything comes from the tokens. */

.song-hero { padding-block: 3rem 1rem; }
.song-hero h1 { margin-bottom: 0.25em; }
.song-artist { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem); font-family: var(--font-display); margin: 0 0 1rem; letter-spacing: var(--display-tracking, 0); font-weight: var(--display-weight, 400); }
.song-hero .tv { margin-top: 1rem; }
.tv-video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; background: var(--tx); }
/* The video notice under the set: readable, not small print. */
.tv-consent { color: var(--tx-2); margin-top: 0.75rem; max-width: 40rem; }
.tv-consent .tv-notice { margin: 0 0 0.5rem; font-size: 1rem; }
.tv-consent .tv-remember { font-size: 1rem; color: var(--tx); margin: 0; }
.tv-consent .tv-forget { font: inherit; font-size: 1rem; color: var(--primary); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; min-height: 24px; }

.facts { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; }
.facts li { display: flex; flex-direction: column; }
.facts .label { font-family: var(--font-utility); color: var(--tx-2); }
.facts .value { font-weight: 700; font-variant-numeric: tabular-nums; }

.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; border-top: var(--rule-width, 1px) solid var(--ui); }
.pager a { min-height: 24px; display: inline-flex; align-items: center; }

.listing { list-style: none; padding: 0; margin: 0; }
.listing li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.25rem; padding-block: 0.75rem; border-bottom: 1px solid var(--ui); }
.listing .year { font-family: var(--font-utility); font-variant-numeric: tabular-nums; min-width: 4.5rem; font-weight: 700; }
.listing .age { color: var(--tx-2); min-width: 5rem; font-family: var(--font-utility); }
.listing .song { flex: 1 1 18rem; min-width: 0; }
.listing .song a { font-weight: 700; }
.listing .artist { color: var(--tx-2); }
.decade-head { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; }
.decade-head a { font-weight: 400; }
/* The listing is neutral; each decade group carries data-decade, so its
   heading takes that decade's own face and accent bar. Its text and
   link colours stay the page's own: a decade's link colour was tuned
   for the decade's background, not this one (axe found 42 contrast
   failures when the group borrowed it, 2026-10-07). */
.decade-group[data-decade] {
	--bg: var(--neutral-bg); --bg-2: var(--neutral-bg-2);
	--tx: var(--neutral-tx); --tx-2: var(--neutral-tx-2);
	--primary: var(--neutral-primary); --ui: var(--neutral-ui);
}
.decade-group[data-decade] .decade-head h2 { padding-left: 0.6rem; border-left: 0.6rem solid var(--accent); }
.decade-group[data-decade] .listing .year { font-family: var(--font-display); font-weight: var(--display-weight, 400); }

/* Design hub cards: each card carries its own data-decade. */
.hub-card { background: var(--bg); color: var(--tx); border-left: 1rem solid var(--accent); font-family: var(--font-body); }
.hub-card h2, .hub-card h3 { margin-top: 0; font-size: 1.75rem; }
.hub-card .stretched-link { color: var(--tx); }
.hub-card .kicker { color: var(--tx-2); }
.hub-card:hover h2 a, .hub-card:focus-within h2 a, .hub-card:hover h3 a, .hub-card:focus-within h3 a { color: var(--primary); }

/* Footer: the Designs heading and its decade links, then the plain pages. */
.site-footer .footer-heading { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--tx); letter-spacing: 0; }
.site-footer .decade-nav { margin-bottom: 1.5rem; }

/* The share-image card: exactly 1200 by 630, photographed by
   scripts/build-share-images.sh. Uses the decade's tokens like any page. */
.og-card { width: 1200px; height: 630px; position: relative; overflow: hidden; background: var(--bg); color: var(--tx); }
.og-card .deco { width: 1200px; left: 0; transform: none; opacity: 1; }
.og-inner { position: absolute; left: 72px; right: 72px; top: 64px; bottom: 64px; display: flex; flex-direction: column; justify-content: flex-end; z-index: 1; }
.og-inner .rule3 { position: absolute; top: 0; left: 0; right: 0; }
.og-site { font-family: var(--font-display); font-weight: var(--display-weight, 400); letter-spacing: var(--display-tracking, 0); font-size: 34px; margin: 0 0 12px; max-width: none; }
.og-title { font-family: var(--font-display); font-weight: var(--display-weight, 400); letter-spacing: var(--display-tracking, 0); font-size: 84px; line-height: 1.05; margin: 0 0 24px; max-width: 800px; text-wrap: balance; }
.og-site:empty { display: none; }
.og-line { font-size: 32px; line-height: 1.3; margin: 0; max-width: 700px; color: var(--tx); }
