/* Hawk's home page, in the style of sadiwali.com: black on white, no radius, no shadow, system
   type (huge tight uppercase Helvetica, tracked mono labels), 1px rules, grain and a square cursor.
   A three.js model site (scene.js) sits behind the hero and the story; colour only comes from what
   Hawk shows (comfort, heat, sun, noise) and the app's screenshots. */
:root {
  --ink: #000; --paper: #fff; --grey-1: #f2f2f2; --grey-2: #bdbdbd; --grey-3: #6b6b6b;
  --rule: 1px solid var(--ink);
  --pad: clamp(20px, 4vw, 80px); --max: 1920px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --fs-micro: clamp(10px, .68vw, 12px); --fs-body: clamp(15px, 1.05vw, 19px); --fs-row: clamp(22px, 2.5vw, 46px);
  --fs-lead: clamp(24px, 3.2vw, 62px); --fs-huge: clamp(48px, 10vw, 200px); --fs-mega: clamp(96px, 27vw, 520px);
  --ease: cubic-bezier(.19, 1, .22, 1);
}
*, :before, :after { box-sizing: border-box; border-radius: 0; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { background: var(--paper); color: var(--ink); }
/* Nothing on the page is for copying, so text doesn't highlight on drag or long-press; the form stays typeable */
html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
body { font-family: var(--font-sans); font-size: var(--fs-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; line-height: 1.5; overflow-x: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: 0 0; border: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
/* Read out, not shown (the real numbers beside the count-up). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.micro { font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .24em; text-transform: uppercase; font-weight: 400; line-height: 1.4; }
.index { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.rule { border-top: var(--rule); width: 100%; height: 0; display: block; }
.section { width: 100%; max-width: var(--max); padding: clamp(112px, 14vw, 260px) var(--pad); margin: 0 auto; position: relative; }
.section-pad { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section-title { margin-bottom: clamp(48px, 7vw, 140px); display: block; }
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { will-change: transform; display: inline-block; }
.line-link { display: inline-block; position: relative; }
.line-link:after { content: ""; transform-origin: 100%; height: 1px; transition: transform .7s var(--ease); background: currentColor;
  position: absolute; bottom: -.12em; left: 0; right: 0; transform: scaleX(0); }
.line-link:hover:after, .line-link:focus-visible:after { transform-origin: 0; transform: scaleX(1); }

/* Top bar: inverts over whatever is under it */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: baseline;
  padding: var(--pad); padding-top: clamp(18px, 2.4vw, 40px); color: var(--paper); mix-blend-mode: difference; pointer-events: none; }
.nav a { pointer-events: auto; }
/* The bar is white blended by difference, so its focus ring is too: it shows on paper and on the model. */
.nav a:focus-visible { outline-color: var(--paper); }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 44px); }
.nav-mark { font-weight: 700; display: inline-flex; align-items: center; gap: .9em; }
/* The logo (mark.svg) as a mask, so it takes the nav's colour (white, blended by difference) */
.nav-logo { width: 2.6em; height: 2.6em; margin: -.8em 0; background: currentColor;
  -webkit-mask: url(mark.svg) center / contain no-repeat; mask: url(mark.svg) center / contain no-repeat; }

/* The model site: one WebGL canvas behind the hero and the story */
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
html:not(.gl) .stage { display: none; }

/* Hero */
.hero { width: 100%; height: 100vh; height: 100svh; min-height: 560px; position: relative; overflow: hidden; }
.hero-copy { position: absolute; left: var(--pad); bottom: clamp(36px, 8vh, 110px); max-width: calc(100vw - 2 * var(--pad)); }
.hero-name, .hero-sub { color: var(--ink); pointer-events: none; }
.hero-name { font-size: var(--fs-mega); letter-spacing: -.065em; text-transform: uppercase; font-weight: 700; line-height: .8; margin-left: -.04em; }
.hero-name .line { padding: .02em .06em .04em 0; display: block; overflow: hidden; white-space: nowrap; }
.hero-name .char { will-change: transform; display: inline-block; }
.hero-sub { margin-top: clamp(20px, 2.4vw, 44px); max-width: 30ch; font-size: clamp(18px, 1.6vw, 28px); letter-spacing: -.015em; line-height: 1.25; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 2.6vw, 44px); }
.btn { display: inline-flex; align-items: center; gap: 1em; padding: .95em 1.4em; border: var(--rule); background: var(--paper); color: var(--ink);
  font-size: clamp(13px, .9vw, 16px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease); }
.btn:before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:before { background: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { color: var(--paper); }
  .btn-ink:hover { color: var(--ink); }
  .btn:hover:before { transform: translateY(0); }
}
.btn:active { transform: scale(.98); }
.hero-hint { position: absolute; right: var(--pad); bottom: clamp(48px, 11vh, 140px); color: var(--ink); pointer-events: none;
  flex-direction: column; align-items: center; gap: 14px; display: flex; }
.hero-hint-label { writing-mode: vertical-rl; }
.hero-hint-line { width: 1px; height: 56px; animation: hint 2.6s var(--ease) infinite; background: currentColor; display: block; }
@keyframes hint { 0% { transform-origin: top; transform: scaleY(0); } 50% { transform-origin: top; transform: scaleY(1); }
  50.01% { transform-origin: bottom; transform: scaleY(1); } to { transform-origin: bottom; transform: scaleY(0); } }
html:not(.gl) .hero { background: var(--paper) url(img/wind.webp) center / cover no-repeat; }
html:not(.gl) .hero-hint { display: none; }

/* Readout in the corner, like the app's wind dial */
.hud { position: fixed; z-index: 30; right: var(--pad); bottom: clamp(18px, 2.4vw, 40px); display: flex; align-items: center; gap: 14px;
  pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: var(--paper); padding: 10px 14px; border: var(--rule); }
html.gl .hud.on { opacity: 1; }
.hud-dial { width: 30px; height: 30px; border: var(--rule); border-radius: 50%; position: relative; flex: none; }
.hud-needle { position: absolute; left: 50%; top: 50%; width: 1px; height: 13px; background: var(--ink); transform-origin: 50% 0; transform: rotate(90deg); }
.hud-needle:after { content: ""; position: absolute; left: -2px; bottom: -2px; width: 5px; height: 5px; background: var(--ink); }
.hud-text b { font-weight: 700; }
.hud-k { color: var(--grey-3); }
.hud-extra { border-left: var(--rule); padding-left: 14px; min-width: 15ch; }
.hud-extra:empty { display: none; }

/* The story: held on screen while the model site shows one thing after another */
.story { position: relative; }
.story-pin { position: relative; height: 100vh; height: 100svh; width: 100%; overflow: hidden; }
.chapters { position: absolute; inset: 0; }
.chapter { position: absolute; left: var(--pad); bottom: clamp(70px, 13vh, 150px); width: min(36rem, calc(100vw - 2 * var(--pad))); }
.ch-k { display: flex; gap: 1em; margin-bottom: clamp(16px, 1.8vw, 30px); }
.ch-title { font-size: clamp(32px, 3.5vw, 72px); letter-spacing: -.045em; line-height: .92; text-transform: uppercase; font-weight: 700; }
.ch-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ch-title .ln > span { display: inline-block; will-change: transform; }
.ch-text { margin-top: clamp(16px, 1.8vw, 30px); max-width: 34ch; font-size: clamp(15px, 1.1vw, 19px); line-height: 1.45; }
.ch-text { background: var(--paper); box-shadow: 0 0 0 8px var(--paper); }
.ch-still { display: none; }
.lawson { display: flex; margin-top: 18px; max-width: 30rem; background: var(--paper); box-shadow: 0 0 0 8px var(--paper); }
.lawson li { flex: 1; padding-top: 10px; border-top: 6px solid var(--c); margin-right: 2px; letter-spacing: .12em; }
.story-rail { position: absolute; left: var(--pad); top: clamp(80px, 12vh, 140px); display: flex; gap: clamp(14px, 2vw, 32px); padding-bottom: 12px; }
.story-rail span { color: var(--grey-3); transition: color .4s var(--ease); }
.story-rail span.on { color: var(--ink); }
.story-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: 0; transform: scaleX(0); }

/* Callouts the model site pins to places (scene.js): an ink tag on a leader line */
.labels { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
html:not(.gl) .labels { display: none; }
.lbl { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.lbl:before { content: ""; position: absolute; left: 0; bottom: 0; width: 1px; height: 26px; background: var(--ink); }
.lbl:after { content: ""; position: absolute; left: -2.5px; bottom: -2.5px; width: 6px; height: 6px; background: var(--ink); }
.lbl-box { position: absolute; left: 0; bottom: 26px; transform: translateX(-50%); background: var(--ink); color: var(--paper); white-space: nowrap;
  padding: 6px 9px 7px; font-size: 12px; line-height: 1.15; letter-spacing: -.005em; }
.lbl-box b { font-size: 15px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lbl-box small { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #b9b9b9; }
.lbl-hour:before, .lbl-hour:after { display: none; }
.lbl-hour .lbl-box { bottom: 0; transform: translate(-50%, 50%); padding: 2px 5px; font-family: var(--font-mono); font-size: 10px; background: #3a3a3a; }
.lbl-ground:before { height: 14px; }
.lbl-ground .lbl-box { bottom: 14px; }
.lbl-src .lbl-box { background: #2b1d6b; }
.lbl-heat .lbl-box { background: #8a1c12; }

/* The app's own panel, one card per chapter: dark glass, square, like Hawk's inspector */
.panel { --pc-bg: rgba(16, 16, 18, .9); --pc-line: rgba(255, 255, 255, .08); --pc-muted: #9b9ba1; --pc-text: #f4f4f1;
  position: absolute; right: var(--pad); top: clamp(84px, 13vh, 150px); width: 292px; color: var(--pc-text); pointer-events: none;
  font: 12.5px/1.4 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
.pc { position: absolute; top: 0; left: 0; right: 0; background: var(--pc-bg); padding: 12px; box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 40px -14px rgba(0,0,0,.45);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); opacity: 0; visibility: hidden; }
.pc > * + * { margin-top: 8px; }
.pc svg.i { flex: none; width: 15px; height: 15px; color: var(--pc-muted); }
.pc-head { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 13.5px; min-height: 22px; }
.pc-head svg.i { color: var(--pc-text); }
.pc-end { margin-left: auto; }
.pc-head .pc-end svg.i, .pc-end.i { color: var(--pc-muted); }
.pc-subin { color: var(--pc-muted); font-weight: 400; font-size: 12px; }
.pc-sub, .pc-note { color: var(--pc-muted); font-size: 11.5px; }
.pc-card { background: rgba(79, 140, 255, .12); padding: 9px 10px 10px; }
.pc-card > * + * { margin-top: 8px; }
.pc-sq { width: 10px; height: 10px; background: var(--pc-text); }
.pc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pc-fields label { display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.35); padding: 5px 7px; font-size: 11px; color: var(--pc-muted); }
.pc-fields b { margin-left: auto; color: var(--pc-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.pc-fields b.hot { color: #ffb36b; }
.pc-live { display: flex; align-items: center; gap: 8px; font-size: 11.5px; background: rgba(255,255,255,.04); padding: 6px 9px; }
.pc-dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; }
.pc-live.busy .pc-dot { background: #f2b33d; animation: pcpulse .7s ease-in-out infinite alternate; }
@keyframes pcpulse { to { opacity: .3; } }
.pc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pc-stats > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 7px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.04);
  transition: background-color .25s ease, border-color .25s ease; }
.pc-stats b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pc-stats span { font-size: 10.5px; color: var(--pc-muted); text-align: center; line-height: 1.2; }
.pc-stages > div { opacity: .45; }
.pc-stages > div.on { opacity: 1; background: rgba(79, 140, 255, .2); border-color: rgba(79, 140, 255, .45); }
.pc-stages > div.done { opacity: 1; }
.pc-lh { display: flex; align-items: center; gap: 8px; padding-top: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--pc-muted); }
.pc-row { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.04); padding: 6px 9px; }
.pc-row em { margin-left: auto; font-style: normal; color: var(--pc-muted); font-size: 11px; }
.pc-row.pc-on svg.i:first-child { color: var(--pc-text); }
.pc-opt { display: flex; align-items: center; gap: 9px; }
.pc-seg { display: flex; background: rgba(0,0,0,.3); padding: 2px; gap: 2px; }
.pc-seg button { padding: 3px 8px; font-size: 11.5px; color: var(--pc-muted); transition: background-color .2s ease, color .2s ease; }
.pc-seg button.on { background: rgba(255,255,255,.14); color: var(--pc-text); }
.pc-unit { color: var(--pc-muted); font-size: 11px; }
.pc-clock b { min-width: 46px; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.pc-range { flex: 1; height: 3px; background: rgba(255,255,255,.14); position: relative; }
.pc-range i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v, 0) * 100%); background: #4f8cff; }
.pc-range i:after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.pc-play svg.i { color: #4f8cff; }
.pc-list { display: flex; flex-direction: column; gap: 3px; }
.pc-list li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; background: rgba(255,255,255,.04); font-size: 11.5px; transition: background-color .25s ease; }
.pc-list li.on { background: rgba(255, 122, 69, .2); }
.pc-list li em { margin-left: auto; font-style: normal; color: var(--pc-muted); font-variant-numeric: tabular-nums; }
.pc-list li .pc-mini { width: 54px; height: 3px; background: rgba(255,255,255,.12); position: relative; }
.pc-list li .pc-mini i { position: absolute; inset: 0 auto 0 0; background: #ff7a45; }
.pc-sw { width: 8px; height: 8px; flex: none; }
.pc-search { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12); padding: 7px 9px; min-height: 32px; }
.pc-caret { width: 1px; height: 14px; background: #fff; margin-left: -6px; animation: pccaret 1s steps(1) infinite; }
@keyframes pccaret { 50% { opacity: 0; } }
.pc-results { display: flex; flex-direction: column; gap: 2px; }
.pc-results:empty { display: none; }
.pc-results li { padding: 5px 9px; font-size: 11.5px; background: rgba(255,255,255,.04); color: var(--pc-muted); }
.pc-results li.on { background: rgba(79, 140, 255, .22); color: var(--pc-text); }
.pc-load { display: grid; grid-template-columns: 15px 1fr auto; column-gap: 9px; row-gap: 5px; align-items: center; font-size: 11.5px; }
.pc-load em { font-style: normal; color: var(--pc-muted); font-variant-numeric: tabular-nums; }
.pc-bar { grid-column: 2 / -1; height: 2px; background: rgba(255,255,255,.1); position: relative; }
.pc-bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: #4f8cff; }
.pc-chips { display: flex; gap: 4px; }
.pc-chips span { padding: 4px 9px; background: rgba(255,255,255,.06); font-size: 11px; }
@media (max-width: 1100px) { .panel { width: 260px; } }

/* Pricing: five plans in ruled columns, like "Run it your way"; Pro has the inked button and a grey ground */
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 72px); }
.pricing-head .run-lead { margin: 0; }
.bill { display: inline-flex; border: var(--rule); }
.bill button { padding: .9em 1.2em; letter-spacing: inherit; text-transform: inherit; font: inherit; }
.bill button.on { background: var(--ink); color: var(--paper); }
.plans { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: var(--rule); }
.plan { display: flex; flex-direction: column; padding: clamp(20px, 2vw, 40px) clamp(14px, 1.6vw, 32px); min-width: 0; }
.plan + .plan { border-left: var(--rule); }
.plan .index { display: block; margin-bottom: clamp(14px, 1.6vw, 28px); }
.plan-name { font-size: var(--fs-row); letter-spacing: -.035em; text-transform: uppercase; font-weight: 700; line-height: 1; }
.plan-price { display: flex; align-items: baseline; gap: .6em; margin: .5em 0 .3em; }
.plan-amt { font-size: clamp(30px, 3vw, 58px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.plan-big { opacity: .7; min-height: 3em; line-height: 1.35; }
.plan-facts { flex: 1; margin: clamp(16px, 2vw, 32px) 0 clamp(20px, 2.4vw, 40px); display: flex; flex-direction: column; gap: .5em;
  font-size: clamp(13px, .82vw, 15px); line-height: 1.4; }
.plan-facts li { position: relative; padding-left: 1.1em; }
.plan-facts li:before { content: "–"; position: absolute; left: 0; top: 0; }
.pricing-why { margin-top: 1em; max-width: 46ch; opacity: .7; }
.pricing-note { margin-top: clamp(28px, 3vw, 56px); border-top: var(--rule); padding-top: clamp(18px, 2vw, 32px); font-size: clamp(13px, .82vw, 15px); opacity: .7; }
.plan-cta { align-self: flex-start; }
.plan-hi { background: var(--grey-1); }
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan + .plan { border-left: 0; }
  .plan:nth-child(even) { border-left: var(--rule); }
  .plan:nth-child(n+3) { border-top: var(--rule); }
}
@media (max-width: 600px) {
  .plans { grid-template-columns: 1fr; }
  .plan:nth-child(even) { border-left: 0; }
  .plan + .plan { border-top: var(--rule); }
}

@media (max-width: 900px) { .panel { display: none; } }

/* Without the 3D (no WebGL, or no script) the chapters stack, each with a picture from the app */
html:not(.gl) .story-pin { height: auto; overflow: visible; padding: clamp(80px, 10vw, 160px) var(--pad) 0; }
html:not(.gl) .chapters { position: static; display: grid; gap: clamp(64px, 8vw, 140px); }
html:not(.gl) .chapter { position: static; width: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); column-gap: clamp(20px, 4vw, 80px); align-items: end; }
html:not(.gl) .chapter > :not(.ch-still) { grid-column: 1; }
html:not(.gl) .ch-still { display: block; grid-column: 2; grid-row: 1 / span 4; width: 100%; aspect-ratio: 1500 / 920; object-fit: cover; }
html:not(.gl) .story-rail { display: none; }

/* Everything after the story sits on paper, over the canvas */
.paper { position: relative; z-index: 2; background: var(--paper); }

/* 03 Gallery: pinned, slides sideways; each shot gains its colour as it arrives */

/* 04 Numbers */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--rule); }
.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-note { margin-top: clamp(28px, 3vw, 56px); max-width: 78ch; color: var(--grey-3); font-size: 12.5px; line-height: 1.5; letter-spacing: .01em; }
.stats-note b { color: var(--ink); font-weight: 600; }
.stat { padding: clamp(24px, 3vw, 56px) clamp(0px, 1vw, 20px) 0 0; border-right: var(--rule); padding-left: clamp(12px, 1.4vw, 28px); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(44px, 6.4vw, 128px); font-weight: 700; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat-unit { font-size: clamp(16px, 1.6vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-left: .25em; text-transform: uppercase; }
.stat p { margin-top: clamp(14px, 1.6vw, 28px); color: var(--grey-3); max-width: 30ch; }

/* 05 Run it your way: a little wiring diagram, then the two ways side by side */
.run-lead { max-width: 22ch; font-size: var(--fs-lead); letter-spacing: -.025em; font-weight: 500; line-height: 1.1; }
.run-map { width: 100%; max-width: 980px; margin: clamp(48px, 6vw, 112px) 0 clamp(40px, 5vw, 96px); overflow: visible; }
.rm-node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; transition: fill .5s var(--ease); }
.rm-node text { font-family: var(--font-mono); font-size: 13px; letter-spacing: .24em; text-anchor: middle; fill: var(--ink); transition: fill .5s var(--ease); }
.rm-hawk rect, .rm-target.on rect { fill: var(--ink); }
.rm-hawk text, .rm-target.on text { fill: var(--paper); }
.rm-wires path { stroke-dasharray: 3 5; }
.rm-wires path.on { stroke-dasharray: none; stroke-width: 1.5; }
.rm-packet { fill: var(--ink); }
.run-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: var(--rule); }
.run-col { padding: clamp(24px, 3vw, 56px) clamp(16px, 3vw, 64px) clamp(24px, 3vw, 56px) 0; position: relative; }
.run-col + .run-col { border-left: var(--rule); padding-left: clamp(16px, 3vw, 64px); }
.run-col .index { display: block; margin-bottom: clamp(16px, 2vw, 36px); }
.run-title { font-size: var(--fs-row); letter-spacing: -.035em; text-transform: uppercase; font-weight: 700; line-height: 1; margin-bottom: .6em; }
.run-col p { max-width: 40ch; opacity: .7; }
.run-facts { margin-top: clamp(20px, 2.4vw, 40px); display: flex; flex-direction: column; gap: .7em; }
.run-facts li:before { content: "— "; }
.run-col:after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: 0; transition: transform .7s var(--ease); }
.run-col + .run-col:after { left: -1px; }
.run-col.on:after { transform: scaleX(1); }
.run-both { margin-top: clamp(28px, 3vw, 56px); border-top: var(--rule); padding-top: clamp(18px, 2vw, 32px); }

/* 06 How it works */
.steps { border-top: var(--rule); }
.step { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(12px, 3vw, 64px); border-bottom: var(--rule);
  padding: clamp(28px, 3.6vw, 64px) 0; align-items: start; }
.vg { width: 100%; max-width: 440px; justify-self: end; overflow: visible; }
.vg * { vector-effect: non-scaling-stroke; }
.vg rect, .vg path, .vg circle, .vg line, .vg ellipse { fill: none; stroke: var(--ink); stroke-width: 1; }
.vg text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; fill: var(--ink); stroke: none; }
/* 1 place */
.vg-tile { fill: var(--grey-1) !important; stroke: var(--paper) !important; stroke-width: 2 !important; }
.vg-road { stroke: var(--paper) !important; stroke-width: 4 !important; stroke-linecap: square; }
.vg-ctx rect { fill: #9a9a9a !important; stroke: none !important; }
.vg-site { stroke-width: 1.5 !important; fill: rgba(0, 0, 0, .06) !important; }
.vg-ripple { stroke-width: 1.2 !important; opacity: 0; }
.vg-box, .vg-sug rect { fill: var(--paper) !important; }
.vg-sug rect.vg-sug-hi { fill: var(--grey-1) !important; stroke: none !important; }
.vg-sug text { font-size: 9.5px; }
.vg-caret { fill: var(--ink) !important; stroke: none !important; }
.vg-pin path { fill: var(--ink) !important; }
.vg-pin circle { fill: var(--paper) !important; stroke: none !important; }
.vg-wx rect { fill: var(--paper) !important; }
.vg-spark { stroke-width: 1.2 !important; stroke-linejoin: round; }
.vg-sug, .vg-cur { opacity: 0; }
.vg-cur { fill: var(--ink) !important; stroke: var(--paper) !important; stroke-width: 1 !important; stroke-linejoin: round; }
/* 2 design */
.vg-bld { fill: var(--paper) !important; }
.vg-win { fill: var(--grey-2) !important; stroke: none !important; }
.vg-u rect { fill: var(--ink) !important; }
.vg-fan circle { stroke: var(--paper) !important; }
.vg-fan line { stroke: var(--paper) !important; }
.vg-wisp { stroke: #f57c38 !important; stroke-width: 1.4 !important; stroke-linecap: round; }
.vg-tag { font-size: 9.5px !important; }
.vg-link { stroke-dasharray: 3 3; }
.vg-sync rect { fill: var(--paper) !important; }
.vg-sync circle { fill: #3ecf8e !important; stroke: none !important; }
.vg-sync text { font-size: 9.5px; }
.vg-pkt { fill: var(--ink) !important; stroke: none !important; opacity: 0; }
/* 3 live */
.vg-flow { stroke-opacity: .6; stroke-linejoin: round; stroke-dasharray: 9 5; animation: vgflow 1s linear infinite; }
@keyframes vgflow { to { stroke-dashoffset: -14; } }
.vg-wake { fill: var(--grey-1) !important; stroke: none !important; }
.vg-block { fill: var(--ink) !important; }
.vg-wind path { stroke-width: 1.2 !important; }
.vg-wind text { font-size: 9.5px; }
.vg-stage rect { fill: var(--paper) !important; }
.vg-stage rect.vg-bar, .vg-gpu rect.vg-gbar { fill: var(--ink) !important; stroke: none !important; }
/* 4 run */
.vg-ring { stroke: var(--grey-2) !important; }
.vg-prog { stroke-width: 2 !important; }
.vg .vg-petal { fill: var(--grey-1); stroke: var(--grey-2); }
.vg-n { text-anchor: middle; font-size: 12px; }
.vg-gpu rect { fill: var(--paper) !important; }
.vg-gpu text { font-size: 9.5px; }
.vg-feed { stroke-dasharray: 3 3; }
.vg-page, .vg-page rect { fill: var(--paper) !important; }
.vg-page rect.vg-fig { fill: none !important; }
.vg-page .vg-cells rect { fill: var(--c) !important; stroke: none !important; }
.step-n { font-size: var(--fs-huge); font-weight: 700; letter-spacing: -.06em; line-height: .78; display: block; overflow: hidden; }
.step-title { font-size: var(--fs-row); letter-spacing: -.035em; text-transform: uppercase; font-weight: 700; line-height: 1; margin-bottom: .6em; }
.step p { max-width: 38ch; opacity: .7; }

/* 07 Access: the last screen. Access and the footer share one viewport height, so at the end of the
   scroll the whole form and the footer are on screen together (phone and desktop). */
.end { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.access { flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(clamp(18px, 2.4vw, 40px) + 3.2em); padding-bottom: clamp(20px, 2.6vw, 48px); }
.access .section-title { margin-bottom: clamp(14px, 2vw, 40px); }
.magnet-zone { margin: calc(-1 * clamp(10px, 2vw, 40px)); padding: clamp(10px, 2vw, 40px); display: inline-block; align-self: flex-start; }
.access-big { font-size: clamp(42px, 7.6vw, 150px); letter-spacing: -.055em; text-transform: uppercase; white-space: nowrap; will-change: transform;
  font-weight: 700; line-height: .86; display: inline-block; }
.access-line { background: var(--ink); transform-origin: 0; width: 100%; height: 1px; margin-top: clamp(10px, 1.2vw, 22px); display: block; }
.access-lead { margin-top: clamp(14px, 1.6vw, 28px); max-width: 52ch; font-size: clamp(16px, 1.3vw, 22px); letter-spacing: -.01em; line-height: 1.3; }
.access-form { margin-top: clamp(18px, 2.2vw, 40px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 28px) clamp(14px, 2.4vw, 48px); max-width: 1400px; }
.fld { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fld.wide, .form-foot.wide { grid-column: 1 / -1; }
/* 16px at least, so phones don't zoom into a field when it gets focus */
.fld input, .fld textarea { font: inherit; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.3; color: var(--ink); background: transparent; border: 0;
  border-bottom: var(--rule); padding: 4px 0 7px; outline: none; resize: none; border-radius: 0; width: 100%; min-width: 0; }
.fld textarea { height: calc(2 * 1.3em + 11px); }
.fld input:focus, .fld textarea:focus { border-bottom-width: 2px; padding-bottom: 6px; }
/* By keyboard the field also gets the page's focus ring (a rule one pixel thicker was all it had). */
.fld input:focus-visible, .fld textarea:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.fld:has(:invalid.touched) span, .fld:has([aria-invalid]) span { color: #b00; }
.fld span i { font-style: normal; color: var(--grey-3); margin-left: .6em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-box { min-height: 65px; }
.form-foot { display: flex; align-items: center; gap: 12px clamp(16px, 3vw, 48px); flex-wrap: wrap; }
.send { display: inline-flex; gap: 1.2em; align-items: center; background: var(--ink); color: var(--paper); text-transform: uppercase;
  font-weight: 700; letter-spacing: -.01em; font-size: clamp(15px, 1.1vw, 19px); padding: .8em 1.4em; position: relative; overflow: hidden;
  transition: background .4s var(--ease), color .4s var(--ease), outline-color .4s; outline: 1px solid var(--ink); outline-offset: 0; }
.send:hover { background: var(--paper); color: var(--ink); }
.send:disabled { opacity: .4; cursor: default; }
.form-msg { color: var(--grey-3); }
.form-msg:empty { display: none; }
.form-msg.err { color: #b00; font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; } /* a sentence to read, not a label */
.form-msg:focus { outline: none; }
.access-form.sent .fld, .access-form.sent .send { display: none; }
.access-form.sent .form-msg { color: var(--ink); font-size: clamp(14px, 1vw, 18px); }
.access-have { margin-left: auto; }

/* Footer */
.footer { width: 100%; max-width: var(--max); padding: 0 var(--pad) calc(clamp(16px, 2vw, 36px) + env(safe-area-inset-bottom, 0px)); margin: 0 auto; }
/* Small links get a finger-sized target without moving anything. */
.nav a, .footer-row a, .access-have a { position: relative; }
.nav a::before, .footer-row a::before, .access-have a::before { content: ''; position: absolute; inset: -15px -8px; }
.footer-row { flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .6em 2em; padding-top: clamp(12px, 1.4vw, 24px); display: flex; }

/* Square cursor, film grain */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { z-index: 10000; pointer-events: none; mix-blend-mode: difference; will-change: transform; position: fixed; top: 0; left: 0; }
.cursor-dot { background: var(--paper); opacity: 0; width: 12px; height: 12px; display: block; transform: translate(-50%, -50%);
  transition: width .45s var(--ease), height .45s var(--ease), opacity .3s linear; }
.cursor.is-visible .cursor-dot { opacity: 1; }
.cursor.is-hover .cursor-dot { width: 64px; height: 64px; }
/* Over a field the square steps aside for the text cursor, which shows where typing will go. */
.cursor.is-field .cursor-dot { opacity: 0; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
.grain { z-index: 9999; pointer-events: none; opacity: .03; mix-blend-mode: multiply; position: fixed; inset: 0; overflow: hidden; }
.grain-noise { background-size: 180px 180px; animation: .9s steps(6, end) infinite grain; position: absolute; inset: -120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.grain-scan { background: repeating-linear-gradient(#000 0 1px, #0000 1px 3px); position: absolute; inset: 0; }
@keyframes grain { 0% { transform: translate(0); } 20% { transform: translate(-40px, 30px); } 40% { transform: translate(30px, -50px); }
  60% { transform: translate(-60px, -20px); } 80% { transform: translate(50px, 40px); } to { transform: translate(0); } }

@media (max-width: 900px) {
  .access-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not(.gl) .chapter { grid-template-columns: 1fr; }
  html:not(.gl) .ch-still { grid-column: 1; grid-row: auto; margin-top: 24px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: var(--rule); margin-top: clamp(24px, 3vw, 56px); }
  .step { grid-template-columns: 1fr; row-gap: 18px; }
  .vg { justify-self: start; max-width: 360px; }
  .stats-3 { grid-template-columns: 1fr; }
  .stats-3 .stat { border-right: 0; padding-left: 0; }
  .stats-3 .stat + .stat { border-top: var(--rule); margin-top: clamp(24px, 3vw, 56px); }
  .run-cols { grid-template-columns: 1fr; }
  .run-col + .run-col { border-left: 0; border-top: var(--rule); padding-left: 0; }
  .run-col + .run-col:after { left: 0; }
  .rm-node text { font-size: 15px; letter-spacing: .08em; }
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-open):not([href="#access"]) { display: none; } /* a phone keeps the way to the form */
  .access-form .fld:nth-child(-n+2) { grid-column: 1 / -1; } /* name and email get the whole row: an address fits */
  .hero-hint { display: none; }
  .chapter { bottom: 84px; }
  .ch-title { font-size: 10.5vw; }
  .ch-text { font-size: 15px; }
  .story-rail { gap: 10px; font-size: 9px; letter-spacing: .14em; top: 64px; }
  .hud { left: var(--pad); right: auto; bottom: 16px; padding: 8px 10px; }
  .hud-extra { display: none; }
  .access-big { white-space: normal; font-size: 12.4vw; }
  .access-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-have { margin-left: 0; }
  .hero-name { font-size: 29vw; }
  .stat-num { font-size: 11vw; }
  .footer-row { gap: .4em 1.4em; justify-content: flex-start; }
  .footer-row .to-top { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, :before, :after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .cursor { display: none !important; }
  .hud { transition: none; }
}

/* Looking around the model: drag to turn it, the probe reads the run under the pointer */
html.gl .hero, html.gl .story-pin { touch-action: pan-y; }
html.gl .story-pin { user-select: none; -webkit-user-select: none; }
html.grabbing.has-cursor .cursor-dot { width: 28px; height: 28px; }
.lbl-probe .lbl-box { background: #fff; color: var(--ink); outline: 1px solid var(--ink); }
.lbl-probe .lbl-box small { color: var(--grey-3); }
.story-hint { position: absolute; right: var(--pad); bottom: clamp(18px, 2.4vw, 40px); color: var(--grey-3); pointer-events: none; display: none; }
.story-tip { position: absolute; left: var(--pad); top: calc(clamp(80px, 12vh, 140px) + 34px); color: var(--grey-3); pointer-events: none; letter-spacing: .16em; }
.story-tip .tip-touch { display: none; }
@media (hover: none), (pointer: coarse) { .story-tip .tip-fine { display: none; } .story-tip .tip-touch { display: inline; } }
html:not(.gl) .story-tip { display: none; }
@media (max-width: 600px) { .story-tip { top: 88px; font-size: 9px; } }
/* Over the satellite map the title needs its paper */
.chapter[data-i="6"] .ch-title .ln > span { background: var(--paper); box-shadow: 0 0 0 .08em var(--paper); }
.chapter[data-i="6"] .ch-k { background: var(--paper); box-shadow: 0 0 0 6px var(--paper); align-self: flex-start; width: max-content; }
.story-rail, .story-tip { background: var(--paper); box-shadow: 0 0 0 8px var(--paper); }
@media (max-width: 700px) {
  .lbl-minor { display: none; }
  .lbl-box { font-size: 10px; padding: 4px 6px 5px; }
  .lbl-box b { font-size: 12px; }
  .lbl-box small { font-size: 8px; letter-spacing: .1em; }
}
html.gl .chapter, html.gl .panel { z-index: 1; }

/* Pricing reads in sentence case (Sadi, 2026-11-02): no all-caps labels, names or buttons here */
.pricing .plans .micro, .pricing .bill { text-transform: none; letter-spacing: .02em; font-family: var(--font-sans); font-size: clamp(12px, .78vw, 14px); }
.pricing .plan-name { text-transform: none; letter-spacing: -.03em; }
.pricing .btn { text-transform: none; letter-spacing: 0; }
