/* movie-generator: a dark house, wall sconces, one brass machine, and the poster as the show. */

@font-face {
  font-family: "Roboto Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  src: url(/static/fonts/roboto-serif-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Roboto Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  src: url(/static/fonts/roboto-serif-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Roboto Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 50% 150%;
  src: url(/static/fonts/roboto-serif-latin-wdth-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F;
}

:root {
  /* The house: velvet-black walls, curtain red, brass fittings, projected light. */
  --house: #150b0a;
  --velvet: #2b1210;
  --velvet-hi: #3d1a16;
  --ticket: #c8352a;
  --ticket-deep: #9e2a21;
  --brass: #d9a85b;
  --brass-dim: #8f6c3b;
  --screen: #efe6d8;
  --screen-dim: #b8aa97;
  --ink: #1c1414;

  --font: "Roboto Serif", Georgia, "Times New Roman", serif;
  --condensed: 50%;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-4: clamp(2.2rem, 6vw, 3.4rem);

  --frame-w: clamp(196px, 58vw, 330px);
  --frame-h: calc(var(--frame-w) * 1.5);
  --ease-land: cubic-bezier(0.12, 0.7, 0.18, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: dark; }
body { overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--house);
  color: var(--screen);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--screen); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* Wall sconces: warm light washing up the side walls, and a faint red aisle glow. */
.house {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle 5px at 0 18%, rgba(255, 220, 160, 0.33), transparent),
    radial-gradient(circle 5px at 100% 18%, rgba(255, 220, 160, 0.33), transparent),
    radial-gradient(circle 5px at 0 58%, rgba(255, 220, 160, 0.33), transparent),
    radial-gradient(circle 5px at 100% 58%, rgba(255, 220, 160, 0.33), transparent),
    radial-gradient(70px 190px at 0 14%, rgba(217, 168, 91, 0.132), transparent 70%),
    radial-gradient(70px 190px at 100% 14%, rgba(217, 168, 91, 0.132), transparent 70%),
    radial-gradient(70px 190px at 0 54%, rgba(217, 168, 91, 0.12), transparent 70%),
    radial-gradient(70px 190px at 100% 54%, rgba(217, 168, 91, 0.12), transparent 70%),
    radial-gradient(160px 420px at 0 30%, rgba(200, 53, 42, 0.042), transparent 70%),
    radial-gradient(160px 420px at 100% 30%, rgba(200, 53, 42, 0.042), transparent 70%),
    linear-gradient(to top, rgba(200, 53, 42, 0.042), transparent 90px);
}

.marquee-bar,
main,
.credits { position: relative; z-index: 1; }

/* Header */
.marquee-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 48px) 0;
}

.logo { display: block; width: clamp(200px, 62vw, 350px); line-height: 0; } /* desktop: a touch wider than the 330px filter panel */
.logo svg { width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }
.logo text { font-family: var(--font); }
.logo__name { font-size: 34px; font-weight: 800; font-stretch: 58%; }
.logo__admit { font-size: 13px; font-weight: 700; letter-spacing: 3px; }
.logo__serial { font-size: 15px; font-weight: 700; font-stretch: 70%; letter-spacing: 1px; }
.logo__byline { font-size: 11.5px; font-weight: 500; }

.top-nav a { font-size: var(--step--1); color: var(--screen-dim); text-decoration: none; }
.top-nav a:hover { color: var(--brass); }

/* Layout */
.theater {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 48px) 56px;
}

/* On phones the machine comes first; the filters sit under it with their own pull button. */
.stage { order: -1; }
.btn.roll-mobile { display: block; width: 100%; margin: 4px 0 18px; padding: 12px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.btn.roll-mobile:disabled { opacity: 0.6; cursor: progress; }

@media (min-width: 960px) {
  .theater { grid-template-columns: 330px 1fr; gap: 56px; align-items: start; padding-top: 40px; }
  .box-office { position: sticky; top: 24px; }
  .stage { order: 0; }
  .btn.roll-mobile { display: none; }
  /* The ticket sits centered over the filter column, a little wider than it. */
  .logo { width: calc(330px + 24px); margin-left: -12px; }
}

/* Filters */
.box-office {
  background: color-mix(in srgb, var(--velvet) 70%, transparent);
  border: 1px solid rgba(217, 168, 91, 0.16);
  border-radius: 14px;
  padding: 20px 20px 8px;
}

.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.field legend,
.field > label {
  display: block;
  padding: 0;
  margin-bottom: 10px;
  color: var(--brass);
  font-weight: 600;
  font-size: var(--step-0);
}
.legend-note { color: var(--screen-dim); font-weight: 400; font-size: var(--step--1); margin-left: 0.4em; }

/* Visually hidden native inputs; labels carry the styling and the hit area. */
.segment input,
.chip input,
.toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.segments {
  display: grid;
  grid-template-columns: auto auto auto;
  background: var(--house);
  border: 1px solid rgba(217, 168, 91, 0.25);
  border-radius: 10px;
  padding: 3px;
}
.segment span {
  display: block;
  text-align: center;
  padding: 9px 4px;
  border-radius: 7px;
  font-size: var(--step--1);
  font-weight: 600;
  font-stretch: 62%;
  white-space: nowrap;
  color: var(--screen-dim);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.segment:hover span { color: var(--screen); }
.segment input:checked + span { background: var(--ticket); color: var(--screen); box-shadow: inset 0 0 0 1px rgba(232, 194, 122, 0.4); }
.segment input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }

.hint { display: none; margin: 10px 2px 0; font-size: var(--step--1); color: var(--screen-dim); line-height: 1.5; }
.tier:has(input[value="deep_cuts"]:checked) .hint--deep_cuts,
.tier:has(input[value="known"]:checked) .hint--known,
.tier:has(input[value="crowd_pleasers"]:checked) .hint--crowd_pleasers { display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip span {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(239, 230, 216, 0.18);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--screen-dim);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}
.chip:hover span { border-color: rgba(217, 168, 91, 0.5); color: var(--screen); }
.chip input:checked + span { border-color: var(--brass); background: rgba(217, 168, 91, 0.16); color: var(--screen); }
.chip input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 2px; }
.chip input:disabled + span { opacity: 0.35; cursor: not-allowed; }
.chips--tight .chip span { padding: 4px 10px; font-variant-numeric: tabular-nums; }

.genre-mode,
.options { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.genre-mode[hidden] { display: none; }
.toggle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--step--1);
  color: var(--screen-dim);
  cursor: pointer;
}
.toggle span::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid var(--brass-dim);
  flex: none;
}
.toggle input:checked + span { color: var(--screen); }
.toggle input:checked + span::before { background: var(--brass); border-color: var(--brass); box-shadow: inset 0 0 0 2px var(--house); }
.toggle input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }
.options { flex-direction: column; margin-top: 0; }

.more { border-top: 1px solid rgba(217, 168, 91, 0.14); margin: 0 -20px; padding: 0 20px; }
.more summary {
  cursor: pointer;
  padding: 14px 0;
  color: var(--screen-dim);
  font-size: var(--step--1);
  list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-block; width: 1.1em; color: var(--brass); font-weight: 700; }
.more[open] summary::before { content: "\2212"; }
.more summary:hover { color: var(--screen); }

/* Cast and crew search */
.hint--always { display: block; }
.person-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.person-chips:empty { display: none; }
.person-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 12px;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: rgba(217, 168, 91, 0.16);
  font-size: var(--step--1);
}
.person-chip__remove {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--screen-dim);
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.person-chip__remove:hover { background: rgba(239, 230, 216, 0.12); color: var(--screen); }
.combo { position: relative; margin-top: 10px; }
.combo input {
  width: 100%;
  font: inherit;
  font-size: var(--step--1);
  color: var(--screen);
  background: var(--house);
  border: 1px solid rgba(217, 168, 91, 0.3);
  border-radius: 8px;
  padding: 9px 10px;
}
.combo input::placeholder { color: var(--screen-dim); opacity: 0.7; }
.combo input:disabled { opacity: 0.5; cursor: not-allowed; }
.suggestions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow-y: auto;
  margin: 0;
  padding: 4px;
  list-style: none;
  background: #1f0f0d;
  border: 1px solid rgba(217, 168, 91, 0.35);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}
.suggestions[hidden] { display: none; }
.suggestion { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 7px; cursor: pointer; }
.suggestion[aria-selected="true"],
.suggestion:not(.suggestion--note):hover { background: rgba(217, 168, 91, 0.16); }
.suggestion__name { font-size: var(--step--1); font-weight: 600; }
.suggestion__meta { font-size: 0.78rem; color: var(--screen-dim); line-height: 1.4; }
.suggestion--note { cursor: default; font-size: var(--step--1); color: var(--screen-dim); }

/* Dual-thumb range: two native sliders stacked on one track. */
.range { position: relative; height: 28px; margin: 4px 2px 0; }
.range__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  border-radius: 2px;
  background: rgba(239, 230, 216, 0.14);
}
.range__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--lo, 0%);
  right: calc(100% - var(--hi, 100%));
  border-radius: 2px;
  background: var(--brass);
}
.range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.range input[type="range"]::-webkit-slider-runnable-track { background: none; height: 100%; }
.range input[type="range"]::-moz-range-track { background: none; }
.range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--house);
  background: radial-gradient(circle at 35% 35%, #f1d29a, var(--brass) 55%, #9b7840);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  cursor: grab;
}
.range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--house);
  background: radial-gradient(circle at 35% 35%, #f1d29a, var(--brass) 55%, #9b7840);
  cursor: grab;
}
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--screen); outline-offset: 2px; }
.range input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--screen); outline-offset: 2px; }
.range__scale {
  display: flex;
  justify-content: space-between;
  margin: 2px 2px 0;
  font-size: 0.75rem;
  color: var(--screen-dim);
  font-variant-numeric: tabular-nums;
}

select {
  width: 100%;
  font: inherit;
  font-size: var(--step--1);
  color: var(--screen);
  background: var(--house);
  border: 1px solid rgba(217, 168, 91, 0.3);
  border-radius: 8px;
  padding: 9px 10px;
}

.notice { font-size: var(--step--1); color: var(--brass); margin: 0 0 18px; }

/* Stage: the machine and the light it throws */
.stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 36px; }

.ambient {
  position: absolute;
  top: -40px;
  left: 50%;
  width: min(760px, 100%);
  height: calc(var(--frame-h) + 160px);
  transform: translateX(-50%);
  background-position: center;
  background-size: cover;
  filter: blur(80px) saturate(1.4);
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
  z-index: 0;
}
.stage.is-lit .ambient { opacity: 0.42; }

.machine { position: relative; z-index: 1; display: flex; align-items: stretch; }

.cabinet {
  padding: 16px 16px 20px;
  background: linear-gradient(180deg, var(--velvet-hi), var(--velvet) 40%, #200d0b);
  border: 1px solid var(--brass-dim);
  border-radius: 22px 22px 14px 14px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(232, 194, 122, 0.25);
}

.bulbs { display: flex; justify-content: space-between; padding: 0 10px 14px; }
.bulb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4a3418;
  box-shadow: inset 0 -2px 2px rgba(0, 0, 0, 0.4);
}
.is-spinning .bulb { animation: chase 0.54s steps(1) infinite; }
.is-spinning .bulb:nth-child(3n + 2) { animation-delay: 0.18s; }
.is-spinning .bulb:nth-child(3n + 3) { animation-delay: 0.36s; }
.is-lit .bulb { background: #ffd894; box-shadow: 0 0 10px 2px rgba(255, 200, 110, 0.55); }
@keyframes chase {
  0% { background: #ffd894; box-shadow: 0 0 10px 2px rgba(255, 200, 110, 0.6); }
  33% { background: #4a3418; box-shadow: inset 0 -2px 2px rgba(0, 0, 0, 0.4); }
}

.window {
  width: var(--frame-w);
  height: var(--frame-h);
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--brass-dim), 0 0 0 4px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.9);
  position: relative;
}
.window::after {
  /* glass: a faint highlight and an inner shadow at the top edge */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 35%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 14%, transparent 86%, rgba(0, 0, 0, 0.45));
}
.is-lit .window::after { background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 35%); }

.reel { height: 100%; }
.strip { display: flex; flex-direction: column; will-change: transform; }
.frame { flex: none; width: var(--frame-w); height: var(--frame-h); position: relative; overflow: hidden; }
.frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame--blank,
.strip .frame:not(.frame--final):not(.frame--idle) { border-bottom: 6px solid var(--ink); }
.frame--blank { background: linear-gradient(180deg, var(--velvet-hi), var(--velvet)); }
.frame--blank:nth-child(odd) { background: linear-gradient(180deg, #4a2019, #2b1210); }

.frame--idle,
.no-poster {
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(239, 230, 216, 0.07), transparent 70%), var(--ink);
}
.frame--idle p,
.no-poster p {
  margin: 0;
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: var(--condensed);
  line-height: 1.15;
  color: var(--screen-dim);
  max-width: 12ch;
}

.strip--spin { animation: spin 0.42s linear infinite; filter: blur(3px); }
@keyframes spin {
  from { transform: translateY(0); }
  to { transform: translateY(calc(var(--frame-h) * -4)); }
}

.frame--final img { transition: filter 0.9s ease; filter: brightness(0.85); }
.is-lit .frame--final img { filter: brightness(1.04) contrast(1.03); }

/* Lever */
.lever {
  position: relative;
  width: 58px;
  margin-left: -2px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lever:disabled { cursor: progress; }
.lever:focus-visible { outline: none; }
.lever:focus-visible .lever__knob { outline: 2px solid var(--screen); outline-offset: 3px; }

.lever__slot {
  /* the brass housing bolted to the cabinet side */
  position: absolute;
  left: 0;
  top: calc(42% - 34px);
  width: 22px;
  height: 68px;
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #6d5130, var(--brass) 55%, #a87d3f);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.lever__arm {
  --rod: 112px;
  position: absolute;
  left: 26px;
  top: 42%;
  width: 30px;
  height: 0;
}
.lever__arm::before {
  /* pivot hub */
  content: "";
  position: absolute;
  left: 3px;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f1d29a, var(--brass) 45%, #7a5a2e);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.lever__rod {
  position: absolute;
  left: 11px;
  bottom: 0;
  width: 8px;
  height: var(--rod);
  border-radius: 4px;
  background: linear-gradient(90deg, #8a6935, #f0d39c 45%, #9b7840);
  transform-origin: 50% 100%;
}
.lever__knob {
  position: absolute;
  left: -1px;
  top: calc(var(--rod) * -1 - 16px);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ff8a75, var(--ticket) 42%, #6e1710 95%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.55);
  z-index: 3;
  transition: transform 0.2s ease;
}
.lever:hover:not(:disabled) .lever__knob { transform: translateY(-3px); }

/* The pull: the rod swings toward the viewer and down past the pivot, then springs back. */
.lever.is-pulled .lever__rod { animation: pull-rod 0.9s cubic-bezier(0.3, 0, 0.3, 1); }
.lever.is-pulled .lever__knob { animation: pull-knob 0.9s cubic-bezier(0.3, 0, 0.3, 1); }
@keyframes pull-rod {
  0% { transform: scaleY(1); }
  20% { transform: scaleY(0); }
  40%, 58% { transform: scaleY(-0.82); }
  74% { transform: scaleY(0); }
  88% { transform: scaleY(1.06); }
  100% { transform: scaleY(1); }
}
@keyframes pull-knob {
  0% { transform: translateY(0) scale(1); }
  20% { transform: translateY(var(--rod)) scale(1.28); }
  40%, 58% { transform: translateY(calc(var(--rod) * 1.82)) scale(1.06); }
  74% { transform: translateY(var(--rod)) scale(1.28); }
  88% { transform: translateY(-7px) scale(0.98); }
  100% { transform: translateY(0) scale(1); }
}

/* Details */
.details { position: relative; z-index: 1; width: 100%; max-width: 600px; transition: opacity 0.6s ease, transform 0.6s ease; }
.details.is-pending { opacity: 0; transform: translateY(8px); }
.details:empty { display: none; }

.card__title {
  margin: 0;
  font-size: var(--step-4);
  font-weight: 800;
  font-stretch: var(--condensed);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.card__original { margin: 6px 0 0; color: var(--screen-dim); font-style: italic; }

.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.facts li {
  padding: 3px 10px;
  border: 1px solid rgba(217, 168, 91, 0.35);
  border-radius: 4px;
  font-size: var(--step--1);
  font-stretch: 85%;
  color: var(--screen);
}

.score {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 10px 0 14px;
  padding: 6px 14px;
  border: 1px solid var(--brass);
  border-radius: 4px;
  background: rgba(217, 168, 91, 0.06);
  color: var(--screen-dim);
  font-size: var(--step--1);
}
.score__value { font-size: var(--step-1); font-weight: 600; color: var(--screen); font-variant-numeric: tabular-nums; }
.score__scale { color: var(--brass); }
.score__count { font-stretch: 85%; }

.matched { margin: 10px 0 0; color: var(--brass); font-size: var(--step--1); }
.credit { margin: 0; color: var(--screen-dim); }
.credit + .credit { margin-top: 2px; }

.card__tagline { margin: 18px 0 0; font-style: italic; color: var(--brass); font-size: var(--step-1); line-height: 1.4; }
.card__overview { margin: 10px 0 0; max-width: 62ch; line-height: 1.7; }
.note {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 2px solid var(--brass);
  font-size: var(--step--1);
  color: var(--brass);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid rgba(217, 168, 91, 0.45);
  border-radius: 8px;
  color: var(--screen);
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 600;
  transition: background-color 0.15s, border-color 0.15s;
}
.btn:hover { color: var(--screen); border-color: var(--brass); background: rgba(217, 168, 91, 0.1); }
.btn--ticket { background: var(--ticket); border-color: var(--ticket); }
.btn--ticket:hover { background: var(--ticket-deep); border-color: var(--ticket-deep); }

.message { margin: 0; color: var(--screen-dim); max-width: 46ch; text-align: center; margin-inline: auto; }

/* Full cast and crew */
.people { margin-top: 18px; }
.people summary {
  cursor: pointer;
  color: var(--screen-dim);
  font-size: var(--step--1);
  list-style: none;
}
.people summary::-webkit-details-marker { display: none; }
.people summary::before { content: "+"; display: inline-block; width: 1.1em; color: var(--brass); font-weight: 700; }
.people[open] summary::before { content: "\2212"; }
.people summary:hover { color: var(--screen); }
.people__group { margin-top: 14px; }
.people__group h3 { margin: 0 0 6px; font-size: var(--step--1); font-weight: 600; color: var(--brass); }
.people__list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 220px;
  column-gap: 24px;
  font-size: var(--step--1);
  line-height: 1.5;
}
.people__list li { break-inside: avoid; padding: 2px 0; }
.people__role { color: var(--screen-dim); }
.people__role::before { content: "as "; }
.people__group:not(:first-of-type) .people__role::before { content: ""; }

/* Where to watch */
.watch { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(217, 168, 91, 0.18); }
.watch__title { margin: 0 0 10px; font-size: var(--step-0); font-weight: 600; color: var(--brass); }
.watch__row + .watch__row { margin-top: 12px; }
.watch__label { margin: 0 0 6px; font-size: var(--step--1); color: var(--screen-dim); }
.providers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.provider {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border-radius: 8px;
  background: rgba(239, 230, 216, 0.06);
  font-size: var(--step--1);
}
.provider img { width: 28px; height: 28px; border-radius: 6px; display: block; }
.provider:not(:has(img)) { padding-left: 10px; }
.watch__none { margin: 0; color: var(--screen-dim); font-size: var(--step--1); }
.watch__credit { margin: 12px 0 0; font-size: 0.8rem; color: var(--screen-dim); }
.watch__credit a:not(:first-child) { margin-left: 0.4em; }

/* About */
.about { max-width: 640px; margin: 0 auto; padding: 40px clamp(20px, 5vw, 48px) 64px; }
.about h1 { font-size: var(--step-4); font-weight: 800; font-stretch: var(--condensed); line-height: 1.05; margin: 0 0 16px; }
.about h2 { font-size: var(--step-1); color: var(--brass); margin: 32px 0 8px; }
.about p { max-width: 62ch; }
.tiers { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 12px 0 16px; }
.tiers dt { font-weight: 700; }
.tiers dd { margin: 0; color: var(--screen-dim); }
.about__logo { display: block; margin: 8px 0 12px; }

/* Footer */
.credits {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--screen-dim);
}
.credits p { margin: 0; }

@media (min-width: 960px) {
  :root { --frame-w: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .strip--spin { animation: none; filter: blur(2px); }
  .is-spinning .bulb { animation: none; }
  .lever.is-pulled .lever__rod,
  .lever.is-pulled .lever__knob { animation: none; }
  .ambient,
  .details,
  .frame--final img { transition: none; }
}
