/* StatPi site. Tokens from projects/statpro-warroom/rebrand/kit (light + dark). */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-normal.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --ground: #F3F3F1; --s1: #FFFFFF; --s2: #EAEAE6; --s3: #DADAD5; --edge: #D2D2CC;
  --ink: #0C0D0E; --ink2: #4E5358; --ink3: #6E7378;
  --sig: #E8480E; --sig-hi: #FF7A3D; --sig-edge: #B8360A; --sig-text: #C23A08; --sig-dim: rgba(232,72,14,.12);
  --ok: #1F7A4A; --ok-dim: rgba(31,122,74,.12);
  /* the stage: always dark, the lit instrument */
  --st-ground: #0C0D0E; --st-s1: #151719; --st-s2: #1D2023; --st-edge: #272B2F;
  --st-ink: #EDEEEF; --st-ink2: #A4A9AE; --st-ink3: #858B91; --st-sig: #FF7A45;
  --r-lg: 28px; --r-md: 18px; --r-sm: 12px;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(12,13,14,.06), 0 12px 32px -12px rgba(12,13,14,.16);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0C0D0E; --s1: #151719; --s2: #1D2023; --s3: #25292D; --edge: #272B2F;
    --ink: #EDEEEF; --ink2: #A4A9AE; --ink3: #858B91;
    --sig-text: #FF7A45; --sig-dim: rgba(255,122,69,.14); --ok: #5BC98A; --ok-dim: rgba(91,201,138,.14);
    --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0C0D0E; --s1: #151719; --s2: #1D2023; --s3: #25292D; --edge: #272B2F;
  --ink: #EDEEEF; --ink2: #A4A9AE; --ink3: #858B91;
  --sig-text: #FF7A45; --sig-dim: rgba(255,122,69,.14); --ok: #5BC98A; --ok-dim: rgba(91,201,138,.14);
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 92px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 { font-size: 21px; letter-spacing: -0.015em; line-height: 1.2; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--sig); outline-offset: 3px; border-radius: 6px; }
.k { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sig-text); }
.k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 0 4px var(--sig-dim); flex: none; }
.k.plain::before { display: none; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink2); max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--ink2); }
.small { font-size: 14.5px; color: var(--ink2); }
.mono { font-family: var(--mono); }
.hl { color: var(--sig-text); }

/* keys (buttons) */
.keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.key { --bg: var(--s1); --fg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 16.5px/1 var(--font); letter-spacing: -0.01em; text-decoration: none; border: 1px solid var(--edge); cursor: pointer; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s; box-shadow: var(--shadow); -webkit-tap-highlight-color: transparent; }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(1px) scale(.985); }
.key--go { --bg: var(--sig); --fg: #fff; border-color: var(--sig-edge); background: linear-gradient(180deg, var(--sig-hi), var(--sig) 55%, #D23F0A); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 10px 28px -8px rgba(232,72,14,.55); }
.key--go:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 -2px 0 rgba(0,0,0,.12) inset, 0 16px 36px -8px rgba(232,72,14,.7); }
.key--ghost { --bg: transparent; box-shadow: none; }
.key--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.key .arr { transition: transform .3s var(--ease-out); }
.key:hover .arr { transform: translateX(3px); }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 78%, transparent); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.top.is-scrolled { border-bottom-color: var(--edge); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 9px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink2); transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--s2); }
.nav .key { margin-left: 8px; color: #fff; }
.nav .key:hover { background: linear-gradient(180deg, var(--sig-hi), var(--sig) 55%, #D23F0A); color: #fff; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: var(--s1); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.8px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease-out), opacity .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.top-go { display: none; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; margin-left: 0; }
  .top-go { display: inline-flex; margin-left: auto; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--ground); border-bottom: 1px solid var(--edge); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease-out); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 18px; }
  .nav .key { margin: 10px 0 0; }
}

/* sections */
section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.head { max-width: 860px; }
.head h2 { margin-top: 18px; }
.head .lede { margin-top: 22px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .lede { margin-left: auto; margin-right: auto; }
.grid2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.cols.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid2, .cols, .cols.two { grid-template-columns: 1fr; } }
.panel { background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--ink2); }
.tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font: 600 12.5px/1 var(--mono); letter-spacing: .04em; background: var(--sig-dim); color: var(--sig-text); }
.tag.n { background: var(--s2); color: var(--ink2); }
.tag.ok { background: var(--ok-dim); color: var(--ok); }

/* the stage (dark band) */
.stage { background: var(--st-ground); color: var(--st-ink); overflow: hidden; isolation: isolate; }
.stage .lede, .stage .muted, .stage .small { color: var(--st-ink2); }
.stage .k { color: var(--st-sig); }
.stage .k::before { box-shadow: 0 0 0 4px rgba(255,122,69,.18); }
.stage .key:not(.key--go) { --bg: rgba(255,255,255,.06); --fg: var(--st-ink); border-color: rgba(255,255,255,.14); box-shadow: 0 1px 0 rgba(255,255,255,.08) inset; }
.stage .panel { background: var(--st-s1); border-color: var(--st-edge); box-shadow: 0 1px 0 rgba(255,255,255,.04) inset; }
.stage .panel p { color: var(--st-ink2); }
.glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(70px); opacity: .55; background: radial-gradient(circle, rgba(232,72,14,.55), rgba(232,72,14,0) 70%); }
.gridlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); }

/* hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(70px, 9vw, 120px); margin-top: -68px; padding-top: calc(68px + clamp(40px, 7vw, 96px)); }
.hero .grid2 { grid-template-columns: 1.1fr .9fr; }
.hero h1 { margin-top: 22px; font-size: clamp(44px, 5.6vw, 80px); }
.hero h1 .soft { color: var(--st-ink3); }
.hero .lede { margin-top: 26px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); }
.proof div { font-size: 14px; color: var(--st-ink2); line-height: 1.35; }
.proof b { display: block; font: 600 22px/1.1 var(--mono); color: var(--st-ink); letter-spacing: -0.02em; margin-bottom: 3px; }
.proof b .ok { color: #5BC98A; }
.mark-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin-left: auto; }
.mark-stage .glow { inset: 18% 12% 6% 12%; opacity: .65; }
.mark-stage svg { width: 100%; height: 100%; overflow: visible; }
.mark-caption { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); font: 500 12.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--st-ink3); white-space: nowrap; }
@media (max-width: 900px) {
  .hero .grid2 { grid-template-columns: 1fr; }
  .mark-stage { max-width: 240px; margin: 0 auto; order: -1; }
}
@media (max-width: 520px) { .mark-stage { max-width: 210px; } }

/* the problem: scroll-lit statement */
.statement { font-size: clamp(32px, 5.2vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; max-width: 18ch; text-wrap: balance; }
.statement .w { color: var(--ink3); transition: color .5s; }
.statement .w.on { color: var(--ink); opacity: 1; }
.statement .w.sig.on { color: var(--sig-text); }
.cost { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.cost .panel { padding: 26px; }
.cost time, .cost .t { font: 600 13px/1 var(--mono); letter-spacing: .06em; color: var(--sig-text); text-transform: uppercase; }
.cost h3 { margin-top: 14px; }
@media (max-width: 900px) { .cost { grid-template-columns: 1fr; } }

/* every step */
.steps-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; margin-top: 56px; }
.steps-pin { position: sticky; top: 110px; }
.problem-card { background: var(--st-ground); color: var(--st-ink); border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden; isolation: isolate; }
.problem-card .glow { width: 300px; height: 300px; right: -120px; top: -140px; }
.problem-card .q { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-top: 14px; }
.problem-card .givens { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.problem-card .givens span { font: 500 15px/1 var(--mono); padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.meter { margin-top: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sig), var(--sig-hi)); border-radius: 4px; transition: width .6s var(--ease-out); }
.meter-l { display: flex; justify-content: space-between; margin-top: 10px; font: 500 12.5px/1 var(--mono); color: var(--st-ink3); }
.steplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.step { counter-increment: s; display: grid; grid-template-columns: 1fr minmax(150px, .62fr); gap: 0; background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-md); overflow: hidden; box-shadow: none; background: transparent; border-style: dashed; transform: translateY(10px) scale(.99); transition: transform .8s var(--ease-out), background .5s, box-shadow .5s; }
.step.on { transform: none; background: var(--s1); border-style: solid; box-shadow: var(--shadow); }
.step .m { padding: 20px 22px; }
.step .lbl { font: 600 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink2); }
.step .lbl::before { content: counter(s, decimal-leading-zero) "  "; color: var(--sig-text); }
.step .math { font: 500 clamp(17px, 1.7vw, 21px)/1.45 var(--mono); margin-top: 10px; letter-spacing: -0.01em; min-height: 1.45em; word-break: break-word; }
.step .math .big { font-size: 1.35em; font-weight: 600; color: var(--sig-text); }
.step .why { padding: 20px 22px; border-left: 2px solid var(--sig); background: var(--sig-dim); color: var(--sig-text); font-size: 15.5px; line-height: 1.4; font-weight: 500; display: flex; align-items: center; opacity: 0; transform: translateX(8px); transition: opacity .6s .35s var(--ease-out), transform .7s .35s var(--ease-out); }
.step.on .why { opacity: 1; transform: none; }
.step.check { border-color: color-mix(in srgb, var(--ok) 45%, var(--edge)); }
.step.check .why { border-left-color: var(--ok); background: var(--ok-dim); color: var(--ok); }
.tick { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok); color: #fff; margin-right: 10px; flex: none; transform: scale(0); transition: transform .5s .7s cubic-bezier(.34, 1.56, .64, 1); }
.step.on .tick { transform: scale(1); }
.caret { display: inline-block; width: .55em; height: 1.05em; vertical-align: -0.15em; background: var(--sig); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) {
  .steps-wrap { grid-template-columns: 1fr; }
  .steps-pin { position: sticky; top: 76px; z-index: 2; }
  .problem-card { padding: 18px 20px; }
  .problem-card .q { font-size: 18px; margin-top: 8px; }
  .problem-card .givens { margin-top: 12px; gap: 6px; }
  .problem-card .givens span { font-size: 13px; padding: 7px 9px; }
  .problem-card .k { font-size: 11.5px; }
  .meter { margin-top: 14px; }
  .meter-l { display: none; }
  .step { grid-template-columns: 1fr; }
  .step .why { border-left: 0; border-top: 2px solid var(--sig); padding: 14px 22px; }
  .step.check .why { border-top-color: var(--ok); }
}

/* phones */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 40px); margin-top: 64px; }
.phone { position: relative; width: min(30%, 300px); flex: none; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2A2E33, #0C0D0E 40%, #1A1D20); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px -30px rgba(12,13,14,.45), 0 18px 36px -18px rgba(12,13,14,.35); will-change: transform; }
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 600 / 1300; object-fit: cover; object-position: top; background: #F3F3F1; }
.phone figcaption { position: absolute; left: 0; right: 0; top: calc(100% + 18px); text-align: center; font-size: 14.5px; color: var(--ink2); line-height: 1.35; }
.phone figcaption b { display: block; color: var(--ink); font-size: 15.5px; }
.phones .phone:nth-child(2) { margin-top: -28px; }
@media (max-width: 700px) {
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 90px; margin: 40px -20px 0; gap: 16px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phone { width: 72%; scroll-snap-align: center; border-radius: 38px; }
  .phone img { border-radius: 29px; }
  .phones .phone:nth-child(2) { margin-top: 0; }
}
@media (min-width: 701px) { .phones { padding-bottom: 80px; } }

/* live class */
.room { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.room-screen { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, #151719, #0F1112); border: 1px solid var(--st-edge); padding: 22px; box-shadow: 0 40px 100px -40px rgba(232,72,14,.35); }
.room-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.code { font: 600 clamp(22px, 3vw, 30px)/1 var(--mono); letter-spacing: .14em; color: var(--st-ink); }
.code small { display: block; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; color: var(--st-ink3); margin-bottom: 8px; text-transform: uppercase; }
.count-in { font: 500 14px/1 var(--mono); color: var(--st-ink2); text-align: right; }
.count-in b { color: var(--st-sig); font-size: 22px; display: block; margin-bottom: 6px; }
.room canvas { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; margin-top: 18px; }
.room-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font: 500 13px/1.3 var(--mono); color: var(--st-ink3); }
.room-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.room-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--st-ink2); }
.room-list li b { color: var(--st-ink); display: block; }
.room-list .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 600 13px/1 var(--mono); background: rgba(255,122,69,.14); color: var(--st-sig); }
@media (max-width: 900px) { .room { grid-template-columns: 1fr; } }

/* vs chatbot */
.versus { margin-top: 52px; border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); box-shadow: var(--shadow); }
.vrow { display: grid; grid-template-columns: .8fr 1fr 1fr; border-top: 1px solid var(--edge); }
.vrow:first-child { border-top: 0; background: var(--s2); }
.vrow > div { padding: 20px 24px; }
.vrow:first-child > div { font: 600 13px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); padding: 16px 24px; }
.vrow:first-child > div:last-child { color: var(--sig-text); }
.vrow .q { font-weight: 600; }
.vrow .them { color: var(--ink2); }
.vrow .us { font-weight: 500; position: relative; padding-left: 52px; }
.vrow .us::before { content: ""; position: absolute; left: 22px; top: 23px; width: 18px; height: 18px; border-radius: 50%; background: var(--sig) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.vrow:first-child .us::before { display: none; }
.vrow:first-child .us { padding-left: 24px; }
@media (max-width: 760px) {
  .vrow { grid-template-columns: 1fr; }
  .vrow:first-child { display: none; }
  .vrow > div { padding: 6px 20px; }
  .vrow .q { padding-top: 20px; font-size: 18px; }
  .vrow .them::before { content: "Chatbot: "; font: 600 12px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink3); }
  .vrow .us { padding-bottom: 20px; padding-left: 48px; }
  .vrow .us::before { left: 20px; top: 8px; }
}

/* Paul */
.prof { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.portrait { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--s2); box-shadow: 0 50px 100px -40px rgba(12,13,14,.45); }
.portrait img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.portrait figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 14px 16px; border-radius: 18px; background: rgba(12,13,14,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; font-size: 14px; line-height: 1.35; }
.portrait figcaption b { display: block; font-size: 16.5px; }
.quote { font-size: clamp(28px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin-top: 18px; text-wrap: balance; }
.quote .hl { color: var(--sig-text); }
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 34px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r-md); overflow: hidden; }
.creds div { background: var(--s1); padding: 18px 20px; font-size: 14.5px; color: var(--ink2); line-height: 1.4; }
.creds b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 3px; letter-spacing: -0.01em; }
@media (max-width: 900px) { .prof { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }
@media (max-width: 480px) { .creds { grid-template-columns: 1fr; } }

/* editions */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.tier { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); }
.tier--main { background: var(--st-ground); color: var(--st-ink); border-color: #000; position: relative; overflow: hidden; isolation: isolate; }
.tier--main .glow { width: 380px; height: 380px; right: -160px; top: -180px; }
.tier--main p, .tier.tier--main li { color: var(--st-ink2); }
.tier h3 { font-size: 28px; margin-top: 18px; letter-spacing: -0.03em; }
.price { font: 700 clamp(48px, 6vw, 68px)/1 var(--font); letter-spacing: -0.05em; margin: 18px 0 6px; }
.price small { font: 500 16px/1 var(--mono); letter-spacing: 0; color: var(--ink3); margin-left: 6px; }
.tier--main .price small { color: var(--st-ink3); }
.tier ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.tier li { position: relative; padding-left: 28px; color: var(--ink2); line-height: 1.4; }
.tier li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--sig-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%23E8480E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/17px no-repeat; }
.tier .key { margin-top: auto; align-self: flex-start; }
.store { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--st-ink2); }
.store .pill { font: 600 12px/1 var(--mono); padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: var(--st-ink); }
.store .asbadge { display: inline-block; line-height: 0; flex: none; }
.store .asbadge img { height: 40px; width: auto; display: block; }
.store:has(.asbadge) { flex-wrap: wrap; }
.store--badge .asbadge img { height: 44px; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }

/* schools band */
.schools { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.licence { background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); }
.licence dl { margin: 0; display: grid; gap: 0; }
.licence dl div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-top: 1px solid var(--edge); }
.licence dl div:first-child { border-top: 0; padding-top: 0; }
.licence dt { color: var(--ink2); }
.licence dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 900px) { .schools { grid-template-columns: 1fr; } }

/* office hours band */
.oh-band { border-radius: 36px; padding: clamp(30px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.oh-band .glow { width: 520px; height: 520px; right: -160px; bottom: -280px; }
.oh-band .grid2 { grid-template-columns: 1.2fr .8fr; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.countdown div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px 8px 14px; text-align: center; }
.countdown b { display: block; font: 600 clamp(30px, 4vw, 46px)/1 var(--mono); letter-spacing: -0.03em; color: var(--st-ink); font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 8px; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--st-ink3); }
.countdown.is-live b { color: var(--st-sig); }
@media (max-width: 900px) { .oh-band .grid2 { grid-template-columns: 1fr; } }
.oh-band.stage { padding-top: clamp(30px, 6vw, 72px); }

/* office hours page specifics */
.when { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 34px; margin-top: 30px; }
.when div { font-size: 14px; color: var(--st-ink2); }
.when b { display: block; font: 600 20px/1.2 var(--font); color: var(--st-ink); letter-spacing: -0.02em; }
@media (max-width: 520px) { .when { grid-template-columns: 1fr 1fr; } }
.hist-card { position: relative; background: linear-gradient(180deg, #151719, #0F1112); border: 1px solid var(--st-edge); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 40px 100px -40px rgba(232,72,14,.4); }
.hist-card .q { font-size: 16px; color: var(--st-ink); font-weight: 500; }
.hist-card svg { width: 100%; height: auto; margin-top: 12px; }
.hist-card svg text { font: 500 10px var(--mono); fill: #858B91; }
.hist-card svg .ax { stroke: #3A3F44; }
.hist-card svg .u { fill: #4E5358; }
.hist-card svg .u.me { fill: var(--sig); }
.hist-card svg .mean { stroke: #EDEEEF; stroke-dasharray: 3 4; }
.hist-card svg .you { fill: var(--st-sig); font-weight: 600; }
.hist-card .anim .u { opacity: 0; transform: translateY(-30px); transition: opacity .35s, transform .55s cubic-bezier(.34, 1.56, .64, 1); transform-box: fill-box; }
.hist-card .anim .u.in { opacity: 1; transform: none; }
.hist-card .anim .late { opacity: 0; transition: opacity .6s; }
.hist-card .anim .late.in { opacity: 1; }
.readout { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font: 500 14px/1 var(--mono); color: var(--st-ink2); }
.readout b { color: var(--st-ink); }
.readout .ans { color: var(--st-sig); font-weight: 600; }
.hist-card .note { margin-top: 14px; font-size: 14.5px; color: var(--st-ink2); }
.replay { margin-top: 14px; background: none; border: 1px solid rgba(255,255,255,.16); color: var(--st-ink2); border-radius: 999px; padding: 8px 14px; font: 500 13px/1 var(--mono); cursor: pointer; }
.outcomes .work { margin-top: 18px; font: 500 14px/1.6 var(--mono); padding: 14px 16px; border-radius: 12px; background: var(--s2); color: var(--ink); }
.run { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--edge); }
.run li { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--edge); }
.run time { font: 600 18px/1.3 var(--mono); color: var(--sig-text); }
.run b { display: block; font-size: 19px; letter-spacing: -0.015em; margin-bottom: 4px; }
.run span { color: var(--ink2); }
.form { background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); color: var(--ink); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: block; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); padding: 0; }
.field .opt { font-weight: 400; color: var(--ink3); }
.field input[type=text], .field input[type=email], .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--ground); border: 1px solid var(--edge); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sig); box-shadow: 0 0 0 4px var(--sig-dim); }
.choices { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--edge); border-radius: 12px; cursor: pointer; background: var(--ground); font-weight: 500; font-size: 15.5px; }
.choice:has(input:checked) { border-color: var(--sig); background: var(--sig-dim); }
.choice input { accent-color: var(--sig); width: 18px; height: 18px; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .key { width: 100%; }
.done { display: none; }
.done.on { display: block; }
.door { margin-top: 10px; font: 500 12px/1 var(--mono); color: var(--ink3); }
.form-err { margin-top: 12px; font-size: 14.5px; color: var(--sig-text); }
details { border-top: 1px solid var(--edge); }
details:last-child { border-bottom: 1px solid var(--edge); }
summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 18.5px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease-out); }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { padding: 0 0 22px; color: var(--ink2); max-width: 70ch; }
.faq { max-width: 820px; margin-top: 36px; }
.stickycta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .45s var(--ease-out); }
.stickycta.on { transform: none; }
.stickycta .key { width: 100%; }
@media (min-width: 861px) { .stickycta { display: none; } }

/* people (about) */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.person { background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.person .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--s2); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person .bd { padding: 26px 28px 30px; }
.person h3 { font-size: 26px; letter-spacing: -0.03em; }
.person .role { font: 500 13px/1.3 var(--mono); color: var(--sig-text); letter-spacing: .03em; margin-top: 8px; text-transform: uppercase; }
.person p { color: var(--ink2); margin-top: 14px; }
@media (max-width: 800px) { .people { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--edge); padding: 56px 0 40px; font-size: 14.5px; color: var(--ink2); }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; }
.foot-brand img { height: 34px; width: auto; }
.foot nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; align-content: start; }
.foot nav a { text-decoration: none; color: var(--ink2); }
.foot nav a:hover { color: var(--ink); }
.network { margin-top: 18px; }
.network a { color: var(--ink2); }
.foot .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 26px; border-top: 1px solid var(--edge); font-size: 13.5px; color: var(--ink2); }
.foot .legal a { color: var(--ink2); }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr; } }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* page heads (inner pages) */
.page-hero { padding: calc(68px + clamp(48px, 8vw, 110px)) 0 clamp(60px, 8vw, 110px); margin-top: -68px; }
.page-hero h1 { margin-top: 20px; max-width: 16ch; }
.page-hero .lede { margin-top: 24px; }

/* reveal choreography */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .step, .step .why { opacity: 1; transform: none; }
  .tick { transform: scale(1); }
  .statement .w { color: var(--ink); opacity: 1; }
  .statement .w.sig { color: var(--sig-text); }
}

/* header over the dark stage */
.top.on-dark { background: rgba(12,13,14,.42); border-bottom-color: rgba(255,255,255,.06); color: #EDEEEF; }
.top.on-dark .nav a:not(.key) { color: #A4A9AE; }
.top.on-dark .nav a:not(.key):hover, .top.on-dark .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.08); }
.top.on-dark .menu-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
@media (max-width: 860px) { .top.on-dark .nav { background: #0C0D0E; border-bottom-color: #272B2F; } }

/* ---- Office Hours funnel ---- */
.oh-hero { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy form" "copy meta"; gap: 0 clamp(36px, 6vw, 80px); align-items: start; }
.oh-copy { grid-area: copy; } .oh-form { grid-area: form; } .oh-meta { grid-area: meta; margin-top: 30px; }
.oh-copy h1 { margin-top: 22px; font-size: clamp(40px, 6.4vw, 84px); }
.oh-copy .lede { margin-top: 24px; }
.oh-form .form { box-shadow: 0 40px 100px -40px rgba(232,72,14,.45), 0 0 0 1px rgba(255,255,255,.04); }
.form-h { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; margin-bottom: 16px; }
.form-h span { display: block; font: 500 13px/1.3 var(--mono); letter-spacing: .02em; color: var(--sig-text); margin-top: 4px; }
.choices.row3 { grid-template-columns: repeat(3, 1fr); }
.choices.row3 .choice { padding: 12px 10px; font-size: 14.5px; gap: 8px; }
details.more { border: 0; margin: 0 0 16px; }
details.more summary { padding: 4px 26px 4px 0; font-size: 14.5px; font-weight: 600; color: var(--sig-text); }
details.more summary::after { width: 8px; height: 8px; border-color: var(--sig-text); }
details.more .opt { font-weight: 400; color: var(--ink3); }
.form-fine { font-size: 13px; color: var(--ink3); margin-top: 12px; line-height: 1.45; }
@media (max-width: 900px) {
  .oh-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "meta"; }
  .oh-top { padding-top: calc(68px + 18px); }
  .oh-copy h1 { font-size: clamp(34px, 9.4vw, 52px); margin-top: 14px; }
  .oh-copy .lede { font-size: 16px; margin-top: 12px; }
  .oh-form { margin-top: 20px; }
  .oh-top .k { font-size: 11.5px; }
}
@media (max-width: 420px) { .choices.row3 .choice { font-size: 13.5px; padding: 11px 8px; } .choices.row3 .choice input { width: 16px; height: 16px; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.stat { background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stat b { font: 700 clamp(56px, 7vw, 84px)/1 var(--font); letter-spacing: -0.05em; }
.stat b span { color: var(--ink3); font-size: .5em; letter-spacing: -0.02em; }
.stat.sig b { color: var(--sig-text); }
.stat p { margin-top: 14px; color: var(--ink); font-size: 17px; line-height: 1.45; }
.stat cite { margin-top: auto; padding-top: 18px; font: normal 400 12.5px/1.4 var(--mono); color: var(--ink3); }
.stat cite a { color: var(--ink3); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr; } }
.story { margin-top: 48px; max-width: 72ch; color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; }
.host { display: flex; gap: 16px; align-items: center; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--edge); }
.host img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }
.host p { color: var(--ink2); font-size: 15.5px; }
.host b { color: var(--ink); }
.stack { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 4px; }
.stack li { position: relative; padding: 16px 0 16px 46px; border-top: 1px solid var(--edge); color: var(--ink2); }
.stack li:last-child { border-bottom: 1px solid var(--edge); }
.stack li b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -0.015em; margin-bottom: 2px; }
.stack li::before { content: ""; position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 9px; background: var(--sig) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; box-shadow: 0 6px 16px -6px rgba(232,72,14,.6); }
.strip { display: grid; grid-template-columns: 1.3fr auto; gap: 24px 40px; align-items: center; background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.strip h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.03em; margin-top: 14px; }
.strip p { color: var(--ink2); margin-top: 12px; max-width: 64ch; }
@media (max-width: 900px) { .strip { grid-template-columns: 1fr; } }
.done .bridge-h { font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.045em; margin: 14px 0 8px; }
.done .lbl { display: block; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 10px; }
.done .room-link, .done .b-next, .done .b-share { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--edge); }
.done .room-link .small { margin-top: 10px; }
.done .b-cal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.done .b-next p { color: var(--ink2); margin-bottom: 14px; }
.share-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; }
.share-row input { min-width: 0; font: 400 14px/1 var(--mono); padding: 0 12px; height: 42px; border-radius: 12px; border: 1px solid var(--edge); background: var(--ground); color: var(--ink); }
.done .key:not(.key--sm) { width: 100%; }

/* about: people side by side with their photo, never upscaled */
.people { grid-template-columns: 1fr; }
.person { display: grid; grid-template-columns: 300px 1fr; }
.person .ph { aspect-ratio: auto; height: 100%; min-height: 300px; }
.person .pn { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.035em; }
.person .bd { padding: clamp(24px, 3.4vw, 40px); }
@media (max-width: 800px) { .person { grid-template-columns: 1fr; } .person .ph { aspect-ratio: 1 / 1; min-height: 0; } }
.oh-sub { margin-top: 18px; font-size: clamp(19px, 2vw, 25px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; color: var(--st-sig); max-width: 30ch; }
@media (max-width: 900px) { .oh-sub { font-size: 17px; margin-top: 10px; } }
.trust { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; margin-top: 28px; padding: 14px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); max-width: 600px; }
.trust img { width: 150px; height: 188px; border-radius: 16px; object-fit: cover; object-position: 50% 20%; box-shadow: 0 20px 40px -16px rgba(232,72,14,.6); }
.trust b { display: block; font-size: 21px; letter-spacing: -0.02em; color: var(--st-ink); }
.trust .t-short { display: none; }
.trust ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 3px; font-size: 14px; color: var(--st-ink2); }
.trust ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); margin: 0 9px 2px 0; }
.trust blockquote { margin: 12px 0 0; font-size: 15px; line-height: 1.4; color: var(--st-ink); font-style: italic; }
@media (max-width: 900px) {
  .trust { grid-template-columns: 52px 1fr; gap: 12px; margin-top: 14px; padding: 10px 14px 10px 10px; border-radius: 18px; }
  .trust img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px #E8480E; }
  .trust b { font-size: 16.5px; }
  .trust .t-short { display: block; font-size: 12.5px; color: var(--st-ink2); line-height: 1.35; margin-top: 2px; }
  .trust ul, .trust blockquote { display: none; }
}

.choice input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1.5px solid var(--ink3); background: transparent; flex: none; display: grid; place-items: center; }
.choice input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sig); transform: scale(0); transition: transform .2s cubic-bezier(.34,1.56,.64,1); }
.choice input:checked { border-color: var(--sig); }
.choice input:checked::after { transform: scale(1); }
.oh-sub span { display: block; margin-top: 6px; font-size: .68em; font-weight: 500; color: var(--st-ink2); letter-spacing: -0.005em; }
.pull { margin: 40px 0 0; max-width: 860px; padding-left: 26px; border-left: 3px solid var(--sig); }
.pull.center { margin-left: auto; margin-right: auto; text-align: left; }
.pull blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; text-wrap: balance; }
.pull figcaption { margin-top: 12px; font: 500 13px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--sig-text); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legal .network { margin-top: 0; }
/* forms keep their own light/dark surface inside the dark stage */
.stage .form .muted, .stage .form .small, .stage .form .lede { color: var(--ink2); }
.stage .form .key:not(.key--go) { --bg: var(--s1); --fg: var(--ink); border-color: var(--edge); box-shadow: var(--shadow); }
.stage .form .k { color: var(--sig-text); }
.person .ph picture, .portrait picture { display: block; width: 100%; height: 100%; }
.person .ph img { object-position: 50% 30%; }
.problem-card .k { color: #FF7A45; }
/* Three tiers and the module map (2026-11-09). */
.tiers--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .tiers--3 { grid-template-columns: 1fr; } }
.vt { border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; background: var(--s1); margin-top: 28px; }
.vt .vrow > div:last-child { font: 600 13px/1.4 var(--mono); }

/* Teacher's Corner: the read-only Case Wall, fed live by the app (2026-11-11) */
.tc-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tc-h2 { font-size: clamp(30px, 4vw, 48px); }
.tc-sort { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--s2); border: 1px solid var(--edge); }
.tc-sort button { appearance: none; border: 0; background: transparent; color: var(--ink2); font: 500 15px/1 var(--font); padding: 11px 16px; min-height: 44px; border-radius: 999px; cursor: pointer; }
.tc-sort button[aria-pressed="true"] { background: var(--s1); color: var(--ink); box-shadow: var(--shadow); }
.tc-status { margin-top: 14px; }
.tc-status a { color: var(--sig-text); }
.tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
@media (max-width: 1100px) { .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .tc-grid { grid-template-columns: 1fr; } }
.tc-card { display: flex; flex-direction: column; gap: 12px; background: var(--s1); border: 1px solid var(--edge); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.tc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-card h3 a { text-decoration: none; }
.tc-card h3 a:hover { color: var(--sig-text); }
.tc-who { font-size: 14.5px; color: var(--ink3); }
.tc-fig { margin: 0; padding: 12px; border-radius: var(--r-sm); background: var(--s2); }
.tc-fig figcaption { margin-top: 6px; font-size: 13px; }
.tc-strip { width: 100%; height: auto; }
.tc-strip .ax { stroke: var(--edge); stroke-width: 1; }
.tc-strip .dot.r0 { fill: var(--ink3); }
.tc-strip .dot.r1 { fill: var(--sig); }
.tc-strip .truth { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 3 4; }
.tc-strip text { font: 500 11px var(--mono); fill: var(--ink2); }
.tc-ex { color: var(--ink2); font-size: 15.5px; white-space: pre-line; overflow-wrap: anywhere; }
.tc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 6px; }
