/* Cutscene Crumpet — cinema programme. Tokens and rules: DESIGN.md */
@import url('../fonts/fonts.css');

:root {
  color-scheme: dark;
  --ground: #14100E;      /* house lights down */
  --stage: #1D1715;       /* raised surface */
  --curtain: #2A1F1C;     /* second surface, panels */
  --line: #3A2E29;        /* hairlines */
  --line-strong: #5A4840;
  --ink: #F3E9DA;         /* programme paper text, 15.7:1 on ground */
  --ink-soft: #C9BBA6;    /* 10.0:1 on ground */
  --muted: #A39380;       /* 6.3:1 on ground, 5.4:1 on curtain */
  --gold: #E2A94B;        /* crumpet gold, 9.0:1 on ground */
  --gold-deep: #C98F33;
  --velvet: #9E2B33;      /* velvet red fill; ink on it 6.1:1 */
  --velvet-deep: #7E1F27;
  --rose: #E8747C;        /* velvet on dark text use, 6.5:1 */
  --paper: #F1E6D2;       /* programme paper section */
  --paper-ink: #231A16;   /* 13.8:1 on paper */
  --paper-muted: #6B5A4C; /* 5.3:1 on paper */
  --paper-accent: #8A2630;/* 7.1:1 on paper */

  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  --mono: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;

  /* type scale (ratio about 1.25, display jumps like the Runway scale) */
  --t-label: .78rem; --t-small: .9rem; --t-body: 1.0625rem; --t-lead: 1.25rem;
  --t-h4: 1.25rem; --t-h3: 1.6rem; --t-h2: clamp(2rem, 1.4rem + 2.2vw, 2.75rem);
  --t-h1: clamp(2.6rem, 1.6rem + 4vw, 4.4rem); --t-display: clamp(2.9rem, 1.5rem + 5.6vw, 5.75rem);

  /* spacing (8px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1320px;
  --radius: 4px; --radius-lg: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --m-in: 150ms; --m-out: 120ms; --m-press: 90ms; --m-image: 600ms;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-body)/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-wrap: break-word; touch-action: manipulation; -webkit-tap-highlight-color: rgba(226, 169, 75, .25); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 var(--s4); text-wrap: balance; }
h2 { font-size: var(--t-h2); } h3 { font-size: var(--t-h3); } h4 { font-size: var(--t-h4); }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--ground); padding: 12px 18px; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* labels: film-credit capitals */
.label { font: 500 var(--t-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3); }
.label a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--m-in) var(--ease); }
.label a:hover { background-size: 100% 1px; }
.label--gold { color: var(--gold); }
.display { font-size: var(--t-display); line-height: .98; letter-spacing: -.015em; margin-bottom: var(--s5); }
.display--md { font-size: var(--t-h1); }

/* ---------- masthead: centred serif wordmark, links split either side ---------- */
.mast { position: sticky; top: 0; z-index: 50; background: rgba(20, 16, 14, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.mast__bar { display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: var(--header-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); gap: var(--s4); }
.mast__links { display: none; list-style: none; margin: 0; padding: 0; gap: var(--s6); }
.mast__links a, .curtain a { color: var(--ink-soft); text-decoration: none; font: 500 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 12px 0; display: inline-block; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(100% - 6px); transition: color var(--m-in) var(--ease), background-size var(--m-in) var(--ease); }
.mast__links a:hover, .mast__links a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-height: 44px; justify-self: start; }
.brand__mark { color: var(--gold); flex: none; }
.brand__name { font: 400 1.6rem/1 var(--serif); letter-spacing: 0; white-space: nowrap; }
.brand:hover { color: var(--gold); }
.menu-btn { justify-self: end; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 14px; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius); font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: border-color var(--m-in) var(--ease), transform var(--m-press) var(--ease); }
.menu-btn:hover { border-color: var(--gold); }
.menu-btn:active { transform: translateY(1px) scale(.985); }
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 200ms var(--ease), opacity 120ms; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ''; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
.curtain { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ground); border-top: 3px solid var(--velvet); padding: var(--s6) var(--gutter) var(--s8); overflow-y: auto; overscroll-behavior: contain; }
.curtain[hidden] { display: none; }
.curtain ul { list-style: none; margin: 0; padding: 0; }
.curtain__main a { font: 400 2.1rem/1.1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 10px 0; background-position: 0 calc(100% - 4px); }
.curtain__main a[aria-current="page"] { color: var(--gold); }
.curtain__small { margin-top: var(--s6) !important; padding-top: var(--s5) !important; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
@media (min-width: 1100px) {
  .mast__bar { grid-template-columns: 1fr auto 1fr; }
  .mast__links { display: flex; }
  .mast__links--l { justify-self: end; }
  .mast__links--r { justify-self: start; }
  .brand { justify-self: center; }
  .menu-btn, .curtain { display: none !important; }
}

/* ---------- buttons, chips, links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--radius); font: 600 .95rem/1.1 var(--sans); letter-spacing: .02em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color var(--m-in) var(--ease), border-color var(--m-in) var(--ease), color var(--m-in) var(--ease), transform var(--m-in) var(--ease); }
.btn--gold { background: var(--gold); color: var(--ground); }
.btn--gold:hover { background: #EBBB67; color: var(--ground); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--gold); color: var(--ink); background: rgba(226, 169, 75, .08); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .88rem; }
@media (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: translateY(1px) scale(.985); transition-duration: var(--m-press); }
.form[data-state="sending"] button[type="submit"] { opacity: .7; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s6) 0 0; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow::after { content: '→'; transition: transform var(--m-in) var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink-soft); font: 500 .9rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: border-color var(--m-in) var(--ease), color var(--m-in) var(--ease), background-color var(--m-in) var(--ease), transform var(--m-in) var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ground); }
.chip:active { transform: scale(.97); }

/* ---------- letterbox hero ---------- */
.letterbox { position: relative; background: #000; padding-block: clamp(18px, 4vw, 56px); isolation: isolate; }
.letterbox__frame { position: relative; overflow: hidden; aspect-ratio: 12 / 5; max-height: 78vh; width: 100%; background: var(--stage); }
.letterbox__frame > img, .letterbox__frame > svg { width: 100%; height: 100%; object-fit: cover; }
.letterbox__img { filter: saturate(.92) contrast(1.02); }
.t-home .letterbox { padding-block: 0; }
.t-home .letterbox__frame { aspect-ratio: auto; height: min(84vh, 760px); min-height: 560px; max-height: none; }
.t-home .letterbox__frame::after, .letterbox--404 .letterbox__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 8, 7, .92) 0%, rgba(10, 8, 7, .72) 42%, rgba(10, 8, 7, .15) 80%), linear-gradient(0deg, rgba(10, 8, 7, .85), transparent 45%); }
.t-home .letterbox::before, .t-home .letterbox::after { content: ''; position: absolute; left: 0; right: 0; height: clamp(14px, 3.2vw, 44px); background: #000; z-index: 2; }
.t-home .letterbox::before { top: 0; } .t-home .letterbox::after { bottom: 0; }
.letterbox__text { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 96px); z-index: 3; }
.letterbox__text .display { max-width: 13ch; }
.letterbox__sub { font-size: var(--t-lead); color: var(--ink-soft); max-width: 40ch; line-height: 1.5; }
.letterbox--404 .letterbox__frame { height: 70vh; min-height: 480px; aspect-ratio: auto; max-height: none; }
.letterbox--note .letterbox__frame { max-height: 62vh; }
.credit { font-size: .78rem; color: var(--muted); margin: var(--s2) auto 0; }
.letterbox .credit { color: #9C8E7C; }

/* hero entrance, once on load */
/* quick: whole entrance done within 400 ms, text never waits */
.js [data-enter] .letterbox__text > *, .js [data-enter].letterbox--note ~ * .display { animation: rise 320ms var(--ease-enter) both; }
.js [data-enter] .letterbox__text > :nth-child(n+2) { animation-delay: 40ms; }
.js [data-enter] .letterbox__frame > img, .js [data-enter] .letterbox__frame > svg { animation: settle 380ms var(--ease-enter) both; }
@keyframes rise { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: .4; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- home acts ---------- */
.act { padding-block: var(--s9); border-top: 1px solid var(--line); }
.act__head { max-width: 760px; margin: 0 auto var(--s8); text-align: center; }
.act__no { font: italic 400 1.35rem/1 var(--serif); color: var(--gold); margin: 0 0 var(--s3); display: inline-flex; align-items: center; gap: 14px; }
.act__no::before, .act__no::after { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.act__lede { color: var(--ink-soft); font-size: var(--t-lead); line-height: 1.5; margin: 0; }
.act__more { text-align: center; margin: var(--s7) 0 0; }
.act--paper { background: var(--paper); color: var(--paper-ink); border-top: 0; }
.act--paper .act__no { color: var(--paper-accent); }
.act--paper .act__lede, .act--paper .reel-row__text p { color: var(--paper-muted); }
.act--paper .label { color: var(--paper-accent); }
.act--paper a { color: var(--paper-ink); }
.act--paper .reel-row__meta { color: var(--paper-muted); }
.act--paper .bill__item a { border-color: #D9CBB3; }
.act--paper .bill__meta { color: var(--paper-muted); }

.reel { display: grid; gap: var(--s8); }
.reel-row { display: grid; gap: var(--s5); align-items: center; }
.reel-row__pic { display: block; overflow: hidden; border-radius: var(--radius); background: #000; aspect-ratio: 12 / 5; }
.reel-row__pic > img, .reel-row__pic > svg { width: 100%; height: 100%; object-fit: cover; transition: transform var(--m-image) var(--ease); }
.reel-row:hover .reel-row__pic > img, .reel-row:hover .reel-row__pic > svg { transform: scale(1.025); }
.reel-row__title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); margin-bottom: var(--s3); }
.reel-row__title a { display: inline-block; padding-block: 4px; color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 92%; transition: background-size var(--m-in) var(--ease); }
.reel-row__title a:hover { background-size: 100% 1px; }
.reel-row__text p { color: var(--ink-soft); max-width: 46ch; }
.reel-row__meta { font: 500 .85rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) !important; }
@media (min-width: 900px) {
  .reel-row { grid-template-columns: 7fr 5fr; gap: var(--s8); }
  .reel-row--flip .reel-row__pic { order: 2; }
  .reel--compact .reel-row { grid-template-columns: 5fr 7fr; gap: var(--s6); }
  .reel--compact .reel-row--flip .reel-row__pic { order: 0; }
}
.strip { padding-block: var(--s7); border-top: 1px solid var(--line); }
.strip__h { font-size: var(--t-h3); margin-bottom: var(--s4); }
.strip--inline { border-top: 1px solid var(--line); margin-top: var(--s8); padding-bottom: 0; }

.bill { list-style: none; padding: 0; margin: var(--s7) 0 0; display: grid; gap: 0; }
.bill__item a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 44px; }
.bill__title { font: 400 1.45rem/1.2 var(--serif); }
.bill__meta { color: var(--muted); font-size: .9rem; white-space: nowrap; text-align: right; }
.bill__item a:hover .bill__title { color: var(--gold); }
.act--paper .bill__item a:hover .bill__title { color: var(--paper-accent); }
.bill--num { counter-reset: n; }
.bill--num .bill__item a::before { counter-increment: n; content: counter(n, upper-roman) '.'; font: italic 400 1.2rem/1.2 var(--serif); color: var(--gold); min-width: 2.2em; }
.bill--num .bill__title { flex: 1; }
@media (max-width: 560px) { .bill__item a { flex-direction: column; gap: 2px; } .bill__meta { white-space: normal; text-align: left; } }

.programme { display: grid; gap: var(--s7); }
.programme-col__h { font: 500 var(--t-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: var(--s3); margin: 0; }
.programme .bill { margin-top: 0; }
@media (min-width: 900px) { .programme { grid-template-columns: 1fr 1fr; gap: var(--s8); } }

.interval { background: var(--velvet-deep); background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, transparent 2px 46px); padding-block: var(--s8); }
.interval__inner { display: grid; gap: var(--s5); align-items: center; }
.interval .act__no { color: var(--gold); }
.interval h2 { margin-bottom: var(--s3); }
.interval p { color: #F0DCCB; max-width: 56ch; margin: 0; }
@media (min-width: 900px) { .interval__inner { grid-template-columns: 1fr auto; gap: var(--s8); } }
.late { padding-block: var(--s9); border-top: 1px solid var(--line); }
.late .act__head { margin-bottom: var(--s5); }
.bill--news .bill__item a { flex-direction: row-reverse; justify-content: flex-end; }
.bill--news .bill__meta { min-width: 9.5em; text-align: left; color: var(--gold); }
@media (max-width: 560px) { .bill--news .bill__item a { flex-direction: column-reverse; } }
.call { background: var(--paper); color: var(--paper-ink); padding-block: var(--s9); }
.call .act__no { color: var(--paper-accent); }
.call p { color: var(--paper-muted); max-width: 46ch; }
.call__inner { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .call__inner { grid-template-columns: 1fr 1fr; gap: var(--s9); } }

/* ---------- tickets (review cards) ---------- */
.tickets { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ticket { min-width: 0; }
.ticket__link { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100%; background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform 180ms var(--ease), border-color 180ms var(--ease); }
.ticket__link:hover { transform: translateY(-2px); border-color: var(--line-strong); color: var(--ink); }
.ticket__art { display: block; aspect-ratio: 12 / 5; overflow: hidden; background: #000; }
.ticket__art svg { width: 100%; height: 100%; transition: transform var(--m-image) var(--ease); }
.ticket__link:hover .ticket__art svg { transform: scale(1.03); }
.ticket__body { display: block; padding: var(--s4) var(--s5) var(--s3); }
.ticket__body .label { display: block; margin-bottom: var(--s2); }
.ticket__title { display: block; font: 400 1.65rem/1.08 var(--serif); margin-bottom: var(--s2); }
.ticket__meta { display: block; color: var(--muted); font-size: .9rem; }
.ticket__stub { position: relative; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s3) var(--s5); border-top: 1.5px dashed var(--line-strong); font-size: .9rem; color: var(--ink-soft); }
.ticket__stub::before, .ticket__stub::after { content: ''; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--ground); border: 1px solid var(--line); }
.ticket__stub::before { left: -9px; } .ticket__stub::after { right: -9px; }
.ticket__score { font: 400 1.5rem/1 var(--serif); color: var(--gold); }
.ticket__score small { font: 500 .75rem/1 var(--sans); color: var(--muted); margin-left: 2px; }
.ticket[hidden] { display: none; }

/* ---------- filters ---------- */
.filters { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); margin-bottom: var(--s6); background: var(--stage); display: grid; gap: var(--s4); }
.filters[hidden] { display: none; }
.filters__row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: flex-end; }
.filters__row--selects { gap: var(--s4); }
.filters__count { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.empty { color: var(--ink-soft); padding: var(--s6) 0; }

/* ---------- page heads, breadcrumbs ---------- */
.page-head, .note__head, .essay__head { padding-top: var(--s6); padding-bottom: var(--s6); }
.page-head__lede, .note__dek { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.prose--intro p { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding: 0; margin: 0 0 var(--s5); font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin: 0 10px; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.crumbs [aria-current] { display: inline-block; padding: 10px 0; }
.byline { font-size: .9rem; color: var(--muted); margin: 0; }
.index-body, .page-body { padding-bottom: var(--s9); }

/* ---------- review: programme note ---------- */
.note__head { text-align: center; max-width: 900px; }
.note__head .crumbs ol { justify-content: center; }
.note__head .note__dek { margin-inline: auto; }
.note__grid { display: grid; gap: var(--s7); padding-bottom: var(--s8); }
.note__side { display: grid; gap: var(--s4); align-content: start; }
@media (min-width: 1024px) {
  .note__grid { grid-template-columns: minmax(0, 300px) minmax(0, 720px); justify-content: center; gap: var(--s8); }
  .note__side { position: sticky; top: calc(var(--header-h) + 24px); }
}
.score-card { border: 1px solid var(--gold); border-radius: var(--radius-lg); padding: var(--s5); text-align: center; background: linear-gradient(180deg, rgba(226, 169, 75, .08), transparent); }
.score-card__label { font: 500 var(--t-label)/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s2); }
.score-card__num { font: 400 4.2rem/1 var(--serif); margin: 0 0 var(--s2); font-variant-numeric: tabular-nums; }
.score-card__num span { font-size: 1.4rem; color: var(--muted); }
.score-card__verdict { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; margin: 0; }
.side__h { font: 500 var(--t-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: var(--s4) 0 0; padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.facts { margin: 0; display: grid; }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
.facts__note { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.toc { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.toc a { display: flex; gap: 10px; padding: 8px 0; color: var(--ink-soft); text-decoration: none; min-height: 44px; align-items: center; }
.toc a span { font: italic 400 1.05rem/1 var(--serif); color: var(--gold); min-width: 1.8em; }
.toc a:hover { color: var(--ink); }

/* ---------- prose ---------- */
.prose { max-width: 720px; min-width: 0; font-size: 1.125rem; line-height: 1.7; }
.prose > p:first-child::first-letter { font: 400 4.1em/.8 var(--serif); float: left; margin: .08em .12em 0 0; color: var(--gold); }
.page-body .prose > p:first-child::first-letter, .prose--intro > p:first-child::first-letter { font: inherit; float: none; margin: 0; color: inherit; }
.prose h2 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem); margin: var(--s8) 0 var(--s4); scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: 1.55rem; margin: var(--s6) 0 var(--s3); }
.prose h4 { font: 600 1rem/1.3 var(--sans); letter-spacing: .04em; margin: var(--s5) 0 var(--s2); }
.chap__no { display: block; font: 500 var(--t-label)/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.chap__no::after { content: ''; display: inline-block; vertical-align: middle; width: 40px; height: 1px; background: currentColor; margin-left: 12px; opacity: .6; }
.prose a { color: var(--gold); text-decoration-color: rgba(226, 169, 75, .45); transition: text-decoration-color var(--m-in) var(--ease), color var(--m-in) var(--ease); }
.prose a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 var(--s5); }
.prose li { margin-bottom: var(--s2); }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: var(--s6) 0; padding: 0 0 0 var(--s5); border-left: 2px solid var(--velvet); font: italic 400 1.5rem/1.35 var(--serif); color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: var(--s7) 0; }
.prose code { font: .9em var(--mono); background: var(--curtain); padding: 2px 6px; border-radius: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: var(--s5) 0; border: 1px solid var(--line); border-radius: var(--radius-lg); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 500 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: var(--stage); }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
@media (max-width: 640px) { th, td { padding: 10px 10px; font-size: .88rem; overflow-wrap: anywhere; hyphens: auto; } thead th { letter-spacing: .06em; } }
.fig { margin: var(--s6) 0; }
.fig img { border-radius: var(--radius); width: 100%; }
.fig figcaption { font-size: .88rem; color: var(--muted); margin-top: var(--s2); }
.fig .credit { display: block; font-size: .78rem; }
.callout { margin: var(--s6) 0; padding: var(--s5); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); background: var(--stage); font-size: 1.02rem; }
.callout > :last-child { margin-bottom: 0; }
.callout__title { font: 500 var(--t-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s2); }
.callout--warning { border-left-color: var(--rose); } .callout--warning .callout__title { color: var(--rose); }
.callout--aside { border-left-color: var(--velvet); background: var(--curtain); }
.callout--verdict { border-left-color: var(--gold); background: linear-gradient(90deg, rgba(226, 169, 75, .1), var(--stage)); }
.callout--credits { font-size: .95rem; }
.callout--spoiler { border-left-color: var(--rose); padding: 0; }
.callout--spoiler summary { cursor: pointer; padding: var(--s4) var(--s5); min-height: 44px; font: 500 .9rem/1.4 var(--sans); color: var(--rose); letter-spacing: .04em; }
.callout--spoiler .callout__body { padding: 0 var(--s5) var(--s5); }
.pc { margin-top: var(--s8); }
.pc__h { margin-top: 0 !important; }
.pc__grid { display: grid; gap: var(--s5); }
.pc__grid > div { border-top: 2px solid var(--gold); padding-top: var(--s4); }
.pc__grid > div + div { border-top-color: var(--rose); }
.pc__grid h3 { font-size: 1.4rem; margin-top: 0; }
.pc__grid ul { padding-left: 1.1em; font-size: 1.02rem; }
@media (min-width: 640px) { .pc__grid { grid-template-columns: 1fr 1fr; } }
.next { padding-block: var(--s8); border-top: 1px solid var(--line); }
.next__lede { color: var(--ink-soft); margin-top: calc(-1 * var(--s2)); }
.source { font-size: .95rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: var(--s4); margin-top: var(--s7); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--s4) 0; font: 400 1.35rem/1.3 var(--serif); min-height: 44px; }
.faq details p { color: var(--ink-soft); }

/* ---------- essays (guides, news, rankings, collections) ---------- */
.essay__head { max-width: calc(var(--maxw)); }
.essay__head .display, .essay__head .note__dek { max-width: 24ch; }
.essay__head .note__dek { max-width: 60ch; }
.letterbox--essay { padding-block: clamp(12px, 3vw, 36px); }
.letterbox--essay .letterbox__frame { max-height: 60vh; }
.letterbox--essay .credit { padding-top: var(--s2); margin-bottom: calc(-1 * var(--s3)); }
.essay__grid { display: grid; gap: var(--s6); padding-top: var(--s7); padding-bottom: var(--s8); }
.essay__toc { align-self: start; }
@media (min-width: 1024px) {
  .essay__grid { grid-template-columns: minmax(0, 260px) minmax(0, 720px); gap: var(--s8); justify-content: center; }
  .essay__toc { position: sticky; top: calc(var(--header-h) + 24px); }
  .essay__head { padding-left: max(var(--gutter), calc((100% - 260px - 720px - 64px) / 2)); }
}
.rank { list-style: none; padding: 0; margin: var(--s5) 0 var(--s7); border-top: 1px solid var(--line); }
.rank li { border-bottom: 1px solid var(--line); margin: 0; }
.rank a, .rank__static { display: grid; grid-template-columns: 3rem 1fr; gap: 0 var(--s4); padding: var(--s4) 0; text-decoration: none; color: var(--ink); align-items: baseline; }
.rank__no { grid-row: span 2; font: 400 2.2rem/1 var(--serif); color: var(--gold); }
.rank__name { font: 400 1.5rem/1.2 var(--serif); }
.rank__meta { color: var(--muted); font-size: .92rem; }
.rank a:hover .rank__name { color: var(--gold); }
.rank--bill .rank__no { font-style: italic; font-size: 1.6rem; }
.dateline-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.dateline-list li { display: grid; gap: var(--s2) var(--s6); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.dateline-list time { font: 500 .85rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.dateline-list__h { font-size: 1.8rem; margin-bottom: var(--s2); }
.dateline-list__h a { display: inline-block; padding-block: 4px; color: var(--ink); text-decoration: none; }
.dateline-list__h a:hover { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; }
.dateline-list p { color: var(--ink-soft); margin: 0; max-width: 70ch; }
@media (min-width: 760px) { .dateline-list li { grid-template-columns: 12rem 1fr; } }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--s4); max-width: 560px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font: 500 .92rem/1.3 var(--sans); color: var(--ink); }
.field__hint { font-size: .86rem; color: var(--muted); margin: 0; }
input[type="text"], input[type="email"], input[type="number"], input[type="date"], select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--ground); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius); font: 400 1rem/1.4 var(--sans); transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease); }
select { background-color: var(--ground); color: var(--ink); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
textarea { resize: vertical; min-height: 140px; }
input::placeholder, textarea::placeholder { color: #8A7C6B; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226, 169, 75, .35); }
[aria-invalid="true"] { border-color: var(--rose) !important; }
.field__error { color: var(--rose); font-size: .9rem; margin: 0; }
.field--check { grid-template-columns: 24px 1fr; align-items: start; gap: 4px 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--gold); }
.field--check label { font-weight: 400; font-size: .92rem; color: var(--ink-soft); padding-block: 2px; }
.field--check .field__error { grid-column: 2; }
.field--check label a, .prose li > a, .prose li > strong > a { padding-block: 9px; margin-block: -9px; }
.form__status { margin: 0; padding: var(--s3) var(--s4); border-radius: var(--radius); background: var(--curtain); border-left: 3px solid var(--gold); }
.form[data-state="error"] .form__status { border-left-color: var(--rose); }
.form--compact { max-width: none; }
.call .form label, .call .field--check label { color: var(--paper-ink); }
.call input[type="email"] { background: #FFF9EE; color: var(--paper-ink); border-color: #BFAE94; }
.call .field__hint, .call .field--check label { color: var(--paper-muted); }
.call .field--check a, .call .form a { color: var(--paper-accent); }
.call .form__status { background: #E7D9C0; color: var(--paper-ink); border-left-color: var(--paper-accent); }
.call .field__error { color: var(--paper-accent); }
.call input:focus-visible { box-shadow: 0 0 0 3px rgba(138, 38, 48, .3); border-color: var(--paper-accent); }
.call :focus-visible { outline-color: var(--paper-accent); }
.field--radios { border: 0; padding: 0; margin: 0; }
.radio { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400 !important; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--gold); margin: 0; }
.field--inline { gap: 4px; }
.field--inline label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field--inline select { min-width: 180px; }
.duo { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .duo { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); min-width: 0; }
.panel h2 { font-size: 2rem; }
.panel > p { color: var(--ink-soft); }
.panel__sub { font: 500 var(--t-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: var(--s7) 0 var(--s3); }
.req-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.req-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: var(--s3) 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.req-list [data-ref] { font: 600 .95rem var(--mono); color: var(--gold); }
.req-list button { min-height: 44px; padding: 6px 12px; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); font: 500 .85rem var(--sans); cursor: pointer; }
.req-list button:hover { border-color: var(--gold); }
.req-list p, .status-result { color: var(--ink-soft); }
.status-result dl { display: grid; gap: 6px; margin: var(--s3) 0 0; }
.status-result dl div { display: flex; gap: 12px; }
.status-result dt { color: var(--muted); min-width: 7em; }
.status-result dd { margin: 0; }
.page-body { display: grid; gap: var(--s7); }
.page-body > *, .essay__grid > *, .note__grid > * { min-width: 0; }
@media (min-width: 1024px) {
  .page-body:not(.page-body--wide) { grid-template-columns: minmax(0, 720px) minmax(0, 460px); justify-content: space-between; align-items: start; }
  .page-body:not(.page-body--wide) .form-slot { position: sticky; top: calc(var(--header-h) + 24px); }
}
.form-slot { background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); }
.form-slot--wide { background: none; border: 0; padding: 0; }
.page-body--wide .prose { max-width: 760px; }

/* ---------- the story-length planner ---------- */
.planner { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .planner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.planner__form { display: grid; gap: var(--s4); background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.range { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.range input { min-width: 0; }
.range input { flex: 1; accent-color: var(--gold); min-height: 44px; }
.range output { font: 400 1.5rem/1 var(--serif); color: var(--gold); min-width: 4.5em; text-align: right; font-variant-numeric: tabular-nums; }
.planner__out { display: grid; gap: var(--s5); min-width: 0; }
.planner__result { background: #000; border-block: clamp(10px, 2vw, 22px) solid #000; outline: 1px solid var(--line); border-radius: var(--radius); padding: var(--s6); min-height: 220px; background-image: radial-gradient(ellipse at 30% 0%, rgba(226, 169, 75, .14), transparent 60%); }
.planner__lead { font: 400 1.6rem/1.25 var(--serif); color: var(--ink-soft); margin: 0; }
.planner__date { font: 400 clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem)/1.05 var(--serif); color: var(--gold); margin: var(--s2) 0 var(--s4); }
.planner__weeks { display: flex; flex-wrap: wrap; gap: 4px; margin: var(--s4) 0 0; padding: 0; list-style: none; }
.planner__weeks li { width: 22px; height: 30px; border-radius: 2px; background: var(--gold); }
.planner__weeks li.part { background: linear-gradient(90deg, var(--gold) var(--p, 50%), var(--line) var(--p, 50%)); }
.planner__small { color: var(--muted); font-size: .9rem; margin: var(--s3) 0 0; }
.planner__chain h2 { font-size: 1.9rem; }
.chain { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); counter-reset: c; }
.chain li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: var(--s3); align-items: center; padding: var(--s4); background: var(--stage); border: 1px solid var(--line); border-radius: var(--radius); }
.chain li::before { counter-increment: c; content: counter(c, upper-roman); font: italic 400 1.4rem/1 var(--serif); color: var(--gold); }
.chain a { font: 400 1.35rem/1.2 var(--serif); color: var(--ink); text-decoration: none; }
.chain a:hover { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; }
.chain__when { color: var(--ink-soft); font-size: .9rem; text-align: right; }
.chain__add { margin-top: var(--s3); }
@media (max-width: 560px) { .chain li { grid-template-columns: 2rem 1fr; } .chain__when { grid-column: 2; text-align: left; } }

/* ---------- sitemap, credits ---------- */
.map-group { margin-bottom: var(--s6); }
.map-group h2 { font-size: 1.8rem; border-bottom: 1px solid var(--line); padding-bottom: var(--s2); }
.map-group ul { columns: 2 260px; gap: var(--s6); padding-left: 1.1em; }
.map-group li { margin-bottom: 2px; break-inside: avoid; }
.map-group a { display: inline-block; padding: 8px 0; min-height: 40px; }
.credits td, .credits th { font-size: .88rem; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #0F0C0A; padding-top: var(--s8); font-size: .95rem; }
.foot__grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.foot__brand { grid-column: 1 / -1; max-width: 460px; }
@media (min-width: 1100px) { .foot__grid { grid-template-columns: 1.6fr repeat(4, 1fr); } .foot__brand { grid-column: auto; } }
.foot__brand p { color: var(--muted); }
.brand--foot { margin-bottom: var(--s3); }
.foot__h { font: 500 var(--t-label)/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: inline-block; padding: 7px 0; min-width: 44px; color: var(--ink-soft); text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(100% - 5px); transition: background-size var(--m-in) var(--ease), color var(--m-in) var(--ease); }
.foot li a:hover { color: var(--ink); background-size: 100% 1px; }
@media (max-width: 700px) { .foot li a { padding: 11px 0; } }
.foot__legal { margin-top: var(--s7); padding-top: var(--s5); padding-bottom: var(--s6); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s6); }
.foot__legal p { margin: 0; max-width: 80ch; }
.foot__legal a { color: var(--ink-soft); display: inline-block; padding: 10px 0; }

@media (max-width: 480px) {
  .btn { width: 100%; }
  .actions { flex-direction: column; }
  .t-home .letterbox__frame { min-height: 600px; height: 88vh; }
  .brand__name { font-size: 1.35rem; }
  .brand__mark { width: 34px; height: 27px; }
  .filters__row--selects .field--inline, .filters__row--selects select { width: 100%; }
  .ticket__title { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
@media print { .mast, .foot, .filters, .menu-btn { display: none !important; } body { background: #fff; color: #000; } }
