
.story { background: var(--black); color: var(--d-ink); position: relative; }
.scrolly { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.results-top { background: #000; }

.st-title {
  margin: 0; font-size: clamp(36px, 5.4vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 55%, #d2d2d7 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; text-wrap: balance;
}
.st-lead { margin: 18px 0 0; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.45; color: #a1a1a6; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
.st-ours { color: #39ab38; }
.st-v1 { color: #ba81c3; }
.num-title { margin: 0 0 12px; font-size: clamp(32px, 4vw, 56px); }
.num-lead { margin: 0 0 48px; font-size: clamp(17px, 1.6vw, 21px); color: #86868b; font-weight: 500; text-wrap: balance; }

.vsrc { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }

.hl { background: #000; color: #f5f5f7; padding: 90px 0 70px; overflow: hidden; }
.hl .wrap { max-width: none; padding: 0 max(var(--gutter), calc((100vw - 1180px) / 2)); }
.hl-title { margin: 0 0 28px; font-size: clamp(32px, 4vw, 56px); font-weight: 700; letter-spacing: -.035em; color: #f5f5f7; }
.hl-scroller { overflow: hidden; outline: none; }
.hl-scroller:focus-visible { outline-offset: -4px; border-radius: 28px; }
.hl-track { display: flex; gap: 20px; padding: 0 max(var(--gutter), calc((100vw - 1180px) / 2)); transition: transform .55s cubic-bezier(.25, .8, .25, 1); will-change: transform; }
.hl-track.dragging { transition: none; }
.hl-card { position: relative; flex: 0 0 min(1180px, calc(100vw - 2 * var(--gutter))); cursor: default; touch-action: pan-y; user-select: none; -webkit-user-select: none; aspect-ratio: 16 / 9; max-height: 62vh; border-radius: 28px;
  overflow: hidden; background: #111; transition: opacity .5s var(--ease); }
.hl-card:not(.on) { opacity: .45; }
.hl-card.on.near-line { cursor: col-resize; }
.hl-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #111; }
.hl-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 26%, rgba(0,0,0,0) 46%); }
.hl-source { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; object-fit: cover; }
.hl-cap { position: absolute; z-index: 2; left: 32px; top: 28px; right: 32px; margin: 0; max-width: min(560px, 42%); font-size: clamp(17px, 1.7vw, 24px); line-height: 1.3;
  font-weight: 600; letter-spacing: -.015em; color: rgba(245,245,247,.72); text-shadow: 0 1px 12px rgba(0,0,0,.6); text-wrap: balance; }
.hl-cap b { color: #fff; font-weight: 700; }
.hl-lab { position: absolute; z-index: 1; bottom: 18px; padding: 5px 12px; border-radius: 980px; font-size: 14px; font-weight: 700; background: rgba(0,0,0,.62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.hl-lab.l { left: 18px; color: #ba81c3; } .hl-lab.l.in { color: #f5f5f7; }
.hl-lab.r { right: 18px; color: #39ab38; }
.hl-handle { position: absolute; z-index: 1; top: 0; bottom: 0; width: 0; left: 0; pointer-events: none; will-change: transform; }
.hl-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 0 14px rgba(0,0,0,.3); }
.hl-card:not(.on) .hl-handle, .hl-card:not(.on) .hl-lab { opacity: 0; }
.cmp-knob { position: absolute; top: 50%; left: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.35); display: grid; place-items: center; }
.cmp-knob svg { width: 22px; height: 22px; stroke: #1d1d1f; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hl-ctrl { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.hl-dots { display: flex; gap: 12px; align-items: center; height: 56px; padding: 0 22px; border-radius: 999px; background: rgba(66,66,69,.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.hl-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.42); cursor: pointer;
  transition: width .4s var(--ease), background .3s; overflow: hidden; }
.hl-dots button[aria-selected="true"] { width: 48px; background: rgba(255,255,255,.42); }
.hl-dots button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; border-radius: 999px; }
.hl-play { width: 56px; height: 56px; border: 0; border-radius: 50%; background: #f5f5f7; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  display: grid; place-items: center; cursor: pointer; }
.hl-play:hover { background: #fff; }
.hl-play[aria-busy="true"] { position: relative; }
.hl-play[aria-busy="true"]::after { content: ""; position: absolute; inset: 4px; border: 2px solid transparent; border-top-color: #fff;
  border-radius: 50%; animation: hl-loading .85s linear infinite; pointer-events: none; }
@keyframes hl-loading { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .hl-play[aria-busy="true"]::after { animation: none; } }
.hl-play svg { width: 24px; height: 24px; fill: #1d1d1f; }
.hl-play .i-play, .hl-play .i-replay { display: none; }
.hl-play.paused .i-play { display: block; } .hl-play.paused .i-pause { display: none; }
.hl-play.replay .i-replay { display: block; } .hl-play.replay .i-pause, .hl-play.replay .i-play { display: none; }
.hl-note { margin: 16px 0 0; text-align: center; font-size: 12.5px; font-weight: 500; color: var(--d-mute-2); }
@media (max-width: 640px) {
  .hl { padding: 80px 0 64px; }
  .hl-card { aspect-ratio: 4 / 5; border-radius: 22px; }
  .hl-cap { left: 20px; top: 20px; right: 20px; max-width: none; }
}

#st-ruler { position: relative; padding: 40px 0 72px; background: #000; }
#st-ruler .ru-lead { margin-bottom: 0; max-width: 820px; }
.ru-bar { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin: 32px 0 20px; }
.ru-bar .seg-dark { margin: 0; }
.ru-pick button[aria-pressed="true"] { background: var(--d-ink); color: var(--black); }
.ru-panels { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ru-panel { margin: 0; }
.ru-panel canvas { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 18px; background: #111; }
.ru-panel figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 0 4px; flex-wrap: wrap; }
.ru-panel .ru-name { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: #f5f5f7; }
.ru-panel.ours .ru-name { color: #39ab38; }
.ru-panel .ru-mae { font-size: 14px; color: #86868b; }
.ru-panel .ru-mae b { color: #f5f5f7; font-weight: 600; }
.ru-panel.ours .ru-mae b { color: #6fe06d; }
.ru-media { position: relative; }
.ru-play { width: 44px; height: 44px; }
.ru-play svg { width: 20px; height: 20px; }
.ru-play .i-play { display: none; } .ru-play.paused .i-play { display: block; } .ru-play.paused .i-pause { display: none; }
.ru-media .ru-play { position: absolute; right: 14px; bottom: 14px; }
.ru-src { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.ru-scrub-hint { margin: 24px 0 6px; font-size: 14px; line-height: 1.4; color: #a1a1a6; text-wrap: pretty; }
.ru-chart canvas { display: block; width: 100%; height: 210px; touch-action: pan-y; cursor: ew-resize; }
@media (max-width: 760px) {
  #st-ruler { padding: 20px 0 56px; }
  .ru-pick button { padding-left: 9px; padding-right: 9px; font-size: 12.5px; }
  .ru-panels { grid-template-columns: 1fr; gap: 18px; }
  .ru-panel .ru-name { font-size: 17px; } .ru-panel .ru-mae { font-size: 13px; }
  .ru-media .ru-play { right: 10px; bottom: 10px; width: 40px; height: 40px; }
  .ru-chart canvas { height: 170px; }
}
@media (min-width: 600px) and (max-width: 760px) { .ru-panels { grid-template-columns: 1fr 1fr; gap: 12px; } }

#st-numbers { padding: 80px 0 40px; }
.num-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
.num-grid > .num { border-top: 1px solid #2c2c2e; padding: 34px 24px 34px 0; }
.num-grid > .num .v { font-size: clamp(36px, 3.7vw, 54px); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.num-grid > .num .v.g { background: linear-gradient(180deg, #6fe06d 10%, #2ca02c 100%); -webkit-background-clip: text; background-clip: text; }
.num-grid > .num .v small { font-size: .36em; letter-spacing: -.01em; margin-left: .1em; }
.num-grid > .num .d { margin-top: 14px; font-size: 17px; line-height: 1.4; color: #f5f5f7; font-weight: 600; text-wrap: balance; }
.num-grid > .num .pitch { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: #a1a1a6; text-wrap: pretty; }
.num-grid > .num .pitch b.hi { color: #6fe06d; font-weight: 700; }
.num-grid > .num .cmp { margin-top: 10px; font-size: 12px; color: #6e6e73; font-variant-numeric: tabular-nums; text-wrap: balance; }
@media (max-width: 1100px) { .num-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .num-grid > .num { padding: 26px 0 34px; } }
@media (max-width: 640px) {
  .num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .num-grid > .num .v { font-size: 34px; }
  .num-grid > .num .pitch { font-size: 13.5px; }
}

.ch-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px var(--gutter) 30px; }
.ch-metric { margin: 0; }
.ch-stage { position: relative; width: min(1120px, 100%); height: min(50vh, 560px); }
.ch-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ch-tip { position: absolute; transform: translate(-50%, calc(-100% - 16px)); padding: 8px 12px; border-radius: 12px; background: rgba(29,29,31,.96);
  border: 1px solid rgba(255,255,255,.12); font-size: 13px; line-height: 1.35; color: #d2d2d7; white-space: nowrap; pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.ch-tip.below { transform: translate(-50%, 16px); }
.ch-tip b { color: #f5f5f7; margin-right: 8px; }
.ch-tip span { color: #86868b; }
.ch-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 13px; color: #a1a1a6; }
.ch-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.ch-legend i.ours { background: #39ab38; }
.ch-legend i.fam-sf { background: #c3885d; } .ch-legend i.fam-mp { background: #619acd; } .ch-legend i.fam-vd { background: #ba81c3; }
.ch-legend .ch-hint { color: #86868b; }
.ch-caps { position: relative; width: min(860px, 100%); height: 3.1em; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; text-align: center; }
.ch-caps p { position: absolute; left: 0; right: 0; top: 0; margin: 0; color: #a1a1a6; font-weight: 500; opacity: 0; text-wrap: balance; }
.ch-caps p:nth-child(4) { top: 1.45em; }
.ch-caps b { color: #f5f5f7; font-weight: 600; }
.ch-caps .st-ours { color: #39ab38; } .ch-caps .st-v1 { color: #ba81c3; }
@media (max-width: 900px) {
  .ch-stage { height: 42vh; }
  .ch-legend .ch-hint { display: none; }
  .ch-caps { height: 5.6em; }
  .ch-caps p:nth-child(4) { top: 2.9em; }
}
@media (max-width: 640px) { .ch-metric button { padding-left: 11px; padding-right: 11px; font-size: 13.5px; } }
@media (hover: none) { .ch-legend .ch-hint { display: none; } }

.steps { position: relative; background: #000; }
.steps-head { text-align: center; padding-top: 150px; }
.steps-head .st-title { font-size: clamp(32px, 4.4vw, 60px); }
.steps-head .st-lead { max-width: 760px; margin: 18px auto 0; }
@media (max-width: 900px) and (orientation: portrait) { .steps-head { padding-top: 100px; } }
@media (max-width: 900px) and (orientation: landscape) { .steps-head { padding-top: 72px; } }

#st-wall { --wall-pin: clamp(32px, 9vh, 80px); height: calc(100vh + var(--wall-pin)); }
.wall-vid { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.wall-shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; }
.wall-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--gutter); opacity: 0; pointer-events: none; }
.wall-copy .st-title { max-width: 1000px; }
@media (orientation: landscape) {
  #st-wall { height: calc(var(--wall-pin) + max(100svh, 56.25vw)); }
  #st-wall .sticky { height: max(100svh, 56.25vw); top: min(0px, calc((100svh - 56.25vw) / 2)); }
  .wall-vid { object-fit: contain; }
}
@media (max-width: 640px) { .wall-copy .st-title { font-size: clamp(28px, 8.4vw, 36px); } }

:focus-visible { outline: 2px solid #2997ff; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
p, figcaption { text-wrap: pretty; }
