/*
 * Whetstone Learning: marketing site.
 *
 * Direction card, "The marked sheet", pass 2:
 *   Register      editorial and professional, on the owner's paper, navy and gold; warmer and more product-led.
 *   Routes        / (overview, connected), /agents/ (the marked sheet + Coaching Center), /learning-center/
 *                 (the loop, Brain, Analyze Me, Micromodules), /about/ (practitioners).
 *   Composition   Fig. 1 plate that wires practitioners -> GuideMate -> every tool -> students, teachers, parents
 *                 (the site's "connected" spine); bento of tiles that each show a working glimpse; depth on routes.
 *   Type          Cormorant Garamond for display only (h1, h2, big figures). DM Sans (the product's own UI face) for
 *                 body, titles, buttons and labels. Cormorant italic is the examiner's marking voice (red notes).
 *   Colour        paper #FBF6EA, ink #13233F, gold #C39A4C, red pen #A63A2A. Tiles tinted from one paper family.
 *   Accent        the GuideMate pixel coach, from the product, used in at most a few places. Not a mascot site.
 *   Motion        calm: lines rise, wires draw and carry a dot, tiles play a short scene once, slips are struck.
 *   Shape         10-14px rounded rectangles; no capsules; no glows.
 */

:root {
    --paper: #FBF6EA;
    --desk: #F3EBD8;
    --sheet: #FFFDF8;
    --ink: #13233F;
    --ink-2: #3E4C61;
    --ink-3: #66717F;
    --gold: #C39A4C;
    --gold-ink: #806020;
    --gold-soft: #F1E6CB;
    --marker: #F0DCA8;
    --pen: #A63A2A;
    --pen-night: #E38A72;
    --rule: #E3D8C0;
    --t-marker: #F5EACB;
    --t-sage: #E2E7D6;
    --t-sky: #DFE6EE;
    --t-rose: #F2E2D8;
    --t-sand: #EEE5D1;
    --t-lilac: #E7E2EC;
    --t-peach: #F5E0CC;
    --t-sea: #DCE8E3;
    --display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
    --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gutter: clamp(20px, 5vw, 72px);
    --ease: cubic-bezier(.2, .7, .1, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
/* Paper grain: faint, under everything. It is the page's own background (the same 220px fractal-noise tile,
   pre-rendered at 2x with the old .5 opacity baked in), not a fixed full-screen layer: a fixed layer under the
   content made Safari composite every element that crossed it, and the SVG filter re-ran on each repaint, which
   is what made the section boundaries stutter. */
body {
    margin: 0;
    background: url("img/paper-grain.png") 0 0 / 220px 220px, var(--paper);
    color: var(--ink);
    font: 400 1.0625rem/1.6 var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 500; letter-spacing: -.012em; color: var(--ink); font-variant-numeric: lining-nums; }
h3, h4 { margin: 0; font-family: var(--text); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
p { margin: 0; }
b, strong { font-weight: 600; }
.frame { width: min(100% - var(--gutter) * 2, 1320px); margin-inline: auto; }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; padding: .6rem .9rem; background: var(--ink); color: var(--paper); border-radius: 6px; transform: translateY(-160%); }
.skip:focus { transform: none; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 4px; border-radius: 4px; }
@view-transition { navigation: auto; }
.brand { view-transition-name: brand; }
.ico { width: 1em; height: 1em; flex: none; display: block; }

/* Masked line reveals must not crop ascenders and descenders (p, g, q, y, J). */
.is-split > * { padding: .08em 0 .2em; margin: -.08em 0 -.2em; }

/* Two-tone lead: the first sentence in ink, the rest in the secondary colour. */
.lead { color: var(--ink-3); font-size: clamp(1.1rem, 1.3vw, 1.25rem); line-height: 1.55; }
.lead b { color: var(--ink); font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font: 600 .78rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Buttons and links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 52px;
    padding: 0 .55rem 0 1.25rem;
    border-radius: 12px;
    background: var(--ink);
    color: var(--paper);
    font: 600 1rem/1 var(--text);
    letter-spacing: -.005em;
    text-decoration: none;
    box-shadow: 0 1px 0 #0b1529, 0 10px 24px -14px #13233F99;
    transition: background .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn-go {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
    background: #ffffff14; color: var(--marker);
    transition: transform .35s var(--ease), background .25s;
}
.btn-go .ico { width: 17px; height: 17px; }
.btn:hover { background: #1b2e52; box-shadow: 0 1px 0 #0b1529, 0 16px 30px -16px #13233Fb0; }
.btn:hover .btn-go { transform: translateX(3px); background: #ffffff22; }
.btn:active { transform: translateY(0); }
.btn-quiet { background: var(--sheet); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule), 0 8px 20px -16px #13233F66; }
.btn-quiet .btn-go { background: var(--gold-soft); color: var(--gold-ink); }
.btn-quiet:hover { background: #fff; box-shadow: inset 0 0 0 1px #d6c7a6, 0 14px 26px -18px #13233F77; }
.btn-quiet:hover .btn-go { background: var(--marker); }
.link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem 0;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1.5px no-repeat;
    transition: background-size .35s var(--ease);
}
.link .ico { width: 16px; height: 16px; color: var(--gold-ink); transition: transform .35s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position-x: 100%; }
.link:hover .ico { transform: translateX(3px); }
.link-lg { font-size: 1.12rem; letter-spacing: -.01em; }
.link-lg .ico { width: 18px; height: 18px; }

/* ---------- Bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s; }
.bar[data-scrolled="true"], .bar[data-open="true"] {
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--rule);
}
.bar-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; padding-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .7rem; justify-self: start; text-decoration: none; }
.brand-book { width: auto; height: 40px; }
.brand-word { width: auto; height: 27px; }
.bar-links { display: flex; gap: clamp(1.2rem, 2.4vw, 2.2rem); }
.bar-links a, .bar-signin a { position: relative; text-decoration: none; font-size: .98rem; font-weight: 500; color: var(--ink); }
.bar-links a[aria-current="page"] { color: var(--gold-ink); }
.bar-links a::after, .bar-signin a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.bar-links a:hover::after, .bar-signin a:hover::after, .bar-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.bar-signin { justify-self: end; display: flex; align-items: center; gap: 1.1rem; }
.bar-signin-label { font-size: .9rem; color: var(--ink-3); }
.bar-toggle { display: none; }
.bar-sheet { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 clamp(40px, 7vh, 80px); overflow: hidden; }
.hero::before {
    /* The margin rule of an exercise book, in red pen. */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: max(calc(var(--gutter) * .5), calc((100% - 1320px) / 2 - 36px));
    width: 1.5px;
    background: var(--pen);
    opacity: .42;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: repeating-linear-gradient(180deg, transparent 0 55px, #13233F0f 55px 56px);
    -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 30%, #000 64%, transparent 96%);
    mask-image: linear-gradient(180deg, transparent 4%, #000 30%, #000 64%, transparent 96%);
}
.hero-title { font-size: clamp(3.3rem, 9.6vw, 11.2rem); line-height: .92; letter-spacing: -.028em; font-weight: 500; }
.hero-title em, .page-hero h1 em { font-style: italic; color: var(--gold-ink); letter-spacing: -.02em; }
.br-phone { display: none; }
.hl {
    padding: 0 .08em;
    margin: 0 -.04em;
    background: linear-gradient(var(--marker), var(--marker)) 0 78% / 0% 36% no-repeat;
    transition: background-size 1.1s var(--ease);
}
.hl.is-on { background-size: 100% 36%; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; margin-top: clamp(2.6rem, 7vh, 5rem); }
.hero-lede { max-width: 36ch; }

/* Two quiet routes on a hairline: the link, one line on what is inside. Nothing lifts or floats. */
.routes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.routes li { display: grid; align-content: start; gap: .5rem; }
.routes a {
    justify-self: start; display: inline-flex; align-items: center; gap: .55rem; padding: .2rem 0;
    font: 600 1.24rem/1.25 var(--text); letter-spacing: -.014em; color: var(--ink); text-decoration: none;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1.5px no-repeat;
    transition: background-size .35s var(--ease);
}
.routes a .ico { width: 18px; height: 18px; color: var(--gold-ink); transition: transform .35s var(--ease); }
.routes a:hover { background-size: 0 1.5px; background-position-x: 100%; }
.routes a:hover .ico { transform: translateX(3px); }
.routes li + li a:hover .ico { transform: translate(2px, -2px); }
.route-note { max-width: 32ch; font-size: .95rem; line-height: 1.45; color: var(--ink-3); }

/* ---------- Section headers ---------- */
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.6rem, 5vw, 6rem); align-items: end; }
.sec-head h2 { font-size: clamp(2.5rem, 4.8vw, 5.2rem); line-height: .98; }
.sec-head-copy { display: grid; justify-items: start; gap: 1.1rem; }

/* ---------- Fig. 1: a React Flow diagram (nodes, handles, bezier edges, a dot travelling each edge) ---------- */
.makers { padding: clamp(100px, 16vh, 180px) 0 clamp(80px, 12vh, 140px); }
.flow { position: relative; margin: clamp(2.6rem, 6vh, 4rem) 0 0; }
.flow-cap { display: flex; gap: .8rem; align-items: baseline; font-size: .92rem; color: var(--ink-3); }
.flow-cap span { font: italic 500 1.15rem/1 var(--display); color: var(--gold-ink); }
.flow-static { margin-top: 1.4rem; max-width: 60ch; color: var(--ink-2); }
.flow-static ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.flow-static a { font-weight: 600; color: var(--ink); }
.is-live .fn { opacity: 1; translate: 0 0; }
@media (max-width: 860px) {
    .flow-host { height: 1040px; }
    .fn-person { width: 100px; grid-template-columns: 1fr; justify-items: center; gap: .35rem; padding: .7rem .4rem; text-align: center; }
    .fn-person .fn-text b { font-size: .84rem; }
    .fn-group { width: 320px; }
    .fn-hub, .fn-out { width: 260px; }
}

/* ---------- The pixel coach (an accent from the product) ---------- */
.coach-px { position: relative; display: inline-block; overflow: hidden; aspect-ratio: 1; }
.coach-px-strip { position: absolute; top: 0; left: 0; height: 100%; width: calc(var(--n) * 100%); animation: coach-steps var(--dur) steps(var(--n)) infinite; }
.coach-px-strip svg { display: block; width: 100%; height: 100%; }
.coach-px.is-still .coach-px-strip { animation: none; }
.coach-px.is-away .coach-px-strip { animation-play-state: paused; }
@keyframes coach-steps { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- Inside GuideMate: tiles that each show a glimpse ---------- */
.inside { padding: clamp(90px, 14vh, 150px) 0; background: linear-gradient(180deg, var(--paper), var(--desk) 14%, var(--desk) 88%, var(--paper)); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 26px 16px; margin-top: clamp(2.4rem, 5vh, 3.6rem); }
.tile {
    position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 400px; overflow: hidden;
    padding: 1.4rem 1.4rem 1.25rem; border-radius: 18px; background: var(--sheet);
    box-shadow: inset 0 0 0 1px #E4D8BE; text-decoration: none; color: var(--ink);
    transition: transform .4s var(--ease), box-shadow .4s;
}
.tile:hover { box-shadow: inset 0 0 0 1px #d6c7a6, 0 30px 50px -36px #13233F88; }
.tile.t-7 { grid-column: span 7; }
.tile.t-5 { grid-column: span 5; }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tile-icon { display: block; color: var(--ink); }
.tile-icon .ico { display: block; width: 26px; height: 26px; }
.tile-kind { font: 600 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tile h3 { margin-top: 1.1rem; font-size: 1.4rem; line-height: 1.15; }
.tile > p { margin-top: .45rem; max-width: 40ch; font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.tile-scene { position: relative; flex: 1; display: grid; align-items: end; margin-top: 1.2rem; min-height: 170px; }
.tile-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.tile-more .ico { width: 15px; height: 15px; color: var(--gold-ink); transition: transform .35s var(--ease); }
.tile:hover .tile-more .ico { transform: translateX(4px); }
.tint-marker { background: var(--t-marker); }
.tint-sage { background: var(--t-sage); }
.tint-sky { background: var(--t-sky); }
.tint-rose { background: var(--t-rose); }
.tint-sand { background: var(--t-sand); }
.tint-lilac { background: var(--t-lilac); }
.tint-peach { background: var(--t-peach); }
.tint-sea { background: var(--t-sea); }

/* Shared mini-UI pieces. */
.mini, .mini-line, .sc-eval .hand, .sc-notes .lc-h, .player-track, .tile-scene > * { display: block; }
.chat { display: grid !important; }
.mini { border-radius: 12px; background: var(--sheet); box-shadow: 0 0 0 1px #13233F12, 0 18px 30px -24px #13233F77; padding: .9rem 1rem; font-size: .9rem; line-height: 1.45; }
.mini-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding-bottom: .6rem; margin-bottom: .7rem; border-bottom: 1px solid var(--rule); font-size: .76rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); }
.mini-line { height: 7px; border-radius: 4px; background: #13233F14; margin: 7px 0; }
.on .mini-line, .is-on .mini-line { animation: none; }
.hand { font: italic 500 1.02rem/1.3 var(--display); color: var(--pen); }

/* Scene: evaluator. */
.sc-eval { position: relative; }
.sc-eval .mini { padding-right: 4.6rem; }
.sc-eval mark { color: inherit; background: linear-gradient(var(--marker), var(--marker)) 0 85% / 0 44% no-repeat; transition: background-size .8s var(--ease) .3s; }
.sc-eval .score { position: absolute; right: 1rem; top: 2.6rem; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--pen); border-radius: 50%; color: var(--pen); font: italic 600 1.55rem/1 var(--display); transform: rotate(-10deg) scale(.3); opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) 1.1s, opacity .2s 1.1s; }
.sc-eval .score small { position: absolute; bottom: -1.3rem; font: italic 500 .9rem/1 var(--display); white-space: nowrap; }
.sc-eval .hand { margin-top: .6rem; opacity: 0; transform: translateX(-6px); transition: opacity .5s 1.5s, transform .5s var(--ease) 1.5s; }
.is-on .sc-eval mark { background-size: 100% 44%; }
.is-on .sc-eval .score { transform: rotate(-10deg) scale(1); opacity: 1; }
.is-on .sc-eval .hand { opacity: 1; transform: none; }

/* Scene: research question. */
.sc-rq .old { color: var(--ink-3); text-decoration: line-through 2px; text-decoration-color: transparent; transition: text-decoration-color .4s .4s; }
.sc-rq .new { margin-top: .5rem; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .6s 1s, transform .6s var(--ease) 1s; }
.sc-rq .checks { display: flex; flex-wrap: wrap; gap: .3rem .9rem; margin-top: .6rem; font-size: .8rem; color: var(--ink-2); opacity: 0; transition: opacity .5s 1.5s; }
.sc-rq .checks span::before { content: "✓ "; color: var(--pen); font-weight: 700; }
.is-on .sc-rq .old { text-decoration-color: var(--pen); }
.is-on .sc-rq .new { opacity: 1; transform: none; }
.is-on .sc-rq .checks { opacity: 1; }

/* Scene: practice question. */
.sc-pq .q { font-weight: 500; }
.sc-pq .q b { background: linear-gradient(var(--marker), var(--marker)) 0 85% / 100% 40% no-repeat; }
.sc-pq .marks { color: var(--ink-3); white-space: nowrap; }
.sc-pq .tip { margin-top: .7rem; padding-top: .6rem; border-top: 1px dashed var(--rule); opacity: 0; transform: translateY(6px); transition: opacity .5s .7s, transform .5s var(--ease) .7s; }
.sc-pq .tip span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.is-on .sc-pq .tip { opacity: 1; transform: none; }

/* Scene: coaching chat. */
.chat { display: grid; gap: .5rem; }
.bubble { max-width: 86%; padding: .55rem .8rem; border-radius: 12px; font-size: .88rem; line-height: 1.4; opacity: 0; transform: translateY(8px) scale(.97); transition: opacity .35s, transform .4s var(--ease); }
.bubble.me { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.bubble.them { justify-self: start; background: var(--sheet); box-shadow: 0 0 0 1px #13233F14; border-bottom-left-radius: 4px; }
.bubble.typing { display: inline-flex; gap: 4px; padding: .7rem .8rem; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typing 1.1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; } 30% { opacity: .9; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; opacity: 0; transition: opacity .4s; }
.chips span { padding: .32rem .6rem; border-radius: 8px; background: #ffffffb3; box-shadow: inset 0 0 0 1px #13233F1f; font-size: .78rem; font-weight: 500; color: var(--ink-2); }
.is-on .chat .bubble, .is-on .chat .chips { opacity: 1; transform: none; }
.is-on .chat > :nth-child(1) { transition-delay: .2s; }
.is-on .chat > :nth-child(2) { transition-delay: .9s; }
.is-on .chat > :nth-child(3) { transition-delay: 1.7s; }
.is-on .chat > :nth-child(4) { transition-delay: 2.3s; }

/* Scene: notes. */
.sc-notes .mini-line { transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.sc-notes .lc-h { margin: 0 0 .2rem; font: 600 .86rem/1.2 var(--text); color: var(--ink); opacity: 0; transition: opacity .4s; }
.is-on .sc-notes .lc-h { opacity: 1; }
.is-on .sc-notes .mini-line { transform: scaleX(1); }
.sc-notes .mini-line:nth-of-type(2) { width: 82%; }
.sc-notes .mini-line:nth-of-type(3) { width: 64%; }
.sc-notes .mini-line:nth-of-type(5) { width: 74%; }
.is-on .sc-notes .mini-line:nth-of-type(1) { transition-delay: .2s; }
.is-on .sc-notes .mini-line:nth-of-type(2) { transition-delay: .35s; }
.is-on .sc-notes .mini-line:nth-of-type(3) { transition-delay: .5s; }
.is-on .sc-notes .mini-line:nth-of-type(4) { transition-delay: .9s; }
.is-on .sc-notes .mini-line:nth-of-type(5) { transition-delay: 1.05s; }
.sc-notes .test { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-top: .8rem; padding: .55rem .7rem; border-radius: 9px; background: var(--ink); color: var(--paper); font-size: .82rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .5s 1.4s, transform .5s var(--ease) 1.4s; }
.sc-notes .test span { color: var(--marker); font-weight: 500; }
.is-on .sc-notes .test { opacity: 1; transform: none; }

/* Scene: mastery bars. */
.bars { display: grid; gap: .6rem; }
.bar-row-m { display: grid; grid-template-columns: 7.4rem 1fr 2.6rem; align-items: center; gap: .6rem; font-size: .84rem; }
.bar-row-m b { font-weight: 500; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row-m i { height: 8px; border-radius: 5px; background: #13233F12; overflow: hidden; }
.bar-row-m i::after { content: ""; display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--c, var(--ink)); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.bar-row-m em { font-style: normal; font-weight: 600; font-size: .8rem; text-align: right; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.is-on .bar-row-m i::after { transform: scaleX(1); }
.is-on .bar-row-m:nth-child(2) i::after { transition-delay: .12s; }
.is-on .bar-row-m:nth-child(3) i::after { transition-delay: .24s; }
.is-on .bar-row-m:nth-child(4) i::after { transition-delay: .36s; }
.c-ok { --c: var(--gold); }
.c-mid { --c: #7C8BA1; }
.c-weak { --c: var(--pen); }

/* Scene: micromodules. */
.player { display: grid; gap: .55rem; }
.player-screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 10px; background: linear-gradient(135deg, #1b2e52, var(--ink)); color: var(--marker); overflow: hidden; }
.player-screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 21px, #ffffff0a 21px 22px); }
.player-screen span { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ffffff1f; }
.player-screen .ico { width: 20px; height: 20px; margin-left: 3px; }
.player-meta { display: flex; justify-content: space-between; gap: .6rem; font-size: .82rem; font-weight: 600; }
.player-meta span { font-weight: 500; color: var(--ink-3); }
.player-track { height: 5px; border-radius: 3px; background: #13233F14; overflow: hidden; }
.player-track::after { content: ""; display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 3s linear .4s; }
.is-on .player-track::after { transform: scaleX(.42); }

/* Mini concept map (tile). */
.mini-map { width: 100%; height: auto; }
.mini-map line { stroke: #13233F; stroke-opacity: .3; stroke-width: 1.2; }
.mini-map circle { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.4; transition: fill .5s; }
.mini-map circle.w { stroke: var(--pen); stroke-dasharray: 3 3; }
.is-on .mini-map circle.ok { fill: var(--gold); transition-delay: var(--d, 0s); }
.is-on .mini-map circle.w { fill: #F3D3C8; transition-delay: 1.2s; }

.inside-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: clamp(2rem, 5vh, 3rem); }

/* ---------- The marked sheet (agents page) ---------- */
.tools { padding: clamp(40px, 8vh, 90px) 0 clamp(60px, 10vh, 120px); }
.tools-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.tools-steps { list-style: none; margin: 0; padding: 0; }
.tools-step { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s var(--ease); scroll-margin-top: 90px; }
.tools-step.is-active { opacity: 1; }
.step-badge { display: flex; align-items: center; gap: .8rem; }
.step-icon { display: block; color: var(--gold-ink); }
.step-icon .ico { display: block; width: 30px; height: 30px; }
.tools-step h3 { margin: 1.1rem 0 .7rem; font-size: clamp(1.7rem, 2.3vw, 2.25rem); line-height: 1.1; letter-spacing: -.02em; }
.tools-step .lead { max-width: 40ch; }
.ticks { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .6rem; max-width: 42ch; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: start; font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23806020' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.3rem; padding: 0; list-style: none; }
.tags li { padding: .3rem .6rem; border-radius: 7px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.tools-stage .sheet { position: sticky; top: calc(50vh - 230px); }
.tools-step .sheet-inline { display: none; }

.sheet {
    position: relative;
    display: grid;
    padding: clamp(1.4rem, 2.6vw, 2.4rem) clamp(1.4rem, 3vw, 2.8rem) 2.2rem clamp(3.2rem, 6vw, 5.2rem);
    border-radius: 10px;
    background-color: var(--sheet);
    background-image:
        linear-gradient(90deg, transparent calc(clamp(2.2rem, 4.4vw, 3.8rem) - 1px), #D9A497 calc(clamp(2.2rem, 4.4vw, 3.8rem) - 1px), #D9A497 clamp(2.2rem, 4.4vw, 3.8rem), transparent clamp(2.2rem, 4.4vw, 3.8rem)),
        repeating-linear-gradient(180deg, transparent 0 35px, #EAE3D3 35px 36px);
    box-shadow: 0 0 0 1px #E7DCC6, 0 40px 70px -40px #13233F55, 0 12px 24px -18px #13233F33;
}
.sheet-page { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.sheet-page.is-on { opacity: 1; transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; padding-bottom: 1rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--rule); font-size: .86rem; font-weight: 500; color: var(--ink-3); }
.sheet-score { display: inline-flex; align-items: center; gap: .4rem; color: var(--pen); }
.sheet-score b {
    display: grid; place-items: center; width: 48px; height: 48px;
    border: 2px solid var(--pen); border-radius: 50%;
    font: italic 600 1.8rem/1 var(--display);
    transform: rotate(-10deg) scale(.4); opacity: 0;
    transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) 1.5s, opacity .2s 1.5s;
}
.sheet-score > span { font: italic 500 1.2rem/1 var(--display); }
.is-on .sheet-score b { transform: rotate(-10deg) scale(1); opacity: 1; }
.sheet-text { font: 500 clamp(1.3rem, 1.8vw, 1.65rem)/1.5 var(--display); color: var(--ink); }
.sheet-text mark {
    color: inherit;
    background: linear-gradient(var(--marker), var(--marker)) 0 85% / 0 44% no-repeat;
    transition: background-size .9s var(--ease) .3s;
}
.is-on .sheet-text mark { background-size: 100% 44%; }
.is-on .sheet-text mark:nth-of-type(2) { transition-delay: .9s; }
.sheet-text sup, .sheet-notes b {
    display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-left: .15rem;
    border: 1.5px solid var(--pen); border-radius: 50%;
    font: italic 600 .78rem/1 var(--display); color: var(--pen); vertical-align: .55em;
}
.sheet-notes { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.sheet-notes li {
    display: grid; grid-template-columns: 1.7rem 1fr; gap: .5rem; align-items: start;
    font: italic 500 1.24rem/1.35 var(--display); color: var(--pen);
    opacity: 0; transform: translateX(-8px); transition: opacity .5s, transform .5s var(--ease);
}
.sheet-notes b { margin: .2rem 0 0; vertical-align: 0; }
.is-on .sheet-notes li { opacity: 1; transform: none; transition-delay: 1.1s; }
.is-on .sheet-notes li + li { transition-delay: 1.35s; }
.rq-before { font: 500 1.55rem/1.4 var(--display); color: var(--ink-3); }
.rq-before .strike-line { text-decoration: line-through 2px; text-decoration-color: transparent; transition: text-decoration-color .5s .4s; }
.is-on .rq-before .strike-line { text-decoration-color: var(--pen); }
.rq-note { margin: .7rem 0 1.4rem; font: italic 500 1.24rem/1.35 var(--display); color: var(--pen); opacity: 0; transition: opacity .5s .8s; }
.is-on .rq-note { opacity: 1; }
.rq-after { font: 500 clamp(1.5rem, 2.2vw, 2.05rem)/1.25 var(--display); color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .6s .9s, transform .6s var(--ease) .9s; }
.is-on .rq-after { opacity: 1; transform: none; }
.sheet-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1.4rem 0 0; padding: 0; color: var(--ink-2); font-size: .95rem; }
.sheet-tags li::before { content: "✓"; margin-right: .45rem; color: var(--pen); font-weight: 700; }
.pq { font: 500 clamp(1.5rem, 2.15vw, 2rem)/1.3 var(--display); color: var(--ink); }
.pq b { font-weight: 600; background: linear-gradient(var(--marker), var(--marker)) 0 85% / 100% 40% no-repeat; }
.pq-marks { color: var(--ink-3); font-size: .74em; white-space: nowrap; }
.pq-tip { display: grid; gap: .3rem; margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px dashed var(--rule); }
.pq-tip-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.pq-tip p:not(.pq-tip-label) { font: italic 500 1.24rem/1.4 var(--display); color: var(--ink-2); }
.pq-tip b { font-style: normal; color: var(--ink); }

/* ---------- Page hero (inner routes) ---------- */
.page-hero { position: relative; padding: 150px 0 clamp(50px, 8vh, 90px); }
.page-hero h1 { font-size: clamp(3rem, 7.4vw, 8.2rem); line-height: .93; letter-spacing: -.026em; max-width: 14ch; }
.page-hero .lead { max-width: 52ch; margin-top: 2rem; }
.jump { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem 0; font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.jump a:hover { background-size: 100% 1.5px; }
.jump .ji { display: block; color: var(--gold-ink); }
.jump .ji .ico { display: block; width: 19px; height: 19px; }

/* ---------- Coaching Center: choose a coach, watch a session ---------- */
.coaching { padding: clamp(90px, 14vh, 150px) 0; background: var(--desk); }
.coaching-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: clamp(2.4rem, 5vh, 3.4rem); }
.pick { display: grid; gap: 8px; }
.pick button {
    display: grid; grid-template-columns: 38px 1fr; gap: .1rem .8rem; align-items: center; width: 100%;
    padding: .7rem .8rem; border: 0; border-radius: 12px; background: transparent; text-align: left; cursor: pointer;
    font: inherit; color: var(--ink); transition: background .25s, box-shadow .25s;
}
.pick button:hover { background: #ffffff80; }
.pick button[aria-selected="true"] { background: var(--sheet); box-shadow: inset 0 0 0 1px #d6c7a6, 0 14px 26px -22px #13233F88; }
.pick-tag { grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #13233F0f; font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.pick button[aria-selected="true"] .pick-tag { background: var(--ink); color: var(--marker); }
.pick b { font-size: 1rem; }
.pick small { font-size: .86rem; color: var(--ink-3); }
.subjects { margin-top: 1.6rem; font-size: .92rem; line-height: 1.6; color: var(--ink-3); }
.subjects b { color: var(--ink); }
.window { border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px #E2D5B8, 0 40px 70px -44px #13233F88; overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; border-bottom: 1px solid var(--rule); background: #F8F2E3; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2D5B8; }
.window-body { padding: 1.2rem 1.3rem 1.3rem; }
.coach-head { display: flex; align-items: center; gap: .85rem; padding-bottom: .9rem; border-bottom: 1px solid var(--rule); }
.coach-avatar { display: grid; place-items: end center; width: 48px; height: 48px; padding-bottom: 2px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.coach-avatar .coach-px { width: 36px; }
.coach-head b { display: block; font-size: 1.02rem; }
.coach-head small { font-size: .85rem; color: var(--ink-3); }
.session { display: grid; gap: .6rem; min-height: 340px; align-content: start; padding-top: 1rem; }
.session .bubble { max-width: 82%; font-size: .95rem; }
.session .bubble.them { background: var(--paper); }
.session .chips { margin-top: .3rem; }
.session-note { margin-top: .9rem; font-size: .8rem; color: var(--ink-3); }

/* ---------- Learning Center page ---------- */
.lc-loop { padding: clamp(30px, 6vh, 70px) 0 clamp(90px, 14vh, 150px); }
.loop-cards { list-style: none; margin: clamp(2.4rem, 5vh, 3.4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: lc; }
.loop-cards > li { position: relative; display: flex; flex-direction: column; padding: 1.3rem 1.2rem 1.2rem; border-radius: 18px; }
.loop-cards > li:not(:last-child)::after { content: ""; position: absolute; top: 2.3rem; right: -14px; z-index: 1; width: 12px; height: 12px; border-top: 1.6px solid var(--ink-3); border-right: 1.6px solid var(--ink-3); transform: rotate(45deg); }
.loop-cards .step-n { font: italic 500 1.6rem/1 var(--display); color: var(--gold-ink); }
.loop-cards h3 { margin-top: .6rem; font-size: 1.25rem; }
.loop-cards p { margin-top: .4rem; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }
.loop-cards .mini { margin-top: auto; }
.loop-cards .tile-scene { margin-top: 1.2rem; min-height: 0; flex: none; }
.split { padding: clamp(90px, 14vh, 150px) 0; }
.split-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-grid h2 { font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: 1; }
.split-grid .lead { margin-top: 1.4rem; max-width: 42ch; }
.split-alt { background: var(--desk); }
.analyze { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.analyze section { padding: 1rem; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.analyze h4 { display: flex; align-items: center; gap: .5rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.analyze h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.analyze ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .55rem; }
.analyze li { display: grid; gap: .3rem; font-size: .88rem; font-weight: 500; }
.analyze li i { height: 6px; border-radius: 4px; background: #13233F12; overflow: hidden; }
.analyze li i::after { content: ""; display: block; height: 100%; width: var(--v); background: var(--c); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.is-on .analyze li i::after { transform: scaleX(1); }
.modules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.modules li { display: grid; grid-template-columns: 54px 1fr auto; gap: 1rem; align-items: center; padding: .8rem; border-radius: 14px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.modules .thumb { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 11px; background: linear-gradient(135deg, #1b2e52, var(--ink)); color: var(--marker); }
.modules .thumb .ico { width: 22px; height: 22px; }
.modules b { display: block; font-size: 1rem; }
.modules small { font-size: .86rem; color: var(--ink-3); }
.modules em { font-style: normal; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- GuideMate Brain: the navy chapter ---------- */
.loop { background: var(--ink); color: var(--paper); }
.loop h2, .loop h3 { color: var(--paper); }
.loop-track { height: 420vh; }
.loop-stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding-top: 76px; overflow: hidden; }
.loop-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.loop-copy h2 { font-size: clamp(2.3rem, 3.8vw, 4rem); line-height: 1; }
.loop-lede { margin-top: 1rem; max-width: 38ch; color: #C9D1DD; font-size: 1.05rem; }
.loop-steps { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; }
.loop-steps li { position: relative; display: grid; grid-template-columns: 2.2rem 1fr; gap: .4rem; padding: .85rem 0 .95rem; border-top: 1px solid #ffffff1f; opacity: .38; transition: opacity .45s var(--ease); }
.loop-steps li.is-active { opacity: 1; }
.loop-num { font: italic 500 1.5rem/1.1 var(--display); color: var(--gold); }
.loop-steps h3 { font-size: 1.12rem; line-height: 1.3; }
.loop-steps p { overflow: hidden; margin-top: 0; font-size: .95rem; line-height: 1.5; color: #C9D1DD; max-height: 0; transition: max-height .5s var(--ease), margin .5s var(--ease); }
.loop-steps li.is-active p { max-height: 6em; margin-top: .3rem; }
.loop-bar { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.loop-more { margin-top: 1.4rem; }
.loop-more .link { color: var(--paper); }
.loop-more .link .ico { color: var(--gold); }

.brain { margin: 0; padding: clamp(1rem, 1.6vw, 1.4rem); border-radius: 18px; background: #0F1D36; box-shadow: inset 0 0 0 1px #ffffff14; }
.brain-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .1rem .3rem .9rem; border-bottom: 1px solid #ffffff17; font-size: .86rem; font-weight: 500; color: #AEB8C7; }
.brain-head .live { display: inline-flex; align-items: center; gap: .5rem; }
.brain-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px #C39A4C33; }
.brain-count { display: inline-flex; align-items: baseline; gap: .35rem; }
.brain-count b { font: 600 1.6rem/1 var(--display); color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.brain-map { display: block; width: 100%; height: auto; max-height: calc(100svh - 230px); overflow: visible; margin-top: .4rem; background-image: radial-gradient(#ffffff12 1px, transparent 1.2px); background-size: 22px 22px; }
.brain-map .edge { fill: none; stroke: #ffffff; stroke-width: 1.3; }
.brain-map .edge-label { font: italic 500 13.5px var(--display); fill: #9FAABB; paint-order: stroke; stroke: #0F1D36; stroke-width: 6px; stroke-linejoin: round; text-anchor: middle; }
.brain-map .pulse { fill: none; stroke: var(--gold); stroke-width: 2; }
.brain-map .node-box { stroke-width: 1.3; }
.brain-map .node-label { font: 600 13.5px var(--text); text-anchor: middle; dominant-baseline: central; letter-spacing: -.01em; }
.brain-map .node-dot { stroke: none; }
.brain-map .note { font: italic 500 14.5px var(--display); fill: var(--pen-night); text-anchor: middle; }
.brain-key { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .5rem .3rem 0; font-size: .84rem; color: #AEB8C7; }
.brain-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: .5rem; border-radius: 3px; vertical-align: -.05em; }
.k-new::before { border: 1.3px solid #ffffff88; }
.k-ok::before { background: var(--gold); }
.k-weak::before { border: 1.3px dashed var(--pen-night); background: #E38A7233; }

/* ---------- Coach: what it won't do, what it does ---------- */
.coach { padding: clamp(110px, 18vh, 200px) 0 clamp(90px, 14vh, 160px); }
.coach-title { max-width: 18ch; font-size: clamp(2.6rem, 5.8vw, 6.2rem); line-height: .98; }
.strike { position: relative; display: inline-block; color: var(--ink-3); }
.strike::after {
    content: ""; position: absolute; left: -2%; right: -2%; top: 57%; height: .055em; min-height: 3px; margin-top: -.0275em;
    background: var(--pen); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .6s var(--ease) .1s;
}
.strike.is-struck::after { transform: scaleX(1); }
.slips { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.6rem, 5vw, 5rem); margin-top: clamp(2.6rem, 7vh, 4.4rem); }
.slips-label { margin-bottom: 1rem; font: 600 .78rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.slips ul { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid #DCCFB3; }
.slip {
    position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 1rem; align-items: start;
    padding: 1.05rem 0; border-bottom: 1px solid #DCCFB3;
    font-size: 1.05rem; line-height: 1.45; color: var(--ink-2);
}
.slip b { color: var(--ink); }
.slip-mark { display: block; padding-top: .15rem; color: var(--gold-ink); }
.slip-mark .ico { display: block; width: 20px; height: 20px; }
.slips-wont .slip { color: var(--ink-3); }
.slips-wont .slip-mark { color: var(--pen); }
.slips-wont .slip span:last-child { position: relative; justify-self: start; }
.slips-wont .slip span:last-child::after { content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; border-radius: 2px; background: var(--pen); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.slips-wont.is-on .slip span:last-child::after { transform: scaleX(1); }
.slips-wont.is-on .slip:nth-child(2) span:last-child::after { transition-delay: .25s; }
.slips-wont.is-on .slip:nth-child(3) span:last-child::after { transition-delay: .5s; }

/* ---------- Apps ---------- */
.apps { padding: clamp(90px, 14vh, 150px) 0; background: var(--desk); overflow: hidden; }
.apps-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.apps-copy h2 { font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: .98; }
.apps-copy > .lead { margin-top: 1.4rem; max-width: 46ch; }
.feats { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 1px solid #DCCFB3; }
.feats li { display: grid; grid-template-columns: 22px 1fr; gap: .85rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid #DCCFB3; font-size: .98rem; font-weight: 500; line-height: 1.3; }
.feats .fi { display: block; color: var(--gold-ink); }
.feats .fi .ico { display: block; width: 20px; height: 20px; }
.credits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 1.4rem 0 0; }
.credits div { position: relative; padding: .9rem 1rem .85rem; border-radius: 12px; background: var(--ink); color: var(--paper); overflow: hidden; }
.credits div::before, .credits div::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--desk); }
.credits div::before { left: -7px; }
.credits div::after { right: -7px; }
.credits dt { font: 500 2.4rem/1 var(--display); letter-spacing: -.02em; color: var(--marker); font-variant-numeric: lining-nums; }
.credits dd { margin: .3rem 0 0; font-size: .84rem; line-height: 1.3; color: #C9D1DD; }
.credits-note { margin-top: .8rem; font-size: .9rem; color: var(--ink-3); }
.apps-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 2rem; }
.store {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: 0 1.1rem 0 .9rem;
    border-radius: 12px; background: #0B1424; color: #fff;
    text-decoration: none; transition: transform .25s var(--ease), background .25s;
}
.store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store span { display: grid; font: 600 1.02rem/1.05 var(--text); }
.store small { font: 500 .68rem/1.2 var(--text); color: #C9D1DD; letter-spacing: .02em; }
.store:hover { background: #1b2e52; }
.apps-phone { position: relative; margin: 0; justify-self: center; padding: 30px; }
.apps-phone::before {
    /* A halftone field in the brand's ink and gold, behind the phone. */
    content: ""; position: absolute; inset: -6% -30%; z-index: 0;
    background:
        radial-gradient(circle, #C39A4C 1.6px, transparent 1.8px) 0 0 / 13px 13px,
        radial-gradient(circle, #13233F 1.3px, transparent 1.5px) 6.5px 6.5px / 13px 13px;
    -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
    opacity: .55;
}
.phone { position: relative; z-index: 1; width: min(320px, 70vw); padding: 10px; border-radius: 50px; background: var(--ink); box-shadow: 0 50px 80px -40px #13233F88, 0 0 0 1px #0b1529; }
.phone-screen { overflow: hidden; border-radius: 40px; background: #FAF1E0; }
.phone-status { position: relative; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 26px; font: 600 .8rem/1 var(--text); color: var(--ink); }
.phone-status::after { content: ""; position: absolute; left: 50%; top: 11px; width: 88px; height: 25px; margin-left: -44px; border-radius: 20px; background: #0B1424; }
.phone-status i { width: 38px; height: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 70%, #13233F44 70%); }
.phone-screen img { width: 100%; padding: 4px 6px 0; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(90px, 14vh, 150px) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); }
.faq-grid h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1.02; position: sticky; top: 110px; align-self: start; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); interpolate-size: allow-keywords; }
.faq-list summary {
    display: grid; grid-template-columns: 1fr 22px; gap: 1.5rem; align-items: center;
    padding: 1.35rem 0; cursor: pointer; list-style: none;
    font: 600 clamp(1.05rem, 1.3vw, 1.2rem)/1.35 var(--text); letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: ""; width: 22px; height: 22px;
    background:
        linear-gradient(var(--gold-ink), var(--gold-ink)) center / 14px 1.6px no-repeat,
        linear-gradient(var(--gold-ink), var(--gold-ink)) center / 1.6px 14px no-repeat;
    transition: transform .35s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list details p { max-width: 62ch; padding-bottom: 1.5rem; color: var(--ink-2); }

/* ---------- Close ---------- */
.close { padding: clamp(110px, 18vh, 200px) 0 clamp(100px, 16vh, 170px); border-top: 1px solid var(--rule); }
.close-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.close-title { font-size: clamp(3.3rem, 8.4vw, 9.4rem); line-height: .92; letter-spacing: -.028em; }
.close-copy { max-width: 40ch; margin-top: 2rem; }
.close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2rem; }
.close-logo { justify-self: end; width: min(100%, 300px); }

/* ---------- Footer ---------- */
.foot { padding: 64px 0 36px; background: var(--desk); border-top: 1px solid var(--rule); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 2rem; }
.foot-brand p { margin-top: 1rem; max-width: 34ch; color: var(--ink-2); font-size: .95rem; }
.foot-col { display: grid; align-content: start; gap: .5rem; }
.foot-col h3 { margin-bottom: .3rem; font: 600 .76rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.foot-col a { font-size: .98rem; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot-legal { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); font-size: .88rem; color: var(--ink-3); }

/* ---------- Practitioners page ---------- */
.about-hero { min-height: 86svh; }
.about-hero h1 { font-size: clamp(3.2rem, 8.4vw, 9.6rem); line-height: .92; letter-spacing: -.026em; max-width: 12ch; }
.about-hero h1 em { color: var(--gold-ink); }
.about-hero .hero-lede { margin-top: 2.4rem; max-width: 50ch; font-size: 1.15rem; color: var(--ink-2); }
.mission { padding: clamp(60px, 10vh, 110px) 0 clamp(90px, 14vh, 150px); }
.mission-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }
.mission h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); line-height: 1.02; }
.prose { display: grid; gap: 1.2rem; color: var(--ink-2); font-size: 1.12rem; }
.roles { padding: clamp(90px, 14vh, 150px) 0; background: var(--desk); }
.roles h2 { font-size: clamp(2.4rem, 4.6vw, 4.8rem); line-height: 1; max-width: 16ch; }
.roles-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(3rem, 7vh, 5rem) 0 0; padding: 0; }
.roles-list li { padding: 1.4rem; border-radius: 16px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.roles-list .role-icon { display: block; color: var(--gold-ink); }
.roles-list .role-icon .ico { display: block; width: 30px; height: 30px; }
.roles-list h3 { margin-top: 1.1rem; font-size: 1.4rem; }
.roles-list p { margin-top: .5rem; color: var(--ink-2); }

/* Without scroll choreography the Brain chapter is a plain, complete section. */
.loop.is-static .loop-track { height: auto; }
.loop.is-static .loop-stage { position: relative; height: auto; padding: 110px 0 100px; }
.loop.is-static .loop-steps li { grid-area: auto; opacity: 1; }
.loop.is-static .loop-steps p { max-height: none; margin-top: .3rem; }
.loop.is-static .brain-map { max-height: none; }

/* ---------- Motion states (only when motion is allowed and the libraries loaded) ---------- */
.motion [data-rise] { opacity: 0; transform: translateY(26px); }
/* The phone drifts on every scroll frame while it is on screen: as a hinted layer it is only moved,
   instead of being re-rasterised at each new sub-pixel offset. */
.motion [data-phone] { will-change: transform; }
.motion [data-split] { visibility: hidden; }
.motion [data-split].is-split { visibility: visible; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1180px) {
    .bento .tile, .bento .tile.t-7, .bento .tile.t-5 { grid-column: span 6; }
    .loop-cards { grid-template-columns: 1fr 1fr; }
    .loop-cards > li:nth-child(2)::after { display: none; }
    .routes { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
    .bar-links { display: none; }
    .bar-row { grid-template-columns: 1fr auto; }
}

@media (max-width: 860px) {
    body { font-size: 1rem; }
    .bar-row { height: 64px; }
    .bar-signin { display: none; }
    .brand-book { height: 34px; }
    .brand-word { height: 23px; }
    .bar-toggle {
        display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .2rem 0 .6rem;
        border: 0; background: none; color: var(--ink); font: 600 1rem/1 var(--text); cursor: pointer;
    }
    .bar-toggle-icon { position: relative; width: 18px; height: 10px; }
    .bar-toggle-icon i { position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
    .bar-toggle-icon i:first-child { top: 0; }
    .bar-toggle-icon i:last-child { top: 8px; }
    .bar[data-open="true"] .bar-toggle-icon i:first-child { top: 4px; transform: rotate(45deg); }
    .bar[data-open="true"] .bar-toggle-icon i:last-child { top: 4px; transform: rotate(-45deg); }
    .bar-sheet { display: block; overflow: hidden; padding: 0 var(--gutter); }
    .bar-sheet[hidden] { display: none; }
    .bar-sheet nav { display: grid; padding: .4rem 0 1rem; }
    .bar-sheet nav a { padding: .7rem 0; font: 500 2rem/1.1 var(--display); text-decoration: none; border-bottom: 1px solid var(--rule); }
    .bar-sheet-signin { display: grid; gap: .6rem; padding: .4rem 0 1.6rem; }
    .bar-sheet-signin .btn { justify-content: center; padding: 0 1.2rem; }
    html[data-menu="open"] { overflow: hidden; }

    .hero { padding-top: 104px; }
    .hero::before { left: 10px; }
    .hero-title { font-size: clamp(2.6rem, 11.4vw, 5.4rem); }
    .br-phone { display: inline; }
    .hero-foot { grid-template-columns: 1fr; gap: 1.8rem; }
    .sec-head, .apps-grid, .faq-grid, .close-grid, .mission-grid, .split-grid, .coaching-grid, .slips { grid-template-columns: 1fr; }
    .faq-grid h2 { position: static; }
    .bento .tile, .bento .tile.t-7, .bento .tile.t-5 { grid-column: 1 / -1; min-height: 0; }
    .tile-scene { min-height: 0; }
    .loop-cards { grid-template-columns: 1fr; }
    .loop-cards > li::after { display: none; }
    .analyze { grid-template-columns: 1fr; }
    .page-hero { padding-top: 120px; }

    /* The sheet sits inside each step on phone. */
    .tools-grid { grid-template-columns: 1fr; }
    .tools-stage { display: none; }
    .tools-step { min-height: 0; padding: 2.4rem 0; opacity: 1; }
    .tools-step .sheet-inline { display: grid; margin-top: 1.6rem; padding-left: 2.6rem; }
    .sheet { background-image:
        linear-gradient(90deg, transparent 1.6rem, #D9A497 1.6rem, #D9A497 calc(1.6rem + 1px), transparent calc(1.6rem + 1px)),
        repeating-linear-gradient(180deg, transparent 0 35px, #EAE3D3 35px 36px); }
    .sheet-head { flex-wrap: wrap; font-size: .82rem; }

    /* The Brain chapter keeps its pin; only the active step is shown above the map. */
    .loop-track { height: 440vh; }
    .loop-stage { padding-top: 72px; align-items: flex-start; }
    .loop-grid { grid-template-columns: 1fr; gap: .8rem; }
    .loop-copy h2 { font-size: 1.9rem; }
    .loop-lede, .loop-more { display: none; }
    .loop-steps { margin-top: .8rem; }
    .loop-steps li { grid-area: 1 / 1; opacity: 0; transition: opacity .35s; }
    .loop-steps li.is-active { opacity: 1; }
    .loop-steps p { max-height: none !important; margin-top: .3rem; font-size: .92rem; }
    .brain { padding: .8rem; }
    .brain-head { font-size: .78rem; }
    .brain-map { max-height: 50svh; }
    .brain-map .node-label { font-size: 17px; }
    .brain-map .note { font-size: 18px; }
    .brain-map .edge-label { font-size: 15px; }
    .brain-key { font-size: .8rem; }

    .coach-title { font-size: clamp(2.4rem, 10vw, 3.4rem); }
    .feats { grid-template-columns: 1fr; }
    .credits dt { font-size: 2rem; }
    .apps-phone { order: -1; }
    .phone { width: min(270px, 70vw); }
    .close-logo { justify-self: start; width: 180px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .roles-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation-duration: .01ms !important; }
    .tools-step { opacity: 1; }
    .hl { background-size: 100% 36%; }
    .strike::after { transform: scaleX(1); }
    .coach-px-strip { animation: none !important; }
}

/* ---------- Learning Center mini-scenes ---------- */
.upload { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; padding: .45rem .6rem; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.upload .ico { width: 15px; height: 15px; color: var(--gold-ink); }
.qrow { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .42rem 0; border-bottom: 1px dashed var(--rule); font-size: .86rem; opacity: 0; transform: translateX(-6px); transition: opacity .4s, transform .4s var(--ease); }
.qrow i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; }
.qrow i .ico { width: 14px; height: 14px; }
.qrow i.ok { background: var(--gold-soft); color: var(--gold-ink); }
.qrow i.x { background: #A63A2A14; color: var(--pen); }
.is-on .qrow { opacity: 1; transform: none; }
.is-on .qrow:nth-of-type(2) { transition-delay: .25s; }
.is-on .qrow:nth-of-type(3) { transition-delay: .5s; }
.is-on .qrow:nth-of-type(4) { transition-delay: .75s; }
.is-on .qrow:nth-of-type(5) { transition-delay: 1s; }
.inserted { display: block; margin-top: .6rem; padding: .5rem .65rem; border-radius: 8px; background: var(--t-marker); box-shadow: inset 2px 0 0 var(--pen); font-size: .84rem; font-weight: 600; opacity: 0; transform: scale(.96); transform-origin: left; transition: opacity .5s .7s, transform .5s var(--ease) .7s; }
.sc-adapt .hand { display: block; margin-top: .4rem; font-size: .98rem; opacity: 0; transition: opacity .5s 1.2s; }
.is-on .inserted, .is-on .sc-adapt .hand { opacity: 1; transform: none; }
.mastered { display: block; margin-top: .7rem; padding: .5rem .65rem; border-radius: 8px; background: var(--ink); color: var(--marker); font-size: .82rem; font-weight: 600; opacity: 0; transition: opacity .5s 1s; }
.is-on .mastered { opacity: 1; }
.loop-link { margin-top: 2rem; }
.kicker + h1, .kicker + h2 { margin-top: 1rem; }
.split .ticks { margin-top: 1.6rem; }

.nw { white-space: nowrap; }

/* ---------- Curiosity Center: its own chapter, an app window that opens on the product's real empty state ---------- */
.curious { padding: clamp(100px, 16vh, 170px) 0; background: linear-gradient(180deg, var(--paper), #E4EEEA 18%, #E4EEEA 82%, var(--paper)); }
.curious .sec-head h2 { max-width: 16ch; }
.cc-app { margin-top: clamp(2.4rem, 5vh, 3.4rem); overflow: hidden; border-radius: 20px; background: var(--sheet); box-shadow: 0 0 0 1px #13233F14, 0 50px 90px -60px #13233Fa6; }
.cc-app > .window-bar { display: flex; align-items: center; gap: .8rem; padding: .8rem 1.1rem; border-bottom: 1px solid var(--rule); font-size: .86rem; font-weight: 600; color: var(--ink-3); }
.cc-new { margin-left: auto; padding: .35rem .7rem; border: 0; border-radius: 8px; background: var(--t-sea); font: 600 .84rem/1 var(--text); color: var(--ink); cursor: pointer; }
.cc-new:hover { background: #D2E3DC; }
.cc-empty { display: grid; justify-items: center; gap: .6rem; padding: clamp(2.6rem, 7vh, 4.6rem) clamp(1.2rem, 4vw, 3rem) clamp(2.2rem, 6vh, 3.6rem); text-align: center; }
.cc-bulb { display: block; color: var(--gold-ink); }
.cc-bulb .ico { display: block; width: 34px; height: 34px; }
.cc-empty h3 { font: 500 clamp(2rem, 3.4vw, 2.9rem)/1.05 var(--display); letter-spacing: -.015em; }
.cc-empty > p { max-width: 46ch; color: var(--ink-3); }
.cc-window { overflow: hidden; }
.cc-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); gap: 1.2rem; padding: 1.2rem; }
.cc-body-none { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.cc-chat { display: grid; align-content: start; gap: .8rem; }
.cc-chat .bubble { margin: 0; }
.cc-chat .bubble.me { justify-self: end; max-width: 92%; }
.cc-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .84rem; color: var(--ink-3); }
.cc-stages li { display: flex; gap: .55rem; align-items: center; opacity: .35; transition: opacity .3s; }
.cc-stages li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
.cc-stages li.is-run { opacity: 1; color: var(--ink); }
.cc-stages li.is-run::before { box-shadow: inset 0 0 0 1.5px var(--gold); border-top-color: transparent; animation: cc-spin .8s linear infinite; background: conic-gradient(var(--gold) 0 25%, transparent 25%); }
.cc-stages li.is-done { opacity: .8; }
.cc-stages li.is-done::before { box-shadow: none; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%2313233F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
@keyframes cc-spin { to { rotate: 360deg; } }
.cc-answer { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.cc-answer.is-on { opacity: 1; transform: none; }
.cc-answer h4 { font: 600 1.08rem/1.25 var(--text); }
.cc-answer > p:not(.cc-source) { margin-top: .4rem; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.cc-source { display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem; font-size: .8rem; font-weight: 600; color: var(--gold-ink); }
.cc-source .ico { width: 15px; height: 15px; }
.cc-answer .chips { margin-top: .8rem; }
.cc-panel { margin: 0; display: grid; align-content: start; gap: .6rem; opacity: .25; transition: opacity .5s; }
.cc-panel.is-on { opacity: 1; }
.cc-panel figcaption { display: flex; justify-content: space-between; gap: .6rem; font-size: .8rem; color: var(--ink-3); }
.cc-panel figcaption b { color: var(--ink); font-weight: 600; }
.cc-panel > svg, .cc-screen { display: block; width: 100%; aspect-ratio: 480 / 300; border-radius: 12px; background: #F8F3E8; box-shadow: inset 0 0 0 1px var(--rule); }
.cc-screen { position: relative; overflow: hidden; background: #FBF8F1; }
.cc-screen svg { display: block; width: 100%; height: 100%; }
.cam { transform-origin: 0 0; transition: transform 1.5s cubic-bezier(.45, 0, .2, 1); }
.cc-caption { position: absolute; left: 50%; bottom: 10px; max-width: 88%; margin: 0; padding: .35rem .6rem; border-radius: 6px; translate: -50% 0; background: #13233Fe6; color: #fff; font-size: .76rem; line-height: 1.35; text-align: center; opacity: 0; transition: opacity .3s; }
.cc-caption.is-on { opacity: 1; }
.cc-controls { display: flex; align-items: center; gap: .7rem; }
.cc-play { display: grid; grid-auto-flow: column; place-content: center; gap: 3px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--ink); color: var(--marker); cursor: pointer; }
.cc-play i { width: 3px; height: 11px; border-radius: 1px; background: currentColor; }
.cc-play .ico { width: 14px; height: 14px; }
.cc-track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #13233F18; overflow: hidden; }
.cc-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--gold); }
.cc-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.2rem; padding: .8rem 1.2rem 1rem; border-top: 1px solid var(--rule); font-size: .86rem; color: var(--ink-3); }
.cc-note .link { font-size: .92rem; }

/* The diagram: lines draw, then labels arrive. In the video everything is already drawn; the camera moves. */
.cc-panel svg .d-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cc-panel svg .d-axis { stroke-opacity: .45; }
.cc-panel svg .d-lens { fill: #DFE6EE; fill-opacity: .7; stroke: #6F8FB3; }
.cc-panel svg .d-ray { stroke: var(--gold); stroke-width: 1.8; }
.cc-panel svg .d-img { stroke: var(--pen); stroke-width: 2; }
.cc-panel svg .d-curve { stroke-width: 2.2; }
.cc-panel svg .d-pen { stroke: var(--pen); stroke-width: 4; }
.cc-panel svg .d-goldline { stroke: var(--gold); stroke-width: 4; }
.cc-panel svg .d-guide { fill: none; stroke: var(--ink); stroke-opacity: .35; stroke-dasharray: 3 4; }
.cc-panel svg .d-mem { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 7 5; }
.cc-panel svg .d-arrow { stroke: var(--pen); stroke-width: 2.4; }
.cc-panel svg .d-pt { fill: var(--ink); }
.cc-panel svg .d-pt-o { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.6; }
.cc-panel svg .d-w { fill: #7FA2C7; }
.cc-panel svg .d-s { fill: var(--gold); fill-opacity: .85; }
.cc-panel svg .d-label { font: 600 13px var(--text); fill: var(--ink-2); }
.cc-panel svg .d-small { font-size: 11px; font-weight: 500; fill: var(--ink-3); }
.cc-panel svg .d-hand { font: italic 500 15px var(--display); fill: var(--gold-ink); }
.cc-panel svg .d-hand-pen { fill: var(--pen); }
.cc-diagram .d-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cc-diagram .d-label, .cc-diagram .d-hand, .cc-diagram .d-guide, .cc-diagram .d-mem, .cc-diagram .d-pt, .cc-diagram .d-w, .cc-diagram .d-s { opacity: 0; }
.cc-diagram.is-on .d-line { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease) calc(var(--i, 0) * 90ms); }
.cc-diagram.is-on :is(.d-label, .d-hand, .d-guide, .d-mem, .d-pt, .d-w, .d-s) { opacity: 1; transition: opacity .5s calc(400ms + var(--i, 0) * 30ms); }
.cc-diagram.is-on .d-pen, .cc-diagram.is-on .d-goldline { transition-delay: calc(var(--i, 0) * 90ms + 300ms); }
.cc-video .is-hl.d-line, .cc-video .is-hl.d-mem { stroke-width: 3.2; filter: drop-shadow(0 0 4px #C39A4C88); }
.cc-video .is-hl.d-label, .cc-video .is-hl.d-hand { fill: var(--pen); }
.cc-video .is-hl.d-pt { fill: var(--gold); stroke: var(--ink); }
.cc-video .d-line, .cc-video .d-label, .cc-video .d-hand, .cc-video .d-mem { transition: stroke-width .4s, fill .4s; }

@media (max-width: 1080px) {
    .cc-body { grid-template-columns: 1fr 1fr; }
    .cc-chat { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .cc-body { grid-template-columns: 1fr; padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    .cam { transition: none; }
}
.cc-chat .bubble { opacity: 1; transform: none; }
.cc-chat .bubble.them { background: var(--paper); }
.cc-answer.is-on .chips { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cc-terms p, .cc-transcript-label { margin: .3rem 0 .45rem; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cc-terms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cc-terms li { padding: .3rem .6rem; border-radius: 8px; background: var(--t-sea); font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.cc-transcript { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .15rem; counter-reset: cue; }
.cc-transcript li { counter-increment: cue; display: grid; grid-template-columns: 2.4rem 1fr; padding: .3rem .4rem; border-radius: 6px; font-size: .82rem; line-height: 1.4; color: var(--ink-3); transition: background .3s, color .3s; }
.cc-transcript li::before { content: "0:" counter(cue, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--ink-3); opacity: .7; }
.cc-transcript li:nth-child(1)::before { content: "0:00"; }
.cc-transcript li:nth-child(2)::before { content: "0:12"; }
.cc-transcript li:nth-child(3)::before { content: "0:24"; }
.cc-transcript li:nth-child(4)::before { content: "0:37"; }
.cc-transcript li.is-now { background: var(--t-marker); color: var(--ink); }
@media (max-width: 860px) {
        .cc-caption { font-size: .7rem; bottom: 6px; }
}
.curious .sec-head h2 { max-width: 22ch; font-size: clamp(2.4rem, 4.2vw, 4.4rem); }
.cc-app [hidden] { display: none !important; }

/* Curiosity empty state, on ChatGPT's base layout: a centred question, a rounded composer island
   (text on top, tools and a round send button below), short suggestions under it, a fine-print line. */
.cc-empty { gap: 0; padding: clamp(3.6rem, 10vh, 6.4rem) clamp(1rem, 4vw, 3rem) clamp(1.6rem, 4vh, 2.4rem); }
.cc-empty h3 { margin-bottom: clamp(1.4rem, 3.4vh, 2rem); font: 500 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--display); }
.cc-ask { display: grid; width: min(100%, 760px); padding: .7rem .7rem .6rem 1.15rem; border-radius: 28px; background: #FFFEFB; text-align: left;
    box-shadow: 0 0 0 1px #13233F1C, 0 6px 22px -8px #13233F2E; transition: box-shadow .25s; }
.cc-ask:focus-within { box-shadow: 0 0 0 1px #13233F33, 0 10px 30px -10px #13233F40; }
.cc-ask input { width: 100%; height: 48px; padding: 0 .2rem; border: 0; background: none; font: 400 clamp(1rem, 1.35vw, 1.12rem)/1 var(--text); color: var(--ink); outline: none; }
.cc-ask input::placeholder { color: #8A93A0; }
.cc-tools { display: flex; align-items: center; gap: .35rem; }
.cc-tool { display: inline-flex; align-items: center; gap: .4rem; height: 36px; padding: 0 .6rem; border-radius: 18px; font-size: .88rem; font-weight: 500; color: var(--ink-3); }
.cc-tool:first-child { width: 36px; padding: 0; justify-content: center; margin-left: -.55rem; }
.cc-tool .ico { width: 19px; height: 19px; }
.cc-send { display: grid; place-items: center; width: 36px; height: 36px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: #13233F33; color: #FFFEFB; cursor: pointer; transition: background .25s; }
.cc-send.is-ready { background: var(--ink); }
.cc-send .ico { width: 18px; height: 18px; }
.cc-send:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.cc-starters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; width: min(100%, 760px); margin-top: 1.1rem; }
.cc-starters button { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1rem; border: 1px solid #13233F1F; border-radius: 20px; background: none; cursor: pointer; font: 500 .9rem/1 var(--text); color: var(--ink-2, var(--ink)); transition: background .2s; }
.cc-starters button .ico { width: 17px; height: 17px; color: var(--gold-ink); }
.cc-starters button:hover { background: #13233F0A; }
.cc-starters button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 860px) {
    .cc-tool-label { display: none; }
    .cc-starters button { height: 38px; font-size: .86rem; }
}
/* Fig. 1 hub: the coach at the centre. */
/* Bar: sign-in as a tidy group set off by a hairline. */
.bar-signin { gap: 0; }
.bar-signin-label { padding-right: 1rem; margin-right: 1rem; border-right: 1px solid #13233F26; font-size: .86rem; letter-spacing: .01em; line-height: 1.1; }
.bar-signin a + a { margin-left: 1.4rem; }

/* Fig. 1 as an exploded view (after Apple Vision Pro's "inside out"): GuideMate is a closed slab that
   pulls apart into its layers as you scroll. Real CSS 3D plates with thickness; site/xv.js drives it. */
.xv-track { display: none; }
.xv.is-xv .xv-track { display: block; height: 520vh; margin-top: .4rem; }
.xv.is-xv .flow-static { display: none; }
.xv.is-xv.is-still .xv-track { height: auto; }
.xv-pin { position: sticky; top: 76px; height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 34%) 1fr; align-items: stretch; }
.xv.is-still .xv-pin { position: relative; top: 0; height: 820px; }
.xv-stage { position: relative; perspective: 2600px; perspective-origin: 50% 40%; }
.xv-stack { position: absolute; left: 50%; top: 50%; width: 600px; height: 300px; margin: -150px 0 0 -300px; transform-style: preserve-3d; will-change: transform; }
.xv-plate { --t: 16px; position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.xv-face { position: absolute; inset: 0; transform: translateZ(var(--t)); display: grid; align-content: end; gap: 12px; padding: 22px 26px; border-radius: 22px;
    background: linear-gradient(160deg, #FFFDF7, #F4EBD8); box-shadow: inset 0 0 0 1px #FFFFFFB0, inset 0 -1px 0 #E2D3B0; backface-visibility: hidden; }
.xv-edge { position: absolute; display: block; background: #D9C59A; }
.xv-e-front { left: 9px; right: 9px; top: 100%; height: var(--t); transform-origin: top; transform: rotateX(90deg); background: linear-gradient(#E3CF9F, #C9AE72); }
.xv-e-back { left: 9px; right: 9px; bottom: 100%; height: var(--t); transform-origin: bottom; transform: rotateX(-90deg); }
.xv-e-right { top: 9px; bottom: 9px; left: 100%; width: var(--t); transform-origin: left; transform: rotateY(-90deg); background: linear-gradient(90deg, #D8C08A, #BFA266); }
.xv-e-left { top: 9px; bottom: 9px; right: 100%; width: var(--t); transform-origin: right; transform: rotateY(90deg); }
.xv-name { margin: 0; font: 600 .82rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.xv-row { display: grid; gap: 10px; }
.xv-3 { grid-template-columns: repeat(3, 1fr); }
.xv-2 { grid-template-columns: repeat(2, 1fr); }
.xv-learn { grid-template-columns: repeat(6, 1fr); }
.xv-learn .xv-tile { grid-column: span 2; }
.xv-learn .xv-tile:nth-child(4) { grid-column: 2 / span 2; }
.xv-tile { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 14px; border-radius: 14px; background: #FFFFFFB8; color: var(--ink);
    font: 600 1.02rem/1.2 var(--text); text-decoration: none; box-shadow: inset 0 0 0 1px #13233F12; transition: background .25s; }
.xv-tile .ico { width: 22px; height: 22px; flex: none; color: var(--ink-2, var(--ink)); }
a.xv-tile:hover { background: #FFFFFF; }
.xv-tile.tint-peach { background: var(--t-peach); } .xv-tile.tint-sky { background: #DCE6F2; } .xv-tile.tint-sage { background: #E1EAD9; }
.xv-tile.tint-rose { background: #F4DEDA; } .xv-tile.tint-sea { background: var(--t-sea); } .xv-tile.tint-marker { background: #F4E7B8; }
.xv-who { flex-direction: column; justify-content: center; gap: 8px; min-height: 104px; text-align: center; background: #FFFFFF99; }
.xv-who .ico { width: 30px; height: 30px; color: var(--gold-ink); }
.xv-p-base .xv-who .ico { color: var(--pen); }
.xv-p-core .xv-face { background: radial-gradient(120% 90% at 30% 20%, #23365A, #13233F 60%, #0E1A30); box-shadow: inset 0 0 0 1px #FFFFFF1F; place-items: center; }
.xv-p-core .xv-edge { background: linear-gradient(#B8892B, #8F6A1F); }
.xv-core { display: grid; justify-items: center; gap: 10px; }
.xv-coach { display: block; width: 92px; }
.xv-coach.coach-px { image-rendering: pixelated; }
.xv-word { font: 500 3.4rem/1 var(--display); letter-spacing: -.01em; color: #F7F1E5; }
.xv-p-people .xv-face { background: linear-gradient(160deg, #EEF5F2E6, #DCE8E3D9); box-shadow: inset 0 0 0 1px #FFFFFFC0; }
.xv-p-people .xv-edge { background: #BFD3CB; }
.xv-p-people .xv-who { background: #FFFFFFA6; min-height: 128px; }
.xv-shadow { position: absolute; left: 50%; top: 50%; width: 620px; height: 320px; margin: -160px 0 0 -310px; border-radius: 40px; background: #13233F; filter: blur(46px); opacity: .22; pointer-events: none; will-change: transform, opacity; }
.xv-labels { position: relative; margin: 0; padding: 0; list-style: none; }
.xv-labels li { position: absolute; left: 0; right: 1.5rem; top: 0; display: grid; grid-template-columns: 1.8rem 1fr; column-gap: .4rem; row-gap: .2rem;
    opacity: 0; transform: translateY(-50%); transition: opacity .45s; }
.xv-labels li.is-on { opacity: 1; }
.xv-labels i { grid-row: span 2; font: italic 500 1.5rem/1 var(--display); color: var(--gold-ink); }
.xv-labels b { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.xv-labels span { max-width: 34ch; font-size: .9rem; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 860px) {
    .xv.is-xv .xv-track { height: 480vh; }
    .xv-pin { top: 64px; height: calc(100svh - 64px); grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .xv-stage { grid-row: 1; }
    .xv-labels { grid-row: 2; min-height: 7.6rem; margin: 0 0 1.2rem; }
    .xv-labels li { top: 0; transform: none; right: 0; }
    .xv-labels li.is-on { opacity: 0; }
    .xv-labels li.is-now { opacity: 1; }
    .xv.is-still .xv-pin { height: auto; }
    .xv.is-still .xv-stage { height: 640px; }
    .xv.is-still .xv-labels { min-height: 0; }
    .xv.is-still .xv-labels li { position: static; opacity: 1; margin-bottom: 1rem; }
}
@media (max-width: 860px) {
    .xv-stack { width: 340px; height: 220px; margin: -110px 0 0 -170px; }
    .xv-plate { --t: 10px; }
    .xv-face { gap: 8px; padding: 14px 16px; border-radius: 16px; }
    .xv-name { font-size: .62rem; }
    .xv-row { gap: 6px; }
    .xv-tile { justify-content: center; min-height: 46px; padding: 8px; border-radius: 10px; }
    a.xv-tile span { display: none; }
    .xv-2 { grid-template-columns: repeat(4, 1fr); }
    .xv-learn { grid-template-columns: repeat(5, 1fr); }
    .xv-learn .xv-tile, .xv-learn .xv-tile:nth-child(4) { grid-column: auto; }
    .xv-who { min-height: 74px; gap: 5px; font-size: .74rem; }
    .xv-p-people .xv-who { min-height: 96px; }
    .xv-who .ico { width: 22px; height: 22px; }
    .xv-word { font-size: 2.2rem; }
    .xv-coach { width: 58px; }
    .xv-shadow { width: 350px; height: 230px; margin: -115px 0 0 -175px; filter: blur(30px); }
}
/* Each plate has an underside, so no light shows between the layers at the rounded corners. */
.xv-plate::before { content: ""; position: absolute; inset: 0; border-radius: 22px; background: #C9AE72; }
.xv-p-core::before { background: #8F6A1F; }
.xv-p-people::before { background: #BFD3CB; }
.xv.is-still .xv-pin { margin-top: 2.4rem; }
@media (max-width: 860px) {
    .xv-plate::before { border-radius: 16px; }
    .xv-shadow { background: #13233F99; }
}

/* While the slab is closed, a short intro holds the left column; it gives way to the layer labels. */
.xv-intro { position: absolute; left: 0; top: 50%; width: min(34%, 380px); transform: translateY(-50%); pointer-events: none; }
.xv-kicker { margin: 0 0 .8rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.xv-lead { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--ink-3); }
.xv-lead b { font-weight: 500; color: var(--ink); }
.xv.is-still .xv-intro { display: none; }
@media (max-width: 860px) {
    .xv-intro { top: auto; bottom: 1.2rem; width: 100%; transform: none; }
    .xv-lead { font-size: 1rem; }
}
/* Centre stage: the object fills the pin; captions sit to its left and right, level with their plates,
   and the one being read is lit while the other layers step back. */
.xv-pin { display: block; }
.xv-stage { position: absolute; inset: 0; }
.xv-labels { position: absolute; inset: 0; pointer-events: none; }
.xv-labels li { width: min(25%, 330px); right: auto; transition: opacity .45s; }
.xv-labels li.is-left { left: 0; }
.xv-labels li.is-right { left: auto; right: 0; }
.xv-labels li.is-on { opacity: .9; }
.xv.is-walking .xv-labels li.is-on { opacity: .36; }
.xv.is-walking .xv-labels li.is-on.is-now, .xv-labels li.is-on.is-now { opacity: 1; }
.xv-labels b { font-size: 1.2rem; }
.xv-labels span { font-size: .96rem; }
.xv-labels li.is-now b { color: var(--ink); }
.xv-face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--paper); opacity: 0; transition: opacity .5s; pointer-events: none; }
.xv.is-walking .xv-plate:not(.is-lit) .xv-face::after { opacity: .38; }
.xv.is-walking .xv-p-core:not(.is-lit) .xv-face::after { opacity: .14; }
.xv-plate.is-lit .xv-face { box-shadow: inset 0 0 0 2px var(--gold), inset 0 -1px 0 #E2D3B0; }
.xv-p-core.is-lit .xv-face { box-shadow: inset 0 0 0 2px var(--gold); }
.xv-intro { width: min(25%, 330px); }
.xv.is-still .xv-pin { height: 860px; }
@media (max-width: 860px) {
    .xv-pin { display: grid; grid-template-rows: 1fr auto; }
    .xv-stage { position: relative; inset: auto; grid-row: 1; }
    .xv-labels { position: relative; inset: auto; grid-row: 2; }
    .xv-labels li, .xv-labels li.is-right { left: 0; right: 0; width: auto; }
    .xv-labels li.is-on, .xv.is-walking .xv-labels li.is-on { opacity: 0; }
    .xv-labels li.is-on.is-now, .xv.is-walking .xv-labels li.is-on.is-now { opacity: 1; }
    .xv-intro { width: 100%; }
    .xv.is-still .xv-pin { height: auto; }
}
@media (max-width: 860px) {
    /* On a phone the intro holds the caption slot until the walk up the stack begins. */
    .xv-intro { opacity: 1; transform: none; transition: opacity .4s; }
    .xv.is-walking .xv-intro, .xv.is-done .xv-intro { opacity: 0; }
}

/* Refinement: thinner plates with fine rims, a soft sheen, shadows cast on the layer below, and
   text and the coach redrawn at their real size (no will-change, so the browser re-rasterises). */
.xv-stack, .xv-plate { will-change: auto; }
.xv-plate { --t: 11px; }
.xv-plate::before { border-radius: 18px; background: #D9C9A4; }
.xv-face { border-radius: 18px;
    background: radial-gradient(120% 90% at 12% 0%, #FFFFFF 0%, #FFFFFF00 55%), linear-gradient(165deg, #FFFDF8, #F5EEDF);
    box-shadow: inset 0 0 0 1px #FFFFFF, 0 0 0 .5px #B89B6080; }
.xv-edge, .xv-e-back, .xv-e-left { background: #DCCDAA; }
.xv-e-front { background: linear-gradient(#EEE3C8, #D6C496); }
.xv-e-right { background: linear-gradient(90deg, #E2D4B1, #C9B486); }
.xv-cast { position: absolute; inset: 12% 10%; border-radius: 24px; background: #13233F; box-shadow: 0 0 26px 14px #13233F; pointer-events: none;
    transform: translateZ(1px); opacity: .26; }
.xv-p-base .xv-cast { display: none; }
.xv-tile { box-shadow: inset 0 0 0 1px #FFFFFF99, 0 1px 2px #13233F0F; }
.xv-p-core::before { background: #7A5A1A; }
.xv-p-core .xv-face { background: radial-gradient(110% 90% at 18% 0%, #2B4170 0%, #2B417000 55%), linear-gradient(165deg, #182B4D, #0F1C33);
    box-shadow: inset 0 0 0 1px #FFFFFF26, 0 0 0 .5px #B8892B; }
.xv-p-core .xv-edge, .xv-p-core .xv-e-back, .xv-p-core .xv-e-left { background: #9C7524; }
.xv-p-core .xv-e-front { background: linear-gradient(#D2A54A, #9C7524); }
.xv-p-core .xv-e-right { background: linear-gradient(90deg, #C29638, #8C6820); }
.xv-core { gap: 6px; }
.xv-coach { width: 112px; }
.xv-word { font: 600 3.9rem/1 var(--display); letter-spacing: -.005em; color: #FBF6EA; -webkit-font-smoothing: antialiased; }
.xv-p-people::before { background: #C3D6CE; }
.xv-p-people .xv-face { background: radial-gradient(120% 90% at 12% 0%, #FFFFFFE6 0%, #FFFFFF00 55%), linear-gradient(165deg, #F1F7F4F0, #DDE9E4E6);
    box-shadow: inset 0 0 0 1px #FFFFFFE0, 0 0 0 .5px #9DBAAE99; }
.xv-p-people .xv-edge, .xv-p-people .xv-e-back, .xv-p-people .xv-e-left, .xv-p-people .xv-e-right { background: #C9DCD4; }
.xv-p-people .xv-e-front { background: linear-gradient(#DCE9E3, #B9CFC6); }
.xv-plate.is-lit .xv-face { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 0 .5px #B89B60; }
.xv-p-core.is-lit .xv-face { box-shadow: inset 0 0 0 1.5px var(--gold); }
@media (max-width: 860px) {
    .xv-plate { --t: 8px; }
    .xv-plate::before, .xv-face { border-radius: 14px; }
    .xv-word { font-size: 2.4rem; }
    .xv-coach { width: 70px; }
}
@media (max-width: 860px) {
    .xv-cast { opacity: .15; box-shadow: 0 0 18px 10px #13233F; }
}
/* Walk captions: a bold step number, a clear title, and copy with one key phrase marked in highlighter
   when the layer is being read. */
.xv-labels li { grid-template-columns: 1fr; row-gap: .35rem; }
.xv-labels i { grid-row: auto; font: 700 2.4rem/1 var(--text); font-style: normal; letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums lining-nums; margin-bottom: .2rem; }
.xv-labels b { font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.xv-labels span { max-width: 30ch; font-size: 1.02rem; line-height: 1.55; color: var(--ink-2); }
.xv-labels mark { padding: 0 .1em; margin: 0 -.05em; color: var(--ink); font-weight: 600; background: linear-gradient(var(--marker), var(--marker)) 0 85% / 0% 42% no-repeat; transition: background-size .9s var(--ease) .15s; }
.xv-labels li.is-now mark { background-size: 100% 42%; }
@media (max-width: 860px) {
    .xv-labels i { font-size: 1.9rem; }
    .xv-labels b { font-size: 1.25rem; }
    .xv-labels span { max-width: none; font-size: .98rem; }
}
/* Curiosity composer: a fixed sample question to send, not a field to type in. */
.cc-ask input[readonly] { cursor: default; color: var(--ink); font-weight: 500; text-overflow: ellipsis; }
.cc-empty { padding-bottom: clamp(3rem, 8vh, 4.6rem); }

/* Agents page: ticks drawn bare, the levels and formats as plain text, coaches with bare subject icons. */
.ticks li::before { width: 20px; height: 20px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A07A26' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
p.tags { display: block; margin-top: 1.2rem; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.pick button { grid-template-columns: 26px 1fr; }
.pick button[aria-selected="true"] { background: #FFFFFF99; box-shadow: none; }
.pick-ico { grid-row: 1 / 3; display: block; color: var(--ink-3); transition: color .25s; }
.pick-ico .ico { display: block; width: 22px; height: 22px; }
.pick button[aria-selected="true"] .pick-ico { color: var(--gold-ink); }
.pick button[aria-selected="true"] b { color: var(--ink); }
.pick button[aria-selected="false"] b { color: var(--ink-2); }
.subjects { margin-top: 1.1rem; padding-left: calc(1.6rem + 26px); font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.subjects em { font-style: normal; }

/* Smoothness: while the stack moves it is drawn as GPU layers; at rest the hint drops so text re-rasterises sharp. */
.xv.is-moving .xv-stack, .xv.is-moving .xv-plate { will-change: transform; }
.xv-cast, .xv-labels li { backface-visibility: hidden; }
