/* Hallmark · shape: Workbench (kept from the content source) · genre: modern-minimal · theme: Vantage (deal 3/3, seed mindcontrol-brain-computer-interface-project-5844·ed802562·2026-11-07·r0) · redesign: full
 * hero: Stage, a head scanned in points on the right, the instrument panel under the action · nav: edge-aligned, a wordmark and three text links, no button · footer: colophon, the wordmark over one line and two links · imagery: the product built (the head and the light as a live point cloud, five point scenes, a picture found in noise) and the team's demo video · signature: a head made of points under a passing sweep; think on and the brain fires lime, a stream of points crosses to the bulb and it lights · vantage: object/steel
 * axes: dark/grotesk-sans/chromatic-lime · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R3 V5 · weakest: R, the owner asked for motion so the page moves more than Vantage's quiet; every loop is points only, stops off screen, stops under reduced motion and behind one shared pause */
/* Hallmark · waive 44c · headline and instrument panel centre as one column, the scan canvas spans the full hero · the hero text sits above its live panel so the head of points lines up with the pair, not the headline alone */
/* Hallmark · dismissed 23 · the accent fill is the 6px callout dot on the point it measures, not a viewport fill */
/* Hallmark · dismissed 23 · .player__big is a 76px round play button, the one filled control on the video, not a viewport fill */
@import url("./tokens.css");
@import url("./base.css");

:root { --nav-h: 64px; --stage-h: clamp(320px, 58vh, 540px); }

/* type */
h1, h2, h3 { font-variation-settings: "SHRP" 100; }
h1 { line-height: 1; }
h2 { line-height: 1.04; }
h3 { font-weight: 400; letter-spacing: -0.01em; }
body { font-weight: 300; font-variation-settings: "SHRP" 0; font-size: 1.0625rem; line-height: 1.6; }
.lead { color: var(--color-ink-2); font-weight: 300; }
.label { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }

/* corner ticks */
.ticks { position: relative; }
.ticks::before { content: ""; position: absolute; inset: 0; pointer-events: none; border: var(--rule-hair) solid var(--color-rule-2); -webkit-mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick)); mask: conic-gradient(at var(--tick) var(--tick), transparent 75%, var(--color-ink) 0) 0 0 / calc(100% - var(--tick)) calc(100% - var(--tick)); }

/* nav: edge-aligned */
.bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: color-mix(in oklab, var(--color-paper) 86%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: var(--rule-hair) solid var(--color-rule); }
.bar__logo { width: 28px; height: 28px; flex: none; border-radius: var(--radius-card); }
.bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.bar__mark { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 500; font-size: var(--text-lg); color: var(--color-ink); text-decoration: none; font-variation-settings: "SHRP" 100; letter-spacing: -0.01em; }
.bar__nav { display: flex; gap: var(--space-md) var(--space-lg); white-space: nowrap; font-size: var(--text-sm); font-weight: 400; }
.bar__nav a, .colophon a, .link { color: var(--color-ink-2); text-decoration: none; background-image: linear-gradient(var(--color-rule-2), var(--color-rule-2)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: var(--space-3xs); transition: color var(--dur-micro) var(--ease-out); }
.bar__nav a { background-size: 0 1px; }
.bar__nav a:hover, .colophon a:hover, .link:hover { color: var(--color-ink); }
.bar__nav a:active, .colophon a:active, .link:active { color: var(--color-accent); }
.bar__mark:focus-visible, .bar__nav a:focus-visible, .colophon a:focus-visible, .link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; transition: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font: 400 var(--text-md)/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-accent-hi); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; transition: none; }
.btn--line { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.btn--line:hover { background: var(--color-paper-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* hero: the scan */
.hero { position: relative; min-height: min(calc(100dvh - var(--nav-h)), 980px); display: grid; align-items: center; isolation: isolate; }
.hero__scan { position: absolute; inset: 0 0 0 38%; z-index: 0; }
.cloud { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side at 55% 50%, var(--color-ink) 72%, transparent); mask-image: radial-gradient(closest-side at 55% 50%, var(--color-ink) 72%, transparent); }
.hero__inner { position: relative; z-index: 1; display: grid; gap: var(--space-xl); align-content: center; padding-block: var(--space-2xl); }
.hero__text { display: grid; gap: var(--space-lg); max-width: 34rem; }
.hero__text .lead { max-width: 28ch; }
.hero h1 { font-size: clamp(2.75rem, 3.4vw + 1.25rem, 5rem); max-width: 10ch; font-weight: 300; }

/* callouts: a dot, a leader, a figure */
.callout { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); will-change: transform; }
.js .hero.is-live .callout { opacity: 1; }
.callout::before { content: ""; position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-ink); }
.callout__lead { position: absolute; left: 0; bottom: 0; width: 1px; height: 100px; background: var(--color-rule-2); transform-origin: bottom; transform: scaleY(var(--lead, 1)); }
.callout__box { position: absolute; left: 0; top: 0; transform: translateY(calc(-100% - var(--lead, 1) * 100px)); display: grid; gap: var(--space-3xs); padding: var(--space-xs) var(--space-sm); background: color-mix(in oklab, var(--color-paper) 78%, transparent); border-left: var(--rule-hair) solid var(--color-rule-2); white-space: nowrap; }
.callout__k { font-size: var(--text-xs); color: var(--color-muted); }
.callout__v { font-size: var(--text-lg); font-weight: 400; color: var(--color-ink); line-height: 1.1; }
.hero[data-thought="on"] #call-thought::before, .hero[data-light="on"] #call-light::before { background: var(--color-accent); }

/* the instrument panel */
.panel { max-width: 30rem; display: grid; background: color-mix(in oklab, var(--color-paper) 70%, transparent); }
.panel__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding: var(--space-md); }
.panel__row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.trace { width: 100%; height: 48px; overflow: visible; }
#trace { fill: none; stroke: var(--color-ink-2); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: stroke var(--dur-long) var(--ease-out); }
.hero[data-thought="on"] #trace { stroke: var(--color-accent); }
.meters { display: grid; gap: var(--space-xs); }
.meter-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: center; gap: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.meter { height: 2px; background: var(--color-rule); overflow: clip; }
.meter i { display: block; height: 100%; background: var(--color-ink-2); transform-origin: left; transform: scaleX(var(--v, 0.5)); }
#m-on { --v: 0.86; background: var(--color-accent); }
#m-off { --v: 0.14; }

.seg { display: inline-flex; padding: var(--space-2xs); gap: var(--space-3xs); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.seg__btn, .pause { min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.seg__btn:hover, .pause:hover { color: var(--color-ink); background: var(--color-paper-3); }
.seg__btn:active, .pause:active { transform: translateY(1px); }
.seg__btn[aria-pressed="true"] { background: var(--color-paper-3); color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.seg__btn:focus-visible, .pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none; }
.seg__btn:disabled, .pause:disabled { opacity: 0.5; cursor: not-allowed; }
.pause { box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule); }
.pause[aria-pressed="true"] { color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }

/* the five steps */
.chapter { padding-block: var(--section-gap) var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.chapter h2 { max-width: 16ch; }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); margin-top: var(--space-xl); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { min-height: 66vh; display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-content: center; column-gap: var(--space-md); row-gap: var(--space-sm); color: var(--color-muted); transition: color var(--dur-long) var(--ease-out); }
.steps__n { grid-row: span 2; font-size: var(--text-xl); font-weight: 300; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--color-rule-2); transition: color var(--dur-long) var(--ease-out); }
.steps h3 { font-size: var(--text-2xl); font-weight: 300; line-height: 1.1; }
.steps p { font-size: var(--text-lg); line-height: 1.5; max-width: 32ch; }
.chapter[data-step="1"] li[data-step="1"], .chapter[data-step="2"] li[data-step="2"], .chapter[data-step="3"] li[data-step="3"], .chapter[data-step="4"] li[data-step="4"], .chapter[data-step="5"] li[data-step="5"] { color: var(--color-ink); }
.chapter[data-step="1"] li[data-step="1"] .steps__n, .chapter[data-step="2"] li[data-step="2"] .steps__n, .chapter[data-step="3"] li[data-step="3"] .steps__n, .chapter[data-step="4"] li[data-step="4"] .steps__n, .chapter[data-step="5"] li[data-step="5"] .steps__n { color: var(--color-accent); }

.stage { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); align-self: start; display: grid; gap: var(--space-md); }
.stage__box { height: var(--stage-h); }
.stage__canvas { position: absolute; inset: var(--space-md); width: calc(100% - 2 * var(--space-md)); height: calc(100% - 2 * var(--space-md)); }
.stage__foot { display: flex; align-items: center; gap: var(--space-lg); }
.stage__rail { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2xs); }
.stage__rail i { height: 2px; background: var(--color-rule); transition: background-color var(--dur-long) var(--ease-out); }
.chapter[data-step="1"] .stage__rail i:nth-child(-n+1), .chapter[data-step="2"] .stage__rail i:nth-child(-n+2), .chapter[data-step="3"] .stage__rail i:nth-child(-n+3), .chapter[data-step="4"] .stage__rail i:nth-child(-n+4), .chapter[data-step="5"] .stage__rail i { background: var(--color-ink-2); }
.pause--small { min-height: 44px; }

/* demo */
.demo { padding-block: var(--section-gap); background: var(--color-paper-2); }
.demo__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.demo__fig { margin: 0; display: grid; gap: var(--space-sm); justify-items: center; }
.demo__mount { width: min(100%, 400px); padding: var(--space-sm); }
/* the demo player */
.player { position: relative; width: 100%; aspect-ratio: 720 / 1278; overflow: clip; background: var(--color-paper-3); border-radius: var(--radius-card); outline: none; }
.player:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--color-paper-3); }
.player:fullscreen .player__video { object-fit: contain; }
.player:fullscreen { aspect-ratio: auto; border-radius: 0; }
.player__big { position: absolute; inset: 0; width: 76px; height: 76px; margin: auto; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); cursor: pointer; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.player__big svg { width: 30px; height: 30px; fill: currentColor; transform: translateX(2px); }
.player__big:hover { background: var(--color-accent-hi); transform: scale(1.06); }
.player__big:active { transform: scale(0.97); }
.player__big:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; transition: none; }
.js .player[data-state="playing"] .player__big, .js .player[data-started] .player__big { opacity: 0; pointer-events: none; transform: scale(0.8); }
.player__bar { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: var(--space-2xs); padding: var(--space-xl) var(--space-sm) var(--space-sm); background: linear-gradient(to top, color-mix(in oklab, var(--color-paper) 92%, transparent) 40%, transparent); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.js .player[data-state="playing"][data-idle] .player__bar { opacity: 0; transform: translateY(8px); pointer-events: none; }
.player__seekrow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); }
.player__time { font-size: var(--text-xs); color: var(--color-ink-2); font-variant-numeric: tabular-nums; min-width: 2.6em; }
.player__time[data-dur] { text-align: right; }
.player__seek { --p: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.player__seek::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--color-accent) var(--p), var(--color-rule-2) var(--p)); }
.player__seek::-moz-range-track { height: 4px; border-radius: 2px; background: var(--color-rule-2); }
.player__seek::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--color-accent); }
.player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: calc(var(--space-2xs) * -1); border: 0; border-radius: 50%; background: var(--color-ink); transition: transform var(--dur-micro) var(--ease-out); }
.player__seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--color-ink); }
.player__seek:hover::-webkit-slider-thumb, .player__seek:active::-webkit-slider-thumb { transform: scale(1.4); }
.player__seek:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.player__btns { display: flex; align-items: center; gap: var(--space-3xs); }
.player__gap { flex: 1; }
.pbtn { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 var(--space-2xs); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-body); font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.pbtn:hover { background: color-mix(in oklab, var(--color-ink) 12%, transparent); }
.pbtn:active { transform: scale(0.94); }
.pbtn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; transition: none; }
.pbtn svg { width: 22px; height: 22px; fill: currentColor; }
.pbtn svg .o { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pbtn svg text { font: 600 6.5px/1 var(--font-body); fill: currentColor; }
.pbtn--speed { min-width: 48px; box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.pbtn--speed[data-fast] { color: var(--color-accent); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-accent); }
.i-pause, .i-mute { display: none; }
.player[data-state="playing"] .i-play { display: none; }
.player[data-state="playing"] .i-pause { display: block; }
.player[data-muted] .i-vol { display: none; }
.player[data-muted] .i-mute { display: block; }
.demo__fig figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.demo__text { display: grid; gap: var(--space-lg); justify-items: start; }
.demo__text p:not(.lead) { color: var(--color-ink-2); }

/* the figure, measured */
.volt { padding-block: var(--section-gap) 0; display: grid; gap: var(--space-2xl); }
.volt__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.volt__fig { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-xl) var(--space-xl); min-width: 0; }
.volt__num { font-weight: 200; font-size: clamp(3rem, 7.6vw, 8.75rem); letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: tabular-nums; font-variation-settings: "SHRP" 100; overflow-wrap: break-word; min-width: 0; }
.volt__unit { font-size: var(--text-xl); color: var(--color-muted); font-weight: 300; }
.volt__text { display: grid; gap: var(--space-md); }
.volt__text h2 { font-size: var(--text-3xl); }
.cut { display: block; width: 100%; height: clamp(120px, 16vw, 200px); }

/* who */
.who { padding-block: var(--section-gap); }
.who__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: end; }
.who__text { display: grid; gap: var(--space-lg); }
.who__compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: stretch; }
.who__col { padding: var(--space-xl); min-height: 340px; display: grid; gap: var(--space-xs); align-content: space-between; }
.who__col--old { padding-left: 0; }
.who__big { font-weight: 300; font-size: clamp(2.5rem, 4.6vw + 0.75rem, 5.5rem); line-height: 1.05; letter-spacing: -0.03em; font-variation-settings: "SHRP" 100; overflow-wrap: break-word; min-width: 0; }
.who__col--old .who__big { color: var(--color-muted); }
.who__col--old s { text-decoration-thickness: 1px; text-decoration-color: var(--color-rule-2); }
.who__col--new .label { color: var(--color-ink-2); }

/* next: a picture found in noise */
.next { padding-block: var(--section-gap); background: var(--color-paper-2); }
.next__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
.pix { margin: 0; display: grid; gap: var(--space-sm); }
.pix__box { width: min(100%, 520px); aspect-ratio: 1; padding: var(--space-lg); }
.pix__canvas { display: block; width: 100%; height: 100%; }
.pix figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.next__text { display: grid; gap: var(--space-lg); }
.next__text p:not(.lead) { color: var(--color-ink-2); }

/* facts */
.facts { padding-block: var(--section-gap); }
.facts__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: start; }
.facts__rows { margin: 0; border-top: var(--rule-hair) solid var(--color-rule-2); }
.facts__rows div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: baseline; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.facts__rows dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts__rows dd { margin: 0; font-weight: 300; font-size: var(--text-xl); line-height: 1.3; }

/* colophon */
.colophon { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-3xl) var(--space-2xl); }
.colophon__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xl) var(--space-3xl); align-items: end; }
.colophon__mark { grid-column: 1 / -1; font-weight: 200; font-size: clamp(3rem, 9vw, 9rem); letter-spacing: -0.045em; line-height: 0.9; color: var(--color-ink-2); font-variation-settings: "SHRP" 100; overflow-wrap: break-word; min-width: 0; }
.colophon__text { color: var(--color-muted); max-width: 46ch; }
.colophon__links { display: flex; flex-wrap: wrap; gap: var(--space-lg); justify-content: end; }

@media (max-width: 60rem) {
  .hero { min-height: auto; display: block; }
  .hero__scan { position: relative; inset: auto; height: clamp(340px, 100vw, 480px); }
  .hero__inner { padding-block: 0 var(--space-2xl); }
  .chapter__grid, .demo__inner, .volt__inner, .who__inner, .next__inner, .facts__inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .chapter__grid { gap: 0; }
  .stage { order: -1; top: var(--nav-h); z-index: var(--z-raised); background: var(--color-paper); padding-block: var(--space-sm); }
  :root { --stage-h: 240px; }
  .steps li { min-height: 64vh; align-content: end; padding-bottom: 12vh; }
  .demo__text { order: -1; }
}
@media (max-width: 40rem) {
  .bar__ext { display: none; }
  .bar__nav { gap: var(--space-md); }
  .who__col { min-height: 0; gap: var(--space-md); }
  .panel { max-width: none; }
  .panel__row { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .who__compare { grid-template-columns: minmax(0, 1fr); }
  .who__col { padding: var(--space-lg); }
  .facts__rows div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .steps h3 { font-size: var(--text-xl); }
  .colophon__inner { grid-template-columns: minmax(0, 1fr); }
  .colophon__links { justify-content: start; }
  .volt__fig { padding: var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) {
  .callout, .steps li, .steps__n, .stage__rail i, #trace { transition: none; }
  .pause { display: none; }
}
