/* Laplace's scientific-paper landing: Hanken Grotesk, cobalt, mathematical figures. */
.hero { isolation: isolate; padding: clamp(2.5rem, 5vw, 4.5rem) 0 3.5rem; }
.hero > .wrap { grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: repeating-radial-gradient(ellipse at 76% 38%, transparent 0 48px, color-mix(in srgb, var(--brand) 8%, transparent) 49px 50px, transparent 51px 84px); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.hero[data-shader="ready"]::before { opacity: 0; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .13; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23grain)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); }
.market-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.fluid-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .8s ease; }
.hero[data-fluid="ready"] .fluid-field { opacity: .55; }
:root[data-theme="dark"] .hero[data-fluid="ready"] .fluid-field { opacity: .6; }
:root[data-motion-paused="true"] .fluid-field { opacity: 0; }
.hero-copy { min-width: 0; }
.hero-title { max-width: none; margin: 0 0 1.5rem; }
/* The headline reads "This is Financial Science." The two key words carry the brand
   gradient over a translucent band that sweeps in once; without background-clip they keep
   the solid brand colour, and forced colours drop the gradient and the band. */
.hero-title .ht-lead { display: block; }
.hero-key { padding: 0 .05em; background: var(--grad-display-band) no-repeat 0 90% / 100% .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-ink { color: var(--brand); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-ink, .hf-grad .hf-n { color: transparent; background: var(--grad-display); -webkit-background-clip: text; background-clip: text; }
}
/* The tagline: the owner's sentence, its first two phrases set as mono chips (the commas
   stay in the text for assistive technology), the rest larger, beside a gradient rule. */
.hero .tagline { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .5rem; max-width: 34rem; margin: 0 0 1.7rem; padding: .15rem 0 .15rem 1.1rem; font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); }
.hero .tagline::before { content: ''; position: absolute; left: 0; top: .2rem; bottom: .2rem; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--glow-a), var(--glow-b) 55%, var(--glow-c)); }
.tg-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .8rem .32rem .62rem; border: 1px solid var(--rule-strong); border-radius: 999px; background: color-mix(in srgb, var(--surface) 86%, transparent); font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; line-height: 1.2; letter-spacing: .02em; color: var(--ink); }
.tg-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-display); }
.tg-line { flex-basis: 100%; text-wrap: pretty; }
.tg-em { white-space: nowrap; font-weight: 600; color: var(--ink); padding-bottom: .1em; background: linear-gradient(90deg, var(--glow-a), var(--glow-b) 55%, var(--glow-c)) no-repeat 0 100% / 100% 1.5px; }
/* The figures: coverage from the catalog, the rest served from stored data. A figure
   waiting for its answer keeps its place unseen, so nothing moves when it arrives. */
.hero-figures { grid-column: 1 / -1; grid-row: 2; min-width: 0; }
.hf-row { position: relative; display: flex; margin: 0; padding: 1.5rem 0 0; list-style: none; }
.hf-row::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--glow-a), var(--glow-b) 40%, var(--rule) 75%); }
.hf { flex: 1 1 0; min-width: 0; padding: .1rem 1.4rem; border-left: 1px solid var(--rule); }
.hf:first-child { padding-left: 0; border-left: 0; }
.hf-n { display: block; font-size: var(--fs-h2); font-weight: 500; line-height: var(--lh-figure); letter-spacing: var(--tr-figure); color: var(--ink); }
.hf-l { display: block; max-width: 27ch; margin-top: .6rem; font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--muted); }
.hf-basis { max-width: var(--measure-caption); margin: 1.1rem 0 0; font-size: var(--fs-label); line-height: 1.5; color: var(--muted); }
.hero-figures .is-pending { visibility: hidden; }
@media (forced-colors: active) {
  .hero-key { background: none; }
  .hero-ink, .hf-grad .hf-n { color: CanvasText; background: none; }
  .hero .tagline::before, .hf-row::before { background: CanvasText; }
}
/* The hero enters once: the headline, then the tagline and search, then the figures, each
   fading up a few pixels (opacity and transform only, so nothing reflows), and the band
   sweeps under the key words. Under reduced motion every part is simply there. */
@keyframes hero-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes hero-sweep { from { background-size: 0 .3em; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: hero-rise 680ms var(--spring) both; }
  .hero-key { animation: hero-sweep 900ms cubic-bezier(.65, 0, .35, 1) 560ms both; }
  .hero .tagline { animation: hero-rise 620ms var(--spring) 260ms both; }
  .hero .cmd, .hero .hint { animation: hero-rise 600ms var(--spring) 420ms both; }
  .hero-figures { animation: hero-rise 640ms var(--spring) 580ms both; }
}
.hero .cmd-label { padding: 0 .65rem; }
.hero .cmd .search input { min-width: 0; font-size: var(--fs-ui); }
.forecast-demo { min-width: 0; margin: 0; scroll-margin-top: 90px; }
.forecast-demo-card { padding: 1rem 1rem .75rem; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--rule-strong); border-radius: 8px; box-shadow: 0 1px 2px rgba(24,20,60,.06), 0 6px 16px -8px rgba(24,20,60,.1), 0 18px 40px -24px rgba(30,36,110,.16), inset 0 1px 0 color-mix(in srgb, var(--surface) 90%, transparent); }
.demo-controls { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: space-between; padding-bottom: .8rem; }
.demo-presets { display: flex; gap: .3rem; }
.demo-controls button { cursor: pointer; border: 1px solid var(--rule-strong); border-radius: 3px; background: transparent; padding: .4rem .6rem; font-size: var(--fs-label); line-height: var(--lh-ui); transition: background .18s, border-color .18s; }
.demo-controls button:hover { background: var(--brand-wash); }
.demo-controls button[aria-pressed="true"] { color: var(--brand); background: var(--brand-wash); border-color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.demo-controls button:disabled { cursor: default; opacity: .65; }
.demo-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .65rem 0 .8rem; border-bottom: 1px solid var(--rule); }
.demo-heading h2 { font-size: var(--fs-body); font-weight: 500; line-height: var(--lh-ui); margin: 0; flex: 1; }
.demo-heading .fig-number { font-size: var(--fs-label); font-weight: 600; margin-right: .2rem; }
.demo-heading .badge { padding: .15rem .35rem; background: transparent; }
.demo-heading .badge::before { width: 5px; height: 5px; }
.demo-plot { width: 100%; height: auto; display: block; overflow: visible; margin-top: .75rem; }
.demo-plot text { fill: var(--ink); font-family: var(--sans); font-size: 13px; }
.demo-plot .demo-math { font-family: var(--math); font-style: italic; font-size: 17px; }
.demo-plot .demo-quantile { fill: var(--brand); }
.demo-plot .demo-grid { stroke: var(--rule); stroke-width: .8; stroke-dasharray: 2 4; }
.demo-plot .demo-axis { stroke: var(--muted); stroke-width: 1; }
.demo-plot .demo-now { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; }
.demo-plot .demo-future { fill: var(--brand); fill-opacity: .035; }
.demo-plot .demo-mark { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.demo-plot .demo-replay { fill: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.demo-plot .demo-ribbon { fill: var(--brand); fill-opacity: .08; }
.demo-plot .demo-wick { stroke-width: 1.1; }
.demo-plot :is(.demo-wick, .demo-candle).up { stroke: var(--pos); fill: var(--pos); }
.demo-plot :is(.demo-wick, .demo-candle).down { stroke: var(--neg); fill: var(--neg); }
.demo-plot .demo-candle { stroke-width: 0; }
.demo-plot .demo-candle.forming { fill-opacity: .55; }
.demo-plot .demo-origin { fill: var(--brand); stroke: var(--surface); stroke-width: 1.5; }
.demo-plot .demo-miss { fill: none; stroke: var(--ink); stroke-opacity: .75; stroke-width: 1.2; stroke-dasharray: 2.5 2; }
.demo-plot .demo-band { fill: var(--brand); fill-opacity: .1; }
.demo-plot .demo-band-inner { fill-opacity: .13; }
.demo-plot .demo-sample { fill: none; stroke: var(--brand); stroke-opacity: .12; stroke-width: 1; }
.demo-plot .demo-bound { fill: none; stroke: var(--brand); stroke-opacity: .55; stroke-width: 1; }
.demo-plot .demo-median { fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-dasharray: 5 4; }
.demo-equation { position: relative; margin: .9rem 0 .1rem; text-align: center; font-family: var(--math); font-size: 19px; line-height: 1.4; }
.demo-equation .eq-number { float: right; font-size: var(--fs-label); font-family: var(--sans); color: var(--muted); padding-top: .2rem; }
.forecast-demo figcaption { max-width: var(--measure-caption); font-size: var(--fs-label); line-height: 1.5; margin-top: .8rem; color: var(--muted); }
.forecast-demo figcaption b { color: var(--ink); font-weight: 600; }
.demo-fallback { fill: var(--ink); }
.demo-fallback text { font-family: var(--sans); font-size: 15px; }
.live-evidence { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 3rem; align-items: center; margin: 0 0 3rem; }
.live-evidence h3 { font-size: var(--fs-h3); font-weight: 500; line-height: var(--lh-h3); letter-spacing: var(--tr-h3); margin: 0 0 .9rem; }
.live-evidence p { max-width: 48ch; }
.research-item { transition: border-color .25s, background-color .25s; padding: 1.2rem 0; }
.research-item:hover { border-top-color: var(--brand); }
.research-item h3 { font-weight: 500; letter-spacing: var(--tr-h3); }
.research-item .kicker { border: 0; padding: 0; background: none; margin: 0; }
/* Reveal is opt-in; without JS or observers every section stays visible. */
.motion-reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.motion-reveal.is-pending { opacity: 0; transform: translateY(18px); }
html[data-motion-paused="true"] .motion-reveal { transition: none; }
@media (max-width: 1100px) {
  .hero > .wrap { gap: 1.5rem; }
  .demo-controls button { padding-inline: .45rem; }
}
@media (max-width: 960px) {
  .hero > .wrap { grid-template-columns: minmax(0,1fr); gap: 2.5rem; }
  .hero-copy { max-width: 680px; }
  .hero-figures { grid-column: auto; grid-row: auto; }
  .forecast-demo { width: 100%; max-width: 760px; justify-self: center; }
  .live-evidence { grid-template-columns: minmax(0,1fr); gap: 1rem; }
}
@media (max-width: 640px) {
  .hero { padding-top: 2rem; }
  .hero-title { margin-bottom: 1rem; }
  .hero .tagline { gap: .5rem .45rem; margin-bottom: 1.3rem; padding-left: .9rem; }
  .tg-chip { padding: .28rem .65rem .28rem .52rem; }
  .hf-row { flex-wrap: wrap; row-gap: 1.25rem; padding-top: 1.25rem; }
  .hf { flex: 1 1 40%; padding: 0 0 0 1rem; }
  .hf:first-child { flex-basis: 100%; }
  .hf:nth-child(2n) { padding-left: 0; border-left: 0; }
  .forecast-demo-card { padding: .65rem; }
  .demo-heading h2 { font-size: var(--fs-ui); }
  .demo-plot text { font-size: 22px; }
  .demo-plot .demo-math { font-size: 24px; }
  .demo-equation { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-reveal, .research-item, .demo-controls button { transition: none; }
  .motion-reveal.is-pending { opacity: 1; transform: none; }
  .market-field, .fluid-field { display: none; }
  .hero[data-shader="ready"]::before { opacity: 1; }
}

/* ── The asset tape: every class (its mark, name and count, opening its app surface) and its
   example series as chips, in one 46 px row. The page appends an aria-hidden copy of the
   list and marks the tape data-loop; only then, and only without reduced motion, the track
   slides one list-width a minute (transform only, linear, endless), paused under the pointer
   or keyboard focus. Otherwise the tape is a horizontally scrollable strip with snap points. ── */
.tape { grid-column: 1 / -1; grid-row: 3; position: relative; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; border-block: 1px solid var(--rule); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tape-track { display: flex; width: max-content; }
.tape .asset-classes { flex: none; }
.tape-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.tape .ac { display: flex; align-items: center; gap: .6rem; height: 46px; padding: 0 1.1rem; border-right: 1px solid var(--rule); scroll-snap-align: start; white-space: nowrap; }
.tape .ac-door { display: inline-flex; align-items: center; gap: .45rem; padding: .2rem .35rem .2rem .2rem; border-radius: 999px; color: var(--ink); text-decoration: none; }
.tape .ac-door:hover b { color: var(--brand); }
.tape .ac-door:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.tape .ac-door b { font-size: var(--fs-ui); font-weight: 600; }
.tape .ac-n strong { font-size: var(--fs-ui); font-weight: 600; color: var(--brand); }
.tape .mark { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 .25rem; font-size: var(--fs-label); font-weight: 600; color: var(--brand); background: var(--brand-wash); border: 1px solid var(--brand); border-radius: 3px; }
.tape .mark .ic { width: 15px; height: 15px; }
.tape .chips { flex-wrap: nowrap; gap: .3rem; }
.tape .chips > li > a { font-family: var(--mono); padding: .14rem .5rem; }
.tape .chips > li > a:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
@keyframes tape-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: no-preference) {
  .tape[data-loop] { overflow: hidden; }
  .tape[data-loop] .tape-track { animation: tape-slide 60s linear infinite; will-change: transform; }
  .tape[data-loop]:is(:hover, :focus-within) .tape-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-copy { display: none; }
}
@media (forced-colors: active) {
  .tape { -webkit-mask-image: none; mask-image: none; }
}

/* ── Hero figure tabs: illustrative scenes of what the workspace does (landing-capabilities.js) ── */
.demo-presets { flex-wrap: wrap; }
.demo-panel[hidden] { display: none; }
.demo-panel :is(.glow-a) { stop-color: var(--glow-a); }
.demo-panel :is(.glow-b) { stop-color: var(--glow-b); }
.demo-panel :is(.glow-c) { stop-color: var(--glow-c); }
.cap-grid line { stroke: var(--rule); stroke-dasharray: 2 4; }
.cap-prompt { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin: .8rem 0 .6rem; padding: .5rem .9rem; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--surface); font: 500 var(--fs-ui) var(--mono); }
.cap-key { flex-shrink: 0; padding: .1rem .55rem; border-radius: 999px; color: #FFFFFF; background: linear-gradient(100deg, var(--glow-a), var(--glow-b) 55%, var(--glow-c)); font: 600 var(--fs-label) var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.cap-caret { width: 7px; height: 16px; background: var(--brand); animation: cap-blink 1s steps(2) infinite; }
.demo-panel.is-done .cap-caret { display: none; }
@keyframes cap-blink { 50% { opacity: 0; } }
.cap-steps { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .4rem; padding: 0; list-style: none; }
.cap-steps li { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem .3rem .35rem; border: 1px solid var(--rule); border-radius: 999px; font-size: var(--fs-label); color: var(--muted); opacity: .45; transform: translateY(4px); transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1), color .3s ease, border-color .3s ease; }
.cap-steps b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 600 var(--fs-label) var(--sans); background: var(--surface-2); }
.cap-steps li.is-on { opacity: 1; transform: none; color: var(--ink); border-color: var(--brand); }
.cap-steps li.is-on b { color: #FFFFFF; background: var(--brand); }
.cap-plot, .cap-bars { display: block; width: 100%; height: auto; }
.cap-line, .cap-line-glow { fill: none; stroke: url(#capGlow); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.cap-line-glow { stroke-width: 9; opacity: .5; filter: blur(7px); }
.cap-flag { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.cap-flag.is-on { opacity: 1; transform: none; }
.cap-flag line { stroke: var(--pos); stroke-dasharray: 2 2; }
.cap-flag circle { fill: var(--pos); stroke: var(--surface); stroke-width: 1.5; }
.cap-flag rect { fill: var(--pos); }
.cap-flag text { fill: #FFFFFF; font: 700 11px var(--mono); text-anchor: middle; }
.cap-flag.down :is(line) { stroke: var(--neg); }
.cap-flag.down :is(circle, rect) { fill: var(--neg); }
.cap-flag.next line { stroke: var(--brand); stroke-dasharray: 4 3; }
.cap-flag.next rect { fill: var(--brand); }
.cap-events { display: grid; gap: 0; margin: .4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.cap-events li { display: grid; grid-template-columns: 22px 15ch minmax(0, 1fr) auto; align-items: center; gap: .6rem; padding: .42rem 0; border-bottom: 1px solid var(--rule-soft); font-size: var(--fs-label); opacity: 0; transform: translateX(-6px); transition: opacity .3s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.cap-events li.is-on { opacity: 1; transform: none; }
.cap-events b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #FFFFFF; background: var(--pos); font: 600 var(--fs-label) var(--sans); }
.cap-events li.next b { background: var(--brand); }
.cap-events span { font: 500 var(--fs-label) var(--mono); color: var(--muted); white-space: nowrap; }
.cap-events em { font-style: normal; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cap-events small { color: var(--brand); font-size: var(--fs-label); }
.cap-bars { margin-top: .8rem; }
.cap-bars text { fill: var(--muted); font: 11px var(--mono); text-anchor: middle; }
.cap-bars .rev { fill: url(#capBar); }
.cap-bars .inc { fill: var(--glow-a); opacity: .85; }
.cap-year rect { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.34, 1.4, .64, 1); }
.demo-panel.is-on .cap-year rect { transform: none; }
.cap-year:nth-child(4) rect { transition-delay: .08s; } .cap-year:nth-child(5) rect { transition-delay: .16s; } .cap-year:nth-child(6) rect { transition-delay: .24s; } .cap-year:nth-child(7) rect { transition-delay: .32s; }
.cap-legend { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: .5rem 0 0; font-size: var(--fs-label); color: var(--muted); }
.cap-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cap-legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--glow-b); }
.cap-legend i.inc { background: var(--glow-a); }
.cap-legend .cap-note { margin-left: auto; }
.cap-lede { margin: .9rem 0 .7rem; font-size: var(--fs-ui); line-height: var(--lh-ui); color: var(--ink-2); max-width: 56ch; }
.demo-presets { flex: 1; }
.demo-presets button { flex: 1 1 auto; padding: .4rem .5rem; font-size: var(--fs-label); white-space: nowrap; }
.demo-pause { cursor: pointer; border: 1px solid var(--rule-strong); border-radius: 999px; background: transparent; color: var(--muted); padding: .15rem .6rem; font-size: var(--fs-label); line-height: var(--lh-ui); }
.demo-pause:hover { color: var(--ink); background: var(--brand-wash); }
.demo-pause:disabled { cursor: default; opacity: .65; }
.cap-scene .cap-events li { grid-template-columns: 22px 21ch minmax(0, 1fr) auto; }
.cap-scene .cap-bars { margin-top: .2rem; max-height: 150px; }
.cap-events li.down b { background: var(--neg); }
.cap-axis text { fill: var(--muted); font: 11px var(--mono); text-anchor: middle; }
/* Event research and compare: the forecast side of the now line, revealed with the last flag. */
.cap-zone { fill: var(--brand); fill-opacity: .035; }
.cap-now { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; }
.cap-fade { opacity: 0; transition: opacity .5s ease; }
.cap-fade.is-on { opacity: 1; }
.cap-fan { fill: var(--brand); fill-opacity: .1; }
.cap-fan-mid { fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-dasharray: 5 4; }
/* Compare: one colour per market, from the glow tokens, on the line, its dot and its row. */
.cap-c1 { --cap-c: var(--glow-a); }
.cap-c2 { --cap-c: var(--glow-b); }
.cap-c3 { --cap-c: var(--glow-c); }
.cap-series path { fill: none; stroke: var(--cap-c); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .7, .2, 1); }
.cap-series.is-on path { stroke-dashoffset: 0; }
.cap-series circle { fill: var(--cap-c); stroke: var(--surface); stroke-width: 1.5; opacity: 0; transition: opacity .3s ease .8s; }
.cap-series.is-on circle { opacity: 1; }
.cap-ahead path { fill: none; stroke: var(--cap-c); stroke-width: 1.8; stroke-dasharray: 5 4; }
.cap-events li:is(.cap-c1, .cap-c2, .cap-c3) b { background: var(--cap-c); }
@media (max-width: 560px) {
  .cap-events li { grid-template-columns: 22px minmax(0, 1fr) auto; }
  .cap-events span { display: none; }
  .cap-legend .cap-note { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-steps li, .cap-flag, .cap-events li, .cap-year rect, .cap-fade, .cap-series path, .cap-series circle { transition: none; }
  .cap-caret { animation: none; }
}
