@font-face {
  font-family: Bricolage;
  src: url('assets/bricolage-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Bricolage;
  src: url('assets/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+20B9;
}

:root {
  --night: #201348;
  --plum: #542650;
  --indigo: #31236f;
  --ocean: #16354e;
  --peach: #ffe0b4;
  --ochre: #ffcb72;
  --chalk: #f6eef2;
  --ink: #301c43;
  --mint: #6dddd0;
  --coral: #ff738c;
  --gut: clamp(20px, 5vw, 72px);
  --max: 1220px;
  --small: .9375rem;
  --body: 1.125rem;
  --lead: clamp(1.125rem, 2vw, 1.5rem);
  --heading: clamp(2.45rem, 5.5vw, 5.25rem);
  --display: clamp(3.38rem, 8.4vw, 8rem);
  --ease: cubic-bezier(.18, .9, .28, 1);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--chalk); background: var(--night); font: 400 var(--body)/1.55 Bricolage, sans-serif; }
::selection { color: var(--ink); background: var(--mint); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.props { position: absolute; pointer-events: none; }
svg, img { display: block; max-width: 100%; }
figure, h1, h2, h3, p, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
h1 { font-size: var(--display); }
h2 { font-size: var(--heading); }
h3 { font-size: var(--lead); line-height: 1.12; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
p + p { margin-top: 1em; }
strong { font-weight: 800; }
button { font: inherit; }
[id] { scroll-margin-top: 20px; }
.wrap { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 16px; left: 20px; z-index: 2; padding: 12px 16px; background: var(--chalk); color: var(--ink); }

.sitebar { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sitebar a { font-size: var(--small); font-weight: 700; text-decoration: none; }
.sitebar a:hover { text-decoration: underline; }
.brand, .sitebar nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 28px); }
.brand { gap: 9px; }
.record-link { background: var(--chalk); color: var(--ink); padding: 10px 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px; min-height: 50px; background: var(--mint); color: var(--ink); border: 0; font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--chalk); }
.button:active { transform: translateY(2px); }
.button:focus-visible { outline-color: var(--chalk); }
.text-link { display: inline-block; margin-top: 1.4rem; font-weight: 700; }

.hero { padding: clamp(20px, 4vh, 52px) 0 clamp(38px, 7vh, 70px); overflow: hidden; text-align: center; }
.hero-copy h1 { max-width: 16ch; margin-inline: auto; }
.hero-copy p { margin: clamp(16px, 3vh, 30px) auto 0; font-size: var(--lead); max-width: 46ch; }
.hero-picture { width: min(100%, 1240px); margin: 12px auto 0; }
.hero-picture svg { width: 100%; max-height: 48vh; }
.hero-end { display: grid; justify-items: center; gap: 16px; margin-top: 10px; }
.hero-end p { font-size: var(--small); }

.act { padding: clamp(66px, 9vw, 130px) 0; }
.spread { display: grid; align-items: center; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 5vw, 76px); }
.chapter-copy h2 + p { margin-top: 26px; }
.chapter-copy > p { max-width: 49ch; }
.shot { min-width: 0; }
.shot svg { width: 100%; height: auto; overflow: visible; }
.offer { background: var(--peach); color: var(--ink); }
.dates { background: var(--ocean); }
.intro-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: end; gap: clamp(20px, 6vw, 100px); }
.intro-line h2 + p { margin: 0; }
.deadline-shot { max-width: 970px; margin: 24px auto 0; }
.under-scene { max-width: 66ch; margin: 0 auto 24px; text-align: center; }
.case-details { max-width: 960px; margin-inline: auto; padding: 15px 18px; background: #204765; }
summary { cursor: pointer; font-weight: 800; }
summary:hover { text-decoration: underline; text-underline-offset: .22em; }
.case-details[open] summary { margin-bottom: 18px; }
.case-details:not([open]) > :not(summary) { display: none; }
.table-wrap { overflow: auto; }
.ledger { text-align: left; border-collapse: collapse; width: 100%; font-size: var(--small); }
.ledger td, .ledger th { padding: 12px 8px; vertical-align: top; }
.ledger tbody tr:nth-child(odd) { background: #16354e; }
.ledger th, .ledger td:not(:nth-child(4)) { font-variant-numeric: tabular-nums; }

.apologies { background: var(--plum); }
.press-spread { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); row-gap: 0; }
.press-spread .chapter-copy { grid-area: 1 / 1; align-self: end; }
.press-controls { grid-area: 2 / 1; align-self: start; }
.press-spread .press { grid-area: 1 / 2 / span 2; }
.chapter-copy blockquote { margin: 24px 0; font-size: var(--lead); line-height: 1.25; font-weight: 700; }
cite { display: block; margin-top: 8px; font-size: var(--small); font-weight: 400; font-style: normal; }
.demo-note { margin-bottom: 8px; font-size: var(--small); }
.press-status { margin: 14px 0 0; min-height: 3.1em; }
.press-count { margin-top: 6px; text-align: center; font-size: var(--lead); font-variant-numeric: tabular-nums; }
.press-count strong { color: var(--ochre); }
.press-sparks { opacity: 0; }
.loop { background: var(--ochre); color: var(--ink); }
.punchline { font-weight: 700; }
.upstairs { background: var(--indigo); }
.upstairs-spread { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.close { background: var(--mint); color: var(--ink); text-align: center; }
.close-inner { max-width: 780px; }
.close p { max-width: 58ch; margin-inline: auto; }
.close h2 + p { margin-top: 24px; font-size: var(--lead); }
.close .button { background: var(--night); color: var(--chalk); margin-top: 24px; }
.close .button:hover { background: var(--plum); }
.close .button:focus-visible { outline-color: var(--ink); }

.record { background: var(--chalk); color: var(--ink); }
.record .intro-line { margin-bottom: 32px; }
.record .case-details { background: #eadfe9; max-width: none; }
.record .case-details + .case-details { margin-top: 10px; }
.record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 50px; padding-top: 8px; }
.record-grid p { max-width: 54ch; }
.record-grid h3 + p, .record-grid h3 + ol, .record-grid h3 + ul { margin-top: 10px; }
.record-grid nav, .record-grid > div { min-width: 0; }
.record-grid ul, .record-grid ol, .sources { padding-left: 1.25em; }
.record-grid li + li, .sources li + li { margin-top: .7em; }
.record blockquote { font-size: var(--body); }
.record blockquote + blockquote { margin-top: 22px; }
.contact-sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 2vw, 22px); margin-top: 36px; }
.contact-sheet img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; }
.contact-sheet figcaption { margin-top: 8px; font-size: var(--small); line-height: 1.35; }
.foot { padding: 44px 0 54px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 35px; justify-content: space-between; align-items: baseline; }
.foot strong { font-size: var(--lead); }
.foot p { font-size: var(--small); }

@media (max-width: 900px) {
  .hero-picture svg { max-height: none; }
  .hero-picture { width: 111%; margin-left: -5.5%; }
  .spread { gap: 30px; }
  .contact-sheet { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 670px) {
  :root { --body: 1.0625rem; }
  .nav-extra { display: none; }
  .hero { padding-top: 36px; }
  .hero-copy h1 { max-width: 11ch; }
  .hero-end { margin-top: 7px; }
  .hero-picture { margin-top: 24px; }
  .spread, .intro-line, .record-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .upstairs-spread .shot { order: 1; }
  .chapter-copy h2 + p { margin-top: 18px; }
  .intro-line h2 + p { margin-top: 0; }
  .record .intro-line { margin-bottom: 24px; }
  .press-spread .chapter-copy, .press-controls, .press-spread .press { grid-area: auto; }
  .press-spread .chapter-copy blockquote { margin-bottom: 0; }
  .press-count { margin-top: 0; }
  .press-status { min-height: 4.65em; }
  .under-scene { text-align: left; }
  .case-details, .ledger td, .ledger th { padding: 10px; }
  .ledger, .ledger tbody { display: block; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ledger tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger th, .ledger td:nth-child(4) { grid-column: 1 / -1; }
  .ledger td::before { content: attr(data-label); display: block; font-weight: 800; }
}

/* ---------- new components ---------- */
.ticker { overflow: hidden; background: var(--coral); color: var(--ink); white-space: nowrap; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ticker-track { display: inline-flex; animation: ticker 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { padding: 9px 0; }
.trail { position: fixed; z-index: 5; inset: 0 0 auto; height: 4px; background: #ffffff22; pointer-events: none; }
.trail i { position: absolute; left: 0; top: 0; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--mint); }
.trail i::after { content: ''; position: absolute; right: -9px; top: -4px; width: 18px; height: 12px; border-radius: 3px; background: var(--coral); box-shadow: 0 0 0 2px var(--night); }

.hero-copy h1 span { display: inline-block; }
.stats { background: var(--chalk); color: var(--ink); padding: clamp(22px, 4vw, 40px) 0; }
.stat-row { list-style: none; margin-block: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; text-align: center; }
.stat-row b { display: block; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: #b83a66; font-variant-numeric: tabular-nums; }
.stat-row span { display: block; margin-top: 6px; font-size: var(--small); line-height: 1.25; }

.days { padding: clamp(60px, 8vw, 110px) 0 0; background: var(--night); }
.days-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: 30px; }
.days-head p { max-width: 42ch; }
.days-list { list-style: none; margin: 0; padding: 0; }
.days-list li { padding: 18px 0; border-top: 1px solid #ffffff2e; }
.days-list h3 { margin: 4px 0 6px; font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.02; }
.days-list p { max-width: 56ch; }
.ev-day { color: var(--ochre); font-size: var(--small); }
.ev-day b { font-weight: 800; }
.days-dials, .rail { display: none; }

.js .days-track { height: 640vh; position: relative; }
.js .days-stage { position: sticky; top: 0; height: 100vh; min-height: 560px; display: grid; align-content: center; gap: 26px; overflow: hidden; }
.js .days-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(18px, 5vw, 70px); align-items: center; }
.js .days-dials { display: grid; justify-items: center; text-align: center; gap: 4px; }
.js .ring { width: min(100%, 280px); }
.ring-arc { transition: stroke .3s; }
.days-dials.closed .ring-arc { stroke: var(--coral); }
.ring-card { transform-box: fill-box; transform-origin: center; }
.days-dials.closed .ring-card { animation: wobble 1.4s ease-in-out infinite; }
.big-day { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.big-day span { font-size: .4em; font-weight: 700; color: #bda9ee; letter-spacing: 0; }
.dial-date { color: var(--ochre); font-weight: 800; }
.dial-row { font-size: var(--small); font-variant-numeric: tabular-nums; }
.js .days-list { display: grid; }
.js .days-list li { grid-area: 1 / 1; align-self: center; border: 0; padding: 0; opacity: 0; transform: translateY(46px) scale(.98); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.js .days-list li.on { opacity: 1; transform: none; pointer-events: auto; }
.js .days-list li.past { transform: translateY(-46px) scale(.98); }
.js .days-list li.on h3 { animation: pop-in .6s var(--ease) both; }
.js .rail { display: block; position: relative; width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; height: 16px; border-radius: 8px; background: #ffffff1f; }
.rail-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); border-radius: 8px; background: var(--mint); }
.rail-card { position: absolute; top: -6px; left: calc(var(--p, 0) * 100% - 14px); width: 28px; height: 28px; border-radius: 7px; background: var(--coral); box-shadow: 0 0 0 3px var(--night); }
.rail-mark { position: absolute; top: 24px; font-size: .75rem; font-weight: 800; color: var(--coral); transform: translateX(-50%); }

.catch { margin-top: clamp(40px, 6vw, 80px); }
.catch-title { margin-bottom: 18px; }
.catch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: s; }
.catch-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: 14px; align-items: center; padding: 14px 18px; background: #ffffff55; font-weight: 700; transform-origin: 0 100%; }
.catch-steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: var(--ochre); font-weight: 800; }
.catch-verdict { margin-top: 18px; text-align: center; }
.catch-verdict span { display: inline-block; padding: 14px 24px; background: var(--ink); color: var(--ochre); font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 800; transform: rotate(-1.5deg); }

.cast { background: var(--indigo); }
.cast .intro-line { margin-bottom: 36px; }
.cast-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cast-card { padding: 20px 20px 24px; background: #ffffff14; border: 1px solid #ffffff22; transition: transform .25s var(--ease), background .25s; }
.cast-card:hover { transform: translateY(-6px) rotate(-.6deg); background: #ffffff22; }
.who { width: 96px; height: auto; margin-bottom: 10px; animation: bob 3s ease-in-out var(--d, 0s) infinite; }
.who .eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.6s infinite; }
.cast-card h3 { font-size: 1.5rem; }
.role { margin: 4px 0 10px; color: var(--ochre); font-size: var(--small); font-weight: 700; line-height: 1.25; }
.cast-card p:last-child { font-size: 1rem; line-height: 1.45; }
.silent { margin-top: 36px; padding: 26px; background: var(--night); }
.silent > p { margin: 6px 0 18px; }
.silent-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; text-align: center; }
.silent-row li { position: relative; display: grid; justify-items: center; padding-top: 28px; }
.silent-row .who { width: 76px; }
.silent-row .who.env { width: 90px; height: 59px; margin: 10px 0 15px; color: inherit; }
.silent-row small { color: #bda9ee; }
.typing { display: inline-flex; gap: 4px; align-items: center; padding: 7px 10px; border-radius: 12px; background: var(--chalk); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8b78c9; animation: dot 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.silent-row .typing { position: absolute; top: 0; }

.replies { background: var(--chalk); color: var(--ink); }
.replies .intro-line { margin-bottom: 34px; }
.thread { display: grid; gap: clamp(30px, 5vw, 58px); max-width: 920px; margin-inline: auto; }
.exchange { display: grid; gap: 12px; }
.msg { position: relative; max-width: min(100%, 640px); padding: 14px 18px 16px; border-radius: 18px; font-size: 1.0625rem; line-height: 1.5; }
.msg .who-line { margin-bottom: 4px; font-size: .8125rem; letter-spacing: .02em; text-transform: uppercase; }
.msg.them { justify-self: start; background: #fff; box-shadow: 0 2px 0 #d9c9d6; border-bottom-left-radius: 4px; border-left: 6px solid #e2536f; }
.msg.me { justify-self: end; background: var(--ink); color: var(--chalk); border-bottom-right-radius: 4px; }
.msg.me .who-line { color: var(--ochre); }
.msg .typing { display: none; }
.msg + .msg { margin-top: 0; }

.on-request { margin-top: 14px; padding: 12px 14px; background: #fff; border-left: 6px solid #e2536f; }

@media (max-width: 900px) {
  .cast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .days-head { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 670px) {
  .cast-grid { grid-template-columns: 1fr; }
  .silent-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .js .days-grid { grid-template-columns: 1fr; gap: 10px; }
  .js .days-stage { gap: 16px; }
  .js .ring { width: 130px; }
  .js .days-dials { grid-template-columns: 130px 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 16px; }
  .js .days-dials .ring { grid-row: 1 / span 3; }
  .js .days-list li { align-self: start; }
  .js .days-list h3 { font-size: 1.5rem; }
  .msg { font-size: 1rem; }
}

/* ---------- motion: everything runs only while its scene is on screen ---------- */
.hero-card, .hero-gear, .hero-rays, .tag-a, .tag-b, .time-mail, .press-lever, .press-letter, .press-gear, .press-head, .lost-card, .lift-cab { transform-box: fill-box; transform-origin: center; }
.press-lever { transform-box: view-box; transform-origin: 474px 272px; }

.js .hero-copy h1 span { animation: rise .8s var(--ease) calc(var(--i) * .13s) both; }
.js .hero-copy p, .js .hero-end { animation: rise .8s .7s var(--ease) both; }

.is-playing .hero-card { animation: card-drop 1.9s var(--ease) both, bob 3.2s ease-in-out 1.9s infinite; }
.is-playing .hero-lights { animation: signal .5s .25s infinite alternate; }
.is-playing .hero-rays { animation: spark 2.2s ease-in-out infinite; }
.is-playing .hero-gear { animation: spin 7s linear infinite; }
.is-playing .gear-right { animation-direction: reverse; }
.is-playing .belt { animation: roll .9s linear infinite; }
.is-playing .price-card { animation: flinch 3.4s .4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.is-playing .tag-a { animation: snap-left .85s var(--ease) both, sway 3s .9s ease-in-out infinite alternate; }
.is-playing .tag-b { animation: snap-right .85s .16s var(--ease) both, sway 3.4s 1s ease-in-out infinite alternate-reverse; }
.is-playing .date-track { animation: time-track 1.4s linear infinite; }
.is-playing .time-mail { animation: backdate 6s var(--ease) infinite; }
.is-playing .hand.fast { animation: spin 1.8s linear infinite; }
.is-playing .hand.slow { animation: spin 40s linear infinite; }
.is-playing .lost-card { animation: fall-through 5s ease-in-out infinite; }
.is-playing .hatch { animation: open-hatch 5s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
.is-playing .lift-light { animation: lift-signal 6s linear infinite; }
.is-playing .lift-cab { animation: elevator 6s ease-in-out infinite; }
.is-playing .returned { animation: return-slip 6s steps(1, end) infinite; }
.is-playing .press-gear { animation: spin 5s linear infinite; }
.is-printing .press-lever { animation: pull .78s ease-in-out; }
.is-printing .press-head { animation: stamp .78s ease-in-out; }
.is-printing .press-letter { animation: eject 1.05s var(--ease); }
.is-printing .press-gear { animation: crank 1.05s var(--ease); }
.is-printing .press-sparks { animation: spark .65s .26s both; }

.js .catch-steps:not(.is-playing) li, .js .catch-verdict:not(.is-playing) span { opacity: 0; }
.catch-steps.is-playing li { animation: domino .6s calc(var(--i) * .5s) var(--ease) both; }
.catch-verdict.is-playing span { animation: stamp-in .6s 4.3s var(--ease) both; }

.js .exchange:not(.is-playing) .msg { opacity: 0; }
.exchange.is-playing .them { animation: bubble-l .5s var(--ease) both; }
.exchange.is-playing .me { animation: bubble-r .4s .9s var(--ease) both; }
.exchange.is-playing .me .typing { display: inline-flex; position: absolute; right: 16px; top: 12px; animation: dot-hide .01s 2s both; }
.js .words .w { opacity: 0; }
.exchange.is-playing .words .w { animation: word .01s calc(2s + var(--i) * 42ms) both; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(.5em) rotate(2deg); } }
@keyframes bob { 50% { transform: translateY(-7px); } }
@keyframes blink { 0%, 92%, 100% { transform: none; } 95% { transform: scaleY(.1); } }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes pop-in { from { transform: scale(.9) rotate(-1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes domino { 0% { opacity: 0; transform: translateX(-60px) rotate(-6deg); } 70% { transform: translateX(6px) rotate(1deg); } 100% { opacity: 1; transform: none; } }
@keyframes stamp-in { 0% { opacity: 0; transform: scale(3) rotate(10deg); } 70% { opacity: 1; transform: scale(.94) rotate(-2.5deg); } 100% { opacity: 1; transform: rotate(-1.5deg); } }
@keyframes bubble-l { from { opacity: 0; transform: translateX(-40px); } }
@keyframes bubble-r { from { opacity: 0; transform: translateX(40px); } }
@keyframes word { from { opacity: 0; } to { opacity: 1; } }
@keyframes dot-hide { to { opacity: 0; visibility: hidden; } }
@keyframes card-drop { 0% { transform: translateY(-84px) rotate(-17deg); opacity: 0; } 11% { opacity: 1; } 45% { transform: translateY(19px) rotate(7deg); } 66% { transform: translateY(-8px) rotate(-2deg); } 100% { transform: none; } }
@keyframes signal { 50% { opacity: .26; } }
@keyframes flinch { 0%, 30%, 100% { transform: none; } 8% { transform: rotate(-8deg) translateY(5px); } 16% { transform: rotate(3deg); } }
@keyframes time-track { from { stroke-dashoffset: -99; } to { stroke-dashoffset: 0; } }
@keyframes lift-signal { 0%, 20%, 56%, 100% { opacity: .24; } 26%, 48% { opacity: 1; } }
@keyframes crank { to { transform: rotate(180deg); } }
@keyframes roll { to { stroke-dashoffset: -36; } }
@keyframes spark { 0%, 100% { opacity: 0; } 35% { opacity: 1; } }
@keyframes snap-left { 0% { transform: translate(-58px, -20px) rotate(-23deg); opacity: .2; } 75% { transform: rotate(7deg); } }
@keyframes snap-right { 0% { transform: translate(55px, 16px) rotate(26deg); opacity: .15; } 75% { transform: rotate(-8deg); } }
@keyframes backdate { 0%, 5% { transform: translate(235px, 77px) rotate(11deg) scale(.75); opacity: 0; } 12% { opacity: 1; } 27% { transform: translate(120px, -12px) rotate(-10deg); } 41% { transform: translate(-151px, 28px) rotate(-19deg); } 50% { transform: translate(-255px, 82px) rotate(-6deg) scale(.78); } 60%, 90% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
@keyframes fall-through { 0%, 40% { transform: translateY(-60px) rotate(-8deg); opacity: 1; } 55%, 85% { transform: translateY(21px) rotate(16deg); opacity: 1; } 95%, 100% { transform: translateY(40px) rotate(16deg); opacity: 0; } }
@keyframes open-hatch { 0%, 33% { transform: none; } 46%, 86% { transform: rotate(18deg) scaleX(.48); } 96%, 100% { transform: none; } }
@keyframes elevator { 0%, 8%, 70%, 100% { transform: none; } 30%, 42% { transform: translateY(-211px); } }
@keyframes return-slip { 0%, 68% { opacity: 0; } 72%, 96% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pull { 0%, 100% { transform: none; } 36%, 55% { transform: rotate(58deg); } }
@keyframes stamp { 0%, 24%, 100% { transform: none; } 38%, 53% { transform: translateY(35px); } }
@keyframes eject { 0%, 39%, 100% { transform: none; } 61% { transform: translate(38px, 37px) rotate(-12deg); } 87% { transform: translate(160px, 112px) rotate(26deg); opacity: 1; } 94% { transform: translate(182px, 131px) rotate(32deg); opacity: 0; } 96% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:active { transform: none; }
}
