/* Hallmark · shape: Registry console, one dark page whose scan-line field resolves into the bust and then hands the reader down the page · genre: atmospheric · theme: custom · job: sign up · idea: "the scan lines AI reads faces with resolve into a face that has said no" · vibe: "black terminal calm, one blue signal, a face"
 * paper: oklch(11% 0.006 263) · accent: oklch(55.4% 0.246 263) · display: Satoshi · body: Satoshi · mono: JetBrains Mono (UI material) · outlier: VT323 (the bust and its log) · hero: a two-line head set on a diagonal, the email in a command block under it, the bust forming out of stairs of its own characters on the right · nav: edge-aligned, wordmark, two bracketed mono menus, one outlined action (from e2e.com, by request) · footer: later · imagery: the owner's ASCII bust (live 3D), no photographs in the hero · signature: a field of the bust's own characters resolving into the ASCII bust
 * axes: dark/grotesk-sans/chromatic-blue · posture: committed (the blue line field and the bust's light; the accent stays on the action) · copy: verbatim (BRIEF.md, approved word for word) · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: S, a black terminal page sits close to its reference; the bust, the registry log and the owner's "no" carry it to Evertwin */
/* Hallmark · waive 64 · mono on nav, buttons and the command block is the UI material the owner chose from e2e.com · labels stay lowercase and untracked */
/* Hallmark · waive 29 · one static radial light behind the bust, never behind text · the owner picked the bust's glow from the 0xjawor.com study */
/* Hallmark · waive 85 · the brief sets email sign-up as the page's one job, in the hero and again at the close · the owner asked for the form twice */
/* Hallmark · dismissed F4 · .btn-line is an outlined nav action with a transparent fill; .cmd__btn is the one filled primary */
/* Hallmark · waive 2b · the striped figures are one ink token in repeating bands, no hue ramp, ink on paper at full contrast · the scan-line material of the bust carried into the numbers */
/* Hallmark · waive 49b · the source lines are the owner's citations and wrap to two lines at 320px at most · the citation wording is approved and cannot shorten */
/* Hallmark · dismissed 25 · the figure captions are two short sentences each, a caption measure from 28ch */
/* Hallmark · dismissed 54 · the statement section is labelled by its own first sentence; it has no heading in the approved copy */
/* Hallmark · waive 77 · For investors is two sentences and a mailto link, kept compact by the owner's brief · the owner asked for a short section with no added numbers */
/* Hallmark · waive 79 · privacy.html has no hero: the policy text starts under the nav and fills the first screen · the privacy policy is a page to read, top to bottom */
/* Hallmark · dismissed 3 · the press cards are the e2e blog cards the brief asks for, with no icon tiles; three events, three columns */
/* Hallmark · dismissed render · fonts load from disk in the shots (Satoshi and JetBrains Mono visible); the warning reads the file:// preload */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- page ---------- */

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); font: 400 var(--text-sm)/1.4 var(--font-mono); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- nav: wordmark, two bracketed menus, one outlined action ---------- */

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.nav__bar { display: flex; align-items: center; gap: var(--space-lg); min-height: var(--nav-h); }
.nav__logo { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--control-h); font: 500 var(--text-lg)/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; color: var(--color-ink); }
.logo-mark { width: 18px; height: 18px; flex-shrink: 0; }
.nav__logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.nav__menu { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link, .nav__toggle { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--control-h); padding: 0; border: 0; background: none; color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-mono); text-decoration: none; text-transform: lowercase; white-space: nowrap; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.nav__link:hover, .nav__toggle:hover, .nav__item:focus-within > .nav__link { color: var(--color-ink); }
.nav__link:active, .nav__toggle:active { transform: translateY(1px); }
.nav__link:focus-visible, .nav__toggle:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.nav__toggle { min-width: 28px; justify-content: center; }
.nav__dots { width: 9px; height: 9px; fill: currentColor; flex-shrink: 0; }
.nav__brk { color: var(--color-muted); }

.nav__sub { position: absolute; top: calc(100% - var(--space-2xs)); left: calc(-1 * var(--space-md)); z-index: var(--z-dropdown); display: none; min-width: 13rem; margin: 0; padding: var(--space-xs) 0; list-style: none; background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); }
.nav__item:hover > .nav__sub, .nav__item.is-open > .nav__sub { display: block; }
.nav__sub a { display: flex; align-items: center; gap: var(--space-xs); min-height: var(--control-h); padding: 0 var(--space-md); color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-mono); text-decoration: none; text-transform: lowercase; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.nav__sub a:hover { color: var(--color-ink); background: var(--color-paper-2); }
.nav__sub a:active { transform: translateY(1px); }
.nav__sub a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.nav__ext { width: 10px; height: 10px; flex-shrink: 0; stroke: currentColor; fill: none; }

.nav__burger { display: none; }

/* the outlined action, with the e2e-style signal glitch on hover */
.btn-line { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: var(--control-h); padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: transparent; color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-mono); text-decoration: none; text-transform: lowercase; white-space: nowrap; cursor: pointer; overflow: hidden; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.btn-line:hover { border-color: var(--color-ink-2); background: var(--color-paper-2); }
.btn-line:active { transform: translateY(1px); }
.btn-line:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn-line::before, .btn-line::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--color-line); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.btn-line::before { top: 34%; }
.btn-line::after { top: 62%; transform-origin: right; }
.btn-line.is-glitching::before { animation: slice var(--dur-long) var(--ease-out) 1; }
.btn-line.is-glitching::after { animation: slice var(--dur-long) var(--ease-out) 70ms 1; }
@keyframes slice { 0% { transform: scaleX(0) translateX(-10%); opacity: 1; } 35% { transform: scaleX(1) translateX(0); opacity: 1; } 100% { transform: scaleX(1) translateX(30%); opacity: 0; } }

.g-ch { color: var(--color-signal); }
.btn-line .g-ch { color: var(--color-line-2); }

/* ---------- hero ---------- */

.hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--nav-h)); display: flex; }
.hero__lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto minmax(0, 1fr); column-gap: var(--gap-columns); padding-top: var(--space-2xl); }

.hero__title { grid-column: 1 / -1; font: 400 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); max-width: none; text-wrap: initial; }
.hero__l1, .hero__l2 { display: block; text-wrap: balance; }
.hero__l2 { text-align: right; }

.hero__copy { grid-column: 1 / span 5; grid-row: 2; align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding-top: var(--space-xl); padding-bottom: var(--space-2xl); }
.hero__lede { max-width: 34ch; font-size: var(--text-lead); line-height: 1.45; color: var(--color-ink-2); }

.hero__bust { grid-column: 7 / -1; grid-row: 2; position: relative; min-height: 26rem; margin-top: var(--space-lg); margin-bottom: var(--space-xl); }

/* ---------- the signup command block ---------- */

.signup { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.signup__form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); max-width: 30rem; }
.cmd { display: flex; align-items: center; gap: var(--space-2xs); padding: var(--space-2xs); background: var(--color-field); border: var(--rule-hair) solid var(--color-field); }
.cmd.is-invalid { border-color: var(--color-error); }
.cmd__prompt { flex-shrink: 0; padding-left: var(--space-sm); color: var(--color-field-muted); font: 400 var(--text-md)/1 var(--font-mono); }
.cmd__input { flex: 1; min-width: 0; width: 100%; height: var(--control-h); padding: 0 var(--space-xs); border: 0; background: transparent; color: var(--color-field-ink); font: 400 var(--text-md)/1 var(--font-mono); outline: 2px solid transparent; outline-offset: -2px; }
.cmd__input::placeholder { color: var(--color-field-muted); opacity: 1; }
.cmd__input:focus-visible { outline-color: var(--color-focus); }
.cmd__input:disabled { opacity: 0.55; cursor: not-allowed; }
.cmd__btn { flex-shrink: 0; display: inline-flex; align-items: center; height: var(--control-h); padding: 0 var(--space-md); border: 0; background: var(--color-accent); color: var(--color-accent-ink); font: 400 var(--text-sm)/1 var(--font-mono); text-transform: lowercase; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.cmd__btn:hover { background: var(--color-accent-hover); }
.cmd__btn:active { transform: translateY(1px); }
.cmd__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.cmd__btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.cmd__btn[aria-busy="true"] { cursor: progress; }

.signup__help { min-height: 1lh; font: 400 var(--text-sm)/1.4 var(--font-mono); color: var(--color-error); }
.signup__note { font-size: var(--text-md); color: var(--color-ink); }
.signup__consent { max-width: 46ch; font-size: var(--text-xs); line-height: 1.5; color: var(--color-muted); transition: opacity var(--dur-short) var(--ease-out); }
/* the consent line waits for the visitor to reach the field; it stays in the flow (no jump) and in the accessibility tree, and once shown it stays */
.js .signup__consent { opacity: 0; pointer-events: none; }
.js .signup__form:focus-within .signup__consent, .js .signup__form.is-engaged .signup__consent { opacity: 1; pointer-events: auto; }
/* without JS the server answers the form with a 303 to /#join-nojs, and this line shows */
.signup__nojs { display: none; max-width: 46ch; font: 400 var(--text-sm)/1.4 var(--font-mono); color: var(--color-error); }
.signup__nojs:target { display: block; }
.signup__nojs a { color: inherit; }
/* honeypot: off screen for people, still in the form for bots */
.signup__hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__consent a { color: var(--color-ink-2); }
.signup__consent a:hover { color: var(--color-ink); }

.signup__done { display: grid; gap: var(--space-md); max-width: 30rem; }
.signup__done:focus { outline: none; }
.done__title { font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--color-signal); }
.done__text { color: var(--color-ink-2); }
.done__ask { display: grid; gap: var(--space-sm); margin: var(--space-xs) 0 0; padding: var(--space-md) 0 0; border: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.done__ask legend { float: left; width: 100%; margin-bottom: var(--space-sm); padding: 0; color: var(--color-ink-2); font-size: var(--text-sm); }
.done__choices { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.choice { min-height: var(--control-h); white-space: nowrap; padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); background: transparent; color: var(--color-ink); font: 400 var(--text-sm)/1 var(--font-mono); cursor: pointer; transition: border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.choice:hover { border-color: var(--color-ink-2); }
.choice:active { transform: translateY(1px); }
.choice:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.choice:disabled { opacity: 0.55; cursor: not-allowed; }
.choice[aria-pressed="true"] { border-color: var(--color-signal); color: var(--color-signal); }
.done__choices.is-answered .choice[aria-pressed="false"] { opacity: 0.4; }

/* ---------- the bust: scan lines in, characters out; pinned beside the numbers and the statement ---------- */

.story { position: relative; }

/* the light and the scanlines, on the live bust (and on the hero cell when it shows the still frame) */
.bust-light::before { content: ""; position: absolute; inset: -8% -12%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side at 50% 46%, color-mix(in oklab, var(--color-bust-core) 34%, transparent), color-mix(in oklab, var(--color-bust-mid) 16%, transparent) 58%, transparent); transition: opacity 900ms var(--ease-out); }
.bust-light::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 2px, color-mix(in oklab, var(--color-paper) 32%, transparent) 2px 4px); -webkit-mask-image: radial-gradient(closest-side, var(--color-paper) 55%, transparent); mask-image: radial-gradient(closest-side, var(--color-paper) 55%, transparent); }
.js .bust:not(.is-lit)::before { opacity: 0; }
.js .hero__bust:not(.is-failed)::before, .js .hero__bust:not(.is-failed)::after { display: none; }

/* the hero cell: reserves the space; with scripting off (or if the model fails) it shows one still frame */
.hero__bust { container-type: size; }
.bust__fallback { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; margin: 0; color: var(--color-bust-text); font: 400 min(calc(100cqh / 78), calc(100cqw / 42))/1 var(--font-outlier); letter-spacing: 0.05em; white-space: pre; user-select: none; text-shadow: 0 0 6px var(--color-bust-core); }
.js .bust__fallback { visibility: hidden; }
.js .hero__bust.is-failed .bust__fallback { visibility: visible; }

/* the rail: laid over the hero cell by the script, as tall as the run it pins through */
.bust-rail { position: absolute; z-index: var(--z-raised); pointer-events: none; }
html:not(.js) .bust-rail, .bust-rail.is-failed { display: none; }
.bust { position: relative; height: var(--bust-h, 26rem); pointer-events: auto; }
.bust-rail.is-pinned .bust { position: sticky; top: max(calc(var(--nav-h) + var(--space-lg)), calc((100svh - var(--bust-h, 26rem)) / 2 + var(--nav-h) / 2)); }
.bust__stage { position: absolute; inset: 0; z-index: 1; }
.bust__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.bust__log { position: absolute; top: 0; left: 0; z-index: 3; display: grid; gap: var(--space-2xs); color: var(--color-ink-2); font: 400 var(--text-sm)/1.4 var(--font-mono); pointer-events: none; transition: opacity var(--dur-long) var(--ease-out); }
.bust__log p { white-space: pre; }
/* green is the system's state: ready, active, saved */
.bust__log p[data-log="2"] { color: var(--color-signal); }
.js .bust__log p { opacity: 0; }
.js .bust__log p.is-on { opacity: 1; }
.bust.is-dissolved .bust__log, .bust.log-done .bust__log { opacity: 0; }
.caret.is-blinking { animation: caret 1s steps(1) 5; }
@keyframes caret { 50% { opacity: 0; } }

.bust__pause { position: absolute; right: 0; bottom: 0; z-index: 3; display: none; align-items: center; justify-content: center; min-width: var(--control-h); min-height: var(--control-h); padding: 0; border: 0; background: transparent; color: var(--color-muted); cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.bust__icon { width: 14px; height: 14px; fill: currentColor; }
.bust__icon--play, .bust__pause[aria-pressed="true"] .bust__icon--pause { display: none; }
.bust__pause[aria-pressed="true"] .bust__icon--play { display: block; }
.bust__pause:hover { color: var(--color-ink); }
.bust__pause:active { transform: translateY(1px); }
.bust__pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.bust.is-moving .bust__pause { display: inline-flex; }

/* ---------- the left column the pinned bust leaves free ---------- */

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.split__main { grid-column: 1 / span 6; min-width: 0; }

/* ---------- numbers: the proof, drawn in the same scan lines ---------- */

.numbers { padding-top: var(--section-gap); }
.numbers__body { display: grid; gap: var(--space-2xl); }
.numbers__intro { font: 400 var(--text-lead)/1.4 var(--font-body); letter-spacing: 0; color: var(--color-ink-2); }
.figure { display: grid; gap: var(--space-sm); align-content: start; }
.figure__num { font: 500 clamp(5rem, 9.5vw + 1rem, 10.5rem)/0.9 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; color: transparent; background: repeating-linear-gradient(to bottom, var(--color-ink) 0 0.05em, transparent 0.05em 0.09em); -webkit-background-clip: text; background-clip: text; overflow-wrap: break-word; min-width: 0; }
.figure--main .figure__text { max-width: 30ch; font-variant-numeric: tabular-nums; font-size: var(--text-xl); line-height: 1.3; letter-spacing: -0.01em; color: var(--color-ink); }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); padding-top: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.figures .figure__num { font-size: clamp(3.5rem, 4.5vw + 1rem, 5.5rem); font-variant-numeric: tabular-nums; background-image: repeating-linear-gradient(to bottom, var(--color-ink-2) 0 0.06em, transparent 0.06em 0.11em); }
.figure__text { max-width: 34ch; color: var(--color-ink-2); }
.figure__text .hl { color: var(--color-ink); }
.figure__src, .person__link { font: 400 var(--text-xs)/1.5 var(--font-mono); color: var(--color-muted); }
.figure__src a, .person__link a { color: inherit; text-decoration-thickness: 1px; text-decoration-color: var(--color-rule-2); text-underline-offset: 0.25em; transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
.figure__src a:hover, .person__link a:hover { text-decoration-color: currentColor; }
.figure__ext { display: inline-block; width: 9px; height: 9px; margin-left: 0.4em; vertical-align: 0.05em; stroke: currentColor; fill: none; }
.figure__src a:hover, .person__link a:hover { color: var(--color-ink); }
.figure__src a:focus-visible, .person__link a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (forced-colors: active) { .figure__num, .figures .figure__num { color: CanvasText; background: none; } }

/* the one reveal: the striped figures draw in once, left to right */
.js [data-reveal] { clip-path: inset(0 100% 0 0); }
.js [data-reveal].is-in { clip-path: inset(0); transition: clip-path 1100ms var(--ease-out); }

/* ---------- the statement: lit word by word as it scrolls past, like e2e ---------- */

.statement { padding-block: var(--section-gap) max(var(--section-gap-l), 50svh); }
.statement__text { display: grid; gap: var(--space-lg); font: 400 var(--text-display-s)/1.08 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); max-width: none; text-wrap: initial; }
.statement__line { display: block; text-wrap: balance; }
.statement__end { display: block; height: 1px; }

/* scroll-linked: base CSS is the finished, fully lit text; only supporting browsers, wide screens and full motion dim it first */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
    .hl { view-timeline: --hl block; }
    .hl .w { animation: hl-word linear both; animation-timeline: --hl; animation-range: cover calc(var(--hl-a, 23%) + var(--p) * var(--hl-b, 48%)) cover calc(var(--hl-a, 23%) + 4% + var(--p) * var(--hl-b, 48%)); }
    .figure .hl { --hl-a: 42%; --hl-b: 10%; }
    @keyframes hl-word { from { opacity: 0.28; } to { opacity: 1; } }
  }
}

/* ---------- how it works: three steps, the film beside the heading ---------- */

@counter-style three-digit { system: extends decimal; pad: 3 "0"; }

.how { padding-block: var(--section-gap); }
.how__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.how__title { grid-column: 1 / span 7; grid-row: 1; align-self: start; max-width: 12ch; font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); text-wrap: balance; }

.steps { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step { counter-increment: step; display: grid; align-content: start; gap: var(--space-md); padding: var(--space-2xs) 0 var(--space-lg) var(--space-lg); border-left: var(--rule-hair) solid var(--color-rule); }
.step::before { content: "[" counter(step, three-digit) "]"; margin-bottom: var(--space-2xl); font: 400 var(--text-xs)/1 var(--font-mono); color: var(--color-signal); }
.step__title { font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.step__text { max-width: 38ch; color: var(--color-ink-2); }

.film { grid-column: 8 / -1; grid-row: 1; display: grid; gap: var(--space-sm); margin: 0; }
.film__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; container-type: size; background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); }
.film__frame::before { inset: 0; }
.film__still { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; margin: 0; color: var(--color-bust-text); font: 400 min(calc(100cqh / 82), calc(100cqw / 42))/1 var(--font-outlier); letter-spacing: 0.05em; white-space: pre; opacity: 0.4; user-select: none; }
.film__poster { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.film.has-poster .film__still, .film.has-poster .film__tag { display: none; }
.film__tag { position: absolute; top: var(--space-sm); left: var(--space-sm); z-index: 3; padding: var(--space-2xs) var(--space-xs); border: 1px dashed var(--color-rule-2); color: var(--color-muted); font: 400 var(--text-xs)/1 var(--font-mono); }
.film__play { position: absolute; top: 50%; left: 50%; z-index: 3; translate: -50% -50%; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: var(--rule-hair) solid var(--color-ink-2); background: color-mix(in oklab, var(--color-paper) 70%, transparent); color: var(--color-ink); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.film__play svg { width: 18px; height: 18px; fill: currentColor; }
.film__play:hover { background: var(--color-paper-2); border-color: var(--color-ink); }
.film__play:active { transform: translateY(1px); }
.film__play:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.film__play:disabled { opacity: 0.55; cursor: not-allowed; }
.film__video { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; background: var(--color-paper); }
.film__caption { font-size: var(--text-sm); color: var(--color-ink-2); }
.film__status { min-height: 1lh; font: 400 var(--text-xs)/1.4 var(--font-mono); color: var(--color-muted); }

/* ---------- examples: the alert you get today, and what Evertwin does instead ---------- */

.examples { padding-block: var(--section-gap); }
.examples__title { max-width: 16ch; margin-bottom: var(--space-2xl); font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); text-wrap: balance; }
.ex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.ex__pair { position: relative; grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; }
.ex__alert, .ex__answer { position: relative; z-index: 1; min-width: 0; }

/* the alert: a phone notification set in the page's own material (no OS chrome; app icons drawn in one colour, never the official marks) */
.note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: start; max-width: 26rem; padding: var(--space-md); border-radius: 14px; background: var(--color-paper-3); }
.note__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--color-paper-2); color: var(--color-ink-2); }
.note__icon svg { width: 22px; height: 22px; }
.note__body { display: grid; gap: var(--space-3xs); min-width: 0; }
.note__app { font: 400 var(--text-xs)/1.3 var(--font-mono); color: var(--color-muted); }
.note__from { font-weight: 500; color: var(--color-ink); }
.note__text { color: var(--color-ink); }

.ex__verb { margin-bottom: var(--space-xs); font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.ex__text { max-width: 40ch; color: var(--color-ink-2); }
.ex__app { white-space: nowrap; }
.ex__app-icon { display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.25em; vertical-align: -0.17em; color: var(--color-ink); }

/* each pair: two panels side by side, after e2e's "open source, adopt it for years" */
.ex { row-gap: var(--space-lg); }
.ex__alert, .ex__answer { align-self: stretch; display: grid; align-content: center; padding: var(--space-lg) var(--space-xl); border: var(--rule-hair) solid var(--color-rule); }
.ex__alert { justify-items: center; background: var(--color-paper-2); }
.ex .note { width: min(26rem, 100%); }

/* a green signal runs once from the alert to the answer as the pair arrives, and again on hover */
.ex__answer::before { content: ""; position: absolute; top: 50%; left: calc(-1 * (var(--gap-columns) + max(0px, (100% - 26rem) / 2))); width: calc(var(--gap-columns) + max(0px, (100% - 26rem) / 2) + var(--space-xl) - var(--space-xs)); height: 2px; margin-top: -1px; background: var(--color-signal); clip-path: inset(0 100% 0 0); pointer-events: none; }
.ex__pair.is-flash .ex__answer::before { animation: ex-run 760ms var(--ease-in-out) 1; }
@keyframes ex-run { 0% { clip-path: inset(0 100% 0 0); } 50% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }
.ex__verb .g-ch { color: var(--color-signal); }

/* ---------- about us: three people, one treatment ---------- */

.about { padding-block: var(--section-gap); }
.about__head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.about__title { max-width: 18ch; font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); text-wrap: balance; }
.about__sub { font-size: var(--text-lead); color: var(--color-ink-2); }
/* on the company page About us opens the page: less air above, none below (Press brings its own), and the head in two lines, so the portraits arrive on the first screen */
.page-company .about { padding-block: var(--space-3xl) 0; }
.page-company .about__head { margin-bottom: var(--space-xl); }
.page-company .about__title { max-width: 30ch; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.person { display: grid; align-content: start; gap: var(--space-2xs); min-width: 0; }
.person__photo { position: relative; aspect-ratio: 4 / 5; margin: 0 0 var(--space-md); overflow: hidden; border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
/* the portrait drawn in the bust's characters: it gathers into the photo on arrival and breaks apart for a moment on hover */
.person__glyphs { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
.person__glyphs.is-on { opacity: 1; }
/* the same faint scanlines as the bust, so the three portraits read as one set */
.person__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 2px, color-mix(in oklab, var(--color-paper) 14%, transparent) 2px 4px); }
.person__name { font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.person__role { margin-bottom: var(--space-xs); font: 400 var(--text-xs)/1.4 var(--font-mono); color: var(--color-muted); }
.person__bio { max-width: 38ch; color: var(--color-ink-2); }
.person__link { margin-top: var(--space-xs); }

/* ---------- press: e2e-style cards, each a link to the LinkedIn post ---------- */

.press { padding-block: var(--section-gap); }
.press__heading { margin-bottom: var(--space-2xl); font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); }
.press__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); margin: 0; padding: 0; list-style: none; }
.press__list > li { display: grid; min-width: 0; }
.press__card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: var(--space-sm); padding-bottom: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); color: inherit; text-decoration: none; transition: border-color var(--dur-short) var(--ease-out); }
.press__card:hover { border-color: var(--color-ink-2); }
.press__card:active { transform: translateY(1px); }
.press__card:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
/* the cover is the event's own picture, whole (never cropped): its transparent sides let the card show through */
.press__cover { position: relative; display: block; aspect-ratio: 16 / 9; margin-bottom: var(--space-sm); overflow: hidden; border-bottom: var(--rule-hair) solid var(--color-rule); background: radial-gradient(closest-side at 50% 50%, color-mix(in oklab, var(--color-bust-core) 14%, transparent), transparent); }
.press__cover img { width: 100%; height: 100%; object-fit: contain; }
.press__title, .press__date, .press__desc, .press__more { padding-inline: var(--space-lg); }
.press__date { margin-top: calc(-1 * var(--space-2xs)); font: 400 var(--text-xs)/1.4 var(--font-mono); color: var(--color-muted); }
.press__title { font: 400 var(--text-title)/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); }
.press__desc { color: var(--color-ink-2); }
.press__more { grid-row: 5; display: inline-flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-sm); font: 400 var(--text-sm)/1 var(--font-mono); color: var(--color-ink-2); }
.press__card:hover .press__more { color: var(--color-ink); }
.press__ext { width: 10px; height: 10px; flex-shrink: 0; stroke: currentColor; fill: none; }

/* ---------- for investors: two sentences, no heading on screen ---------- */

.investors { padding-block: var(--section-gap-s); }
.investors__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); }
.investors__inner::before { content: ""; grid-column: 1 / -1; margin-bottom: var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.investors__lead { grid-column: 1 / span 8; max-width: 30ch; font: 400 var(--text-2xl)/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--color-ink); text-wrap: balance; }
.investors__ask { grid-column: 1 / span 8; font-size: var(--text-lead); color: var(--color-ink-2); }
.investors__mail { color: var(--color-ink); text-decoration-color: var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.investors__mail:hover { text-decoration-color: var(--color-accent); }
.investors__mail:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- faq: e2e's numbered rows, the first one open; native <details>, so it works without script ---------- */

.faq { padding-block: var(--section-gap); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: start; }
.faq__title { grid-column: 1 / span 5; max-width: 12ch; font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); text-wrap: balance; }
.faq__list { grid-column: 6 / -1; border-top: var(--rule-hair) solid var(--color-rule); }
.faq__item { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq__q { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) var(--control-h); align-items: center; min-height: 4.5rem; padding-block: var(--space-md); list-style: none; cursor: pointer; color: var(--color-ink-2); transition: color var(--dur-short) var(--ease-out); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover, .faq__item[open] .faq__q { color: var(--color-ink); }
.faq__q:active .faq__text { transform: translateY(1px); }
.faq__q:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq__num { font: 400 var(--text-xs)/1 var(--font-mono); color: var(--color-muted); transition: color var(--dur-short) var(--ease-out); }
/* the number is grey at rest and turns signal green for the open question, and the one under the pointer or keyboard */
.faq__item[open] .faq__num, .faq__q:hover .faq__num, .faq__q:focus-visible .faq__num { color: var(--color-signal); }
.faq__text { font: 400 var(--text-title)/1.25 var(--font-display); letter-spacing: -0.015em; }
.faq__icon { position: relative; justify-self: end; width: var(--control-h); height: var(--control-h); border: var(--rule-hair) solid var(--color-rule-2); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform var(--dur-short) var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { max-width: 52ch; padding: 0 var(--control-h) var(--space-lg) 4.5rem; color: var(--color-ink-2); }

/* ---------- the closing band: the form again, on e2e's deep blue ---------- */

.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--space-4xl) var(--section-gap); background: var(--color-band); color: var(--color-ink); }
.closing__field { position: absolute; inset: 0 0 auto 0; z-index: 0; width: 100%; height: 11rem; pointer-events: none; }
.closing__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: end; min-height: calc(80svh - var(--space-4xl) - var(--section-gap)); padding-top: var(--space-3xl); }
.closing__title { grid-column: 1 / span 6; max-width: 13ch; font: 400 var(--text-display)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-wrap: balance; }
.closing__form { grid-column: 8 / -1; }
.signup--band .signup__help { color: var(--color-ink); }
.signup--band .signup__consent { color: var(--color-band-ink-2); }
.signup--band .signup__consent a { color: var(--color-ink); }
.signup--band .done__text, .signup--band .done__ask legend { color: var(--color-band-ink-2); }
.signup--band .done__ask { border-top-color: var(--color-band-rule); }
.signup--band .choice { border-color: var(--color-band-rule); }
.signup--band .cmd.is-invalid { border-color: var(--color-ink); }
/* on the blue band the focus ring is ink, so it keeps its contrast against the band */
.closing a:focus-visible, .closing .choice:focus-visible { outline-color: var(--color-ink); }

/* ---------- privacy policy: a quiet page to read; one column at a reading measure, no motion ---------- */

.doc { padding-block: var(--space-2xl) var(--section-gap); }
.doc__inner { display: grid; justify-items: start; }
.doc .doc__inner > * { width: 100%; max-width: 38rem; }
.doc__title { margin-bottom: var(--space-xs); font: 400 var(--text-display-s)/1.05 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; }
.doc__date { font: 400 var(--text-xs)/1.4 var(--font-mono); color: var(--color-muted); }
.doc__h { margin: var(--space-xl) 0 var(--space-sm); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font: 400 var(--text-title)/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); }
.doc p, .doc__list { margin-bottom: var(--space-md); font-size: var(--text-lead); line-height: 1.6; color: var(--color-ink-2); }
.doc p.doc__date { margin-bottom: var(--space-xl); font-size: var(--text-xs); }
.doc__list { display: grid; gap: var(--space-2xs); padding-left: 1.25em; list-style: square; }
.doc__list li::marker { color: var(--color-muted); }
.doc a { color: var(--color-ink); text-decoration-color: var(--color-rule-2); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.doc a:hover { text-decoration-color: var(--color-accent); }
.doc a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer__links a[aria-current="page"] { color: var(--color-ink); }

/* ---------- footer ---------- */

.footer { padding-block: var(--space-2xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--space-lg) var(--space-2xl); }
.footer__brand { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--control-h); font: 500 var(--text-lg)/1 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); text-decoration: none; }
.footer__brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-xs) var(--space-xl); margin: 0; padding: 0; list-style: none; }
.footer__links a { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: var(--control-h); color: var(--color-ink-2); font: 400 var(--text-sm)/1 var(--font-mono); text-decoration: none; white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.footer__links a:hover { color: var(--color-ink); }
.footer__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.footer__ext { width: 9px; height: 9px; flex-shrink: 0; stroke: currentColor; fill: none; }


/* ---------- smaller screens ---------- */

@media (max-width: 60rem) {
  :root { --nav-h: 56px; }
  .nav__bar { gap: var(--space-sm); }
  .nav__logo { margin-right: auto; }
  .nav__burger { display: inline-flex; order: 3; align-items: center; justify-content: center; min-width: var(--control-h); min-height: var(--control-h); padding: 0; border: 0; background: none; color: var(--color-ink-2); cursor: pointer; }
  .nav__burger:hover { color: var(--color-ink); }
  .nav__burger:active { transform: translateY(1px); }
  .nav__burger:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
  .nav__burger svg { width: 20px; height: 20px; stroke: currentColor; }
  .nav__cta { order: 2; }
  /* on a phone the action joins the bar once the hero's own field has scrolled away */
  .js .nav__cta { visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
  .js .nav.show-cta .nav__cta { visibility: visible; opacity: 1; transform: none; transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s; }
  .nav__menu { position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; padding: var(--space-xs) var(--gutter) var(--space-lg); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .nav.is-open .nav__menu { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--space-xs); }
  .nav__item { flex-wrap: wrap; }
  .nav__item > .nav__link { flex: 1; }
  .nav__toggle { display: none; }
  .nav__item > button.nav__link .nav__dots { display: none; }
  .nav__sub, .nav__item:hover > .nav__sub { position: static; display: block; width: 100%; min-width: 0; padding: 0 0 var(--space-xs) var(--space-md); border: 0; }
  .nav__sub a { padding: 0; }

  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-top: var(--space-xl); }
  .hero__title { grid-column: 1; }
  .hero__copy { grid-column: 1; grid-row: auto; padding-top: var(--space-lg); padding-bottom: 0; }
  /* as tall as the bust needs at this width, so no empty band (or a stray pause control) sits under it */
  .hero__bust { grid-column: 1; grid-row: auto; height: auto; aspect-ratio: 9 / 10; max-height: 72svh; min-height: 0; margin-top: var(--space-md); margin-bottom: 0; }
  .statement { padding-bottom: var(--section-gap-l); }
  .split__main { grid-column: 1 / -1; }
  .how__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .how__title, .steps, .film { grid-column: 1; grid-row: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .step::before { margin-bottom: var(--space-sm); }
  .ex { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-2xl); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-2xl); }
  .press__list { grid-template-columns: minmax(0, 1fr); }
  .investors__lead, .investors__ask { grid-column: 1 / -1; }
  .faq__title, .faq__list { grid-column: 1 / -1; }
  .closing__title, .closing__form { grid-column: 1 / -1; }
  .closing__grid { min-height: 0; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__links { justify-content: flex-start; }
  .faq__q { grid-template-columns: 3.25rem minmax(0, 1fr) var(--control-h); }
  .faq__a { padding-left: 3.25rem; padding-right: 0; }
  .ex__pair { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .ex__alert, .ex__answer { padding: var(--space-lg); }
  /* on phones the signal runs down, from the alert into the answer */
  .ex__answer::before { top: calc(-1 * var(--space-md) - var(--space-lg)); left: var(--space-lg); width: 2px; height: calc(var(--space-md) + var(--space-lg) + var(--space-md)); margin-top: 0; clip-path: inset(0 0 100% 0); }
  @keyframes ex-run { 0% { clip-path: inset(0 0 100% 0); } 50% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(100% 0 0 0); } }
  .figures { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .people { grid-template-columns: minmax(0, 1fr); }
  /* on phones the portraits crop to head and shoulders, so three people stay a short scroll */
  .person__photo { max-width: 26rem; aspect-ratio: 1; }
  .person__photo img { object-position: 50% 25%; }
}
@media (max-width: 25rem) {
  /* narrow phones: while the action is in the bar, the logo keeps only its monogram (the link keeps its name);
     the hidden action gives up its room to the wordmark */
  .nav__logo span { display: none; }
  .js .nav:not(.show-cta) .nav__logo span { display: inline; }
  .nav__cta { flex-shrink: 0; padding: 0 var(--space-sm); }
  .js .nav:not(.show-cta) .nav__cta { flex-shrink: 1; min-width: 0; overflow: hidden; }
  .cmd__prompt { padding-left: var(--space-xs); }
  .cmd__input { padding: 0 var(--space-2xs); }
  .cmd__btn { padding: 0 var(--space-sm); }
}
@media (max-width: 22.5rem) {
  .nav__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-line.is-glitching::before, .btn-line.is-glitching::after, .caret.is-blinking { animation: none; }
  .nav__link, .nav__toggle, .nav__sub a, .btn-line, .cmd__btn, .choice, .bust__pause, .signup__consent, .js .nav__cta, .js .nav.show-cta .nav__cta { transition: none; }
  .doc a, .bust-light::before, .bust__log, .js [data-reveal].is-in, .figure__src a, .film__play, .press__card, .faq__q, .faq__icon::before, .faq__icon::after, .footer__links a { transition: none; }
  .ex__pair.is-flash .ex__answer::before { animation: none; }
  .js [data-reveal] { clip-path: none; }
}
