/* Hallmark · shape: Cracked name, a decrypting statement, the check, then a blueprint of cells on two rails: the session console, the stack, the services index, the pricing table, the lessons query, the profile, the booking · genre: modern-minimal · theme: custom · redesign: full · job: book · idea: "The name cracks along a plotted data line; a glossy 3D code glyph follows you down to the booking form, and below the fold the page runs on hairline rails like a spec sheet" · vibe: "night, engineered, decoded type, graphite and safety orange"
 * paper: oklch(16.5% 0.007 258) · accent: oklch(71% 0.19 47) · display: Satoshi · body: Satoshi · outlier: JetBrains Mono, figures, timecodes, prices and code only · hero: the name at poster scale, cracked along an orange data line with plotted points, the code glyph top right, the line and two actions bottom left · nav: wordmark, role, five links and a square booking button, hides on the way down · footer: four cells on the rails, the name then channel, contact and this page, the legal line under a rule · imagery: the seven real interview stills and AJ's own photo · signature: the cracked name and the 3D code glyph
 * axes: dark/grotesk-heavy/chromatic-orange · posture: Restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R3 V5 · weakest: R, the motion runs past craft's one-reveal default because the owner asked for scroll motion and WebGL by name; it stays on structure, figures and display type and never moves body copy */
/* Hallmark · dismissed 42 · the nav is decided, not default: a role line and a square booking button sit in it, and it hides on the way down */
/* Hallmark · answered F4 · orange is the one primary; the light buttons are the nav's booking link, the copy-code control and the form's submit */
/* Hallmark · dropped abh, abt, b2b, bd, bl, brand-assets, calbox, ce, cp, cr, edd, edr, edx, em, em2, f, fb, fh, fm, fpb, fq, ft, gs, hp, hs, ht, lp, mb, md, mf, mn, mp, mx, ok, pg, qb, qp, qt, rc, rg, rt, sb, sfc, site-data, sp, sr, ss, st, sv, tb, thm, tm, tp, tr, vf, vl, wl, wr · they were hooks of the old render script, which this redesign replaces; the content they filled is static HTML now */
/* Hallmark · dropped '+E(h)+' · a fragment of the old render script's template string, never a link a visitor could follow */
/* Hallmark · dismissed 59 · a redesign keeps the owner's sections; reviews and placements stay hidden until real ones arrive, so twelve are built and ten show */
/* Hallmark · dismissed 25 · the quiz line is one question set at display size, read as a head, never as running prose */
/* Hallmark · waive 59 · the lower page is one blueprint on two rails · each section opens on the shared rule with a cross at both rails, so the cells meet edge to edge and that rule is the break between sections */
/* Hallmark · waive 39b · button.screen is the interview screen · the whole sixteen by nine still plays the selected interview, so its height follows the screen and not a button's */
/* Hallmark · answered F19 · the extra weights are the decode states and the mono figures; running text uses 500 and 700 */
/* Hallmark · answered F8 · the owner asked for scroll motion by name: the pinned session console, the decrypting statement and the pipeline are three scroll patterns, each on structure */
@import url("./tokens.css?v=5");
@import url("./base.css?v=5");

/* =========================================================
   Base
   ========================================================= */
html { scroll-padding-top: var(--hdr); }
html.lenis, html.lenis body { height: auto; }
body {
  font-size: var(--text-md); font-weight: 450; line-height: 1.5; letter-spacing: -0.008em;
  font-synthesis: none; font-optical-sizing: auto; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; letter-spacing: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
sup { font-size: 0.62em; vertical-align: super; line-height: 0; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: var(--gutter); top: var(--space-sm); z-index: var(--z-tooltip);
  padding: var(--space-sm) var(--space-md); background: var(--color-ink); color: var(--color-paper); font-weight: 700; text-decoration: none;
  transform: translateY(-160%); transition: transform var(--dur-short) var(--ease-out);
}
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }

/* The shared WebGL canvas, fixed behind the page */
.gl-canvas { position: fixed; inset: 0 0 auto; z-index: 0; width: 100%; height: 100lvh; pointer-events: none; opacity: 0; transition: opacity var(--dur-slow) linear; }
.gl-canvas.is-on { opacity: 1; }
main, .ftr, .strip, .hdr { position: relative; z-index: var(--z-base); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm);
  min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-btn); border: 1.5px solid transparent;
  font-size: 1.0625rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-long) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--acc { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--acc:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--ink { background: var(--color-ink); color: var(--color-paper); }
.btn--ink:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--ghost { border-color: var(--color-ink); color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-ink); color: var(--color-paper); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn--sq { width: 48px; padding: 0; }
.btn--lg { min-height: 52px; padding: 0 var(--space-xl); font-size: 1.1875rem; }
.btn--sm { min-height: 44px; padding: 0 var(--space-md); font-size: 0.9375rem; }
.btn__tri {
  flex: none; width: 11px; height: 14px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform var(--dur-long) var(--ease-out);
}
.btn:hover .btn__tri { transform: translateX(3px); }
.chev { width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; }
.chev--up { transform: translateY(2px) rotate(-45deg); }
.chev--down { transform: translateY(-2px) rotate(135deg); }

/* =========================================================
   Strip, header, menu
   ========================================================= */
.strip {
  display: block; min-height: var(--strip); padding: var(--space-xs) var(--gutter); line-height: 1.4;
  background: var(--color-paper-2); color: var(--color-muted); border-bottom: 1px solid var(--color-rule); font-size: var(--text-sm); font-weight: 500; text-align: center;
}
.strip b { font-weight: 800; color: var(--color-accent); }
.hdr {
  position: sticky; top: 0; z-index: var(--z-sticky-nav);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center;
  height: var(--hdr); padding-block: 0; padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  transition: transform var(--dur-slow) var(--ease-out);
}
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--color-paper); opacity: 0; transition: opacity var(--dur-short) linear; box-shadow: 0 1px 0 var(--color-rule); }
.hdr.is-solid::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__name {
  grid-column: 1 / span 3; justify-self: start; display: inline-flex; align-items: center; min-height: 44px;
  font-size: 1.25rem; font-weight: 900; letter-spacing: -0.05em; text-decoration: none; white-space: nowrap;
}
.hdr__role { grid-column: 4 / span 3; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); white-space: nowrap; }
.hdr__nav { grid-column: 7 / -1; display: flex; justify-content: flex-end; align-items: center; gap: var(--space-lg); }
.hdr__nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1.5px no-repeat;
  transition: background-size var(--dur-long) var(--ease-out);
}
.hdr__nav a:hover, .hdr__nav a[aria-current="true"] { background-size: 100% 1.5px; }
.hdr__nav .hdr__cta { padding: 0 var(--space-md); border-radius: var(--radius-btn); background: var(--color-ink); color: var(--color-paper); transition: background-color var(--dur-short) var(--ease-out); }
.hdr__nav .hdr__cta:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.hdr__menu {
  display: none; grid-column: 9 / -1; justify-self: end;
  min-height: 44px; min-width: 44px; padding: 0 var(--space-md); border-radius: var(--radius-btn);
  background: var(--color-ink); color: var(--color-paper); font-size: 0.9375rem; font-weight: 700;
}
.hdr__menu:active { transform: scale(0.97); }
.menu {
  position: fixed; inset: 0; z-index: var(--z-sticky);
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-lg);
  padding: calc(var(--hdr) + var(--space-lg)) var(--gutter) max(var(--space-lg), env(safe-area-inset-bottom));
  background: var(--color-paper);
}
.menu nav { display: grid; border-top: 1px solid var(--color-ink); }
.menu nav a {
  padding: var(--space-xs) 0; border-bottom: 1px solid var(--color-rule);
  font-size: clamp(2.5rem, 11vw, 5rem); font-weight: 900; line-height: 1; letter-spacing: -0.055em; text-decoration: none;
}
.menu nav a:hover { color: var(--color-accent); }
.menu__mail { font-size: 1.125rem; font-weight: 700; }

/* =========================================================
   Section heads: a rule that draws, a giant title, a note
   ========================================================= */
.sec { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.sec::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px;
  background: currentColor; transform-origin: 0 50%; transform: scaleX(var(--rule, 1));
}
.sec__t {
  grid-column: 1 / span 9; padding-top: var(--space-sm);
  font-size: var(--text-section); font-weight: 900; line-height: 0.86; letter-spacing: -0.058em;
}
.sec__d { grid-column: 10 / span 3; padding-top: var(--space-md); font-size: 0.9375rem; line-height: 1.45; font-weight: 500; max-width: 32ch; }

/* =========================================================
   HERO: the name cracks
   One unit (--u) drives the composition so "Crack", the tick and "with AJ"
   keep their overlaps at any size; it holds at 1440 so 1920 only grows the gutters.
   ========================================================= */
.hero {
  --u: min(1vw, 1.6svh, 14.4px);
  --f: calc(25 * var(--u));
  --f2: calc(14.6 * var(--u));
  position: relative; max-width: var(--container); margin-inline: auto;
  height: calc(100svh - var(--hdr) - var(--strip)); min-height: 600px;
  overflow: clip;
}
.js.pre [data-hero-back], .js.pre [data-hero-front], .js.pre [data-hero-meta] { visibility: hidden; }
.hero__h { position: static; font-size: inherit; text-wrap: initial; }
.hero__word { position: absolute; margin: 0; font-weight: 900; line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; pointer-events: none; overflow-wrap: normal; min-width: 0; }
.hero__word--back { z-index: 1; left: calc(var(--gutter) - 0.045em); top: var(--space-lg); font-size: var(--f); transform-origin: 0 0; }
.hero__word--front { z-index: 3; right: calc(var(--gutter) - 0.02em); bottom: calc(2.4 * var(--u)); font-size: var(--f2); transform-origin: 100% 100%; }
.hero__ink { display: inline-block; }

.crack { position: relative; display: inline-block; }
.crack__p { display: block; }
.crack__p--a { position: relative; z-index: 2; clip-path: polygon(-5% -40%, 105% -40%, 105% 53%, 83% 47%, 70% 55%, 58% 44%, 47% 57%, 35% 49%, 22% 61%, 14% 52%, -5% 58%); }
.crack__p--b {
  position: absolute; inset: 0; z-index: 2;
  clip-path: polygon(-5% 58%, 14% 52%, 22% 61%, 35% 49%, 47% 57%, 58% 44%, 70% 55%, 83% 47%, 105% 53%, 105% 140%, -5% 140%);
  transform: translate(0.014em, 0.026em) rotate(0.6deg); transform-origin: 0 50%;
}
.crack__line {
  position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--color-accent); stroke-width: 4; stroke-linejoin: miter; transform-origin: 0 50%;
}

.hero__tick { position: absolute; z-index: 0; width: calc(26 * var(--u)); aspect-ratio: 1; right: calc(var(--gutter) + 1 * var(--u)); top: calc(3 * var(--u)); }
.hero__meta {
  position: absolute; z-index: 4; left: var(--gutter);
  top: calc(var(--space-lg) + var(--f) * 0.9); width: calc(37 * var(--u)); min-width: 280px;
}
.hero__role { font-size: clamp(1.25rem, calc(2 * var(--u)), 1.875rem); font-weight: 850; letter-spacing: -0.04em; line-height: 1.05; }
.hero__lede { margin-top: var(--space-sm); font-size: clamp(1rem, calc(1.25 * var(--u)), 1.1875rem); line-height: 1.45; font-weight: 500; max-width: 32ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }

/* =========================================================
   STATEMENT + COUNTS
   ========================================================= */
.intro { padding-top: var(--space-5xl); }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: start; }
.statement {
  grid-column: 1 / span 11;
  font-size: var(--text-statement); font-weight: 900; line-height: 0.9; letter-spacing: -0.055em;
}
.intro__text { grid-column: 1 / span 6; grid-row: 2; margin-top: var(--space-3xl); }
.intro__tick { grid-column: 9 / span 4; grid-row: 2; width: 100%; aspect-ratio: 1; margin-top: var(--space-xl); }
.intro__lead { font-size: var(--text-lead); font-weight: 650; line-height: 1.14; letter-spacing: -0.032em; max-width: 26ch; }
.ticks { display: grid; gap: var(--space-xs); margin-top: var(--space-xl); font-size: var(--text-md); font-weight: 600; }
.ticks li { display: flex; align-items: baseline; gap: var(--space-sm); padding-top: var(--space-xs); border-top: 1px solid var(--color-rule); }
.ticks li::before { content: ""; flex: none; width: 0.5em; height: 0.5em; background: var(--color-accent); }

.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap-columns); margin-top: var(--space-4xl); }
.counts li { padding-top: var(--space-md); border-top: 1px solid var(--color-ink); }
.counts__v { display: flex; align-items: flex-start; font-size: var(--text-count); font-weight: 900; line-height: 0.86; letter-spacing: -0.07em; font-variant-numeric: tabular-nums; }
.counts__l { margin-top: var(--space-sm); font-size: 0.9375rem; font-weight: 600; }
.odo { display: inline-flex; align-items: flex-start; height: 0.86em; clip-path: inset(0 -0.3em); }
.odo__col { display: flex; flex-direction: column; }
.odo__col span { display: block; height: 0.86em; line-height: 0.86; }

/* =========================================================
   READINESS CHECK
   ========================================================= */
.check { padding-top: var(--space-5xl); }
.quiz { margin-top: var(--space-2xl); }
.quiz__list { counter-reset: q; display: grid; gap: var(--space-sm); max-width: 62ch; }
.quiz__list li { counter-increment: q; display: grid; grid-template-columns: 2.4em 1fr; padding-top: var(--space-sm); border-top: 1px solid var(--color-rule); font-size: var(--text-lg); font-weight: 650; letter-spacing: -0.02em; }
.quiz__list li::before { content: counter(q, decimal-leading-zero); font-size: var(--text-sm); font-weight: 700; padding-top: var(--space-2xs); }
.has-quiz .quiz__list { display: none; }
.quiz__stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: start; align-content: start; min-height: 440px; }
.quiz__count { grid-column: 1 / span 3; font-size: var(--text-count); font-weight: 900; line-height: 0.82; letter-spacing: -0.07em; font-variant-numeric: tabular-nums; }
.quiz__count small { display: block; margin-top: var(--space-sm); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0; }
.quiz__q { grid-column: 4 / -1; }
.quiz__text { font-size: var(--text-display-s); font-weight: 850; line-height: 1.02; letter-spacing: -0.045em; max-width: 30ch; }
.quiz__ans { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-xl); }
.quiz__ans button {
  display: inline-flex; align-items: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-btn);
  border: 1.5px solid var(--color-ink); font-size: 1.125rem; font-weight: 700; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.quiz__ans button:hover { background: var(--color-ink); color: var(--color-paper); }
.quiz__ans button:active { transform: scale(0.97); }
.quiz__bar { grid-column: 1 / -1; position: relative; height: 1px; background: var(--color-rule); }
.quiz__bar i { position: absolute; inset: -1px 0; background: var(--color-ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform var(--dur-long) var(--ease-out); }
.quiz__note { grid-column: 4 / -1; font-size: var(--text-sm); color: var(--color-muted); font-weight: 500; }
.res__score { grid-column: 1 / span 5; font-size: clamp(6rem, 17vw, 15rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.075em; font-variant-numeric: tabular-nums; display: flex; align-items: flex-start; }
.res__score i { font-size: 0.4em; line-height: 1; color: var(--color-accent); letter-spacing: 0; margin-left: 0.04em; }
.res__side { grid-column: 6 / -1; }
.res__lv { font-size: var(--text-display-s); font-weight: 850; line-height: 1.02; letter-spacing: -0.045em; }
.res__weak { margin-top: var(--space-sm); font-size: var(--text-lg); font-weight: 600; }
.res__rows { margin-top: var(--space-xl); border-top: 1px solid var(--color-ink); }
.res__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2xs) var(--space-md); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); font-weight: 600; }
.res__row b { font-weight: 800; }
.res__row b.is-gap { padding: 0 var(--space-2xs); background: var(--color-accent); color: var(--color-accent-ink); }
.res__track { grid-column: 1 / -1; height: 4px; background: var(--color-paper-3); }
.res__track i { display: block; height: 100%; background: var(--color-ink); transform-origin: 0 50%; transform: scaleX(var(--w, 0)); }
.res__tip { margin-top: var(--space-lg); font-size: var(--text-lg); font-weight: 600; line-height: 1.35; max-width: 46ch; }
.res__tip b { font-weight: 850; }
.res__act { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); align-items: center; }
.res__again { min-height: 44px; padding: 0 var(--space-xs); font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }

/* =========================================================
   THE LOWER PAGE: a blueprint of hairlines.
   Two rails run down the container's edges, every section opens on a full-width rule
   with a cross at each end, and the content sits in cells that share their borders.
   ========================================================= */
.films, .stack, .services, .programs, .lessons, .wins, .reviews, .about, .book, .faq, .ftr {
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  --pad: var(--space-xl);
  position: relative;
}
.films::before, .stack::before, .services::before, .programs::before, .lessons::before, .wins::before, .reviews::before, .about::before, .book::before, .faq::before, .ftr::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--edge); right: var(--edge); pointer-events: none;
  border: solid var(--color-rule); border-width: 1px 1px 0;
}
.films::after, .stack::after, .services::after, .programs::after, .lessons::after, .wins::after, .reviews::after, .about::after, .book::after, .faq::after, .ftr::after {
  content: ""; position: absolute; top: -6px; height: 13px; left: calc(var(--edge) - 6px); right: calc(var(--edge) - 6px); pointer-events: none;
  background:
    linear-gradient(var(--color-ink), var(--color-ink)) 0 6px / 13px 1px no-repeat,
    linear-gradient(var(--color-ink), var(--color-ink)) 6px 0 / 1px 13px no-repeat,
    linear-gradient(var(--color-ink), var(--color-ink)) 100% 6px / 13px 1px no-repeat,
    linear-gradient(var(--color-ink), var(--color-ink)) calc(100% - 6px) 0 / 1px 13px no-repeat;
}
.films { margin-top: var(--space-5xl); }
.in { padding-inline: calc(var(--gutter) + var(--pad)); }

/* Section heads on the rails: a head, a note, and the cells start under a rule */
.head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: end;
  padding-block: var(--space-3xl) var(--space-2xl); padding-inline: calc(var(--gutter) + var(--pad));
}
.head__t { grid-column: 1 / span 7; font-size: var(--text-head); font-weight: 800; line-height: 0.98; letter-spacing: -0.045em; }
.head__d { grid-column: 9 / span 4; font-size: var(--text-md); font-weight: 500; line-height: 1.5; color: var(--color-muted); max-width: 40ch; }
.only-pin { display: none; }
.has-pin .only-pin { display: inline; }

/* =========================================================
   INTERVIEWS: the session console. The screen, the session log, the step bar.
   ========================================================= */
.console { position: relative; }
.console__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); border-top: 1px solid var(--color-rule); }
.console__main { padding: var(--space-lg); border-right: 1px solid var(--color-rule); }
.screen { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: transparent; cursor: pointer; }
.screen img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur-long) linear; }
.screen.is-gl img { opacity: 0; }
/* viewfinder marks on the four corners */
.screen::after {
  content: ""; position: absolute; inset: var(--space-xs); pointer-events: none;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) 0 0 / 22px 2px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 0 0 / 2px 22px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 0 / 22px 2px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 0 / 2px 22px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 0 100% / 22px 2px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 0 100% / 2px 22px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 100% / 22px 2px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 100% / 2px 22px no-repeat;
}
.screen__hud { position: absolute; top: var(--space-lg); left: var(--space-lg); right: var(--space-lg); display: flex; justify-content: space-between; pointer-events: none; }
.screen__hud .tc { padding: var(--space-3xs) var(--space-xs); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-xs); }
.screen__play {
  position: absolute; left: var(--space-lg); bottom: var(--space-lg);
  display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-lg); border-radius: var(--radius-btn);
  background: var(--color-accent); color: var(--color-accent-ink); font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.screen:hover .screen__play, .screen:focus-visible .screen__play { background: var(--color-ink); color: var(--color-paper); }
.screen:active .screen__play { transform: scale(0.97); }
.screen:focus-visible { outline-offset: 4px; }
.console__now { display: grid; gap: var(--space-2xs); padding-top: var(--space-md); }
.console__title { min-height: 2.3em; font-size: var(--text-title); font-weight: 750; line-height: 1.15; letter-spacing: -0.035em; }
.console__meta { order: -1; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }

.console__side { display: flex; flex-direction: column; min-width: 0; }
.console__h { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-rule); font-size: var(--text-md); font-weight: 700; letter-spacing: -0.015em; }
.log { flex: 1; display: grid; grid-auto-rows: minmax(0, 1fr); }
.log > li + li { border-top: 1px solid var(--color-rule); }
.log__a {
  position: relative; display: grid; grid-template-columns: auto 84px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--space-sm); row-gap: var(--space-3xs);
  align-content: center; align-items: center; height: 100%; padding: var(--space-xs) var(--space-lg) var(--space-xs) var(--space-md); text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out);
}
.log__a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--color-accent); transform: scaleY(0); transform-origin: 50% 0; transition: transform var(--dur-long) var(--ease-out); }
.log__a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(var(--fill, 0)); }
.log__a:hover, .log__a.is-on { background: var(--color-paper-2); }
.log__a.is-on::before { transform: none; }
.log__n { grid-row: 1 / span 2; font-size: var(--text-xs); color: var(--color-dim); transition: color var(--dur-short) linear; }
.log__a.is-on .log__n { color: var(--color-accent); }
.log__img { grid-row: 1 / span 2; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-paper-3); }
.log__img img { width: 100%; height: 100%; object-fit: cover; }
.log__t { grid-column: 3; align-self: end; font-size: 0.9375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.log__d { grid-column: 3; align-self: start; font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log__len { grid-column: 4; grid-row: 1 / span 2; font-size: var(--text-xs); color: var(--color-muted); }

.console__bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: var(--space-xl);
  padding: var(--space-sm) var(--space-lg); border-top: 1px solid var(--color-rule);
}
.console__steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: var(--space-2xs); max-width: 420px; }
.console__steps li { height: 4px; background: var(--color-rule-2); transition: background-color var(--dur-short) linear; }
.console__steps li.is-done { background: var(--color-ink); }
.console__steps li.is-on { background: var(--color-accent); }
.console__note { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.console__ctl { display: flex; gap: var(--space-xs); }

/* The free mock interview: a callout under the console */
.callout {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-lg); align-items: start;
  padding-block: var(--space-2xl); padding-inline: calc(var(--gutter) + var(--pad));
  border-top: 1px solid var(--color-rule);
}
.callout__h { grid-column: 1 / span 5; font-size: var(--text-display-s); font-weight: 800; line-height: 1; letter-spacing: -0.045em; }
.callout__p { grid-column: 7 / span 6; color: var(--color-muted); max-width: 54ch; }
.callout__act { grid-column: 7 / span 6; display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

/* A command line: the address after its scheme, with a copy control */
.cmd { display: inline-flex; align-items: stretch; max-width: 100%; min-height: 48px; border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn); font-family: var(--font-outlier); font-size: 0.9375rem; }
.cmd__p { display: inline-flex; align-items: center; padding-left: var(--space-md); color: var(--color-dim); }
.cmd__a { display: inline-flex; align-items: center; min-width: 0; padding-right: var(--space-md); color: var(--color-ink); font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--dur-short) linear; }
.cmd__a:hover { color: var(--color-accent); }
.cmd__copy { flex: none; padding: 0 var(--space-md); border-left: 1px solid var(--color-rule-2); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.cmd__copy:hover { background: var(--color-ink); color: var(--color-paper); }
.cmd__copy:active { transform: scale(0.97); }

/* =========================================================
   STACK: the tools as a table of elements
   ========================================================= */
.els { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); }
.el {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; aspect-ratio: 1 / 0.82;
  padding: var(--space-sm) var(--space-md) var(--space-md); border: solid var(--color-rule); border-width: 0 1px 1px 0;
  transition: background-color var(--dur-slow) var(--ease-out), color var(--dur-slow) var(--ease-out);
}
.el__n { font-size: var(--text-xs); color: var(--color-dim); }
.el__s { align-self: center; font-size: clamp(2.5rem, 4.4vw, 4.25rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
.el__t { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.el.is-lit { background: var(--color-accent); color: var(--color-accent-ink); }
.el.is-lit .el__n, .el.is-lit .el__t { color: var(--color-accent-ink); }

/* =========================================================
   SERVICES and FAQ: a sticky index beside the content
   ========================================================= */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
.split__side { position: sticky; top: calc(var(--hdr) + var(--space-md)); padding: var(--space-3xl) var(--pad) var(--space-2xl); }
.split__side .head__d { margin-top: var(--space-lg); }
.tabs { display: grid; margin-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.tabs button {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 48px; padding: 0 var(--space-sm);
  border-bottom: 1px solid var(--color-rule); font-size: 0.9375rem; font-weight: 650; color: var(--color-muted);
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.tabs button:hover { background: var(--color-paper-2); color: var(--color-ink); }
.tabs button:active { transform: scale(0.99); }
.tabs button[aria-pressed="true"] { background: var(--color-paper-2); color: var(--color-ink); box-shadow: inset 2px 0 0 var(--color-accent); }
.tabs sup, .query__opts sup { vertical-align: baseline; font-size: var(--text-xs); font-weight: 500; color: var(--color-dim); line-height: 1; }
.tabs button[aria-pressed="true"] sup { color: var(--color-accent); }

.svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--color-rule); }
.svc { border: solid var(--color-rule); border-width: 0 1px 1px 0; }
.svc[hidden] { display: none; }
.svc__a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n p" "t t" "d d" "x go"; grid-template-rows: auto auto 1fr auto;
  height: 100%; min-height: 220px; padding: var(--space-lg); text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out);
}
.svc__n { grid-area: n; font-size: var(--text-xs); color: var(--color-dim); }
.svc__p { grid-area: p; font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
.svc__t { grid-area: t; margin-top: var(--space-xl); font-size: var(--text-xl); font-weight: 750; line-height: 1.12; letter-spacing: -0.035em; }
.svc__d { grid-area: d; margin-top: var(--space-xs); font-size: 0.9375rem; line-height: 1.45; color: var(--color-muted); max-width: 44ch; }
.svc__go { grid-area: go; justify-self: end; position: relative; width: 36px; height: 36px; margin-top: var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.svc__go::before, .svc__go::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--color-ink); transform: translate(-50%, -50%); }
.svc__go::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc__a:hover { background: var(--color-paper-2); }
.svc__a:hover .svc__go, .svc__a:focus-visible .svc__go { background: var(--color-accent); border-color: var(--color-accent); }
.svc__a:hover .svc__go::before, .svc__a:hover .svc__go::after, .svc__a:focus-visible .svc__go::before, .svc__a:focus-visible .svc__go::after { background: var(--color-accent-ink); }
.svc__a:focus-visible { outline-offset: -3px; }

/* =========================================================
   PROGRAMS: the code, a pricing table, the pipeline
   ========================================================= */
.coupon {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-md) var(--space-xl);
  padding-block: var(--space-lg); padding-inline: calc(var(--gutter) + var(--pad)); border-top: 1px solid var(--color-rule);
}
.coupon__p { font-weight: 500; color: var(--color-muted); max-width: 52ch; }
.coupon__box { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs); border: 1px dashed var(--color-accent); border-radius: var(--radius-btn); }
.coupon__v { padding: 0 var(--space-md); color: var(--color-accent); font-size: var(--text-xl); font-weight: 800; line-height: 1; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); }
.plan { display: flex; flex-direction: column; padding: var(--space-xl) var(--space-lg); border: solid var(--color-rule); border-width: 0 1px 1px 0; }
.plan__t { font-size: var(--text-xl); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.plan__tools { margin-top: var(--space-xs); min-height: 2.9em; font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); margin-top: var(--space-xl); }
.plan__now { font-size: clamp(2.5rem, 3.6vw, 3.5rem); font-weight: 850; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.plan__was { font-size: var(--text-md); font-weight: 500; color: var(--color-dim); text-decoration-thickness: 1.5px; }
.plan__save { margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 700; color: var(--color-accent); }
.plan__go { width: 100%; margin-top: var(--space-lg); }
.plan__cur { margin-top: var(--space-lg); border-top: 1px solid var(--color-rule); border-bottom: 1px solid var(--color-rule); }
.plan__cur summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 0.9375rem; font-weight: 700; cursor: pointer; list-style: none; }
.plan__cur summary::-webkit-details-marker { display: none; }
.plan__cur summary::after { content: "+"; font-size: 1.375rem; font-weight: 500; transition: transform var(--dur-short) var(--ease-out); }
.plan__cur[open] summary::after { transform: rotate(45deg); }
.plan__cur summary:hover { color: var(--color-accent); }
.plan__cur ol { counter-reset: m; display: grid; gap: var(--space-xs); padding-bottom: var(--space-md); font-size: 0.9375rem; font-weight: 500; line-height: 1.4; color: var(--color-muted); }
.plan__cur li { counter-increment: m; display: grid; grid-template-columns: 2.2em 1fr; }
.plan__cur li::before { content: counter(m, decimal-leading-zero); color: var(--color-dim); font-size: var(--text-xs); padding-top: 0.2em; }
.plan__live { margin-top: auto; padding-top: var(--space-md); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); }
.plan__live a { color: var(--color-ink); font-weight: 700; }

.steps {
  counter-reset: s; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: var(--space-2xl) var(--space-lg); padding-inline: calc(var(--gutter) + var(--pad));
}
.steps::before, .steps::after {
  content: ""; position: absolute; top: calc(var(--space-2xl) + 20px); height: 1px;
  left: calc(var(--gutter) + var(--pad) + 20px);
  right: calc(var(--gutter) + var(--pad) + (100% - 2 * (var(--gutter) + var(--pad))) / 3 - 20px);
}
.steps::before { background: var(--color-rule-2); }
.steps::after { background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
.steps li { counter-increment: s; position: relative; z-index: 1; display: grid; justify-items: start; gap: var(--space-sm); padding-right: var(--space-xl); font-size: var(--text-md); font-weight: 650; line-height: 1.35; }
.steps li::before {
  content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--color-rule-2); background: var(--color-paper); font-size: var(--text-sm); font-weight: 700;
  transition: border-color var(--dur-short) linear, color var(--dur-short) linear;
}
.steps li.is-on::before { border-color: var(--color-accent); color: var(--color-accent); }
.pay { padding-block: 0 var(--space-2xl); padding-inline: calc(var(--gutter) + var(--pad)); font-weight: 500; color: var(--color-muted); }
.pay a { color: var(--color-ink); font-weight: 700; }

/* =========================================================
   LESSONS: a query over the Shorts, the results as a table
   ========================================================= */
.query { border-top: 1px solid var(--color-rule); }
.query__bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); padding: var(--space-lg) var(--pad); border-bottom: 1px solid var(--color-rule); }
.query__code { position: relative; font-family: var(--font-outlier); font-size: 0.9375rem; color: var(--color-muted); white-space: nowrap; }
.query__code .kw { color: var(--color-accent); font-weight: 700; }
.query__opts { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.query__opts button {
  display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm);
  border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn); font-size: var(--text-sm); font-weight: 650; color: var(--color-muted);
  transition: border-color var(--dur-short) linear, color var(--dur-short) linear, background-color var(--dur-short) linear;
}
.query__opts button:hover { color: var(--color-ink); border-color: var(--color-ink); }
.query__opts button:active { transform: scale(0.97); }
.query__opts button[aria-pressed="true"] { border-color: var(--color-accent); color: var(--color-accent); background: color-mix(in oklch, var(--color-accent) 12%, transparent); }
.query__opts button[aria-pressed="true"] sup { color: var(--color-accent); }
.rows__head, .tile__a { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 15rem) 44px; align-items: center; column-gap: var(--space-md); padding-inline: var(--pad); }
.rows__head { padding-block: var(--space-xs); border-bottom: 1px solid var(--color-rule); font-size: var(--text-xs); color: var(--color-dim); }
.tile[hidden] { display: none; }
.tile__a { min-height: 58px; border-bottom: 1px solid var(--color-rule); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.tile__n { font-size: var(--text-xs); color: var(--color-dim); }
.tile__t { font-size: var(--text-md); font-weight: 650; line-height: 1.25; letter-spacing: -0.012em; }
.tile__s { font-size: var(--text-sm); color: var(--color-muted); }
.tile__play { justify-self: end; position: relative; width: 32px; height: 32px; border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.tile__play::after { content: ""; position: absolute; left: 12px; top: 9px; width: 10px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tile__a:hover { background: var(--color-paper-2); }
.tile__a:hover .tile__play, .tile__a:focus-visible .tile__play { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.tile__a:focus-visible { outline-offset: -3px; }
.query__status { padding: var(--space-sm) var(--pad); font-size: var(--text-xs); color: var(--color-dim); }
.follow { display: flex; flex-wrap: wrap; gap: var(--space-xs); padding-block: var(--space-lg) var(--space-2xl); padding-inline: calc(var(--gutter) + var(--pad)); }

/* =========================================================
   RESULTS + REVIEWS (samples stay hidden from visitors)
   ========================================================= */
.people, .quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--color-rule); }
.person, .quote { padding: var(--space-lg); border: solid var(--color-rule); border-width: 0 1px 1px 0; }
.person__ph { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.person__n { margin-top: var(--space-md); font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.035em; }
.person__r { font-weight: 500; color: var(--color-muted); }
.person__c { margin-top: var(--space-xs); font-weight: 800; }
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-lg); }
.quote blockquote { margin: 0; font-size: var(--text-xl); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
.quote__by { display: grid; font-size: var(--text-sm); color: var(--color-muted); }
.quote__by span:first-child { color: var(--color-ink); font-weight: 800; font-size: var(--text-md); }
[data-sample] { position: relative; }

/* =========================================================
   ABOUT: the profile. AJ on graph paper, the facts as a record.
   ========================================================= */
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.profile__fig {
  position: relative; display: grid; align-items: end; padding: var(--space-3xl) var(--space-xl) 0; border-right: 1px solid var(--color-rule); overflow: clip;
  background-image: linear-gradient(var(--color-grid) 1px, transparent 1px), linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px;
}
.profile__ph { position: relative; width: min(100%, 420px); margin-inline: auto; aspect-ratio: 389 / 499; }
.profile__ph img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 28px var(--color-shadow)); }
/* a face-tracking frame locks on to AJ, with one real fact */
.about__scan {
  position: absolute; z-index: 2; left: 14%; top: 7%; width: 70%; height: 62%; pointer-events: none;
  background:
    linear-gradient(var(--color-accent), var(--color-accent)) 0 0 / 28px 3px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 0 0 / 3px 28px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 0 / 28px 3px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 0 / 3px 28px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 0 100% / 28px 3px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 0 100% / 3px 28px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 100% / 28px 3px no-repeat,
    linear-gradient(var(--color-accent), var(--color-accent)) 100% 100% / 3px 28px no-repeat;
}
.about__tag { position: absolute; left: 0; bottom: 100%; margin-bottom: var(--space-xs); padding: var(--space-3xs) var(--space-xs); background: var(--color-accent); color: var(--color-accent-ink); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; }
.profile__body { display: grid; gap: var(--space-xl); align-content: start; padding: var(--space-3xl) var(--pad) var(--space-2xl); }
.about__h { font-size: var(--text-head); font-weight: 800; line-height: 1; letter-spacing: -0.045em; max-width: 17ch; }
.about__lead { padding-left: var(--space-md); border-left: 2px solid var(--color-accent); font-size: var(--text-lead); font-weight: 650; line-height: 1.2; letter-spacing: -0.03em; max-width: 30ch; }
.about__body { display: grid; gap: var(--space-md); font-weight: 500; color: var(--color-muted); max-width: 62ch; }
.facts { border-top: 1px solid var(--color-rule); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: var(--gap-columns); padding: var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); }
.facts dt { font-weight: 500; color: var(--color-muted); }
.facts dd { font-weight: 700; display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.facts dd a { display: inline-flex; align-items: center; min-height: 44px; margin-block: calc(-1 * var(--space-sm)); }
.facts dd a:hover { color: var(--color-accent); }

/* =========================================================
   BOOK: one panel, the pitch on the left with the glyph's landing spot, the form on the right
   ========================================================= */
.book__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.book__side {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); grid-template-areas: "t t" "lead tick" "ticks tick" "cmd cmd";
  align-items: start; column-gap: var(--space-lg); padding: var(--space-3xl) var(--pad) var(--space-2xl); border-right: 1px solid var(--color-rule);
}
.book__t { grid-area: t; font-size: clamp(3rem, 6.2vw, 6.25rem); font-weight: 800; line-height: 0.92; letter-spacing: -0.055em; }
.book__tick { grid-area: tick; width: 100%; aspect-ratio: 1; margin-top: var(--space-lg); }
.book__lead { grid-area: lead; margin-top: var(--space-xl); font-size: var(--text-lg); font-weight: 650; line-height: 1.3; letter-spacing: -0.02em; max-width: 24ch; }
.ticks--plain { grid-area: ticks; margin-top: var(--space-lg); }
.book__cmd { grid-area: cmd; justify-self: start; margin-top: var(--space-xl); }
.book__box { display: grid; gap: var(--space-xl); align-content: start; padding: var(--space-3xl) var(--pad) var(--space-2xl); }
.book__cal .btn { width: 100%; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md) var(--gap-columns); }
.form__h { grid-column: 1 / -1; font-size: var(--text-xl); font-weight: 800; letter-spacing: -0.03em; }
.field { display: grid; gap: var(--space-2xs); }
.field:nth-of-type(3) { grid-column: 1 / -1; }
.field__l { font-size: var(--text-sm); font-weight: 650; color: var(--color-muted); }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-dim); border-radius: var(--radius-card);
  background: var(--color-paper-2); color: var(--color-ink); font-size: 1rem; font-weight: 500;
  transition: border-color var(--dur-short) linear;
}
.field input::placeholder { color: var(--color-dim); }
.field input:hover, .field select:hover { border-color: var(--color-muted); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; border-color: transparent; }
.field input:disabled, .field select:disabled { opacity: 0.55; cursor: not-allowed; }
.field input:user-invalid { border-color: var(--color-error); }
.form__go { grid-column: 1 / -1; justify-self: start; }
.form__note { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }
.form__status { grid-column: 1 / -1; min-height: 1lh; font-weight: 700; }

/* =========================================================
   FAQ
   ========================================================= */
.fq { counter-reset: fq; border-left: 1px solid var(--color-rule); }
.fq details { counter-increment: fq; border-bottom: 1px solid var(--color-rule); }
.fq summary {
  display: grid; grid-template-columns: 3.4em minmax(0, 1fr) 32px; gap: var(--space-md); align-items: center;
  min-height: 76px; padding: var(--space-md) var(--pad); cursor: pointer; list-style: none;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2;
  transition: color var(--dur-short) linear, background-color var(--dur-short) linear;
}
.fq summary::-webkit-details-marker { display: none; }
.fq summary::before { content: counter(fq, decimal-leading-zero); font-size: var(--text-xs); font-weight: 500; letter-spacing: 0; color: var(--color-dim); }
.fq summary::after {
  content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn);
  font-size: 1.25rem; font-weight: 500; line-height: 1; transition: transform var(--dur-long) var(--ease-out), border-color var(--dur-short) linear;
}
.fq details[open] summary::after { transform: rotate(45deg); border-color: var(--color-accent); }
.fq summary:hover { background: var(--color-paper-2); }
.fq details > p { padding: 0 var(--pad) var(--space-lg) calc(var(--pad) + 3.4em + var(--space-md)); max-width: calc(66ch + 8em); font-weight: 500; color: var(--color-muted); }
.fq details > p b { color: var(--color-accent); }

/* =========================================================
   FOOTER: four cells on the rails, the legal line under a rule
   ========================================================= */
.ftr { padding-bottom: max(var(--space-lg), env(safe-area-inset-bottom)); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); }
.ftr__brand, .ftr__col { padding: var(--space-2xl) var(--pad); border-right: 1px solid var(--color-rule); }
.ftr__col:last-child { border-right: 0; }
.ftr__name { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-xl); font-weight: 900; letter-spacing: -0.05em; text-decoration: none; }
.ftr__name:hover { color: var(--color-accent); }
.ftr__sig { margin-top: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); max-width: 36ch; }
.ftr__col { display: flex; flex-direction: column; align-items: flex-start; }
.ftr__h { margin-bottom: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--color-dim); }
.ftr__col a, .motion-switch { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--text-sm); font-weight: 600; text-decoration: none; white-space: nowrap; transition: color var(--dur-short) linear; }
.ftr__col a:hover, .motion-switch:hover { color: var(--color-accent); }
.ftr__base { padding-block: var(--space-lg); padding-inline: calc(var(--gutter) + var(--pad)); border-top: 1px solid var(--color-rule); }
.ftr__c { font-size: var(--text-xs); font-weight: 500; color: var(--color-dim); max-width: 110ch; }

/* Mobile enrol bar */
.sb {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  display: none; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  background: var(--color-paper); border-top: 1px solid var(--color-rule-2);
  transform: translateY(110%); transition: transform var(--dur-long) var(--ease-out);
}
.sb.is-on { transform: none; }
.sb__t { display: grid; font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }
.sb__t b { font-weight: 800; }

/* Player */
.player { width: min(1180px, calc(100% - 2 * var(--gutter))); max-width: none; max-height: calc(100svh - 32px); padding: 0; border: 0; overflow: visible; background: transparent; color: var(--color-on-night); }
.player::backdrop { background: var(--color-scrim); }
.player[open] { animation: player-in var(--dur-slow) var(--ease-out); }
@keyframes player-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
.player__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); margin-bottom: var(--space-sm); }
.player__title { font-size: clamp(1.125rem, 2vw, 1.625rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; min-width: 0; }
.player__close { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-btn); background: var(--color-on-night); color: var(--color-night); font-size: 0.9375rem; font-weight: 700; }
.player__close:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.player__close:focus-visible { outline-color: var(--color-on-night); }
.player__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100svh - 120px); background: var(--color-night); overflow: hidden; }
.player__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.is-short { width: min(420px, calc(100% - 2 * var(--gutter))); }
.player.is-short .player__stage { aspect-ratio: 9 / 16; max-height: calc(100svh - 120px); }

/* Motion switch pill, for visitors whose device asks for less motion */
.js .motion-pill {
  position: fixed; z-index: var(--z-toast); left: var(--gutter); bottom: max(var(--space-md), env(safe-area-inset-bottom));
  min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn);
  background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); font-weight: 600;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity var(--dur-short), transform var(--dur-short);
}
.js .motion-pill.is-on, .js .motion-pill:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.js .motion-pill:hover { background: var(--color-ink); color: var(--color-paper); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .log__img { display: none; }
  .log__a { grid-template-columns: auto minmax(0, 1fr) auto; }
  .log__t, .log__d { grid-column: 2; }
  .log__len { grid-column: 3; }
}
@media (max-width: 1100px) {
  .hdr__role { display: none; }
  .hdr__nav { grid-column: 4 / -1; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--color-rule); }
  .ftr__col { padding-inline: var(--space-lg); }
}
@media (max-width: 860px) {
  :root { --hdr: 60px; }
  .hdr__nav { display: none; }
  .hdr__name { grid-column: 1 / span 8; }
  .hdr__menu { display: inline-flex; align-items: center; justify-content: center; }
  .sec__t { grid-column: 1 / -1; }
  .sec__d { grid-column: 1 / -1; max-width: 40ch; padding-top: var(--space-md); }
  .statement { grid-column: 1 / -1; }
  .intro__text { grid-column: 1 / -1; }
  .intro__tick { grid-column: 5 / -1; grid-row: 3; margin-top: var(--space-md); }
  .counts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-xl); }
  .quiz__count { grid-column: 1 / -1; }
  .quiz__q, .quiz__note, .res__score, .res__side { grid-column: 1 / -1; }

  .films, .stack, .services, .programs, .lessons, .wins, .reviews, .about, .book, .faq, .ftr { --pad: var(--space-md); }
  .films { margin-top: var(--space-4xl); }
  .head { row-gap: var(--space-md); padding-block: var(--space-2xl) var(--space-xl); }
  .head__t, .head__d { grid-column: 1 / -1; }
  .console__grid { grid-template-columns: minmax(0, 1fr); }
  .console__main { padding: var(--space-md); border-right: 0; border-bottom: 1px solid var(--color-rule); }
  .screen__hud { top: var(--space-md); left: var(--space-md); right: var(--space-md); }
  .screen__play { left: var(--space-md); bottom: var(--space-md); min-height: 44px; padding: 0 var(--space-md); font-size: 0.9375rem; }
  .console__title { min-height: 2.3em; font-size: var(--text-lg); }
  .console__h { padding: var(--space-sm) var(--space-md); }
  .log { grid-auto-rows: auto; }
  .log__a { min-height: 46px; padding: var(--space-2xs) var(--space-md); }
  .log__t { grid-row: 1 / span 2; align-self: center; -webkit-line-clamp: 1; }
  .log__d { display: none; }
  .console__bar { grid-template-columns: minmax(0, 1fr) auto; padding: var(--space-sm) var(--space-md); }
  .console__note { display: none; }
  .callout__h, .callout__p, .callout__act { grid-column: 1 / -1; }
  .query__code { white-space: normal; }
  .els { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split__side { position: relative; top: 0; padding: var(--space-2xl) var(--pad) var(--space-lg); }
  .tabs { display: flex; gap: var(--space-xs); margin-inline: calc(-1 * var(--pad)); padding: 0 var(--pad) var(--space-2xs); overflow-x: auto; border-top: 0; scrollbar-width: none; }
  .tabs button { flex: none; min-height: 44px; border: 1px solid var(--color-rule-2); border-radius: var(--radius-btn); }
  .tabs button[aria-pressed="true"] { box-shadow: none; border-color: var(--color-accent); }
  .svcs { grid-template-columns: minmax(0, 1fr); border-left: 0; border-top: 1px solid var(--color-rule); }
  .svc__a { min-height: 0; padding: var(--space-md); }
  .svc__t { margin-top: var(--space-md); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: var(--space-lg) var(--space-md); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-md); }
  .steps::before, .steps::after { display: none; }
  .steps li { grid-template-columns: 40px minmax(0, 1fr); align-items: center; column-gap: var(--space-md); padding-right: 0; }
  .rows__head { display: none; }
  .tile__a { grid-template-columns: 40px minmax(0, 1fr) 32px; grid-template-areas: "n t p" "n s p"; row-gap: var(--space-3xs); padding-block: var(--space-sm); }
  .tile__n { grid-area: n; }
  .tile__t { grid-area: t; }
  .tile__s { grid-area: s; font-size: var(--text-xs); }
  .tile__play { grid-area: p; }
  .people, .quotes { grid-template-columns: minmax(0, 1fr); }
  .profile, .book__panel { grid-template-columns: minmax(0, 1fr); }
  .profile__fig { padding-top: var(--space-2xl); border-right: 0; border-bottom: 1px solid var(--color-rule); }
  .profile__ph { width: min(78%, 360px); }
  .profile__body { padding-top: var(--space-2xl); }
  .book__side { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); grid-template-areas: "t t" "lead tick" "ticks ticks" "cmd cmd"; padding-top: var(--space-2xl); border-right: 0; border-bottom: 1px solid var(--color-rule); }
  .book__box { padding-top: var(--space-xl); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .fq { border-left: 0; border-top: 1px solid var(--color-rule); }
  .fq summary { grid-template-columns: 2.4em minmax(0, 1fr) 32px; gap: var(--space-sm); min-height: 64px; }
  .fq details > p { padding-left: calc(var(--pad) + 2.4em + var(--space-sm)); }
  .ftr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--color-rule); }
  .ftr__col { padding-block: var(--space-lg); }
  .sb { display: flex; }
  .ftr { padding-bottom: calc(var(--space-4xl) + env(safe-area-inset-bottom, 0px)); }
}

/* Portrait screens: phones and tablets. The name stacks; the glyph sits between it and the actions. */
@media (max-aspect-ratio: 1 / 1), (max-width: 760px) {
  .hero {
    --u: 1vw;
    --f: calc(29 * var(--u));
    --f2: calc(17.5 * var(--u));
    height: calc(100svh - var(--hdr) - var(--strip)); min-height: 600px; max-height: 1100px;
  }
  .hero__word--back { top: calc(var(--space-lg) + 2svh); }
  .hero__word--front { right: auto; left: calc(var(--gutter) + 22vw); bottom: auto; top: calc(var(--space-lg) + 2svh + var(--f) * 0.92); }
  .hero__tick { width: min(58vw, 380px); right: calc(var(--gutter) - 2vw); top: calc(var(--space-lg) + 2svh + var(--f) * 0.92 + var(--f2) * 0.6); }
  .hero__meta { top: auto; bottom: var(--space-lg); right: var(--gutter); width: auto; min-width: 0; }
}

@media (max-width: 520px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .el { padding: var(--space-xs) var(--space-sm) var(--space-sm); }
  .el__s { font-size: 2.125rem; }
  .el__t { font-size: var(--text-xs); }
  .callout__act .btn { width: 100%; }
  .cmd { width: 100%; font-size: var(--text-sm); }
  .cmd__a { flex: 1; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); }
  .ftr__col { border-right: 0; padding-block: var(--space-md); }
  .ftr__col + .ftr__col { border-top: 1px solid var(--color-rule); }
}

/* =========================================================
   The tech layer: mono figures, plotted crack points, decode states, the readout
   ========================================================= */
/* Figures, timecodes, prices and code are set in the mono; words stay in Satoshi */
.counts__v, .quiz__count, .res__score, .svc__n, .log__n, .log__len, .tile__n, .el__n, .coupon__v, .tc, .folio, .strip b, .sb__t b,
.steps li::before, .plan__cur li::before, .quiz__list li::before, .fq summary::before, .tabs sup, .query__opts sup, .query__status {
  font-family: var(--font-outlier); font-feature-settings: "zero" 1;
}
.counts__v, .quiz__count, .res__score { font-weight: 800; letter-spacing: -0.065em; }
.tc { font-size: 0.92em; font-weight: 700; letter-spacing: -0.02em; }

/* The fault line reads as a data line: each bend is a plotted point */
.crack__nodes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.crack__nodes .node {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: max(8px, 0.032em); height: max(8px, 0.032em); background: var(--color-paper); border: 2px solid var(--color-accent);
  transform: translate(-50%, -50%);
}

/* Scrambled characters while a heading decodes */
.sc { display: inline-block; }
.sc.is-busy { color: var(--color-accent); }
.js .sc.is-wait { opacity: 0; }
.wd { display: inline-block; white-space: nowrap; }
.wd.is-dim { color: var(--color-dim); }

/* The query's caret */
.query__code::after { content: ""; display: inline-block; width: 0.55em; height: 1.05em; margin-left: 0.35em; vertical-align: -0.18em; background: var(--color-accent); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* The readout: which part of the page you are in, and how far down */
.folio {
  position: fixed; right: var(--gutter); bottom: var(--space-md); z-index: var(--z-raised);
  display: flex; gap: var(--space-sm); align-items: baseline; padding: var(--space-2xs) var(--space-xs);
  background: var(--color-paper); border: 1px solid var(--color-rule-2); color: var(--color-ink);
  font-size: var(--text-xs); font-weight: 500; pointer-events: none;
}
.folio b { font-weight: 800; }
@media (max-width: 860px) { .folio { display: none; } }

/* =========================================================
   Page editor (open the page with #edit at the end of the address)
   ========================================================= */
.is-editing [data-edit] { outline: 1px dashed transparent; outline-offset: 3px; cursor: text; }
.is-editing [data-edit]:hover { outline-color: var(--color-accent); }
.is-editing [data-edit]:focus { outline: 2px solid var(--color-accent); }
.is-editing [data-sample] { outline: 2px dashed var(--color-sample); outline-offset: var(--space-xs); }
.is-editing [data-sample]::before { content: "Sample, hidden from visitors until you edit it"; position: absolute; top: calc(-1 * var(--space-lg)); left: 0; padding: var(--space-3xs) var(--space-xs); background: var(--color-sample); color: var(--color-sample-ink); font-size: var(--text-xs); font-weight: 700; }
.is-editing img[data-img] { cursor: copy; }
.edit-bar { position: absolute; z-index: var(--z-toast); display: flex; gap: var(--space-2xs); padding: var(--space-2xs); background: var(--color-ink); border-radius: var(--radius-card); }
.edit-bar button, .edit-panel button { min-height: 32px; padding: 0 var(--space-sm); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); font-weight: 700; }
.edit-bar button:hover, .edit-panel button:hover { background: var(--color-accent); color: var(--color-accent-ink); }
.edit-panel {
  position: fixed; top: var(--space-sm); right: var(--space-sm); bottom: var(--space-sm); z-index: var(--z-modal); width: min(420px, calc(100% - 2 * var(--space-sm)));
  display: flex; flex-direction: column; gap: var(--space-sm); overflow-y: auto; padding: var(--space-md);
  background: var(--color-paper); color: var(--color-ink); border: 1px solid var(--color-ink); font-size: var(--text-sm);
}
.edit-panel.is-min { bottom: auto; overflow: hidden; }
.edit-panel.is-min > :not(.edit-head) { display: none; }
.edit-head { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-lg); }
.edit-panel .edit-head button, .edit-panel .edit-foot button { border: 1px solid var(--color-ink); }
.edit-note { color: var(--color-muted); line-height: 1.45; }
.edit-ck { display: grid; gap: var(--space-xs); padding: var(--space-sm); background: var(--color-paper-2); }
.edit-ck p { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-xs); line-height: 1.35; }
.edit-ck i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: var(--text-xs); font-weight: 800; background: var(--color-ink); color: var(--color-paper); }
.edit-ck .is-todo i { background: var(--color-accent); color: var(--color-accent-ink); }
.edit-ck small { display: block; color: var(--color-muted); }
.edit-s { border-top: 1px solid var(--color-ink); }
.edit-s summary { min-height: 40px; display: flex; align-items: center; font-weight: 800; cursor: pointer; }
.edit-g { margin: 0 0 var(--space-sm); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-rule); }
.edit-g legend { font-weight: 800; padding: 0 var(--space-2xs); }
.edit-f { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-sm); font-weight: 600; }
.edit-f input { min-height: 40px; padding: 0 var(--space-sm); border: 1.5px solid var(--color-muted); border-radius: var(--radius-card); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); }
.edit-f input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.edit-f small { color: var(--color-muted); font-weight: 500; }
.edit-foot { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: auto; padding-top: var(--space-sm); border-top: 1px solid var(--color-ink); }
.edit-foot .is-pri { background: var(--color-ink); color: var(--color-paper); }

/* The visitor's "Reduce motion" (or the editor) calms the whole page */
html.calm *, html.calm *::before, html.calm *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .skip, .hdr, .btn, .screen img, .screen__play, .log__a, .svc__a, .tile__a, .tabs button, .query__opts button, .fq summary, .player[open], .query__code::after { transition: none; animation: none; }
}
