:root {
  color-scheme: dark;
  --background: #1b1416;
  --paper: #f8e9db;
  --muted: #c5aaa2;
  --rose: #f0a78f;
  --line: #62413e;
  --serif: "Songti SC", "Noto Serif CJK SC", "Noto Serif SC", SimSun, serif;
  --sans: system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 40% 15%, #3a2126 0%, #21171a 53%, var(--background) 82%);
  color: var(--paper);
  font-family: var(--sans);
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; }
h1:focus, h2:focus { outline: none; }
img { display: block; width: 100%; object-fit: cover; }
.masthead, footer, main { width: min(100% - 44px, 1050px); margin-inline: auto; }
.masthead {
  display: flex;
  min-height: 61px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  min-height: 44px;
  gap: 9px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
}
.brand-icon { color: var(--rose); font: 18px Georgia, serif; }
.private, .duration, footer { color: var(--muted); font-size: 11px; letter-spacing: .16em; }
.private::before { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--rose); }
main { flex: 1; }
.opening { padding: 22px 0 29px; }
.poster {
  position: relative;
  isolation: isolate;
  height: clamp(233px, 39svh, 365px);
  overflow: hidden;
  border: 1px solid #876052;
  background: #673b41;
}
.poster img { height: 100%; object-position: 50% 48%; }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #24132145 0%, transparent 42%, #1b1017c4 100%); pointer-events: none; }
.poster-frame { position: absolute; inset: 9px; z-index: 1; border: 1px solid #ffe8d566; pointer-events: none; }
.poster-mark {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 9px;
  font: italic clamp(57px, 15vw, 104px)/1 Georgia, serif;
  letter-spacing: -.11em;
  color: #ffddbe;
  text-shadow: 0 2px 16px #40222d95;
}
.poster-mark span { vertical-align: top; margin-left: 9px; font: 15px/2 Georgia, serif; }
.poster-caption { z-index: 2; position: absolute; bottom: 19px; left: 20px; color: #f8e6d7; font: 10px Georgia, serif; letter-spacing: .24em; }
.poster-caption span { display: block; margin-top: 5px; font: 11px var(--serif); letter-spacing: .13em; }
.intro { padding-top: 27px; }
.eyebrow { color: var(--rose); font-weight: 520; font-size: 11px; letter-spacing: .23em; margin: 0 0 11px; }
.eyebrow span { display: inline-block; width: 17px; margin: 0 5px 3px 0; border-top: 1px solid currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }
h1 { font-size: clamp(38px, 11vw, 64px); line-height: 1.12; letter-spacing: .025em; }
h1 span { color: var(--rose); }
.intro-copy { margin: 14px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.85; letter-spacing: .04em; }
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr 62px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 54px;
  padding: 0 0 0 20px;
  background: var(--rose);
  border: none;
  color: #29191a;
  text-align: left;
  font-weight: 700;
  letter-spacing: .12em;
}
.ticket::after, .ticket::before { content: ""; position: absolute; z-index: 1; right: 56px; width: 12px; height: 12px; border-radius: 50%; background: #291b20; pointer-events: none; }
.ticket::before { top: -6px; }
.ticket::after { bottom: -6px; }
.play { width: 0; height: 0; border: solid transparent; border-width: 6px 0 6px 9px; border-left-color: currentColor; }
.ticket-code { display: grid; place-content: center; height: 100%; border-left: 1px dashed #7e4842; text-align: center; font: 10px/1.15 Georgia, serif; letter-spacing: .13em; }
.duration { margin: 11px 0 0; }
.duration span, footer span { margin-inline: 4px; color: var(--rose); }
footer { border-top: 1px solid var(--line); padding: 15px 0 max(15px, env(safe-area-inset-bottom)); }
.screening { max-width: 680px; margin-inline: auto; padding-bottom: 38px; }
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 11px 0 15px; }
.chapters button { padding: 0 2px; min-height: 44px; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.chapters button[aria-current="step"] { color: var(--rose); border-color: var(--rose); }
.chapter { animation: show .35s ease-out both; }
@keyframes show { from { opacity: 0; transform: translateY(5px); } }
.chapter > header { margin: 24px 0; }
h2 { font-size: clamp(33px, 8.2vw, 52px); line-height: 1.15; }
.photos { display: grid; gap: 19px; }
figure { margin: 0; padding: 8px; border: 1px solid var(--line); background: #2b1d20; }
figure img { aspect-ratio: 4 / 3; }
figcaption { padding: 11px 6px 5px; color: var(--paper); font-size: 14px; line-height: 1.7; }
.notes section { padding: 19px 0; border-top: 1px solid var(--line); }
h3 { color: var(--rose); font-size: 20px; }
.notes p, .letter p { margin: 10px 0 0; line-height: 1.9; font-size: 15px; overflow-wrap: anywhere; }
.notes p { color: var(--muted); }
.letter { padding: 20px 21px; color: #40272a; background: #f3e1d0; box-shadow: inset 0 0 0 5px #f3e1d0, inset 0 0 0 6px #c6a091; }
.letter p:first-child { margin-top: 0; }
.letter p + p { margin-top: 15px; }
.signature { text-align: right; font-weight: 700; }
.next, .quiet {
  min-height: 48px;
  margin-top: 25px;
  padding: 0 19px;
  color: var(--rose);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: .08em;
}
.next span { margin-left: 9px; }
.next:hover, .quiet:hover { border-color: var(--rose); background: #392528; }
.ticket:hover { background: #f6b9a5; }
.credit-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.credit-actions .quiet { color: var(--muted); }
.extra { max-width: 490px; }
@media (min-width: 760px) {
  .masthead { min-height: 76px; }
  .opening { padding: clamp(37px, 7vh, 83px) 0; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(40px, 7vw, 104px); }
  .poster { height: clamp(420px, 65vh, 660px); }
  .poster-mark { top: 15px; left: 25px; }
  .poster-caption { bottom: 26px; left: 26px; }
  .intro { padding-top: 0; }
  h1 { font-size: clamp(47px, 5.9vw, 78px); }
  .intro-copy { margin: 21px 0 28px; font-size: 16px; }
  .ticket { max-width: 320px; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter { padding: 30px 40px; }
}
@media (prefers-reduced-motion: reduce) { .chapter { animation: none; } }
