a[data-link][hidden]{display:none!important}
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}
html.lenis{scroll-behavior:auto!important}
#world{display:block;pointer-events:none!important}
html:not(.world-on) #world{visibility:hidden}
html.no-webgl #world{display:none!important}
html:not(.js) [data-preloader],html.rm [data-preloader],html.no-arrival [data-preloader]{display:none!important}
html.is-loaded [data-preloader]{pointer-events:none!important}
html.is-entered [data-preloader]{visibility:hidden!important}
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 800; font-display: swap; src: url('../fonts/Fraunces-italic-400-800.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/Fraunces-normal-400-800.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/InstrumentSans-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/InstrumentSans-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/DMMono-normal-400.woff2') format('woff2'); }
/* longpause: a sun-bleached main street from 11:52 to dusk. Colours from the pack; one glow (accent); Buy only in accentDeep. */
:root {
  --paper: #f7ebe3;
  --paper2: #eddacf;
  --ink: #302117;
  --ink-soft: #624e41;
  --accent: #e98549;
  --accent-deep: #aa4f18;
  --deep: #392518;
  --night: #18100c;
  --on-night: #f6eeea;
  --on-night-soft: #cbbcb4;
  --peach: #f3c89a;
  --sand: #dcb48e;
  --rust: #6b3a1e;
  --rust-ink: #8a3f12; /* a deeper tint of accentDeep for words on light grounds; accentDeep itself is kept for Buy */
  --veil: rgba(247, 235, 227, .74);
  --veil: color-mix(in srgb, var(--paper) 76%, transparent);
  --hair: rgba(48, 33, 23, .22);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --m: 18px;
  --g: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sun: 120;
}
@media (min-width: 900px) { :root { --m: 7vw; --g: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: italic; font-synthesis: none; }
h1, h2, h3, .duel__a, .duel__b, .truce__fit { overflow-wrap: normal; word-break: keep-all; hyphens: none; }
h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.015em; margin: 0; }
h2 em, h3 em { font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rust-ink); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- the stage ---------- */
#world { position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; z-index: 0; display: block; pointer-events: none; }
main { position: relative; z-index: 2; overflow-x: clip; }
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .055;
  background-image: 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%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- arrival: the saloon doors ---------- */
.doors { display: none; }
/* Half-height batwing doors in a doorway full of noon: bleached street glare above and below them, angled louvres
   with thin bands of noon light between, and a light gap at the centre that widens and brightens with --load. */
html.js:not(.rm):not(.no-arrival) .doors {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; display: block; perspective: 1600px;
  background:
    radial-gradient(70% 45% at 50% 50%, rgba(255, 250, 240, calc(.35 + var(--load, 0) * .5)), rgba(255, 250, 240, 0) 70%),
    linear-gradient(180deg, #fbf3e8 0%, #f6e4cf 22%, #efd6b9 50%, #e4c099 78%, #d4a77a 100%);
  animation: doorsFailsafe .01s linear 4s forwards;
}
.doors__leaf {
  position: absolute; top: 25%; bottom: 25%; width: calc(50% - 2px);
  background-color: #3a2416;
  background-image:
    repeating-linear-gradient(180deg,
      #7a5236 0, #5e3e28 9px, #3f2818 15px,              /* one louvre, lit on its upper face, falling into shade */
      rgba(233, 133, 73, .55) 15px, rgba(255, 236, 205, .9) 16.5px, rgba(233, 133, 73, .55) 18px, /* the noon band */
      #7a5236 18px),
    linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 14%, transparent 86%, rgba(0, 0, 0, .3));
  background-origin: content-box; background-clip: content-box;
  padding: 22px 26px;
  box-shadow: inset 0 0 0 22px #4a2f1e, inset 0 0 0 24px #24150c, 0 30px 60px -20px rgba(57, 37, 24, .45);
  transition: transform .45s cubic-bezier(.65, 0, .35, 1), opacity .15s linear .3s;
}
.doors__leaf--l { left: 0; transform-origin: 0 50%; clip-path: polygon(0 0, 100% 14%, 100% 100%, 0 100%); }
.doors__leaf--r { right: 0; transform-origin: 100% 50%; clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); }
.doors__rail { position: absolute; left: 22px; right: 22px; top: 52%; height: 22px; background: #4a2f1e; box-shadow: 0 1px 0 #24150c, 0 -1px 0 #7a5236; }
.doors__sign {
  position: absolute; z-index: 2; left: 50%; top: calc(75% + 22px); transform: translateX(-50%); white-space: nowrap;
  font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.doors::after { /* the light between the leaves */
  content: ""; position: absolute; left: 50%; top: 25%; bottom: 25%;
  width: calc(2px + var(--load, 0) * 18px); transform: translateX(-50%);
  background: linear-gradient(180deg, #fffaf2, #fff1dc 50%, #fffaf2);
  opacity: calc(.45 + var(--load, 0) * .55); box-shadow: 0 0 calc(10px + var(--load, 0) * 40px) calc(2px + var(--load, 0) * 10px) rgba(255, 226, 190, .75);
}
html.is-loaded .doors__leaf--l { transform: rotateY(100deg); opacity: 0; }
html.is-loaded .doors__leaf--r { transform: rotateY(-100deg); opacity: 0; }
html.is-loaded .doors::after { opacity: 0; transition: opacity .2s; }
html.is-loaded .doors__sign { opacity: 0; transition: opacity .15s; }
html.is-loaded .doors { opacity: 0; visibility: hidden; transition: opacity .2s linear .28s, visibility 0s linear .5s; }
@keyframes doorsFailsafe { to { visibility: hidden; opacity: 0; } }

/* ---------- header ---------- */
.bar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 30; height: 64px;
  display: flex; align-items: center; gap: 14px;
  padding: 0 var(--m); padding-top: env(safe-area-inset-top);
  transition: background-color .4s, box-shadow .4s;
}
html.is-scrolled .bar {
  background: rgba(247, 235, 227, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--hair);
}
.bar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; color: var(--ink); }
.bar__brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.bar__name { font: 700 19px/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.bar__nav { display: none; }
.bar__nav a, .bar__motion {
  font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; position: relative; padding: 8px 0; background: none; border: 0; cursor: pointer;
}
.bar__nav a i { font-style: normal; color: var(--rust-ink); margin-right: 6px; }
.bar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease);
}
.bar__nav a:hover::after, .bar__nav a.is-active::after, .bar__nav a:focus-visible::after { transform: scaleX(1); transform-origin: 0 50%; }
.bar__motion { border: 1px solid var(--hair); border-radius: 999px; padding: 8px 12px; }
.bar__motion:hover { border-color: var(--ink); }
.bar__x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--hair); }
.bar__x:hover { border-color: var(--ink); }
.bar__burger { width: 40px; height: 40px; border: 1px solid var(--hair); border-radius: 999px; background: var(--paper); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.bar__burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.bar__burger[aria-expanded="true"] i:first-child { transform: translateY(3.3px) rotate(45deg); }
.bar__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.3px) rotate(-45deg); }
#nav.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: fixed; left: 12px; right: 12px; top: calc(70px + env(safe-area-inset-top));
  background: var(--paper); border: 1px solid var(--hair); border-radius: 8px; padding: 14px 18px 18px;
  box-shadow: 0 18px 40px rgba(48, 33, 23, .18);
}
#nav.is-open a { font-size: 13px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
#nav.is-open .bar__motion { margin-top: 12px; align-self: flex-start; }
@media (max-width: 379px) { .bar__name { display: none; } }
@media (min-width: 1100px) {
  .bar__nav { display: flex; align-items: center; gap: 22px; margin-right: 8px; }
  .bar__burger { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  font: 600 15px/1 var(--body); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: box-shadow .35s var(--ease), background-color .3s, color .3s, transform .2s;
}
.btn:active { transform: scale(.97); }
.btn--buy { background: var(--accent-deep); color: var(--paper); border: 0; box-shadow: 0 0 0 0 rgba(233, 133, 73, 0); }
.btn--buy:hover, .btn--buy:focus-visible { box-shadow: 0 0 0 4px rgba(233, 133, 73, .35), 0 10px 34px rgba(233, 133, 73, .55); }
.btn--ghost { color: var(--ink); border: 1.5px solid var(--ink); background: rgba(247, 235, 227, .55); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 13px; }

.shotcard {
  font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.shotcard::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.kicker { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-ink); margin-bottom: 12px; }
.card-stock {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hair); border-radius: 0px;
  box-shadow: 0 0 0 6px rgba(247, 235, 227, .5), 0 30px 60px -30px rgba(57, 37, 24, .45);
}

/* ---------- hero: duel symmetry ---------- */
.noon { position: relative; min-height: 100svh; }
.noon__bg { position: absolute; inset: 0; overflow: hidden; }
.noon__plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.noon__cat {
  position: absolute; left: 50%; bottom: 25svh; height: 44svh; width: auto; max-width: none;
  transform: translateX(-50%); filter: drop-shadow(0 18px 14px rgba(57, 37, 24, .35));
}
/* no-WebGL: a street under the cat and a hitching rail in front of him (CSS only, shown when the world is off) */
.noon__street, .noon__rail { display: none; }
html.no-webgl .noon__street {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 34svh;
  background:
    linear-gradient(180deg, rgba(201, 154, 108, 0), rgba(201, 154, 108, .55) 30%, rgba(160, 112, 72, .7)),
    repeating-linear-gradient(90deg, transparent 0 46%, rgba(120, 80, 50, .18) 46% 47%, transparent 47% 53%, rgba(120, 80, 50, .18) 53% 54%, transparent 54% 100%);
}
html.no-webgl .noon__rail {
  display: block; position: absolute; left: calc(50% - 30svh); bottom: 18svh; width: 24svh; height: 14svh;
  background:
    linear-gradient(90deg, #6e4630 0 8%, transparent 8% 92%, #6e4630 92%) 0 0 / 100% 100% no-repeat,
    linear-gradient(180deg, transparent 0 14%, #8a5a40 14% 26%, transparent 26%) 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 4px rgba(57, 37, 24, .35));
}
html.world-on .noon__bg { visibility: hidden; }
.noon__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 235, 227, .82) 0%, rgba(247, 235, 227, .5) 24%, rgba(247, 235, 227, 0) 36%),
    linear-gradient(0deg, rgba(247, 235, 227, .82) 0%, rgba(247, 235, 227, .45) 18%, rgba(247, 235, 227, 0) 30%);
}
.noon__inner { position: relative; padding: calc(78px + env(safe-area-inset-top)) var(--m) 0; }
.shotcard--hero { margin-bottom: 10px; }
.duel { margin: 0; font-weight: 400; }
.duel__name { display: block; font: 800 clamp(48px, 13vw, 150px)/.95 var(--display); letter-spacing: -.025em; }
.duel__cell { display: block; overflow: hidden; padding: .02em 0 .06em; }
.duel__cell--a { width: 74%; }
.duel__cell--b { width: 74%; margin-left: auto; text-align: right; }
.duel__a, .duel__b {
  display: block; white-space: nowrap; font-size: var(--fit, 14vw); line-height: .95;
  color: var(--ink);
  background-image: linear-gradient(calc(var(--sun) * 1deg), var(--ink) 30%, var(--rust) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.duel__b { font-size: var(--duel, var(--fit, 14vw)); }
.duel__punch {
  display: block; margin-top: 46svh;
  font: 600 21px/1.18 var(--display); letter-spacing: -.005em; color: var(--ink); max-width: 30ch;
}
.duel__punch em { display: block; color: var(--rust-ink); font-weight: 600; }
.act { position: relative; margin-top: 18px; min-height: 64px; padding-bottom: 96px; }
.act__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.status { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.status span { background: rgba(247, 235, 227, .82); padding: 3px 6px; }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; animation: blinkDot 2.6s ease-in-out infinite; }
[data-status] { transition: opacity .35s; }
[data-status].is-swap { opacity: 0; }
@keyframes blinkDot { 50% { opacity: .25; } }
.noon__cue {
  display: none; position: absolute; left: 50%; bottom: 3.2svh; transform: translateX(-50%);
  font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
  align-items: center; gap: 10px; white-space: nowrap;
}
.noon__cue i { width: 1px; height: 22px; background: var(--ink-soft); transform-origin: 50% 0; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: 50% 0; } 51% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

/* the CA as an admission stub */
.stub {
  position: relative; margin-top: 14px; padding: 14px 16px 14px 26px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--hair);
  box-shadow: 0 24px 40px -26px rgba(57, 37, 24, .5);
}
.stub::before { /* perforation */
  content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--ink-soft) 0 3px, transparent 3px 8px); opacity: .5;
}
.stub::after { /* the punch hole on copy */
  content: ""; position: absolute; right: 16px; top: 14px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--deep); transform: scale(0); transition: transform .3s var(--ease);
}
html.ca-copied .stub::after { transform: scale(1); }
.stub__label { font: 500 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.stub__label span { color: var(--rust-ink); }
#ca-copy {
  display: block; width: 100%; text-align: left; margin: 8px 0 10px; padding: 10px 12px;
  background: rgba(237, 218, 207, .6); border: 1px dashed rgba(48, 33, 23, .35); border-radius: 8px;
  color: var(--ink); cursor: pointer; transition: background-color .25s, border-color .25s;
}
#ca-copy:hover { background: var(--paper2); border-color: var(--ink); }
#ca-text { display: block; font: 500 13px/1.45 var(--mono); overflow-wrap: anywhere; word-break: break-all; }
.ca__tap { display: block; margin-top: 4px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rust-ink); }
#ca-copy.is-copied { background: var(--paper2); border-style: solid; }
.stub__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; text-decoration: none;
  font: 500 12px/1 var(--body); color: var(--ink); background: var(--paper);
  border: 1px dashed rgba(48, 33, 23, .35); border-radius: 4px; transition: background-color .25s, border-color .25s, transform .2s;
}
.tab:hover, .tab:focus-visible { background: var(--paper2); border-style: solid; border-color: var(--ink); transform: translateY(-2px); }
.tab img { width: 16px; height: 16px; }

@media (min-width: 900px) {
  .noon { min-height: 100svh; }
  .noon__cat { height: 58svh; bottom: 22svh; }
  .noon__bg { --cat-b: 22svh; }
  .noon__veil { /* local scrims only where the words sit, and a darker foreground so the beard is the brightest thing */
    background:
      radial-gradient(30% 34% at 20% 38%, rgba(247, 235, 227, .62), rgba(247, 235, 227, .32) 55%, rgba(247, 235, 227, 0) 100%),
      radial-gradient(22% 26% at 82% 34%, rgba(247, 235, 227, .5), rgba(247, 235, 227, 0) 100%),
      linear-gradient(0deg, rgba(57, 37, 24, .36) 0%, rgba(57, 37, 24, .14) 14%, rgba(57, 37, 24, 0) 26%);
  }
  .noon__cue { background: rgba(247, 235, 227, .86); padding: 6px 10px; color: var(--ink); }
  .noon__inner {
    padding: 0; position: absolute; left: var(--m); right: var(--m); top: 17svh;
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g);
  }
  .shotcard--hero { grid-column: 1 / -1; grid-row: 1; }
  .duel { grid-column: 1 / -1; grid-row: 2; position: relative; }
  .duel__cell { width: calc((100% - 11 * var(--g)) / 12 * 4 + 3 * var(--g)); }
  .duel__cell--b { position: absolute; top: 0; right: 0; margin: 0; }
  .duel__punch { margin-top: 3.2svh; max-width: calc((100% - 11 * var(--g)) / 12 * 4 + 3 * var(--g)); font-size: clamp(26px, 2.25vw, 36px); }
  .act { grid-column: 9 / -1; grid-row: 2; align-self: start; margin-top: calc(var(--name-h, 9vw) + 3.2svh); padding-bottom: 0; }
  .act__row { justify-content: flex-end; }
  .status { justify-content: flex-end; }
  .noon__cue { display: flex; }
}

/* ---------- stop 2: the plot ---------- */
.plot { position: relative; min-height: 150svh; padding: 18svh var(--m) 32svh; }
.plot__panel { padding: 28px 24px 30px; max-width: 560px; }
.plot__panel h2 { font-size: clamp(34px, 4.2vw, 60px); }
.plot__panel h2 em { display: block; color: var(--rust-ink); }
.plot__lede { margin-top: 18px; color: var(--ink-soft); font-size: 18px; max-width: 42ch; }
.plot__takes { display: grid; gap: 18px; margin-top: 30svh; counter-reset: take; }
.card {
  position: relative; background: var(--paper); color: var(--ink); padding: 22px 22px 24px;
  border: 1px solid var(--hair); border-radius: 0px; box-shadow: 0 26px 50px -30px rgba(57, 37, 24, .5);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { /* the tack holding the take to the post */
  content: ""; position: absolute; top: 10px; left: 50%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%;
  background: var(--deep); box-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}
.card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 34px 60px -30px rgba(57, 37, 24, .6); }
.card .card__num {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px;
  font: italic 600 34px/1 var(--display); font-synthesis: none; color: var(--rust-ink);
}
.card .card__num::before { content: "Take"; font: 500 11px/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.card h3 { font-size: 24px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 16px; }
@media (min-width: 900px) {
  .plot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-top: 20svh; }
  .plot__panel { grid-column: 1 / span 5; padding: 40px 40px 42px; }
  .plot__takes { grid-column: 5 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22svh; align-items: start; }
  .plot__takes .card:nth-child(2) { margin-top: 48px; }
  .plot__takes .card:nth-child(3) { margin-top: 96px; }
}

/* ---------- stop 3: the close-up (pinned) ---------- */
.closeup { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.closeup__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: none; }
.closeup__head { position: absolute; z-index: 1; left: var(--m); top: calc(96px + env(safe-area-inset-top)); max-width: 560px; isolation: isolate; }
/* a scene moment: the words stand in the noon air over the street, on a soft local scrim, no card */
.closeup__head::before {
  content: ""; position: absolute; left: -12vw; top: -8vh; right: -10vw; bottom: -8vh; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(247, 235, 227, .82), rgba(247, 235, 227, .5) 55%, rgba(247, 235, 227, 0));
}
.closeup__head .shotcard { color: var(--ink); }
.closeup__line { font: 700 clamp(30px, 3.4vw, 50px)/1.05 var(--display); letter-spacing: -.015em; color: var(--ink); display: block; }
.closeup__line em { color: var(--rust-ink); }
.billing { /* over the beard, low and left: never over the face */
  position: absolute; left: var(--m); bottom: 6svh; width: min(520px, calc(100% - 2 * var(--m)));
  background: var(--paper); color: var(--ink); text-align: left; padding: 20px 26px 22px;
  border-top: 3px double var(--ink); border-bottom: 3px double var(--ink);
  box-shadow: 0 30px 60px -28px rgba(24, 16, 12, .6);
}
.billing__over { font: 500 12px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.billing__title { font: italic 700 clamp(48px, 7vw, 96px)/1 var(--display); font-synthesis: none; color: var(--rust-ink); margin: 6px 0 10px; }
.billing__cap { font-size: 16px; color: var(--ink-soft); }

/* ---------- stop 4: the lobby cards ---------- */
/* the close-up holds the screen until #lobby reaches the top; the lobby's words only enter after the cut */
.lobby { position: relative; min-height: 190svh; padding: 96svh 0 14svh; }
.lobby__head { margin: 0 var(--m); padding: 18px 20px 20px; max-width: 600px; background: rgba(247, 235, 227, .86); }
.lobby__head h2 { font-size: clamp(44px, 6vw, 88px); }
.lobby__head h2 em { color: var(--rust-ink); }
.lobby__head p:last-child { margin-top: 10px; font-size: 18px; display: inline-block; background: var(--veil); padding: 4px 10px; color: var(--ink); }
.lobby__head .shotcard { background: var(--veil); display: inline-flex; padding: 4px 10px; }
.lobby__case {
  position: relative; margin: 26svh var(--m) 0; padding: 22px 0 18px;
  background: linear-gradient(180deg, #4a2f1e, var(--deep)); border-radius: 0px;
  box-shadow: inset 0 0 0 8px #5d3c27, inset 0 0 0 9px #22140c, 0 40px 70px -36px rgba(24, 16, 12, .7);
}
.lobby__case::after { /* glass of the display case */
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .06) 100%);
}
.lobby__strip {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 26px 10px;
  scrollbar-width: none; cursor: grab; counter-reset: lobby;
}
.lobby__strip::-webkit-scrollbar { display: none; }
.lobby__strip:active { cursor: grabbing; }
.lobby__strip figure {
  flex: 0 0 auto; width: min(76%, 320px); margin: 0; scroll-snap-align: start; counter-increment: lobby;
  background: var(--paper); padding: 10px 10px 14px; color: var(--ink);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7);
  transition: transform .5s var(--ease);
}
.lobby__strip figure:hover { transform: translateY(-6px); }
.lobby__strip img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.lobby__strip figcaption { margin-top: 10px; font: italic 600 17px/1.25 var(--display); font-synthesis: none; }
.lobby__strip figcaption::before {
  content: "Lobby card no. " counter(lobby); display: block; margin-bottom: 6px;
  font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--rust-ink);
}
.lobby__ctrl { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 26px 0; }
.lobby__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(246, 238, 234, .45); background: transparent;
  color: var(--on-night); font-size: 18px; cursor: pointer; transition: background-color .25s, color .25s, transform .2s;
}
.lobby__btn:hover, .lobby__btn:focus-visible { background: var(--on-night); color: var(--deep); }
.lobby__btn:active { transform: scale(.94); }
@media (min-width: 900px) { .lobby__case { margin-top: 20svh; } .lobby__strip figure { width: 300px; } }

/* ---------- stop 5: the squint test ---------- */
/* a scene moment: words straight over the golden street on a soft local scrim; the low sun stays the focal point */
.squint { position: relative; min-height: 130svh; padding: 40svh var(--m) 14svh; display: grid; gap: 28px; align-content: start; }
.squint__main {
  padding: 34px 30px 40px; margin: 0 -18px; max-width: 620px;
  background: radial-gradient(farthest-side, rgba(247, 235, 227, .92) 0%, rgba(247, 235, 227, .82) 70%, rgba(247, 235, 227, 0) 100%);
}
.squint__main h2 { font-size: clamp(38px, 4.8vw, 68px); }
.squint__main h2 em { display: block; color: var(--rust-ink); }
.toy { margin-top: 26px; }
.toy__btn {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none;
  font: 600 17px/1 var(--body); color: var(--paper); background: var(--deep);
  border: 0; border-radius: 8px;
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 46px);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); transition: transform .2s, background-color .3s;
}
.toy__btn:hover { background-color: var(--ink); }
.toy__btn.is-held { transform: scale(.97); }
.toy__meter { display: block; position: relative; height: 3px; margin: 16px 0 12px; max-width: 360px; background: rgba(48, 33, 23, .18); overflow: hidden; }
.toy__meter span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--rust-ink); }
.toy__msg { font-size: 16px; color: var(--ink); min-height: 1.5em; }
.toy__count { margin-top: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.toy__count b { color: var(--rust-ink); font-size: 14px; }
.toy.is-won .toy__msg { color: var(--rust-ink); }
.lids { position: fixed; inset: 0; pointer-events: none; z-index: 35; overflow: hidden; display: none; }
html.js:not(.rm) .lids { display: block; }
.lids i { position: absolute; left: 0; right: 0; height: 100vh; background: linear-gradient(180deg, #120b07, #24160d); }
.lids__top { top: -100vh; transform: translateY(calc((var(--sy, 50vh) - 9vh) * var(--p, 0))); border-radius: 0 0 50% 50% / 0 0 6vh 6vh; }
.lids__bot { top: 100vh; transform: translateY(calc((var(--sy, 50vh) - 91vh) * var(--p, 0))); border-radius: 50% 50% 0 0 / 6vh 6vh 0 0; }
/* the stillness clock: a painted sign board, its numeral standing over the street */
.still {
  padding: 30px 40px 44px; max-width: 420px; justify-self: start;
  background: radial-gradient(farthest-side, rgba(36, 22, 13, .72) 0%, rgba(36, 22, 13, .6) 62%, rgba(36, 22, 13, 0) 100%);
}
.still__lbl {
  display: inline-block; transform: rotate(-2deg);
  font: 500 11px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--paper);
  padding: 9px 14px; border: 2px solid #24150c; outline: 1px solid rgba(246, 238, 234, .25); outline-offset: -6px;
  background: repeating-linear-gradient(180deg, #5e3e28 0 9px, #4a2f1e 9px 11px);
  box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .55);
}
.still__num { font: 800 clamp(84px, 10vw, 140px)/1 var(--display); color: var(--on-night); font-variant-numeric: tabular-nums; margin: 14px 0 6px; }
.still__msg { color: var(--on-night); font-size: 16px; }
.still.is-moved .still__msg { color: var(--peach); }
@media (min-width: 900px) {
  .squint { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); padding-top: 46svh; }
  .squint__main { grid-column: 1 / span 5; padding: 40px 44px 46px; margin: 0 -26px; }
  .still { grid-column: 9 / -1; align-self: end; margin-top: 20svh; }
}

/* ---------- buy (sunset) ---------- */
.buy { position: relative; min-height: 110svh; padding: 18svh var(--m) 12svh; }
.buy__panel {
  background: var(--deep); color: var(--on-night); padding: 30px 24px 32px; max-width: 600px;
  border: 1px solid rgba(246, 238, 234, .16); box-shadow: 0 40px 80px -40px rgba(24, 16, 12, .8);
}
.buy__panel .shotcard { color: var(--on-night-soft); }
.buy__panel .kicker { color: var(--peach); }
.buy__panel h2 { font-size: clamp(36px, 4.4vw, 62px); }
.buy__panel h2 em { display: block; color: var(--peach); }
.steps { list-style: none; counter-reset: step; margin: 26px 0 26px; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 52px; border-top: 1px solid rgba(246, 238, 234, .16); color: var(--on-night); }
.steps li:last-child { border-bottom: 1px solid rgba(246, 238, 234, .16); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 12px; font: italic 700 30px/1 var(--display); font-synthesis: none; color: var(--peach); }
.steps b { color: var(--on-night); font-weight: 600; }
@media (min-width: 900px) {
  .buy { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--g); }
  .buy__panel { grid-column: 7 / -1; padding: 42px 44px 44px; }
}

/* ---------- chart ---------- */
.chart { position: relative; padding: 10svh var(--m); }
.chart__board {
  background: linear-gradient(180deg, #4a2f1e, var(--deep)); color: var(--on-night); padding: 22px 18px 18px;
  box-shadow: inset 0 0 0 8px #5d3c27, inset 0 0 0 9px #22140c;
}
.chart__board h2 { font-size: clamp(28px, 3.4vw, 46px); margin: 6px 6px 16px; }
.chart__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; background: var(--night); }
.chart__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart__cap { margin: 12px 6px 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-soft); }
@media (min-width: 900px) { .chart__frame { min-height: 0; } .chart__board { padding: 30px 30px 24px; } }

/* ---------- stop 6: evening truce + finale wordmark ---------- */
.truce { position: relative; min-height: 100svh; padding: 20svh var(--m) 12svh; overflow: hidden; }
.truce::after { /* the last light goes down into the footer: never a blank band */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; pointer-events: none;
  background: linear-gradient(180deg, rgba(24, 16, 12, 0), rgba(24, 16, 12, .55) 55%, rgba(24, 16, 12, .96));
}
.truce__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 55%; display: none; }
.truce__inner { position: relative; }
.truce .shotcard { color: var(--on-night-soft); }
.truce__name { font: 800 10vw/.92 var(--display); letter-spacing: -.03em; margin: 0; overflow: hidden; padding: .04em 0 .08em; }
.truce__fit {
  display: block; white-space: nowrap; font-size: var(--fit, 14vw);
  color: var(--on-night);
  background-image: linear-gradient(180deg, var(--on-night) 35%, var(--peach) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.truce__tag { margin-top: 14px; font: 600 clamp(22px, 2.4vw, 34px)/1.2 var(--display); color: var(--on-night); }

/* ---------- footer: the billing block ---------- */
.credits { position: relative; z-index: 2; background: var(--night); color: var(--on-night-soft); padding: 64px var(--m) calc(48px + env(safe-area-inset-bottom)); text-align: center; }
.credits__inner { max-width: 760px; margin: 0 auto; }
.credits__end { font: italic 600 clamp(30px, 3.4vw, 46px)/1.1 var(--display); font-synthesis: none; color: var(--on-night); }
.credits__block { margin: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font: 500 12px/1.6 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.credits__brand { display: inline-flex; align-items: center; gap: 12px; font: 700 18px/1 var(--display); color: var(--on-night); }
.credits__brand img { width: 40px; height: 40px; border-radius: 8px; }
.credits__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 20px 0; }
.credits__links a, .credits__report a { color: var(--on-night); text-underline-offset: 4px; }
.credits__links a:hover, .credits__report a:hover { color: var(--peach); }
.credits__small { font-size: 13px; line-height: 1.6; max-width: 62ch; margin: 0 auto; }
.credits__report { margin-top: 16px; font-size: 13px; }

/* ---------- wayfinding: the runtime gauge ---------- */
.gauge { display: none; }
.topbar { position: fixed; left: 0; top: 0; width: 100%; height: 2px; z-index: 31; background: var(--accent); transform: scaleX(var(--journey, 0)); transform-origin: 0 50%; pointer-events: none; }
@media (min-width: 900px) {
  .topbar { display: none; }
  .gauge {
    display: block; position: fixed; right: 22px; top: 22svh; bottom: 22svh; width: 2px; z-index: 25; pointer-events: none;
    background: rgba(48, 33, 23, .18);
  }
  .gauge__title { position: absolute; right: -4px; top: -34px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
  .gauge__ticks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
  .gauge__ticks li { position: absolute; right: 8px; top: calc(var(--at, 0) * 100%); transform: translateY(-50%); display: flex; gap: 6px; align-items: center; white-space: nowrap; font: 500 10px/1 var(--mono); letter-spacing: .08em; color: var(--ink-soft); }
  .gauge__ticks li b { font-weight: 500; background: rgba(247, 235, 227, .88); padding: 3px 4px; border-radius: 3px; }
  .gauge__title { background: rgba(247, 235, 227, .88); padding: 3px 4px; border-radius: 3px; }
  .gauge__ticks li span { display: none; text-transform: uppercase; }
  .gauge__ticks li::after { content: ""; width: 6px; height: 1px; background: currentColor; margin-right: -8px; }
  .gauge__fill { position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--rust-ink); transform: scaleY(var(--journey, 0)); transform-origin: 50% 0; }
  .gauge__mark { position: absolute; left: -4px; top: calc(var(--journey, 0) * 100%); width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(233, 133, 73, .25); }
  html[data-stop-current="noon"] .gauge li[data-for="noon"],
  html[data-stop-current="plot"] .gauge li[data-for="plot"],
  html[data-stop-current="closeup"] .gauge li[data-for="closeup"],
  html[data-stop-current="lobby"] .gauge li[data-for="lobby"],
  html[data-stop-current="squint"] .gauge li[data-for="squint"],
  html[data-stop-current="truce"] .gauge li[data-for="truce"] { color: var(--rust-ink); }
  html.rm .gauge__mark, html.rm .gauge__fill { display: none; }
}

/* ---------- motion off: everything rests, finished ---------- */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
html.rm .noon__cue i { transform: none; }
@media (prefers-reduced-motion: reduce) { .noon__cue i, .status__dot { animation: none; } }

/* ---------- 404: off the edge of town ---------- */
body.lost {
  min-height: 100svh; display: grid; place-items: center; padding: 40px var(--m);
  background:
    radial-gradient(60% 40% at 72% 12%, rgba(255, 250, 240, .95), rgba(255, 250, 240, 0) 70%),
    linear-gradient(180deg, #fbf1e6 0%, #f3dcc0 52%, #e2bb92 53%, #d4a77a 100%);
}
.lost__main { max-width: 640px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.lost__logo { width: 96px; height: 96px; border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(57, 37, 24, .6); }
.lost .shotcard { margin: 6px 0 0; }
.lost__title { font: 800 clamp(40px, 7vw, 84px)/1 var(--display); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.lost__title em { display: block; font-weight: 600; color: var(--rust-ink); }
.lost__name { font: 500 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }

/* ---------- without WebGL: a designed CSS noon ---------- */
html.no-webgl body { background: linear-gradient(180deg, #fbf1e6 0%, #f3dcc0 46%, #e2bb92 70%, #c99a6c 100%) fixed; }
html.no-webgl .noon__bg { visibility: visible; }
html.no-webgl .noon__bg::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--cat-b, 25svh) - 14px); width: 260px; height: 34px; margin-left: -130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(57, 37, 24, .45), rgba(57, 37, 24, 0)); }
html.no-webgl .closeup__img { display: block; }
html.no-webgl .closeup { background: var(--deep); }
html.no-webgl .lobby { background: linear-gradient(180deg, #f6dfc4, #e6c4a5); }
html.no-webgl .squint { background: linear-gradient(180deg, #f3b57f, #d58f62); }
html.no-webgl .buy { background: linear-gradient(180deg, #d58f62, #aa4f18 70%, #6b3a1e); }
html.no-webgl .chart { background: #6b3a1e; }
html.no-webgl .truce { background: linear-gradient(180deg, #392518, #7a3e1c 60%, #e98549); }
html.no-webgl .truce__img { display: block; opacity: .55; }
html.no-webgl .truce::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(24, 16, 12, .78), rgba(24, 16, 12, .25) 60%, rgba(24, 16, 12, .6)); }
html.no-webgl .truce__inner { z-index: 2; }
