/*
Theme Name: Bollywood Society
Theme URI: https://bollywoodsociety.com
Author: Bollywood Society
Description: The bollywoodsociety.com theme, built from the client's design handoff: the Modernist system inverted to dark, Archivo display type and Newsreader long-form, square corners and two-pixel rules, vermillion for actions and editorial marks only. Magazine and Director's Cut homepages, Stories, the article with audio clips, the Gossip Meter and story-after-story loading, and the reader's streak, points and badges. assets/css/modernist.css is the design system, shipped verbatim; this file flips it to dark and lays the pages out.
Version: 1.0.0
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bollywood-society
Tags: news, blog, dark, custom-menu, custom-logo, featured-images, threaded-comments
*/

/* ---- tokens: the handoff inverts Modernist to dark by overriding four ---- */
:root {
  --color-bg: #0c0b0b;
  --color-surface: #171515;
  --color-text: #f3f2f2;
  --color-divider: color-mix(in srgb, #f3f2f2 26%, transparent);
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mono: grayscale(1) contrast(1.08);
  --serif: "Newsreader", Georgia, serif;
  color-scheme: dark;
}
html { background: var(--color-bg); }
body { padding-top: 64px; overflow-x: clip; min-height: 100vh; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-400); }
button { font: inherit; }
::-webkit-scrollbar { height: 6px; width: 8px; }
::-webkit-scrollbar-thumb { background: #444141; }
::-webkit-scrollbar-track { background: var(--color-bg); }
.screen-reader-text { 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:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 14px; background: var(--color-accent); color: var(--color-bg); }
[hidden] { display: none !important; }

@keyframes bsRise { from { transform: translateY(105%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes bsFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes bsLoop { from { width: 0 } to { width: 100% } }
@keyframes bsMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@keyframes bsBlurIn { from { filter: blur(14px); opacity: .25; transform: translateY(60px) } to { filter: none; opacity: 1; transform: none } }
@keyframes bsSlideDown { from { clip-path: inset(0 0 100% 0) } to { clip-path: inset(0 0 0 0) } }

/* ---- small type ---- */
.label { display: inline-flex; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; font-stretch: 75%; }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; font-stretch: 75%; }
.label.muted, .kicker.muted { font-weight: 600; }
.red { color: var(--color-accent); }
.muted { color: var(--color-neutral-500); }
.meta { font-size: 13px; color: var(--color-neutral-400); }
a.meta:hover { color: var(--color-accent); }
.linkish { background: none; border: 0; padding: 0; color: var(--color-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* ---- buttons: flush-left labels, the arrow pushed right ---- */
.btn-primary:hover { background: var(--color-accent-400); color: var(--color-bg); }
.btn-secondary { color: var(--color-text); }
.btn-secondary:hover { color: var(--color-text); }
.btn--wide { width: 100%; justify-content: space-between; }
.btn--tall { height: 48px; font-size: 15px; }
.btn--cta { min-width: 220px; justify-content: space-between; }

/* ---- header ---- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(12px, 3vw, 32px); background: var(--color-bg); border-bottom: 2px solid var(--color-divider); }
.admin-bar .bar { top: 32px; }
.bar__left { display: flex; align-items: center; gap: 8px; }
.bar__menu { gap: 10px; height: 40px; font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; }
.bar__logo { display: flex; }
.bar__logo img { height: 58px; width: auto; }
.bar__right { display: flex; align-items: center; justify-content: flex-end; gap: clamp(8px, 1.5vw, 16px); }
.streak { display: flex; align-items: center; gap: 6px; color: var(--color-text); font-family: var(--font-heading); font-weight: 800; font-size: 15px; padding: 6px 4px; }
.streak:hover { color: var(--color-accent); }
.dc-toggle { display: flex; align-items: center; gap: 10px; color: var(--color-text); padding: 6px 0; font-family: var(--font-heading); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; font-stretch: 80%; }
.dc-toggle:hover { color: var(--color-text); }
.dc-toggle__track { width: 44px; height: 22px; border: 2px solid var(--color-divider); position: relative; display: block; transition: background .2s, border-color .2s; }
.dc-toggle__knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; background: var(--color-text); transition: left .2s, background .2s; }
.is-dc .dc-toggle__track { background: var(--color-accent); border-color: var(--color-accent); }
.is-dc .dc-toggle__knob { left: 24px; background: var(--color-bg); }
.progress { position: fixed; top: 64px; left: 0; right: 0; height: 3px; z-index: 49; pointer-events: none; }
.admin-bar .progress { top: 96px; }
.progress__bar { height: 3px; width: 0; background: var(--color-accent); }

/* ---- the menu overlay ---- */
.overlay { position: fixed; inset: 0; z-index: 80; background: var(--color-bg); display: flex; flex-direction: column; overflow-y: auto; animation: bsSlideDown .45s cubic-bezier(.7, 0, .2, 1) both; }
.overlay .bar--overlay { position: relative; flex: none; }
.overlay__list { list-style: none; margin: 0; padding: clamp(16px, 3vw, 40px) var(--gutter); flex: 1; }
.overlay__list li { animation: bsRise .6s var(--ease) both; animation-delay: var(--d, 0s); }
.overlay__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; border-bottom: 2px solid var(--color-divider); padding: clamp(8px, 1.4vw, 16px) 0; color: var(--color-text); }
.overlay__row:hover { color: var(--color-accent); }
.overlay__num { font-size: 13px; font-weight: 800; color: var(--color-accent); font-stretch: 75%; }
.overlay__label { font-family: var(--font-heading); font-weight: 900; font-size: clamp(36px, 7vw, 96px); line-height: .95; letter-spacing: -.035em; overflow-wrap: anywhere; }
.overlay__sub { font-size: 13px; color: var(--color-neutral-500); }
.overlay__search { padding: 0 var(--gutter) 40px; }

.searchform { display: flex; max-width: 640px; }
.searchform__input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; background: transparent; border: 2px solid var(--color-divider); border-right: 0; color: var(--color-text); font: 400 16px/1 var(--font-body); border-radius: 0; }
.searchform__input:focus-visible { outline-offset: -2px; }
.searchform__btn { height: 48px; gap: 8px; }

/* ---- photographs: the slot sets the size; a still too small for it is letterboxed ---- */
.media { position: relative; overflow: hidden; background: var(--color-surface); }
.media img, .media__layer img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s, transform .8s var(--ease); }
.media.is-small img { object-fit: scale-down; }   /* shown at its own size, never enlarged */
.media__layer { position: absolute; left: 0; right: 0; top: -12%; height: 124%; will-change: transform; }
.imagery-hover .media img, .imagery-mono .media img, .imagery-hover .rail__cover img, .imagery-mono .rail__cover img, .imagery-hover .viewer__img, .imagery-mono .viewer__img { filter: var(--mono); }
.imagery-hover .card:hover .media img, .imagery-hover .card:focus-within .media img, .imagery-hover .story__hero:hover .media img, .imagery-hover .rail__card:hover .rail__cover img, .imagery-hover .band:hover .media img { filter: none; }

/* ---- sections ---- */
.section { padding: clamp(40px, 6vw, 80px) var(--gutter); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--color-divider); margin-bottom: 32px; }
.section__head h2 { margin: 0; font-size: clamp(28px, 4vw, 48px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.section__head--sm { margin-bottom: 0; padding-bottom: 12px; }
.section__head--sm h2 { font-size: 25px; letter-spacing: -.015em; }
.link-more { white-space: nowrap; }

/* ---- 1a, opening credits ---- */
.credits { position: relative; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(24px, 5vw, 72px) var(--gutter) 32px; }
.credits__eyebrow { margin: 0; font-stretch: 75%; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; font-size: 13px; color: var(--color-neutral-400); animation: bsFade 1.2s .1s both; }
.credits__title { margin: 0; font-size: clamp(48px, 9.4vw, 168px); line-height: .9; letter-spacing: -.035em; font-weight: 900; max-width: 14ch; }
.credits__title--long { font-size: clamp(42px, 7vw, 124px); max-width: 16ch; }
.credits__title--xlong { font-size: clamp(36px, 5.2vw, 92px); max-width: 20ch; }
.credits__title a { color: var(--color-text); display: flex; flex-wrap: wrap; column-gap: .22em; }
.credits__title a:hover .credits__word:not(.red) { color: var(--color-neutral-300); }
.credits__mask { display: inline-block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.credits__word { display: inline-block; animation: bsRise .9s var(--ease) both; transition: color .2s; }
.credits__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 2px solid var(--color-divider); animation: bsFade 1s 1.3s both; }
.credits__pair { padding: 16px 16px 0 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.credits__pair .label { font-weight: 600; color: var(--color-neutral-500); }
.credits__v { font-family: var(--font-heading); font-weight: 800; font-size: 18px; line-height: 1.2; }
.credits__cta { padding: 16px 0 0; display: flex; align-items: flex-end; }
.credits__cta .btn { height: 48px; font-size: 15px; }

/* ---- Stories rail ---- */
.rail { padding-bottom: 0; padding-left: 0; padding-right: 0; }
.section__head--inset { margin: 0 var(--gutter); }
.rail__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gutter) 24px; scroll-padding-left: var(--gutter); }
.rail__card { flex: 0 0 clamp(150px, 38vw, 230px); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 10px; align-items: start; background: none; border: 0; padding: 0; text-align: left; color: var(--color-text); cursor: pointer; }
.rail__cover { grid-column: 1 / -1; position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--color-surface); border-top: 3px solid var(--color-accent); }
.rail__cover img { width: 100%; height: 100%; object-fit: cover; transition: filter .5s; }
.rail__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rail__kicker { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent); font-weight: 800; font-stretch: 75%; }
.rail__title { font-family: var(--font-heading); font-weight: 800; font-size: 17px; line-height: 1.15; transition: color .2s; }
.rail__card:hover .rail__title { color: var(--color-accent); }
.rail__play { width: 40px; height: 40px; background: var(--color-accent); color: var(--color-bg); display: flex; align-items: center; justify-content: center; }
.rail__card:hover .rail__play { background: var(--color-accent-400); }

/* ---- cards ---- */
.card { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 0; background: none; border-radius: 0; }
.card__media { display: block; position: relative; }
.card__media .media { aspect-ratio: 4 / 3; }
.card:hover .media img { transform: scale(1.04); }
.card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__loopbar { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--color-accent); }
.card:hover .card__loopbar { animation: bsLoop 3s linear infinite; }
.card__text { display: flex; flex-direction: column; gap: 8px; color: var(--color-text); }
.card__text:hover { color: var(--color-text); }
.card__title { font-family: var(--font-heading); font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: -.025em; transition: color .2s; text-wrap: balance; overflow-wrap: break-word; }
.card:hover .card__title, .card__text:focus-visible .card__title { color: var(--color-accent); }
.card__dek { font-family: var(--serif); font-size: 18px; line-height: 1.45; color: var(--color-neutral-300); max-width: 46ch; }
.card .meta { color: var(--color-neutral-500); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: clamp(40px, 5vw, 64px); align-items: start; }

/* ---- the asymmetric grid ---- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: clamp(40px, 5vw, 64px); align-items: start; }
.grid__item .card__media .media { aspect-ratio: auto; height: var(--h, 300px); }
.grid__item--1 { grid-column: 1 / span 7; grid-row: 1 / span 2; --h: 560px; }
.grid__item--1 .card__title { font-size: clamp(36px, 3.6vw, 56px); }
.grid__item--2 { grid-column: 8 / span 5; grid-row: 1; --h: 240px; }
.grid__item--3 { grid-column: 8 / span 5; grid-row: 2; --h: 240px; }
.grid__item--4 { grid-column: 2 / span 4; grid-row: 3; --h: 440px; }
.grid__item--4 .card__title { font-size: 30px; }
.grid__item--5 { grid-column: 7 / span 6; grid-row: 3; margin-top: 140px; --h: 300px; }
.grid__item--5 .card__title { font-size: clamp(30px, 2.8vw, 44px); }

/* ---- the band: the line beside the photograph, never on it ---- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: clamp(420px, 80vh, 760px); overflow: hidden; border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); }
.band__photo { position: relative; overflow: hidden; border-right: 2px solid var(--color-divider); }
.band__media { position: absolute; inset: 0; }
.band__media .media__layer { top: -20%; height: 140%; }
.band__type { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 32px var(--gutter); }
.band__line { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: clamp(34px, 4.8vw, 84px); line-height: .92; letter-spacing: -.035em; max-width: 14ch; }

.ad-slot { padding: 0 var(--gutter) clamp(32px, 4vw, 48px); text-align: center; }
.ad-slot > .label { display: block; color: var(--color-neutral-500); font-weight: 600; margin-bottom: 8px; }
.ad-slot__unit { display: flex; justify-content: center; }

/* ---- Director's Cut ---- */
html:not(.is-dc) .dc { display: none; }
html.is-dc .mag { display: none; }
.dc { background: #050505; min-height: calc(100vh - 64px); }
.ticker { height: 40px; overflow: hidden; display: flex; align-items: center; }
.ticker--raw { background: var(--color-accent); color: #0c0b0b; }
.ticker__run { display: flex; gap: 40px; white-space: nowrap; animation: bsMarquee 30s linear infinite; padding-left: 24px; }
.ticker__run span { font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-stretch: 80%; }
.dc__head { padding: clamp(24px, 4vw, 48px) var(--gutter) 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--color-divider); }
.dc__head > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.dc__eyebrow { color: var(--color-accent-400); }
.dc__title { margin: 0; font-size: clamp(40px, 7vw, 112px); line-height: .88; font-weight: 900; letter-spacing: -.04em; }
.dc__meta { display: flex; gap: 32px; flex-wrap: wrap; font-size: 13px; color: var(--color-neutral-400); font-stretch: 80%; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.sheet { padding: 32px var(--gutter) 8px; display: flex; flex-direction: column; gap: 12px; }
.sheet__label { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-stretch: 75%; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.sheet__scroll { overflow-x: auto; }
.strip { min-width: 880px; background: #000; display: flex; flex-direction: column; }
.strip__sprockets { height: 22px; background: repeating-linear-gradient(90deg, #000 0 10px, #3a3838 10px 22px, #000 22px 34px); background-size: 34px 10px; background-repeat: repeat-x; background-position: 0 6px; }
.strip__frames { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 0 10px; }
.frame { position: relative; display: flex; flex-direction: column; gap: 6px; color: #ff9783; }
.frame__box { position: relative; aspect-ratio: 3 / 2; display: block; }
.frame__img { position: absolute; inset: 0; overflow: hidden; background: #111; }
.frame__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(.95); }
.frame__pick { position: absolute; left: -8%; top: -12%; width: 116%; height: 124%; pointer-events: none; overflow: visible; }
.frame__edge { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; font-weight: 800; font-stretch: 70%; letter-spacing: .1em; white-space: nowrap; }
.frame:hover, .frame:focus-visible { color: var(--color-accent); }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 2px solid var(--color-divider); }
.note { border-bottom: 1px solid var(--color-divider); color: var(--color-text); padding: 12px 16px 12px 0; display: grid; grid-template-columns: 56px 1fr; gap: 8px; }
.note:hover { color: var(--color-accent); }
.note__t { font-weight: 800; font-stretch: 75%; font-size: 13px; color: var(--color-accent); }
.note__text { font-size: 15px; line-height: 1.4; }
.dc__end { padding: 32px var(--gutter) 64px; }

/* ---- the article ---- */
.story { padding-bottom: 48px; }
.story--follow { animation: bsBlurIn 1.1s var(--ease) both; }
.upnext { padding: 48px var(--gutter) 0; display: flex; align-items: center; gap: 16px; }
.upnext .kicker { white-space: nowrap; }
.upnext__rule { flex: 1; height: 2px; background: var(--color-accent); }
.story__head, .page-head { padding: clamp(32px, 6vw, 80px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px; }
.story__kicker { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; font-stretch: 75%; }
.story__kicker .tag { background: var(--color-accent); color: var(--color-bg); padding: 4px 8px; }
.story__kicker .tag:hover { background: var(--color-accent-400); }
.story__kicker .muted { color: var(--color-neutral-400); }
.story__title, .page-head__title { margin: 0; font-size: clamp(40px, 7.2vw, 124px); line-height: .9; letter-spacing: -.035em; font-weight: 900; max-width: 15ch; text-wrap: balance; overflow-wrap: break-word; }
.story__title a { color: var(--color-text); }
.story__title a:hover { color: var(--color-accent); }
.story__dek { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.35; max-width: 36ch; color: var(--color-neutral-300); }
.story__hero { margin: 0 var(--gutter); }
.story__hero .media { height: clamp(280px, 62vh, 720px); }
.story__hero figcaption { margin-top: 8px; font-size: 13px; }
.story__grid { display: grid; grid-template-columns: minmax(160px, 2fr) minmax(0, 7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); padding: 32px var(--gutter) 0; }
.story__aside { border-top: 2px solid var(--color-divider); padding-top: 12px; display: flex; flex-direction: column; gap: 6px; align-self: start; position: sticky; top: 96px; }
.story__aside--blank { border-top: 0; }
.story__aside .label { font-weight: 600; }
.story__author { font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: var(--color-text); }
.story__pts { font-size: 13px; font-weight: 800; margin-top: 8px; }
.story__comments { display: grid; grid-template-columns: minmax(160px, 2fr) minmax(0, 7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); padding: 48px var(--gutter) 0; }
.story__comments > * { grid-column: 2; min-width: 0; }
.story__tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 24px; font-family: var(--font-heading); }
.story__tags a { font-size: 13px; font-weight: 800; color: var(--color-neutral-400); }
.story__tags a:hover { color: var(--color-accent); }
.endmark { display: block; font-family: var(--font-heading); font-weight: 900; color: var(--color-accent); font-size: 18px; }

/* the reading column */
.prose { min-width: 0; max-width: 680px; font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.62; overflow-wrap: break-word; }
.prose > * { margin-top: 0; margin-bottom: 1.1em; }
.prose p { margin: 0 0 1.1em; text-wrap: pretty; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-heading); font-weight: 900; letter-spacing: -.025em; line-height: 1.05; margin: 1.5em 0 .5em; }
.prose h2 { font-size: clamp(28px, 2.6vw, 36px); }
.prose h3 { font-size: 25px; }
.prose h4 { font-size: 20px; }
.prose a { color: var(--color-accent); text-decoration: underline; text-decoration-thickness: 1px; }
.prose a:hover { color: var(--color-accent-400); }
.prose img { height: auto; }
.prose figure, .prose .wp-caption { margin: 1.4em 0; max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--color-neutral-400); margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--color-accent); }
.prose hr { border: 0; height: 2px; background: var(--color-divider); margin: 2em 0; }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote { margin: .6em 0 1.1em; padding: 24px 0; border: 0; border-top: 2px solid var(--color-text); border-bottom: 2px solid var(--color-divider); font-family: var(--font-heading); font-weight: 900; font-size: clamp(28px, 3.2vw, 44px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; text-align: left; }
.prose blockquote::before { content: "“"; color: var(--color-accent); }
.prose .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; font-size: inherit; }
.prose .wp-block-pullquote blockquote::before { content: none; }
.prose .wp-block-pullquote::before { content: "“"; color: var(--color-accent); }
.prose blockquote p { margin: 0; display: inline; }
.prose blockquote p + p::before { content: " "; }
.prose blockquote cite, .prose .wp-block-pullquote cite { display: block; margin-top: 12px; font: 400 13px/1.4 var(--font-body); letter-spacing: 0; color: var(--color-neutral-400); font-style: normal; }
.prose blockquote.twitter-tweet, .prose blockquote.instagram-media { font: 400 16px/1.5 var(--font-body); }
.prose blockquote.twitter-tweet::before, .prose blockquote.instagram-media::before { content: none; }
.prose iframe, .prose video, .prose embed { max-width: 100%; }
.prose .wp-block-embed iframe, .prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose table { border-collapse: collapse; width: 100%; font: 400 15px/1.4 var(--font-body); }
.prose th, .prose td { border-bottom: 1px solid var(--color-divider); padding: 8px 10px 8px 0; text-align: left; }
.prose code { font-size: .85em; background: var(--color-surface); padding: 1px 4px; }

/* the audio clip */
.clip { border-top: 2px solid var(--color-divider); border-bottom: 2px solid var(--color-divider); padding: 20px 0; margin: .4em 0 1.1em; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; font-family: var(--font-body); }
.clip__btn { width: 56px; height: 56px; background: var(--color-accent); border: 0; color: var(--color-bg); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.clip__btn:hover { background: var(--color-accent-400); }
.clip__pause, .clip.is-playing .clip__play { display: none; }
.clip.is-playing .clip__pause, .clip__play { display: flex; }
.clip__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.clip__row { display: flex; justify-content: space-between; gap: 12px; letter-spacing: .18em; }
.clip__time { color: var(--color-neutral-400); white-space: nowrap; }
.clip__wave { display: flex; align-items: center; gap: 2px; height: 36px; cursor: pointer; }
.clip__wave i { flex: 1; min-width: 2px; background: var(--color-neutral-700); }
.clip__wave i.on { background: var(--color-accent); }
.clip__quote { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--color-neutral-300); }

/* the Gossip Meter */
.poll { background: var(--color-surface); padding: 24px; display: flex; flex-direction: column; gap: 16px; font-family: var(--font-body); margin: .4em 0 1.1em; }
.poll__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.poll__head > .label { font-size: 12px; letter-spacing: .22em; font-weight: 900; }
.heat { display: flex; gap: 3px; align-items: center; }
.heat i { width: 10px; height: 14px; background: var(--color-neutral-800); }
.heat i.on { background: var(--color-accent); }
.heat span { font-size: 12px; font-weight: 800; margin-left: 8px; color: var(--color-accent); }
.poll__q { margin: 0 !important; font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; }
.poll__opts { display: flex; flex-direction: column; gap: 8px; }
.poll__opt { position: relative; text-align: left; background: transparent; border: 2px solid var(--color-divider); color: var(--color-text); padding: 12px 14px; cursor: pointer; font-family: var(--font-heading); font-weight: 800; font-size: 15px; line-height: 1.3; overflow: hidden; display: flex; justify-content: space-between; gap: 12px; }
.poll__opt:hover:not(:disabled) { border-color: var(--color-accent); }
.poll__opt:disabled { opacity: 1; cursor: default; }
.poll__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--color-neutral-800); transition: width .8s var(--ease); }
.poll__opt.is-mine { border-color: var(--color-accent); }
.poll__opt.is-mine .poll__fill { background: var(--color-accent-800); }
.poll__label, .poll__pct { position: relative; }
.poll__note { margin: 0 !important; }

/* story after story */
.feed__more { padding: 48px var(--gutter) 160px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.feed__more .rule { align-self: stretch; height: 2px; background: var(--color-divider); }
.feed__done { padding: 48px var(--gutter) 120px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; border-top: 2px solid var(--color-divider); }
.feed__done-line { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: clamp(32px, 5vw, 64px); letter-spacing: -.03em; line-height: .95; }
.page-wrap { padding-bottom: 64px; }

/* comments */
.comments .section__head { margin-bottom: 8px; }
.comments .section__head h2 { font-size: 25px; letter-spacing: -.015em; }
.comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; border-left: 2px solid var(--color-divider); }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--color-divider); font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.comment-author { font-family: var(--font-heading); font-weight: 800; font-size: 15px; }
.comment-author .says { display: none; }
.comment-metadata, .comment-metadata a { font: 400 13px var(--font-body); color: var(--color-neutral-500); }
.reply a { font: 800 12px var(--font-heading); letter-spacing: .14em; text-transform: uppercase; }
.comment-reply-title { font-size: 20px; font-weight: 900; }
.comment-form label { display: block; font: 600 11px var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--color-neutral-500); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; background: transparent; border: 2px solid var(--color-divider); border-radius: 0; color: var(--color-text); padding: 10px 12px; font: 400 16px/1.4 var(--font-body); }
.comment-form .comment-form-cookies-consent label { display: inline; letter-spacing: 0; text-transform: none; font-size: 13px; }
.comment-form .submit { height: 44px; padding: 0 20px; border: 0; }

/* ---- listings ---- */
.listing { padding-bottom: 64px; }
.listing__head { padding: clamp(32px, 6vw, 80px) var(--gutter) 32px; display: flex; flex-direction: column; gap: 16px; border-bottom: 2px solid var(--color-divider); margin-bottom: 40px; }
.listing__title { margin: 0; font-size: clamp(40px, 6.4vw, 112px); line-height: .9; letter-spacing: -.035em; font-weight: 900; max-width: 18ch; overflow-wrap: anywhere; }
.listing__desc { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--color-neutral-300); max-width: 60ch; }
.listing__desc p:last-child { margin: 0; }
.listing__search { max-width: 640px; }
.listing .cards, .listing__empty { padding: 0 var(--gutter); }
.listing__empty { font-family: var(--serif); font-size: 20px; color: var(--color-neutral-300); }
.pager { display: flex; flex-wrap: wrap; padding: 48px var(--gutter) 0; font-family: var(--font-heading); }
.prose .pager { padding: 0; }
.pager .page-numbers, .pager > a, .pager > span { min-width: 44px; height: 44px; padding: 0 12px; margin: 0 -2px -2px 0; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--color-divider); color: var(--color-text); font-weight: 800; font-size: 14px; text-decoration: none; }
.pager a:hover { border-color: var(--color-accent); color: var(--color-accent); position: relative; }
.pager .current { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); position: relative; }

/* ---- the reader's page ---- */
.profile { padding: clamp(32px, 5vw, 72px) var(--gutter) 96px; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.profile__id { display: flex; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.profile__avatar { width: 112px; height: 112px; flex: none; background: var(--color-surface); border: 2px solid var(--color-divider); display: flex; align-items: flex-end; padding: 8px; font-family: var(--font-heading); font-weight: 900; font-size: 56px; line-height: .8; letter-spacing: -.04em; color: var(--color-neutral-400); text-transform: uppercase; }
.profile__who { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.profile__name { margin: 0; font-size: clamp(40px, 6vw, 88px); line-height: .9; font-weight: 900; letter-spacing: -.035em; }
.profile__name-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: text; overflow-wrap: anywhere; }
.profile__name-btn:hover { color: var(--color-neutral-300); }
.profile__who .meta { font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--color-text); }
.stat { padding: 20px 20px 20px 0; border-bottom: 2px solid var(--color-divider); display: flex; flex-direction: column; gap: 4px; }
.stat .label { font-weight: 600; }
.stat__v { font-family: var(--font-heading); font-weight: 900; font-size: clamp(56px, 7vw, 104px); line-height: .9; letter-spacing: -.04em; }
.stat .meta { font-size: 14px; }
.profile__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 4vw, 64px); }
.profile__sec { display: flex; flex-direction: column; gap: 16px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__wd { font-size: 11px; color: var(--color-neutral-500); font-weight: 600; letter-spacing: .1em; }
.cal__d { aspect-ratio: 1; border: 2px solid var(--color-divider); }
.cal__d.on { background: var(--color-accent); border-color: var(--color-accent); }
.cal__d.old { background: var(--color-accent-800); border-color: var(--color-accent-800); }
.cal__d.future { border-style: dashed; opacity: .4; }
.pts { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.pts__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; flex-wrap: wrap; }
.pts__bar { height: 8px; background: var(--color-surface); }
.pts__fill { height: 8px; width: 0; background: var(--color-accent); transition: width .8s var(--ease); }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.badge { display: flex; flex-direction: column; gap: 8px; opacity: .7; }
.badge__tile { aspect-ratio: 1; border: 2px solid var(--color-divider); display: flex; align-items: flex-end; justify-content: flex-start; padding: 8px; font-family: var(--font-heading); font-weight: 900; font-size: clamp(24px, 3vw, 40px); line-height: .85; letter-spacing: -.04em; color: var(--color-neutral-600); }
.badge.is-on { opacity: 1; }
.badge.is-on .badge__tile { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }
.badge__name { font-size: 13px; font-weight: 800; line-height: 1.2; }
.badge__how { font-size: 12px; color: var(--color-neutral-500); line-height: 1.3; }
.history { display: flex; flex-direction: column; }
.history__row { display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; gap: 16px; align-items: baseline; border-bottom: 1px solid var(--color-divider); padding: 16px 0; color: var(--color-text); }
.history__row:hover { color: var(--color-accent); }
.history__k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; font-stretch: 75%; color: var(--color-accent); }
.history__t { font-family: var(--font-heading); font-weight: 800; font-size: 20px; line-height: 1.15; }
.history__w { font-size: 13px; color: var(--color-neutral-400); }
.history__empty { padding: 16px 0; margin: 0; }
.profile__note { margin: 0; }

/* ---- footer ---- */
.foot { padding: clamp(40px, 6vw, 72px) var(--gutter) 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; align-items: start; border-top: 2px solid var(--color-divider); }
.foot__logo img { width: 140px; height: auto; }
.foot__col { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--color-divider); padding-top: 12px; }
.foot__col .label { font-weight: 600; }
.foot__col a { color: var(--color-text); font-weight: 600; font-size: 15px; }
.foot__col a:hover { color: var(--color-accent); }
.foot__legal { grid-column: 1 / -1; margin: 0; color: var(--color-neutral-500); }

/* ---- the Stories viewer: the words sit under the frame ---- */
.viewer { position: fixed; inset: 0; z-index: 90; background: #000; display: flex; align-items: center; justify-content: center; gap: 24px; animation: bsFade .25s both; color: #f3f2f2; }
.viewer__col { position: relative; height: 100vh; height: 100dvh; width: min(100vw, calc(100dvh * 9 / 16)); min-width: min(100vw, 360px); display: flex; flex-direction: column; background: #000; }
.viewer__top { padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: none; }
.viewer__segs { display: flex; gap: 4px; }
.viewer__segs span { flex: 1; height: 3px; background: rgba(243, 242, 242, .3); display: block; overflow: hidden; }
.viewer__segs i { display: block; height: 3px; width: 0; background: #f3f2f2; }
.viewer__segs .done i { width: 100%; }
.viewer__segs .now i { animation: bsLoop var(--dur, 5s) linear both; }
.viewer.is-paused .viewer__segs .now i { animation-play-state: paused; }
.viewer__row { display: flex; justify-content: space-between; align-items: center; }
.viewer__tag { font-size: 12px; letter-spacing: .18em; font-weight: 900; color: #f3f2f2; }
.viewer__tag b { color: var(--color-accent); font-weight: 900; }
.viewer__close { width: 44px; height: 44px; background: none; border: 0; color: #f3f2f2; cursor: pointer; display: flex; align-items: center; justify-content: flex-end; padding: 0; }
.viewer__frame { position: relative; flex: 1; min-height: 0; background: #111; overflow: hidden; }
.viewer__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.viewer__img.is-fit { object-fit: scale-down; }
.viewer__zone { position: absolute; top: 0; bottom: 0; width: 35%; background: none; border: 0; padding: 0; cursor: pointer; z-index: 2; }
.viewer__zone--prev { left: 0; }
.viewer__zone--next { right: 0; }
.viewer__text { flex: none; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 10px; }
.viewer__title { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: clamp(24px, 3.4vh, 34px); line-height: .98; letter-spacing: -.025em; }
.viewer__caption { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.35; color: #eae7e7; }
.viewer__caption:empty { display: none; }
.viewer__read { height: 44px; margin-top: 6px; }
.viewer__read[hidden] { display: none; }
.viewer__arrow { width: 48px; height: 48px; flex: none; background: none; border: 2px solid var(--color-divider); color: var(--color-text); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.viewer__arrow:hover { border-color: var(--color-accent); }
.viewer__arrow--prev { order: -1; }
.has-viewer, .has-nav { overflow: hidden; }

/* ---- under 760px ---- */
@media (max-width: 759px) {
  .bar__menu span { display: none; }
  .bar__menu { padding: 0 10px; }
  .bar__logo img { height: 48px; }
  .dc-toggle__label, .overlay__sub, .hide-narrow, .viewer__arrow { display: none; }
  .overlay__row { grid-template-columns: 36px minmax(0, 1fr); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid .grid__item { grid-column: 1; grid-row: auto; margin-top: 0; --h: 260px; }
  .grid .grid__item .card__title { font-size: 30px; }
  .band { grid-template-columns: minmax(0, 1fr); grid-template-rows: 56vh auto; height: auto; }
  .band__photo { border-right: 0; border-bottom: 2px solid var(--color-divider); }
  .band__type { padding: 32px var(--gutter) 40px; }
  .story__grid, .story__comments { grid-template-columns: minmax(0, 1fr); }
  .story__comments > * { grid-column: 1; }
  .story__aside { position: static; }
  .story__aside--blank, .story__air { display: none; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .viewer { gap: 0; }
  .credits__cta { grid-column: 1 / -1; }
  .viewer__col { width: 100vw; min-width: 0; }
  .note { padding-right: 0; }
}
@media (max-width: 782px) { .admin-bar .bar { top: 46px; } .admin-bar .progress { top: 110px; } }

/* ---- motion off: no parallax, marquee or blur-in ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__run { animation: none !important; flex-wrap: wrap; white-space: normal; }
  .card:hover .card__loopbar { animation: none; }
  [data-speed] { transform: none !important; }
}
