/* Ben's 70th · Premiere
   Dark and gold: the invitation opens like a film premiere. */

:root {
  --ink: #0c0a08;
  --ink-2: #13100c;
  --surface: #1b1612;
  --line: rgba(226, 193, 129, .26);
  --line-strong: rgba(226, 193, 129, .55);
  --ivory: #f6efe1;
  --muted: #d2c5ad;
  --gold: #dcb563;
  --gold-hi: #f6e2a6;
  --gold-lo: #9c7330;
  --amber: #eaac5c;
  --paper: #f4e9d0;
  --paper-2: #ead9b4;
  --paper-ink: #211a12;
  --paper-ink-2: #3b2f20;
  --paper-rule: rgba(110, 80, 35, .3);
  --oxblood: #7d2a1d;
  --gold-grad: linear-gradient(100deg, #a87c33 0%, #e8cd88 20%, #fbedc2 36%, #d4aa57 54%, #f1d995 72%, #b08437 88%, #a87c33 100%);
  --grade: sepia(.14) saturate(.9) contrast(1.06);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --bar: 7.5vh;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .94 0 0 0 0 .82 1.6 0 0 0 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* The shared engine's recorder, calendar sheet and upload list */
  --b70-bg: #14110d;
  --b70-surface: #1f1914;
  --b70-text: #f6efe1;
  --b70-muted: #d2c5ad;
  --b70-accent: #dcb563;
  --b70-accent-text: #1a130a;
  --b70-line: rgba(226, 193, 129, .32);
  --b70-error: #ff9a8a;
  --b70-ok: #a6dcaa;
  --b70-radius: 16px;
  --b70-font-body: 'Jost', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --b70-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  background: var(--ink);
  color: var(--ivory);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  overflow-x: clip;
}
html.pm-staged, html.pm-staged body, html.pm-locked, html.pm-locked body { overflow: hidden; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
}

/* Page-wide film grain, very light. It only flickers during the opening; after that it rests. */
body::after {
  content: '';
  position: fixed;
  inset: -60px;
  z-index: 80;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .05;
}
html.pm-staged body::after { animation: grain 1.1s steps(6) infinite; }

img { max-width: 100%; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
strong { font-weight: 600; color: var(--ivory); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; }

.nw { white-space: nowrap; }
.blk { display: block; }
/* Date lines break cleanly in two on small screens, never leaving a lonely dot */
@media (max-width: 520px) {
  .split .sep { display: none; }
  .split .t2 { display: block; }
}
@media (max-width: 374px) {
  .split-xs .sep { display: none; }
  .split-xs .t2 { display: block; }
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gold-text {
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Show the right words for before / on / after the day */
html[data-phase="party"] [data-show-phase]:not([data-show-phase~="party"]),
html[data-phase="after"] [data-show-phase]:not([data-show-phase~="after"]),
html:not([data-phase="party"]):not([data-phase="after"]) [data-show-phase]:not([data-show-phase~="before"]) {
  display: none !important;
}

/* ---------- Building blocks ---------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(20px, var(--safe-l));
  padding-right: max(20px, var(--safe-r));
}
.wrap.narrow { max-width: 680px; }

.sec { position: relative; padding: 72px 0; }

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker::before {
  content: '';
  width: 34px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 11.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--ivory);
}
.h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}

.h2, .hero-tag, .cr dd, .tc-title, .thanks-title, .pb-lead { text-wrap: balance; }
p, li { text-wrap: pretty; }
.lede {
  margin: 0 0 8px;
  max-width: 40em;
  font-size: 20px;
  line-height: 1.55;
  color: var(--muted);
}
.lede strong { color: var(--ivory); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-gold {
  color: #1a130a;
  background: var(--gold-grad);
  background-size: 160% 100%;
  background-position: 30% 0;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .5), 0 10px 30px rgba(214, 160, 70, .22);
}
.btn-gold:hover { background-position: 70% 0; box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .7), 0 12px 36px rgba(214, 160, 70, .32); }
.btn-ghost {
  color: var(--ivory);
  background: rgba(246, 239, 225, .04);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { background: rgba(220, 181, 99, .12); box-shadow: inset 0 0 0 1.5px var(--gold); }
.btn-quiet { color: var(--muted); background: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-small { min-height: 48px; padding: 10px 18px; font-size: 17px; }
.btn-wide { width: 100%; }
.btn-big { min-height: 62px; font-size: 20px; }
/* On the printed programme */
.btn-ink { color: #f8efdc; background: #2a2016; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), 0 6px 16px rgba(60, 40, 15, .18); }
.btn-ink:hover { background: #3a2c1d; }
.btn-ink-line { color: var(--paper-ink); background: rgba(255, 255, 255, .25); box-shadow: inset 0 0 0 1.5px rgba(42, 32, 22, .7); }
.btn-ink-line:hover { background: rgba(255, 255, 255, .55); }
.playbill :focus-visible { outline-color: #7d2a1d; }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  border: 0;
  color: var(--gold-hi);
  background: rgba(20, 16, 12, .8);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color .2s, box-shadow .2s, opacity .2s;
}
.round-btn svg { width: 26px; height: 26px; }
.round-btn:hover { background: rgba(220, 181, 99, .16); box-shadow: inset 0 0 0 1.5px var(--gold); }
.round-btn:disabled { opacity: .35; cursor: default; }

.song-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--muted);
}
.song-credit svg { width: 20px; height: 20px; flex: none; color: var(--gold); }

/* ---------- The stage: title card and film ---------- */

.stage {
  position: fixed;
  inset: 0;
  top: var(--b70-preview-bar, 0px);
  z-index: 100;
  background-color: #070605;
  color: var(--ivory);
  overflow: hidden;
  overflow: clip; /* never scrollable, not even by a script or a screen reader: the film's bars stay put */
  transition: background-color .9s ease;
}
.stage::after {
  /* vignette */
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(0, 0, 0, .7) 100%);
  transition: opacity 1s ease;
}
.stage-grain {
  position: absolute;
  inset: -80px;
  z-index: 7;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .13;
  animation: grain .9s steps(6) infinite;
  transition: opacity 1s ease;
}
.stage.is-leaving.quick { animation: stage-out .45s ease forwards; pointer-events: none; }
.stage.is-leaving { pointer-events: none; }
.stage.is-dipping::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 30;
  background: #000;
  animation: dip .45s ease forwards;
}

/* Title card */
.tc {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(214, 160, 70, .16), transparent 70%),
    radial-gradient(70% 50% at 50% 100%, rgba(120, 70, 25, .2), transparent 70%),
    #0b0907;
}
/* Ben by the fire, dimly lit by the projector, waiting to play */
.tc-photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(62% 48% at 54% 30%, #000 25%, rgba(0, 0, 0, .55) 55%, transparent 100%);
  mask-image: radial-gradient(62% 48% at 54% 30%, #000 25%, rgba(0, 0, 0, .55) 55%, transparent 100%);
}
.tc-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 14%;
  filter: brightness(.38) blur(1.2px) sepia(.25) saturate(.85);
  transform: scale(1.05);
}
.tc-beam {
  position: absolute;
  left: 50%;
  top: -12%;
  width: 150vmax;
  height: 95%;
  transform: translateX(-50%);
  pointer-events: none;
  background: conic-gradient(from 166deg at 50% 0%, transparent 0deg, rgba(255, 226, 160, .08) 10deg, rgba(255, 236, 190, .13) 14deg, rgba(255, 226, 160, .08) 18deg, transparent 28deg);
  filter: blur(2px);
  animation: beam 5s ease-in-out infinite;
}
.tc-dust { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tc-dust i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 236, 196, .7);
  box-shadow: 0 0 6px rgba(255, 220, 150, .8);
  opacity: 0;
  animation: dust 9s linear infinite;
}
.tc-inner {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 560px;
  padding: calc(40px + var(--safe-t)) max(22px, var(--safe-r)) calc(36px + var(--safe-b)) max(22px, var(--safe-l));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tc-head, .tc-act { display: flex; flex-direction: column; align-items: center; width: 100%; }
.tc-crest { width: min(260px, 70vw); height: auto; margin-bottom: 4px; overflow: visible; }
.tc-rays { transform-origin: 160px 124px; animation: rays 7s ease-in-out infinite; }
.tc-studio {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-hi);
  line-height: 1.5;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.tc-studio .tc-a { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 22px; color: var(--gold); margin-right: .1em; }
@media (max-width: 399px) { .tc-studio .tc-prod { display: block; } }
.tc-greet { margin-top: 30px; }
.tc-greeting { margin: 0; font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.3; color: var(--ivory); text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.tc-title {
  margin: 30px 0 34px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 9.6vw, 52px);
  line-height: 1.12;
  color: var(--ivory);
  text-shadow: 0 3px 18px rgba(0, 0, 0, .7);
}
.tc-title .gold-text { display: block; font-style: italic; font-size: 1.24em; padding: 0 .08em; text-shadow: none; filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .6)); }
.tc-date { margin: -16px 0 30px; font-size: 17px; font-weight: 500; letter-spacing: .06em; color: var(--ivory); line-height: 1.5; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.tc-date .tc-venue { display: block; color: var(--muted); font-weight: 400; }
.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(300px, 100%);
  min-height: 70px;
  padding: 14px 34px 14px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: .02em;
  color: #1a130a;
  background: var(--gold-grad);
  background-size: 180% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .6), 0 0 0 7px rgba(220, 181, 99, .12), 0 18px 50px rgba(214, 160, 70, .32);
  animation: play-glow 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.btn-play svg { width: 28px; height: 28px; flex: none; }
@media (max-width: 340px) { .btn-play { padding: 14px 22px 14px 18px; font-size: 21px; gap: 10px; } }
.btn-play:active { transform: scale(.97); }
.tc-note { margin: 18px 0 6px; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--muted); text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.tc-skip {
  min-height: 52px;
  margin-top: 4px;
  padding: 10px 12px;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--ivory);
  text-decoration: underline;
  text-decoration-color: rgba(220, 181, 99, .7);
  text-underline-offset: 5px;
}
.tc-skip:hover { color: var(--gold-hi); }

.stage.is-striking .tc { animation: strike .62s steps(1, end) forwards; }

/* The film */
.reel { position: absolute; inset: 0; z-index: 2; display: none; }
.stage[data-state="rolling"] .reel,
.stage[data-state="ending"] .reel { display: block; }
.stage[data-state="rolling"] .tc,
.stage[data-state="ending"] .tc { display: none; }

.reel-wash {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  opacity: .45;
  filter: blur(22px) saturate(1.1);
  display: none;
}
/* Every frame fills the picture area between the black bars */
.reel-frame {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: calc(var(--bar) + var(--safe-t));
  bottom: calc(var(--bar) + var(--safe-b));
  overflow: hidden;
}
.reel-layer { position: absolute; inset: 0; opacity: 0; }
.reel-pic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.reel-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--grade);
  will-change: transform;
}
.reel-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(130% 95% at 50% 45%, transparent 60%, rgba(0, 0, 0, .45) 100%),
    linear-gradient(170deg, rgba(217, 169, 90, .18), rgba(58, 36, 16, .18));
  mix-blend-mode: normal;
}
.reel-fade {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: calc(var(--bar) + var(--safe-b));
  height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(7, 6, 5, .5) 45%, rgba(7, 6, 5, .86));
  opacity: 0;
  transition: opacity .8s ease;
}
.reel.is-playing .reel-fade { opacity: 1; }
.reel-bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 9;
  height: calc(var(--bar) + 1px);
  background: #000;
  transform: scaleY(0);
  transition: transform 1.1s cubic-bezier(.6, 0, .2, 1);
}
.reel-bar.top { top: 0; transform-origin: top; height: calc(var(--bar) + var(--safe-t)); }
.reel-bar.bot { bottom: 0; transform-origin: bottom; height: calc(var(--bar) + var(--safe-b)); }
.stage[data-state="rolling"] .reel-bar,
.stage[data-state="ending"] .reel-bar { transform: scaleY(1); }
.stage.is-leaving[data-state="ending"] .reel-bar { transform: scaleY(0); transition: transform 1.4s cubic-bezier(.6, 0, .2, 1) .35s; }
.reel-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-grad);
  opacity: .9;
}

.reel-studio {
  position: absolute;
  z-index: 8;
  left: max(20px, var(--safe-l));
  right: max(16px, var(--safe-r));
  top: calc(var(--bar) + var(--safe-t) + 16px);
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(246, 226, 166, .9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .8s ease;
}
.reel.is-studio .reel-studio { opacity: 1; }

.reel-caption {
  position: absolute;
  z-index: 8;
  left: max(20px, var(--safe-l));
  right: max(20px, var(--safe-r));
  bottom: calc(var(--bar) + var(--safe-b) + 18px);
  opacity: 0;
  transition: opacity .7s ease;
}
.reel.is-playing .reel-caption { opacity: 1; }
.reel-chapter {
  margin: 0 0 4px;
  min-height: 1.4em;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ivory);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
  transition: opacity .4s ease, transform .4s ease;
}
.reel-chapter.is-swapping { opacity: 0; transform: translateY(6px); }
.reel-year {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(76px, 24vw, 150px);
  line-height: .9;
  letter-spacing: .01em;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .75));
}
.ry-n, .ry-c {
  color: var(--gold);
  background: var(--gold-grad);
  background-size: 140% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ry-c { display: none; font-style: italic; font-weight: 500; font-size: .36em; margin-right: .12em; }
.reel-year.is-approx .ry-c { display: inline; }

/* The last frame of the film is the poster underneath: the stage clears and the page shows through */
.stage[data-state="ending"] { background-color: transparent; }
.stage[data-state="ending"]::after { opacity: .55; }
.stage[data-state="ending"] .stage-grain { opacity: .07; }
.stage[data-state="ending"] .reel-frame,
.stage[data-state="ending"] .reel-wash,
.stage[data-state="ending"] .reel-fade,
.stage[data-state="ending"] .reel-leak,
.stage[data-state="ending"] .reel-flicker,
.stage[data-state="ending"] .reel-scratch { opacity: 0; transition: opacity .95s ease; }
.stage[data-state="ending"] .reel-caption,
.stage[data-state="ending"] .reel-studio { opacity: 0; transition: opacity .4s ease; }
.stage.is-leaving[data-state="ending"]::after,
.stage.is-leaving[data-state="ending"] .stage-grain { opacity: 0; }

.reel-intro {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .8s ease;
}
.reel.is-intro .reel-intro { opacity: 1; }
.reel.is-intro .reel-caption { opacity: 0; }
.reel-intro-k { margin: 0 0 6px; font-size: 16px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); padding-left: .3em; }
.reel-intro-t { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(34px, 10vw, 60px); line-height: 1.15; color: var(--ivory); }

.leader {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(72vw, 340px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: none;
  color: var(--ivory);
}
.reel.is-leader .leader { display: grid; place-items: center; }
.leader svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.leader-ring { fill: none; stroke: rgba(246, 226, 166, .75); stroke-width: 2; }
.leader-ring.thin { stroke-width: 1; stroke: rgba(246, 226, 166, .45); }
.leader-cross { stroke: rgba(246, 226, 166, .4); stroke-width: 1; }
.leader-sweep {
  fill: none;
  stroke: rgba(220, 181, 99, .26);
  stroke-width: 80;
  stroke-dasharray: 251.33;
  stroke-dashoffset: 251.33;
  transform: rotate(-90deg);
  transform-origin: 100px 100px;
}
.leader.is-sweeping .leader-sweep { animation: sweep .63s linear forwards; }
.leader-num {
  position: relative;
  font-family: var(--serif);
  font-weight: 700;
  font-size: min(36vw, 170px);
  line-height: 1;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
  color: var(--gold-hi);
  text-shadow: 0 0 30px rgba(255, 210, 130, .35);
}

.reel-leak {
  position: absolute;
  z-index: 3;
  inset: -25%;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background:
    radial-gradient(38% 30% at 18% 32%, rgba(255, 140, 50, .7), transparent 70%),
    radial-gradient(30% 26% at 82% 68%, rgba(255, 205, 120, .5), transparent 72%),
    radial-gradient(22% 40% at 60% 20%, rgba(255, 110, 60, .3), transparent 70%);
}
.reel-leak.is-on { animation: leak 1.8s ease-in-out forwards; }
.reel-flicker {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: #000;
  opacity: 0;
  animation: flicker 2.6s steps(1, end) infinite;
}
.reel-scratch {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 1px;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(255, 245, 225, .26) 20%, rgba(255, 245, 225, .1) 70%, transparent);
  animation: scratch 3.4s steps(1, end) infinite;
}

.reel-skip {
  position: absolute;
  z-index: 10;
  top: calc(var(--safe-t) + max(6px, (var(--bar) - 50px) / 2));
  right: max(14px, var(--safe-r));
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 18px 10px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  color: var(--ivory);
  background: rgba(14, 11, 8, .78);
  box-shadow: inset 0 0 0 1.5px rgba(246, 226, 166, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.reel-skip svg { width: 18px; height: 18px; color: var(--gold-hi); }
.stage[data-state="rolling"] .reel-skip { display: inline-flex; }

/* ---------- Hero: the poster ---------- */

.hero {
  --photo: 62vh;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
@supports (height: 1svh) { .hero { --photo: 62svh; } }
.hero-pic {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--photo);
  z-index: -2;
  overflow: hidden;
}
.hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 30%;
  transform-origin: 64% 20%;
  filter: var(--grade);
}
html.pm-reveal .hero-img { animation: hero-drift 24s ease-out both; }
.hero-pic::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, .45) 0%, rgba(12, 10, 8, 0) 13%, rgba(12, 10, 8, 0) 46%, rgba(12, 10, 8, .3) 60%, rgba(12, 10, 8, .5) 78%, rgba(12, 10, 8, .72) 92%, var(--ink) 100%),
    radial-gradient(120% 80% at 62% 22%, transparent 50%, rgba(0, 0, 0, .4) 100%),
    linear-gradient(170deg, rgba(217, 169, 90, .14), rgba(58, 36, 16, .14));
}
.hero-bars span {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: calc(var(--bar) + 1px);
  background: #000;
  transform: scaleY(1);
  transition: transform 1.4s cubic-bezier(.6, 0, .2, 1) .35s;
  pointer-events: none;
}
.hero-bars span:first-child { top: 0; transform-origin: top; height: calc(var(--bar) + var(--safe-t)); }
.hero-bars span:last-child { top: calc(100vh - var(--bar) - var(--safe-b) - var(--b70-preview-bar, 0px)); transform-origin: bottom; height: calc(var(--bar) + var(--safe-b)); }
@supports (height: 1svh) { .hero-bars span:last-child { top: calc(100svh - var(--bar) - var(--safe-b) - var(--b70-preview-bar, 0px)); } }
html.pm-opened .hero-bars span { transform: scaleY(0); }

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--photo) - 240px) max(22px, var(--safe-r)) 30px max(22px, var(--safe-l));
}
.hero-kicker { margin-bottom: 10px; letter-spacing: .16em; text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.hero-kicker::before { display: none; }
.hero-inner:has(.hero-greet:not([hidden])) .hero-kicker { display: none; }
.hero-greet { margin: 0 0 6px; }
.hero-greeting {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ivory);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .8);
}
.hero-title { margin: 0; outline: none; }
.hero-logo {
  display: flex;
  align-items: center;
  gap: .16em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(76px, 25vw, 176px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: .01em;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .7));
}
.hl-word {
  color: var(--gold);
  background: var(--gold-grad);
  background-size: 220% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.pm-reveal .hl-word { animation: shimmer 3.2s ease .5s both; }
html.pm-reveal .hero-logo { animation: title-in 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-tag {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 6vw, 30px);
  line-height: 1.25;
  color: var(--ivory);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9);
}
.hero-facts { margin: 16px 0 0; display: grid; gap: 8px; }
.hero-facts div { display: grid; gap: 0; }
.hero-facts dt {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}
.hero-facts dd { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 500; color: var(--ivory); text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
.hero-facts .split .sep { display: none; }
.hero-facts .split .t2 { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 18px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-song { margin-top: 4px; }
.billing { display: none; }

/* While the hero is the film's last frame, only the title and the date show; the rest arrives after */
.hero-inner > *:not(.hero-title):not(.hero-facts), .billing { transition: opacity .9s ease; }
.hero-inner > .hero-greet, .hero-inner > .hero-kicker { transition-delay: .15s; }
.hero-inner > .hero-tag { transition-delay: .35s; }
.hero-inner > .hero-actions { transition-delay: .7s; }
.hero-inner > .hero-song, .billing { transition-delay: 1s; }
html.pm-endcard .hero-inner > *:not(.hero-title):not(.hero-facts),
html.pm-endcard .billing { opacity: 0; transition: none; }
/* Under the letterbox the picture sits a little lower, so the bars don't crop his head; it settles as they open */
.hero-pic { transition: transform 1.4s cubic-bezier(.6, 0, .2, 1) .35s; }
html.pm-endcard .hero-pic { transform: translateY(calc(var(--bar) * .9)); transition: none; }

/* ---------- Marquee countdown ---------- */

.marquee-sec {
  padding: 56px max(16px, var(--safe-r)) 24px max(16px, var(--safe-l));
  background: radial-gradient(60% 55% at 50% 50%, rgba(220, 160, 70, .13), transparent 72%);
}
.marquee {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 32px;
  border-radius: 20px;
  background: linear-gradient(180deg, #2b2119, #1a1410 70%, #15100c);
  box-shadow:
    inset 0 0 0 1px rgba(246, 226, 166, .4),
    0 0 0 7px #0f0b08,
    0 0 0 8px rgba(226, 193, 129, .4),
    0 30px 80px rgba(0, 0, 0, .65),
    0 0 140px rgba(230, 170, 70, .14);
}
.bulbs { position: absolute; pointer-events: none; }
.b-top, .b-bot { left: 22px; right: 22px; height: 26px; }
.b-top { top: 4px; }
.b-bot { bottom: 4px; }
.b-left, .b-right { top: 22px; bottom: 22px; width: 26px; }
.b-left { left: 4px; }
.b-right { right: 4px; }
.b-top, .b-bot {
  background:
    radial-gradient(circle at 11px 13px, #fffdf2 0 2.6px, #ffe6a6 4px, rgba(255, 200, 100, .5) 7px, transparent 12px) 0 0 / 66px 26px repeat-x,
    radial-gradient(circle at 33px 13px, #fffdf2 0 2.6px, #ffe6a6 4px, rgba(255, 200, 100, .5) 7px, transparent 12px) 0 0 / 66px 26px repeat-x,
    radial-gradient(circle at 11px 13px, #8a6a33 0 3.6px, transparent 4.6px) 0 0 / 22px 26px repeat-x;
}
.b-left, .b-right {
  background:
    radial-gradient(circle at 13px 11px, #fffdf2 0 2.6px, #ffe6a6 4px, rgba(255, 200, 100, .5) 7px, transparent 12px) 0 0 / 26px 66px repeat-y,
    radial-gradient(circle at 13px 33px, #fffdf2 0 2.6px, #ffe6a6 4px, rgba(255, 200, 100, .5) 7px, transparent 12px) 0 0 / 26px 66px repeat-y,
    radial-gradient(circle at 13px 11px, #8a6a33 0 3.6px, transparent 4.6px) 0 0 / 26px 22px repeat-y;
}
.b-top { animation: chase-r .9s steps(3) infinite; }
.b-bot { animation: chase-l .9s steps(3) infinite; }
.b-right { animation: chase-d .9s steps(3) infinite; }
.b-left { animation: chase-u .9s steps(3) infinite; }

.mq-inner { position: relative; text-align: center; }
.mq-head {
  margin: 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(18px, 5.4vw, 26px);
  line-height: 1.3;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 0 18px rgba(255, 200, 110, .55), 0 0 2px rgba(255, 230, 170, .8);
}
.mq-head { text-wrap: balance; }
.mq-head [data-show-phase="party"], .mq-head [data-show-phase="after"] { letter-spacing: .14em; }
@media (max-width: 380px) { .mq-head { letter-spacing: .14em; } }
.mq-board {
  position: relative;
  margin: 20px auto 18px;
  padding: 16px 8px 14px;
  border-radius: 10px;
  color: #19130d;
  background:
    repeating-linear-gradient(180deg, transparent 0 23px, rgba(80, 60, 30, .09) 23px 24px),
    linear-gradient(180deg, #fffaee, #f3e6c8);
  box-shadow:
    inset 0 0 0 1px rgba(60, 40, 15, .25),
    inset 0 3px 14px rgba(255, 255, 255, .9),
    inset 0 -8px 20px rgba(160, 120, 60, .18),
    0 0 46px rgba(255, 216, 150, .28);
}
.mq-unit { display: flex; flex-direction: column; align-items: center; }
.mq-num {
  display: flex;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
  letter-spacing: .02em;
}
.mq-num .dg { display: inline-block; min-width: .62em; text-align: center; }
.mq-num .dg.is-new { animation: digit-in .42s cubic-bezier(.2, .9, .3, 1.2); }
.mq-days .mq-num { font-size: clamp(76px, 25vw, 120px); }
.mq-lab {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #4f3f28;
}
.mq-days .mq-lab { margin-top: 2px; letter-spacing: .24em; padding-left: .24em; }
.mq-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(80, 60, 30, .2);
}
.mq-row .mq-unit + .mq-unit { border-left: 1px solid rgba(80, 60, 30, .2); }
@media (max-width: 380px) { .mq-row .mq-lab { letter-spacing: .04em; } }
@media (max-width: 359px) { .mq-row .mq-lab { font-size: 14px; letter-spacing: .02em; } }
.mq-row .mq-num { font-size: clamp(38px, 11vw, 54px); }
.mq-message p {
  margin: 6px 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.2;
}
.mq-sub { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ivory); }

/* ---------- The story so far: film strip ---------- */

.story { padding-bottom: 40px; overflow: hidden; }
.strip {
  --fw: min(78vw, 340px);
  --h: calc(var(--fw) * .86);
  --holes: 26px;
  --edge: 32px;
  --gapb: 8px;
  --film-h: calc(var(--holes) * 2 + var(--edge) + var(--h) + var(--gapb));
  position: relative;
  margin-top: 30px;
}
.strip::before, .strip::after {
  content: '';
  position: absolute;
  top: 0;
  height: var(--film-h);
  width: 18px;
  z-index: 2;
  pointer-events: none;
}
.strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.strip::after { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.strip-track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 calc(50% - var(--fw) / 2 - 5px);
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect width='26' height='26' fill='%231c1611'/%3E%3Crect x='7' y='7' width='12' height='12' rx='2.6' fill='%230c0a08'/%3E%3C/svg%3E") 0 0 / 26px var(--holes) repeat-x local,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect width='26' height='26' fill='%231c1611'/%3E%3Crect x='7' y='7' width='12' height='12' rx='2.6' fill='%230c0a08'/%3E%3C/svg%3E") 0 calc(var(--holes) + var(--edge) + var(--h) + var(--gapb)) / 26px var(--holes) repeat-x local,
    linear-gradient(#1c1611, #1c1611) 0 0 / 100% var(--film-h) no-repeat local;
}
.strip-track::-webkit-scrollbar { display: none; }
.strip-loading {
  flex: 1 0 100%;
  height: var(--film-h);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-style: italic;
}
.frame {
  position: relative;
  flex: none;
  width: var(--fw);
  margin: 0 5px;
  padding-top: calc(var(--holes) + var(--edge));
  scroll-snap-align: center;
}
/* The chapter, printed in the film's edge like a real edge code */
.frame-edge {
  position: absolute;
  top: var(--holes);
  left: 2px;
  right: 2px;
  height: var(--edge);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 16px;
  line-height: 1;
  color: var(--amber);
}
.frame-edge b { font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.frame-edge span { color: #f2c98a; overflow: hidden; text-overflow: ellipsis; }
.frame-win {
  position: relative;
  display: block;
  width: 100%;
  height: var(--h);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #070605;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.frame-win img { display: block; opacity: 0; transition: opacity .6s ease; }
.frame-win img.is-loaded { opacity: 1; }
.fw-bg {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  max-width: none;
  object-fit: cover;
  filter: blur(14px) brightness(.5) saturate(.85);
}
.fw-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: var(--grade);
}
.frame-win::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(170deg, rgba(217, 169, 90, .16), rgba(58, 36, 16, .16));
  box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .06), inset 0 0 46px rgba(0, 0, 0, .45);
}
.frame-win:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: -3px; }
.frame-zoom {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(10, 8, 6, .66);
  box-shadow: inset 0 0 0 1px rgba(246, 226, 166, .4);
}
.frame-zoom svg { width: 18px; height: 18px; }
.frame-txt { padding: calc(var(--gapb) + var(--holes) + 16px) 4px 0; }
.frame-year {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 25px;
  line-height: 1.2;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1;
  color: var(--gold);
}
.frame-cap { margin: 4px 0 0; font-size: 18px; line-height: 1.45; color: var(--ivory); }
/* Where one reel is spliced to the next */
.splice {
  position: relative;
  flex: none;
  width: 30px;
  height: var(--film-h);
  margin: 0 3px;
  scroll-snap-align: none;
  background:
    linear-gradient(90deg, transparent 13px, rgba(234, 172, 92, .6) 13px 14px, transparent 14px 16px, rgba(234, 172, 92, .6) 16px 17px, transparent 17px) 0 var(--holes) / 100% calc(var(--film-h) - var(--holes) * 2) no-repeat,
    linear-gradient(#2b2219, #2b2219) 0 var(--holes) / 100% calc(var(--film-h) - var(--holes) * 2) no-repeat;
}
.splice span { display: none; }

.strip-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; max-width: 560px; }
.strip-hint { margin: 0; text-align: center; font-size: 16px; line-height: 1.35; color: var(--muted); display: grid; }
.strip-count { color: var(--ivory); font-weight: 500; font-size: 18px; font-variant-numeric: tabular-nums; }

/* ---------- Lightbox ---------- */

.lb {
  position: fixed;
  inset: 0;
  top: var(--b70-preview-bar, 0px);
  z-index: 300;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #050403;
  opacity: 0;
  transition: opacity .3s ease;
  touch-action: pan-y pinch-zoom;
}
.lb.is-open { opacity: 1; }
.lb-stage { position: relative; min-height: 0; }
.lb-img {
  position: absolute;
  top: calc(var(--safe-t) + 78px);
  left: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 86px - var(--safe-t));
  object-fit: contain;
  transition: opacity .25s ease, transform .25s ease;
}
.lb-img.is-swapping { opacity: 0; }
.lb-img { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; } /* a mouse drag is a swipe, not a picture drag */
.lb-info {
  padding: 10px max(84px, var(--safe-r)) calc(var(--safe-b) + 22px) max(84px, var(--safe-l));
  text-align: center;
  min-height: 140px;
}
.lb-year { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--gold); font-variant-numeric: lining-nums; }
.lb-caption { margin: 2px 0 6px; font-size: 19px; line-height: 1.45; color: var(--ivory); }
.lb-count { margin: 0; font-size: 16px; color: var(--muted); }
.lb-close {
  position: absolute;
  top: calc(var(--safe-t) + 14px);
  right: max(14px, var(--safe-r));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 10px 20px 10px 16px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 18px;
  color: var(--ivory);
  background: rgba(30, 24, 18, .9);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { position: absolute; bottom: calc(var(--safe-b) + 46px); }
.lb-prev { left: max(14px, var(--safe-l)); }
.lb-next { right: max(14px, var(--safe-r)); }

/* ---------- Your ticket ---------- */

.ticket-sec { padding-bottom: 56px; }
.ticket {
  position: relative;
  max-width: 440px;
  margin: 30px auto 0;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 60px rgba(220, 170, 80, .12));
  transform: rotate(-1.2deg);
}
.tk-main, .tk-stub {
  position: relative;
  color: var(--paper-ink);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.tk-main {
  padding: 30px 26px 26px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(180deg, #f8efd9, var(--paper));
  -webkit-mask-image: radial-gradient(circle at 0 100%, transparent 15px, #000 15.5px), radial-gradient(circle at 100% 100%, transparent 15px, #000 15.5px);
  -webkit-mask-size: 51% 100%, 51% 100%;
  -webkit-mask-position: left top, right top;
  mask-image: radial-gradient(circle at 0 100%, transparent 15px, #000 15.5px), radial-gradient(circle at 100% 100%, transparent 15px, #000 15.5px);
  mask-size: 51% 100%, 51% 100%;
  mask-position: left top, right top;
}
.tk-main::before {
  content: '';
  position: absolute;
  inset: 10px 10px 0;
  border: 1.5px solid rgba(156, 115, 48, .75);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}
.tk-foil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 248, 225, .75) 48%, rgba(255, 230, 170, .35) 52%, transparent 62%);
  transform: translateX(-120%);
}
.ticket.is-in .tk-foil, .thanks.is-fresh .tk-foil { animation: foil 2.2s ease .5s 1 both; }
.tk-studio { margin: 0; text-align: center; font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b5432; }
.tk-title, .pb-mast-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2em;
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.tk-title {
  margin: 8px 0 2px;
  font-size: clamp(52px, 16vw, 70px);
  color: #4a3312;
  background: linear-gradient(100deg, #5e4115 0%, #9c7330 30%, #6e4c1c 52%, #a77d36 74%, #5e4115 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tk-title i, .hl-dot, .pb-mast-title i {
  display: block;
  width: .14em;
  height: .14em;
  flex: none;
  transform: rotate(45deg);
  background: var(--gold-grad);
}
.tk-title i, .pb-mast-title i { background: linear-gradient(135deg, #b8893a, #6e4c1c); }
.tk-sub { margin: 0 0 18px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--paper-ink-2); }
.tk-facts { margin: 0; display: grid; gap: 0; border-top: 1.5px solid rgba(110, 80, 35, .3); }
.tk-facts div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid rgba(110, 80, 35, .2); }
.tk-facts div:last-child { border-bottom: 0; }
.tk-facts dt { font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #634c2b; }
.tk-facts dd { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--paper-ink); }
.tk-facts dd span { display: block; font-size: 17px; font-weight: 400; color: #4a3d2b; margin-top: 2px; }
.tk-stub {
  padding: 22px 26px 22px;
  border-radius: 0 0 14px 14px;
  text-align: center;
  background:
    repeating-linear-gradient(90deg, rgba(33, 26, 18, .38) 0 7px, transparent 7px 13px) 0 0 / 100% 2px no-repeat,
    linear-gradient(180deg, var(--paper-2), #e2cfa6);
  -webkit-mask-image: radial-gradient(circle at 0 0, transparent 15px, #000 15.5px), radial-gradient(circle at 100% 0, transparent 15px, #000 15.5px);
  -webkit-mask-size: 51% 100%, 51% 100%;
  -webkit-mask-position: left top, right top;
  mask-image: radial-gradient(circle at 0 0, transparent 15px, #000 15.5px), radial-gradient(circle at 100% 0, transparent 15px, #000 15.5px);
  mask-size: 51% 100%, 51% 100%;
  mask-position: left top, right top;
}
.tk-admit {
  margin: 0;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--oxblood);
  padding-left: .22em;
}
.tk-stub-line { margin: 8px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-ink); }
.tk-stub-venue { margin: 2px 0 0; font-size: 16px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #3d3020; }
.tk-no { position: absolute; right: 18px; bottom: 12px; margin: 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: #6b5432; }

.tk-actions { max-width: 560px; margin: 42px auto 0; display: grid; gap: 14px; }
.dir-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 339px) { .dir-row { grid-template-columns: 1fr; } }
.note-card {
  margin-top: 6px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(220, 181, 99, .08);
  box-shadow: inset 0 0 0 1px var(--line);
}
.note-card p { margin: 0; }
.note-card .note-title { font-weight: 600; color: var(--gold-hi); margin-bottom: 4px; }
.note-small { margin-top: 8px !important; font-size: 17px; color: var(--muted); font-variant-numeric: tabular-nums; }
.note-small a { display: inline-block; padding: 12px 4px; margin: -12px -4px; color: var(--gold-hi); }

/* ---------- RSVP: the box office ---------- */

.rsvp { background: radial-gradient(70% 50% at 50% 30%, rgba(220, 160, 70, .1), transparent 72%); }
.box-office {
  position: relative;
  margin-top: 28px;
  padding: 30px 22px 28px;
  border-radius: 26px;
  background: linear-gradient(180deg, #1e1813, #14100c);
  box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 0 0 6px rgba(12, 10, 8, .9), 0 0 0 7px var(--line), 0 30px 70px rgba(0, 0, 0, .5);
  transition: background-color .4s, box-shadow .4s, padding .4s;
}
.box-office.is-thanks { padding: 8px 0 0; background: none; box-shadow: none; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend, .label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ivory);
}
.label-hint { display: inline; margin-left: .35em; font-size: 17px; font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"] {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(226, 193, 129, .45);
  background: #0e0c09;
  color: var(--ivory);
  font-size: 19px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus { border-color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(220, 181, 99, .25); }
.hint { margin: 8px 0 0; font-size: 17px; line-height: 1.45; color: var(--muted); }
.choices { display: grid; gap: 10px; }
.choices legend { margin-bottom: 10px; }
.choices.compact { grid-template-columns: repeat(3, 1fr); }
.choices.compact legend { grid-column: 1 / -1; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice-box {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #0e0c09;
  box-shadow: inset 0 0 0 1.5px rgba(226, 193, 129, .38);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  transition: box-shadow .2s, background-color .2s;
}
.compact .choice-box { justify-content: center; gap: 10px; padding: 10px 8px; }
.choice-mark {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(226, 193, 129, .7);
}
.choice input:checked + .choice-box {
  background: rgba(220, 181, 99, .14);
  box-shadow: inset 0 0 0 2px var(--gold-hi), 0 0 24px rgba(220, 181, 99, .15);
}
.choice input:checked + .choice-box .choice-mark { box-shadow: inset 0 0 0 2px var(--gold-hi); }
.choice input:checked + .choice-box .choice-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--gold-hi);
}
.choice input:focus-visible + .choice-box { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.stepper { display: flex; align-items: center; gap: 18px; }
.step {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-hi);
  background: #0e0c09;
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.step:disabled { opacity: .35; cursor: default; }
.step-count {
  min-width: 2ch;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--ivory);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}
/* One error message for the whole form, shown right under the question it is about (app.js sets
   data-pm-err), so on a phone the message and the field the cursor jumped to are on screen together. */
.rsvp-form { display: flex; flex-direction: column; }
.rsvp-form > .f-name { order: 10; }
.rsvp-form > .f-attending { order: 20; }
.rsvp-form > .f-guests { order: 30; }
.rsvp-form > .f-camping { order: 40; }
.rsvp-form > .f-email { order: 50; }
.rsvp-form > .form-error { order: 55; }
.rsvp-form > .f-submit { order: 60; }
.rsvp-form[data-pm-err="name"] > .form-error { order: 11; margin-top: -10px; margin-bottom: 24px; }
.rsvp-form[data-pm-err="attending"] > .form-error { order: 21; margin-top: -8px; margin-bottom: 24px; }
.form-error {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 138, 122, .1);
  box-shadow: inset 4px 0 0 #ff9a8a;
  color: #ffd6cf;
  font-size: 18px;
  font-weight: 500;
}

/* The thanks: your own ticket, the stub torn off and stamped */
.thanks { text-align: center; outline: none; padding: 6px 0; overflow: hidden; }
.tk-thanks { display: block; max-width: 400px; margin: 4px auto 30px; padding: 0 6px 24px; transform: rotate(-1.4deg); }
.tk-thanks .tk-main { padding: 26px 22px 22px; }
.tk-thanks .tk-title { font-size: clamp(46px, 14vw, 60px); }
.tk-for { margin: 8px 0 4px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; color: var(--paper-ink-2); }
.tk-name { font-style: normal; font-weight: 700; color: var(--paper-ink); }
.tk-when { margin: 10px 0 0; padding-top: 12px; border-top: 1.5px solid rgba(110, 80, 35, .3); font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--paper-ink); }
.tk-thanks .tk-stub { padding: 20px 22px 20px 26px; text-align: left; transform-origin: 8% 0; }
.tk-thanks .tk-admit { font-size: 25px; letter-spacing: .16em; padding-left: 0; }
.tk-thanks .tk-stub-line { flex-direction: column; align-items: flex-start; gap: 0; margin-top: 6px; }
.admit-stamp {
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -18px;
  padding: 4px 10px;
  border: 2.5px solid #a8321f;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a8321f;
  background: rgba(255, 245, 230, .35);
  transform: rotate(-9deg);
  mix-blend-mode: multiply;
}
.thanks:not(.is-no) .tk-stub { transform: translate(8px, 18px) rotate(3.5deg); }
.thanks.is-fresh:not(.is-no) .tk-stub { animation: tear .75s cubic-bezier(.3, .7, .3, 1) .35s both; }
.thanks.is-fresh:not(.is-no) .admit-stamp { animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) 1.05s both; }
.thanks.is-no .tk-thanks { filter: grayscale(1) drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); opacity: .55; }
.thanks.is-no .admit-stamp { display: none; }
/* A "no" keeps the ticket, unused: no seat reserved, no "Admit", just a fond word */
.tk-for-no, .thanks.is-no .tk-for-yes, .thanks.is-no .tk-admit { display: none; }
.thanks.is-no .tk-for-no { display: inline; }
.thanks-title { margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.2; color: var(--gold-hi); }
.thanks-text { margin: 0 auto 22px; max-width: 30em; font-size: 19px; color: var(--ivory); }
/* A long email address or a long name has no natural break: let it wrap rather than be cut off */
.thanks-title, .thanks-text, .tk-for, .tc-greeting, .hero-greeting, .form-error { overflow-wrap: break-word; overflow-wrap: anywhere; }
.thanks-btns { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }

/* ---------- The printed playbill: everything you need to know ---------- */

.programme { background: radial-gradient(70% 40% at 50% 40%, rgba(220, 160, 70, .08), transparent 72%); }
.playbill {
  position: relative;
  margin-top: 30px;
  padding: 26px 20px 18px;
  border-radius: 4px;
  color: var(--paper-ink);
  background:
    radial-gradient(120% 50% at 15% 0%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(180deg, #f9f1df, #f1e4c6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .25);
}
.playbill::before {
  content: '';
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1.5px solid rgba(110, 80, 35, .55);
  outline: 1px solid rgba(110, 80, 35, .3);
  outline-offset: -5px;
}
.pb-mast {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--paper-ink);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #5d4626;
}
.pb-mast > span:not(.pb-mast-title) { flex: 1; }
.pb-mast > span:last-child { text-align: right; }
.pb-mast-title { font-size: 30px; color: var(--paper-ink); letter-spacing: 0; }
@media (max-width: 459px) { .pb-mast > span:not(.pb-mast-title) { display: none; } .pb-mast { justify-content: center; } }
.pb-acts { list-style: none; margin: 0; padding: 0; counter-reset: act; }
.pb-act {
  counter-increment: act;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: 22px 0 22px;
  border-bottom: 1px solid var(--paper-rule);
}
.pb-act:last-child { border-bottom: 0; }
.pb-no { grid-column: 1; grid-row: 1; align-self: center; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 28px; line-height: 1; color: #8a6528; }
/* A gold diamond, not a number: these are things to know, not a running order for the day */
.pb-no::before { content: ''; display: block; width: 11px; height: 11px; margin: 0 4px; transform: rotate(45deg); background: #8a6528; box-shadow: 0 0 0 3px #f6ecd4, 0 0 0 4px rgba(138, 101, 40, .55); }
.pb-body { display: contents; }
.pb-body > * { grid-column: 1 / -1; }
.pb-body > .pb-h { grid-column: 2; grid-row: 1; align-self: center; }
.pb-h { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #5d4626; }
.pb-lead { margin: 10px 0 6px; font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.2; color: var(--paper-ink); }
.pb-body p { margin: 0 0 8px; font-size: 18px; line-height: 1.55; color: #2b2217; }
.pb-body strong { color: var(--paper-ink); }
.pb-body > .btn { justify-self: start; margin-top: 8px; }
.pb-intro { margin-top: 10px !important; }
.houses { list-style: none; margin: 6px 0 0; padding: 0; }
.house { padding: 16px 0 18px; border-top: 1px dashed rgba(110, 80, 35, .45); }
.house h4 { margin: 0 0 2px; font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--paper-ink); }
.house .house-meta { margin: 0; font-size: 17px; line-height: 1.45; color: #45382a; }
.house-tel { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-weight: 600; color: var(--paper-ink); font-variant-numeric: tabular-nums; }
.house-tel svg { width: 15px; height: 15px; color: #8a6528; }
.house-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.house-btns .btn { padding-left: 10px; padding-right: 10px; }
.q-num { font-size: 26px !important; font-weight: 500; letter-spacing: .04em; color: var(--paper-ink) !important; font-variant-numeric: tabular-nums; margin: 0 0 4px !important; }
.q-btns { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }

/* ---------- Be in the film ---------- */

.film { background: radial-gradient(60% 45% at 50% 55%, rgba(228, 72, 62, .07), transparent 70%); }
.scenes { list-style: none; margin: 30px 0 28px; padding: 0; display: grid; gap: 12px; }
.scenes li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 34px 20px 18px;
  border-radius: 16px;
  background: #16120e;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 19px;
  line-height: 1.45;
  overflow: hidden;
}
.scenes li::before {
  /* clapperboard stripes */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background: repeating-linear-gradient(-55deg, #f2e8d2 0 12px, #15110d 12px 24px);
  opacity: .9;
}
.scene-no { font-size: 16px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

.rec-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 96px;
  padding: 18px 22px;
  border: 0;
  border-radius: 22px;
  text-align: left;
  color: var(--ivory);
  background:
    radial-gradient(60% 120% at 0% 50%, rgba(228, 72, 62, .25), transparent 70%),
    linear-gradient(180deg, #221713, #170f0c);
  box-shadow: inset 0 0 0 2px rgba(240, 100, 85, .6), 0 18px 46px rgba(0, 0, 0, .45), 0 0 50px rgba(228, 72, 62, .12);
  transition: transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.rec-btn:hover { box-shadow: inset 0 0 0 2px #f06455, 0 18px 46px rgba(0, 0, 0, .45), 0 0 60px rgba(228, 72, 62, .22); }
.rec-btn:active { transform: scale(.985); }
.rec-light {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
  width: 60px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  color: #ff9d90;
  padding-left: .14em;
}
.rec-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff8a7c, #e4483e 55%, #a3241b);
  box-shadow: 0 0 0 5px rgba(228, 72, 62, .2), 0 0 24px rgba(255, 80, 60, .7);
  animation: rec-blink 1.6s ease-in-out infinite;
}
.rec-text { display: grid; gap: 2px; font-size: 22px; font-weight: 600; line-height: 1.25; }
.rec-text small { font-size: 17px; font-weight: 400; color: var(--muted); }

.upload {
  margin-top: 26px;
  padding: 26px 20px 22px;
  border-radius: 22px;
  background: #14100d;
  box-shadow: inset 0 0 0 1px var(--line);
}
.upload-title { margin: 0 0 16px; font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--ivory); }
.upload .pick { margin-bottom: 4px; }
.upload-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.upload-list:empty { display: none; }
.upload-thanks { margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; background: rgba(166, 220, 170, .1); box-shadow: inset 0 0 0 1px rgba(166, 220, 170, .35); color: var(--ivory); }
.upload-thanks strong { color: #c4ecc7; }
.privacy {
  margin: 18px 0 0;
  padding-left: 30px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dcb563' stroke-width='1.8'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5'/%3E%3C/svg%3E") 0 2px / 20px 20px no-repeat;
}

/* The engine's upload rows (laid out by core.css), in our colours */
.upload-list .b70-upload { background: #0f0d0a; border-color: rgba(226, 193, 129, .3); }
.upload-list .b70-upload-thumb { background: #1f1914; color: var(--gold); }
.upload-list .b70-upload-bar { background: rgba(226, 193, 129, .18); }
.upload-list .b70-upload-bar span { background: var(--gold-grad); }
.upload-list .b70-upload.is-done .b70-upload-bar span { background: var(--b70-ok); }
.upload-list .b70-upload.is-failed .b70-upload-bar span { background: var(--b70-error); }

/* The engine's calendar sheet and recorder, finished in gold */
.b70-overlay .b70-btn-primary {
  background: var(--gold-grad);
  background-size: 160% 100%;
  color: #1a130a;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .5), 0 10px 30px rgba(214, 160, 70, .2);
}
.b70-overlay .b70-btn-secondary { border-color: rgba(226, 193, 129, .7); }
.b70-sheet { box-shadow: inset 0 1px 0 rgba(246, 226, 166, .45), 0 -20px 60px rgba(0, 0, 0, .6); }

/* ---------- Rolling credits and the sign-off ---------- */

.foot {
  padding: 40px 0 calc(48px + var(--safe-b));
  text-align: center;
  background: linear-gradient(180deg, var(--ink), #050404 90px);
}
.cr-screen {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  background: #050404;
}
.cr-screen.is-rolling { height: 82vh; max-height: 780px; min-height: 480px; cursor: pointer; }
@supports (height: 1svh) { .cr-screen.is-rolling { height: 82svh; } }
.cr-screen.is-rolling .cr-roll { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.cr-screen.is-rolling::before, .cr-screen.is-rolling::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}
.cr-screen.is-rolling::before { top: var(--bar); background: linear-gradient(#050404, transparent); }
.cr-screen.is-rolling::after { bottom: var(--bar); background: linear-gradient(transparent, #050404); }
.cr-bar { display: none; position: absolute; left: 0; right: 0; z-index: 3; height: var(--bar); background: #000; }
.cr-screen.is-rolling .cr-bar { display: block; }
.cr-bar.top { top: 0; }
.cr-bar.bot { bottom: 0; }
.cr-pause {
  position: absolute;
  z-index: 4;
  right: max(12px, var(--safe-r));
  bottom: calc((var(--bar) - 48px) / 2);
  min-height: 48px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ivory);
  background: rgba(30, 24, 18, .9);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
@media (max-height: 700px) { .cr-pause { bottom: 8px; } }
.cr-roll { position: relative; padding: 40px max(20px, var(--safe-r)) 40px max(20px, var(--safe-l)); }
.cr-screen.is-static .cr-roll { padding-top: 70px; }
.cr-studio { margin: 0 0 56px; font-size: 16px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.cr-list { margin: 0; display: grid; gap: 50px; }
.cr { display: grid; gap: 6px; justify-items: center; }
.cr dt { font-size: 16px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.cr dd { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.25; color: var(--ivory); }
.cr dd span { display: block; font-family: var(--sans); font-size: 18px; color: var(--muted); margin-top: 4px; }
.cr-star {
  font-weight: 700;
  font-size: 64px !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gold) !important;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cr-still { margin-top: 28px !important; }
.cr-still img {
  display: block;
  width: min(62vw, 260px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 7px solid #efe4cc;
  border-bottom-width: 26px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .6);
  filter: var(--grade) brightness(.95);
  transform: rotate(-2.5deg);
}
.cr:nth-child(even) .cr-still img { transform: rotate(2.2deg); }
.foot-orn { display: block; width: 220px; height: 24px; margin: 70px auto 0; color: var(--gold); }
.foot-love { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(30px, 8.6vw, 44px); line-height: 1.25; color: var(--ivory); }
.foot-after { padding: 34px max(20px, var(--safe-r)) 0 max(20px, var(--safe-l)); }
.foot .song-credit { justify-content: center; text-align: left; max-width: 34em; margin: 0 auto; }
.foot-btns { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 22px; }

/* ---------- Music toggle: a small round button, top right on phones ----------
   It never sits on top of words, buttons or fields: app.js adds .is-away while any of those
   passes under its corner, and takes it off again once the corner is clear. */

.music-btn {
  position: fixed;
  z-index: 90;
  top: calc(max(10px, var(--safe-t)) + var(--b70-preview-bar, 0px));
  right: max(10px, var(--safe-r));
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 48px;
  height: 48px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  color: var(--gold-hi);
  background: rgba(18, 14, 10, .86);
  transition: opacity .25s ease, transform .25s ease, padding .3s ease, visibility 0s;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1.5px var(--line-strong), 0 10px 26px rgba(0, 0, 0, .45);
  -webkit-tap-highlight-color: transparent;
}
html.pm-opened .music-btn { display: inline-flex; }
html.pm-staged .music-btn { display: none; }
.music-btn.is-away:not(:focus-visible) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .25s ease, padding .3s ease, visibility 0s linear .18s;
}
html.pm-typing .music-btn { opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none; transition: opacity .2s ease, transform .25s ease, visibility 0s linear .2s; }
html.b70-locked .music-btn { opacity: 0; visibility: hidden; pointer-events: none; } /* while the calendar sheet or the recorder is open */
.mb-icon { width: 26px; height: 26px; flex: none; }
.mb-text { display: none; color: var(--ivory); }
.music-btn.is-telling { padding: 0 18px 0 14px; }
.music-btn.is-telling .mb-text { display: inline; }
.mb-x, .mb-off { display: none; }
.music-btn[aria-pressed="false"] { color: var(--muted); }
.music-btn[aria-pressed="false"] .mb-waves, .music-btn[aria-pressed="false"] .mb-on { display: none; }
.music-btn[aria-pressed="false"] .mb-x, .music-btn[aria-pressed="false"] .mb-off { display: inline; }
.music-btn[aria-pressed="true"] .mb-waves { animation: waves 1.6s ease-in-out infinite; }

/* ---------- Celebration layer ---------- */

.fx {
  position: fixed;
  inset: 0;
  z-index: 250;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flash {
  position: fixed;
  z-index: 251;
  width: min(60vmax, 120vw);
  height: min(60vmax, 120vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 246, 220, .55) 12%, rgba(255, 230, 180, .12) 35%, transparent 60%);
  animation: flash .55s ease-out forwards;
}

/* ---------- Scroll reveals (motion only) ---------- */

html.pm-motion .rv { transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
html.pm-motion .rv:not(.is-in) { opacity: 0; transform: translateY(26px); }
html.pm-motion .ticket.rv:not(.is-in) { transform: translateY(40px) rotate(2deg); }

/* ---------- Bigger screens ---------- */

@media (min-width: 600px) {
  .playbill { padding: 34px 40px 24px; }
  .pb-act { grid-template-columns: 24px 1fr; column-gap: 14px; }
  .pb-no { align-self: start; padding-top: 8px; }
  .pb-body { display: block; grid-column: 2; grid-row: 1; }
  .pb-body > .btn { display: inline-flex; }
  .pb-lead { margin-top: 6px; }
  .q-btns { grid-template-columns: 1fr 1fr; }
  .thanks-btns { grid-template-columns: 1fr 1fr; max-width: none; }
}

@media (min-width: 700px) {
  .sec { padding: 120px 0; }
  .hero-facts { grid-template-columns: auto auto; justify-content: start; gap: 40px; }
  .hero-actions .btn { flex: 0 0 auto; }
  .marquee { padding: 40px 48px; }
  .mq-board { display: flex; align-items: flex-end; justify-content: center; gap: 0; padding: 20px 18px 16px; }
  .mq-days { padding-right: 28px; margin-right: 6px; border-right: 1px solid rgba(80, 60, 30, .2); }
  .mq-row { margin: 0; padding: 0; border: 0; grid-template-columns: repeat(3, 1fr); flex: 1; }
  .mq-row .mq-num, .mq-days .mq-num { font-size: 92px; }
  .mq-row .mq-unit + .mq-unit, .mq-row .mq-unit:first-child { border-left: 1px solid rgba(80, 60, 30, .2); }
  .mq-board.mq-message { display: block; }
  .strip { --fw: 440px; --h: 340px; }
  .box-office { padding: 40px 40px 36px; }
  .cr { grid-template-columns: 1fr 1fr; column-gap: 28px; row-gap: 6px; align-items: baseline; text-align: left; justify-items: start; }
  .cr dt { text-align: right; justify-self: end; }
  .cr-still { grid-column: 1 / -1; justify-self: center; }
  .cr-star { font-size: 76px !important; }
  .lb-nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-info { padding-left: 40px; padding-right: 40px; }
  /* The music button: a labelled pill, bottom right */
  .music-btn { top: auto; bottom: max(18px, var(--safe-b)); right: max(18px, var(--safe-r)); padding: 0 18px 0 14px; }
  .music-btn .mb-text { display: inline; }
  html.pm-typing .music-btn { transform: translateY(12px); }
}

@media (min-width: 900px) {
  :root { --bar: 9vh; }
  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .hero-pic { left: auto; width: 62%; height: 100%; }
  .hero-img { object-position: 60% 30%; }
  .hero-pic::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(12, 10, 8, .75) 16%, rgba(12, 10, 8, .1) 42%, rgba(12, 10, 8, 0) 70%, rgba(12, 10, 8, .45) 100%),
      linear-gradient(180deg, rgba(12, 10, 8, .5) 0%, transparent 18%, transparent 72%, var(--ink) 100%),
      linear-gradient(170deg, rgba(217, 169, 90, .14), rgba(58, 36, 16, .14));
  }
  .hero-inner { padding-top: 110px; padding-bottom: 130px; }
  .hero-kicker::before { display: block; }
  .hero-inner > * { max-width: 600px; }
  .hero-logo { font-size: 150px; }
  .billing {
    display: grid;
    gap: 4px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--bar) + 18px);
    margin: 0;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(226, 214, 190, .78);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
  }
  .billing b { font-weight: 600; color: var(--gold-hi); letter-spacing: .1em; }
  html.pm-opened .billing { bottom: 28px; transition: bottom 1.4s cubic-bezier(.6, 0, .2, 1) .35s, opacity .9s ease 1s; }
  .ticket-sec .wrap, .programme .wrap { max-width: 980px; }
  #the-ticket { display: flex; max-width: none; margin-left: 0; margin-right: 0; transform: rotate(-.8deg); }
  #the-ticket .tk-main {
    flex: 1;
    padding: 36px 40px 34px;
    border-radius: 16px 0 0 16px;
    -webkit-mask-image: radial-gradient(circle at 100% 0, transparent 15px, #000 15.5px), radial-gradient(circle at 100% 100%, transparent 15px, #000 15.5px);
    -webkit-mask-size: 100% 51%, 100% 51%;
    -webkit-mask-position: left top, left bottom;
    mask-image: radial-gradient(circle at 100% 0, transparent 15px, #000 15.5px), radial-gradient(circle at 100% 100%, transparent 15px, #000 15.5px);
    mask-size: 100% 51%, 100% 51%;
    mask-position: left top, left bottom;
  }
  #the-ticket .tk-main::before { inset: 12px 0 12px 12px; border: 1.5px solid rgba(156, 115, 48, .75); border-right: 0; border-radius: 8px 0 0 8px; }
  #the-ticket .tk-facts div { grid-template-columns: 96px 1fr; }
  #the-ticket .tk-stub {
    width: 250px;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    border-radius: 0 16px 16px 0;
    background:
      repeating-linear-gradient(180deg, rgba(33, 26, 18, .38) 0 7px, transparent 7px 13px) 0 0 / 2px 100% no-repeat,
      linear-gradient(180deg, var(--paper-2), #e2cfa6);
    -webkit-mask-image: radial-gradient(circle at 0 0, transparent 15px, #000 15.5px), radial-gradient(circle at 0 100%, transparent 15px, #000 15.5px);
    -webkit-mask-size: 100% 51%, 100% 51%;
    -webkit-mask-position: left top, left bottom;
    mask-image: radial-gradient(circle at 0 0, transparent 15px, #000 15.5px), radial-gradient(circle at 0 100%, transparent 15px, #000 15.5px);
    mask-size: 100% 51%, 100% 51%;
    mask-position: left top, left bottom;
  }
  #the-ticket .tk-admit { font-size: 30px; }
  #the-ticket .tk-stub-line { flex-direction: column; gap: 2px; margin-top: 14px; }
  .tk-actions { grid-template-columns: 1fr 1fr; max-width: none; margin-left: 0; margin-right: 0; }
  .tk-actions > .btn, .dir-row, .note-card { grid-column: 1 / -1; }
  .pb-acts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; position: relative; }
  .pb-acts::before { content: ''; position: absolute; top: 18px; bottom: 18px; left: 50%; width: 1px; background: var(--paper-rule); }
  .pb-act { grid-column: 1; }
  .pb-stay { grid-column: 2; grid-row: 1 / span 5; border-bottom: 0; }
  .pb-act:nth-last-child(2) { border-bottom: 0; }
  .playbill { padding: 40px 52px 30px; }
  .q-btns { grid-template-columns: 1fr; max-width: 320px; }
  .foot { background: var(--ink); }
  .cr-screen { border-radius: 4px; box-shadow: 0 0 0 1px rgba(226, 193, 129, .16), 0 40px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(220, 160, 70, .06); }
  .strip { --fw: 480px; --h: 370px; }
  .strip-nav { max-width: 980px; }
  /* The film: pictures on the right, where the poster's photo will be; the year on the left */
  .reel-wash { display: block; }
  .reel-frame { left: 38%; }
  .reel-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7, 6, 5, .95) 0%, rgba(7, 6, 5, .5) 14%, transparent 34%);
  }
  .reel-fade { display: none; }
  .reel-caption { left: 56px; right: auto; width: calc(38% - 40px); bottom: calc(var(--bar) + 48px); }
  .reel-chapter { font-size: 24px; }
  .reel-year { font-size: clamp(90px, 9.4vw, 150px); }
  .tc-inner { max-width: 780px; }
  .tc-crest { width: 320px; }
  .tc-title { font-size: 66px; }
  .tc-date { font-size: 19px; }
  .btn-play { min-height: 76px; font-size: 26px; min-width: 340px; }
  .tc-note { font-size: 18px; }
}

@media (min-width: 1200px) {
  .strip { --fw: 520px; --h: 400px; }
}

@media (max-height: 700px) and (max-width: 699px) {
  .tc-inner { padding-top: calc(20px + var(--safe-t)); padding-bottom: calc(20px + var(--safe-b)); }
  .tc-crest { width: 150px; }
  .tc-studio { margin-top: 10px; }
  .tc-greet { margin-top: 16px; }
  .tc-title { margin: 18px 0 24px; }
  .tc-date { margin-bottom: 22px; }
  .tc-note { margin-top: 12px; }
}

/* A phone turned sideways (or any short, wide window): the title card goes into two columns so
   "Tap to play" is on screen straight away, and the poster puts Ben on the right, as on a computer. */
@media (orientation: landscape) and (max-height: 520px) {
  .tc-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 4vw, 52px);
    max-width: 940px;
    padding: calc(14px + var(--safe-t)) max(24px, var(--safe-r)) calc(14px + var(--safe-b)) max(24px, var(--safe-l));
  }
  .tc-head, .tc-act { flex: 1 1 0; min-width: 0; }
  .tc-crest { width: 150px; }
  .tc-studio { margin-top: 8px; }
  .tc-studio .tc-prod { display: inline; }
  .tc-greet { margin-top: 12px; }
  .tc-greeting { font-size: 23px; }
  .tc-title { margin: 12px 0 0; font-size: clamp(30px, 4.6vw, 44px); }
  .tc-date { margin: 0 0 16px; }
  .tc-note { margin: 12px 0 0; }
  .btn-play { min-width: min(300px, 100%); min-height: 64px; }

  .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
  .hero-pic { left: auto; width: 50%; height: 100%; }
  .hero-img { object-position: 60% 22%; }
  .hero-pic::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(12, 10, 8, .7) 18%, rgba(12, 10, 8, .1) 46%, rgba(12, 10, 8, 0) 70%, rgba(12, 10, 8, .4) 100%),
      linear-gradient(180deg, rgba(12, 10, 8, .45) 0%, transparent 18%, transparent 74%, var(--ink) 100%),
      linear-gradient(170deg, rgba(217, 169, 90, .14), rgba(58, 36, 16, .14));
  }
  .hero-inner { padding: calc(36px + var(--safe-t)) max(28px, var(--safe-r)) 30px max(28px, var(--safe-l)); }
  .hero-inner > * { max-width: 56%; }
  .hero-logo { font-size: clamp(72px, 12vw, 120px); }
  .hero-tag { font-size: 23px; }
  .hero-facts { grid-template-columns: 1fr; gap: 8px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .billing, html.pm-opened .billing { display: none; } /* no room for the poster's small print (it repeats the facts) */

  /* The photo viewer: the picture takes the whole height, the words and buttons sit beside it */
  .lb { grid-template-rows: 1fr; grid-template-columns: 1fr minmax(230px, 34%); }
  .lb-img { top: calc(var(--safe-t) + 12px); left: max(12px, var(--safe-l)); width: calc(100% - max(12px, var(--safe-l))); height: calc(100% - 24px - var(--safe-t) - var(--safe-b)); }
  .lb-info { align-self: center; min-height: 0; padding: 74px max(18px, var(--safe-r)) 80px 18px; text-align: left; }
  .lb-nav { top: auto; bottom: calc(var(--safe-b) + 14px); transform: none; }
  .lb-prev { left: auto; right: calc(max(14px, var(--safe-r)) + 66px); }
  .lb-next { right: max(14px, var(--safe-r)); }
}

/* ---------- Keyframes ---------- */

@keyframes grain {
  0% { transform: translate(0, 0); }
  17% { transform: translate(-22px, 14px); }
  33% { transform: translate(18px, -26px); }
  50% { transform: translate(-12px, 30px); }
  67% { transform: translate(28px, 8px); }
  83% { transform: translate(-30px, -16px); }
  100% { transform: translate(0, 0); }
}
@keyframes stage-out { to { opacity: 0; visibility: hidden; } }
@keyframes dip { from { opacity: 0; } to { opacity: 1; } }
@keyframes beam { 0%, 100% { opacity: .85; } 47% { opacity: 1; } 50% { opacity: .7; } 53% { opacity: 1; } }
@keyframes dust {
  0% { opacity: 0; transform: translate(0, 0); }
  15% { opacity: .9; }
  85% { opacity: .6; }
  100% { opacity: 0; transform: translate(var(--dx, 30px), var(--dy, 120px)); }
}
@keyframes rays { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes play-glow {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .6), 0 0 0 7px rgba(220, 181, 99, .12), 0 18px 50px rgba(214, 160, 70, .32); background-position: 0% 0; }
  50% { box-shadow: inset 0 0 0 1px rgba(255, 244, 210, .8), 0 0 0 12px rgba(220, 181, 99, .06), 0 18px 60px rgba(214, 160, 70, .45); background-position: 100% 0; }
}
@keyframes strike {
  0% { opacity: 1; }
  15% { opacity: .2; }
  25% { opacity: 1; filter: brightness(1.8); }
  40% { opacity: .1; }
  55% { opacity: .7; }
  70% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes sweep { to { stroke-dashoffset: 0; } }
@keyframes leak {
  0% { opacity: 0; transform: translate(-6%, 2%) scale(1); }
  40% { opacity: .5; }
  100% { opacity: 0; transform: translate(8%, -3%) scale(1.15); }
}
@keyframes flicker {
  0% { opacity: 0; }
  12% { opacity: .05; }
  14% { opacity: 0; }
  41% { opacity: .035; }
  43% { opacity: 0; }
  67% { opacity: .055; }
  69% { opacity: 0; }
  88% { opacity: .03; }
  90% { opacity: 0; }
}
@keyframes scratch {
  0% { left: 30%; opacity: 0; }
  20% { left: 72%; opacity: .7; }
  24% { opacity: 0; }
  50% { left: 18%; opacity: .5; }
  54% { opacity: 0; }
  80% { left: 61%; opacity: .6; }
  83% { opacity: 0; }
}
@keyframes hero-drift { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes title-in {
  from { opacity: 0; letter-spacing: .2em; transform: translateY(10px); }
  to { opacity: 1; letter-spacing: .01em; transform: none; }
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes chase-r { to { background-position: 66px 0, 66px 0, 0 0; } }
@keyframes chase-l { to { background-position: -66px 0, -66px 0, 0 0; } }
@keyframes chase-d { to { background-position: 0 66px, 0 66px, 0 0; } }
@keyframes chase-u { to { background-position: 0 -66px, 0 -66px, 0 0; } }
@keyframes digit-in { from { transform: translateY(-.25em); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes foil { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes tear {
  0% { transform: none; }
  35% { transform: translate(0, 3px) rotate(-.6deg); }
  100% { transform: translate(8px, 18px) rotate(3.5deg); }
}
@keyframes stamp { from { opacity: 0; transform: rotate(-9deg) scale(1.9); } to { opacity: 1; transform: rotate(-9deg) scale(1); } }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; box-shadow: 0 0 0 5px rgba(228, 72, 62, .08), 0 0 8px rgba(255, 80, 60, .3); } }
@keyframes waves { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes flash { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); } }

/* ---------- Calm version ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  body::after, .stage-grain { animation: none !important; }
  .tc-dust, .tc-beam { display: none; }
  .btn-play { animation: none !important; }
  .b-top, .b-bot, .b-left, .b-right { animation: none !important; }
  .b-top, .b-bot {
    background:
      radial-gradient(circle at 11px 13px, #fffdf2 0 2.6px, #ffe6a6 4px, rgba(255, 200, 100, .5) 7px, transparent 12px) 0 0 / 22px 26px repeat-x;
  }
  .b-left, .b-right {
    background:
      radial-gradient(circle at 13px 11px, #fffdf2 0 2.6px, #ffe6a6 4px, rgba(255, 200, 100, .5) 7px, transparent 12px) 0 0 / 26px 22px repeat-y;
  }
  .rec-dot, .music-btn .mb-waves { animation: none !important; }
  .hero-bars { display: none; }
  .ticket, .tk-thanks { transform: none; }
  #replay { display: none; }
}
