/* danieldteach.com, look round 6 (2026-11-24, design/round-6/NOTES.md): round 5's light, refined on Daniel's notes:
   a lamp above the piano comes on and finds him (no step in value or speed at either end), then turns toward the
   pointer on springs; the pencil is graphite, written once when it is read (lib/pencil.js); the scroll moment is cut;
   the posters are his title card. Round 5 (2026-11-23): one light that runs through the site (public/assets/light.js):
   the course's gold catches it, the screen lights the room while a module plays,
   and the move from the front door to a room reads as one walk inward. Under reduced motion every light is simply on
   and nothing moves.
   Look round 3 (2026-11-23). Round 2's "Marked up" structure, made his and the course's own.
   One shell, three layers: the front door (Daniel and what he offers), the course page (the course in its own world),
   the course room (rail, player, notes). A dark stage, light reading pages, and the reading pages are full-width paper,
   never cards. Daniel's pages: the channel's navy, Newsreader for titles. The course's world (.w-poe, and the course
   band on the front door): the warm black and the stone of his PoE title card, its gold, its Cormorant Garamond; the
   title cut in stone and the harp from the same card. DM Sans for text everywhere; Caveat (round 6's
   hand, back in round 8) for a pencil remark, Daniel's own handwriting (lib/hand.js) for "with heart". His face is never under a word or a button (design/round-3/tools/face-check.ts).
   The lights and the page transitions as in round 2. DESIGN.md is the system in words. */

@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }   /* round 6's hand, back for its remarks in round 8 */
@font-face { font-family: "Newsreader Italic"; src: url("/assets/fonts/newsreader-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
/* Metric-matched fallbacks, so the swap to the real face moves as little as possible. */
@font-face { font-family: "DM Sans fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 104%; ascent-override: 95%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Newsreader fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 94%; ascent-override: 98%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant fallback"; src: local("Times New Roman"), local("Times"); size-adjust: 92%; ascent-override: 98%; descent-override: 30%; line-gap-override: 0%; }

:root {
  --stage: #04070E;        /* the channel's ground: its navy, a touch darker (round 4) */
  --stage-1: #08101B;      /* raised: the rail, inputs */
  --stage-2: #0F1929;      /* menus, hover */
  --cream: #E8E0D4;
  --cream-2: #C2BAAE;
  --cream-3: #A39C91;
  --paper: #ECE5D8;        /* the reading pages */
  --paper-2: #D8CEBD;      /* rules on paper */
  --ink: #15130F;          /* text on paper and on cream buttons */
  --ink-2: #4A453D;
  --amber: #F2A03D;        /* the channel's pencil, on dark */
  --amber-ink: #8A4B0B;    /* the channel's pencil, on paper */
  --gold: #C99A5B;         /* the course's gold, from the letters cut in the stone */
  --gold-hi: #E3BE86;
  --gold-ink: #6B4716;     /* the course's gold, on paper */
  --danger: #F08A7E;
  --line: rgba(232, 224, 212, 0.14);
  --line-2: rgba(232, 224, 212, 0.28);
  --sans: "DM Sans", "DM Sans fallback", ui-sans-serif, system-ui, sans-serif;
  --serif: "Newsreader", "Newsreader fallback", Georgia, serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --course: "Cormorant Garamond", "Cormorant fallback", Garamond, "Times New Roman", serif;
  --gut: 20px;
  --max: 1200px;
  --side: max(var(--gut), calc((100vw - var(--max)) / 2));   /* where the content column starts, for full-bleed bands */
  --r: 4px;                /* media */
  --br: 8px;               /* controls */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* leaves rest and arrives at rest with its speed continuous all the way (look round 6) */
  --smoother: cubic-bezier(0.45, 0, 0.55, 1);
  --pencil: var(--amber);
  --pencil-ink: var(--amber-ink);
  color-scheme: dark;
}
/* the course's world: the warm black and the stone of the title card */
.w-poe, .course-link {
  --stage: #110C08; --stage-1: #19130D; --stage-2: #231B13;
  --cream: #ECE3D3; --cream-2: #C9BDA9; --cream-3: #A79C8B;
  --paper: #EEE6D6; --paper-2: #DCCFB8;
  --line: rgba(236, 227, 211, 0.13); --line-2: rgba(236, 227, 211, 0.27);
  --pencil: var(--gold-hi); --pencil-ink: var(--gold-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--stage); }
body {
  margin: 0; min-height: 100svh; display: flex; flex-direction: column;
  font: 450 17px/1.55 var(--sans); font-optical-sizing: auto; color: var(--cream); background: var(--stage);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* a still grain so the dark grounds never band */
body::after { content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none; background: url("/assets/img/dither.aaabd80d6d.png"); opacity: 0.035; mix-blend-mode: overlay; }
main { flex: 1; width: 100%; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible { outline-color: var(--ink); }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
strong { font-weight: 650; }
em { font-style: italic; }
cite { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; padding: 10px 14px; background: var(--cream); color: var(--ink); border-radius: var(--br); font-weight: 650; text-decoration: none; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); font-weight: 560; letter-spacing: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec-h { font-family: var(--serif); font-weight: 560; font-size: 34px; line-height: 1.04; letter-spacing: -0.01em; }
.w-poe .sec-h { font-family: var(--course); font-weight: 600; font-size: 38px; letter-spacing: 0; }

/* ---------------------------------------------------------------- the shell */
.top { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; padding: 0 var(--gut); padding-top: env(safe-area-inset-top); width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
/* "Daniel D. Teach" stays typeset in Newsreader (Daniel asked whether it needs a designed logo; the ruling, 2026-11-24,
   is no, not now). Round 7 gives it a little more presence with spacing only: opened a touch (round 6: -0.005em), the
   word spaces a little wider so "D." stands as his middle initial, not a full stop. */
.mark { font-family: var(--serif); font-weight: 560; font-variation-settings: "opsz" 72; font-size: 21px; line-height: 44px; letter-spacing: 0.012em; word-spacing: 0.05em; text-decoration: none; white-space: nowrap; view-transition-name: mark; }
.acct { display: flex; align-items: center; justify-content: flex-end; min-width: 88px; view-transition-name: acct; }
.acct-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--br); border: 1px solid var(--line-2); font-size: 15px; font-weight: 600; text-decoration: none; }
.acct-link:hover { border-color: var(--cream-2); }
#acct-link, .menu > summary.acct-link { border-color: transparent; padding: 0 4px 0 12px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.25em; }
.acct-quiet { border-color: transparent; padding: 0 4px 0 16px; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.25em; }
.acct-quiet:hover { border-color: transparent; text-decoration-color: currentColor; }

/* the account menu (account.js upgrades the header link into it) */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.acct-link .chev { width: 10px; height: 10px; margin-left: 8px; transition: transform .2s var(--ease); }
.menu[open] > summary .chev { transform: rotate(180deg); }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 2 * var(--gut))); padding: 8px; background: var(--stage-2); border: 1px solid var(--line-2); border-radius: var(--br); box-shadow: 0 18px 40px -12px rgba(1, 3, 8, 0.7); }
.menu-email { padding: 10px 12px 12px; font-size: 14px; color: var(--cream-2); border-bottom: 1px solid var(--line); margin-bottom: 6px; overflow-wrap: anywhere; }
.menu-pop a, .menu-pop button { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 550; color: var(--cream); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: rgba(232, 224, 212, 0.07); }

.foot { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 24px var(--gut) calc(28px + env(safe-area-inset-bottom)); background: linear-gradient(var(--line), var(--line)) var(--gut) 0 / calc(100% - 2 * var(--gut)) 1px no-repeat;   /* the rule on the text's edge */ font-size: 14px; color: var(--cream-2); display: grid; gap: 8px; }
.paper + .foot, main:has(> .paper:last-child) + .foot { background: none; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.foot-links a:hover { color: var(--cream); text-decoration: underline; }
.foot-note { max-width: 70ch; }

/* ---------------------------------------------------------------- controls: squared, not pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--br); font: 650 16px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: transform .15s var(--ease), background-color .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-solid:hover { background: #F6F0E6; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2A2620; }
/* Google's own light button: white, its grey stroke, its four-colour G (their branding rules). */
.btn-google { width: 100%; background: #FFFFFF; color: #1F1F1F; border-color: #747775; font-size: 17px; }
.btn-google:hover { background: #F2F2F2; }
.btn-google .g { flex: none; }
/* in the course's world, Google's own dark button (their branding rules allow it), so the stone and the offer lead */
.w-poe .btn-google { background: #131314; color: #E3E3E3; border-color: #8E918F; }
.w-poe .btn-google:hover { background: #1F1F20; }
.btn-line { background: transparent; color: var(--cream); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--cream-2); background: rgba(232, 224, 212, 0.05); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(240, 138, 126, 0.55); }
.btn-danger:hover { border-color: var(--danger); background: rgba(240, 138, 126, 0.08); }
.arrow::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 2px; border-right: 1.75px solid currentColor; border-top: 1.75px solid currentColor; transform: rotate(45deg); }
button { font: inherit; color: inherit; }

input[type=email] { width: 100%; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: var(--br); border: 1px solid var(--line-2); background: var(--stage-1); color: var(--cream); font: 500 17px/1 var(--sans); }
input[type=email]::placeholder { color: var(--cream-3); opacity: 1; }
input[type=email]:hover { border-color: var(--cream-3); }
input[type=email]:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; border-color: transparent; }

/* ---------------------------------------------------------------- the sign-up block */
.signin { display: grid; gap: 12px; }
.signin form { display: grid; gap: 8px; margin-top: 4px; }
.signin label { font-size: 15px; font-weight: 550; color: var(--cream-2); }
.email-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.email-row .btn { padding: 0 20px; }
.status { font-size: 15px; color: var(--cream-2); }
.status:empty { display: none; }
.status[data-result=ok] { color: var(--cream); }
.status-warn { padding: 12px 16px; border-radius: var(--br); background: rgba(240, 138, 126, 0.1); color: #F6C2BA; }
.consent { font-size: 14px; line-height: 1.5; color: var(--cream-2); max-width: 48ch; }
.consent a { color: var(--cream); white-space: nowrap; }

/* ---------------------------------------------------------------- pencil (look round 6, lib/pencil.js) */
/* A mark is a filled graphite stroke (weight that lands, presses and lifts off; a hand's wobble), its grain the
   paper's tooth (the #graphite filter, in screen pixels). It is written once by a mask along its own centreline at a
   hand's speed: .await marks when they are read, the rail's tick and bracket when their state changes (light.js).
   Without script, or asking for less motion, every mark is simply there. */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pen { display: block; max-width: none; overflow: visible; fill: var(--pencil); filter: url(#graphite); pointer-events: none; }
.paper .pen { fill: var(--pencil-ink); }
.pen .pw { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 140; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .pen.await:not(.written) .pw { stroke-dashoffset: 120; }
  /* a hand's stroke: it sets off briskly and slows as it lifts (critic round 4: a symmetric ease read as a mask) */
  .pen.written .pw { animation: pen-write var(--d, .4s) cubic-bezier(0.25, 0.45, 0.35, 1) var(--a, 0s) both; }
}
@keyframes pen-write { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
/* ---------------------------------------------------------------- his own hand (look round 7, lib/hand.js) */
/* A line he wrote in ballpoint, traced from his notebook: his ink as outlines, one small svg per word (each word's box
   to the middle of his gap, so they sit as he wrote them and a long note wraps at his own spaces). In the site's
   pencil or cream (currentColor); no graphite: his ink does not pretend to be pencil. --thick thickens a thin
   ballpoint evenly where it would read faint (an offset, in the photo's pixels: the outline's own stroke). Written
   once when read: the ink is revealed along the runs his pen made (a round-tipped mask that grows along each run, his
   pace even within a run, a short lift between), then the mask is dropped (.done). Without script or under reduced
   motion the words are simply there. */
.hw { display: inline-block; line-height: 0; white-space: normal; }
.hw-w { display: inline-block; height: var(--hw-h, 1.4em); width: auto; max-width: none; overflow: visible; vertical-align: top; }
.hw-ink { fill: currentColor; stroke: currentColor; stroke-width: var(--thick, 0); stroke-linejoin: round; mask: none; }
.hw-r { stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100 200; }
/* look round 8: "Start here" and the margin notes are Caveat again (round 6's font and graphite), set as the font's
   outlines (lib/hand-font-data.js) so round 7's write-on still follows the strokes. --hw-h is 1.26 x the font size
   (the font's ascent and descent); no --thick (the font has its own weight). "with heart" stays his hand. */
.hw-font .hw-w { filter: url(#graphite-type); }
.hw-font { --thick: 0; }
.hand { font-family: var(--hand); font-weight: 600; line-height: 1.05; color: var(--pencil-ink); filter: url(#graphite-type); }
.hw-words { line-height: 1; }   /* words not yet set as outlines: Caveat as live type (round 6) */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  .hw.await:not(.done) .hw-ink { mask: var(--m); }
  .hw.await:not(.written) .hw-r { stroke-dashoffset: 100; opacity: 0; }
  .hw.written .hw-r { animation: hw-write var(--d, .2s) cubic-bezier(0.3, 0.1, 0.6, 1) var(--a, 0s) both; }
}
@keyframes hw-write { 0% { stroke-dashoffset: 100; opacity: 0; } 0.1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
/* His signature (2026-11-29, concept 14; lib/hand.js, design/signature/NOTES.md): the one handwritten mark. Sized by its
   width (--sig-w), the height follows from the drawing's own box, so it holds its place before anything loads. The
   light ink on the dark grounds (the site's cream), the dark ink on paper. --thick: a little weight for his hairlines
   where it is set small (in the drawing's units; 1 unit is about 0.25 px at 160 px wide). */
.sig { display: block; width: var(--sig-w, 160px); max-width: 100%; color: var(--cream); line-height: 0; }
.sig-w { display: block; width: 100%; height: auto; overflow: visible; }
.sig-ink { fill: currentColor; stroke: currentColor; stroke-width: var(--thick, 0.6); stroke-linejoin: round; }
.paper .sig { color: var(--ink); }
/* the course page: at the end of his first-person paragraph, like signing a letter */
.sig-end { --sig-w: 172px; --thick: 1.1; margin-top: 10px; color: var(--cream); }
/* the module page: under "Write to me ... I read every message with care.", his promise signed */
.sig-write { --sig-w: 166px; --thick: 1.3; margin-top: 8px; color: var(--cream); }

/* ---------------------------------------------------------------- reading pages: full-width paper, not cards */
.paper { background: var(--paper); color: var(--ink); }
.paper .sec-h { color: var(--ink); }

/* ---------------------------------------------------------------- the course's marks (look round 5) */
/* The lockup: the harp (flat gold vector, a little taller than the type, as on the card) beside the logo. --lh is the
   logo's height; the size rule (DESIGN.md): the stacked cut from 130 px, the small cut from 106 to 130 px, the one line
   below 106 px; the harp (1.12 of --lh) has ten strings from 150 px tall, six from 90 px, none below. */
.poe-lock { --lh: 92px; display: inline-flex; align-items: center; gap: calc(var(--lh) * 0.15); }
.poe-lock .poe-logo { display: block; height: var(--lh); width: auto; }
.poe-lock picture { display: block; }
.poe-lock .harp-img { display: block; height: calc(var(--lh) * 1.12); width: auto; flex: none; }
.poe-lock .harp-pic { display: contents; }
.poe-lock .harp-pic source { display: none; }   /* round 8: with the picture as contents, its <source> was a flex item of its own, one gap (0.15 lh) before the harp, which pushed the lockup off the column's edge and left the offer line behind it */   /* the harp is a still drawing (look round 7): ten strings from 900 px, six below */
/* the gold catches the light: a bright band crosses the logo once as it arrives, then follows the pointer near it (a
   fine pointer) or the scroll (a phone); masked to the letters, so only the gold shines */
.gleam { position: relative; display: block; line-height: 0; }
.gleam::after { content: ""; position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; background: radial-gradient(70% 140% at var(--gx, 20%) 45%, rgba(255, 240, 210, 0.95), rgba(255, 228, 184, 0.35) 45%, rgba(255, 228, 184, 0) 75%); opacity: max(0.001, var(--go, 0)); will-change: opacity; }
/* never quite 0, and a layer of its own: the masked light is drawn once at load, not first in the middle of the
   arrival (round 6: drawing its mask then stalled the screen for about 0.2 s while the light opened) */
.gleam-sm, .gleam-full { --m: url("/assets/img/poe-logo-sm-gold.6b805d713e.svg"); }
@media (prefers-reduced-motion: no-preference) {
  .gleam::after { animation: catch 1.8s cubic-bezier(0.3, 0, 0.3, 1) var(--catch-at, 1s) backwards; }
}
/* arriving, the letters take the light once, from the harp's side, and let it go: a rise and a fall, no travel */
@keyframes catch { 0% { opacity: 0.001; } 35% { opacity: 0.85; } 100% { opacity: 0.001; } }
.offer-label { font-size: 15px; font-weight: 650; line-height: 1.3; color: var(--gold-hi); }

/* ---------------------------------------------------------------- the front door (/) */
.w-home .mark { visibility: hidden; }   /* his name is the page's own title right below: once is enough */
/* the first screen: him at the piano (ONO, frame 090). Phone: the photo, then his name below it. From 900 px: the photo
   to the right, its left part (the piano, the dark wall) fading into the ground, the words on that dark. No word ever
   sits on his head (design/round-4/tools/face-check.ts). */
.door { position: relative; display: grid; }
.door-photo { display: block; position: relative; margin: 0; overflow: hidden; isolation: isolate; }
.door-photo picture { display: block; }
.door-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }   /* square on a phone since round 6: the harp lockup and the button fit the first screen */
.door-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 26%; z-index: 2; background: linear-gradient(0deg, var(--stage), rgba(4, 7, 14, 0)); pointer-events: none; }
/* the light on him (look round 6, Daniel's note 2; after critic round 1). One lamp, drawn as a lit ellipse anchored at
   a point: the warm light (.lamp, soft-light, so his blacks stay black) and the dark around it (.veil) share its shape.
   Two presets:
   - the beam (.light-beam, in use): anchored on his face but long, thrown along the line of the photo's own key light
     (from above the piano at his left, down across him), and brighter toward the lamp's side; it opens from his face
     (critic round 1: the light must find his face first) and does not read as a circle in the middle (Daniel);
   - the pool (.light-pool, round 5's idea): a circle round his face.
   Arriving, everything moves on the compositor (transform and opacity only, drawn once; critic round 1 saw a stall in
   a real-time capture while round 5's gradients were redrawn every frame): the room is dark (.dark), the ellipse
   grows from his face (scale about the anchor), the dark lifts off its heart, then the room comes up round it (.veil).
   Every curve is cubic-bezier(0.45, 0, 0.55, 1): zero speed on its first and last frame, no step between, a round peak. After that
   a fine pointer over the photo draws the light a little way toward it (light.js, a critically damped spring, never
   so far that his face leaves the light); the room outside the light goes down only a touch while it is held. On a
   phone the first scroll carries it from his face down toward his hands. Under reduced motion it is simply on. */
.door-photo { container-type: inline-size; --shade: 0; }
/* the presets in the photo's width units (cqw, resolved in its children: a container's units measure against it only
   there); the anchor (--fx, --fy), the throw's angle (--aim), its length (--d) and the ellipse's centre (--c), long
   (--a) and short (--b) radii as fractions of it; --k0 the opening's first scale */
.door.light-beam .door-photo { --fx: 57.5; --fy: 39.4; --aim: 56deg; --d: 74; --c: 0.12; --a: 0.72; --b: 0.34; --k0: 0.45; }
.door.light-pool .door-photo { --fx: 57.5; --fy: 39.4; --aim: 0deg; --d: 74; --c: 0; --a: 0.5; --b: 0.5; --k0: 0.45; }   /* the boxes cover the photo from his face at the first scale (critic round 3: its edge showed, then went dark) */
@media (max-width: 899px) {
  .door.light-beam .door-photo { --fx: 51.7; --fy: 35; --d: 70; }
  .door.light-pool .door-photo { --fx: 51.7; --fy: 35; }
}
.lamp, .veil { position: absolute; left: calc(var(--fx) * 1cqw); top: calc(var(--fy) * 1cqw); z-index: 1; width: 400cqw; height: 400cqw; margin: -200cqw 0 0 -200cqw; pointer-events: none; translate: var(--tx, 0px) var(--ty, 0px); rotate: var(--aim); will-change: transform, opacity; }
.lamp { --g: calc(var(--d) * var(--a) * 1cqw) calc(var(--d) * var(--b) * 1cqw) at calc(50% - var(--d) * var(--c) * 1cqw) 50%; background: radial-gradient(var(--g), rgba(255, 226, 184, 0.95) 0, rgba(255, 206, 150, 0.5) 42%, rgba(255, 190, 120, 0) 100%); mix-blend-mode: soft-light; opacity: calc(0.78 + 0.22 * var(--shade)); }
/* held, the light gathers on him: the photo lifts (round 7: face about +15 %, measured), while the dark round him (.veil) takes the room down */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .door-photo img { filter: brightness(calc(1 + 0.22 * var(--shade))); will-change: filter; } }
.veil { --g: calc(var(--d) * var(--a) * 1.15cqw) calc(var(--d) * var(--b) * 1.3cqw) at calc(50% - var(--d) * var(--c) * 1cqw) 50%; background: radial-gradient(var(--g), rgba(4, 7, 14, 0) 0, rgba(4, 7, 14, 0.37) 55%, var(--stage) 100%); opacity: calc(0.34 * var(--shade)); translate: none; }   /* held, the room round him goes down so his lit face lifts out of it. Round 7 (motion critic: "his face getting dimmer", luma 48 to 35): the dark stays anchored on his face instead of travelling with the light, and the photo itself lifts (below) */
.dark { position: absolute; inset: 0; z-index: 1; background: var(--stage); opacity: 0; pointer-events: none; will-change: opacity; }
@media (prefers-reduced-motion: no-preference) {
  .lamp { animation: light-throw 2.4s var(--smoother) 0.15s backwards, lamp-up 2s var(--smoother) 0.25s backwards; }
  .veil { animation: light-throw 2.4s var(--smoother) 0.15s backwards, veil-lift 1.5s var(--smoother) 1s backwards; }
  .dark { animation: dark-lift 1.5s var(--smoother) 0.15s backwards; }
}
@keyframes light-throw { from { scale: var(--k0) calc(0.55 + 0.45 * var(--k0)); } }
/* coming back to the front door from inside the site (html.back-home, set by the page-transition script): the same
   light, short, from half-lit (critic round 3: the whole 2.5 s from the dark again on each return was too much) */
@media (prefers-reduced-motion: no-preference) {
  html.back-home .lamp { animation: light-throw-short .8s var(--smoother) .2s backwards, lamp-up .7s var(--smoother) .2s backwards; }
  html.back-home .veil { animation: light-throw-short .8s var(--smoother) .2s backwards, veil-lift-short .7s var(--smoother) .3s backwards; }
  html.back-home .dark { animation: dark-lift-short .6s var(--smoother) .2s backwards; }
}
@keyframes light-throw-short { from { scale: 0.75; } }
@keyframes veil-lift-short { from { opacity: 0.6; } }
@keyframes dark-lift-short { from { opacity: 0.45; } }
@keyframes lamp-up { from { opacity: 0; } }
@keyframes veil-lift { from { opacity: 1; } }
@keyframes dark-lift { from { opacity: 0.97; } }
/* on a phone (no pointer) the first scroll carries the light down from his face toward his hands */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (hover: none) {
    .lamp { animation: light-throw 2.4s var(--smoother) 0.15s backwards, lamp-up 2s var(--smoother) 0.25s backwards, light-down linear both; animation-timeline: auto, auto, scroll(root); animation-range: normal, normal, 0 50vh; }
    .veil { animation: light-throw 2.4s var(--smoother) 0.15s backwards, veil-lift 1.5s var(--smoother) 1s backwards, light-down linear both; animation-timeline: auto, auto, scroll(root); animation-range: normal, normal, 0 50vh; }
  }
}
@keyframes light-down { to { translate: -6cqw 40cqw; } }
/* the foot of the first screen warms into the course band's umber, so the navy does not meet the course at a hard
   edge (still since look round 6) */
.door::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none; background: radial-gradient(60% 80% at 60% 100%, rgba(214, 160, 92, 0.16), rgba(214, 160, 92, 0) 70%), linear-gradient(180deg, rgba(17, 12, 8, 0), #110C08); opacity: var(--spill-end, 1); }
/* look round 6: the scroll moment (the relay light, the dusk over his photo, the studio light coming on) is cut; the
   course band is still (design/round-6/NOTES.md) */
.door-text { position: relative; z-index: 3; margin-top: -40px; padding: 0 var(--gut) 72px; display: grid; gap: 12px; }
.me-name { font-family: var(--serif); font-weight: 560; font-variation-settings: "opsz" 72; font-size: 50px; line-height: 0.98; letter-spacing: -0.02em; }
.me-tag { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.16; color: var(--cream-2); max-width: 19ch; letter-spacing: -0.01em; }
.door-go { display: grid; gap: 12px; margin-top: 24px; }
.door-go .btn { width: 100%; }
/* the course as an offer, right above the button: the small lockup, its label beside it (under it on a narrow phone) */
.poe-offer { display: grid; justify-items: start; gap: 10px; margin: 0; }
.poe-offer .gleam::after { animation: none; }   /* no shimmer on the front door: the light finding him is the moment (round 6: starting it mid-arrival stalled the screen) */
.poe-offer .poe-lock { --lh: 90px; display: inline-flex; view-transition-name: course-title; }   /* on a phone too since critic round 1 (all three: the one-line mark read as a heading and morphed into the harp lockup); the small cut from 106 px */
.door-line { display: none; }   /* the one-line mark is not used on the front door since round 6 (the harp lockup at every width) */
.poe-offer .offer-label { font-size: 16px; color: var(--cream-2); }
/* "New" (Daniel, 2026-11-24): in the course's own letters, its caps and its gold, at the head of the offer label and
   parted from it by a hairline, as the card parts SONGS AND SCORE with its rules; not a pill */
.new-tag { display: inline-block; margin-right: 11px; padding-right: 12px; border-right: 1px solid rgba(227, 190, 134, 0.55); font-family: var(--course); font-weight: 700; font-size: 1.3em; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hi); vertical-align: 0.02em; }

/* "with heart" as set type (2026-11-29: the signature is the one hand on the site now). The sentence as he wrote it, one
   line at a computer; on a phone "with heart" goes to the second line whole. set: the line's own type; set-italic:
   the site's Newsreader italic in the line's cream, a quiet warmth (the one shipped). His traced hand: data-heart=hand,
   below, kept for his call. */
.me-tag[data-heart^=set] { max-width: none; text-wrap: wrap; }   /* not "pretty": it pulled "education," down beside "with heart" */
.me-tag[data-heart^=set] .heart { white-space: nowrap; }
.me-tag[data-heart=set-italic] .heart { font-family: "Newsreader Italic", var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--cream); }
/* his signature on his photo, like a signed print (Daniel, 2026-11-29: "Home: on the left of the photo ... put it live";
   round 2's photo-left, shipped as tried, design/signature/round-2/NOTES.md). In the designer's white, on the darkest
   steady part of the photo's left, the black of the piano (phone: on the column's edge, a little over halfway down,
   above the photo's bottom fade; computer: just left of his chest, past most of the photo's left fade), never on his
   jacket. Sized in the photo's width (cqw), so it holds its place on every phone and screen. Round 1's place under his
   line is retired on the front door; the course page, the module pages and the email keep theirs. */
.door-photo > .sig-door { position: absolute; z-index: 3; margin: 0; left: 5cqw; top: 54cqw; --sig-w: 44cqw; --thick: 1.2; color: #fff; }
/* his tagline's last words (Daniel, 2026-11-24: "more premium and personal"). Treatments, one chosen by data-heart:
   italic (the one in use: his own serif's italic, on a line of its own, a step brighter, as a spoken aside), inline
   (round 5: one roman line), amber (the italic in the channel's warm pencil colour), hand (his pencil, graphite).
   When Daniel sends "with heart" in his own hand, it replaces the words in .heart as an image with alt="with heart". */
.me-tag .heart { white-space: nowrap; }
@media (max-width: 599px) { .poe-offer .offer-label { font-size: 15px; } .new-tag { margin-right: 9px; padding-right: 10px; letter-spacing: 0.1em; } }
@media (max-width: 379px) { .poe-offer .offer-label { font-size: 14px; } }   /* round 8 (critics): at 360 the label kept whole on one line, not "modules free" under NEW */
.me-tag[data-heart=italic], .me-tag[data-heart=amber], .me-tag[data-heart=hand] { max-width: 28ch; }   /* the first line whole on a phone, the last words on their own */
.me-tag[data-heart=italic] .heart, .me-tag[data-heart=amber] .heart { display: block; font-family: "Newsreader Italic", var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; line-height: 1.08; letter-spacing: -0.005em; color: var(--cream); margin-top: 2px; }
.me-tag[data-heart=amber] .heart { color: var(--amber); }
/* look round 8 (Daniel, 2026-11-24: "place it a bit more to the right and upwards ... make it feel like I wrote that
   comment over the text that is font based"): "with heart" in his hand (sheet 2, row 7, left) is no longer a line of
   its own but a note he added onto the typeset line, anchored where the sentence ends (.heart is a zero-size point
   right after "education,", which never leaves that line: .tag-end) and placed from there, crossing the line's edge.
   Tried (design/round-8/NOTES.md): tuck (under the line's end, its tall strokes up into the type), over (above the
   line's end, its foot on the letters' tops: it hid the words), ride (after the comma, raised, at a computer only: it
   read as the sentence going on), edge (ships: at a computer it starts on the comma, a little above the line's foot,
   and runs on past the sentence; on a phone, with no room past the comma, it tucks under the line's end and out past
   the comma). Critics, round 8: no stroke may touch a letter, so it starts just past the comma. Round 7's dedication line stays as data-heart-at=line. */
.me-tag[data-heart=hand] { max-width: 28ch; position: relative; }
.me-tag[data-heart=hand] .tag-end { white-space: nowrap; }
.me-tag[data-heart=hand] .heart { display: inline-block; position: relative; width: 0; height: 0; vertical-align: baseline; --hw-h: 1.5em; --thick: 2; color: color-mix(in srgb, var(--cream) 55%, var(--cream-2)); }
.me-tag[data-heart=hand] .heart .hw { position: absolute; white-space: nowrap; left: var(--hl, auto); right: var(--hr, auto); top: var(--ht, auto); bottom: var(--hb, auto); transform: rotate(var(--heart-rot, -4deg)); transform-origin: var(--ho, 0 60%); }
.me-tag[data-heart-at=tuck] { margin-bottom: 0.85em; }
.me-tag[data-heart-at=tuck] .heart { --hr: -0.6em; --ht: -0.42em; --heart-rot: -5deg; --ho: 100% 40%; }
.me-tag[data-heart-at=over] .heart { --hr: -0.5em; --hb: 0.42em; --heart-rot: -5deg; --ho: 100% 60%; }
.me-tag[data-heart-at=over] { margin-top: 0.7em; }
.me-tag[data-heart-at=ride] .heart { --hl: 0.05em; --hb: -0.12em; --heart-rot: -6deg; --ho: 0 60%; }
@media (max-width: 899px) { .me-tag[data-heart-at=ride] { margin-bottom: 0.85em; } .me-tag[data-heart-at=ride] .heart { --hl: auto; --hb: auto; --hr: -0.6em; --ht: -0.42em; --heart-rot: -5deg; --ho: 100% 40%; } }
.me-tag[data-heart-at=edge] { margin-bottom: 0.8em; }
.me-tag[data-heart-at=edge] .heart { --hl: 0.05em; --ht: -0.6em; --heart-rot: -5deg; --ho: 0 40%; }   /* critics, round 8: its w had landed on the comma; now just past it, raised, touching no letter */
@media (max-width: 379px) { .me-tag[data-heart-at=edge] .heart { --hr: -1.2em !important; } }   /* 360: the t's crossbar inside the page (critic round 3) */
@media (max-width: 899px) { .me-tag[data-heart-at=edge] { margin-bottom: 1.5em; } .me-tag[data-heart-at=edge] .heart { --hl: auto; --hr: -1.9em; --ht: -0.1em; --ho: 100% 40%; } }   /* and on a phone hard under the line's end and out past the comma, its h clear of "ion," */
.me-tag[data-heart-at=line] .heart { display: block; width: fit-content; height: auto; margin: 0.22em 0 0 3.4em; }
.me-tag[data-heart-at=line] .heart .hw { position: static; transform: rotate(-4deg); }
.me-tag[data-heart-at=line] .tag-end { white-space: normal; }

/* what he offers: the course in its own world (014, him from behind at the console; look round 6), then YouTube and Patreon either side
   of him at the console (055), then a short passage about him on paper (084) */
.courses { list-style: none; margin: 0; padding: 0; display: grid; }
.course-link { display: grid; background: #110C08; color: var(--cream); text-decoration: none; padding-bottom: 56px; }
.course-photo { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; }
.course-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.course-photo picture { display: contents; }
/* the band's photo comes up out of the umber at its top, so its bright wall does not peek in under the first screen
   as a strip (critics round 1) */
.course-photo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 30%; z-index: 1; background: linear-gradient(180deg, #110C08, rgba(17, 12, 8, 0)); pointer-events: none; }
.course-text { display: grid; gap: 16px; justify-items: start; padding: 30px var(--gut) 0; }
.course-name { margin: 0 0 2px; font-family: var(--course); font-weight: 600; font-size: 38px; line-height: 1.02; color: var(--gold-hi); max-width: 13ch; }
.course-name .arrow::after { width: 14px; height: 14px; margin-left: 12px; border-width: 2px; vertical-align: 0.12em; transition: transform .3s var(--ease); }
.course-link:hover .course-name .arrow::after { transform: translateX(4px) rotate(45deg); }
.course-text p { color: var(--cream-2); max-width: 40ch; }
.course-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; font-size: 16px; font-weight: 650; color: var(--gold-hi) !important; font-variant-numeric: tabular-nums; }
.course-remark { font-size: 26px; font-weight: 600; color: var(--pencil); transform: rotate(-3deg); transform-origin: left; }

/* him: one band on the navy, him at the console in a screen's light (055), the passage about him, then YouTube and
   Patreon side by side under it, their tops on one line */
.him { display: grid; }
.him-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; }
.him-text { padding: 40px var(--gut) 72px; display: grid; gap: 18px; align-content: start; }
.about-p { font-family: var(--serif); font-weight: 450; font-size: 27px; line-height: 1.28; letter-spacing: -0.01em; color: var(--cream); max-width: 30ch; }
.about-p2 { font-size: 18px; line-height: 1.6; color: var(--cream-2); max-width: 52ch; }
.also { list-style: none; margin: 18px 0 0; padding: 0; display: grid; }
.also-one { display: grid; gap: 8px; padding: 20px 0; border-top: 1px solid var(--line-2); }
.also-one a { white-space: nowrap; }
.also-h { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.12; letter-spacing: -0.01em; max-width: 18ch; }
.also-one p { color: var(--cream-2); max-width: 36ch; font-size: 17px; }
.also-one a { display: inline; padding: 12px 0; font-weight: 650; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.25em; }   /* inline, its tap height in padding, so it no longer pushes its line down (layout critic, round 7) */
.also-one a .of-go { display: inline-block; margin-left: 8px; vertical-align: -1px; }
.also-one a:hover { text-decoration-color: currentColor; }
.of-go { width: 13px; height: 13px; color: var(--cream-2); }

/* a play disc on a poster */
.play-big { position: absolute; left: 50%; top: 46%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--cream); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.8); transition: transform .2s var(--ease); }
.play-big::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--ink); }

/* ---------------------------------------------------------------- the course page (/poe) */
/* the first screen (look round 5): the lockup and its offer label, his minute under it, and the offer column on the
   same top line, at four type levels: the meta line (facts, byline), the body, the one headline (the offer), the fine
   print (the email label, the consent). On a phone: the lockup, the offer, then his minute. */
.poe-hero { display: grid; grid-template-areas: "mast" "text" "pv"; background: radial-gradient(70% 50% at 50% 12%, rgba(214, 160, 92, 0.12), rgba(214, 160, 92, 0) 70%); }
.poe-hero { position: relative; }
.poe-mast { grid-area: mast; display: grid; justify-items: start; gap: 14px; padding: 26px var(--gut) 6px; }
.poe-title { margin: 0; line-height: 0; }
.poe-title .poe-lock { vertical-align: top; }   /* round 8: the lockup's foot is the title's foot, so the offer line sits the mast's gap under it */
.poe-hero-lock { --lh: 106px; --catch-at: .7s; view-transition-name: course-title; }
.poe-mast .offer-label { view-transition-name: poe-label; }   /* arrives once the lockup has landed beside it (critic round 3) */
.poe-text { grid-area: text; padding: 18px var(--gut) 36px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.poe-text > .signin, .poe-text > .signed { margin-top: 4px; }
.poe-pv { grid-area: pv; padding: 0 var(--gut) 44px; }
.facts { font-size: 15px; font-weight: 650; color: var(--cream); font-variant-numeric: tabular-nums; }
.by { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15px; color: var(--cream); text-decoration: none; justify-self: start; }
.by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.by-t { display: grid; line-height: 1.35; }
.by-n { font-weight: 650; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.22em; }
.by-c { color: var(--cream-2); text-wrap: balance; }   /* round 8: no "Games" alone on a phone */
.by:hover .by-n { text-decoration-color: currentColor; }
.poe-lede { color: var(--cream); max-width: 44ch; font-size: 18px; }
.offer-h strong { position: relative; display: inline; padding-bottom: 0; white-space: normal; font-family: var(--course); font-weight: 600; font-size: 32px; line-height: 1.08; color: var(--gold-hi); }
.offer-rest { color: var(--cream-2); font-size: 18px; max-width: 44ch; }
.poe-meta { display: grid; gap: 8px; order: -1; margin: 12px 0 4px; }   /* on a phone his face sits right under the offer */
.poe-text > .offer-h { order: -2; }
/* the sign-up as a piece of the page: between two gold rules, not a widget */
.poe-text > .signin { padding: 18px 0 16px; border-top: 1px solid rgba(227, 190, 134, 0.3); border-bottom: 1px solid rgba(227, 190, 134, 0.3); }
.w-poe input[type=email] { background: #1A130D; border-color: rgba(227, 190, 134, 0.32); }
.w-poe input[type=email]:hover { border-color: rgba(227, 190, 134, 0.6); }
.w-poe .email-row .btn-line { border-color: rgba(227, 190, 134, 0.5); color: var(--gold-hi); }
.w-poe .email-row .btn-line:hover { border-color: var(--gold-hi); background: rgba(227, 190, 134, 0.06); }
.again-email { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 550; color: var(--cream-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.25em; }
.u-end { position: relative; display: inline-block; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.lab-more { white-space: nowrap; }
@media (max-width: 599px) { .lab-sep { display: none; } .lab-more { display: block; } }   /* a phone breaks the label in two balanced lines, "Masterclass · 11 modules" over "2 out now · more to come" (round 8: "more to come" alone read as an orphan) */
.uline { position: absolute; left: -5px; top: 100%; margin-top: -1px; width: calc(100% + 12px); height: 15px; }
.signed { display: grid; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.signed p { color: var(--cream-2); overflow-wrap: anywhere; }
.signed .btn { justify-self: start; }

/* the stone band: the three levels on the card's own stone (his minute moved up into the first screen, round 5) */
/* look round 7 (round 6's leftover, both critics: "a stock feature table"; brand: "three short lines set over a stone
   or lamp texture"): the three levels as three lines cut in the course's own letters on the stone of his title card
   (stone-ground, from the card), the lamp's warmth from the left; each level's name in gold runs into its line, no
   rules, no columns. The heading is a spaced-caps label, as NEW is beside the lockup. */
.watch { padding: 60px 0 68px; background: radial-gradient(60% 95% at 10% 35%, rgba(255, 196, 120, 0.15), rgba(255, 196, 120, 0) 70%), linear-gradient(rgba(17, 12, 8, 0.5), rgba(17, 12, 8, 0.72)), url("/assets/img/stone-ground-960.bf6238212d.webp") center / cover, #1A130D; border-top: 1px solid rgba(227, 190, 134, 0.14); border-bottom: 1px solid rgba(227, 190, 134, 0.14); }
.watch-in { display: grid; gap: 0; }
.levels-h { font-family: var(--course); font-weight: 600; font-size: 32px; line-height: 1.05; color: var(--cream); }   /* a heading in the course's letters, as "The course" is (critics round 2, round 7: the spaced caps read as a template's) */
.levels-l { margin: 24px 0 0; display: grid; gap: 26px; max-width: 640px; }
.levels-l > div { padding: 0; border: 0; }
.levels-l dt, .levels-l dd { display: block; margin: 0; font-family: var(--course); }
.levels-l dt { font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--gold-hi); }
.levels-l dd { margin-top: 4px; font-weight: 500; font-size: 22px; line-height: 1.38; color: var(--cream); }   /* critics round 1, round 7: tight within a level, clear between levels, a 640 px measure */
.preview { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; view-transition-name: stage; border-radius: var(--r); }
.preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.pv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.preview .pv-start { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; margin: 0; background: #000; cursor: pointer; }
.preview .play-big { left: 88%; top: 76%; }   /* the lower right corner, well off his face (critic round 3) */
.preview .pv-start:hover .play-big { transform: scale(1.05); }
.preview.started .pv-start { display: none; }
.pv-cap { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 0; font-size: 17px; font-weight: 600; color: var(--cream); }
.pv-len { font-variant-numeric: tabular-nums; color: var(--cream-2); font-weight: 500; }

.contents { padding: 40px 0 44px; }
.contents-lede { margin-top: 10px; font-size: 17px; color: var(--ink-2); max-width: 46ch; }

.closing { display: grid; gap: 52px; padding-top: 56px; padding-bottom: 64px; }
.again { display: grid; gap: 28px; }
.again-head, .again-body { display: grid; gap: 14px; justify-items: start; }
.again-body .again-row { justify-self: stretch; }
.again p { color: var(--cream-2); max-width: 46ch; }
.again-row { display: grid; gap: 10px; width: 100%; max-width: 36rem; }
.teacher { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px 18px; align-items: start; align-content: start; }
.teacher img { grid-row: span 2; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.teacher p { color: var(--cream); max-width: 52ch; font-size: 17px; }
.tlink { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 0.22em; }

/* ---------------------------------------------------------------- the outline (paper on /poe, the rail in a room) */
.outline { margin-top: 18px; }
.o-group + .o-group { margin-top: 14px; }
.o-act { font-size: 14px; font-weight: 650; color: var(--ink-2); padding: 0 0 6px; }
.outline ol { list-style: none; margin: 0; padding: 0; }
.o-row { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; min-height: 48px; padding: 12px 0; border-top: 1px solid var(--paper-2); text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.3; }
.o-row:hover .o-t { text-decoration: underline; text-decoration-color: var(--paper-2); text-underline-offset: 0.2em; }
.o-n { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink-2); }
.o-len { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.o-s { font-size: 14px; font-weight: 650; color: var(--gold-ink); white-space: nowrap; }
li[data-state=locked] .o-row { color: var(--ink-2); font-weight: 500; }
li[data-state=locked] .o-s { color: var(--ink-2); font-weight: 500; }
.o-lock { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; fill: currentColor; }
/* the pencil on the contents page: the free pair's word circled, "start here" under the first */
.o-free .ring { position: absolute; left: -13px; top: -8px; width: calc(100% + 26px); height: calc(100% + 16px); }
.o-free > span:has(> .ring) { margin-right: 12px; }   /* the ringed word set in, so the ring keeps clear of its letters and inside the column (critics, round 7) */
.outline-paper li[data-module="0"] > .o-row { padding-bottom: 34px; }   /* room for his remark under the ringed word */
.o-remark { position: absolute; right: 2px; top: calc(100% - 33px); z-index: 1; font-size: 22px; --hw-h: calc(1.26 * 22px); color: var(--pencil-ink); transform: rotate(-4deg); transform-origin: right; white-space: nowrap; pointer-events: none; }   /* "Start here" in his hand (round 7) */

/* ---------------------------------------------------------------- the course room (/poe/<n>) */
.w-room body { background: #0E0A07; }
.room { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "player" "head" "cols" "rail"; }
.room > .player-wrap { grid-area: player; position: relative; z-index: 2; }
.room > .mod-head { grid-area: head; }
.room > .rail { grid-area: rail; }
.room > .cols { grid-area: cols; }
.frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; isolation: isolate; view-transition-name: stage; }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.card { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 6px; width: 100%; padding: 20px 20px 22px; border: 0; margin: 0; text-align: left; color: var(--cream); font: inherit; background: radial-gradient(120% 90% at 85% 10%, #1E1813 0, #120F0B 55%, #0A0806 100%); }
/* the poster before play: a sharp frame of the module, no word on it; the play disc sits beside him, never on him */
.card-poster { padding: 0; background: #000; }
.card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.card-poster .play-big { left: 90%; top: 66%; width: 56px; height: 56px; margin: -28px 0 0 -28px; z-index: 1; }   /* in the shadow to his left, clear of him and of the CC button */
.card-poster .play-big::after { left: 22px; top: 17px; border-width: 11px 0 11px 17px; }
.card-play { cursor: pointer; padding-bottom: 64px; }
.card-n { font-size: 15px; font-weight: 650; color: var(--cream-2); }
.card-t { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.04; max-width: 20ch; text-wrap: balance; }
.card-tag { margin-top: 4px; font-size: 15px; font-weight: 650; color: var(--gold-hi); }
.card-b { font-size: 15px; color: var(--cream-2); max-width: 36ch; }
.w-poe .card-t { font-family: var(--course); font-weight: 600; }
.card-play:hover .play-big { transform: scale(1.05); }
/* the title card before play: the title on the left, the play disc on the right */
.card-play:not(.card-poster) .play-big { left: auto; right: 20px; top: 50%; margin: -32px 0 0; }
.card-play:not(.card-poster) .card-t { max-width: calc(100% - 96px); }
.card-play .card-n { color: var(--cream); }
/* the poster holds until the film's first frame has painted (light.js adds .film), goes down to black, and the film
   comes up out of it: no cut from one shot of him to another (critics, rounds 1 and 2) */
.frame.started.film .card { visibility: hidden; }   /* the poster gives way to the film's first frame at once (critic round 2: crossfaded, the two ghosted) */

.frame.started:not(.film) .card { pointer-events: none; }
.frame.started .play-big { transform: scale(0.9); opacity: 0; transition: opacity .15s ease-out, transform .15s ease-out; }   /* the disc goes as it is pressed */
.frame::after { content: ""; position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; }
/* the controls come in once the film is up, not all at once while it is still coming out of the dark (round 6) */
@media (prefers-reduced-motion: no-preference) { .frame.custom.film .bar { animation: bar-in .45s cubic-bezier(0.3, 0, 0.2, 1) .7s backwards; } }
@keyframes bar-in { from { opacity: 0; } }
.bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto; align-items: center; gap: 2px 6px; padding: 0 6px; height: 52px; background: linear-gradient(180deg, rgba(6, 10, 18, 0) 0, rgba(6, 10, 18, 0.88) 70%); transition: opacity .3s var(--ease); }
.frame.idle .bar { opacity: 0; }
/* before play the title card holds the one play control; only captions stay reachable in the bar */
.frame.custom:not(.started) .bar { background: none; }
.frame.custom:not(.started) .bar > :not(#cc) { visibility: hidden; }
.frame.idle { cursor: none; }
.ctl { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--cream); cursor: pointer; }
.ctl:hover { background: rgba(232, 224, 212, 0.1); }
.time { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--cream); white-space: nowrap; padding: 0 4px; }
.t-sep, #t-dur { color: var(--cream-2); }
.i-play { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.frame.playing .i-play { width: 12px; height: 15px; border: 0; margin: 0; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }
.i-vol { position: relative; width: 16px; height: 14px; background: linear-gradient(currentColor, currentColor) 0 4px / 5px 6px no-repeat; }
.i-vol::before { content: ""; position: absolute; left: 3px; top: 0; border-style: solid; border-width: 7px 8px 7px 0; border-color: transparent currentColor transparent transparent; }
.frame.muted .i-vol::after { content: ""; position: absolute; left: -2px; top: 6px; width: 21px; height: 2px; background: currentColor; transform: rotate(-40deg); box-shadow: 0 0 0 1.5px #000; }
.i-fs { width: 16px; height: 16px; background:
  linear-gradient(currentColor, currentColor) 0 0 / 6px 2px no-repeat, linear-gradient(currentColor, currentColor) 0 0 / 2px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 100% 0 / 6px 2px no-repeat, linear-gradient(currentColor, currentColor) 100% 0 / 2px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 0 100% / 6px 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 2px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 100% 100% / 6px 2px no-repeat, linear-gradient(currentColor, currentColor) 100% 100% / 2px 6px no-repeat; }
.seek { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) 0 var(--p), rgba(232, 224, 212, 0.3) var(--p) 100%); }
.seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(232, 224, 212, 0.3); }
.seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--gold); }
.seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--cream); border: 0; }
.seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 0; }
.seek:focus-visible { outline: none; }
.seek:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--cream); outline-offset: 3px; }
.cc-mark { display: inline-grid; place-items: center; height: 20px; padding: 0 5px; border-radius: 5px; border: 1.5px solid currentColor; font-size: 11px; font-weight: 750; letter-spacing: 0.04em; line-height: 1; }
#cc[aria-pressed=true] .cc-mark { background: var(--cream); border-color: var(--cream); color: var(--ink); }
@media (hover: none) { #mute { display: none; } }
.under { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 0 var(--gut); font-size: 14px; color: var(--cream-2); }
.under:has(.status:empty) { display: none; }
#resume-note { font-size: 14px; padding-top: 10px; }
#resume-note button { min-height: 44px; margin-left: 6px; padding: 0 14px; border-radius: var(--br); border: 1px solid var(--line-2); background: none; cursor: pointer; font-weight: 600; }

.mod-head { display: grid; gap: 14px; padding: 18px var(--gut) 8px; }
.crumb { font-size: 15px; margin-bottom: -6px; }
.player-wrap > .crumb { padding: 4px var(--gut) 6px; margin: 0; }
.crumb a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--cream-2); text-decoration: none; }
.crumb a::before { content: ""; width: 7px; height: 7px; border-left: 1.75px solid currentColor; border-bottom: 1.75px solid currentColor; transform: rotate(45deg); }
.crumb a:hover { color: var(--cream); text-decoration: underline; }
.mod-title { font-family: var(--course); font-weight: 600; font-size: 34px; line-height: 1.02; }
.mod-n { display: block; margin-bottom: 6px; font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1.3; color: var(--cream-2); font-variant-numeric: tabular-nums; }
.mod-head .next { justify-self: start; }
.mod-head .signin, .mod-head .meanwhile { margin-top: 6px; }
/* Write to me (2026-11-25): one quiet line in his voice under the title, the site's own small type and cream; the link
   is underlined like the consent line's, and its tap area reaches 44 px tall through ::after without moving the text. */
.write { grid-column: 1 / -1; margin: 0; max-width: 60ch; font-size: 15px; line-height: 1.55; color: var(--cream-2); text-wrap: pretty; }
.write a { position: relative; color: var(--cream); font-weight: 550; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-2); }
.write a::after { content: ""; position: absolute; inset: -13px -6px; }
.write a:hover { text-decoration-color: currentColor; }
.frame-locked .card-t { font-size: 34px; }
.frame-locked { aspect-ratio: auto; background: none; }
.frame-locked .card { position: relative; inset: auto; padding: 26px var(--gut) 24px; background: none; }
.room-locked .mod-head .crumb + .signin, .room-locked .mod-head .crumb + .meanwhile { margin-top: 0; }
.meanwhile { display: grid; gap: 12px; justify-items: start; }
.meanwhile p { color: var(--cream-2); }

/* the rail: the outline as Daniel's working copy */
.rail { padding: 18px var(--gut) 8px; border-top: 1px solid var(--line); margin-top: 18px; }
.rail-head { display: none; align-items: center; min-height: 56px; text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rail-lock { --lh: 106px; --catch-at: .6s; margin: 0; }
.crumb-logo { height: 18px; width: auto; }
/* the room on a phone: the course leads it too (critics round 1, round 7); his name is the quiet running head */
@media (max-width: 899px) { .w-room .mark { font-size: 16px; color: var(--cream-3); letter-spacing: 0.04em; word-spacing: 0.08em; } .w-room .crumb-logo { height: 24px; } .w-room .crumb a { color: var(--gold-hi); } }
.rail .outline { margin-top: 6px; }
.rail .o-act { color: var(--cream-2); padding: 14px 10px 4px; font-size: 15px; }
.rail .o-group + .o-group { margin-top: 0; }
.rail .o-row { border-top: 0; min-height: 44px; padding: 10px 10px; border-radius: 10px; color: var(--cream); font-size: 17px; }
.rail .o-row:hover { background: rgba(232, 224, 212, 0.05); }
.rail .o-row:hover .o-t { text-decoration: none; }
.rail .o-n { color: var(--cream-2); }
.rail .o-time { color: var(--cream); font-weight: 600; font-variant-numeric: tabular-nums; }
.rail .o-s { color: var(--gold-hi); }
.rail li[data-state=locked] .o-row { color: var(--cream-2); }
.rail li[data-state=locked] .o-s, .rail li[data-state=locked] .o-n { color: var(--cream-3); }
.rail li[aria-current=page] > .o-row { background: rgba(201, 167, 106, 0.1); }
.rail li[aria-current=page] .o-n { color: var(--gold-hi); }
.rail li[data-seen=done] .o-n { color: transparent; position: relative; }
.rail li[data-seen=done] .o-n::after { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cfilter id=%27g%27 x=%27-20%25%27 y=%27-20%25%27 width=%27140%25%27 height=%27140%25%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%271.4%27 numOctaves=%272%27 seed=%277%27/%3E%3CfeColorMatrix type=%27matrix%27 values=%270 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 0 0 0 -1.5%27 result=%27t%27/%3E%3CfeGaussianBlur in=%27SourceGraphic%27 stdDeviation=%270.25%27 result=%27s%27/%3E%3CfeComposite in=%27s%27 in2=%27t%27 operator=%27arithmetic%27 k2=%271.75%27 k3=%27-0.95%27/%3E%3CfeComposite in=%27s%27 operator=%27in%27/%3E%3C/filter%3E%3Cpath filter=%27url(%23g)%27 fill=%27%23D9AE6E%27 d=%27M2.6 9.6L2.7 10.9 3 11.5 3.2 12.1 3.5 12.7 3.9 13 4.2 13.3 4.5 13.6 4.8 14 5.1 14.5 5.4 15.1 5.8 15.7 6.5 16.5 8.1 16.8 9.2 16 9.6 15.3 9.9 14.7 10.2 14.1 10.4 13.5 10.6 12.9 10.8 12.4 11.1 11.9 11.3 11.4 11.5 10.9 11.8 10.4 12.1 9.9 12.4 9.4 12.7 8.8 12.9 8.3 13.2 7.8 13.5 7.3 13.8 6.8 14.1 6.3 14.5 5.8 14.8 5.3 15.2 4.8 15.6 4.4 16 3.9 16.4 3.5 16.8 3.1 17.3 2.6 17.3 2.4 17 2.4 16.6 2.8 16.1 3.2 15.6 3.5 15.2 3.9 14.7 4.3 14.2 4.7 13.7 5.1 13.2 5.5 12.8 5.9 12.3 6.3 11.9 6.8 11.4 7.2 11 7.7 10.6 8.1 10.2 8.6 9.9 9.1 9.5 9.7 9.2 10.2 8.9 10.8 8.6 11.4 8.4 12 8.2 12.5 7.9 13.1 7.7 13.6 7.5 14.1 7.3 14.4 7.5 14.4 8 14.4 8 14.3 7.8 13.8 7.6 13.3 7.4 12.7 7.1 12.1 6.6 11.4 6.2 10.9 5.7 10.4 5.2 10.1 4.5 9.9 4 9.6Z%27/%3E%3C/svg%3E"); }
.rail-later { margin: 14px 10px 0; font-size: 14px; line-height: 1.45; color: var(--cream-2); }
.chapters { list-style: none; margin: 2px 0 10px; padding: 0 0 0 4px; }
.chapters button { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) 2.6em; gap: 8px; align-items: baseline; width: 100%; min-height: 44px; padding: 6px 10px; background: none; border: 0; border-radius: 8px; text-align: left; cursor: pointer; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--cream-2); }
.chapters button:hover { color: var(--cream); background: rgba(232, 224, 212, 0.05); }
.ch-mark { position: relative; width: 24px; height: 24px; }
.ch-mark svg { position: absolute; left: 1px; top: 2px; width: 21px; height: 21px; visibility: hidden; }
.chapters li[data-seen=done] .ch-mark .tick { visibility: visible; }
.chapters button[aria-current=true] { color: var(--cream); font-weight: 650; }
.chapters button[aria-current=true] .ch-t { color: var(--gold-hi); }
.ch-t, .o-t { text-wrap: pretty; }
.ch-time { font-size: 15px; font-weight: 600; color: var(--cream-2); font-variant-numeric: tabular-nums; text-align: right; }
.ch-mark { align-self: center; }

.cols { display: grid; gap: 28px; padding: 18px var(--gut) 48px; align-content: start; }
.notes { position: relative; padding: 26px var(--gut) 28px; background: var(--paper); color: var(--ink); }
.notes-h { font-family: var(--course); font-weight: 600; font-size: 32px; line-height: 1.05; margin-bottom: 10px; }
.notes h3 { font-size: 17px; font-weight: 700; margin: 18px 0 4px; }
.notes p { font-size: 18px; line-height: 1.6; color: #1E1B17; max-width: 66ch; }
.notes p + p { margin-top: 10px; }
.notes .margin { display: block; margin: 8px 0 0; font-size: 24px; --hw-h: calc(1.26 * 24px); color: var(--pencil-ink); transform: rotate(-2deg); transform-origin: left; max-width: 18ch; }   /* round 6's Caveat note, written on (round 8) */
.side { display: grid; gap: 22px; align-content: start; }
.box-h { font-size: 16px; font-weight: 650; color: var(--cream); margin-bottom: 10px; }
.pdfs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pdfs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--br); text-decoration: none; font-weight: 600; }
.pdfs a:hover { border-color: var(--cream-2); }
.pdf-kind { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--cream-2); }
.upnext { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 14px; border-radius: 12px; background: rgba(232, 224, 212, 0.05); text-decoration: none; min-height: 44px; }
.upnext:hover { background: rgba(232, 224, 212, 0.08); }
.upnext .num { color: var(--gold-hi); font-weight: 650; }
.upnext b { display: block; font-weight: 650; }
.upnext small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--cream-2); }

/* the screen lights the room (round 5): while a module plays, light.js draws the picture, tiny, into a canvas behind
   the player, and the browser blurs it into the light the screen throws on the walls around it; pausing lets it fade.
   Off under reduced motion. */
/* Look round 6 (polish): the spill reaches further and falls off as light does, strongest at the screen's edge and
   gone by about a third of the screen's width beyond it, more below than above (the light falls on the floor of the
   room); its colour is the picture's own, barely heightened (saturate 1.15, round 5's 1.6 turned skin orange), added
   to the dark (screen) rather than painted on it. It comes up a beat after the film does and goes down slower than
   it came, both from rest. */
.ambient { position: absolute; left: 50%; top: 50%; z-index: -1; width: 136%; height: 168%; transform: translate(-50%, -46%); filter: blur(56px) saturate(1.35) brightness(1.7); mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 52%, rgba(0, 0, 0, 0.45) 74%, transparent 100%); mask-image: radial-gradient(closest-side, #000 52%, rgba(0, 0, 0, 0.45) 74%, transparent 100%); opacity: 0; pointer-events: none; transition: opacity 1.6s cubic-bezier(0.45, 0, 0.25, 1); }
.player-wrap.lit .ambient { opacity: 1; transition-duration: 1.1s; transition-delay: .35s; }
.player-wrap { isolation: isolate; }
.room { overflow-x: clip; }   /* the screen's light spills round the player, never past the page's sides: a phone's page wider than its screen made Chrome abort the transition out of the room (look round 6) */

/* the lights: entering a room dims the hall a step (the header, the rail, the footer); playing dims everything but
   the screen; pausing brings it back. The stage itself (the player, the title, the notes) never dims at rest. */
html.w-room { --house: 1; --aisle: 1; }
html.w-room[data-lights="1"] { --house: 0.78; }
html.w-room[data-lights="2"] { --house: 0.5; --aisle: 0.6; }
.w-room :is(.top, .rail, .foot) { opacity: var(--house); transition: opacity 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
.w-room :is(.mod-head, .under) { opacity: var(--aisle); transition: opacity 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
/* the house goes down as the film comes up (.9 s), and comes back slower when it stops (1.1 s), both from rest */
html.w-room[data-lights="2"] :is(.top, .rail, .foot, .mod-head, .under, .cols) { transition-duration: .9s; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }   /* from rest, but under way within a few frames of the click (critic round 4: the dim began 0.2 s late) */
/* a phone shows little of the hall round the player, so what it shows goes down further (critic round 4: about 10 %, invisible) */
@media (max-width: 899px) { html.w-room[data-lights="2"] { --house: 0.4; --aisle: 0.45; } }
/* the notes go down a little with the house lights (not greyed, not khaki: their own colour, at 72 %) */
.w-room .cols { transition: opacity 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
html.w-room[data-lights="2"] .cols { opacity: 1; }   /* the notes stay their own cream while the film plays (critic round 2: dimmed, they went grey) */
html.w-room[data-lights="2"] .cols:is(:hover, :focus-within) { opacity: 1; transition-duration: .25s; }
html.w-room[data-lights="2"] :is(.rail, .mod-head, .top):is(:hover, :focus-within) { opacity: 1; transition-duration: .25s; }
/* look round 9 (Daniel: the room's "Free" readable, at the contrast of the site's other labels): the house dim on the
   rail goes on its parts, not on the rail as a whole, so that at rest the state word ("Free", "Open") keeps its own
   gold (10.3:1 on the rail, as the site's other labels, 10.5 to 11.1) instead of landing at 6.8:1 under the 0.78 dim;
   while the film plays it goes down with the house like the rest. The parts are disjoint (none inside another), so
   nothing is dimmed twice and the rest of the rail looks as it did. Its place, size, weight and colour are unchanged. */
.w-room .rail { opacity: 1; }
.w-room .rail :is(.rail > :not(.outline), .outline > :not(.o-group), .o-group > :not(ol), .o-group > ol > :not(li[data-module]), li[data-module] > :not(.o-row), li[data-module] > .o-row > *) { opacity: var(--house); transition: opacity 1.1s cubic-bezier(0.45, 0, 0.25, 1); }
.w-room .rail li[data-module]:not([data-state=locked]) > .o-row > .o-s:not(.o-time) { opacity: 1; }
html.w-room[data-lights="2"] .rail li[data-module] > .o-row > .o-s:not(.o-time) { opacity: var(--house); }
html.w-room[data-lights="2"] .rail:is(:hover, :focus-within) li[data-module] > .o-row > .o-s { opacity: 1; }
html.w-room[data-lights="2"] .rail :is(.rail > :not(.outline), .outline > :not(.o-group), .o-group > :not(ol), .o-group > ol > :not(li[data-module]), li[data-module] > :not(.o-row), li[data-module] > .o-row > *) { transition-duration: .9s; transition-timing-function: cubic-bezier(0.2, 0, 0, 1); }
html.w-room[data-lights="2"] .rail:is(:hover, :focus-within) :is(.rail > :not(.outline), .outline > :not(.o-group), .o-group > :not(ol), .o-group > ol > :not(li[data-module]), li[data-module] > :not(.o-row), li[data-module] > .o-row > *) { opacity: 1; transition-duration: .25s; }
@media (prefers-reduced-motion: no-preference) {
  html.w-room:not(.played)[data-lights="1"] :is(.top, .rail, .foot) { animation: house-down 1.4s ease .35s backwards; }   /* on arrival only, not after each pause */
}
@keyframes house-down { from { opacity: 1; } }

/* ---------------------------------------------------------------- channel panels (sign in, messages, soon) */
.panel { max-width: calc(28rem + 2 * var(--gut)); margin: 0 auto; padding: 40px var(--gut) 72px; display: grid; gap: 14px; }
.panel-h { font-family: var(--serif); font-weight: 560; font-size: 36px; line-height: 1.05; }
.panel > p { color: var(--cream-2); }
.panel .signin { margin-top: 10px; }
.panel form#link-form { margin-top: 8px; }
.panel form#link-form .btn { width: 100%; }
.hint { font-size: 15px; color: var(--cream-2) !important; }
.panel-soon { padding-top: 96px; }
.panel strong { color: var(--cream); overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- account page */
.acct-page { max-width: calc(38rem + 2 * var(--gut)); margin: 0 auto; padding: 32px var(--gut) 72px; min-height: calc(100svh - 60px); }
.acct-page h1 { font-family: var(--serif); font-weight: 560; font-size: 36px; line-height: 1.05; }
.acct-who { margin-top: 10px; color: var(--cream-2); overflow-wrap: anywhere; }
.acct-who strong { color: var(--cream); }
.acct-sec { padding: 26px 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.acct-sec:first-of-type { margin-top: 26px; }
.acct-sec h2 { font-size: 19px; font-weight: 650; }
.acct-sec p { color: var(--cream-2); }
.acct-sec .row { display: flex; flex-wrap: wrap; gap: 10px; }
.acct-sec .btn { min-height: 48px; font-size: 15px; }
.acct-id { font-size: 14px; color: var(--cream-2); }
.acct-id code { font: inherit; font-variant-numeric: tabular-nums; color: var(--cream); overflow-wrap: anywhere; }
.loading { color: var(--cream-2); padding: 40px 0; }

/* ---------------------------------------------------------------- admin */
.admin { max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 28px var(--gut) 72px; min-height: calc(100svh - 60px); }
.admin-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.admin h1 { font-family: var(--serif); font-weight: 560; font-size: 36px; line-height: 1.05; }
.admin-big { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: baseline; }
.admin-total { font-size: 18px; color: var(--cream-2); }
.admin-total b { display: block; font-size: 60px; line-height: 1; font-weight: 750; letter-spacing: -0.03em; color: var(--amber); font-variant-numeric: lining-nums tabular-nums; }
.admin-emails { font-size: 16px; color: var(--cream-2); }
.admin-emails strong { color: var(--cream); font-variant-numeric: tabular-nums; }
.admin-grid { margin-top: 36px; display: grid; gap: 36px; }
.admin h2 { font-size: 17px; font-weight: 650; margin-bottom: 10px; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 14px; font-weight: 650; color: var(--cream-2); padding: 0 12px 8px 0; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; }
.empty-row td { color: var(--cream-2); }
.admin .acct-id { margin-top: 28px; }

/* ---------------------------------------------------------------- reading pages: privacy, the fake mailbox */
.prose { max-width: calc(44rem + 2 * var(--gut)); margin: 8px auto 48px; }
.prose-page { margin: 0; padding: 30px var(--gut) 36px; background: var(--paper); color: var(--ink); }
.prose h1 { font-family: var(--serif); font-weight: 560; font-size: 38px; line-height: 1.05; margin-bottom: 12px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 32px 0 8px; }
.prose p, .prose li { color: #24211C; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.prose a { text-decoration-color: currentColor; }
.prose .status { margin-bottom: 18px; color: var(--ink-2); }
.mailbox { list-style: none; padding: 0; display: grid; gap: 28px; }
.mailbox .mail { border: 1px solid var(--paper-2); border-radius: 12px; overflow: auto; background: #fff; }

/* ---------------------------------------------------------------- wider screens */
/* on a phone the room's one-line mark does not catch the course page's lockup (critic round 1: two shapes morphing
   left doubled text); the lockup leaves with its page and the poster carries the move */
@media (max-width: 719px) {
  .card-poster .play-big { left: 13%; top: 72%; }   /* in the lower left corner, off his head and clear of the captions button (round 5) */
  .room .notes { margin: 0 calc(-1 * var(--gut)); }  /* a phone's notes are a full-width reading page, not a panel */
  .preview .play-big { left: 11%; top: 72%; width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .preview .play-big::after { left: 22px; top: 17px; border-width: 11px 0 11px 17px; }
}
@media (min-width: 720px) {
  :root { --gut: 32px; }
  body { font-size: 18px; }
  .top { height: 72px; }
  .mark { font-size: 23px; }
  .panel-h, .acct-page h1, .admin h1 { font-size: 44px; }
  .prose-page { max-width: 46rem; margin-left: auto; margin-right: auto; padding: 48px 56px 56px; }
  .frame { border-radius: var(--r); }
  .card { padding: 32px 32px 30px; }
  .card-play { padding-bottom: 76px; }
  .card-poster { padding: 0; }
  .card-t { font-size: 44px; }
  .play-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .card-play:not(.card-poster) .play-big { right: 40px; margin: -42px 0 0; }
  .card-play:not(.card-poster) .card-t { max-width: calc(100% - 140px); font-size: 52px; }
  .play-big::after { left: 33px; top: 26px; border-width: 16px 0 16px 26px; }
  .notes { padding: 34px 40px 36px; }
  .sec-h { font-size: 44px; }
  .w-poe .sec-h { font-size: 48px; }
  .me-name { font-size: 68px; }
  .me-tag { font-size: 32px; }
}

/* the margin-head grid: a section's head in the left column, its matter in the right, as a book sets it */
@media (min-width: 900px) {
  .mh { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 64px; align-items: start; }
  .gleam-full { --m: url("/assets/img/poe-logo-gold.ff418181d0.svg"); }
  .rail-lock { view-transition-name: course-title; }

  /* front door: his photo to the right under the header (which never sits on it), its left part fading into the
     ground; the words on that dark, never on him. The photo keeps its whole height (hair to hands): its width follows. */
  .w-home .top { max-width: none; padding-left: var(--side); padding-right: max(var(--gut), 3vw); }
  .door { --hh: clamp(600px, calc(100svh - 72px), 790px); height: var(--hh); align-items: center; }
  .door-photo { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 9 / 10; -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 6%, rgba(0, 0, 0, 0.55) 24%, #000 42%); mask-image: linear-gradient(90deg, transparent 0, transparent 6%, rgba(0, 0, 0, 0.55) 24%, #000 42%); }
  .door-photo img { height: 100%; aspect-ratio: auto; object-position: 50% 50%; }
  .door-photo::after { height: 16%; }
  .door-photo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 12%; z-index: 1; background: linear-gradient(180deg, var(--stage), rgba(4, 7, 14, 0)); pointer-events: none; }
  .door-text { margin: 0; padding: 0 0 2vh var(--side); width: calc(100% - var(--hh) * 0.9 * 0.8); gap: 20px; align-self: center; }
  .door-go { margin-top: 52px; gap: 20px; justify-items: start; }
  .door-go .btn { width: auto; min-height: 62px; font-size: 19px; padding: 0 34px; }
  .poe-offer { gap: 14px; }
  .door-line { display: none; view-transition-name: none; }
  .poe-offer .poe-lock { --lh: 128px; }   /* a tad bigger at a computer (Daniel, 2026-11-24): the top of the small cut's range */
  .poe-offer .offer-label { font-size: 18px; }   /* under the lockup, as on /poe (critics: beside it, it read as a stray caption) */
  .door-text { container-type: inline-size; }
  .me-name { font-size: clamp(56px, min(7vw, 14.5cqi), 132px); white-space: nowrap; }
  .me-tag { font-size: clamp(30px, 2.5vw, 46px); max-width: 22ch; }
  .door-photo > .sig-door { left: 19%; top: 58%; --sig-w: 32cqw; --thick: 1; }

  /* the course band: one composition. Him and the studio light fill the right of the band and feather into its umber,
     the words stand on the page's left edge over the umber (critics, round 3: no second half-and-half row) */
  .course-link { position: relative; display: block; min-height: 680px; padding: 0; overflow: hidden; }
  .course-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 62%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.45) 20%, rgba(0, 0, 0, 0.85) 34%, #000 46%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.45) 20%, rgba(0, 0, 0, 0.85) 34%, #000 46%); }
  .course-photo img { object-position: 50% 24%; }   /* round 8 (Daniel: "I like the more zoomed out look of the previous one ... still get that fuller shot"): round 6's whole frame again, round 7's 1.4x zoom gone */
  .course-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 16%; z-index: 1; background: linear-gradient(0deg, #110C08, rgba(17, 12, 8, 0)); pointer-events: none; }   /* the last of the chair's rim into the band's umber (critics, round 7) */   /* round 7: the chair out of the bottom third (layout critic) */
  .course-text { position: relative; z-index: 2; width: clamp(300px, 25%, 380px); min-height: 680px; padding: 96px 0 96px var(--side); gap: 22px; align-content: center; box-sizing: content-box; }
  /* round 8 ("we could bring some of the text down a line, make the font bigger like you did"): the words a step bigger
     and a measure narrower (25 %, was 29 % in round 7, 35 % in round 6), so the line about the course breaks once more
     and ends clear of his shoulder and the photo's fade, with the zoomed-out frame */
  .course-name { font-size: clamp(56px, 5vw, 82px); }
  .course-text p { font-size: 23px; text-wrap: balance; }   /* critics, round 8: the line ended on a two-word stub */
  .course-meta { font-size: 18px; }
  .courses:has(> li + li) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .courses:has(> li + li) .course-link { grid-template-columns: 1fr; padding: 0 0 40px; height: 100%; align-items: start; }

  /* him: the passage on the page's left edge, him as a figure set into the right column level with its first line;
     YouTube and Patreon as a short list under the passage */
  .him { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; padding: 112px var(--side) 120px; column-gap: 80px; }
  .him-photo { grid-column: 2; grid-row: 1; width: 100%; height: 100%; min-height: 520px; aspect-ratio: auto; object-position: 45% 22%; border-radius: 0; -webkit-mask-image: radial-gradient(85% 75% at 55% 40%, #000 55%, transparent 100%); mask-image: radial-gradient(85% 75% at 55% 40%, #000 55%, transparent 100%); }
  .him { align-items: stretch; }
  .him-text { grid-column: 1; grid-row: 1; padding: 0; gap: 22px; }
  .about-p { font-size: clamp(28px, 2.1vw, 34px); max-width: 30ch; }
  .about-p2 { font-size: clamp(20px, 1.5vw, 22px); max-width: 50ch; }
  .also { margin-top: 26px; padding-top: 0; }
  .also-one { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 40px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-2); }
  .also-h { font-size: clamp(24px, 1.8vw, 28px); }
  .also-one p { font-size: 19px; }

  /* course page: the lockup and his minute on the left, the offer column on the same top line on the right */
  .poe-hero { background: radial-gradient(40% 46% at 26% 44%, rgba(214, 160, 92, 0.10), rgba(214, 160, 92, 0) 72%); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "mast text" "pv text"; grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 36px; align-items: stretch; padding: 40px var(--side) 72px; }
  .poe-mast { padding: 0; gap: 18px; }
  .poe-hero-lock { --lh: clamp(140px, 11.5vw, 196px); }
  .poe-mast .offer-label { font-size: 19px; }   /* round 8 (critics): one step up beside the 78 % lockup */
  .poe-pv { padding: 0; }
  .poe-text { padding: 0; gap: 16px; }

  .facts, .by, .by-c { font-size: 16px; }
  .poe-lede, .offer-rest { font-size: 20px; line-height: 1.5; }
  .poe-text .offer-h strong { font-size: 48px; }
  .poe-text .consent, .poe-text .signin label { font-size: 16px; color: var(--cream-2); }
  .poe-text .btn-google { min-height: 56px; }
  .watch { padding: 80px 0 88px; background-image: radial-gradient(55% 95% at 12% 40%, rgba(255, 196, 120, 0.16), rgba(255, 196, 120, 0) 70%), linear-gradient(rgba(17, 12, 8, 0.45), rgba(17, 12, 8, 0.7)), url("/assets/img/stone-ground-1920.6e1098f24d.webp"); }
  .levels-h { font-size: 38px; }
  .levels-l { margin-top: 34px; gap: 34px; }
  .levels-l dt { font-size: 36px; }
  .levels-l dd { font-size: 25px; }
  .w-poe .watch .mh { align-items: start; }   /* the heading in the left column, the three levels where the contents start, as the course section below sets them */
  .w-poe .watch .levels-l { margin-top: 6px; }
  .preview .play-big { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .preview .play-big::after { left: 38px; top: 30px; border-width: 18px 0 18px 29px; }
  /* the closing block: the heading and his row on the left, the sign-up on the hero's column */
  .w-poe .again .sec-h { font-size: 36px; }
  .w-poe .closing .again { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; align-items: start; }
  .contents { padding: 80px 0 72px; }
  .contents-lede { font-size: 19px; }
  .contents .outline { margin-top: 6px; columns: 2; column-gap: 44px; }
  .contents .o-group { break-inside: avoid; }
  .contents .o-group + .o-group { margin-top: 0; padding-top: 0; }
  .contents .o-group { padding-bottom: 18px; }
  .closing { gap: 64px; padding-top: 88px; padding-bottom: 96px; }
  .again { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 64px; align-items: start; }
  .again-head { display: grid; gap: 36px; align-content: start; }
  .again-body { display: grid; gap: 14px; }
  .teacher { padding-top: 0; border-top: 0; max-width: 40rem; }
  .teacher { grid-template-columns: 96px minmax(0, 1fr); gap: 10px 24px; }
  .teacher img { width: 96px; height: 96px; }
  .teacher p { font-size: 20px; }
  .sig-end { --sig-w: 202px; --thick: 1; margin-top: 12px; }

  /* the room: rail left, the stage right */
  .room { grid-template-columns: 392px minmax(0, 1fr); grid-template-areas: "rail player" "rail head" "rail cols"; grid-template-rows: auto auto 1fr; column-gap: 0; max-width: 1680px; margin: 0 auto; }
  .room > .mod-head .crumb, .player-wrap > .crumb { display: none; }
  .frame-locked { aspect-ratio: auto; }
  .frame-locked .card { position: relative; inset: auto; padding: 36px 0 8px; justify-content: center; }
  .frame-locked { background: none; }
  .frame-locked .card-t { font-size: 60px; }

  .room > .rail { margin-top: 0; border-top: 0; position: sticky; top: 0; align-self: start; max-height: 100svh; overflow-y: auto; overscroll-behavior: contain; padding: 24px 16px 40px; background: var(--stage-1); border-right: 1px solid var(--line); min-height: 100svh; view-transition-name: rail; }
  .room > .player-wrap { padding: 96px 36px 0; }
  .room .under { padding: 0; }
  .room > .mod-head { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 22px 36px 6px; }
  .mod-title { font-size: 46px; }
  .room > .cols { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 18px 36px 72px; }
  .room > .cols.has-side { grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); }
  .room .notes { max-width: 1000px; }
  /* the notes: a reading measure (about 70 characters) and Daniel's pencil in a margin column of its own */
  .notes.has-margin { display: grid; grid-template-columns: minmax(0, 40rem) 12rem; column-gap: 48px; align-content: start; padding-right: 40px; }
  .notes.has-margin > * { grid-column: 1; }
  .notes.has-margin .margin { grid-column: 2; grid-row: 2 / span 3; position: static; width: auto; align-self: start; margin-top: 6px; }
  /* the locked room: the sign-up and the notes share one column */
  .room-locked > .mod-head .signin, .room-locked > .mod-head .meanwhile { max-width: 30rem; }
  /* the room: the rail runs from the top of the screen, its head the course's mark alone; the header (his name, the
     account) sits over the stage only, so his name never stacks over the course's mark (critics, rounds 4 and 5) */
  .w-room { --rail: 392px; --room-max: 1680px; --stage-pad: 36px; }
  .w-room .top { max-width: none; border-bottom: 0; padding-left: calc(max(0px, (100vw - var(--room-max)) / 2) + var(--rail) + var(--stage-pad)); padding-right: calc(max(0px, (100vw - var(--room-max)) / 2) + var(--stage-pad)); pointer-events: none; }
  .w-room .top > * { pointer-events: auto; }
  /* one masthead in the room (round 6's leftover, layout critic: the rail's lockup and "Daniel D. Teach" competed):
     the course's lockup leads the room; his name stays as the way home, set as a quiet running head */
  .w-room .mark { font-size: 16px; color: var(--cream-3); letter-spacing: 0.04em; word-spacing: 0.08em; }
  .w-room .mark:hover { color: var(--cream); }
  .room { margin-top: -72px; }
  /* the notes: a full light page across the stage, its text at a reading measure, the pencil in a margin column */
  .room > .cols:not(.has-side) { padding: 22px 0 0; display: grid; align-content: stretch; }
  .room { min-height: 100svh; }
  .room > .cols:not(.has-side) .notes { max-width: none; padding: 52px var(--stage-pad) 72px; }
  /* the locked room: the title and the sign-up side by side, the notes as the page below */
  .room-locked { grid-template-columns: var(--rail) minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "rail player head" "rail cols cols"; grid-template-rows: auto 1fr; }
  .room.room-locked > .player-wrap { padding: 104px 24px 0 var(--stage-pad); }
  .room.room-locked > .mod-head { padding: 116px var(--stage-pad) 0 24px; align-self: start; }
  .room-locked .frame-locked .card { padding-top: 0; }
  .room-locked > .mod-head { grid-template-columns: minmax(0, 1fr); }
  .notes .margin { font-size: 31px; --hw-h: calc(1.26 * 31px); }   /* round 6's 12rem margin; a quarter larger than round 6's 25 px (critics, round 8: "a speck in a wide empty margin") */
  .w-room .foot { max-width: none; padding-left: 428px; }
  .rail-head { display: flex; padding: 6px 10px 20px; margin-bottom: 6px; }
  .chapters button { line-height: 1.35; padding: 8px 10px; }
  .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .admin-grid .wide { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .rail .o-row { font-size: 18px; }
  .chapters button { font-size: 16px; }
  .rail .o-act { font-size: 15px; }
  .room > .player-wrap { padding: 100px 48px 0; }
  .room > .mod-head { padding: 24px 48px 6px; }
  .w-room { --stage-pad: 48px; }
  .room > .cols { padding: 20px 48px 80px; }
}
@media (min-width: 1800px) {
  :root { --max: 1360px; }
  body { font-size: 19px; }
  .room { max-width: 1880px; grid-template-columns: 420px minmax(0, 1fr); }
  .w-room { --rail: 420px; --room-max: 1880px; }
  .room-locked { grid-template-columns: 420px minmax(0, 1fr) minmax(0, 1fr); }
  .w-room .foot { padding-left: 456px; }
}

/* ---------------------------------------------------------------- page transitions (cross-document, progressive) */
/* Look round 6: on a phone the journey is cut (the last critic round scored it 5, under the floor of 6 the brief sets
   for a moment that stays): pages change by plain navigation there, the old page held until the new one paints. */
@media (prefers-reduced-motion: no-preference) and (min-width: 900px) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; animation-timing-function: ease; }
  ::view-transition-group(stage), ::view-transition-group(course-title), ::view-transition-group(rail) { animation-duration: .5s; animation-timing-function: var(--ease); }
  ::view-transition-old(stage), ::view-transition-new(stage) { height: 100%; object-fit: cover; }
  ::view-transition-group(mark), ::view-transition-group(acct) { animation-duration: .5s; }
  /* the journey (round 5): going in (the front door, the course page, a room), the page you leave dims away first, a
     little larger, as if walked past; a beat of dark; then the next comes up, so no frame holds two pages
     (critic round 1). Going back out, the reverse. The course's lockup and the stage (the minute, the player: the
     same frame of him on both pages) travel between pages on their own, over the dark. */
  /* the page you leave holds where it is, darkening, while the next is unrolled over it from the top (critic round 3:
     faded, a cream page went muddy grey, and an empty black beat held the lone logo) */
  html:active-view-transition-type(inward, outward)::view-transition-old(root) { animation: vt-dim .84s cubic-bezier(0.45, 0, 0.55, 1) both; }
  html:active-view-transition-type(inward)::view-transition-old(root) { --vt-s: 1.05; }
  html:active-view-transition-type(outward)::view-transition-old(root) { --vt-s: 0.96; }
  /* the next page is unrolled from the top, behind the travelling poster and lockup (critic round 2: a cream page
     faded in over the dark passed through muddy grey), its edge feathered */
  html:active-view-transition-type(inward, outward)::view-transition-new(root) { -webkit-mask: linear-gradient(180deg, #000 0, #000 90%, transparent 100%) 0 183% / 100% 220% no-repeat; mask: linear-gradient(180deg, #000 0, #000 90%, transparent 100%) 0 183% / 100% 220% no-repeat; animation: vt-unroll .7s cubic-bezier(0.45, 0, 0.55, 1) .18s both; }
  html:active-view-transition-type(inward)::view-transition-new(root) { --vt-s: 0.975; }
  html:active-view-transition-type(outward)::view-transition-new(root) { --vt-s: 1.03; }
  html:active-view-transition-type(inward, outward)::view-transition-group(course-title) { animation-duration: .62s; animation-delay: .1s; animation-timing-function: cubic-bezier(0.65, 0, 0.25, 1); }
  html:active-view-transition-type(inward, outward)::view-transition-group(stage) { animation-duration: .8s; animation-timing-function: cubic-bezier(0.65, 0, 0.25, 1); }
  html:active-view-transition-type(inward, outward)::view-transition-old(course-title) { animation: vt-hold-out .62s linear both; }
  html:active-view-transition-type(inward, outward)::view-transition-old(stage) { animation: vt-hold-out .8s linear both; }
  html:active-view-transition-type(inward, outward)::view-transition-new(course-title) { animation: vt-hold-in .62s linear both; }
  html:active-view-transition-type(inward, outward)::view-transition-new(stage) { animation: vt-hold-in .8s linear both; }
  html:active-view-transition-type(inward, outward)::view-transition-group(mark), html:active-view-transition-type(inward, outward)::view-transition-group(acct) { animation-duration: .6s; }
  /* a travelling element with nothing to land on leaves (or arrives) with its page; the lockup flies above the trailer */
  html:active-view-transition-type(inward, outward)::view-transition-old(stage):only-child, html:active-view-transition-type(inward, outward)::view-transition-old(course-title):only-child { animation: vt-leave .38s cubic-bezier(0.4, 0, 0.6, 1) both; }
  html:active-view-transition-type(inward, outward)::view-transition-new(stage):only-child, html:active-view-transition-type(inward, outward)::view-transition-new(course-title):only-child { animation: vt-arrive .55s cubic-bezier(0.16, 1, 0.3, 1) .3s both; }
  ::view-transition-group(course-title) { z-index: 3; }
  ::view-transition-group(stage) { z-index: 2; }
  html:active-view-transition-type(inward, outward)::view-transition-new(poe-label):only-child { animation: vt-arrive .4s cubic-bezier(0.3, 0, 0.2, 1) .72s both; }
  html:active-view-transition-type(inward, outward)::view-transition-old(poe-label):only-child { animation: vt-leave .2s ease both; }
  /* the rail arrives with its page, under the poster in flight (critic round 1: it ghosted over it) */
  html:active-view-transition-type(inward, outward)::view-transition-new(rail):only-child { animation: vt-arrive .55s cubic-bezier(0.16, 1, 0.3, 1) .42s both; }
  html:active-view-transition-type(inward, outward)::view-transition-old(rail):only-child { animation: vt-leave .3s cubic-bezier(0.4, 0, 0.6, 1) both; }
  /* the room's title and notes leave with the room: gone in its first fifth of a second, before the next page reaches them (light.js names them on the way out) */
  ::view-transition-old(room-head), ::view-transition-old(room-notes) { animation: vt-gone .22s cubic-bezier(0.4, 0, 1, 1) both; }
  /* the front door's photo and his line (round 7, motion critic: the next page's words crossed his face mid-journey, and
     on the way back his line printed over the travelling logo). Leaving: his photo is gone in 0.2 s, before any of the
     next page's words reach it, and his line fades over 0.22 s as the logo sets off (at 0.1 s). Coming back: the new page
     unrolls over the old one first, the logo lands (0.72 s), then his photo and his line come in. Never mid-move. */
  .w-home .door-photo { view-transition-name: door-photo; }
  .w-home .door-text .me-tag { view-transition-name: door-words; }
  ::view-transition-old(door-photo) { animation: vt-gone .2s cubic-bezier(0.4, 0, 1, 1) both; }
  ::view-transition-old(door-words) { animation: vt-gone .22s cubic-bezier(0.45, 0, 0.55, 1) both; }
  ::view-transition-new(door-photo) { animation: vt-arrive .5s cubic-bezier(0.3, 0, 0.2, 1) .5s both; }
  ::view-transition-new(door-words) { animation: vt-arrive .24s cubic-bezier(0.3, 0, 0.2, 1) .8s both; }
}
/* Look round 8 (Daniel, on the phone's home to /poe: "a little jarring. is there no way to make it transition a bit
   more smoothly?"): on a phone the pages change through a short dark dip, nothing more. The whole old page goes down
   into the dark in 0.12 s, the ground holds a moment, and the new one comes up out of it from 0.15 s over 0.26 s (0.41 s in all), both grounds dark, so there
   is never a white frame; no element is named, so nothing travels across the screen (round 6's journey, which moved
   the logo and the stage, scored 5 on a phone and was cut). Back and forward skip it (the pagereveal script). */
@media (prefers-reduced-motion: no-preference) and (max-width: 899px) {
  @view-transition { navigation: auto; }
  .mark, .poe-lock, .poe-mast .offer-label, .preview, .frame, .rail, .rail-lock { view-transition-name: none !important; }
  /* the old page falls evenly to the ground (an eased start held at 90 % for two frames), and only then does the new one
     rise, on a gentle curve (a steep one put it at 50 % in one frame); "Sign in" or "Account", in the same place on
     every page, stays still (motion critic, round 8) */
  ::view-transition-old(root) { animation: vt-gone .12s linear both; }
  ::view-transition-new(root) { animation: vt-dip-in .26s cubic-bezier(0.45, 0, 0.55, 1) .15s both; }   /* critic round 2: a held frame of ground, then a full, even rise (it had put half the room's paper up in one frame) */
  ::view-transition-group(acct) { animation: none; }
  ::view-transition-old(acct) { animation: vt-gone .12s linear both; }
  ::view-transition-new(acct) { animation: none; }
}
@keyframes vt-dip-in { from { opacity: 0; } }
@keyframes vt-gone { to { opacity: 0; } }
@keyframes vt-leave { to { opacity: 0; transform: scale(var(--vt-s, 1)); } }
@keyframes vt-arrive { from { opacity: 0; transform: scale(var(--vt-s, 1)); } }
@keyframes vt-dim { to { filter: brightness(0.45); } }
/* the blind's edge is feathered over a fifth of the screen (critic round 4: a hard edge read as a render tear) */
@keyframes vt-unroll { from { -webkit-mask-position: 0 183%; mask-position: 0 183%; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
/* a travelling element swaps its old picture for its new one at the middle of the flight, not as a long dissolve */
@keyframes vt-hold-out { 0%, 45% { opacity: 1; } 55%, 100% { opacity: 0; } }
@keyframes vt-hold-in { 0%, 45% { opacity: 0; } 55%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
}

/* ---------------------------------------------------------------- the card poster (look round 6, Daniel's note 6c) */
/* The preview on /poe and the room's poster are one frame of his title card (courses/poe.page.json, card_poster); it
   is the whole frame (no crop), and its play disc sits where the poster says (play_at), in the dark beside the lamp,
   clear of the title, at every width. */
.pv-img.pv-card, .card-img.card-card { object-position: 50% 50%; }   /* round 7 tried cutting the card's black top back: any crop that reads cuts the harp or the T of THE; left as his card is (design/round-7/NOTES.md) */
.preview.has-spot .play-big, .card-poster.has-spot .play-big { left: var(--px, 50%); top: var(--py, 46%); }
.preview.has-spot .play-big, .card-poster.has-spot .play-big { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.preview.has-spot .play-big::after, .card-poster.has-spot .play-big::after { left: 23px; top: 18px; border-width: 12px 0 12px 18px; }
@media (min-width: 1280px) { .preview.has-spot .play-big, .card-poster.has-spot .play-big { width: 68px; height: 68px; margin: -34px 0 0 -34px; } .preview.has-spot .play-big::after, .card-poster.has-spot .play-big::after { left: 26px; top: 21px; border-width: 13px 0 13px 20px; } }
