@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("fonts/event-headings.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Christmas campaign surfaces: night 60 / velvet 30 / brass 10. */
  --stage-black: #121111;
  --stage-velvet: #512334;
  --velvet-shadow: #2e1921;
  --stage-shadow: #1c1919;
  --stage-ivory: #fbf2de;
  --stage-brass: #dfbd7b;
  --stage-rule: #746349;
  --seal-red: #923449;
  --event-body: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --event-title: "Zen Kaku Gothic New", var(--event-body);
  --poster-serif: var(--event-body);
}
.pz-letter-intro { min-width: 0; }
/* Give kanji open counters and keep weights consistent across all five sections. */
.key-line strong, .pz-letter h2, .departure h2, .plan-inner h2, .pzg-guide h2,
.plan-inner h3, .santa-panel h2 {
  font-family: var(--event-title);
  font-weight: 700;
  font-synthesis: none;
  letter-spacing: .012em;
  line-height: 1.28;
}
.pz-letter h2 { font-size: clamp(30px, 3.6vw, 66px); }
.pz-envelope-name, .pz-message > span, .pz-message > p:first-child {
  font-family: var(--event-body);
}
.pz-envelope-name { font-weight: 650; letter-spacing: .025em; }
.pz-message > p:first-child { font-weight: 750; }
.event-strip time, .event-hours, .match-format b, .departure h2 span, .tactics li::before {
  font-family: var(--event-body);
  font-style: normal;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.plan-map .court-view { width: 56%; max-width: 520px; }
.court-stage { position: relative; aspect-ratio: 1.12; }
.court-stage > img, .court-stage canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.court-stage canvas { visibility: hidden; touch-action: pan-y pinch-zoom; cursor: grab; }
.court-stage canvas:active { cursor: grabbing; }
.court-stage.is-live canvas { visibility: visible; }
.court-stage.is-live > img { visibility: hidden; }
@media (max-width: 760px) {
  .pz-letter h2 br { display: initial; }
  .plan-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 16px 26px; }
  .plan-map .court-view, .plan-notes { width: 100%; max-width: none; }
  .plan-notes dl div { grid-template-columns: 3em 1fr; }
}

/* Stage and cast. Keep atmospheric layers behind all lettering. */
.key-scene, .mission-plan, .departure { position: relative; isolation: isolate; overflow: hidden; }
.scene-snow, .letter-portrait, .letter-light, .platform-shade, .platform-light,
.court-backdrop, .court-grid, .venue-backdrop, .venue-wash {
  position: absolute; inset: 0; pointer-events: none;
}
.scene-snow {
  background: url("film-snow.svg") repeat;
  background-size: var(--snow-width) var(--snow-height);
}
.hero-snow { --snow-width: 310px; --snow-height: 220px; opacity: .46; mask-image: linear-gradient(90deg, transparent 15%, black 76%); }
.key-line { line-height: 1.55; }
.key-line strong { letter-spacing: .015em; }
.key-copy { max-width: 50%; }
.key-scene h1 { z-index: 3; }

/* The sender recedes into the wall while the open letter projects forward. */
.pz-letter { background: var(--velvet-shadow); }
.pz-letter-intro, .pz-mail { z-index: 1; }
.pz-mail { box-shadow: 3px 4px 0 #d8c6a6, 5px 7px 0 #8b6654, 0 20px 42px #1909157a; }
.pz-letter-intro > p { max-width: 29em; font-size: clamp(15px, 1.12vw, 18px); }

/* Night platform. The lamp, two snowfall depths and reading shadow share one skyline. */
#story.departure { display: block; padding: 0; background: var(--stage-black); }
.departure-stage { position: absolute; inset: 0; z-index: -5; }
.departure-scene { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 72% 64%; }
.platform-light { z-index: -4; background: radial-gradient(ellipse at 88% 43%, #f3b15d27, transparent 32%); }
.snow-far { z-index: -3; --snow-width: 240px; --snow-height: 170px; opacity: .62; }
.snow-near { z-index: -2; --snow-width: 590px; --snow-height: 420px; opacity: .68; filter: blur(.65px); }
.platform-shade { z-index: -1; background: linear-gradient(90deg,#121111fa 2%,#141313ee 30%,#191716bc 45%,#19171540 64%,transparent 80%),linear-gradient(0deg,#0c152447,transparent 34%); }
.departure-text { padding: clamp(44px, 5.2vw, 90px) 6%; width: min(56%, 860px); }
.platform-sign { display: flex; align-items: center; gap: 14px; }
.mio-mark { display: inline-flex; align-items: center; justify-content: center; padding: 9px 12px; background: #fff; border-radius: 2px; box-shadow: 0 3px 8px #07122230; }
.mio-mark img { display: block; width: 76px; height: auto; }
.departure-text .platform-location { letter-spacing: .08em; font-size: 13px; line-height: 1.55; color: #f4e3bd; }
.departure h2 { gap: .12em; margin: .4em 0 .45em; padding-bottom: .25em; width: fit-content; border-color: #dbc28d88; font-size: clamp(40px,4vw,68px); }
.departure h2 .platform-number { font: 600 1.4em/1.05 var(--event-body); letter-spacing: 0; color: #ffd88e; }
.departure-text > p { line-height: 1.85; margin: .85em 0 0; }
@media (prefers-reduced-motion: no-preference) {
  .scene-snow { animation: platform-snowfall 22s linear infinite; }
  .snow-near { animation-duration: 12s; }
  @keyframes platform-snowfall { to { background-position: var(--snow-width) var(--snow-height); } }
}

/* The gifts, relief model and notes sit above a distant rooftop and its floor markings. */
.mission-plan { background: linear-gradient(155deg, var(--stage-velvet), var(--velvet-shadow) 48%, var(--stage-black) 83%); }
.court-backdrop { background: linear-gradient(110deg,#171414ae,#141211c0), url("assets/court-night.webp") center 35% / cover; opacity: .57; mask-image: linear-gradient(#000, #0009 52%, transparent 90%); }
.court-grid { background: repeating-linear-gradient(90deg, transparent 0 59px,#dccaa535 60px 61px), repeating-linear-gradient(0deg,transparent 0 44px,#dccaa535 45px 46px); transform: perspective(580px) rotateX(54deg) scale(1.18); transform-origin: center 62%; mask-image: radial-gradient(ellipse at 32% 52%, #000a, transparent 64%); }
.plan-inner { position: relative; }
.plan-inner header img { filter: drop-shadow(0 16px 11px #030f14a8); }
.plan-inner header > div { min-width: 0; }
.plan-inner h2 span { display: inline-block; }
.court-stage::before { content: ""; position: absolute; inset: 38% 8% 10%; background: radial-gradient(ellipse,#050404bf,transparent 66%); }
.plan-notes { padding: clamp(15px,2vw,28px); background: var(--velvet-shadow); border-top: 2px solid #c4a876; }
.tactics { position: relative; box-shadow: 3px 4px 0 #bcaf97, 0 16px 30px #08181766; }

@media (max-width: 760px) {
  .key-copy { max-width: 85%; }
  .departure-text { width: 100%; padding: 34px 7% clamp(180px,48vw,300px); }
  .departure-stage { top: 29%; mask-image: linear-gradient(transparent, #000 24%); }
  .departure-scene { object-position: 100% bottom; }
  .platform-shade { background: linear-gradient(180deg,#121111 0%,#141313ef 20%,#181616cf 53%,#18161536 71%,transparent 85%),linear-gradient(90deg,#16141363,transparent 85%); }
  .departure h2 { font-size: clamp(36px,8.2vw,50px); }
  .departure-text > p { font-size: 15px; }
  .departure-text .last-call { margin-top: 1em; }
  .platform-sign .mio-mark img { width: 66px; }
  .plan-inner header { gap: 0; position: relative; padding-right: 0; }
  .plan-inner header > div { flex: 1; }
  .plan-inner header img { width: 17%; }
  .plan-inner h2 { font-size: clamp(22px,5.8vw,40px); }
  .plan-inner h2 span { white-space: nowrap; }
}

.pzg-date b { letter-spacing: -.035em; }
.pz-letter-intro > p span { display: inline-block; }

/* Brass wayfinding runs continuously through the night scenes. */
.pz-nav, .pz-foot, .event-strip, .marquee, .key-scene {
  background: var(--stage-black);
  color: var(--stage-ivory);
  border-color: var(--stage-rule);
}
.event-strip a {
  background: var(--stage-brass);
  border-color: var(--stage-brass);
  color: var(--stage-black);
}
.event-strip a:hover { background: var(--stage-ivory); }
.roof-sky { filter: saturate(.75); }
.key-scene::after { background: linear-gradient(0deg, var(--stage-black), transparent 23%); }
.key-line { margin: .8em 0 0; }
.key-line > span {
  display: block;
  font-size: clamp(15px, 1.55vw, 26px);
  font-weight: 600;
  letter-spacing: .05em;
}
.key-line img {
  display: block;
  width: min(31vw, 485px);
  height: auto;
  margin: .22em 0 0 -.08em;
  filter: drop-shadow(0 4px 9px #100b08ad);
}

/* The threat is visible on arrival; the actual letter opens below it. */
#letter {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: start;
  gap: 1.3rem;
  padding: clamp(54px, 6vw, 100px) 8%;
  isolation: isolate;
  overflow: hidden;
}
#letter { --scene-height: clamp(430px, 42vw, 655px); min-height: var(--scene-height); }
.letter-portrait {
  inset: 0 0 auto auto;
  width: min(100%, calc(var(--scene-height) * 1.5));
  height: var(--scene-height);
  object-fit: contain;
  object-position: right top;
  mask-image: linear-gradient(90deg, transparent, black 27%);
}
.letter-light {
  background: linear-gradient(90deg, var(--stage-velvet) 0%, #45202fe8 30%, #331a2355 62%, transparent 80%);
}
#letter .pz-kicker { color: var(--stage-brass); font-size: 13px; letter-spacing: .15em; }
#letter h2 { width: min(39vw, 470px); margin: 18px 0 22px; line-height: 1; }
.notice-title { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 6px #08060480); }
#letter .incident { color: var(--stage-ivory); max-width: 32em; line-height: 1.85; }
.pz-mail, .pz-mail[open] {
  width: min(100%, 490px);
  background: transparent;
  transform: none;
  box-shadow: none;
  border: 0;
}
.pz-mail summary, .pz-mail[open] summary {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  min-height: 44px;
  padding: 6px 12px 6px 4px;
  background: var(--stage-black);
  color: var(--stage-ivory);
  box-shadow: none;
  border-block: 1px solid var(--stage-rule);
}
.pz-mail summary::before, .pz-mail summary::after { display: none; }
.pz-open-label { padding: 0; border: 0; }
.dispatch-seal {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffdfb5;
  background: var(--seal-red);
  border: 2px double #bd7961;
  box-shadow: inset 0 1px 3px #471624;
}
.dispatch-chevron { color: var(--stage-brass); }
.pz-mail[open] .dispatch-chevron { transform: rotate(180deg); }
.pz-message { margin-top: 12px; padding: clamp(20px, 3vw, 36px); background: #f5ead5; color: #262222; }
.pz-message a { color: #523b2b; }
.pzg-timetable, .tactics { background-color: #f5ead5; color: #262222; }
@media (max-width: 760px) {
  .key-line img { width: min(51vw, 300px); }
  #letter { --scene-height: min(65vw, 380px); min-height: 0; padding: 28px 6% 35px; gap: 1rem; }
  .letter-light { background: linear-gradient(95deg, #512334ec, #391c2899 37%, transparent 72%); }
  #letter h2 { width: min(51vw, 340px); margin: 14px 0 0; }
  #letter .pz-letter-intro { display: grid; grid-template-rows: auto minmax(calc(var(--scene-height) - 38px), auto) auto; align-items: start; }
  #letter .pz-kicker { font-size: clamp(10px, 2.55vw, 13px); }
  .letter-portrait { mask-image: linear-gradient(180deg, black 90%,transparent); }
  #letter .incident { text-wrap: pretty; }
  #letter .incident { max-width: 28em; font-size: 15px; }
}
/* The platform sign and sleigh share the same sight line through the door. */
#story .departure-scene { object-position: right 32%; }
#story .departure-text h2 { display: block; width: fit-content; margin: .6em 0 .4em; }
#platform-heading small { display: block; font: 650 clamp(16px,1.7vw,25px)/1.65 var(--event-body); letter-spacing: .06em; }
#story .departure-text #platform-heading {
  width: min(100%, 590px);
  border: 0;
  padding: 0;
}
#platform-heading .platform-title {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .14em;
}
@media (max-width: 760px) {
  #story .departure-text #platform-heading { width: min(88%, 540px); }
}
@media (max-width: 760px) {
  #story.departure { display: grid; padding: 30px 0; }
  #story .departure-text { display: contents; }
  #story .platform-sign, #story h2, #story .departure-text > p { margin-inline: 6%; }
  #story .platform-sign { grid-row: 1; }
  #story .departure-text h2 { grid-row: 2; margin: .45em 6% .25em; font-size: clamp(28px, 7vw, 50px); }
  #story .departure-stage {
    position: relative; inset: auto; grid-row: 3; width: 100%; height: min(65vw, 410px);
    mask-image: linear-gradient(transparent,black 13%,black 90%,transparent);
  }
  #story .departure-scene { object-position: right 42%; }
  #story .platform-shade { background: none; }
}

.bell-rules { margin: 0; color: var(--stage-ivory); }
.bell-rules > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 1.5em;
  padding: 1.15em 0;
  border-bottom: 1px solid var(--stage-rule);
  line-height: 1.8;
}
.bell-rules dt { color: var(--stage-brass); font-weight: 700; }
.bell-rules dd { margin: 0; max-width: 44em; }
.bell-rules strong { color: #ffe3ac; }
@media (max-width: 600px) {
  .bell-rules > div { grid-template-columns: 1fr; gap: .2em; }
}

/* Suspended platform board: the date drums, enamel face and venue print share one frame. */
#guide {
  --brass: #d5af70;
  --board-padding: clamp(20px, 4.5vw, 58px);
  padding: clamp(78px, 10vw, 160px) 0 clamp(72px, 9vw, 140px);
  background: #151310;
  color: #f9f0da;
}
.venue-backdrop { background: url("assets/guide-platform-canopy.webp") center / cover; }
.venue-wash { background: linear-gradient(0deg,#100d0be0,transparent 19%,transparent 90%,#110d0b45); }
.station-board {
  position: relative;
  width: min(82%, 950px);
  margin: auto;
  padding: clamp(4px,.5vw,7px);
  border: 1px solid #bba277;
  border-radius: 5px;
  background: linear-gradient(117deg,#493f31,#a99572 14%,#413b32 22%,#24221e 66%,#a18b67 96%,#40382c);
  box-shadow: 0 4px 0 #2d2923,0 8px 0 #171511,0 22px 32px #000a;
}
.station-board::before, .station-board::after {
  content: ""; position: absolute; bottom: 100%; width: 5px; height: 200px;
  background: linear-gradient(90deg,#29241f,#8d7956 44%,#3c342c 78%); box-shadow: 2px 0 3px #09080588;
}
.station-board::before { left: 12%; }
.station-board::after { right: 12%; }
.station-header, .station-schedule, .station-venue, .station-entry { padding-inline: var(--board-padding); }
.station-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
  background: linear-gradient(112deg,#292622,#1d1c19 65%,#24221c);
  padding-block: clamp(16px,2vw,27px);
  border-bottom: 1px solid #8b7757;
}
#guide h2 { margin: 0; font-size: clamp(26px,3.3vw,47px); color: #f9efdb; letter-spacing: .075em; line-height: 1.25; }
.platform-plaque {
  display: inline-flex; align-items: center; gap: .45em; padding: .35em .7em;
  border: 1px solid #b49361; border-radius: 3px;
  color: #162020; background: linear-gradient(140deg,#f0d9a5,#cda86b);
  font: 750 clamp(11px,1.25vw,17px)/1.15 var(--event-body);
}
.platform-plaque b { font: 700 1.85em/1 Arial,sans-serif; }
.station-schedule {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 4%;
  padding-block: clamp(20px,3vw,43px);
  background: radial-gradient(ellipse at 20% 0%,#32302b,#1b1c1c 78%);
  border-bottom: 1px solid #514a40;
}
.station-label, .station-entry dt { margin: 0; color: var(--brass); font: 650 13px/1.4 var(--event-body); letter-spacing: .12em; }
.station-date { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3em .55em; margin-top: 8px; }
.station-year { flex-basis: 100%; font-size: .86rem; }
.station-day { font-size: .9rem; }
.station-flaps { display: inline-flex; align-items: baseline; gap: 2px; }
.station-flaps b {
  display: inline-block; position: relative; text-align: center;
  padding: .04em .08em .06em; min-width: .69em;
  font: 700 clamp(33px,7vw,76px)/1 'Helvetica Neue',Arial,sans-serif;
  font-variant-numeric: tabular-nums; color: #ffe5a9;
  background: linear-gradient(#393937,#292a29 49%,#171818 50%,#242525);
  border: 1px solid #080909; border-top-color: #56544e; border-radius: 3px;
  box-shadow: 0 2px 2px #070806;
}
.station-flaps b::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid #12110e9c; }
.station-flaps i { font: bold 1.65em/1 Arial,sans-serif; color: var(--brass); }
.station-hours > p:last-child {
  margin: .5em 0 0; font: 650 clamp(23px,3vw,42px)/1.12 var(--event-body);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.station-hours p span { margin-inline: .25em; font-size: .51em; vertical-align: middle; color: var(--brass); }
.station-venue {
  display: grid; grid-template-columns: 1fr minmax(0,38%); gap: 5%; align-items: center;
  padding-block: clamp(20px,3vw,40px);
  background: linear-gradient(100deg,#f4e8d2,#e5d5b8);
  color: #29251f;
}
.station-venue .station-label { color: #685038; }
.station-address h3 { margin: .45em 0 .3em; font: 700 clamp(22px,3vw,42px)/1.35 var(--event-title); }
.station-address h3 small { display: block; font: 650 clamp(14px,1.35vw,20px)/1.5 var(--event-body); }
.station-map {
  display: inline-flex; gap: .9em; align-items: center; min-height: 44px;
  color: #583c24; font: 700 14px var(--event-body); text-decoration: none;
}
.station-map > span:first-child { text-decoration: underline; text-underline-offset: .35em; }
.station-address h3 span { display: inline-block; }
.station-map:hover { color: #16130f; }
.station-map:focus-visible { outline: 3px solid #6f4424; }
.station-photo {
  position: relative; margin: 0; padding: 4px; transform: rotate(1.7deg);
  background: #fff9eb; box-shadow: 1px 4px 7px #4f382e52;
}
.station-photo > img { width: 100%; aspect-ratio: 2.05; display: block; height: auto; object-fit: cover; object-position: 50% 45%; }
.station-photo figcaption { display: flex; justify-content: end; padding: 4px 6px 1px; }
.station-photo figcaption img { width: clamp(43px,5vw,68px); height: auto; }
.station-entry { margin: 0; display: grid; grid-template-columns: .75fr 1fr 1fr; padding-block: 16px; background: #25231f; }
.station-entry div + div { border-left: 1px solid #665a46; padding-left: clamp(8px,3.6vw,48px); }
.station-entry dd { margin: .3em 0 0; font: 650 clamp(13px,1.5vw,20px)/1.5 var(--event-body); }
@media (max-width: 760px) {
  .station-board { width: 89%; }
  .station-schedule { grid-template-columns: auto 1fr; gap: 6%; }
  .station-photo > img { aspect-ratio: 1.55; }
}
@media (max-width: 480px) {
  #guide { --board-padding: 15px; }
  .station-board { width: 92%; }
  .station-schedule { grid-template-columns: 1fr; gap: 16px; }
  .station-year { flex-basis: auto; }
  .station-hours { display: flex; align-items: baseline; gap: 12px; }
  .station-hours > p:last-child { margin: 0; }
  .station-entry { grid-template-columns: .62fr 1fr 1.05fr; }
  .station-entry dt { font-size: 11px; }
  .station-entry dd { font-size: 12px; }
  .station-venue { grid-template-columns: minmax(0,1fr) minmax(0,32%); gap: 10px; }
  .station-photo > img { aspect-ratio: 1.12; }
}

/* Matte metal case, backlit headings and a continuous matrix for timetable values. */
.station-board {
  --panel-label: var(--stage-ivory);
  --signal-amber: #ffb957;
  --panel-matrix: radial-gradient(circle, #31322e .62px, transparent .82px) 0 0 / 3px 3px, #101211;
  background: linear-gradient(115deg,#535953,#b5b9ad 15%,#4b514e 52%,#252a29 96%);
  border-color: #74796e;
}
.station-header { background: var(--stage-velvet); border-bottom: 2px solid var(--stage-rule); }
#guide h2 { color: #fffdf0; }
.platform-plaque { color: var(--stage-brass); background: var(--velvet-shadow); border-color: var(--stage-rule); }
.station-schedule, .station-venue, .station-entry { background: var(--panel-matrix); }
.station-schedule, .station-venue { border-bottom: 2px solid #465048; }
.station-label, .station-entry dt, .station-venue .station-label { color: var(--panel-label); }
.station-schedule { align-items: end; }
.station-hours > p:last-child {
  color: var(--signal-amber);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: -.045em;
}
.station-hours time, .station-address h3 span, .station-entry dd {
  color: var(--signal-amber);
  background-image: radial-gradient(circle,#ffcb69 56%,#b07731 72%,transparent 78%);
  background-size: 2.6px 2.6px;
  background-clip: text;
  -webkit-background-clip: text;
}
@supports (background-clip: text) {
  .station-hours time, .station-address h3 span, .station-entry dd { color: transparent; }
}
.station-year, .station-day, .station-address h3 small { color: #e1ebd9; }
.station-flaps b { perspective: 4em; }
.flap-leaf {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: inherit; background: linear-gradient(#393937,#292a29 49%,#171818 50%,#242525);
  backface-visibility: hidden; transform-origin: center;
}
.flap-upper { clip-path: inset(0 0 50%); }
.flap-under, .flap-lower { clip-path: inset(50% 0 0); }
.station-flaps b::after { z-index: 1; }
.station-map, .station-map:hover { color: #e1ebd9; }
.station-map:focus-visible { outline-color: var(--signal-amber); }
.station-photo { transform: none; border: 1px solid #636a61; background: #222623; box-shadow: 0 1px 6px #000; }
.station-photo figcaption { background: #faf7f0; }
.station-entry div + div { border-color: #485347; }
@media (forced-colors: active) {
  .station-hours time, .station-address h3 span, .station-entry dd { color: CanvasText; background: none; }
}

/* The two links hang the sponsor plate from the same timetable casing. */
#guide { --plate-gap: clamp(16px, 2.1vw, 26px); }
#presenter {
  position: relative;
  width: min(74%, 410px);
  margin: var(--plate-gap) auto 0;
  scroll-margin-top: calc(var(--plate-gap) + 18px);
}
#presenter::before, #presenter::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: calc(100% - 7px);
  height: calc(var(--plate-gap) + 10px);
  width: 5px;
  border: 1px solid #554c3e;
  border-radius: 3px;
  background: linear-gradient(90deg, #514c41, #d2c6aa 45%, #635c4f 85%);
  box-shadow: 1px 1px 2px #130f0c;
  pointer-events: none;
}
#presenter::before { left: 16%; }
#presenter::after { right: 16%; }
.presenter-link {
  display: block;
  padding: 3px;
  border: 1px solid #807b6e;
  border-radius: 3px;
  background: linear-gradient(145deg, #ada99a, #494b45 45%, #343733);
  box-shadow: 0 3px 0 #252722, 0 10px 18px #0a080885;
}
.presenter-link img { display: block; width: 100%; height: auto; }
.presenter-link:focus-visible { outline: 3px solid white; outline-offset: 3px; }

/* Art-directed frames reserve separate space for the original lettering. */
.key-scene { height: clamp(385px, 43.5vw, 860px); }
.heist-art, .heist-art img { display: block; width: 100%; height: 100%; }
.heist-art { position: absolute; inset: 0; }
.heist-art img { object-fit: cover; object-position: center; }
@media (max-width: 760px) {
  .key-scene { height: auto; aspect-ratio: 4 / 5; }
  .key-scene h1 { width: 83%; left: 8.5%; bottom: 1%; }
}

/* Two-second intercepted transmission. Each torn band samples the same portrait. */
.signal-intro {
  position: fixed; inset: 0; z-index: 10000; isolation: isolate; overflow: hidden;
  pointer-events: none; text-align: left;
  background: radial-gradient(ellipse at 64% 44%, #421822, #150e12 53%, #080809 86%);
  color: #f6eddd;
}
.signal-intro::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg,#0c090b calc(50% - 1px),#97714f 50%,#0c090b calc(50% + 1px));
  animation: signal-cut 2000ms linear both;
}
.signal-portrait {
  position: absolute; inset: 0;
  background: var(--signal-mask) center / cover no-repeat;
  filter: saturate(.82) brightness(.91);
}
.signal-band {
  opacity: 0;
  clip-path: polygon(0 23%,100% 23%,100% 29%,0 29%,0 44%,100% 44%,100% 49%,0 49%,0 65%,100% 65%,100% 68%,0 68%);
  filter: sepia(.24) saturate(1.6) brightness(1.2);
  animation: signal-tear 2000ms steps(1,end) both;
}
.signal-band.second {
  clip-path: polygon(0 31%,100% 31%,100% 35%,0 35%,0 51%,100% 51%,100% 59%,0 59%);
  animation-direction: normal;
  --displacement: -1;
}
.signal-glass {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,transparent 0 3px,#07060936 3px 4px),
    linear-gradient(0deg,#0d080bdd,transparent 49%),
    linear-gradient(90deg,#160d12 2%,#200f1785 37%,transparent 71%);
}
@font-face {
  font-family: "Broadcast Mincho";
  src: url("fonts/broadcast-mincho.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
.signal-copy {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding-top: 7vh;
  font: 800 1rem/1.06 "Broadcast Mincho","Hiragino Mincho ProN","Yu Mincho",serif;
  text-align: center; white-space: nowrap;
}
.signal-copy > * {
  grid-area: 1 / 1;
  margin: 0;
  font: inherit;
  color: rgb(255 244 224 / 78%);
  text-shadow: 0 .012em .03em rgb(18 4 10 / 32%);
  will-change: transform, opacity;
}
.signal-copy .signal-place {
  font-size: min(22.8vw, 72vh);
  animation: signal-location 2000ms linear both;
}
.signal-copy .signal-subject {
  font-size: min(15.6vw, 61vh);
  animation: signal-subject 2000ms linear both;
}
.signal-copy strong {
  font-size: min(46vw, 73vh);
  letter-spacing: -.045em;
  color: rgb(255 217 156 / 73%);
  animation: signal-verdict 2000ms linear both;
}
@media(max-width:760px) {
  .signal-portrait {
    background-position: 74% 35%; background-size: auto 95%;
    mask-image: linear-gradient(180deg,transparent,#000 8% 78%,transparent 99%);
  }
  .signal-glass { background: repeating-linear-gradient(0deg,transparent 0 3px,#07060930 3px 4px),linear-gradient(0deg,#110b0fa6,transparent 67%); }
}
@keyframes signal-tear {
  0%,17%,46%,88%,100% {opacity:0; transform:none}
  4%,29%,85% {opacity:.95; transform:translateX(calc(var(--displacement,1) * 4vw))}
  9%,33% {opacity:.8; transform:translateX(calc(var(--displacement,1) * -2.2vw))}
  13%,38% {opacity:.65; transform:translateX(calc(var(--displacement,1) * 1.3vw))}
}
/* Each caption owns its frame. The glitch moves behind the settled letterforms. */
@keyframes signal-location {
  0% { opacity:0; transform: translateX(-.15em); }
  4%,23% { opacity:1; transform:none; }
  25%,100% { opacity:0; transform: translateX(.08em); }
}
@keyframes signal-subject {
  0%,25% { opacity:0; transform:translateX(.18em); clip-path:inset(0 0 0 100%); }
  30%,51% { opacity:1; transform:none; clip-path:inset(0); }
  53%,100% { opacity:0; transform:translateX(-.06em); clip-path:inset(0); }
}
@keyframes signal-verdict {
  0%,53% { opacity:0; transform:scale(1.16); }
  55% { opacity:1; transform:scale(1.045); }
  61%,100% { opacity:1; transform:none; }
}
@keyframes signal-cut {
  0%,88% { opacity:0; clip-path: inset(0); }
  92% { opacity:1; clip-path: polygon(0 0,100% 0,100% 46%,0 46%,0 52%,100% 52%,100% 100%,0 100%); }
  95%,100% { opacity:1; clip-path: inset(0); }
}
@media(prefers-reduced-motion:reduce) { .signal-intro { display:none; } }

.key-line .launch-lettering { display:block; position:relative; width:min(31vw,485px); aspect-ratio:1080/568; margin:.22em 0 0 -.08em; }
.key-line .launch-complete { display:block; width:100%; height:auto; margin:0; }
/* Santa remains part of the still hero after the broadcast ends. */
.key-scene .launch-lettering::before {
  content:""; position:absolute; right:0; top:3%; width:25%; aspect-ratio:800/333;
  background:url("assets/santa-and-sleigh.webp") center/contain no-repeat;
}
.launch-lettering::after {
  content:""; position:absolute; left:1%; bottom:-.2em; width:95%; height:clamp(7px,1.2vw,12px);
  background:linear-gradient(85deg,#ab7134,#fff1b5 48%,#db9f55 87%,transparent);
  clip-path:polygon(0 90%,62% 47%,100% 0,91% 46%,40% 84%,0 100%);
  transform-origin:left;
}
@media (max-width:760px) {
  .key-line .launch-lettering { width:min(51vw,300px); }
}

/* The dark plinth catches the same warm light as the bells above it. */
.event-strip {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 18% 0%, #36281c 0%, transparent 57%),
    linear-gradient(168deg, #201a17, #131111 54%, #100f0f);
  border-block: 1px solid #725836;
  box-shadow: inset 0 4px 10px #0006, inset 0 -3px 6px #0005;
  padding-block: clamp(18px, 2vw, 30px);
}
.event-strip::before, .event-strip::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset-inline: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #947045 7%, #f9d697 19%, #97714b 38%, #47392e 70%, transparent);
}
.event-strip::before { top: 1px; }
.event-strip::after { bottom: 2px; opacity: .45; }
.event-strip .date-line {
  align-items: end;
  gap: clamp(14px, 2vw, 30px);
}
.event-strip time {
  display: grid;
  grid-template-columns: max-content auto;
  column-gap: .14em;
  align-items: end;
  font: 800 clamp(52px, 5.3vw, 82px)/1 var(--event-body);
  letter-spacing: normal;
}
.event-strip .date-year {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .6em;
  color: #e3cba2;
  font: 650 12px/1.2 var(--event-body);
  letter-spacing: .12em;
}
.date-year::after {
  content: "";
  width: 2.5em;
  height: 1px;
  background: linear-gradient(to right, #ae8850, transparent);
}
.date-foil {
  position: relative;
  display: inline-block;
  color: #f1ca7b;
  font-weight: inherit;
  letter-spacing: -.045em;
  filter: drop-shadow(0 1px 0 #9a6936) drop-shadow(0 3px 2px #090704);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .date-foil {
    background-image: linear-gradient(169deg, transparent 27%, #fff7daaa 32%, transparent 37%),
      linear-gradient(176deg, #f6d795 7%, #fff1c8 31%, #eac57e 46%, #bb8641 56%, #f0cc84 74%, #fae7b3 92%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
  }
}
.date-foil::after {
  content: "";
  position: absolute;
  width: .22em;
  height: .22em;
  top: .08em;
  left: .15em;
  background: #fff6d7;
  clip-path: polygon(50% 0, 56% 40%, 100% 50%, 57% 55%, 50% 100%, 44% 57%, 0 50%, 43% 44%);
}
.event-strip .date-day {
  margin-bottom: .36em;
  padding: .19em .28em;
  color: #efd7a7;
  border: 1px solid #886f49;
  border-radius: 2px;
  font: 700 13px/1 var(--event-body);
}
.event-strip .date-hours {
  margin-bottom: .12em;
  padding-inline-start: clamp(12px, 1.6vw, 24px);
  border-inline-start: 1px solid #786247;
  color: #f3e7cf;
  font: 600 clamp(15px, 1.55vw, 23px)/1.25 var(--event-body);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 700px) and (max-width: 1040px) {
  .event-strip { display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; }
  .event-strip .date-line { grid-column: auto; }
}
@media (max-width: 699px) {
  .event-strip { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .event-strip { grid-template-columns: 1fr; }
  .event-strip time { font-size: 45px; }
  .event-strip .date-line { gap: 9px; }
  .event-strip .date-hours { padding-inline-start: 8px; font-size: 14px; }
}
@media (max-width: 420px) {
  .event-strip { row-gap: 12px; }
}
@media (forced-colors: active) {
  .date-foil { color: CanvasText; filter: none; background: none; }
}

.hero-credit {
  width: 100%;
  background: #111010;
  padding-block: 0 12px;
}
.hero-credit a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  width: 52%;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(12px, 1.1vw, 16px);
}
.hero-credit span { font: italic 1em/1.2 Georgia, serif; margin-right: .35em; }
.hero-credit strong { font: 650 1em/1 var(--event-body); }
.hero-credit img { display: block; width: 6.3em; height: auto; }
@media (max-width: 760px) {
  .hero-credit a { width: fit-content; margin-inline: auto; }
  .hero-credit { padding-bottom: 4px; }
}

/* The snow cornice is a separate physical layer above the picture aperture. */
.station-film {
  position: relative;
  isolation: isolate;
  padding: clamp(30px,5vw,72px) max(12px,4vw) clamp(28px,4.4vw,64px);
  background: radial-gradient(ellipse at 50% 100%, #3b1a27, transparent 72%), #121111;
}
.station-film-frame {
  position: relative;
  width: min(100%, 960px);
  margin-inline: auto;

  filter: drop-shadow(0 10px 14px #080507ad);
}
.station-film-frame::before { content: ""; display: block; padding-top: 5.9%; }
.station-film-snow {
  pointer-events: none;
  position: absolute; z-index: 1;
  left: 0; top: 0; width: 100%; height: auto; display: block;
}
.station-film-bezel {
  margin-inline: .65%;
  padding: 3.55% clamp(4px,.72vw,10px) clamp(4px,.72vw,10px);
  border: 1px solid #826948;
  background: linear-gradient(112deg,#584537,#221e1f 12%,#2e2426 67%,#5b4938);
  box-shadow: inset 0 0 0 2px #171619,inset 0 -4px 2px #97826755;
}
.station-film video {
  display: block;
  box-sizing: border-box;
  width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: contain; background: #0c0a0b;
  outline: 1px solid #0e0c0c;
}
.station-film video:focus-visible { outline: 2px solid #dfbd7b; }

/* Keep the art direction at a single viewing width on desktop displays. */
:root { --page-width: 1160px; }
body { background: #100e0f; }
body > .pz-nav, body > main, body > .pz-foot {
  max-width: var(--page-width);
  margin-inline: auto;
}
@media (min-width: 761px) {
  .key-scene { height: auto; aspect-ratio: 1899 / 828; container-type: inline-size; }
  .key-copy { left: 5%; top: 6%; }
  .key-copy .event-venue { font-size: clamp(11px, 1.05cqw, 14px); }
  .key-copy .key-line { font-size: 2cqw; margin: .45em 0 0; }
  .key-line > span { font-size: clamp(15px, 1.6cqw, 20px); }
  .key-line .launch-lettering { width: 26cqw; }
  .key-scene h1 { width: 36%; left: 4.5%; bottom: 2%; }
  .hero-credit a { width: 45%; }
  .santa-help { left: max(12px, calc((100% - var(--page-width)) / 2 + 12px)); }
}
@media (min-width: 1160px) {
  #letter { --scene-height: 490px; padding-block: 66px; }
}

.film-controls {
  display: flex; align-items: center; gap: clamp(4px, 1vw, 12px);
  background: #171415; color: #fbf2de; padding: 1px clamp(4px, 1vw, 12px);
  border-top: 1px solid #6b583c; font: 600 12px/1.2 var(--event-body);
}
.film-controls[hidden], .film-controls button[hidden] { display: none; }
.film-controls button {
  min-height: 44px; min-width: 44px; padding: 0 .4em;
  color: inherit; border: 0; background: none; font: inherit; white-space: nowrap;
}
.film-controls button:hover, .film-controls button:focus-visible { color: #ffdb90; }
.film-controls input { min-width: 25px; flex: 1; height: 44px; margin: 0; accent-color: #dfbd7b; cursor: pointer; }
.film-time { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 380px) {
  .film-controls { gap: 2px; font-size: 11px; }
}
.station-film-bezel:fullscreen { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 0; background: #080708; }
.station-film-bezel:fullscreen video { width: 100%; min-height: 0; flex: 1; }
