/* ============================================================
   POV · THE AI AHA JOURNEY (Neena, 12 Nov 2026) — a scene in the piece
   content/povs/the-ai-aha.md, from the Claude Design handoff
   "design_handoff_ai_aha_journey" (its README is the spec; positions,
   copy and timing are final).

   A couple walk a dotted path through five stages — the AI Aha, the
   dread, the fork, then she to Agency and he to Autopilot, joined by a
   woman who never had the aha. At each stage the view zooms in and shows
   the stage's name, its line and a quote.

   · THE BOARD (desktop): board fit (§3) — a fixed 1280 × 800 artboard,
     scaled by one transform, pinned for 700vh. Everything on it is a
     pure function of scroll progress (pov-ai-aha-journey.js), so it
     reverses exactly (§4.1). Stage changes — colours, poses, the zoom's
     words — are cuts (§4.2).
   · THE LIST (phones, no script, and what a screen reader reads at any
     width): the five stages stacked in plain flow, no choreography. The
     markup is content/povs/scenes/ai-aha-journey.html; the board is
     drawn from the same words.
   · A KNOWING ADDITION to the piece's "nothing moves on scroll"
     (pov-03-piece.css): this one chapter moves, scroll-scrubbed. The
     camera's zoom is eased against scroll, not against time — the
     design's choice; it still runs backwards exactly.
   · Reduced motion: the pin is released (base.css) and the board shows
     its conclusion — the whole journey walked and coloured, the closing
     line as its headline.
   Tokens only. All type is ink on cream.

   16 Nov 2026 (Julian): five steps; the numbering above the headline,
   kept through the zoom; one quote to a stage, on the right; a Skip the
   journey link; and THE UPRIGHT MAP for phones (.is-phone, below) — the
   whole journey on one screen, pinned, the words changing under it. The
   list is now the fallback: no scripts, reduced motion on a phone, and a
   computer at a narrow window (the zoomed state, §3).
   ============================================================ */

.pov-journey{--chapter-bg:var(--cream);color:var(--ink)}

/* THE LIST — the default: stacked, in flow */
.pov-journey-act > .pov-journey{position:relative;height:auto;min-height:0}   /* not pinned unless the board is up */
.pov-journey .jr-wrap{display:none}
.pov-journey .jr-flow{display:flex;flex-direction:column;gap:72px;max-width:560px;margin:0 auto;padding:24px var(--m) 64px}   /* 24 at the top: with the text above's own space, a section's gap */
.pov-journey .jr-list{display:flex;flex-direction:column;gap:72px;margin:0;padding:0;list-style:none}
.pov-journey .jr-stage{display:flex;flex-direction:column;gap:20px}
.pov-journey .jr-n{margin:0;font-family:var(--mono);font-size:12px;line-height:14px;letter-spacing:.08em;text-transform:uppercase}
.pov-journey .jr-art{position:relative;height:236px}
.pov-journey .jr-art::before{content:"";position:absolute;left:50%;bottom:0;width:176px;height:176px;margin-left:-88px;border-radius:50%;background:var(--g)}
.pov-journey .jr-figs{position:absolute;left:0;right:0;bottom:80px;display:flex;justify-content:center;align-items:flex-end;gap:6px}
.pov-journey .jr-figs img{display:block;height:132px;width:auto}
.pov-journey [data-pad="aha"]{--g:var(--gum)}
.pov-journey [data-pad="dread"]{--g:var(--moss)}
.pov-journey [data-pad="fork"]{--g:var(--acid)}
.pov-journey [data-pad="agency"]{--g:var(--coral)}
.pov-journey [data-pad="auto"]{--g:var(--cobalt)}
.pov-journey [data-pad="noaha"]{--g:var(--beige)}
.pov-journey h3,.pov-journey .jr-final{margin:0;font-family:var(--deck);font-weight:500;font-size:clamp(30px,8.7vw,44px);line-height:1.08;letter-spacing:-.02em;text-wrap:pretty}
.pov-journey .jr-def{margin:0;font-family:var(--deck);font-size:17px;line-height:25px;text-wrap:pretty}
.pov-journey .jr-flow blockquote{display:flex;flex-direction:column;gap:10px;margin:0;padding-top:8px}
.pov-journey .jr-flow blockquote p{margin:0;font-family:var(--deck);font-weight:500;font-size:28px;line-height:34px;   /* 28/34, up from 24/30, with the board's (Neena, 12 Nov 2026) */
  letter-spacing:-.02em;text-wrap:pretty}
.pov-journey .jr-flow blockquote cite{font-family:var(--mono);font-style:normal;font-size:12px;line-height:18px;letter-spacing:.08em;text-transform:uppercase}
.pov-journey cite::before{content:"— "}
.pov-journey .jr-flow br.zb{display:none}   /* the zoom's line breaks are the board's only */

/* THE BOARD — .is-board is set by the script on a wide screen */
.pov-journey-act.is-board{height:700vh}
/* A SHORT, WIDE WINDOW keeps the pin (Neena, 12 Nov 2026): base.css
   releases every act at ≤ 560 high (the zoomed state); this board scales
   to whatever height there is, so it stays the designed scene. Only a
   request for less motion releases it. */
@media (prefers-reduced-motion:no-preference){.pov-journey-act.is-board{height:700vh!important}}
.pov-journey-act.is-board > .pov-journey{position:sticky;top:0;height:100lvh;display:flex;align-items:center;justify-content:center;
  background:transparent;pointer-events:none;   /* pulled up over the foot of the text above (the script): cream on cream, and it must not cover that text */
  padding-top:var(--jr-nav,0px)}   /* the board sits under the nav band (the script measures it) */
.is-board .jr-flow{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}   /* still read aloud; the board is the picture of it */
.is-board .jr-wrap{display:block;position:relative;overflow:hidden;aspect-ratio:1280/800;
  width:min(100%, calc((100lvh - var(--jr-nav,0px)) * 1.6));max-width:1440px}
.jr-fit,.jr-cam{position:absolute;left:0;top:0;width:1280px;height:800px;transform-origin:0 0}
.jr-cam-b{pointer-events:none}
.jr-paths{position:absolute;left:0;top:0;overflow:visible}
.jr-paths path{fill:none;stroke:var(--beige);stroke-width:6;stroke-linecap:round;stroke-dasharray:0 16}
.jr-paths path.is-walked{stroke:var(--ink)}
.jr-pad{position:absolute;width:112px;height:112px;border-radius:50%;background:var(--paper)}
.jr-pad.is-on{background:var(--g)}
.jr-label{position:absolute;display:flex;flex-direction:column;gap:2px;text-align:center}
.jr-label b{font-family:var(--deck);font-weight:500;font-size:24px;line-height:30px;letter-spacing:-.02em}
.jr-label span{font-family:var(--deck);font-size:16px;line-height:22px;text-wrap:balance}
.jr-count{position:absolute;left:60px;top:44px;z-index:2;margin:0;padding:0 12px 6px 0;background:var(--cream);   /* above the headline, and not hidden by the zoom: its own ground keeps the path's dots from running behind it */
  font-family:var(--mono);font-size:16px;line-height:20px;letter-spacing:.08em;text-transform:uppercase}
.jr-story{position:absolute;left:60px;top:78px;width:660px;margin:0;font-family:var(--deck);font-weight:500;font-size:32px;line-height:38px;letter-spacing:-.02em;text-wrap:pretty}
.jr-fit.is-zoomed .jr-label,.jr-fit.is-zoomed .jr-story{display:none}
.jr-person{position:absolute;display:block;height:84px;width:auto}
.jr-rays{position:absolute;left:0;top:0;pointer-events:none}
.jr-rays path{fill:none;stroke:var(--g);stroke-width:6;stroke-linecap:round}
.jr-zoom{position:absolute;top:600px;width:460px;display:flex;flex-direction:column;gap:6px;text-align:center}
.jr-zoom b{font-family:var(--deck);font-weight:500;font-size:32px;line-height:38px;letter-spacing:-.02em}
.jr-zoom span{font-family:var(--deck);font-size:24px;line-height:30px;text-wrap:balance}
.jr-q{position:absolute;display:flex;flex-direction:column;gap:10px;margin:0;padding:12px;background:var(--cream)}
.jr-q p{margin:0;font-family:var(--deck);font-weight:500;font-size:32px;line-height:38px;letter-spacing:-.02em;
  text-wrap:balance}   /* the handoff's 32/38. EVEN LINES (Neena, 12 Nov 2026): the lines are balanced by the browser, in place of the handoff's two hand-set returns, which left ragged blocks */
.jr-q br.zb{display:none}
.jr-q cite{font-family:var(--mono);font-style:normal;font-size:16px;line-height:20px;letter-spacing:.08em;text-transform:uppercase}
.jr-q.side{left:660px;top:380px;width:620px;transform:translateY(-50%);text-align:left;padding-right:72px}
.jr-foot{position:absolute;left:0;right:0;bottom:0;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;
  font-family:var(--mono);font-size:16px;letter-spacing:.08em;text-transform:uppercase}
.jr-skip{color:inherit;text-underline-offset:.2em;pointer-events:auto}   /* the chapter ignores the pointer (it overlaps the text above); this link must not */
.jr-foot .jr-skip{padding:14px 0}
.jr-skip:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.jr-fit [hidden]{display:none!important}

/* THE UPRIGHT MAP — .is-phone is set by the script on a phone (a narrow
   screen with a coarse pointer, motion allowed). One screen, pinned: the
   numbering and headline, the map, then the stage's words and the skip
   link. The script gives the headline and the words the height of their
   longest stage, so the map never shifts as they change and takes all the
   room that is left. Board 440 × 408 (17 Nov 2026: bigger circles, figures
   and names; Agency and Autopilot named beside their circles). */
.jr-phone{display:none}
.pov-journey-act.is-phone{height:380svh}
.pov-journey-act.is-phone > .pov-journey{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;overflow:hidden;
  padding:calc(var(--jr-nav,0px) + 10px) var(--m) 16px}
.is-phone .jr-flow{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}   /* still read aloud */
.is-phone .jr-wrap{display:none}
.is-phone .jr-phone{display:flex;flex-direction:column;flex:1 1 0;min-height:0}
.jr-p-head{flex:none}
.jr-p-count{margin:0 0 8px;font-family:var(--mono);font-size:12px;line-height:14px;letter-spacing:.08em;text-transform:uppercase}
.jr-p-title{margin:0;font-family:var(--deck);font-weight:500;font-size:20px;line-height:24px;letter-spacing:-.02em;text-wrap:pretty}
.jr-p-map{flex:1 1 0;position:relative;min-height:0}
.jr-p-board{position:absolute;left:50%;top:0;width:440px;height:408px;transform-origin:0 0}
.jr-p-board svg{position:absolute;left:0;top:0;overflow:visible}
.jr-p-board path{fill:none;stroke:var(--beige);stroke-width:5;stroke-linecap:round;stroke-dasharray:0 12}
.jr-p-board path.is-walked{stroke:var(--ink)}
.jr-p-board .jr-pad{width:68px;height:68px}
.jr-p-board .jr-pad.is-here{outline:2px solid var(--ink);outline-offset:4px}   /* the stage the words below are about */
.jr-p-name{position:absolute;margin:0;font-family:var(--deck);font-weight:500;font-size:24px;line-height:26px;letter-spacing:-.02em;white-space:nowrap}
.jr-p-name.l{transform:translate(-100%,-50%)}
.jr-p-name.r{transform:translate(0,-50%)}
.jr-p-who{position:absolute;left:0;top:0;display:block;height:60px;width:auto}
.jr-p-who[hidden]{display:none}
.jr-p-cap{flex:none;display:flex;flex-direction:column;border-top:1px solid var(--ink);padding-top:12px}
.pov-journey .jr-p-cap h3{margin:0 0 2px;font-size:24px;line-height:28px}
.jr-p-def{margin:0 0 10px;font-family:var(--deck);font-size:15px;line-height:20px}
.jr-p-def br,.jr-p-cap br.zb{display:none}
.jr-p-cap blockquote{margin:0}
.jr-p-cap blockquote p{margin:0 0 6px;font-family:var(--deck);font-weight:500;font-size:18px;line-height:23px;letter-spacing:-.02em;text-wrap:pretty}
.jr-p-cap cite{font-family:var(--mono);font-style:normal;font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase}
.jr-p-cap .jr-skip{align-self:flex-start;margin-top:8px;padding:15px 0;font-family:var(--mono);font-size:12px;line-height:14px;letter-spacing:.08em;text-transform:uppercase}   /* under the quote; a 44px tap target */
@media (max-height:700px){
  .jr-p-title{font-size:18px;line-height:21px}
  .pov-journey .jr-p-cap h3{font-size:20px;line-height:24px}
  .jr-p-cap blockquote p{font-size:16px;line-height:20px}
  .jr-p-def{margin-bottom:6px}
  .jr-p-cap .jr-skip{margin-top:2px}
}

/* the body chapter after the scene opens like the one after the pull line */
.pov-journey-act + .pov-body{padding-top:clamp(56px,5vw,72px)}
