/* Story page. Built on styles.css (tokens, fonts, nav, footer, buttons).
   Without script (or with reduced motion) this is a plain, complete list: every chapter is
   readable in order and nothing is hidden. story.js adds html.js-story-d (a pinned horizontal
   timeline, wide and tall screens) or html.js-story-m (a vertical timeline that draws as you
   scroll); only then do the entrance states below apply. Only transform and opacity move
   (plus the path's stroke-dashoffset). */

.story-page { background: var(--paper); }
:root { --k: .62; }

/* ============ Hero ============ */
.shero { background: var(--paper); padding: 12px 12px 0; }
.shero__frame {
  position: relative; isolation: isolate; overflow: clip; color: var(--paper); background: var(--ink); border-radius: 28px;
  min-height: min(max(560px, 78svh), 760px); display: flex;
}
.shero__ui { display: flex; flex-direction: column; flex: 1; padding-bottom: 22px; }
.shero .nav { margin-top: 12px; }
.shero .nav__links a { color: var(--paper); }
.shero .nav__links .nav__cta { color: var(--ink); }
.shero .nav__links a[aria-current] { text-decoration: underline; text-decoration-color: var(--duck); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.shero :focus-visible { outline-color: var(--duck); }
.shero__text { padding-top: clamp(24px, 6vh, 72px); max-width: 60rem; }
.shero__title { font: 700 clamp(46px, 8.4vw, 132px)/.92 var(--display); letter-spacing: -.05em; }
.shero .mark { color: var(--duck); }
.shero__lede { margin-top: clamp(18px, 3vh, 30px); max-width: 33em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #D6D8DC; }
.shero__foot { position: relative; margin-top: auto; padding-top: 40px; display: flex; align-items: flex-end; min-height: 150px; }
.shero__cue { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--paper); text-decoration: none; font: 400 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.shero__cue:hover { text-decoration: underline; text-underline-offset: 5px; }
.cue__arrow { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--duck); position: relative; flex: none; animation: cue 1.8s ease-in-out infinite; }
.cue__arrow::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--duck); border-bottom: 1.5px solid var(--duck); transform: translate(-50%, -65%) rotate(45deg); }
.cue__m { display: none; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.shero__line { position: absolute; right: 0; bottom: 6px; width: min(62%, 720px); height: 56px; opacity: .9; }
.shero__duck { position: absolute; right: clamp(8px, 4vw, 60px); bottom: 20px; width: clamp(72px, 9vw, 120px); height: auto; rotate: -5deg; }

/* ============ The story section: plain list first ============ */
.story { overflow-x: clip; padding-block: clamp(40px, 6vw, 88px) clamp(40px, 6vw, 88px); position: relative; }
.hud { display: none; }
.riders, .story__path { display: none; }
.story__view { position: relative; }
.chapters { position: relative; padding-left: 44px; padding-right: 0; margin-inline: auto; max-width: calc(760px + var(--gutter) * 2); }
.vline { position: absolute; left: calc(var(--gutter) + 12px); top: 12px; bottom: 12px; width: 4px; border-radius: 2px; background: var(--line); }
.vline__draw { position: absolute; inset: 0; border-radius: 2px; background: var(--duck-wing); transform-origin: 50% 0; }
.story__track { position: relative; padding-inline: var(--gutter); }
.chapters { padding-left: 44px; padding-inline-end: 0; }
.chapter { position: relative; padding-block: 24px 40px; display: grid; gap: 22px; }
.chapter__date { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font: 400 15px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 12px; }
.chapter__dot { position: absolute; left: -39px; top: 28px; width: 18px; height: 18px; border-radius: 50%; background: var(--duck); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.chapter__title { font: 700 clamp(32px, 9vw, 44px)/1 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.chapter__body { margin-top: 14px; font-size: 17px; line-height: 1.6; color: #3A3C41; max-width: 34em; }
.chapter__meta { margin-top: 14px; font: 400 15px/1.4 var(--mono); color: var(--slate); }
.chapter__link { margin-top: 10px; }
.chapter__link a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.chapter__link a:hover { text-decoration-color: var(--duck-wing); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 999px; border: 1.5px dashed var(--slate); font: 400 12px/1 var(--mono); letter-spacing: .1em; color: var(--slate); }
.chapter--retired .chapter__title { color: #4a4d54; }
.chapter--retired .chapter__body { color: var(--slate); }

/* Scenes: a fixed 420 x 300 design box, scaled by --k (story.js sets it from the room there is) */
.scene { position: relative; width: calc(420px * var(--k)); height: calc(300px * var(--k)); }
.sc { position: absolute; left: 0; top: 0; width: 420px; height: 300px; transform-origin: 0 0; scale: var(--k); }
.coming { margin-top: 18px; }
.coming__k { font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 8px; }
.coming__list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.coming__list li { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; min-height: 32px; font-weight: 500; }
.chapter--now .chapter__bottom { display: grid; gap: 4px; }

/* ----- scene pieces (all in the 420 x 300 box; dark UI on the warm dark scale of DESIGN.md) ----- */
.sc { font-size: 15px; --w-bg: #1a1514; --w-surf: #24211e; --w-raise: #2b2825; --w-sel: #34312f; --w-ink: #f2eeea; --w-muted: #aaa39d; --w-line: rgba(255, 255, 255, .12); --warn-c: var(--warn-dark); --work-c: var(--work-dark); font: 400 14px/1.4 var(--body); color: var(--w-ink); }
.sc p { margin: 0; }
.sc .mk--needs { color: var(--warn-dark); }
.sc .mk--working { color: var(--work-dark); }
.sc .row { padding: 9px 12px; }
.sc .row__text span, .sc .row__age { color: var(--w-muted); }
.sc .row--needs { background: rgba(224, 160, 48, .13); border-radius: 10px; }
.sc .row + .row { border-top: 1px solid var(--w-line); }
.sc .row--needs + .row { border-top-color: transparent; }

/* 0 the egg */
.sc0 .egg { position: absolute; left: 22px; top: 70px; width: 120px; height: 156px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(circle at 36% 30%, #fffdf3 0, #f5efdc 55%, #e6dcc0 100%); box-shadow: 0 18px 30px -16px rgba(24, 25, 27, .35), inset -8px -10px 0 rgba(160, 130, 70, .1); transform-origin: 50% 100%; }
.sc0 .bub { position: absolute; padding: 10px 14px; border-radius: 16px; font-size: 15px; max-width: 210px; }
.sc0 .bub--in { right: 20px; top: 52px; background: #2AABEE; color: #fff; border-bottom-right-radius: 4px; font-family: var(--mono); }
.sc0 .bub--out { right: 90px; top: 112px; background: var(--ink); color: var(--paper); border-bottom-left-radius: 4px; }
.sc0 .sc__cap { position: absolute; left: 22px; bottom: 28px; font: 400 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }

/* 1 pager card */
.tgc { position: absolute; left: 20px; top: 24px; width: 330px; padding: 16px 18px 18px; border-radius: 16px; background: var(--w-surf); border: 1px solid var(--w-line); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .7); }
.tgc__duck { position: absolute; right: -34px; top: -30px; width: 96px; height: 96px; rotate: 8deg; }
.tgc__app { display: flex; align-items: center; gap: 10px; font: 600 15px/1 var(--display); }
.tgc__needs { display: inline-flex; align-items: center; gap: 5px; font: 500 12px/1 var(--body); color: #F2D9A6; }
.tgc__chat { margin-top: 12px; font: 600 17px/1.25 var(--display); }
.tgc__said { margin-top: 8px; color: var(--w-ink); font-size: 15px; }
.tgc__chg { margin-top: 8px; display: flex; align-items: center; gap: 6px; color: var(--w-muted); font: 400 12.5px/1.2 var(--mono); }
.tgc__btn { display: inline-flex; margin-top: 14px; padding: 8px 18px; border-radius: 999px; background: var(--duck); color: var(--ink); font: 600 14px/1 var(--display); }

/* 2 radar */
.sp { position: absolute; inset: 14px 14px 14px 14px; padding: 14px 6px 8px; border-radius: 16px; background: var(--w-surf); border: 1px solid var(--w-line); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .7); }
.sp__head { padding: 0 12px 8px; font: 600 16px/1 var(--display); }
.sp .row__text b { font-size: 14.5px; }

/* 3 phone */
.ph { position: absolute; left: 30px; top: 8px; width: 190px; height: 340px; padding: 38px 14px 0; border-radius: 34px; background: var(--w-bg); border: 6px solid #3a3836; box-shadow: 0 28px 44px -24px rgba(0, 0, 0, .75); overflow: hidden; }
.ph__notch { position: absolute; left: 50%; top: 10px; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #000; }
.ph__title { display: flex; align-items: center; gap: 6px; font: 600 14px/1 var(--display); color: #F2D9A6; }
.ph__q { margin-top: 12px; font: 600 17px/1.25 var(--display); }
.ph__opt { display: block; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: var(--w-sel); font-size: 14px; }
.key { position: absolute; left: 238px; top: 120px; width: 170px; padding: 14px; border-radius: 14px; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); display: grid; gap: 4px; font-size: 14px; }
.key .ic { width: 20px; height: 20px; }
.key span { color: var(--slate); font: 400 12.5px/1.2 var(--mono); }

/* 4 menu-bar panel */
.mbar { position: absolute; left: 0; right: 0; top: 0; height: 30px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 0 14px; border-radius: 10px 10px 0 0; background: #2b2825; }
.mbar img { width: 22px; height: 22px; }
.mbar__t { font: 600 13px/1 var(--display); }
.mbar__apple { margin-right: auto; width: 54px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .18); }
.mpanel { position: absolute; right: 12px; top: 38px; width: 270px; padding: 14px 10px 8px; border-radius: 16px; background: var(--w-surf); border: 1px solid var(--w-line); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .7); }
.mpanel__head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 8px; font-size: 14px; }
.mpanel__head span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #F2D9A6; }
.mpanel__row { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-top: 1px solid var(--w-line); font-size: 14px; }
.mpanel__row .mk { margin-left: auto; }
.oldwin { position: absolute; left: 6px; top: 104px; width: 118px; padding: 12px; border-radius: 12px; border: 2px dashed var(--slate); color: var(--slate); font-size: 14px; display: grid; gap: 6px; rotate: -4deg; }
.oldwin span { text-decoration: line-through; }
.oldwin b { font: 400 12px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* 5 call, lid */
.call { position: absolute; left: 4px; top: 12px; width: 200px; padding: 16px; border-radius: 22px; background: var(--ink); color: var(--paper); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .7); }
.call__who { display: flex; align-items: center; gap: 10px; font: 600 15px/1.2 var(--display); }
.call__ring { width: 12px; height: 12px; border-radius: 50%; background: #3DDC84; flex: none; }
.call__q { margin-top: 10px; font-size: 14px; color: #D6D8DC; }
.call__keys { display: flex; gap: 8px; margin-top: 14px; }
.call__keys span { flex: 1; text-align: center; padding: 11px 0; border-radius: 12px; background: #34312f; font: 600 18px/1 var(--display); }
.call__keys .is-press { background: var(--duck); color: var(--ink); }
.lid { position: absolute; left: 206px; top: 150px; width: 208px; padding: 14px; border-radius: 16px; background: #fff; border: 1.5px solid var(--ink); color: var(--ink); }
.lid__moon { position: absolute; right: 14px; top: 10px; width: 30px; height: 30px; }
.lid__mac { display: block; width: 120px; height: 9px; margin-top: 18px; border-radius: 4px; background: var(--ink); box-shadow: 0 -3px 0 -1px #909399; }
.lid__t { margin-top: 12px; font: 600 15px/1.2 var(--display); }
.lid__b { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 400 12.5px/1 var(--mono); color: var(--slate); }
.lid__bar { width: 38px; height: 12px; border-radius: 4px; border: 1.5px solid var(--ink); position: relative; flex: none; }
.lid__bar i { position: absolute; left: 1px; top: 1px; bottom: 1px; width: 22%; border-radius: 2px; background: var(--warn); }

/* 6 retired */
.ghost { position: absolute; left: 24px; top: 40px; width: 300px; padding: 20px; border-radius: 16px; border: 2px dashed #A9ACB2; background: transparent; filter: grayscale(1); opacity: .75; }
.ghost__t { font: 600 18px/1.25 var(--display); color: #62656D; }
.ghost__s { margin-top: 6px; font: 400 13px/1.3 var(--mono); color: #8A8D94; }
.ghost__line { position: absolute; left: 10px; right: 10px; top: 50%; height: 3px; border-radius: 2px; background: #62656D; transform-origin: 0 50%; }
.stamp { position: absolute; right: 18px; top: 150px; padding: 8px 18px; border: 3px solid var(--slate); border-radius: 10px; color: var(--slate); font: 700 24px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; rotate: -9deg; }

/* 7 engine window */
.mw { position: absolute; inset: 12px 8px; border-radius: 14px; background: var(--w-bg); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .75); overflow: hidden; }
.mw__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--w-line); font-size: 13px; color: var(--w-muted); }
.mw__bar i { width: 10px; height: 10px; border-radius: 50%; background: #4a4643; }
.mw__bar span { margin-left: 6px; }
.mw__bar kbd { margin-left: auto; padding: 2px 8px; border-radius: 6px; background: var(--w-sel); color: var(--w-ink); font: 400 12px/1.4 var(--mono); }
.mw__body { padding: 16px; display: grid; gap: 12px; }
.mw__approve { padding: 14px; border-radius: 12px; background: rgba(224, 160, 48, .13); border: 1px solid rgba(224, 160, 48, .35); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mw__approve p { display: flex; align-items: center; gap: 8px; flex: 1 1 100%; font: 600 15px/1.2 var(--display); }
.mw__btn { padding: 7px 16px; border-radius: 999px; background: var(--w-sel); font: 600 13px/1 var(--display); }
.mw__btn--go { background: var(--duck); color: var(--ink); }
.mw__duck { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--w-surf); font-size: 14px; }
.mw__duck .mk { margin-left: auto; }

/* 8 pond page */
.pp { position: absolute; inset: 14px 14px; padding: 18px; border-radius: 16px; background: var(--duck); color: var(--ink); box-shadow: 0 24px 40px -24px rgba(24, 25, 27, .5); }
.pp__title { display: flex; align-items: center; gap: 8px; font: 700 20px/1.1 var(--display); letter-spacing: -.02em; }
.pp__members { margin-top: 14px; display: grid; gap: 8px; }
.pp__members li { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .6); font: 600 15px/1 var(--display); }
.pp__members em { margin-left: auto; font: 400 12px/1 var(--mono); font-style: normal; color: #4a4d54; }
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: hsl(var(--h) 72% 62%); font: 700 13px/1 var(--display); color: var(--ink); }
.pp__invite { position: absolute; right: 18px; top: 18px; padding: 6px 12px; border-radius: 999px; border: 2px dashed var(--ink); font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* 9 flock */
.flk { position: absolute; height: auto; }
.flk--1 { left: 18px; bottom: 30px; width: 130px; rotate: -4deg; }
.flk--2 { left: 130px; bottom: 54px; width: 96px; rotate: 6deg; }
.flk--3 { left: 214px; bottom: 26px; width: 118px; rotate: -8deg; }
.flk--4 { left: 300px; bottom: 60px; width: 80px; rotate: 9deg; }
.flk--5 { left: 76px; bottom: 120px; width: 70px; rotate: 3deg; }

/* ============ Closing CTA ============ */
.send { background: var(--duck); color: var(--ink); padding-block: clamp(56px, 7vw, 100px); }
.send__row { display: grid; gap: 28px; align-items: end; }
.send h2 { font-size: clamp(46px, 7vw, 104px); line-height: .9; }
.send .kicker, .send .section__lede, .send .install__meta { color: #2A2B2E; }
.send .kicker::before { background: var(--ink); }
.send .btn--ghost:hover { color: var(--duck); }
.send :focus-visible { outline-color: var(--ink); }
.send .install__meta { margin-top: 18px; }

/* ============ Tablet and up, still the plain list ============ */
@media (min-width: 700px) {
  .send__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
@media (max-width: 559px) {
  .cue__d { display: none; }
  .cue__m { display: inline; }
  .shero__title { font-size: clamp(44px, 14vw, 62px); }
  .shero__frame { min-height: 600px; }
  .shero__foot { min-height: 130px; }
  .shero__line { width: 78%; }
}

/* ============ Vertical timeline (phones and tablets with motion) ============ */
.js-story-m .hud { display: flex; position: sticky; top: 0; z-index: 20; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 var(--gutter); background: rgba(248, 247, 243, .94); border-bottom: 1px solid var(--line); font: 400 15px/1 var(--mono); }
.js-story-m .hud__date { font-weight: 400; letter-spacing: .06em; text-transform: uppercase; }
.js-story-m .hud__count b { font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.js-story-m .story { padding-top: 0; }
.js-story-m .riders { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 0; pointer-events: none; }
.js-story-m .rider--f { display: none; }
.js-story-m .rider--lead { position: absolute; left: calc(var(--gutter) + 14px - 24px); top: 0; width: 48px; margin-top: -18px; will-change: transform; }
.js-story-m .vline__draw { transform: scaleY(0); }
.js-story-m .chapter .scene, .js-story-m .chapter__top { transition: opacity .6s ease-out; }
.js-story-m .chapter:not(.is-on) .chapter__top { opacity: .35; }
.js-story-m [data-s], .js-story-d [data-s] { opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .5s ease-out, transform .6s var(--emph); transition-delay: calc(var(--i, 0) * 110ms); }
.js-story-m .is-on [data-s], .js-story-d .is-on [data-s] { opacity: 1; transform: none; }
.js-story-m .chapter--retired.is-on .ghost, .js-story-d .chapter--retired.is-on .ghost { opacity: .75; }
.js-story-m .chapter--retired [data-s].ghost, .js-story-d .chapter--retired [data-s].ghost { transform: none; }
.js-story-m .chapter--retired .ghost__line, .js-story-d .chapter--retired .ghost__line { transform: scaleX(0); }
.js-story-m .chapter--retired.is-on .ghost__line, .js-story-d .chapter--retired.is-on .ghost__line { transform: scaleX(1); opacity: 1; }
.js-story-m .chapter--retired .stamp, .js-story-d .chapter--retired .stamp { transform: scale(1.6) rotate(0); }
.js-story-m .chapter--retired.is-on .stamp, .js-story-d .chapter--retired.is-on .stamp { transform: none; }
.js-story-m .chapter .egg, .js-story-d .chapter .egg { transition: opacity .5s ease-out, transform .6s var(--emph); }
.js-story-m .chapter.is-on .egg, .js-story-d .chapter.is-on .egg { animation: wobble 2.6s .8s ease-in-out infinite; }
@keyframes wobble { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } 90% { transform: rotate(-2deg); } }
.js-story-m .chapter.is-on .is-press, .js-story-d .chapter.is-on .is-press { animation: press 2.4s 1.2s ease-in-out infinite; }
@keyframes press { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(.88); } 90% { transform: scale(1.04); } }
.js-story-m .chapter.is-on .call__ring, .js-story-d .chapter.is-on .call__ring { animation: ring 1.6s ease-in-out infinite; }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: .6; } }
.js-story-m .chapter.is-on .flk, .js-story-d .chapter.is-on .flk { animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.6s); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.js-story-m .chapter.is-on .flk, .js-story-d .chapter.is-on .flk { opacity: 1; }

/* ============ Pinned horizontal timeline (wide and tall screens with motion) ============ */
.js-story-d .story { padding: 0; }
.js-story-d .story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
.js-story-d .hud { position: absolute; z-index: 5; left: var(--fx, 40px); top: 22px; display: flex; align-items: baseline; gap: 26px; pointer-events: none; }
.js-story-d .hud__date { font: 400 15px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--slate); min-width: 9em; }
.js-story-d .hud__count { font: 400 15px/1 var(--mono); color: var(--slate); }
.js-story-d .hud__count b { font: 700 clamp(34px, 5vh, 52px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 6px; }
.js-story-d .story__view { position: absolute; inset: 0; }
.js-story-d .story__track { position: absolute; left: 0; top: 0; height: 100%; width: max-content; padding: 0; will-change: transform; }
.js-story-d .story__path { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.js-story-d .p-base { fill: none; stroke: var(--line); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; }
.js-story-d .p-draw { fill: none; stroke: var(--duck-wing); stroke-width: 7; stroke-linecap: round; }
.js-story-d .vline { display: none; }
.js-story-d .chapters { position: relative; z-index: 2; display: flex; height: 100%; max-width: none; margin: 0; padding: 0 60px 0 var(--r, 230px); }
.js-story-d .chapter { flex: none; width: var(--cw, 560px); height: 100%; display: block; padding: 0; }
.js-story-d .chapter__top { position: absolute; left: 0; right: 0; bottom: calc(46% + 78px); padding-left: 30px; max-width: var(--cw); transition: opacity .5s ease-out; }
.js-story-d .chapter__bottom { position: absolute; left: 30px; top: calc(54% + 30px); }
.js-story-d .chapter:not(.is-on) .chapter__top, .js-story-d .chapter:not(.is-on) .scene { opacity: .38; }
.js-story-d .chapter .scene { transition: opacity .5s ease-out; }
.js-story-d .chapter__dot { display: none; }
.js-story-d .chapter__date { margin-bottom: 10px; }
.js-story-d .chapter__title { font-size: clamp(28px, 4.8vh, 50px); }
.js-story-d .chapter__body { margin-top: 10px; font-size: clamp(16px, 2.15vh, 18px); line-height: 1.5; max-width: 30em; }
.js-story-d .chapter__meta { margin-top: 10px; }
.js-story-d .chapter__link { margin-top: 2px; }
.js-story-d .chapter--now { width: calc(var(--cw, 560px) + 260px); }
.js-story-d .chapter--now .chapter__bottom { display: flex; align-items: flex-start; gap: 28px; left: 30px; }
.js-story-d .chapter--now .coming { margin-top: 0; width: 300px; padding-top: 4px; }
.js-story-d .stop { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.js-story-d .stop.is-lit { fill: var(--duck); }
.js-story-d .riders { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.js-story-d .rider { position: absolute; left: 0; top: 0; height: auto; will-change: transform; }
.js-story-d .rider--lead { width: clamp(64px, 5.8vw, 82px); }
.js-story-d .rider--f { width: clamp(40px, 4vw, 56px); opacity: 0; }
.js-story-d .shero + main .story { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .cue__arrow { animation: none; }
}

.footer li a { min-width: 44px; }
