/* kaylumai.com, the "ember" direction.
   A cool, near-white page with soft depth, one typeface (Geist) at product-site sizes, and one hot orange spent on the main
   action and on anything in motion. The dark rooms (the films, the Villa, the call) are the machine side of the work.
   Spacing sits on a 4px grid. Lines are hairlines drawn once; shadows are kept for things that float. */

:root {
  --ground: #f5f6f8;
  --sheet: #ffffff;
  --tint: #eceef2;
  --ink: #0b0d12;
  --body: #4a5160;
  --mute: #6a7180;
  --line: rgb(11 13 18 / .09);
  --line-2: rgb(11 13 18 / .16);
  --accent: #ff5a1f;
  --on-accent: #0b0d12;
  --accent-ink: #b8400f;
  --accent-up: #ff7340;
  --stage: #0b0d12;
  --stage-2: #14171f;
  --stage-3: #1d212b;
  --on-stage: #f2f4f7;
  --on-stage-body: #a3abb9;
  --line-stage: rgb(255 255 255 / .1);
  --ok: #2fcf85;
  --bad: #ff6b5e;
  --face: 'Geist', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 75rem;
  --lift-1: 0 1px 2px rgb(11 13 18 / .05), 0 10px 28px -14px rgb(11 13 18 / .16);
  --lift-2: 0 2px 6px rgb(11 13 18 / .06), 0 32px 64px -28px rgb(11 13 18 / .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(4rem, 8.5vw, 7.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1rem/1.55 var(--face); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.defs { position: absolute; width: 0; height: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
section:focus, article:focus { outline: none; }
[id] { scroll-margin-top: 5.5rem; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 30; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { left: .5rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* Type. Big, tight and not heavy for display; 16px for reading; 14px for detail. */
h1, h2 { font-weight: 600; letter-spacing: -.042em; line-height: 1.03; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.2rem + 2.5vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.lede { margin-top: 1rem; max-width: 44ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.5; color: var(--body); text-wrap: pretty; }
.head { max-width: 46rem; }
.aside { font-size: .875rem; color: var(--mute); }
.price { color: var(--body); }
.price b { font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Buttons: one filled kind for the main action, one ringed kind for everything else. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 2.875rem; padding: 0 1.25rem; border-radius: 10px; font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; transition: transform 140ms var(--ease), background-color 140ms var(--ease), box-shadow 140ms var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 2.375rem; padding: 0 .875rem; font-size: .875rem; border-radius: 9px; }
.btn-fill { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 1px 2px rgb(11 13 18 / .16); }
.btn-fill:hover { background: var(--accent-up); transform: translateY(-1px); }
.btn-ring { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(11 13 18 / .04); }
.btn-ring:hover { box-shadow: inset 0 0 0 1px var(--ink), 0 1px 2px rgb(11 13 18 / .04); }
.plain { font-size: .9375rem; font-weight: 500; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); transition: text-decoration-color 140ms; }
.plain:hover { text-decoration-color: currentColor; }
.plain.on-dark { color: var(--on-stage); text-decoration-color: rgb(255 255 255 / .3); text-decoration-line: underline; }

/* ---- The bar ---- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 2rem; height: 4.25rem; padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2); transition: background-color 200ms, box-shadow 200ms; }
.top.on { background: var(--ground); box-shadow: 0 1px 0 var(--line); }
/* One filled button a screen: at the top of the page that is the opening's, so the bar's waits its turn. */
.top:not(.on) .btn-fill { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(11 13 18 / .04); }
.logo { display: block; }
.logo svg { width: 5.75rem; height: auto; aspect-ratio: 3459 / 1012; fill: currentColor; }
.top-links { display: flex; gap: 1.75rem; margin-right: auto; font-size: .9375rem; font-weight: 500; }
.top-links a { color: var(--body); text-decoration: none; transition: color 140ms; }
.top-links a:hover { color: var(--ink); }

.menu { display: none; position: relative; }
.menu summary { display: flex; align-items: center; height: 2.375rem; padding-inline: .875rem; border-radius: 9px; font-size: .875rem; font-weight: 600; list-style: none; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--sheet); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + .5rem); display: grid; min-width: 13.5rem; padding: .375rem; background: var(--sheet); border-radius: 14px; box-shadow: 0 0 0 1px var(--line), var(--lift-2); }
.menu nav a { padding: .7rem .75rem; border-radius: 9px; font-size: .9375rem; font-weight: 500; text-decoration: none; }
.menu nav a:hover { background: var(--tint); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- The opening ---- */
.hero { isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; min-height: min(100svh, 58rem); padding-block: 6.5rem 3.5rem; }
.hero h1 { font-size: clamp(2.25rem, 1.15rem + 2.75vw, 3.625rem); letter-spacing: -.046em; line-height: 1.02; max-width: 11.5em; }
.hero-sub { margin-top: 1.5rem; max-width: 32ch; font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.5; color: var(--body); text-wrap: pretty; }
.hero-acts { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.figs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 3rem; }
.figs div { display: grid; grid-template-rows: auto 1fr; gap: .3rem; padding-inline: 1.5rem; border-left: 1px solid var(--line-2); }
.figs dd { order: -1; }
.figs div:first-child { padding-left: 0; border-left: 0; }
.figs dd { font-size: 1.625rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.figs dt { font-size: .8125rem; line-height: 1.35; color: var(--mute); white-space: nowrap; }
.figs-note { margin-top: .875rem; font-size: .8125rem; color: var(--mute); }
.hero-note { margin-top: .875rem; font-size: .8125rem; color: var(--mute); }
.built { display: none; }

/* The mark, at the size of a name: Kay's own, from the filter brand. Noise falls into the y; touch it and it combs into one line.
   The proportions are the mark's own, so filter.js can measure it. */
.hb-mark { display: none; }
.mark { position: relative; margin: 0; color: var(--ink); pointer-events: auto; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.mark::before { content: ""; position: absolute; left: 30%; right: 34%; bottom: 0; height: calc(100% + 6rem); }
.word { display: block; width: 100%; height: auto; overflow: visible; }
.drop { position: relative; display: flex; flex: none; height: calc((.292 - var(--vy)) * 100cqw + .9rem); margin-top: calc((var(--vy) - var(--h)) * 100cqw); padding-left: calc(var(--ax) * 100cqw - var(--t) / 2); }
.tail { display: block; width: var(--t); background: var(--accent); transform-origin: top; }
#noise { position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none; }
.anim .tail { animation: draw 1.1s cubic-bezier(.3, .1, .12, 1) .2s both; }
@keyframes draw { from { transform: scaleY(0); } }
/* While the big name is on screen the small one in the bar waits. */
/* It folds away, so the links start at the page's left edge, and slides back in once the page has moved. */
html[data-h="6"] .top .logo { max-width: 6rem; overflow: hidden; transition: max-width 280ms var(--ease), margin-right 280ms var(--ease), opacity 200ms; }
html[data-h="6"] .top:not(.on) .logo { max-width: 0; margin-right: -2rem; opacity: 0; pointer-events: none; }

/* The plain opening (?h=6, the default): the words in the middle, one main button, one quiet line of figures,
   and the tools Kay builds with. Nothing is layered and nothing moves. */
.hero[data-h="6"] { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; row-gap: 0; min-height: 100svh; padding-block: 5.5rem 3rem; text-align: center; }
.hero[data-h="6"] .hero-words { display: contents; }
.hero[data-h="6"] .hb-mark { --ax: .43015; --vy: .16505; --h: .232; --t: max(2px, .24cqw); position: relative; z-index: 0; display: flex; flex-direction: column; width: clamp(8.5rem, 11vw, 11rem); margin-bottom: clamp(.5rem, 1.6vh, 1.25rem); container-type: inline-size; pointer-events: none; }
.hero[data-h="6"] h1 { max-width: 14.5em; font-size: clamp(2.375rem, 1.1rem + 3.4vw, 4rem); }
.hero[data-h="6"] .hero-sub { max-width: 64ch; margin-top: 1.5rem; text-wrap: balance; }
.hero[data-h="6"] .hero-acts { justify-content: center; margin-top: 2.25rem; }
/* The figures stay with the work they belong to, further down; the opening carries none. */
.hero[data-h="6"] .figs, .hero[data-h="6"] .figs-note { display: none; }
.hero[data-h="6"] .built { display: grid; justify-items: center; gap: .875rem; margin-top: clamp(3.5rem, 9vh, 6rem); }
.built p { font-size: .8125rem; color: var(--mute); }
/* The belt: the tools Kay builds with, as their own marks, in two rows that slide past each other.
   It stops under the pointer, and for reduced motion (or with no script) it is two still, wrapped rows. */
.belt { display: grid; gap: 1.375rem; width: 100vw; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.belt-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem 2.25rem; padding-inline: var(--gutter); font-size: .9375rem; font-weight: 500; color: var(--ink); }
.belt-row li { display: flex; align-items: center; gap: .55rem; white-space: nowrap; opacity: .76; }
.belt-row svg { flex: none; width: 1.375rem; height: 1.375rem; fill: currentColor; }
.belt-row.run { flex-wrap: nowrap; justify-content: flex-start; gap: 0; width: max-content; padding-inline: 0; animation: belt 80s linear infinite; }
.belt-row.run li { padding-right: 2.75rem; }
.belt-back.run { animation-direction: reverse; animation-duration: 96s; }
.belt:hover .belt-row { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(-50%); } }

/* The stack: four real screens, layered like windows on a desk. Each is a close-up, so its words can be read.
   Positions are shares of the box, so the whole arrangement scales as one. Nearer windows move further (--k). */
.stack { position: relative; aspect-ratio: 100 / 96; --mx: 0px; --my: 0px; --sy: 0px; --zm: 1; }
.win { position: absolute; display: block; color: inherit; text-decoration: none; transform: translate3d(calc(var(--mx) * var(--k) * 8), calc(var(--my) * var(--k) * 8 + var(--sy) * var(--k)), 0); will-change: transform; }
.win-in { display: block; overflow: hidden; border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line), var(--lift-2); transition: transform 260ms var(--ease), box-shadow 260ms var(--ease); }
.win:hover .win-in, .win:focus-visible .win-in { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--line-2), 0 3px 8px rgb(11 13 18 / .08), 0 40px 72px -28px rgb(11 13 18 / .38); }
.win:focus-visible { outline: none; }
.win:focus-visible .win-in { outline: 2px solid var(--accent); outline-offset: 3px; }
.win-bar { display: block; height: 1.875rem; padding-inline: .75rem; border-bottom: 1px solid var(--line); font-size: .75rem; font-weight: 500; line-height: 1.875rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-pic { display: block; overflow: hidden; aspect-ratio: 16 / 9.6; background: var(--stage); }
.win-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: scale(calc(var(--z, 1) * var(--zm))); transform-origin: var(--o, 50% 0%); }
.win-a { left: 20%; top: 0; width: 80%; z-index: 1; }
.win-b { left: 0; top: 34%; width: 54%; z-index: 2; }
.win-c { left: 71%; top: 26%; width: 26%; z-index: 3; }
.win-c .win-in { padding: 5px; border-radius: 22px; background: var(--ink); box-shadow: var(--lift-2); }
.win-c .win-pic { aspect-ratio: 9 / 15.2; border-radius: 17px; }
.win-d { left: 25%; top: 67%; width: 43%; z-index: 4; }
.stack-note { position: absolute; left: 0; bottom: 1%; width: 22%; font-size: .78125rem; line-height: 1.45; color: var(--mute); text-wrap: pretty; }
/* The windows arrive once, back to front. It's the page's one unprompted movement. */
.anim .win-in { animation: land 760ms var(--ease) both; animation-delay: calc(var(--i) * 120ms + 120ms); }
@keyframes land { from { opacity: 0; transform: translateY(22px); } }

/* ---- Review: the opening's other half, four ways (?h=1 to 4). Every screen whole, in one kind of frame. ---- */
.hm[hidden] { display: none; }
.hm { --mx: 0px; --my: 0px; --sy: 0px; }
.shot { display: block; overflow: hidden; border-radius: 12px; background: var(--tint); color: inherit; text-decoration: none; box-shadow: 0 0 0 1px var(--line-2), var(--lift-2); }
.shot img { width: 100%; height: auto; }
.shot-phone { padding: 5px; border-radius: 29px; background: #16181d; box-shadow: 0 0 0 1px rgb(11 13 18 / .6), 0 2px 6px rgb(11 13 18 / .12), 0 36px 64px -24px rgb(11 13 18 / .5); }
.shot-phone img { border-radius: 24px; }
.drift { transform: translate3d(calc(var(--mx) * var(--k) * 8), calc(var(--my) * var(--k) * 8 + var(--sy) * var(--k)), 0); will-change: transform; }
.hm-note { font-size: .8125rem; line-height: 1.5; color: var(--mute); text-wrap: pretty; }
.hm-note a { color: var(--ink); text-underline-offset: .2em; }
.hm-note b { display: block; margin-bottom: .25rem; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.anim .hm .shot { animation: land 760ms var(--ease) both; }

/* 1. One whole screen, and a phone standing in front of its quiet corner. */
/* The box is as tall as the phone reaches, set by padding so the line of words can sit underneath in the normal flow. */
.pair { position: relative; padding-top: 91%; }
.pair-win { position: absolute; left: 10%; right: 0; top: 0; }
.pair-phone { position: absolute; left: 0; top: 4.25rem; width: 43%; z-index: 1; }
.anim .pair-phone { animation-delay: 160ms; }
.pair .hm-note { margin-top: 1.25rem; }

/* 2. One window that moves through the builds. The line under it names what is showing. */
.flick { display: grid; gap: .875rem; }
.flick-win { display: grid; }
.flick-s { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 520ms var(--ease), visibility 0s 520ms; }
.flick-s.on { opacity: 1; visibility: visible; transition: opacity 520ms var(--ease); }
.flick-cap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 1.5rem; }
.flick-say { font-size: .9375rem; color: var(--body); }
.flick-say b { margin-right: .3rem; font-weight: 600; color: var(--ink); }
.flick-ticks { display: flex; gap: .375rem; flex: none; }
.flick-ticks button { position: relative; width: 2rem; height: 1.5rem; }
.flick-ticks button::before, .flick-ticks button::after { content: ""; position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.flick-ticks button::before { right: 0; background: var(--line-2); }
.flick-ticks button::after { width: 0; background: var(--ink); }
.flick-ticks button[aria-pressed="true"]::after { width: 100%; }
.flick.playing .flick-ticks button[aria-pressed="true"]::after { background: var(--accent); animation: tick var(--flick-ms, 4600ms) linear both; }
@keyframes tick { from { width: 0; } to { width: 100%; } }

/* 3 and 4 put the words in the middle and the pictures, or the calendar, underneath. */
.hero[data-h="3"], .hero[data-h="4"] { grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: start; row-gap: 0; min-height: 0; padding-block: 7.25rem 3.5rem; text-align: center; }
.hero[data-h="3"] .hero-words, .hero[data-h="4"] .hero-words { display: contents; }
.hero[data-h="3"] h1, .hero[data-h="4"] h1 { max-width: 15em; }
.hero[data-h="3"] .hero-sub, .hero[data-h="4"] .hero-sub { max-width: 58ch; margin-top: 1.25rem; }
.hero[data-h="3"] .hero-acts { justify-content: center; margin-top: 1.75rem; }
.hero[data-h="3"] .hm { order: 1; width: 100%; margin-top: 2.75rem; }
/* The dates the figures were counted on are in the foot of the page; the centred openings leave the line out. */
.hero[data-h="3"] .figs-note, .hero[data-h="4"] .figs-note { display: none; }
.fan-set { position: relative; aspect-ratio: 1200 / 338; }
.fan-set .shot { position: absolute; }
.fan-c { left: 25%; top: 0; width: 50%; z-index: 1; }
/* The side screens tuck far enough under the middle one that it never cuts a line of their words. */
.fan-l, .fan-r { top: 10%; width: 40%; }
.fan-l { left: 0; }
.fan-r { right: 0; }
.anim .fan-c { animation-delay: 140ms; }
.fan .hm-note { margin-top: 1.25rem; }

/* In the centred openings the three figures are one quiet line under the words. */
.hero[data-h="3"] .figs, .hero[data-h="4"] .figs { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 0; margin-top: 1.5rem; }
.hero[data-h="3"] .figs div, .hero[data-h="4"] .figs div { display: flex; align-items: baseline; gap: .4rem; padding-inline: 1rem; }
.hero[data-h="3"] .figs dd, .hero[data-h="4"] .figs dd { font-size: 1rem; }
.hero[data-h="3"] .figs dt, .hero[data-h="4"] .figs dt { max-width: none; font-size: .875rem; }
.hero[data-h="4"] { padding-top: 6.25rem; }
.hero[data-h="4"] .hero-acts { display: none; }
.hero[data-h="4"] .figs { order: 0; margin-top: 1.125rem; }
.book { order: 1; width: min(100%, 55rem); margin-top: 1.5rem; }
.book .cal-sheet { text-align: left; box-shadow: 0 0 0 1px var(--line), var(--lift-2); }
.book .hcal { min-height: 31.25rem; }
.book .hm-note { margin-top: 1rem; font-size: .875rem; }
.call.moved .call-in { grid-template-columns: minmax(0, 1fr); justify-items: start; }
.call.moved .call h2, .call.moved h2 { max-width: 16em; }

/* 5. How Kay works, as the page's own diagram in daylight: white boxes, an orange signal, and the phone it all reports to. */
.sys { display: grid; gap: 1.25rem; }
.sys .map { margin: 0; }
.sys .map svg { overflow: visible; }
.sys .wires path { stroke: rgb(11 13 18 / .18); }
.sys .node rect { fill: var(--sheet); filter: drop-shadow(0 1px 1px rgb(11 13 18 / .1)) drop-shadow(0 8px 12px rgb(11 13 18 / .08)); }
.sys .node text { fill: var(--ink); }
.sys .map text.m-sub, .sys .map text.m-head { fill: var(--mute); }
.sys .phone text.m-sub { fill: var(--on-stage-body); }
.sys .phone > rect:first-child { fill: var(--ink); stroke: none; filter: drop-shadow(0 24px 28px rgb(11 13 18 / .28)); }

/* Review only: the switch between the five. */
.rv { position: fixed; right: .75rem; bottom: .75rem; z-index: 40; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .125rem; max-width: calc(100vw - 1.5rem); padding: .25rem .375rem .25rem .875rem; background: #0b0d12; color: #fff; border-radius: 10px; font-size: .8125rem; font-weight: 500; white-space: nowrap; box-shadow: var(--lift-2); }
.rv a { padding: .35rem .625rem; border-radius: 7px; color: rgb(255 255 255 / .7); text-decoration: none; }
.rv a[aria-current] { background: #fff; color: #0b0d12; }
.rv b { margin: 0 .25rem 0 .75rem; font-weight: 500; }
.rv a { text-transform: none; }
html[data-theme="noir"] .rv { box-shadow: 0 0 0 1px rgb(255 255 255 / .2), var(--lift-2); }

/* ---- What do you want to make? Questions in the visitor's words; each line says where that teaching lives ---- */
.make { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.head-split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; max-width: none; }
.key { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; margin-top: 1.5rem; font-size: .9063rem; color: var(--body); }
.key b { font-weight: 600; color: var(--ink); }
.asks { margin-top: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--line-2); }
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.25rem clamp(2rem, 6vw, 6rem); align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line-2); }
.ask h3 { max-width: 15em; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); letter-spacing: -.03em; line-height: 1.16; text-wrap: balance; }
.ask li + li { border-top: 1px solid var(--line); }
.ask a { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .8rem 0; font-size: 1.0313rem; font-weight: 500; line-height: 1.4; text-decoration: none; }
.ask li:first-child a { padding-top: .1rem; }
.ask a span { font-family: var(--mono); font-size: .75rem; color: var(--mute); }
.ask a::after { content: "\2192"; color: var(--mute); transition: transform 160ms var(--ease), color 160ms; }
.ask a:hover::after, .ask a:focus-visible::after { transform: translateX(3px); color: var(--ink); }
.make[data-m="a"] .key, .make[data-m="b"] .key, .make[data-m="c"] .key { display: none; }

/* A. Pick one. Six things you might want, in big type. The path for the one you pick sits beside it: three numbered steps,
   each saying where it lives and what that costs. */
.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-top: clamp(1.75rem, 3vw, 2.5rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line-2); }
.pick-list { display: grid; }
.pick-list button { position: relative; padding: .65rem 0 .65rem 1.375rem; text-align: left; font-size: clamp(1.375rem, 1rem + 1.25vw, 1.9375rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.12; color: var(--mute); transition: color 160ms; }
.pick-list button::before { content: ""; position: absolute; left: 0; top: .55rem; bottom: .55rem; width: 3px; border-radius: 2px; background: var(--accent); transform: scaleY(0); transition: transform 240ms var(--ease); }
.pick-list button:hover { color: var(--body); }
.pick-list button[aria-selected="true"] { color: var(--ink); }
.pick-list button:focus-visible { outline: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em; }
.pick-list button[aria-selected="true"]::before { transform: scaleY(1); }
.pick-panel { position: sticky; top: 5.5rem; max-width: 34rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--sheet); border-radius: 20px; box-shadow: var(--lift-1); counter-reset: r; }
.pick-q { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.25; text-wrap: balance; }
.pick-grp { margin-top: 1.75rem; }
.pick-grp > p { font-size: .875rem; font-weight: 600; color: var(--mute); }
.route { margin-top: .75rem; }
.route li { counter-increment: r; position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: baseline; padding-bottom: 1.125rem; }
.route li::before { content: counter(r); font: 500 .875rem var(--mono); color: var(--mute); }
.route li::after { content: ""; position: absolute; left: .28rem; top: 1.7rem; bottom: .25rem; width: 1px; background: var(--line-2); }
.route li:last-child { padding-bottom: 0; }
.route li:last-child::after { display: none; }
.route a { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; text-decoration: none; text-wrap: pretty; }
.route a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

/* B. Six columns. Everything on show at once, three across, each under one rule. No surfaces and no shadows. */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3.5vw, 3.5rem); margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.tile { padding: 1.75rem 0 2.5rem; border-top: 1px solid var(--line-2); }
.tile h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.9375rem); letter-spacing: -.04em; line-height: 1.08; text-wrap: balance; }
.tile-q { margin-top: .5rem; font-size: .9688rem; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.tile ul { margin-top: 1.25rem; }
.tile li + li { border-top: 1px solid var(--line); }
.tile a { display: grid; gap: .1rem; padding: .7rem 0; font-size: .9688rem; font-weight: 500; line-height: 1.4; text-decoration: none; }
.tile a span { font-size: .8125rem; font-weight: 400; color: var(--mute); }
.tile a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }

/* C. Three lanes. Sorted by where it lives and what it costs. "Show me" lights up the lines for one thing you want. */
.sift { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1.75rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); font-size: 1.125rem; letter-spacing: -.02em; }
.sift span { font-size: .9375rem; letter-spacing: 0; color: var(--mute); }
.sift button { padding: .3rem 0; font-weight: 600; color: var(--mute); border-bottom: 3px solid transparent; transition: color 160ms, border-color 160ms; }
.sift button:hover { color: var(--body); }
.sift button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; border-block: 1px solid var(--line-2); }
.lane-col { display: flex; flex-direction: column; align-items: flex-start; padding: 1.75rem; }
.lane-col + .lane-col { border-left: 1px solid var(--line); }
.lane-col:first-child { padding-left: 0; }
.lane-col:last-child { padding-right: 0; }
.lane-col h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); letter-spacing: -.04em; }
.lane-col h3 span { margin-left: .6rem; color: var(--mute); }
.lane-cost { margin-top: .3rem; font-size: .9375rem; color: var(--body); text-wrap: pretty; }
.lane-col ul { align-self: stretch; margin: 1.5rem 0 1.75rem; }
.lane-col li { border-top: 1px solid var(--line); transition: opacity 220ms; }
.lane-col li:last-child { border-bottom: 1px solid var(--line); }
.lane-col li a { display: block; padding: .75rem 0; font-size: .9688rem; font-weight: 500; line-height: 1.4; text-decoration: none; }
.lane-col li a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
.lanes.sifted li:not(.hit) { opacity: .22; }
.lanes.sifted li.hit a { font-weight: 600; }
.lane-col .btn { margin-top: auto; }

/* ---- Four ways in: one sheet, four columns, each line drawn once ---- */
.ways { padding-block: 0 var(--pad); }
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.5rem); border-block: 1px solid var(--line-2); }
.axis { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--mute); }
.axis span { position: relative; padding: .875rem 1.75rem; }
.axis span:first-child, .rung:nth-child(2) { padding-left: 0; }
.axis span:last-child, .rung:last-child { padding-right: 0; }
.rung { display: flex; flex-direction: column; padding: 1.75rem; }
.rung + .rung { border-left: 1px solid var(--line); }
.rung-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.rung-price b { font-size: 1.625rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rung-price span { font-size: .8125rem; color: var(--mute); }
.rung h3 { margin-top: 1.25rem; }
.rung-say { margin-top: .5rem; font-size: .9375rem; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.rung ul { margin-top: 1.25rem; margin-bottom: 1.75rem; }
/* Every row is two lines tall, so the rules run straight across all four columns. */
.rung li { display: flex; align-items: center; min-height: 4rem; padding: .7rem 0; border-top: 1px solid var(--line); font-size: .9063rem; line-height: 1.45; }
.rung li:last-child { border-bottom: 1px solid var(--line); }
.rung-acts { display: grid; gap: .875rem; justify-items: start; margin-top: auto; }
.rung-acts .btn { width: 100%; }

/* ---- The work ---- */
.work { padding-block: 0 var(--pad); }
/* The builds as a list: the name large, one line on what it did, one fact. On a pointer, a build's picture follows the cursor. */
.builds { margin-top: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--line-2); }
.build { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .75fr); gap: .75rem clamp(1.5rem, 4vw, 4rem); align-items: start; padding: clamp(1.5rem, 2.8vw, 2.25rem) 0; border-bottom: 1px solid var(--line-2); }
.build h3 { font-size: clamp(1.625rem, 1.05rem + 2vw, 2.5rem); letter-spacing: -.048em; line-height: 1.02; text-wrap: balance; }
.build h3 a { text-decoration: none; }
.build h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .14em; }
.build-say { max-width: 36ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.45; color: var(--body); text-wrap: pretty; transition: color 200ms; }
.build-say { padding-top: .3rem; }
.build-say small { display: block; margin-top: .5rem; font-size: .8125rem; color: var(--mute); }
.build:hover .build-say { color: var(--ink); }
.build-fact { justify-self: end; text-align: right; font-size: .875rem; line-height: 1.4; color: var(--mute); }
.build-fact b { display: block; font-size: clamp(1.75rem, 1.1rem + 2vw, 2.625rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.build-fact span { display: block; margin-top: .4rem; white-space: nowrap; }
.peek { position: fixed; left: 0; top: 0; z-index: 15; width: min(24rem, 32vw); height: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2), var(--lift-2); pointer-events: none; opacity: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(.97); transition: opacity 180ms, transform 120ms linear; }
.peek.on { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
/* One good part of each build, large, on its own flat ground. The picture never has to carry a whole dashboard. */
.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.case { grid-column: span 6; }
.case-sm { grid-column: span 4; }
.stage { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10.5; border-radius: 16px; background: var(--st, var(--tint)); color: inherit; text-decoration: none; }
.stage img { position: absolute; left: 9%; top: 14%; width: 82%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgb(11 13 18 / .08), 0 24px 48px -20px rgb(11 13 18 / .4); transition: transform 320ms var(--ease); }
.stage-tall img { left: 19%; top: 11%; width: 62%; border-radius: 18px; box-shadow: 0 0 0 1px rgb(255 255 255 / .14), 0 24px 48px -20px rgb(0 0 0 / .7); }
.stage-wide img { left: 8%; top: 13%; width: 128%; }
.case:hover .stage img, .case:hover .prompt { transform: translateY(-5px); }
.prompt { position: absolute; left: 9%; right: 9%; top: 15%; display: grid; gap: .6rem; padding: 1.125rem 1.25rem; background: var(--sheet); border-radius: 10px; box-shadow: 0 0 0 1px rgb(11 13 18 / .08), 0 24px 48px -20px rgb(11 13 18 / .4); font-size: .875rem; line-height: 1.45; color: var(--body); transition: transform 320ms var(--ease); }
.prompt b { font-family: var(--mono); font-size: .8125rem; font-weight: 500; color: var(--ink); }
.prompt i { font-size: .75rem; font-style: normal; color: var(--mute); }
.case .cap > p.case-who { margin-top: 0; font-size: .875rem; font-weight: 600; color: var(--accent-ink); }
.case .cap h3 { margin-top: .3rem; text-wrap: balance; }
.case-sm .cap h3 { font-size: 1.1875rem; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.piece-lg, .piece-md { grid-column: span 6; }
.piece-sm { grid-column: span 4; }
/* Every picture is a whole screen at 16:10, in the same frame. */
.pic { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--line), var(--lift-1); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.pic img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.piece:hover .pic { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--lift-2); }
.cap { margin-top: 1.25rem; }
.cap h3 { font-size: 1.375rem; letter-spacing: -.025em; }
.cap h3 a { text-decoration: none; }
.cap h3 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.cap > p:not(.facts) { margin-top: .5rem; max-width: 50ch; font-size: .9688rem; color: var(--body); text-wrap: pretty; }
.facts { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .875rem; font-size: .8438rem; color: var(--mute); }
.facts b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.cinema { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(3.5rem, 7vw, 6rem); }
.cinema-screen { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000; box-shadow: 0 0 0 1px var(--line-2), var(--lift-2); }
.cinema-screen video { width: 100%; height: 100%; object-fit: cover; }
.cinema-words h3 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2.125rem); letter-spacing: -.035em; line-height: 1.08; }
.cinema-words > p:not(.small-print):not(.cinema-acts) { margin-top: .75rem; color: var(--body); text-wrap: pretty; min-height: 4.65em; }
/* Two plain tabs: the one showing is in ink with a line under it. */
.seg { display: flex; gap: 1.5rem; margin-top: 1.25rem; border-bottom: 1px solid var(--line-2); }
.seg button { margin-bottom: -1px; padding: .5rem 0; border-bottom: 2px solid transparent; border-radius: 0; font-size: .9375rem; font-weight: 600; color: var(--mute); transition: color 140ms, border-color 140ms; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.cinema-acts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; }
.small-print { margin-top: 1.5rem; font-size: .8125rem; color: var(--mute); }

.also { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(3rem, 6vw, 5rem); }
.also > div { padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.also h3 { font-size: 1.375rem; letter-spacing: -.025em; }
.also h3 a { text-decoration: none; }
.also h3 a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
.also p:not(.facts) { margin-top: .5rem; max-width: 46ch; font-size: .9688rem; color: var(--body); text-wrap: pretty; }

/* ---- The Villa: the machine room ---- */
.villa { background: var(--stage); color: var(--on-stage); padding-block: var(--pad); }
.villa .lede { color: var(--on-stage-body); }
.villa-in { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.points { margin-top: 2.25rem; }
.points li { padding: 1.25rem 0; border-top: 1px solid var(--line-stage); }
.points h3 { font-size: 1.0625rem; }
.points p { margin-top: .35rem; font-size: .9375rem; color: var(--on-stage-body); text-wrap: pretty; }
.villa-note { padding-top: 1.25rem; border-top: 1px solid var(--line-stage); font-size: .9375rem; font-weight: 500; text-wrap: pretty; }
.map svg { width: 100%; height: auto; font-family: var(--face); }
.map-sm { display: none; }
.map figcaption { margin-top: .75rem; font-size: .8125rem; color: var(--on-stage-body); text-align: right; }
.wires path { fill: none; stroke: rgb(255 255 255 / .16); stroke-width: 1.5; }
.pulses path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 100; opacity: 0; }
.anim .pulses path { opacity: 1; animation: run 3.6s linear infinite; animation-delay: var(--d); }
@keyframes run { to { stroke-dashoffset: 0; } }
.node rect { fill: var(--stage-2); }
.node-hub rect { fill: var(--stage-3); }
.node text, .note text { fill: var(--on-stage); font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; }
.map text.m-sub { fill: var(--on-stage-body); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.map text.m-head { fill: var(--on-stage-body); font-size: 12.5px; font-weight: 500; }
.phone > rect:first-child { fill: #06070a; stroke: rgb(255 255 255 / .22); stroke-width: 1.5; }
.p-ear { fill: var(--stage-3); }
.note rect { fill: var(--stage-3); }
/* The three messages land once, when the diagram comes into view, and then stay. */
.map svg.wait .note { opacity: 0; }
.map svg.seen .note { animation: arrive 640ms var(--ease) both; }
.map svg.seen .note:nth-of-type(2) { animation-delay: .35s; }
.map svg.seen .note:nth-of-type(3) { animation-delay: .7s; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } }

/* ---- Learn with me, and the questions: a head that stays, detail that scrolls ---- */
.learn, .faq { padding-block: var(--pad); }
.split { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: start; }
.split-head { position: sticky; top: 6.5rem; }
.split-head .price { margin-top: 1.75rem; }
.split-acts { margin-top: 1.25rem; }
.split-head .aside { margin-top: 1rem; }
.steps li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--line-2); }
.steps time { padding-top: .2rem; font-size: .875rem; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; }
.steps p { margin-top: .35rem; max-width: 50ch; color: var(--body); text-wrap: pretty; }
.kit { margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.kit ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: .875rem; font-size: .9375rem; color: var(--body); }
.kit li { padding-top: .75rem; border-top: 1px solid var(--line-2); text-wrap: pretty; }

/* ---- The community ---- */
.club { padding-block: 0 var(--pad); }
.head-act { display: grid; gap: .625rem; justify-items: start; margin-top: 1.75rem; font-size: .875rem; color: var(--mute); }
.club-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.club-grid h3 { padding-bottom: 1rem; text-wrap: balance; }
.starts ol { counter-reset: s; }
.starts li { counter-increment: s; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding: 1rem 0; border-top: 1px solid var(--line-2); font-size: 1.0625rem; line-height: 1.4; text-wrap: pretty; }
.starts li::before { content: counter(s); font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.rooms ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3vw, 2.5rem); }
.rooms li { display: grid; gap: .15rem; padding: 1rem 0; border-top: 1px solid var(--line-2); }
.rooms b { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.rooms span { font-size: .9063rem; color: var(--body); }
.stages-h { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 1.25rem; }
.stages li { position: relative; display: grid; gap: .2rem; align-content: start; padding: 1.25rem 1rem 0 0; border-top: 2px solid var(--ink); }
.stages li::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--ink); border-radius: 2px; }
.stages li:last-child::after { content: ""; position: absolute; top: -7px; right: 2px; width: 10px; height: 10px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); transform-origin: center; }
.stages b { font-size: 1rem; font-weight: 600; }
.stages span { font-size: .875rem; color: var(--body); text-wrap: pretty; }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.tool h3 { margin-top: 1.25rem; }
.tool > p { margin-top: .4rem; font-size: .9688rem; color: var(--body); text-wrap: pretty; }
.demo { display: flex; flex-direction: column; justify-content: flex-start; gap: .625rem; min-height: 16.5rem; padding: 1.75rem 1.5rem; background: var(--stage); color: var(--on-stage); border-radius: 16px; font-size: .875rem; line-height: 1.45; }
.msg { max-width: 92%; padding: .6rem .8rem; border-radius: 12px; background: var(--stage-3); }
.msg b { display: block; margin-bottom: .15rem; font-size: .75rem; font-weight: 500; color: var(--on-stage-body); }
.msg.bot { align-self: flex-end; background: var(--stage-2); }
.msg.bot b { color: var(--accent); }
.row { display: flex; align-items: center; gap: .625rem; padding: .5rem 0; border-bottom: 1px solid var(--line-stage); font-weight: 500; }
.row svg { width: 1rem; height: 1rem; color: var(--ok); }
.row i { width: .5rem; height: .5rem; margin: 0 .25rem; border-radius: 2px; background: var(--bad); }
.row-say { margin-top: .25rem; font-size: .8438rem; color: var(--on-stage-body); }
.gap-when { font-size: .8125rem; color: var(--on-stage-body); }
.gap-what { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; letter-spacing: -.015em; text-wrap: pretty; }
.gap-votes { display: flex; gap: .5rem; margin-top: .5rem; }
.gap-votes span { padding: .5rem .875rem; border-radius: 9px; background: var(--stage-3); font-size: .875rem; font-weight: 500; }
.club-aside { margin-top: clamp(2rem, 4vw, 3rem); max-width: 104ch; text-wrap: pretty; }

/* ---- For your business ---- */
.biz { padding-block: 0 var(--pad); }
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(2rem, 4vw, 3.5rem); border-block: 1px solid var(--line-2); }
.deal:first-child { padding-left: 0; }
.deal:nth-child(2) { padding-right: 0; }
.deal { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); }
.deal + .deal { border-left: 1px solid var(--line); }
.deal h3 { margin-top: 1rem; font-size: 1.5rem; letter-spacing: -.03em; }
.deal > p:not(.price) { margin-top: .5rem; max-width: 44ch; color: var(--body); text-wrap: pretty; }
.deal ul { align-self: stretch; margin: 1.5rem 0 1.75rem; }
.deal li { padding: .75rem 0; border-top: 1px solid var(--line); font-size: .9375rem; }
.deal li:last-child { border-bottom: 1px solid var(--line); }
.deal .btn { margin-top: auto; }
.path { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: p; border-top: 1px solid var(--line); }
.path li { counter-increment: p; display: grid; align-content: start; gap: .15rem; padding: 1.25rem clamp(1.5rem, 3vw, 2.5rem); font-size: .875rem; }
.path li:first-child { padding-left: 0; }
.path li + li { border-left: 1px solid var(--line); }
.path b { font-size: .9375rem; font-weight: 600; }
.path b::before { content: counter(p) "  "; white-space: pre; color: var(--mute); font-variant-numeric: tabular-nums; }
.path span { color: var(--body); }

/* ---- One line of Kay's ---- */
.said { padding-block: var(--pad) 0; }
.said blockquote { max-width: 19em; font-size: clamp(1.75rem, 1.05rem + 2.4vw, 2.875rem); font-weight: 600; letter-spacing: -.042em; line-height: 1.08; text-wrap: balance; }
.said .w { opacity: .2; transition: opacity 260ms linear; }
.said .w.on { opacity: 1; }
.said-by { margin-top: 1.5rem; font-size: .9375rem; color: var(--mute); }
.said-by a { color: var(--ink); text-underline-offset: .2em; }

/* ---- Questions ---- */
.faq { padding-top: 0; }
.faq .lede a { color: var(--ink); text-underline-offset: .2em; }
.qs details { border-top: 1px solid var(--line-2); }
.qs details:last-child { border-bottom: 1px solid var(--line-2); }
.qs summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.qs summary::-webkit-details-marker { display: none; }
/* A plus that turns into a minus: two bars, one of which lies down when the answer is open. */
.qs summary::after { content: ""; flex: none; width: .875rem; height: .875rem; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform 200ms var(--ease); }
.qs details[open] summary::after { background-size: 100% 2px, 2px 0; transform: rotate(180deg); }
.qs details p { max-width: 60ch; padding-bottom: 1.5rem; color: var(--body); text-wrap: pretty; }

/* ---- The call, and the foot ---- */
.call { background: var(--stage); color: var(--on-stage); padding-top: var(--pad); }
.call .lede { color: var(--on-stage-body); }
.call-in { display: grid; grid-template-columns: minmax(0, 1fr) 49.5rem; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.call h2 { max-width: 9.5em; font-size: clamp(1.875rem, 1.2rem + 1.6vw, 2.375rem); }
.call-alt { margin-top: 1.5rem; font-size: .9375rem; color: var(--on-stage-body); }
.call-alt a { color: var(--on-stage); text-underline-offset: .2em; }
.cal-sheet { background: #fff; color: var(--ink); border-radius: 18px; overflow: hidden; }
.hcal { position: relative; display: grid; min-height: 33.75rem; }
.hcal > * { grid-area: 1 / 1; min-width: 0; }
.hcal-cal { visibility: hidden; opacity: 0; }
.hcal[data-cal="ready"] .hcal-cal { visibility: visible; opacity: 1; transition: opacity 350ms var(--ease); }
.hcal[data-cal="failed"] .hcal-cal { display: none; }
.hcal-wait { display: none; align-content: start; gap: 10px; padding: 24px; }
.js .hcal:not([data-cal="ready"]):not([data-cal="failed"]) .hcal-wait { display: grid; }
.hcal-wait i { display: block; height: 40px; border-radius: 8px; background: var(--tint); }
.hcal-wait i:first-child { width: 40%; height: 22px; margin-bottom: 8px; }
.hcal-wait span { margin-top: 6px; font-size: .875rem; color: var(--mute); }
.hcal-off { display: grid; justify-items: start; align-content: center; gap: 1rem; padding: 2rem 24px; color: var(--body); }
.js .hcal-off { display: none; }
.js .hcal[data-cal="failed"] .hcal-off { display: grid; }

.foot { margin-top: clamp(3rem, 6vw, 5rem); padding-block: 2.5rem 3rem; border-top: 1px solid var(--line-stage); font-size: .875rem; color: var(--on-stage-body); }
.foot .logo { color: var(--on-stage); }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 1.5rem 0; font-weight: 500; color: var(--on-stage); }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.foot p { max-width: 76ch; }
.foot p + p { margin-top: .5rem; }

/* ---- The forms ---- */
.enq { width: min(33rem, calc(100vw - 2rem)); max-height: calc(100svh - 2rem); padding: clamp(1.5rem, 4vw, 2rem); border: 0; border-radius: 18px; background: var(--sheet); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--lift-2); }
.enq::backdrop { background: rgb(11 13 18 / .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.enq h2 { font-size: 1.75rem; }
.enq-say { margin-top: .5rem; color: var(--body); text-wrap: pretty; }
.enq-form { display: grid; gap: .875rem; }
.enq-form .enq-say { margin: -.35rem 0 .25rem; }
.enq-f { display: grid; gap: .375rem; font-size: .875rem; font-weight: 500; }
.enq-f[hidden], .enq-done[hidden], .enq-form[hidden] { display: none; }
.enq-f input, .enq-f textarea { font: 400 1rem/1.45 var(--face); color: var(--ink); background: var(--ground); border: 0; border-radius: 9px; padding: .65rem .75rem; width: 100%; box-shadow: inset 0 0 0 1px var(--line-2); }
.enq-f textarea { resize: vertical; min-height: 7rem; }
.enq-f input:focus-visible, .enq-f textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enq-small { font-size: .8125rem; color: var(--mute); }
.enq-note { font-size: .875rem; font-weight: 500; }
.enq-note:empty { display: none; }
.enq-acts { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: .25rem; }
.enq-done .enq-acts { margin-top: 1.25rem; }

/* ---- Noir (?t=noir): the same page after dark. Near-black ground, warm white type, the one orange kept for the main action.
   The screenshots keep their own colours, so they are what lights the page. ---- */
html[data-theme="noir"] {
  color-scheme: dark;
  --ground: #08090b; --sheet: #121419; --tint: #171a20;
  --ink: #f3f1ec; --body: #b4b9c2; --mute: #9197a1;
  --line: rgb(255 255 255 / .12); --line-2: rgb(255 255 255 / .22);
  --accent: #f4571d; --accent-up: #ff6a33; --accent-ink: #ff7d4d;
  --stage: #0e1014; --stage-2: #171a20; --stage-3: #21252d; --on-stage: #f3f1ec; --on-stage-body: #b4b9c2; --line-stage: rgb(255 255 255 / .09);
  --lift-1: 0 1px 2px rgb(0 0 0 / .4), 0 14px 32px -16px rgb(0 0 0 / .7);
  --lift-2: 0 2px 6px rgb(0 0 0 / .45), 0 36px 72px -28px rgb(0 0 0 / .85);
}
html[data-theme="noir"] h2 { font-size: clamp(2.125rem, 1.25rem + 2.8vw, 3.25rem); }
/* Two depths and no borders: the work and the Villa sit on a slightly lifted band that runs edge to edge. */
html[data-theme="noir"] .work { background: var(--stage); padding-block: var(--pad); margin-bottom: var(--pad); }
html[data-theme="noir"] .btn-ring { background: #171a21; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
html[data-theme="noir"] .btn-ring:hover { box-shadow: inset 0 0 0 1px #fff; }
html[data-theme="noir"] .top:not(.on) .btn-fill { background: #171a21; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
html[data-theme="noir"] .stage { background: var(--st-n, var(--tint)); }
html[data-theme="noir"] .stage img, html[data-theme="noir"] .prompt { box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 24px 48px -20px rgb(0 0 0 / .8); }
/* Light screenshots are dimmed a step, so they are bright on purpose and not by accident. */
html[data-theme="noir"] .stage:not(.stage-tall) img { filter: brightness(.86); }
html[data-theme="noir"] .shot-phone { box-shadow: 0 0 0 1px rgb(255 255 255 / .18), 0 36px 64px -24px rgb(0 0 0 / .9); }
html[data-theme="noir"] .demo { background: #14171d; }
html[data-theme="noir"] .pick-panel { background: #12151b; box-shadow: none; }
html[data-theme="noir"] .cinema-screen { box-shadow: 0 0 0 1px var(--line); }
html[data-theme="noir"] .cal-sheet { background: #1a1a1a; color: var(--ink); }
html[data-theme="noir"] .enq-f input:focus-visible, html[data-theme="noir"] .enq-f textarea:focus-visible { background: var(--tint); }

/* ---- The full map (map.html) ---- */
.map-top { padding-block: clamp(7.5rem, 14vh, 9.5rem) clamp(2rem, 5vw, 3.5rem); }
.map-top h1 { font-size: clamp(2.375rem, 1.3rem + 3vw, 3.75rem); letter-spacing: -.046em; line-height: 1.02; }
.map-part { padding-block: 0 var(--pad); }
.map-part .head-split { padding-top: 2rem; border-top: 1px solid var(--line-2); }
.rows { margin-top: 2rem; }
.rows li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .25rem 2rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows b { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.rows span { color: var(--body); text-wrap: pretty; }
.rows-3 li { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) minmax(0, 1.15fr); }
.rows-head { font-size: .8125rem; font-weight: 500; color: var(--mute); }
.rows-head span { color: inherit; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 6vw, 5rem); margin-top: 2rem; }
.groups h3 { padding-bottom: .875rem; }
.groups li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); padding: .8rem 0; border-top: 1px solid var(--line); font-size: 1.0313rem; }
.groups li i { font-style: normal; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.map-sub { margin-top: 2.5rem; font-size: 1.25rem; }
.map-end { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.75rem; font-weight: 500; }
.jump a { text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--line-2); }
.jump a:hover { text-decoration-color: currentColor; }

/* ---- Narrower screens ---- */
@media (max-width: 1240px) {
  .call-in { grid-template-columns: minmax(0, 1fr); }
  .call h2 { max-width: 16em; }
  .cal-sheet { max-width: 49.5rem; }
}
@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 0; min-height: 0; padding-block: 6.5rem 3rem; }
  .hero h1 { max-width: 13em; }
  /* The work comes straight after the buttons, ahead of the figures, so a phone's first screen shows something real. */
  .hero-words { display: contents; }
  .hm { order: 1; width: 100%; max-width: 40rem; margin-top: 3rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .build-fact { grid-column: 2; justify-self: start; text-align: left; }
  .build-fact span { margin-left: 0; }
  .case-sm { grid-column: span 6; }
  .rows-3 li { grid-template-columns: minmax(0, 6rem) minmax(0, 1fr); }
  .rows-3 li span:last-child { grid-column: 2; }
  .rows-head span:last-child { display: none; }
  .hero[data-h="3"], .hero[data-h="4"] { padding-block: 6.5rem 3rem; }
  .hero[data-h="3"] .hm, .book { max-width: none; }
  .figs { order: 2; }
  .figs-note { order: 3; }
  .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .axis { display: none; }
  .rung:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .rung:nth-child(4) { border-left: 0; padding-left: 0; }
  .rung:nth-child(3) { padding-right: 0; }
  .villa-in { grid-template-columns: minmax(0, 1fr); }
  .villa-words { max-width: 36rem; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .split-head { position: static; }
  .cinema { grid-template-columns: minmax(0, 1fr); }
  .cinema-words > p:not(.small-print):not(.cinema-acts) { min-height: 0; }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.5rem; align-items: center; }
  .tool .demo { grid-row: 1 / span 2; }
  .tool h3 { margin-top: 0; align-self: end; }
  .tool > p { align-self: start; }
}
@media (max-width: 820px) {
  .top-links { display: none; }
  .top { gap: .75rem; }
  .logo { flex: none; }
  html[data-h="6"] .top:not(.on) .logo { margin-right: -.75rem; }
  /* The opening already has this button, so the bar's copy waits until the page has moved. */
  .top .btn { margin-left: auto; opacity: 0; visibility: hidden; transition: opacity 200ms, visibility 0s 200ms; }
  .top.on .btn { opacity: 1; visibility: visible; transition: opacity 200ms; }
  .menu { display: block; margin-left: .5rem; }
  /* On a small screen the centred openings read from the left, and the three screens stop overlapping. */
  .hero[data-h="3"], .hero[data-h="4"] { justify-items: start; text-align: left; }
  .hero[data-h="3"] .hero-acts, .hero[data-h="3"] .figs, .hero[data-h="4"] .figs { justify-content: flex-start; }
  .hero[data-h="3"] .hero-acts { justify-self: stretch; }
  .fan-set { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
  .fan-set .shot { position: static; width: auto; }
  .fan-c { grid-column: 1 / -1; order: -1; }
  .piece-lg, .piece-md, .piece-sm, .case, .case-sm { grid-column: 1 / -1; }
  .ask { grid-template-columns: minmax(0, 1fr); padding: 1.75rem 0; }
  .pick { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .pick-panel { position: static; max-width: none; margin: .5rem 0 1rem; }
  .pick-list button { padding-block: .5rem; }
  .build-say { padding-top: 0; }
  .sift { font-size: 1rem; gap: .2rem 1.25rem; }
  .sift span { flex-basis: 100%; }
  .lanes { grid-template-columns: minmax(0, 1fr); }
  .lane-col { padding-inline: 0; }
  .lane-col + .lane-col { border-left: 0; border-top: 1px solid var(--line-2); }
  .build { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .build-fact { grid-column: auto; display: flex; align-items: baseline; gap: .6rem; }
  .build-fact b { flex: none; font-size: 1.5rem; }
  .build-fact span { flex: 1; margin-top: 0; max-width: none; text-wrap: pretty; }
  .groups { grid-template-columns: minmax(0, 1fr); }
  .rows li, .rows-3 li { grid-template-columns: minmax(0, 1fr); }
  .rows-3 li span:last-child { grid-column: auto; }
  .rows-3 .rows-head { display: none; }
  .rows-3 li span:last-child::before { content: "In the web app room: "; color: var(--mute); }
  .map-lg { display: none; }
  .map-sm { display: block; max-width: 24rem; margin-inline: auto; }
  .map figcaption { text-align: center; }
  .club-grid { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .stages li { grid-template-columns: 5rem minmax(0, 1fr); gap: 1rem; padding: .875rem 0 .875rem 1.5rem; border-top: 0; border-left: 2px solid var(--ink); }
  .stages li::before { top: 1.1rem; left: -6px; }
  .stages li:last-child::after { display: none; }
  .deals { grid-template-columns: minmax(0, 1fr); }
  .deal + .deal { border-left: 0; border-top: 1px solid var(--line); }
  .deal { padding-inline: 0; }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path li:nth-child(3) { border-left: 0; padding-left: 0; }
  .path li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .kit ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kit li { padding: .75rem 0; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .tool { grid-template-columns: minmax(0, 1fr); }
  .tool .demo { grid-row: auto; }
  .tool h3 { margin-top: 1.25rem; }
}
@media (max-width: 560px) {
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .rung + .rung { border-left: 0; border-top: 1px solid var(--line); }
  .rung { padding-inline: 0; }
  .rung li { min-height: 0; }
  .figs dt { white-space: normal; }
  .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figs div { padding-inline: .875rem; }
  .figs dd { font-size: 1.375rem; }
  .rooms ul { grid-template-columns: minmax(0, 1fr); }
  .also { grid-template-columns: minmax(0, 1fr); }
  .hero-acts { flex-wrap: nowrap; }
  .hero-acts .btn { flex: 1 1 0; padding-inline: .5rem; }
  .path { grid-template-columns: minmax(0, 1fr); }
  .path li + li { border-left: 0; border-top: 1px solid var(--line); }
  .path li { padding-inline: 0; }
  .pair-phone { top: 2.5rem; }
  .flick-cap { align-items: start; }
  .flick-say b { display: block; }
  .hero[data-h="3"] .figs, .hero[data-h="4"] .figs { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; margin-top: 1.75rem; }
  .hero[data-h="3"] .figs div, .hero[data-h="4"] .figs div { padding: 0; border: 0; }
  .hero[data-h="6"] { padding-top: 5.25rem; }
  .hero[data-h="6"] .hero-acts { align-self: stretch; justify-self: stretch; }
  .ask a { grid-template-columns: 5.25rem minmax(0, 1fr) auto; gap: .75rem; font-size: 1rem; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .belt-row { font-size: .875rem; gap: .5rem 1.25rem; }
  .belt-row.run li { padding-right: 2rem; }
  .rv { font-size: .75rem; padding-left: .625rem; }
  .rv a { padding: .35rem .5rem; }
  .stack { aspect-ratio: auto; padding-bottom: 96%; height: 0; }
  .stack-note { position: absolute; top: calc(100% + .75rem); bottom: auto; width: auto; }
  .figs { margin-top: 2.5rem; }
  .hero[data-h="0"] .figs { margin-top: 4.75rem; }
  .win-bar { height: 1.625rem; padding-inline: .5rem; font-size: .75rem; line-height: 1.625rem; }
  .hcal { min-height: 30rem; }
}

@media (max-width: 360px) {
  /* No room for the bar's button beside the logo and the menu; the menu has the same link. */
  .top .btn { display: none; }
  .menu { margin-left: auto; }
  .hero-acts { flex-wrap: wrap; }
  .hero-acts .btn { flex: 1 1 100%; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .figs div:nth-child(3) { padding-left: 0; border-left: 0; }
  .figs dt { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pic, .win-in, .said .w, .flick-s, .flick-s.on { transition: none; }
  .win, .drift { transform: none; }
  .said .w { opacity: 1; }
}

/* about.html: a written introduction, then three offers. */
.about { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.about h2 { max-width: 46rem; }
.about-lead { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); text-wrap: pretty; }
.about-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 40rem); gap: 1rem 4rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.about-row h3 { font-size: 1.0625rem; position: sticky; top: 5.5rem; align-self: start; }
.about-text p { font-size: 1.125rem; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.about-text p + p { margin-top: 1rem; }
.about-text b { color: var(--ink); font-weight: 600; }
.about-text .about-small { font-size: .875rem; color: var(--mute); }
.offers { padding-block: 0 var(--pad); }
.offer-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.offer { display: flex; flex-direction: column; padding: 2rem 1.75rem 1.75rem; border-radius: 16px; background: var(--sheet); box-shadow: 0 1px 2px rgb(11 13 18 / .04), 0 12px 32px -12px rgb(11 13 18 / .12); }
.offer-price { margin-top: 1rem; font-size: 1rem; color: var(--mute); }
.offer-price b { font-size: 2.5rem; font-weight: 700; letter-spacing: -.035em; color: var(--ink); margin-right: .25rem; }
.offer-say { margin-top: 1rem; line-height: 1.55; color: var(--body); }
.offer ul { margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.offer li { padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--ink); }
.offer-act { margin-top: auto; }
.offer-act .btn { width: 100%; }
html[data-theme="noir"] .offer { box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) {
  .offer-set { grid-template-columns: minmax(0, 1fr); max-width: 32rem; }
  .about-row { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .about-row h3 { position: static; }
}
.about-sign { display: none; }
/* about.html ?v=2, a letter: one centred column, then the offers as full-width rows. */
html[data-v="2"] .about .wrap { max-width: 42rem; }
html[data-v="2"] .about-lead { max-width: none; }
html[data-v="2"] .about-row { grid-template-columns: minmax(0, 1fr); gap: .75rem; border-top: 0; padding-top: 0; margin-top: 2.75rem; }
html[data-v="2"] .about-row h3 { position: static; font-size: 1.25rem; }
html[data-v="2"] .about-sign { display: block; margin-top: 3rem; color: var(--ink); }
html[data-v="2"] .about-sign svg { width: 7.5rem; height: 2.2rem; }
html[data-v="2"] .offer-set { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
html[data-v="2"] .offer { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 13rem; grid-template-rows: auto auto 1fr; column-gap: 3rem; align-items: start; padding: 2rem; }
html[data-v="2"] .offer h3 { grid-column: 1; grid-row: 1; }
html[data-v="2"] .offer-price { grid-column: 1; grid-row: 2; }
html[data-v="2"] .offer-say { grid-column: 2; grid-row: 1; margin-top: 0; }
html[data-v="2"] .offer ul { grid-column: 2; grid-row: 2 / 4; margin: 1rem 0 0; }
html[data-v="2"] .offer-act { grid-column: 3; grid-row: 1; margin-top: 0; }
/* about.html ?v=3, a dark band: the four parts in a grid, then the offers with mentoring raised. */
html[data-v="3"] .about { background: var(--stage); color: var(--on-stage); padding-top: var(--pad); margin-bottom: var(--pad); }
html[data-v="3"] .about .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; }
html[data-v="3"] .about h2, html[data-v="3"] .about-lead { grid-column: 1 / -1; color: var(--on-stage); }
html[data-v="3"] .about-lead { max-width: 44ch; margin-bottom: 1rem; }
html[data-v="3"] .about-row { grid-template-columns: minmax(0, 1fr); gap: .75rem; border-top-color: var(--line-stage); }
html[data-v="3"] .about-row h3 { position: static; color: var(--accent); }
html[data-v="3"] .about-text p { color: var(--on-stage-body); font-size: 1.0625rem; }
html[data-v="3"] .about-text b { color: var(--on-stage); }
html[data-v="3"] .offer-set { align-items: center; }
html[data-v="3"] .offer:nth-child(2) { background: var(--stage); color: var(--on-stage); padding-block: 2.75rem 2.5rem; box-shadow: 0 24px 48px -16px rgb(11 13 18 / .35); }
html[data-v="3"] .offer:nth-child(2) :is(h3, .offer-price b, li) { color: var(--on-stage); }
html[data-v="3"] .offer:nth-child(2) :is(.offer-say, .offer-price) { color: var(--on-stage-body); }
html[data-v="3"] .offer:nth-child(2) :is(ul, li) { border-color: var(--line-stage); }
html[data-v="3"] .offer:nth-child(2) .btn-ring { background: var(--accent); color: var(--on-accent); box-shadow: none; }
html[data-theme="noir"][data-v="3"] .about { background: var(--sheet); }
html[data-theme="noir"][data-v="3"] .offer:nth-child(2) { background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
@media (max-width: 900px) {
  html[data-v="2"] .offer { grid-template-columns: minmax(0, 1fr); padding: 1.75rem; }
  html[data-v="2"] .offer > * { grid-column: 1 !important; grid-row: auto !important; }
  html[data-v="2"] .offer-say { margin-top: 1rem; }
  html[data-v="2"] .offer-act { margin-top: 1.5rem; }
  html[data-v="3"] .about .wrap { grid-template-columns: minmax(0, 1fr); }
}
html[data-v="3"] .about-row { align-content: start; }
html[data-v="3"] .about-text .about-small { font-size: .875rem; color: var(--on-stage-body); opacity: .8; }
html[data-v="3"] .offer-set { align-items: stretch; padding-block: 1rem; }
html[data-v="3"] .offer:nth-child(2) { margin-block: -1rem; }
@media (max-width: 900px) { html[data-v="3"] .offer:nth-child(2) { margin-block: 0; } }
/* about.html: Kay wants every line below the hero in full ink, not grey (14 Nov). The dark call band follows with full white. */
html[data-v] :is(.about, .free, .offers, .cal-sheet) { --body: var(--ink); --mute: var(--ink); }
html[data-v] .call { --on-stage-body: var(--on-stage); }
/* With the footer all in full white, size keeps the legal lines below the links. */
html[data-v] .foot p { font-size: .8125rem; }

/* about.html: the hero's two buttons move into the bar once they scroll under it, and back again (motion in ember.js). */
.top-cta { display: flex; gap: .5rem; margin-left: auto; visibility: hidden; opacity: 0; transform-origin: 50% 50%; }
.top.cta .top-cta { visibility: visible; opacity: 1; }
@media (max-width: 520px) { .top-cta .btn-ring { display: none; } }
/* The 360px rule hides .top .btn because index.html's menu repeats it; about.html has no menu, so keep its one button. */
@media (max-width: 360px) { .top-cta .btn-fill { display: inline-flex; } }
/* The clear bar turns its fill button white; the flying copy keeps its orange while it fades out on the way to the top. */
html[data-v] .top:not(.on) .top-cta .btn-fill { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / .28), 0 1px 2px rgb(11 13 18 / .16); }
.offer-price .offer-ask { font-size: 1.5rem; line-height: 3.75rem; letter-spacing: -.02em; }
/* about.html ?c=0..3: which written introduction shows (review only). */
.copy { display: none; }
html[data-c="0"] .copy[data-c="0"], html[data-c="1"] .copy[data-c="1"], html[data-c="2"] .copy[data-c="2"], html[data-c="3"] .copy[data-c="3"], html[data-c="4"] .copy[data-c="4"] { display: block; }
/* start.html: the free start kit's page. Reuses the about layout; adds the paste box. */
.start-h { font-size: clamp(2.25rem, 1.3rem + 3vw, 3.5rem); max-width: 14em; }
.start-h3 { font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.3; position: sticky; top: 5.5rem; align-self: start; }
.start .about-text a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.top-join { margin-left: auto; }
.paste { margin-top: 2rem; max-width: 46rem; }
.paste-label { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.paste-box { display: flex; align-items: center; gap: 1rem; margin-top: .75rem; padding: 1rem 1rem 1rem 1.25rem; border-radius: 12px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--line); }
.paste-box code { flex: 1; min-width: 0; font-family: "Geist Mono", ui-monospace, monospace; font-size: .9375rem; line-height: 1.5; color: var(--ink); overflow-wrap: break-word; }
@media (max-width: 520px) { .paste-box { flex-direction: column; align-items: stretch; gap: .75rem; } .paste-box code { font-size: .8125rem; } .paste-box .btn { width: 100%; } }
.paste-note { margin-top: .75rem; font-size: .9375rem; color: var(--ink); }
.start-act { margin-top: 1.5rem; }
@media (max-width: 820px) { .start-h3 { position: static; } }
.about.start { padding-top: calc(68px + clamp(2.5rem, 6vw, 4.5rem)); }
/* about.html: mentoring's "or" for people already building. */
.offer-or { margin: -.75rem 0 1.75rem; }
.offer-or-h { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.offer-or p + p { margin-top: .375rem; font-size: .9375rem; line-height: 1.55; color: var(--ink); }
html[data-v="3"] .offer:nth-child(2) .offer-or :is(p) { color: var(--on-stage); }
/* about.html: the hero note's links, and "Start free" above the paid offers. */
.hero-note a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.free { padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.free-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.free-set .offer-act { margin-top: auto; padding-top: 1.5rem; }
@media (max-width: 900px) { .free-set { grid-template-columns: minmax(0, 1fr); max-width: 32rem; } }
/* "Start free": a picture of the lessons' own first screen, which lifts a little on hover. */
.free-shot { display: block; margin: -.75rem -.75rem 1.5rem; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 8px 24px -12px rgb(11 13 18 / .25); transition: transform .3s cubic-bezier(.2, .7, .1, 1), box-shadow .3s; }
.free-shot img { display: block; width: 100%; height: auto; }
.free-shot:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 14px 32px -12px rgb(11 13 18 / .3); }
@media (prefers-reduced-motion: reduce) { .free-shot, .free-shot:hover { transition: none; transform: none; } }
/* "Start free": the start kit's first minute, drawn as a terminal. */
.free-term { aspect-ratio: 800 / 422; display: flex; flex-direction: column; gap: .5rem; padding: 0 1rem 1rem; background: #0b0d12; color: #c9ced8; font-family: "Geist Mono", ui-monospace, monospace; font-size: .75rem; line-height: 1.5; text-decoration: none; }
.free-term .ft-bar { margin: 0 -1rem .25rem; padding: .5rem 1rem; border-bottom: 1px solid rgb(255 255 255 / .08); color: #7d8494; font-size: .6875rem; }
.free-term .ft-you { color: #f2f4f7; }
.free-term .ft-ai { color: #aeb4c0; padding-left: .875rem; border-left: 2px solid var(--accent); }
@media (max-width: 400px) { .free-term { aspect-ratio: auto; } }
