/* Fonts, colours and the plain page (what you get without JavaScript). */
@font-face { font-family: "Space Mono"; src: url("../fonts/SpaceMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/SpaceMono-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Fraunces Roman"; src: url("../fonts/Fraunces-Roman.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Syncopate"; src: url("../fonts/Syncopate-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #07070c; --red: #f8385e; --cold: #eef0f6; --deep: #1e1d30;
  --mauve: #8080b2; --lavender: #c7b9e9; --bluegrey: #adb5cf; --glow: #cdbad4;
  --ink: var(--cold); --paper: var(--black);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--black); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 Inter, system-ui, sans-serif; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.mono { font-family: "Space Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.voice { font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 400; }
.title { font-family: Syncopate, Inter, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2; }
.small { font-size: 11px; }
.faint { opacity: .6; }
.alarm { color: var(--red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* top bar */
#bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: env(safe-area-inset-top) 16px 0; font-size: 10px; background: linear-gradient(rgba(7,7,12,.9), rgba(7,7,12,0)); }
#bar, #bar nav > * { white-space: nowrap; }
#bar nav { display: flex; align-items: center; gap: 2px; }
#bar .wide { margin-left: .6em; }
@media (max-width: 420px) { #bar .city { display: none; } } /* the narrowest phones keep the date, the switch, Skip and Book */
/* Sound: a switch with two positions; the one that is lit is the current one. */
#bar-sound { gap: 0; }
#bar-sound .speaker { margin-right: 6px; flex: none; }
#bar-sound .seg { padding: 5px 7px; border: 1px solid currentColor; opacity: .55; line-height: 1; }
#bar-sound .seg + .seg { border-left: 0; }
#bar-sound[aria-checked="true"] [data-seg="on"], #bar-sound[aria-checked="false"] [data-seg="off"] { background: var(--cold); border-color: var(--cold); color: var(--black); opacity: 1; font-weight: 700; }
@media (max-width: 520px) { #bar .wide { display: none; } }
#bar nav > * { min-height: 44px; padding: 0 6px; display: inline-flex; align-items: center; text-decoration: none; font: inherit; letter-spacing: inherit; text-transform: inherit; }
#bar .book-small { min-height: 44px; padding: 0 14px; margin-left: 4px; font-size: 12px; font-weight: 700; background: var(--red); color: #12060a; }

/* booking button, shared by the story and the show */
.book { display: inline-block; background: var(--red); color: #12060a; padding: 16px 26px; text-decoration: none;
  font: 700 12px/1.2 "Space Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
html:not(.js) .price span + span::before { content: " · then "; } /* both prices show only without JavaScript */
.quiet { font-size: 13px; opacity: .75; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }

/* Without JavaScript the story is a readable column of text. */
html:not(.js) #stage, html:not(.js) #caption, html:not(.js) #bar-sound, html:not(.js) #bar-skip,
html:not(.js) .scene .actions { display: none; }
html:not(.js) .scene { max-width: 34rem; margin: 4rem auto; padding: 0 1.5rem; text-align: center; }
html:not(.js) .scene > * + * { margin-top: .9rem; }
html:not(.js) .scene .voice { font-size: 21px; line-height: 1.35; }
html:not(.js) .scene .big { font-size: 26px; }
html:not(.js) .scene .label, html:not(.js) .scene .credit { font-size: 10px; opacity: .65; }
html:not(.js) .denied-stack span { display: block; font-weight: 700; }
html:not(.js) .name { font: 700 64px/1 "Space Mono", monospace; }
html:not(.js) .cut-card > * + * { margin-top: 1rem; }
html:not(.js) .scene + .scene { border-top: 1px solid rgba(238,240,246,.14); padding-top: 4rem; }
