:root {
  color-scheme: dark;
  --ink: #f0f3f8;
  --secondary: #b7c1d0;
  --muted: #9aa8bc;
  --display-muted: #a7b5ca;
  --line: #252d3b;
  --line-strong: #354156;
  --paper: #080a0e;
  --mist: #0c0f15;
  --surface: #111620;
  --blue: #8ab7ff;
  --blue-wash: #1c3157;
  --positive: #83dcb5;
  --positive-wash: #142a23;
  --negative: #ffa0a6;
  --negative-wash: #321c25;
  --uncertain: #f4c778;
  --uncertain-wash: #30251a;
  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 72px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px; background: var(--surface); }
.eyebrow { font-size: .75rem; line-height: 1.4; font-weight: 720; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 82px; position: absolute; z-index: 2; inset: 0 0 auto; }
.wordmark { display: inline-flex; gap: .68rem; align-items: center; text-decoration: none; font-size: 1rem; font-weight: 720; letter-spacing: -.025em; white-space: nowrap; }
.wordmark img { display: block; }
.status-pill { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #293142; background: #10141d; padding: .48rem .7rem; border-radius: 999px; font-size: .8125rem; line-height: 1.2; color: var(--secondary); }
.status-pill > span { width: 6px; height: 6px; background: #a2adbe; border-radius: 50%; }

.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(630px, 100svh);
  padding: 82px var(--gutter) clamp(2.2rem, 5.3vh, 4rem);
  justify-items: center;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-depth, .hero-aperture { position: absolute; pointer-events: none; inset: 0; }
.hero-depth {
  z-index: -3;
  background: radial-gradient(ellipse at 68% 60%, #18284275 0%, #0c1525 33%, transparent 68%), #080a0e;
  transform: translate3d(0, var(--depth-y, 0), 0) scale(var(--depth-scale, 1));
}
.hero-field {
  display: block;
  position: absolute;
  z-index: -2;
  inset: auto 0 -18%;
  width: 100%;
  height: auto;
  min-height: 64%;
  max-height: 88%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--field-y, 0), 0) scale(var(--field-scale, 1));
  pointer-events: none;
}
.hero-aperture { z-index: -1; background: linear-gradient(180deg, #080a0e42 0%, transparent 58%, #080a0e 100%); }
.hero-copy { align-self: center; padding: 1.3rem 0 3.2rem; transform: translate3d(0, var(--hero-y, 0), 0) scale(var(--hero-scale, 1)); opacity: var(--hero-alpha, 1); }
.hero-label { letter-spacing: .25em; color: #a5bada; }
.hero h1 { margin-top: 1.05rem; font-size: clamp(4.05rem, 12vw, 10.1rem); line-height: .83; letter-spacing: -.079em; word-spacing: .035em; font-weight: 735; }
.hero h1 span { color: #9aacc8; }
.hero-subtitle { margin-top: clamp(1.7rem, 4vh, 2.75rem); color: var(--secondary); font-size: clamp(1rem, 1.72vw, 1.35rem); letter-spacing: -.015em; }
.scroll-cue { align-self: end; display: inline-flex; flex-direction: column; align-items: center; gap: .7rem; padding: .4rem; text-decoration: none; color: var(--ink); font-size: .875rem; }
.scroll-track { position: relative; width: 17px; height: 26px; border: 1px solid #697b98; border-radius: 12px; }
.scroll-track::after { content: ""; position: absolute; top: 5px; inset-inline-start: 6px; width: 3px; height: 5px; border-radius: 2px; background: #a5bada; animation: cue-slide 1.8s ease-in-out 3; }
@keyframes cue-slide { 65%, 100% { transform: translateY(6px); opacity: .3; } }
.hero-note { position: absolute; bottom: clamp(2rem, 5.3vh, 4rem); right: var(--gutter); color: var(--muted); font-size: .75rem; }

.simulations { padding-block: clamp(4.2rem, 10vh, 8rem) 2rem; }
.simulation-intro { display: grid; grid-template-columns: 1fr minmax(270px, 34%); gap: 1.75rem; align-items: end; }
.simulation-intro h2 { margin-top: .8rem; font-size: clamp(2.7rem, 6vw, 5.5rem); line-height: .94; letter-spacing: -.063em; font-weight: 720; }
.simulation-intro > p { max-width: 39ch; font-size: 1rem; line-height: 1.65; color: var(--secondary); }
.scenario-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.65rem; margin-top: 2.35rem; padding-top: .45rem; border-top: 1px solid var(--line); }
.scenario-nav a { display: grid; align-items: center; min-height: 44px; text-underline-offset: .26em; font-size: .875rem; color: var(--secondary); }
.scenario-nav a:hover { color: var(--ink); }
.text-fallback { padding-block: 2rem; }
.text-fallback p { margin-top: .5rem; color: var(--secondary); }

.interlude { --interlude-tint: #14223a80; position: relative; }
.interlude--risk { --interlude-tint: #33261990; }
.interlude-stage {
  display: grid;
  place-items: center;
  gap: 3rem;
  min-height: 70svh;
  padding: 4rem var(--gutter);
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse at 50% 54%, var(--interlude-tint), transparent 68%);
}
.claim {
  width: min(100%, 1120px);
  color: var(--ink);
  font-size: clamp(2.3rem, 7.7vw, 7.35rem);
  font-weight: 720;
  letter-spacing: -.065em;
  word-spacing: .03em;
  line-height: .97;
  text-wrap: balance;
}
.claim span { display: block; color: var(--display-muted); }
.claim--long { max-width: 22ch; font-size: clamp(2.15rem, 6.05vw, 6.05rem); }
.interlude--risk .claim span { color: #c3ae8a; }
.interlude.is-pinned::after { display: block; content: ""; height: var(--interlude-travel); }
.interlude.is-pinned .interlude-stage { position: sticky; top: 0; min-height: 100svh; }
.interlude.is-pinned .claim {
  grid-area: 1 / 1;
  opacity: var(--claim-opacity, 0);
  transform: translate3d(0, var(--claim-y, 0), 0) scale(var(--claim-scale, 1));
  clip-path: inset(var(--claim-mask, 0) -0.5em 0);
}

.story {
  --accent: #c3cbd7;
  --accent-wash: #222934;
  --sticky-top: 0px;
  position: relative;
  background: var(--mist);
  border-block: 1px solid #1e2633;
}
.story[data-tone="positive"] { --accent: var(--positive); --accent-wash: var(--positive-wash); }
.story[data-tone="negative"] { --accent: var(--negative); --accent-wash: var(--negative-wash); }
.story[data-tone="uncertain"] { --accent: var(--uncertain); --accent-wash: var(--uncertain-wash); }
.story-stage { display: grid; align-items: center; position: relative; isolation: isolate; }
.story-stage::before {
  position: absolute;
  content: "";
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, #172b4e 0%, transparent 66%);
  opacity: var(--engine-light, 0);
  pointer-events: none;
}
.story-stage::after {
  position: absolute;
  content: "";
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 60% 48%, var(--accent-wash), transparent 62%);
  opacity: var(--signal-light, 0);
  pointer-events: none;
}
.story-canvas { padding-block: clamp(2rem, 5.6vh, 4.5rem); }
.story-header { margin-bottom: clamp(1.05rem, 2.8vh, 2rem); }
.story-header h2 { margin-top: .64rem; max-width: 28ch; font-size: clamp(2rem, 4.45vw, 4.2rem); letter-spacing: -.054em; word-spacing: .035em; line-height: .99; font-weight: 730; text-wrap: balance; }
.story-controls { display: flex; gap: clamp(.25rem, 1.7vw, 1.35rem); border-bottom: 1px solid var(--line-strong); margin-bottom: clamp(1rem, 2.4vh, 1.5rem); }
.story-controls button { display: block; position: relative; min-height: 44px; padding: .62rem .2rem .7rem; color: var(--secondary); background: transparent; border: 0; font-size: .875rem; font-weight: 620; white-space: nowrap; cursor: pointer; }
.story-controls button[aria-pressed="true"], .story-controls button:hover { color: var(--ink); }
.story-controls button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; border-radius: 2px; background: #c9d6ec; }
.story[data-phase="1"] .story-controls button[aria-pressed="true"]::after { background: var(--blue); }
.story[data-phase="2"] .story-controls button[aria-pressed="true"]::after,
.story[data-phase="3"] .story-controls button[aria-pressed="true"]::after { background: var(--accent); }
.story-layout { display: grid; grid-template-columns: minmax(290px, .75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 4vw, 3.75rem); align-items: start; }
.story-insight { display: grid; min-width: 0; min-height: 320px; }
.story.is-sticky .story-canvas { transform: translate3d(0, var(--scene-y, 0), 0) scale(var(--scene-scale, 1)); }
.panel { grid-area: 1 / 1; align-self: start; min-width: 0; }
.story.is-sticky .panel { opacity: var(--panel-visibility, 1); transform: translate3d(0, var(--panel-y, 0), 0); }
.story.is-sticky .panel[aria-hidden="true"] { pointer-events: none; }
.news-item { border: 1px solid var(--line); border-radius: 16px; padding: 1.03rem 1.12rem; background: var(--surface); box-shadow: 0 15px 40px #0005; }
.news-item + .news-item { margin-top: .55rem; }
.news-item--push { border-radius: 19px; background: #171d28; }
.news-item--notice { border-left: 3px solid #657693; }
.news-top, .news-meta { display: flex; gap: .45rem .6rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.news-source { font-size: 1rem; letter-spacing: -.02em; line-height: 1.18; }
.news-meta { margin-top: .65rem; justify-content: flex-start; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.news-time { color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fiction-label { color: var(--secondary); font-size: .75rem; line-height: 1.35; font-weight: 660; }
.news-item blockquote { margin-top: .75rem; line-height: 1.46; font-size: clamp(1rem, 1.55vw, 1.17rem); letter-spacing: -.015em; font-weight: 530; }
.news-item--compact blockquote { margin-top: .4rem; }
.news-item--compact .news-meta { margin-top: .45rem; }
.news-item mark { padding-inline: .12em; border-radius: 3px; color: inherit; background: linear-gradient(var(--blue-wash), var(--blue-wash)) 0 0 / 0 100% no-repeat; }
.news-item[data-highlight="true"] mark { background-size: 100% 100%; color: #d7e8ff; }
.story.is-sticky .news-item mark { background-size: var(--highlight-width, 0%) 100%; }
.engine-header { display: flex; align-items: center; justify-content: space-between; gap: .8rem; border-bottom: 1px solid #334975; padding-bottom: .7rem; }
.engine-header h3 { font-size: .78rem; font-weight: 760; letter-spacing: .14em; color: var(--blue); }
.engine-time { color: var(--blue); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .875rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.engine-steps { list-style: none; padding: 0; margin: .25rem 0 0; }
.engine-steps li { min-height: 2.05rem; display: grid; grid-template-columns: .9rem minmax(0, 1fr) max-content; column-gap: .55rem; align-items: center; padding-block: .2rem; color: var(--muted); font-size: .875rem; line-height: 1.22; border-bottom: 1px solid var(--line); }
.engine-steps li[data-done="true"] { color: var(--ink); }
.engine-steps .step-indicator { display: grid; place-items: center; width: .84rem; height: .84rem; border: 1px solid #667893; border-radius: 50%; font-size: .64rem; }
.engine-steps li[data-done="true"] .step-indicator { border-color: var(--blue); color: var(--blue); }
.engine-steps .step-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: .75rem; white-space: nowrap; }
.signal-caption { margin-bottom: .48rem; }
.signal-name { display: inline-block; color: var(--accent); background: var(--accent-wash); border: 1px solid currentColor; border-radius: 6px; font-size: clamp(1.65rem, 4vw, 2.9rem); line-height: 1; padding: .36em .48em; font-weight: 740; letter-spacing: -.045em; }
.signal-metrics { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; margin-block: 1rem .75rem; }
.signal-metrics dt { color: var(--muted); font-size: .75rem; }
.signal-metrics dd { color: var(--ink); font-size: .875rem; font-weight: 650; margin-top: .16rem; font-variant-numeric: tabular-nums; }
.signal-reason { max-width: 42ch; color: var(--secondary); font-size: 1rem; line-height: 1.49; }
.order-block { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; align-items: center; margin-top: .9rem; border-top: 1px solid #4f3d23; padding-top: .8rem; }
.order-block svg { color: var(--uncertain); width: 34px; height: 38px; overflow: visible; }
.order-shackle { transform: translate3d(0, var(--lock-y, 0), 0); }
.order-state { color: var(--uncertain); font-size: .75rem; font-weight: 730; letter-spacing: .075em; }
.order-note { color: var(--secondary); font-size: .82rem; margin-top: .25rem; line-height: 1.35; }

.chart { min-width: 0; background: #10151e; border: 1px solid var(--line); border-radius: 14px; padding: clamp(.8rem, 2vw, 1.26rem); box-shadow: 0 22px 65px #0005, inset 0 1px #ffffff08; }
.chart-header { display: flex; justify-content: space-between; align-items: start; gap: .5rem; margin-bottom: .8rem; }
.chart-identity { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.ticker-mark { flex: 0 0 2.55rem; height: 2.55rem; display: grid; place-items: center; text-align: center; border: 1px solid #323e53; background: #1b2535; border-radius: 7px; color: #d6e0f1; font-size: .71rem; font-weight: 740; letter-spacing: -.025em; }
.chart-company { font-size: .98rem; line-height: 1.15; letter-spacing: -.02em; }
.chart-market { margin-top: .2rem; color: var(--muted); font-size: .75rem; line-height: 1.25; }
.chart-quote { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.chart-value { font-size: clamp(1.13rem, 3vw, 1.8rem); font-weight: 730; letter-spacing: -.035em; line-height: 1.04; }
.chart-change { font-size: .78rem; font-weight: 620; margin-top: .26rem; color: var(--muted); }
.chart[data-active="true"] .chart-change { color: var(--accent); }
.chart-plot { position: relative; cursor: crosshair; height: clamp(150px, 26vh, 280px); }
.chart-plot svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart-plot svg path, .chart-plot svg line { vector-effect: non-scaling-stroke; }
.chart-grid { stroke: #2a3241; stroke-width: 1; }
.chart-trace { fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.chart-trace--history { stroke: #8793a7; }
.chart-trace--future { stroke: var(--accent); stroke-width: 2.35; }
.chart-trace--area { fill: var(--accent-wash); opacity: .74; }
.chart-guide { stroke: #93a2b9; stroke-dasharray: 3 4; stroke-width: 1; }
.chart-guide--signal { stroke: var(--accent); }
.chart-cursor { stroke: #9aaecb; stroke-width: 1; }
.chart-tooltip { position: absolute; inset: .15rem auto auto 50%; transform: translateX(-50%); padding: .38rem .55rem; border: 1px solid var(--line-strong); background: #202b3e; color: #fff; font-size: .75rem; line-height: 1.35; white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; border-radius: 5px; }
.chart-grid-values { position: absolute; inset: 0; font-size: .6875rem; color: var(--muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.chart-grid-values > span { position: absolute; right: 0; transform: translateY(-50%); background: #10151e; }
.chart-axis { position: relative; height: 1.65rem; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.chart-axis > span { position: absolute; top: .36rem; transform: translateX(-50%); white-space: nowrap; }
.chart-axis > span:first-child { transform: none; }
.chart-dot { position: absolute; width: 8px; height: 8px; background: var(--accent); border: 1px solid #10151e; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.chart-footer { display: flex; justify-content: space-between; gap: .45rem .8rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: .65rem; color: var(--secondary); font-size: .75rem; line-height: 1.35; }
.chart-events { display: flex; flex-wrap: wrap; gap: .35rem .7rem; }
.chart-event { display: inline-flex; align-items: center; gap: .33rem; font-variant-numeric: tabular-nums; }
.chart-event::before { content: ""; display: inline-block; height: .65em; width: 1px; background: #93a2b9; }
.chart-event--signal::before { background: var(--accent); }

.closing { min-height: 67vh; display: grid; align-content: center; justify-items: center; text-align: center; padding-block: 5rem; }
.closing-mark { margin-bottom: 1.15rem; }
.closing h2 { font-size: clamp(2.6rem, 6.2vw, 6rem); font-weight: 735; letter-spacing: -.065em; word-spacing: .035em; line-height: .99; }
.closing h2 span { color: var(--display-muted); }
.closing p { font-size: 1.0625rem; color: var(--secondary); margin-top: 1.3rem; line-height: 1.55; }
.dashboard-button { margin-top: 1.45rem; padding: .68rem 1.05rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--secondary); font-size: .875rem; font-weight: 640; }
.closing .dashboard-domain { font-size: .82rem; margin-top: .55rem; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: .9rem; padding-block: 1.35rem; border-top: 1px solid var(--line); }
.site-footer small, .footer-link { color: var(--secondary); font-size: .8125rem; }
.site-footer small { max-width: 52ch; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .95rem; }
.footer-link { text-underline-offset: .2em; white-space: nowrap; }
.footer-link:hover, .footer-link[aria-current="page"] { color: var(--ink); }

.legal-header { position: relative; }
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-main { flex: 1; padding-block: clamp(2.4rem, 8vh, 6.5rem); }
.legal-content { max-width: 70ch; }
.legal-content h1 { margin-block: .52rem 1.35rem; font-size: clamp(2.7rem, 7.5vw, 5.5rem); line-height: 1; letter-spacing: -.064em; }
.legal-content section { margin-top: 2rem; padding-top: 1.45rem; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: .65rem; font-size: clamp(1.09rem, 2.8vw, 1.42rem); letter-spacing: -.025em; }
.legal-content p, .legal-content address { color: var(--secondary); line-height: 1.65; }
.legal-content p + p { margin-top: .75rem; }
.legal-content address { font-style: normal; }
.legal-content address + p { margin-top: .75rem; }
.legal-content a { text-underline-offset: .2em; overflow-wrap: anywhere; }

@media (min-height: 710px) and (prefers-reduced-motion: no-preference) {
  .story.is-sticky::after { display: block; content: ""; height: 142vh; }
  .story.is-sticky .story-stage { position: sticky; top: var(--sticky-top); min-height: 100svh; }
}

@media (max-width: 759px) {
  .site-header { min-height: 68px; }
  .hero { min-height: max(510px, 100svh); padding-top: 68px; padding-bottom: 3.65rem; }
  .hero-copy { padding: .8rem 0 2.4rem; }
  .hero h1 { font-size: clamp(3.2rem, 14.3vw, 6.1rem); letter-spacing: -.072em; }
  .hero-field { inset: auto -20% -10%; width: 140%; min-height: 55%; }
  .hero-note { left: var(--gutter); bottom: 1.55rem; }
  .simulation-intro { grid-template-columns: 1fr; gap: 1rem; }
  .scenario-nav { gap: .12rem .95rem; margin-top: 1.25rem; }
  .interlude-stage { min-height: 58svh; }
  .claim { font-size: clamp(2.15rem, 9.7vw, 4.4rem); }
  .claim--long { font-size: clamp(1.95rem, 8vw, 3.7rem); }
  .story-canvas { padding-block: 1.18rem 1.3rem; }
  .story-header { margin-bottom: .63rem; }
  .story-header h2 { margin-top: .38rem; font-size: clamp(1.72rem, 6.7vw, 2.55rem); text-wrap: initial; }
  .story-controls { justify-content: space-between; margin-bottom: .65rem; gap: .2rem; }
  .story-controls button { font-size: clamp(.75rem, 3.4vw, .875rem); padding: .5rem .1rem; }
  .story-layout { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .story-insight { min-height: 183px; }
  .story[data-tone="uncertain"] .story-insight { min-height: 245px; }
  .news-item { padding: .68rem .75rem; border-radius: 12px; }
  .news-item blockquote { margin-top: .45rem; }
  .news-meta { margin-top: .45rem; }
  .news-item--compact { padding-block: .54rem; }
  .news-item--compact blockquote { font-size: .9rem; line-height: 1.36; }
  .engine-header { padding-bottom: .35rem; }
  .engine-steps li { min-height: 1.46rem; font-size: .8125rem; }
  .signal-metrics { gap: .45rem .92rem; margin-block: .65rem .5rem; }
  .signal-reason { font-size: .93rem; }
  .order-block { padding-top: .54rem; margin-top: .7rem; }
  .chart { border-radius: 11px; }
  .chart-header { margin-bottom: .4rem; }
  .ticker-mark { flex-basis: 2rem; height: 2rem; }
  .chart-plot { height: clamp(108px, 17svh, 165px); }
  .chart-footer { padding-top: .43rem; }
  .site-footer { flex-wrap: wrap; }
  .site-footer small { order: 3; flex-basis: 100%; }
}

@media (max-width: 365px) {
  :root { --gutter: 15px; }
  .wordmark { gap: .4rem; }
  .chart-market { font-size: .7rem; }
  .chart-change { font-size: .72rem; }
  .chart-company { font-size: .875rem; }
}

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

.hero-market {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, transparent 13%, #0003 29%, #000c 51%, #000 77%);
  mask-image: radial-gradient(ellipse at 50% 45%, transparent 13%, #0003 29%, #000c 51%, #000 77%);
}
.hero-aperture { background: linear-gradient(180deg, #080a0e65 0%, transparent 22%, transparent 85%, #080a0ea0 100%); }
.hero-depth::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#a0b7df0e 1px, transparent 1px), linear-gradient(90deg, #a0b7df0e 1px, transparent 1px);
  background-size: 80px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 72%, #000c, transparent 76%);
  mask-image: radial-gradient(ellipse at 50% 72%, #000c, transparent 76%);
}
.hero-field { opacity: .46; }
.scroll-cue { letter-spacing: .11em; font-size: .75rem; font-weight: 680; }

.replay { background: #0c1018; overflow-anchor: none; }
.replay.is-sticky .story-stage { align-items: start; }
.replay.is-sticky .story-canvas { padding-top: clamp(2.4rem, 13vh, 8.5rem); }
.replay .story-header { margin-bottom: clamp(.85rem, 2.4vh, 1.65rem); }
.replay-label { color: var(--blue); }
.replay-mode { margin-top: .65rem; color: var(--muted); font-size: .75rem; font-weight: 690; letter-spacing: .095em; }
.replay-loading { color: var(--secondary); }
.replay-events { display: flex; flex-wrap: wrap; column-gap: clamp(.85rem, 3.2vw, 2rem); margin-bottom: clamp(.85rem, 2.2vh, 1.4rem); border-bottom: 1px solid var(--line-strong); }
.replay-events button { display: grid; align-content: center; gap: .22rem; min-height: 49px; padding: .18rem 0 .58rem; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--secondary); text-align: left; cursor: pointer; }
.replay-events button[aria-pressed="true"] { border-color: var(--blue); color: var(--ink); }
.replay-event-title { font-size: .875rem; font-weight: 650; }
.replay-event-date { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.replay-controls { margin-bottom: .85rem; }
.replay-controls button { min-height: 40px; padding-block: .4rem; }
.replay-panels { min-height: 286px; }
.replay-news, .replay-panel { animation: replay-enter 220ms ease both; }
@keyframes replay-enter { from { opacity: .48; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.replay-news--linkedin { border-left: 2px solid #6e9edb; }
.replay-news--push { border-radius: 17px; }
.replay-news-heading { display: flex; align-items: center; gap: .66rem; }
.replay-news-heading .ticker-mark { width: 2.1rem; height: 2.1rem; flex-basis: 2.1rem; }
.replay-news-heading .news-time { margin-top: .2rem; line-height: 1.38; white-space: normal; }
.replay-news-title { margin-top: .72rem; color: var(--ink); font-size: 1.11rem; line-height: 1.18; letter-spacing: -.025em; }
.replay-summary { margin-top: .42rem; color: var(--secondary); font-size: .9375rem; line-height: 1.53; }
.replay-news mark { background-size: var(--replay-highlight, 0%) 100%; }
.replay-source-links { display: flex; flex-wrap: wrap; gap: .22rem .75rem; margin-top: .75rem; }
.replay-source { color: #a7c7f7; font-size: .75rem; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.replay-source:hover { color: #d7e8ff; }
.replay-duration { margin-block: .78rem .45rem; color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.replay-execution { margin-top: .8rem; color: var(--muted); font-size: .8125rem; }
.replay-chart { min-height: 277px; }
.replay-chart-empty { display: grid; align-content: center; min-height: 150px; color: var(--muted); text-align: center; padding: .75rem 1rem; font-size: .93rem; line-height: 1.5; }
.replay-chart .chart-value { min-width: 4.5rem; }
.replay-chart .chart-change { color: var(--secondary); }
.replay-trace { stroke: #aac7f2; stroke-width: 2.2; }
.replay-area { fill: #203455; fill-opacity: .56; }
.replay-observation { fill: #c7dafa; }
.replay-guide { stroke: #b3c5e1; stroke-dasharray: 4 5; }
.replay-chart-footer { align-items: start; }
.replay-chart .chart-events { gap: .4rem .8rem; }
.replay-high { color: var(--ink); font-variant-numeric: tabular-nums; }
.replay-note { margin-top: .85rem; color: var(--muted); font-size: .75rem; line-height: 1.4; }

@media (max-width: 759px) {
  .replay.is-sticky .story-canvas { padding-top: 1.65rem; }
  .replay .story-header { margin-bottom: .6rem; }
  .replay-mode { margin-top: .42rem; font-size: .68rem; letter-spacing: .065em; }
  .replay-events { column-gap: .85rem; margin-bottom: .22rem; }
  .replay-events button { min-height: 44px; padding: .18rem 0 .4rem; }
  .replay-event-title { font-size: .81rem; }
  .replay-controls { margin-bottom: .55rem; }
  .replay-controls button { min-height: 39px; }
  .replay-panels { min-height: 174px; }
  .replay-chart { min-height: 0; }
  .replay-chart .chart-plot { height: clamp(104px, 15svh, 148px); }
  .replay-chart-empty { min-height: 102px; }
  .replay-news-title { font-size: .97rem; }
  .replay-summary { font-size: .875rem; line-height: 1.46; }
  .replay-note { margin-top: .58rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-market { display: none; }
}
