/* The case pages: one look for every case. */
:root {
  --bg: #07080B; --fg: #E9ECF2; --muted: rgba(233,236,242,.58); --faint: rgba(233,236,242,.1);
  --card: rgba(14,16,21,.78); --line: rgba(233,236,242,.1); --red: #E5484D; --mono: 'JetBrains Mono', ui-monospace, monospace;
  --col: min(640px, 100%); --left: clamp(20px, 7vw, 120px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; background: var(--bg); }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--fg); color: var(--bg); }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

#gl { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; }
.shade { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 70% 50%, transparent 50%, rgba(0,0,0,.55) 100%); }
@media (max-width: 860px) { .shade { background: rgba(7,8,11,.35); } }

/* ——— chrome ——— */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 40; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px clamp(16px, 3vw, 32px); font-size: 14px; font-weight: 500; transition: background .4s; }
.nav.solid { background: rgba(7,8,11,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (hover: none) and (pointer: coarse) { .nav.solid { background: rgba(7,8,11,.92); } }
.nav .back { display: flex; align-items: center; gap: 10px; }
.nav .back span { color: var(--muted); font-weight: 400; }
.nav-r { display: flex; align-items: center; gap: 10px; }
.style { display: flex; padding: 3px; border-radius: 999px; background: rgba(233,236,242,.07); border: 1px solid var(--line); }
.style a { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.style a[aria-current] { background: var(--fg); color: var(--bg); }
.pill { border: 1px solid rgba(233,236,242,.25); border-radius: 999px; padding: 7px 15px; }
.pill:hover { background: rgba(233,236,242,.08); }
@media (max-width: 640px) { .nav .back span, .nav-r .pill { display: none; } }

.rail { position: fixed; right: clamp(14px, 2.4vw, 32px); top: 50%; transform: translateY(-50%); z-index: 20; display: flex; flex-direction: column; gap: 4px; }
.rail a { display: flex; justify-content: flex-end; align-items: center; gap: 8px; padding: 3px 0; font: 500 10px/1 var(--mono); color: rgba(233,236,242,.4); transition: color .3s; }
.rail a span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s cubic-bezier(.2,.8,.2,1); }
.rail a::after { content: ''; width: 12px; height: 1px; background: currentColor; transition: width .4s cubic-bezier(.2,.8,.2,1); }
.rail:hover a span, .rail a.on span { max-width: 180px; }
.rail a.on, .rail a:hover { color: var(--fg); }
.rail a.on::after { width: 26px; }
@media (max-width: 1000px) { .rail { display: none; } }

/* ——— content ——— */
main { position: relative; z-index: 5; }
.sec { position: relative; padding: 22vh var(--left) 10vh; min-height: 110vh; }
.col { width: var(--col); }
.num { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; display: block; margin-bottom: 18px; }
h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: rgba(233,236,242,.82); margin-top: 22px; line-height: 1.55; }
p + p { margin-top: 12px; }
.muted { color: var(--muted); }
.eyebrow { font: 500 11px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.stack { display: grid; gap: 12px; margin-top: 32px; }
.tag { display: inline-block; font: 500 11px/1 var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 5px 7px; margin-top: 14px; }
ul.plain { list-style: none; margin-top: 12px; }
.kt { display: block; margin-top: 18px; }
.kt + ul.plain { margin-top: 4px; }
ul.plain li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
ul.plain li:first-child { border-top: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.tabs button { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); background: rgba(233,236,242,.03); transition: background .2s, color .2s; }
.tabs button:hover { color: var(--fg); }
.tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
[role="tabpanel"][hidden] { display: none; }

/* text arrives as it is reached */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv, .js .shot.rv { opacity: 1; transform: none; transition: none; } }

/* hero */
.hero { padding-top: 18vh; min-height: auto; padding-bottom: 6vh; }
.hero h1 { font-size: clamp(48px, 8.6vw, 140px); font-weight: 700; letter-spacing: -0.055em; line-height: .9; }
.hero .lead { max-width: 640px; }
.meta { display: grid; grid-template-columns: repeat(5, auto); gap: 14px 36px; margin-top: 40px; max-width: 1100px; }
.meta dt { font: 500 11px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.meta dd { font-size: 14.5px; margin-top: 6px; }
@media (max-width: 900px) { .meta { grid-template-columns: 1fr 1fr; } }
.nda { display: flex; gap: 10px; align-items: center; margin-top: 28px; font-size: 13px; color: var(--muted); }
.nda i { font: normal 500 10px/1 var(--mono); border: 1px solid var(--line); border-radius: 4px; padding: 4px 5px; }
.hero-fig { margin: 7vh 0 0; border-radius: 18px; overflow: hidden; aspect-ratio: var(--ar, 2425 / 1364); max-width: 1240px; background: #1a1c22; will-change: opacity; }
.hero-fig img { width: 100%; height: 100%; object-fit: cover; }

/* problem */
.arrow { font-size: 22px; color: var(--muted); text-align: center; padding: 6px 0; }

/* roadmap */
.steps { list-style: none; margin-top: 40px; border-left: 1px solid var(--line); }
.steps li { position: relative; padding: 0 0 46px 32px; }
.js .steps li.rv.in { opacity: .45; transition: opacity .4s, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .steps li.rv.in.on { opacity: 1; }
.steps li::before { content: ''; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--muted); transition: background .3s, border-color .3s, box-shadow .3s; }
.steps li.on::before { background: var(--fg); border-color: var(--fg); box-shadow: 0 0 0 6px rgba(233,236,242,.1); }
.steps b { font: 500 12px/1 var(--mono); color: var(--muted); display: block; margin-bottom: 8px; }
.steps p { color: rgba(233,236,242,.78); margin-top: 8px; font-size: 15.5px; }

/* strategy */
.vps { display: grid; gap: 14px; }
.vps dt { font: 500 11px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.vps dd { margin-top: 4px; font-size: 15.5px; }
.kh { margin-top: 16px; font: 500 11px/1.4 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(233,236,242,.85); }
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 10px; }
.kpi b { display: block; font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; margin-top: 8px; }
.kpi b s { text-decoration: none; color: var(--muted); position: relative; }
.kpi b s::after { content: ''; position: absolute; left: -2%; right: -2%; top: 55%; height: 2px; background: var(--red); }
.kpi2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 8px; padding-top: 4px; border-top: 1px solid var(--line); }
.kpi2 .plain { margin-top: 4px; } .kpi2 .plain li { font-size: 14px; }
@media (max-width: 640px) { .kpi, .kpi2 { grid-template-columns: 1fr; } }
.groups { margin-top: 12px; }
.groups dt { display: flex; align-items: center; gap: 8px; font: 600 14.5px/1.3 'Inter', sans-serif; letter-spacing: -.01em; text-transform: none; color: var(--fg); }
.groups dt i { font: normal 500 10.5px/1 var(--mono); padding: 4px 6px; border-radius: 5px; color: #07080B; }
.groups dd { font-size: 14.5px; color: rgba(233,236,242,.78); }
.principles { counter-reset: p; list-style: none; margin-top: 12px; display: grid; gap: 10px; }
.principles li { counter-increment: p; padding-left: 34px; position: relative; font-size: 15px; }
.principles li::before { content: counter(p, decimal-leading-zero); position: absolute; left: 0; top: 2px; font: 500 11px/1.4 var(--mono); color: var(--muted); }
.principles li b { font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 13px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: rgba(233,236,242,.85); }

/* research */
.personas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.js .persona.rv { transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), border-color .3s; }
.persona { cursor: default; }
.persona.on { border-color: rgba(233,236,242,.4); }
.persona i { font: normal 500 11px/1 var(--mono); padding: 4px 7px; border-radius: 5px; color: #07080B; }
.persona h3 { margin-top: 12px; font-size: 18px; }
.persona p { font-size: 14px; color: rgba(233,236,242,.75); margin-top: 8px; }
.persona p b { color: var(--muted); font: 500 10.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 3px; }
@media (max-width: 640px) { .personas { grid-template-columns: 1fr; } }
/* user flows: a diagram read top to bottom; a fork runs its branches side by side and joins them again */
.uf { margin-top: 12px; padding: 24px 18px 22px; }
.uf > .eyebrow { display: block; margin-bottom: 20px; }
.fl { --wire: rgba(233,236,242,.22); list-style: none; display: flex; flex-direction: column; align-items: center; width: 100%; }
.fl > li { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 22px; }
.fl > li:first-child { padding-top: 0; }
.fl > li:not(:first-child)::before, .fb::before, .fb > .fl > li:first-child::before { content: ''; position: absolute; left: 50%; top: 0; width: 1px; height: 22px; background: var(--wire); }
.fn { position: relative; width: fit-content; max-width: min(100%, 360px); padding: 9px 14px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0E1016; font-size: 14px; line-height: 1.35; }
.fn i { display: block; margin-bottom: 5px; font: normal 500 9.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.fn small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.fn[data-k="screen"] { border-color: rgba(150,180,255,.34); } .fn[data-k="screen"] i { color: #A9C2FF; }
.fn[data-k="action"] { border-color: rgba(255,150,160,.32); } .fn[data-k="action"] i { color: #FFB3BB; }
.fn[data-k="system"] { border-color: rgba(140,230,170,.32); } .fn[data-k="system"] i { color: #A8E9BF; }
.fn[data-k="decision"] { border-color: rgba(255,214,120,.42); } .fn[data-k="decision"] i { color: #FFE08A; }
.fn[data-k="decision"] i::before { content: '◆ '; }
.fn[data-k="end"] { padding: 9px 18px 10px; border-radius: 999px; border-color: var(--fg); background: var(--fg); color: var(--bg); } .fn[data-k="end"] i { color: rgba(7,8,11,.55); }
/* an end with a line under it is a card, not a pill */
.fn[data-k="end"]:has(small) { padding: 9px 14px 10px; border-radius: 10px; } .fn[data-k="end"] small { color: rgba(7,8,11,.6); }
.fn[data-k="off"] { border-style: dashed; border-color: rgba(233,236,242,.28); color: var(--muted); }
/* a step of the flow is a marker on its line */
.fs span { padding: 6px 11px; border: 1px dashed var(--wire); border-radius: 999px; background: #0B0D12; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
/* a fork: a rail across the branches' middles where they part, and another where they join */
.fl > li.fbr { display: grid; grid-template-columns: repeat(var(--b), minmax(0, 1fr)); align-items: stretch;
  background: linear-gradient(var(--wire), var(--wire)) 50% 22px / calc(100% - 100% / var(--b)) 1px no-repeat,
              linear-gradient(var(--wire), var(--wire)) 50% 100% / calc(100% - 100% / var(--b)) 1px no-repeat; }
.fl > li.fbr.end { background: linear-gradient(var(--wire), var(--wire)) 50% 22px / calc(100% - 100% / var(--b)) 1px no-repeat; }
.fb { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 22px 5px 0; }
.fbr:not(.end) > .fb::after { content: ''; flex: 1 0 18px; width: 1px; background: var(--wire); }
.fb-l { position: relative; z-index: 1; margin-top: -9px; padding: 0 4px; background: #0B0D12; font: 500 10px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: rgba(233,236,242,.78); text-align: center; }
.fb > .fl > li:first-child { padding-top: 12px; }
.fb > .fl > li:first-child::before { height: 12px; }
.fb .fn { width: 100%; max-width: 100%; }
.fkey { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font: 500 10.5px/1 var(--mono); color: var(--muted); }
.fkey span { display: flex; align-items: center; gap: 7px; }
.fkey span::before { content: ''; width: 11px; height: 11px; border-radius: 3px; border: 1px solid var(--muted); }
.fkey [data-k="screen"]::before { border-color: #A9C2FF; } .fkey [data-k="action"]::before { border-color: #FFB3BB; }
.fkey [data-k="system"]::before { border-color: #A8E9BF; } .fkey [data-k="decision"]::before { border-color: #FFE08A; transform: rotate(45deg) scale(.85); }
.fkey [data-k="end"]::before { border-radius: 6px; background: var(--fg); border-color: var(--fg); } .fkey [data-k="off"]::before { border-style: dashed; }
/* on a phone a fork inside a branch lists its ways one under the other */
@media (max-width: 640px) {
  .uf { padding: 22px 12px 18px; }
  .fb .fl > li.fbr { grid-template-columns: 1fr; row-gap: 12px; background: none; }
  .fb .fbr > .fb { align-items: stretch; padding: 0 0 0 10px; border-left: 1px dashed var(--wire); }
  .fb .fbr > .fb::before, .fb .fbr > .fb::after, .fb .fbr > .fb > .fl > li:first-child::before { display: none; }
  .fb .fbr > .fb .fb-l { margin: 0 0 6px; padding: 0; background: none; text-align: left; }
  .fb .fbr > .fb > .fl > li:first-child { padding-top: 0; }
  .fb .fn { padding: 8px 10px 9px; font-size: 13px; }
}

/* journey maps: stages across, lanes down; the emotion curve runs through its own lane, a point under each stage */
.wide { width: min(1180px, 100%); }
.jm-sheet { margin-top: 16px; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); scrollbar-width: thin; scrollbar-color: rgba(233,236,242,.2) transparent; }
.jm { --lw: 118px; width: 100%; min-width: calc(var(--lw) + var(--n) * 150px); table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13.5px; line-height: 1.45; }
.jm col.lc { width: var(--lw); }
.jm th, .jm td { padding: 14px 16px; vertical-align: top; text-align: left; font-weight: 400; border-top: 1px solid var(--line); transition: background .3s; }
.jm thead th, .jm thead td { border-top: 0; padding-top: 18px; }
.jm thead th { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.jm thead th b { display: block; margin-bottom: 6px; font: 500 11px/1 var(--mono); color: var(--muted); }
.jm .lane { position: sticky; left: 0; z-index: 2; background: #0C0E13; font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.jm [data-c].on { background: rgba(233,236,242,.05); }
.jm ul { list-style: none; display: grid; gap: 6px; }
.jm li { position: relative; padding-left: 11px; }
.jm li::before { content: '·'; position: absolute; left: 0; color: var(--muted); }
.jm .think td { color: rgba(233,236,242,.75); }
.jm .pain td::before, .jm .opp td::before { display: block; margin-bottom: 5px; font: 500 14px/1 var(--mono); }
.jm .pain td::before { content: '−'; color: #FF8A8F; }
.jm .opp td::before { content: '+'; color: #8FE3AE; }
.jm .opp td { color: var(--fg); }
.jm .emo td { padding: 0; }
.jm-plot { position: relative; height: 184px; }
.jm-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.6,0,.2,1); }
.drawn .jm-plot svg { clip-path: inset(0 0 0 0); }
.jm-band { position: absolute; top: 0; bottom: 0; width: calc(100% / var(--n)); background: rgba(233,236,242,.05); opacity: 0; transition: opacity .3s; pointer-events: none; }
.jm-band.on { opacity: 1; }
.jm-pt { position: absolute; width: calc(100% / var(--n)); height: 0; }
.jm-pt i { position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px #0F1116, 0 0 18px var(--c); transform: scale(0); transition: transform .55s cubic-bezier(.3,1.6,.5,1) var(--d); }
.drawn .jm-pt i { transform: scale(1); }
.drawn .jm-pt.on i { transform: scale(1.45); transition-delay: 0s; }
.jm-pt em { position: absolute; left: 0; right: 0; top: 13px; width: fit-content; max-width: calc(100% - 12px); margin: 0 auto; padding: 1px 6px 2px; border-radius: 5px; background: #0F1116; font: normal 500 12px/1.25 'Inter', sans-serif; color: rgba(233,236,242,.7); text-align: center; opacity: 0; transition: opacity .5s var(--d), color .3s; }
.drawn .jm-pt em { opacity: 1; }
.jm-pt.on em { color: var(--fg); }
@media (max-width: 860px) {
  .jm { --lw: 30px; min-width: calc(var(--lw) + var(--n) * (100vw - 2 * var(--left) - 32px) * .86); }
  .jm .lane { padding: 14px 0; text-align: center; vertical-align: middle; }
  .jm .lane span { display: inline-block; writing-mode: vertical-rl; transform: rotate(180deg); }
  .jm-sheet { scroll-snap-type: x mandatory; scroll-padding-left: 30px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .jm-sheet::-webkit-scrollbar { display: none; }
  .jm thead th { scroll-snap-align: start; }
}

/* prototype: the final screens, all five at once; each opens full size */
.gal { margin-top: 44px; width: min(1100px, 100%); }
.gal-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; margin-top: 16px; }
.shot:first-child { grid-column: 1 / -1; }
.shot-f { position: relative; display: block; width: 100%; aspect-ratio: var(--sr, 2880 / 1800); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #111318; cursor: zoom-in; transition: border-color .3s, transform .5s cubic-bezier(.2,.8,.2,1); }
.shot-f img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.shot-f img.l { opacity: 0; }
.gal.light .shot-f img.l { opacity: 1; }
@media (hover: hover) { .shot-f:hover { border-color: rgba(233,236,242,.32); transform: translateY(-3px); } }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shot figcaption b { color: var(--fg); font-weight: 600; }
.shot figcaption span { margin-right: 8px; font: 500 11px/1 var(--mono); }
/* each comes up out of the page as it is reached */
.js .shot.rv { transform: perspective(1600px) rotateX(16deg) translateY(70px) scale(.96); transform-origin: 50% 100%; transition-duration: 1.2s; }
.js .shot.rv.in { transform: none; }
.shot:nth-child(3).rv, .shot:nth-child(5).rv { transition-delay: .12s; }
.theme { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7,8,11,.5); }
.theme button { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--muted); }
.theme button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

/* a screen, full size */
.lb { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; background: var(--bg); opacity: 0; transition: opacity .35s; }
.lb[hidden] { display: none; }
.lb .theme[hidden], .lb-nav[hidden] { display: none; }
.lb.open { opacity: 1; }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 32px); }
.lb-bot { padding-bottom: 20px; }
.lb-n { font: 500 12px/1 var(--mono); color: var(--muted); }
.lb-r { display: flex; align-items: center; gap: 10px; }
.lb button.lb-b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); font-size: 15px; transition: background .2s; }
.lb button.lb-b:hover { background: rgba(233,236,242,.08); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 clamp(16px, 5vw, 80px); }
.lb-img { flex: none; max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-cap { font-size: 14px; color: var(--muted); }
.lb-cap b { color: var(--fg); font-weight: 600; }
.lb-nav { display: flex; gap: 8px; }
@media (max-width: 860px) {
  /* a phone is too narrow for a desktop screen: it shows at a readable height and pans sideways */
  .lb-stage { justify-content: flex-start; overflow-x: auto; padding: 0 16px; overscroll-behavior: contain; }
  .lb-img { max-width: none; max-height: none; height: min(60vh, 520px); width: auto; }
  .lb-bot { align-items: flex-end; }
}

/* the token graph: every color flows through three layers; touch a token to see its chain */
.tg-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: min(1000px, 100%); margin-top: 24px; }
.tg-wrap { width: min(1000px, 100%); margin-top: 16px; }
.tg { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 72px; }
.tg-lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.tg-lines path { fill: none; stroke: rgba(233,236,242,.2); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.2,1), stroke .3s, opacity .4s; }
.tg-lines path.t2 { transition-delay: .55s, 0s, 0s; }
.tg.in .tg-lines path { stroke-dashoffset: 0; }
.tg-lines path.off { opacity: .2; }
.tg.hl .tg-lines path { opacity: .25; }
.tg.hl .tg-lines path.on { opacity: 1; stroke: rgba(233,236,242,.9); }
.tg-col h4 { display: flex; justify-content: space-between; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tg-col ul { list-style: none; display: grid; gap: 4px; }
.tk { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(14,16,21,.88); font: 400 12px/1.2 var(--mono); text-align: left; transition: opacity .3s, border-color .3s, background .3s; }
.tk i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,.16); transition: background .5s; }
.tk b { overflow: hidden; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.tk em { font-style: normal; font-size: 11px; color: var(--muted); }
.tg.hl .tk { opacity: .3; }
.tg.hl .tk.on { opacity: 1; border-color: rgba(233,236,242,.3); }
.tg.hl .tk.me { background: rgba(233,236,242,.1); border-color: rgba(233,236,242,.55); }
@media (max-width: 860px) {
  .tg-wrap { width: auto; margin: 16px calc(-1 * var(--left)) 0; padding: 0 var(--left) 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  .tg-wrap::-webkit-scrollbar { display: none; }
  .tg { width: 780px; gap: 0 48px; }
  .tg-col { scroll-snap-align: start; scroll-margin-left: var(--left); }
}

/* hand-off */
.pipe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; width: min(1000px, 100%); }
.pipe div { padding: 18px; border: 1px solid var(--line); background: var(--card); position: relative; }
.pipe div:first-child { border-radius: 14px 0 0 14px; } .pipe div:last-child { border-radius: 0 14px 14px 0; }
.pipe div + div { border-left: 0; }
.pipe b { display: block; font-size: 15px; font-weight: 600; }
.pipe span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.pipe div + div::before { content: '→'; position: absolute; left: -9px; top: 50%; transform: translateY(-50%); background: var(--bg); color: var(--muted); font-size: 13px; padding: 2px 0; }
@media (max-width: 760px) { .pipe { grid-template-columns: 1fr; } .pipe div, .pipe div:first-child, .pipe div:last-child { border-radius: 0; border-left: 1px solid var(--line); border-top: 0; } .pipe div:first-child { border-radius: 14px 14px 0 0; border-top: 1px solid var(--line); } .pipe div:last-child { border-radius: 0 0 14px 14px; } .pipe div + div::before { content: '↓'; left: 18px; top: -11px; transform: none; } }

/* post-launch */
/* feedback-driven iteration: four steps round a loop, the one in hand lit as it comes round */
.cyc { list-style: none; position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "a b" "d c"; gap: 26px; margin-top: 14px; }
.cyc li { position: relative; padding: 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; color: var(--muted); transition: border-color .5s, background .5s, color .5s; }
.cyc li b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--fg); }
.cyc li:nth-child(1) { grid-area: a; } .cyc li:nth-child(2) { grid-area: b; } .cyc li:nth-child(3) { grid-area: c; } .cyc li:nth-child(4) { grid-area: d; }
.cyc li::after { position: absolute; font-size: 13px; color: var(--muted); }
.cyc li:nth-child(1)::after { content: '→'; left: 100%; top: 50%; width: 26px; text-align: center; transform: translateY(-50%); }
.cyc li:nth-child(2)::after { content: '↓'; top: 100%; left: 50%; height: 26px; line-height: 26px; transform: translateX(-50%); }
.cyc li:nth-child(3)::after { content: '←'; right: 100%; top: 50%; width: 26px; text-align: center; transform: translateY(-50%); }
.cyc li:nth-child(4)::after { content: '↑'; bottom: 100%; left: 50%; height: 26px; line-height: 26px; transform: translateX(-50%); }
.cyc li.on { border-color: rgba(233,236,242,.45); background: rgba(233,236,242,.06); color: rgba(233,236,242,.85); }

/* the live product, one tap away */
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
/* the live product is the strongest proof on the page, so its buttons are the brightest thing on it */
.links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; transition: background .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.links a:hover { background: #fff; transform: translateY(-2px); }
.links .ic { flex: none; width: 16px; height: 16px; margin: -2px 2px 0 -2px; fill: currentColor; }
.links .ic.web { margin-top: 0; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* a pair the exchanges never show: two prices against the dollar, divided */
.ratio { margin-top: 32px; padding: 8px 22px; font: 500 clamp(18px, 1.7vw, 22px)/1 var(--mono); }
.ratio div { display: flex; align-items: center; gap: 10px; padding: 16px 0; }
.ratio div + div { border-top: 1px solid var(--line); }
.ratio i { font-style: normal; color: var(--muted); }
.ratio .q { color: var(--muted); }
.ratio em { margin-left: auto; font-style: normal; color: var(--muted); }
.ratio .r { border-top: 1px solid rgba(233,236,242,.45); }
.ratio .r span { color: #8FE3AE; }
.ratio small { margin-left: auto; max-width: 46%; font: 400 13px/1.3 'Inter', sans-serif; color: var(--muted); text-align: right; }

/* a dead end to the side of a flow: the decision's “no”, and where it leads */
.fl > li.fx { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.fl > li.fx > .fn { grid-column: 2; grid-row: 1; }
.fx-out { grid-column: 3; grid-row: 1; display: flex; align-items: center; min-width: 0; }
.fx-out::before { content: ''; flex: 0 0 14px; height: 1px; background: var(--wire); }
.fx-out .fb-l { margin: 0; padding: 0 6px; background: none; white-space: nowrap; }
.fx-out .fb-l::after { content: ' →'; color: var(--muted); }
.fx-out .fn { flex: 0 1 auto; min-width: 0; padding: 7px 11px 8px; font-size: 13px; }
.fs.yes span { border-style: solid; }
@media (max-width: 640px) {
  /* on a phone the dead end hangs off the line just under its decision, and the line goes on past it */
  .fl > li.fx { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .fl > li.fx > .fn { grid-column: 1 / -1; justify-self: center; }
  .fx-out { grid-column: 2; grid-row: 2; position: relative; padding: 2px 0; }
  .fx-out::before { flex-basis: 10px; }
  .fx-out::after { content: ''; position: absolute; left: 0; top: -8px; bottom: 0; width: 1px; background: var(--wire); }
  .fx-out .fb-l { padding: 0 5px; }
  .fx-out .fb-l::after { content: none; }
  .fx-out .fn { padding: 6px 9px 7px; font-size: 12.5px; }
}
/* what a flow was decided for, under it */
.uf-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: rgba(233,236,242,.8); }
.uf-note + .uf-note { margin-top: 10px; padding-top: 0; border-top: 0; }

/* a market, side by side: who does what */
.cmp-wrap { width: min(880px, 100%); }
.cmp-sheet { position: relative; margin-top: 16px; overflow-x: auto; overflow-y: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--card); scrollbar-width: none; }
.cmp-sheet::-webkit-scrollbar { display: none; }
.cmp { width: 100%; min-width: 640px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13.5px; line-height: 1.4; }
.cmp col.who { width: 30%; }
.cmp th, .cmp td { padding: 14px 12px; vertical-align: top; text-align: left; font-weight: 400; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; padding-top: 18px; font: 500 10.5px/1.35 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cmp tbody th { font-weight: 500; }
.cmp .who, .cmp tbody th { position: sticky; left: 0; z-index: 1; background: #0C0E13; }
.cmp small { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); }
.cmp tr.me th, .cmp tr.me td { background: rgba(233,236,242,.07); }
.cmp tr.me th { color: var(--fg); font-weight: 600; background: #16181E; }
/* does it: a full dot; partly: half; doesn't: an empty ring */
.mk { position: relative; display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid rgba(233,236,242,.75); vertical-align: -2px; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1) var(--d, 0s); }
.mk.y { background: var(--fg); border-color: var(--fg); }
.mk.p { background: linear-gradient(90deg, rgba(233,236,242,.85) 50%, transparent 50%); }
.mk.n { border-color: rgba(233,236,242,.25); }
.drawn .mk { transform: none; }
.cmp td:nth-of-type(2) .mk { --d: .1s; } .cmp td:nth-of-type(3) .mk { --d: .2s; } .cmp td:nth-of-type(4) .mk { --d: .3s; } .cmp td:nth-of-type(5) .mk { --d: .4s; }
.cmp tr.me .mk.y { background: #8FE3AE; border-color: #8FE3AE; box-shadow: 0 0 14px rgba(143,227,174,.5); }
.mkey { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font: 500 10.5px/1 var(--mono); color: var(--muted); }
.mkey span { display: flex; align-items: center; gap: 7px; }
.mkey .mk { transform: none; }
@media (max-width: 860px) {
  .cmp-sheet { scroll-snap-type: x mandatory; scroll-padding-left: 118px; overscroll-behavior-x: contain; }
  .cmp { min-width: 560px; }
  .cmp col.who { width: 118px; }
  .cmp thead th:not(.who) { scroll-snap-align: start; }
}

/* the research's numbers: a figure, and what it was */
.stat { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 18px; align-items: start; }
.stat > b { grid-row: span 3; font-size: clamp(44px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.05em; line-height: .95; }
.stat > b small { display: block; margin-top: 8px; font: 500 10.5px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stat h3 { font-size: 18px; }
.stat p { font-size: 14.5px; color: rgba(233,236,242,.78); }
.stat .chips { margin-top: 6px; }
.stat .chips span { font-size: 12px; padding: 4px 9px; }
@media (max-width: 640px) { .stat { grid-template-columns: 1fr; } .stat > b { grid-row: auto; margin-bottom: 10px; } }
/* the conclusion the research came to */
.card.key { border-color: rgba(233,236,242,.3); background: rgba(22,24,30,.9); }

/* found, then changed */
.fc { display: grid; gap: 12px; margin-top: 14px; }
.fc dt { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fc dt::before { margin-right: 7px; font-size: 13px; }
.fc .f dt { color: #FF8A8F; } .fc .f dt::before { content: '−'; }
.fc .c dt { color: #8FE3AE; } .fc .c dt::before { content: '+'; }
.fc dd { margin-top: 6px; font-size: 15px; }
.fc .f dd { color: rgba(233,236,242,.75); }
.fc ul.plain { margin-top: 2px; } .fc ul.plain li { font-size: 14.5px; }
.fc2 { grid-template-columns: 1fr 1fr; gap: 0 22px; }
@media (max-width: 640px) { .fc2 { grid-template-columns: 1fr; gap: 12px; } }

/* screens of a phone app: the phones themselves, standing in a row */
.phones .gal-grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 34px 18px; }
.phones .shot:first-child { grid-column: auto; }
.phones .shot-f { aspect-ratio: var(--sr); border: 0; border-radius: 0; background: none; overflow: visible; }
.phones .shot-f img { object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
@media (hover: hover) { .phones .shot-f:hover { transform: translateY(-6px); } }
.phones .shot figcaption { margin-top: 10px; font-size: 13.5px; }
.phones .shot:nth-child(4n+2).rv { transition-delay: .08s; } .phones .shot:nth-child(4n+3).rv { transition-delay: .16s; } .phones .shot:nth-child(4n).rv { transition-delay: .24s; }
/* desktop screens, two to a row (a lone one already spans the row) */
.gal.pairs .gal-grid .shot:first-child { grid-column: auto; }
.lb.tall .lb-img { border-radius: 0; box-shadow: none; }
@media (max-width: 860px) {
  .lb.tall .lb-stage { justify-content: center; }
  .lb.tall .lb-img { height: auto; max-height: 100%; max-width: 100%; }
  .phones .gal-grid.hx > * { flex-basis: 56%; }
  .phones .shot.rv { transition-delay: 0s; }
}

/* the before and the after of one screen, a handle between */
.ba-sw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.ba-sw button { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); background: rgba(233,236,242,.03); transition: background .2s, color .2s; }
.ba-sw button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ba { --x: 50%; position: relative; margin-top: 16px; width: min(1100px, 100%); aspect-ratio: 1600 / 844; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #111318; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-b { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--fg); box-shadow: 0 0 18px rgba(0,0,0,.5); pointer-events: none; }
.ba-grip { position: absolute; top: 50%; left: var(--x); width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 17px; box-shadow: 0 6px 24px rgba(0,0,0,.45); transition: transform .25s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.ba.held .ba-grip { transform: scale(1.12); }
.ba-tag { position: absolute; top: 12px; padding: 5px 9px; border-radius: 6px; background: rgba(7,8,11,.72); font: 500 10.5px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fg); pointer-events: none; }
.ba-tag.l { left: 12px; } .ba-tag.r { right: 12px; }
.ba input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:focus-within { outline: 2px solid var(--fg); outline-offset: 3px; }
@media (max-width: 860px) {
  .ba { margin-left: calc(-1 * var(--left) + 8px); width: calc(100% + 2 * var(--left) - 16px); border-radius: 10px; }
  .ba-tag { top: 8px; padding: 4px 6px; font-size: 9px; } .ba-tag.l { left: 8px; } .ba-tag.r { right: 8px; }
  .ba-grip { width: 36px; height: 36px; margin: -18px 0 0 -18px; font-size: 15px; }
}

/* outcome & reflection */
.big { font-size: clamp(28px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
blockquote { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.35; padding-left: 22px; border-left: 2px solid var(--fg); }
blockquote + blockquote { margin-top: 26px; }
.next { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-top: 12vh; padding-top: 28px; border-top: 1px solid var(--line); }
.next a.n { font-size: clamp(32px, 5vw, 72px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.next a.n small { display: block; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .04em; margin-bottom: 12px; }
.next .ct { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 500; }
.next .ct a { border-bottom: 1px solid rgba(233,236,242,.35); }

@media (max-width: 860px) { .sec { padding-top: 16vh; min-height: 100vh; } }

/* on a phone the long lists run sideways: a swipe through them instead of screens of scrolling */
.hx-bar { display: none; }
@media (max-width: 860px) {
  .hx { display: flex; gap: 12px; margin: 28px calc(-1 * var(--left)) 0; padding: 2px var(--left) 4px; width: auto;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--left); scrollbar-width: none; }
  .hx::-webkit-scrollbar { display: none; }
  .hx > * { flex: 0 0 84%; min-width: 0; margin: 0 !important; scroll-snap-align: start; }
  /* a rail moves sideways only: a vertical drag on it is the page's. Its cards come in by fading
     alone, since a card still rising into place would hang below the rail and make it scroll */
  .hx, .tg-wrap { overflow-y: hidden; }
  .js .hx > .rv { transform: none; }
  .hx-bar { display: flex; align-items: center; gap: 12px; margin-top: 16px; font: 500 11px/1 var(--mono); color: var(--muted); cursor: pointer; }
  .hx-bar .hx-n { min-width: 52px; color: var(--fg); }
  .hx-bar i { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
  .hx-bar i b { position: absolute; left: 0; top: 0; bottom: 0; background: var(--fg); transition: transform .12s linear; }
  .hx-bar .hx-go { display: flex; align-items: center; gap: 6px; transition: opacity .5s; }
  .hx-bar .hx-go::after { content: '→'; animation: hx-nudge 1.6s cubic-bezier(.5,0,.2,1) infinite; }
  .hx-bar.used .hx-go { opacity: 0; }
  @keyframes hx-nudge { 0%, 100% { transform: none; } 45% { transform: translateX(5px); } }
  /* the roadmap on a phone is still a timeline, laid on its side: an axis along the top of the rail
     (filled up to the step in view), a dot per step on it, its number above, its words below */
  .steps.hx { position: relative; border-left: 0; list-style: none; padding-top: 56px;
    background: linear-gradient(rgba(233,236,242,.6), rgba(233,236,242,.6)) no-repeat, linear-gradient(var(--line), var(--line)) no-repeat;
    background-size: var(--tl, 0px) 1px, 100% 1px; background-position: 0 36px, 0 36px; background-attachment: local;
    transition: background-size .5s cubic-bezier(.2,.8,.2,1); gap: 28px; }
  .steps.hx li, .js .steps.hx li.rv.in { flex-basis: 78%; opacity: 1; padding: 0; }
  .steps.hx li > * { transition: opacity .4s; }
  .steps.hx li:not(.on) > * { opacity: .45; }
  .steps.hx li::before { left: 0; top: -25px; }
  .steps.hx li > b { position: absolute; left: 0; top: -50px; margin: 0; transition: opacity .4s, color .4s; }
  .steps.hx li.on > b { color: var(--fg); }
  .steps.hx li.past::before { background: rgba(233,236,242,.6); border-color: rgba(233,236,242,.6); }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) { .hx-bar .hx-go::after { animation: none; } }
