/* READY FOR WINGS — the design system.

   A picture book that happens to be a website. Everything here comes out of the
   Aero illustrations: flat colour, thick warm-black outlines, a sky that starts
   pale at the horizon, and the leather helmet as the one object that carries the
   whole story.

   Rules:
   1. OUTLINES, not shadows. Depth comes from a 3px --ink border, never a blur.
   2. Flat fills only. No gradients except the sky itself, which is a real thing.
   3. Big type, generous line-height. It is read by eight-year-olds and out loud
      by adults.
   4. Every interactive thing looks pressable — it sits up, and it moves down.
*/

:root{
  /* sky */
  --sky:#8FD3F4;
  --sky-deep:#5BB4E5;
  --sky-pale:#D6EFFB;
  /* ground */
  --grass:#8DC96A;
  --grass-deep:#5FA344;
  /* the aeroplane, and the one accent that means "go" */
  --aero-red:#D8443C;
  --aero-red-deep:#B4322B;
  /* the helmet — the motif of the whole story */
  --leather:#8B5E3C;
  --leather-deep:#5E3C22;
  --brass:#F5C24B;
  /* paper and ink */
  --paper:#FFFDF6;
  --paper-2:#F6EFE0;
  --ink:#2B2118;
  --ink-2:#584637;
  --ink-3:#8A7663;

  --rounded:ui-rounded,"SF Pro Rounded","Hiragino Maru Gothic ProN",
            "Varela Round",Avenir,"Avenir Next",system-ui,sans-serif;
  --body:"Avenir Next",Avenir,system-ui,-apple-system,"Segoe UI",sans-serif;

  --gut:clamp(18px,4.5vw,60px);
  --bd:3px;
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    /* Evening flying. Same world, later in the day — not an inversion. */
    --sky:#2C4A6B;
    --sky-deep:#1B3049;
    --sky-pale:#3E6288;
    --grass:#4A7A44;
    --grass-deep:#2F5730;
    --paper:#241D18;
    --paper-2:#332A22;
    --ink:#FFF6E4;
    --ink-2:#E4D6C0;
    --ink-3:#B09A80;
    --leather:#B37C4F;
    --brass:#F5C24B;
  }
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
body{
  margin:0;background:var(--paper);color:var(--ink-2);
  font-family:var(--body);font-size:clamp(16px,1.15vw,18px);line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
/* height:auto is load-bearing: the img tags carry width/height attributes for
   layout reservation, and without this the height attribute wins after the
   width shrinks — every illustration rendered as a stretched sliver */
img{max-width:100%;height:auto;display:block}
.wrap{max-width:1120px;margin:0 auto;padding:0 var(--gut)}
.wrap-wide{max-width:1400px;margin:0 auto;padding:0 var(--gut)}

/* ── type ─────────────────────────────────────────────────────────── */
/* Headings used to be margin:0, so anywhere a rule did not set one explicitly
   the following paragraph sat 2-6px under the title and read as one bunched
   block. A default bottom margin fixes every one of those at once; the rules
   further down that DO set a margin still win. 1.02 was also too tight for a
   heading that wraps onto two lines — the lines touched. */
h1,h2,h3,h4{font-family:var(--rounded);font-weight:800;color:var(--ink);
  margin:0 0 .42em;line-height:1.06;letter-spacing:-.015em;text-wrap:balance}
h1{font-size:clamp(38px,6.4vw,76px);line-height:1.04}
h2{font-size:clamp(29px,4.2vw,52px);line-height:1.08}
h3{font-size:clamp(21px,2.4vw,30px);line-height:1.14}
h4{font-size:clamp(17px,1.5vw,20px);line-height:1.22}
p{margin:0}
strong{color:var(--ink);font-weight:700}

.kicker{display:inline-block;font-family:var(--rounded);font-weight:800;
  font-size:13px;letter-spacing:.13em;text-transform:uppercase;
  color:var(--ink);background:var(--brass);
  border:var(--bd) solid var(--ink);border-radius:999px;padding:6px 15px;
  transform:rotate(-1.4deg)}
.big{font-size:clamp(18px,1.55vw,22px);line-height:1.55;color:var(--ink-2)}
/* the one line that tells a parent why to trust any of this. It was in the
   footer, 76% down an 11,800px page, which is nowhere. */
.credit{margin-top:14px;font-size:15.5px;line-height:1.5;color:var(--ink-2);
  border-left:4px solid var(--brass);padding-left:14px;max-width:44ch}

/* ── buttons ──────────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:10px;
  font-family:var(--rounded);font-weight:800;font-size:clamp(15px,1.2vw,18px);
  color:var(--ink);background:var(--paper);
  border:var(--bd) solid var(--ink);border-radius:999px;
  padding:13px 24px;cursor:pointer;text-decoration:none;
  box-shadow:0 4px 0 var(--ink);transition:transform .09s,box-shadow .09s}
.btn:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--ink)}
.btn:active{transform:translateY(4px);box-shadow:0 0 0 var(--ink)}
.btn:focus-visible{outline:3px solid var(--aero-red);outline-offset:3px}
.btn-go{background:var(--aero-red);color:#FFFDF6}
.btn-sky{background:var(--sky);color:var(--ink)}
.btn-sm{padding:9px 17px;font-size:14px;box-shadow:0 3px 0 var(--ink)}
.btn[disabled]{opacity:.45;cursor:not-allowed;box-shadow:0 4px 0 var(--ink)}
.btn[disabled]:hover{transform:none;box-shadow:0 4px 0 var(--ink)}

/* ── the nav ──────────────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:60;background:var(--paper);
  border-bottom:var(--bd) solid var(--ink)}
.nav-in{display:flex;align-items:center;gap:clamp(10px,1.8vw,26px);
  height:74px;max-width:1400px;margin:0 auto;padding:0 var(--gut)}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;flex:0 0 auto}
/* the mark is a winged badge, so its slot is landscape — a 42px square
   left it floating with empty air above and below */
.brand svg{width:50px;height:30px;flex:0 0 50px}
.brand b{font-family:var(--rounded);font-weight:800;font-size:20px;color:var(--ink);
  line-height:1;letter-spacing:-.01em}
.brand span{display:block;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-3);font-weight:700;margin-top:3px}
/* launch mode's bar: "More launching soon…" and the mode switch */
.nav-links{display:flex;gap:clamp(8px,1.4vw,20px);margin-left:auto;align-items:center;
  flex-wrap:nowrap}
@media(max-width:600px){
  .brand{flex:0 1 auto;min-width:0}
}

/* ── THE BAR (2026-12-02) ─────────────────────────────────────────────
   [brand] [🎓 First Wings] [Games ▾ Books ▾ Make ▾ Explore ▾ Grown-ups ▾] … [pilot card] [☰ Menu]
   Every button is a picture over a word, the way a child reads a toolbar:
   the telescope is Explore whether or not "Explore" can be read yet.
   Measured, not guessed (tools/cdp.js at each width): the group buttons
   need 1140px, Grown-ups 1280px; below that ☰ Menu carries every one of
   them. Nothing here may wrap — a label on two lines means the bar has too
   much in it, and the fix is a breakpoint, never a squeeze. */
.nav-fw,.ng-btn,.menu-btn{display:inline-flex;flex-direction:column;align-items:center;
  justify-content:center;gap:4px;flex:0 0 auto;min-height:54px;padding:5px 10px;margin:0;
  border-radius:14px;font-family:var(--rounded);font-weight:800;font-size:13.5px;line-height:1;
  color:var(--ink);text-decoration:none;white-space:nowrap;cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.nb-i{font-size:22px;line-height:1}
.nb-t{display:flex;align-items:center;gap:4px}
.nav-fw:focus-visible,.ng-btn:focus-visible,.menu-btn:focus-visible{outline:3px solid var(--aero-red);outline-offset:3px}
/* First Wings: the one red button on the bar, so nobody hunts for it again */
.nav-fw{background:var(--aero-red);color:#FFFDF6;border:var(--bd) solid var(--ink);
  box-shadow:0 4px 0 var(--ink);padding:5px 13px;transition:transform .09s,box-shadow .09s}
.nav-fw:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--ink)}
.nav-fw:active{transform:translateY(4px);box-shadow:0 0 0 var(--ink)}
.nav-fw:focus-visible{outline-color:var(--ink)}
/* the places */
.nav-groups{flex:0 1 auto;min-width:0}
.ngs{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
.ng{position:relative;margin:0}
.ng-btn{border:2.5px solid transparent;background:none;transition:background .12s}
.ng-btn:hover{background:var(--paper-2)}
/* the place you are in */
.ng.is-here .ng-btn{background:color-mix(in srgb,var(--brass) 40%,transparent)}
.ng.open .ng-btn{background:var(--sky-pale);border-color:var(--ink)}
.ng-car{display:inline-block;width:6px;height:6px;margin-left:2px;
  border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg);transition:transform .15s}
.ng.open .ng-car{transform:translateY(1px) rotate(225deg)}
@media(max-width:1139px){ .nav-groups{display:none} }
@media(max-width:1279px){ .ng-ups{display:none} }
/* your own corner: the pilot card button (assets/pilot.js mounts it in
   [data-pilot-slot]; about 44px square on a phone, up to ~170px wide with
   its name on a computer) and ☰ Menu, which carries the stamp count */
.nav-me{display:flex;align-items:center;gap:10px;margin-left:auto;flex:0 0 auto}
.nav-pilot{display:flex;align-items:center;min-width:44px;min-height:44px}
.menu-btn{position:relative;min-width:60px;border:var(--bd) solid var(--ink);background:var(--paper);
  box-shadow:0 3px 0 var(--ink);transition:transform .09s,box-shadow .09s}
.menu-btn:hover{background:var(--paper-2)}
.menu-btn:active{transform:translateY(3px);box-shadow:0 0 0 var(--ink)}
.menu-btn.open{background:var(--sky-pale)}
.mb-bars{display:flex;flex-direction:column;justify-content:center;gap:4px;height:22px}
.mb-bars span{display:block;width:20px;height:3px;border-radius:2px;background:currentColor;
  transition:transform .15s,opacity .15s}
.menu-btn.open .mb-bars span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn.open .mb-bars span:nth-child(2){opacity:0}
.menu-btn.open .mb-bars span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
/* the tagline under the name only where the bar has room for it */
@media(max-width:1439px){ .nav-in:has(.nav-me) .brand > span > span{display:none} }
@media(max-width:1240px){ .brand > span > span{display:none} }

/* ── bands ────────────────────────────────────────────────────────── */
.band{padding:clamp(48px,7vw,110px) 0}
.band-sky{background:var(--sky-pale);
  border-top:var(--bd) solid var(--ink);border-bottom:var(--bd) solid var(--ink)}
.band-grass{background:var(--grass);
  border-top:var(--bd) solid var(--ink);border-bottom:var(--bd) solid var(--ink)}
.band-paper2{background:var(--paper-2);
  border-top:var(--bd) solid var(--ink);border-bottom:var(--bd) solid var(--ink)}

/* ── the hero ─────────────────────────────────────────────────────── */
.hero{position:relative;background:linear-gradient(180deg,var(--sky-deep),var(--sky) 55%,var(--sky-pale));
  border-bottom:var(--bd) solid var(--ink);overflow:hidden}
.hero-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  gap:clamp(24px,4vw,60px);align-items:center;
  padding-top:clamp(38px,5.5vw,84px);padding-bottom:clamp(48px,6vw,96px)}   /* top/bottom only: a shorthand here wiped .wrap's side gutter on phones */
@media(max-width:900px){.hero-in{grid-template-columns:1fr}}
.hero h1{margin:18px 0 20px}
.hero .big{color:var(--ink-2);max-width:34ch}
.hero-art{border:var(--bd) solid var(--ink);border-radius:26px;overflow:hidden;
  transform:rotate(1.2deg);box-shadow:0 8px 0 var(--ink)}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}

/* ── the dashed flight path ───────────────────────────────────────── */
.path{display:block;width:100%;height:auto;color:var(--ink)}

/* ── cards, which here are picture frames ─────────────────────────── */
.grid{display:grid;gap:clamp(18px,2.4vw,32px)}
.g2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.frame{background:var(--paper);border:var(--bd) solid var(--ink);border-radius:22px;
  padding:clamp(18px,2vw,28px);box-shadow:0 6px 0 var(--ink)}
.frame img{border-radius:14px;border:var(--bd) solid var(--ink);margin-bottom:16px}
.frame h3{margin-bottom:9px}
.frame p{font-size:15.5px;line-height:1.6}
.frame-tilt{transform:rotate(-.8deg)}
.frame-tilt:nth-child(even){transform:rotate(.9deg)}

/* ── numbered steps ───────────────────────────────────────────────── */
.step{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:start}
.step .n{width:64px;height:64px;border-radius:50%;background:var(--brass);
  border:var(--bd) solid var(--ink);display:grid;place-items:center;
  font-family:var(--rounded);font-weight:800;font-size:28px;color:var(--ink)}
.step h3{margin-bottom:6px}

/* ── the fact strip ───────────────────────────────────────────────── */
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:0;border:var(--bd) solid var(--ink);border-radius:22px;overflow:hidden;
  background:var(--paper)}
.facts div{padding:22px clamp(14px,1.6vw,24px);border-right:var(--bd) solid var(--ink)}
.facts div:last-child{border-right:0}
@media(max-width:760px){
  .facts div{border-right:0;border-bottom:var(--bd) solid var(--ink)}
  .facts div:last-child{border-bottom:0}
}
.facts .v{display:block;font-family:var(--rounded);font-weight:800;
  font-size:clamp(30px,3.4vw,44px);color:var(--aero-red);line-height:1;margin-bottom:7px}
.facts .k{font-size:14px;line-height:1.45;color:var(--ink-2)}

/* ── grown-ups panel ──────────────────────────────────────────────── */
.grown{background:var(--paper-2);border:var(--bd) solid var(--ink);border-radius:22px;
  padding:clamp(22px,2.6vw,38px)}
.grown h3{margin-bottom:14px}
.grown ul{margin:0;padding-left:22px}
.grown li{margin-bottom:9px;font-size:15.5px;line-height:1.6}

/* ── the badge rack ───────────────────────────────────────────────────
   Shared: /school/ and /aero/ both show it, and both get it from here.
   Markup is generated by assets/wings.js into #rack and #rankLine. */
.rack{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px;
  margin:18px 0 12px}
.wing{background:var(--paper-2);border:2.5px solid var(--ink-3);border-radius:18px;
  padding:12px 8px;text-align:center;opacity:.55;transition:transform .15s}
.wing.got{background:var(--brass);border-color:var(--ink);opacity:1;
  box-shadow:0 4px 0 var(--ink)}
.wing.got:hover{transform:translateY(-3px)}
.wing .wemo{font-size:26px;display:block;line-height:1.2;filter:grayscale(1)}
.wing.got .wemo{filter:none}
/* the painted patch, when there is one. Unearned badges stay greyed and a
   little faded — the rack should read at a glance as "these are the ones I
   have got", which a row of full-colour patches would not. */
.wing .wemo img{display:block;margin:0 auto;width:clamp(46px,72%,66px);height:auto;
  filter:grayscale(1) opacity(.75);transition:filter .18s,transform .18s}
.wing.got .wemo img{filter:none}
.wing.got:hover .wemo img{transform:scale(1.06) rotate(-3deg)}
.wing b{font-family:var(--rounded);font-size:13.5px;color:var(--ink);display:block;
  line-height:1.2;margin-top:3px}
.wing small{font-size:11.5px;color:var(--ink-3);display:block}
.wing.got small{color:var(--ink-2);font-weight:700}
/* earned in Aero's Flight School rather than on this page — a sky tint so
   the five read as a set without breaking the one rack into two */
.wing.from-app{background:var(--sky-pale)}
.wing.from-app.got{background:var(--sky)}
.rankline{background:var(--sky-pale);border:2.5px dashed var(--ink);border-radius:16px;
  padding:12px 18px;font-size:15.5px;line-height:1.55}
.rankline a{color:var(--ink);font-weight:700}
/* the invitation that appears when a badge is won — the one moment a
   child is most pleased with themselves */
.whatnext{display:block;margin-top:12px;padding-top:11px;
  border-top:2px dashed var(--ink-3);font-size:14.5px;line-height:1.5;color:var(--ink-2)}
.whatnext a{color:var(--ink);font-weight:800;text-decoration:underline;
  text-decoration-color:var(--aero-red);text-decoration-thickness:2px;
  text-underline-offset:3px;white-space:nowrap}

/* ── the age ladder ───────────────────────────────────────────────────
   Shared by /aero/ and the home page. Each rung says who it is FOR before it
   says what it is, because the question a parent arrives with is "which one is
   for my child", not "what is in the set". */
.ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:clamp(12px,1.6vw,20px);margin-top:clamp(20px,2.6vw,30px)}
.rung{background:var(--paper);border:var(--bd) solid var(--ink);border-radius:20px;
  padding:18px 18px 20px;box-shadow:0 6px 0 var(--ink);display:flex;flex-direction:column}
.rung .yrs{display:inline-block;align-self:flex-start;font-family:var(--rounded);
  font-weight:800;font-size:12px;letter-spacing:.09em;text-transform:uppercase;
  background:var(--brass);color:var(--ink);border:2px solid var(--ink);
  border-radius:999px;padding:4px 12px;margin-bottom:11px}
.rung h3{font-size:clamp(19px,1.8vw,23px);margin-bottom:7px}
.rung p{font-size:14.5px;line-height:1.55;margin-bottom:14px}
.rung a{margin-top:auto}
.rung.free .yrs{background:var(--grass)}

/* ── footer ───────────────────────────────────────────────────────── */
/* ── the footer ───────────────────────────────────────────────────────
   Was one 25-link column beside two short ones: 1,018px tall, a third
   taller than the screen. Four balanced groups now, matching the menu. */
.foot{background:#2B2118;color:#FFFDF6;padding:clamp(34px,4vw,58px) 0}
/* ⚠ FIXED COLOURS, NOT TOKENS. The footer used var(--ink) and var(--paper),
   which SWAP in dark mode — so at night it became a cream slab with cream
   text on it, and in every mode <strong> (which is var(--ink)) printed the
   owner's own name ink-on-ink: "…for a living.            is a 6 time
   Champion". The footer is dark in every theme; it says so here. */
.foot strong{color:#FFFDF6}
.foot a{color:var(--brass);text-decoration:none}
.foot a:hover{text-decoration:underline}
.foot-grid{display:grid;grid-template-columns:minmax(220px,1fr) 2.4fr;
  gap:clamp(22px,3vw,54px);align-items:start}
.foot-brand b{font-family:var(--rounded);font-size:19px;color:#FFFDF6;
  display:block;margin:10px 0 8px}
.foot-mark{display:block;width:52px}
.foot-mark svg{width:100%;height:auto}
.foot-cta{display:inline-block;margin-top:14px;font-family:var(--rounded);
  font-weight:800;font-size:15px;border:2.5px solid var(--brass);
  border-radius:999px;padding:8px 16px}
.foot-cta:hover{background:var(--brass);color:#2B2118;text-decoration:none}
.foot-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,2vw,30px)}
.foot h4{color:var(--brass);margin-bottom:10px;font-family:var(--rounded);
  font-size:12px;letter-spacing:.13em;text-transform:uppercase}
.foot p,.foot li{font-size:14px;line-height:1.6;color:#D9CEBE}
.foot ul{margin:0;padding:0;list-style:none}
.foot li{margin-bottom:6px}
.foot li a{color:#D9CEBE}
.foot li a:hover{color:var(--brass)}
.foot .fine{margin-top:30px;padding-top:18px;border-top:2px solid #4A3B2E;
  font-size:13px;color:#A5947F}
.foot .fine span{display:block;margin-top:6px}
@media(max-width:860px){
  .foot-grid{grid-template-columns:1fr}
  .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* two across even on a phone: six places in one column was a wall */
@media(max-width:360px){ .foot-cols{grid-template-columns:1fr} }

.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:16px;z-index:200;background:var(--paper);color:var(--ink);
  padding:12px 18px;border:var(--bd) solid var(--ink);border-radius:999px}


/* ═══ the fun pass — because the first cut read "corporate" ═══════════
   Rules stay (outlines not shadows, flat fills) but the volume goes up:
   crayon underlines, sticker facts, drifting clouds, a flypast, wobble. */

/* crayon squiggle under every section heading.
   text-decoration adds NOTHING to layout height, so the squiggle hangs ~14px
   below the heading box and was landing on top of the paragraph underneath.
   The padding gives it that room inside the heading's own box, so every
   margin set elsewhere still applies on top of it. */
main h2{text-decoration:underline;text-decoration-style:wavy;
  text-decoration-color:var(--aero-red);text-decoration-thickness:4px;
  text-underline-offset:10px;padding-bottom:16px;
  /* ⚠ A HEADING THAT WRAPS GETS A SQUIGGLE UNDER EVERY LINE, and at the old
     line-height of 1.08 each one ran straight through the capitals of the
     line below — so a two- or three-line heading read as CROSSED OUT. It hit
     22 of the site's 59 squiggled headings on a phone and 14 on a desktop,
     the home page's own "What would you look like as a pilot?" among them,
     and every question in the quiz. The squiggle is a FIXED size (10px
     offset, 4-5px thick, plus the wave) while headings scale from 29px to
     58px, so the gap between lines must be a fixed amount PLUS the cap
     height: calc(.74em + 24px) clears it at every size, which is 1.48 on a
     phone and about 1.15 on a desktop. A single-line heading barely moves —
     only lines that have a squiggle beneath them need the room. */
  line-height:calc(.74em + 24px)}

/* buttons wiggle when you point at them — pressable should feel alive */
@keyframes wiggle{0%,100%{transform:translateY(2px) rotate(0)}
  30%{transform:translateY(2px) rotate(-1.6deg)}70%{transform:translateY(2px) rotate(1.6deg)}}
.btn-go:hover{animation:wiggle .4s ease-in-out}

/* the facts become stickers: each its own colour, each slightly askew */
.facts{border:0;background:none;overflow:visible;gap:14px}
.facts div{border:var(--bd) solid var(--ink);border-radius:18px;
  box-shadow:0 5px 0 var(--ink)}
.facts div:nth-child(1){background:var(--sky);transform:rotate(-1.4deg)}
.facts div:nth-child(2){background:var(--brass);transform:rotate(1deg)}
.facts div:nth-child(3){background:var(--grass);transform:rotate(-.8deg)}
.facts div:nth-child(4){background:var(--leather);transform:rotate(1.4deg)}
.facts div:nth-child(4) .v{color:#FFFDF6}
.facts div:nth-child(4) .k{color:#F3E7D6}
.facts .v{color:var(--ink)}
.facts .k{color:var(--ink-2)}
.facts div:hover{transform:rotate(0) scale(1.03);transition:transform .15s}

/* frames lean further, and straighten when you look at them */
.frame-tilt{transform:rotate(-1.6deg);transition:transform .15s}
.frame-tilt:nth-child(even){transform:rotate(1.7deg)}
.frame-tilt:hover{transform:rotate(0) scale(1.02)}

/* clouds drift across every sky band */
@keyframes drift{from{transform:translateX(-140px)}to{transform:translateX(110vw)}}
.band-sky,.hero{position:relative;overflow:hidden;isolation:isolate}
/* review fix 2 Dec 2026: the clouds sail BEHIND the words and pictures (z-index -1 inside the
   band's own stacking context), so they never wash out text on Home or Aero */
.band-sky::before,.hero::before{content:"";position:absolute;top:8%;left:0;width:130px;height:44px;
  background:#FFFDF6;border-radius:999px;opacity:.85;
  box-shadow:36px -14px 0 6px #FFFDF6, 74px 2px 0 2px #FFFDF6;
  animation:drift 52s linear infinite;pointer-events:none;z-index:-1}
.band-sky::after,.hero::after{content:"";position:absolute;top:58%;left:0;width:90px;height:32px;
  background:#FFFDF6;border-radius:999px;opacity:.6;
  box-shadow:26px -10px 0 4px #FFFDF6;
  animation:drift 76s linear infinite;animation-delay:-30s;pointer-events:none;z-index:-1}
.hero > *{position:relative;z-index:1}

/* Aarron's Extra flies its aerobatic routine in the hero sky (2 Dec 2026, replacing Aero's
   little red flypast): the same plane and routine as Where's Foxtrot, drawn by spot.js and
   driven by the script at the foot of index.html. Two layers: the smoke BEHIND the words
   and the picture (so they stay readable), the plane in FRONT (so it is never lost behind
   the picture). Never in the way of a tap. (0,2,0) so `.hero > *` doesn't make it relative. */
.hero > .hero-extra{position:absolute;inset:0;width:100%;height:100%;z-index:0;
  pointer-events:none;overflow:visible}
.hero > .hero-extra.hx-front{z-index:2}
@media (prefers-reduced-motion:reduce){
  .band-sky::before,.band-sky::after,.hero::before,.hero::after{animation:none}}

/* confetti, for winning things */
.bit{position:fixed;width:11px;height:15px;z-index:400;pointer-events:none;
  border:2px solid var(--ink);border-radius:3px}
@keyframes bitfall{0%{transform:translateY(-8px) rotate(0);opacity:1}
  100%{transform:translateY(46vh) rotate(540deg);opacity:0}}


/* ═══ modes — the site meets you where you are ════════════════════════
   No age is ever asked for. A visitor picks who they are (or skips it):

     explorer  under-10 energy: the full crayon box — sky-coloured page,
               bigger type, more motion, every band saturated
     pilot     the serious 14-year-old: calmer surfaces, motion off,
               the licence-path content revealed, games de-emphasised

   The choice is data-mode on <body>, stored in localStorage on the device
   and nowhere else. Default (no mode) is the site as designed. */

/* content gates: blocks that exist for one audience only */
[data-only]{display:none!important}
body[data-mode="explorer"] [data-only="explorer"]{display:block!important}
body[data-mode="pilot"]    [data-only="pilot"]{display:block!important}

/* ── EXPLORER: turn everything up ─────────────────────────────────── */
body[data-mode="explorer"]{background:var(--sky-pale);font-size:clamp(17px,1.3vw,19px)}
body[data-mode="explorer"] h1{font-size:clamp(44px,7.4vw,88px)}
body[data-mode="explorer"] h2{font-size:clamp(33px,4.8vw,58px);
  text-decoration-thickness:5px;padding-bottom:18px}
body[data-mode="explorer"] .band-paper2{background:#FBE3B3}
body[data-mode="explorer"] .band-sky{background:var(--sky)}
body[data-mode="explorer"] .band{padding:clamp(40px,5.6vw,84px) 0}
body[data-mode="explorer"] .kicker{font-size:14px;transform:rotate(-2.2deg)}
body[data-mode="explorer"] .frame,body[data-mode="explorer"] .qcard,
body[data-mode="explorer"] .panel{border-radius:28px}
body[data-mode="explorer"] .frame-tilt{transform:rotate(-2.2deg)}
body[data-mode="explorer"] .frame-tilt:nth-child(even){transform:rotate(2.3deg)}
/* ⚠ Explorer mode used to turn the footer GREEN. With the footer's brass
   headings and pale link text that is poor contrast — measured against
   #5FA344 the links were unreadable — and the footer is the one place on the
   site where the small print has to be legible in every mode. The playful
   green stays on the BANDS, where it belongs; the footer keeps its ink. */
body[data-mode="explorer"] .foot{background:#2B2118}

/* ── PILOT: turn it down, and mean it ─────────────────────────────── */
body[data-mode="pilot"] .hero::before,body[data-mode="pilot"] .hero::after,
body[data-mode="pilot"] .band-sky::before,body[data-mode="pilot"] .band-sky::after{
  animation:none;display:none}
body[data-mode="pilot"] main h2{text-decoration-color:var(--sky-deep);
  text-decoration-thickness:3px}
body[data-mode="pilot"] .facts div{transform:none}
body[data-mode="pilot"] .frame-tilt,body[data-mode="pilot"] .frame-tilt:nth-child(even){
  transform:none}
body[data-mode="pilot"] .btn-go:hover{animation:none}
body[data-mode="pilot"] .kicker{background:var(--sky);transform:none}

/* ── the chooser overlay ──────────────────────────────────────────── */
.who{position:fixed;inset:0;z-index:300;display:grid;place-items:center;
  background:rgba(43,33,24,.66);padding:18px}
.who[hidden]{display:none}
.who-in{background:var(--paper);border:var(--bd) solid var(--ink);border-radius:26px;
  box-shadow:0 8px 0 var(--ink);max-width:640px;width:100%;
  padding:clamp(22px,3.4vw,36px);text-align:center}
.who-in h2{margin-bottom:8px;font-size:clamp(26px,4vw,40px)}
.who-in > p{color:var(--ink-2);margin-bottom:20px;font-size:15.5px}
.who-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.who-cards{grid-template-columns:1fr}}
.who-cards button{font-family:var(--rounded);font-weight:800;color:var(--ink);
  border:var(--bd) solid var(--ink);border-radius:20px;padding:20px 16px;cursor:pointer;
  box-shadow:0 5px 0 var(--ink);transition:transform .09s;text-align:center}
.who-cards button:hover{transform:translateY(2px);box-shadow:0 3px 0 var(--ink)}
.who-cards .big-emoji{display:block;font-size:44px;margin-bottom:10px}
.who-cards b{display:block;font-size:19px;margin-bottom:6px}
.who-cards span{display:block;font-family:var(--body);font-weight:500;font-size:13.5px;
  line-height:1.5;color:var(--ink-2)}
.who-explorer{background:var(--sky)}
.who-pilot{background:var(--paper-2)}
.who-skip{margin-top:16px;background:none;border:0;cursor:pointer;
  font-family:var(--rounded);font-weight:700;font-size:13.5px;color:var(--ink-3)}
.who-skip:hover{color:var(--ink)}
.who-note{margin-top:12px;font-size:12px;color:var(--ink-3)}

/* the little switch in the nav, for changing your mind */
.mode-sw{display:flex;border:2.5px solid var(--ink);border-radius:999px;overflow:hidden;
  flex:0 0 auto}
.mode-sw button{border:0;background:var(--paper);cursor:pointer;font-size:16px;
  padding:6px 10px;line-height:1}
.mode-sw button[aria-pressed="true"]{background:var(--brass)}
.mode-sw button:focus-visible{outline:3px solid var(--aero-red);outline-offset:-3px}

/* a .frame used as a link must not inherit link-blue */
a.frame{color:var(--ink-2)}
a.frame h3{color:var(--ink)}
a.frame p{color:var(--ink-2)}

/* ── the game shell ───────────────────────────────────────────────────
   Every game launches from a card into a full-screen panel: rules first,
   then the game, then out. The panel is a flex column so the stage gets
   whatever height is left and the game is capped to fit it — that is what
   makes a game "fit on one screen" instead of running off the bottom. */
.glaunch{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;
  align-items:center;width:100%;text-align:left;cursor:pointer;
  background:var(--paper);border:var(--bd) solid var(--ink);border-radius:24px;
  padding:clamp(14px,1.8vw,20px);box-shadow:0 6px 0 var(--ink);
  transition:transform .1s,box-shadow .1s;font-family:var(--body)}
.glaunch:hover{transform:translateY(-3px);box-shadow:0 9px 0 var(--ink)}
.glaunch:active{transform:translateY(3px);box-shadow:0 2px 0 var(--ink)}
.glaunch:focus-visible{outline:3px solid var(--aero-red);outline-offset:3px}
.glaunch + .glaunch{margin-top:clamp(12px,1.6vw,18px)}
.glaunch-emoji{font-size:clamp(32px,4vw,46px);line-height:1}
.glaunch-txt b{display:block;font-family:var(--rounded);font-weight:800;
  font-size:clamp(19px,2.2vw,26px);color:var(--ink);line-height:1.15;margin-bottom:3px}
.glaunch-txt small{display:block;font-size:14px;line-height:1.5;color:var(--ink-3)}
.glaunch-go{font-family:var(--rounded);font-weight:800;font-size:15px;color:#FFFDF6;
  background:var(--aero-red);border:2.5px solid var(--ink);border-radius:999px;
  padding:10px 18px;white-space:nowrap}
@media(max-width:560px){
  .glaunch{grid-template-columns:auto minmax(0,1fr);row-gap:10px}
  .glaunch-go{grid-column:1/-1;text-align:center}
  .glaunch-txt small{display:none}
}

.gshell{position:fixed;inset:0;z-index:200;background:var(--paper);
  display:flex;flex-direction:column}
.gshell[hidden]{display:none!important}
.gshell-bar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px clamp(12px,2.5vw,26px);border-bottom:var(--bd) solid var(--ink);
  background:var(--paper)}
.gshell-bar strong{font-family:var(--rounded);font-weight:800;
  font-size:clamp(17px,2.2vw,24px);color:var(--ink)}
.gshell-acts{display:flex;gap:9px}
/* review fix 2 Dec 2026: a long game name squeezed the buttons until "♪" and "Music" sat on two
   lines. The buttons never wrap; the name wraps instead, and on a phone everything tightens. */
.gshell-acts{flex:0 0 auto}
.gshell-acts .btn{white-space:nowrap}
.gshell-bar strong{min-width:0;line-height:1.12}
@media (max-width:520px){
  .gshell-acts{gap:6px}
  .gshell-acts .btn{padding-left:11px;padding-right:11px}
  .gshell-bar strong{font-size:16px}
}
/* ⚠ `justify-content:safe center` is load-bearing, not a flourish.
   The rules card was centred with `margin:auto`, which is fine until the card
   is TALLER than the panel — then the auto margins centre the overflow, half
   of it goes above the scroll origin, and no amount of scrolling can reach it.
   On a short laptop window that chopped the game's title clean in half at the
   top of the rules panel. `safe` means: centre it when it fits, fall back to
   top-aligned when it does not. */
.gshell-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;
  justify-content:safe center;
  overflow-y:auto;padding:clamp(10px,1.6vw,20px) clamp(12px,2.5vw,26px)}
.gshell-rules{margin-inline:auto;margin-block:0;max-width:520px;text-align:center;
  background:var(--paper-2);border:var(--bd) solid var(--ink);border-radius:24px;
  padding:clamp(20px,3vw,34px);box-shadow:0 6px 0 var(--ink)}
.gshell-rules[hidden]{display:none!important}
.gshell-emoji{font-size:clamp(44px,7vw,64px);line-height:1;display:block;margin-bottom:6px}
.gshell-rules h2{margin-bottom:16px}
.gshell-rules ol{text-align:left;margin:0 0 22px;padding-left:22px;
  font-size:clamp(15px,1.3vw,17px);line-height:1.6}
.gshell-rules li{margin-bottom:9px}
.gshell-stage{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.gshell-stage[hidden]{display:none!important}
.gshell-stage > *{flex:1 1 auto;min-height:0;margin:0!important;
  border:0!important;box-shadow:none!important;padding:0!important;background:none!important}
/* the line that makes a game fit the screen instead of running off it */
/* Fitting a game on one phone screen, which is where children actually play.
   Three things, because three different games broke in three different ways:

   1. CAP BOTH DIRECTIONS. max-height alone is enough for a landscape canvas —
      the width follows. Traffic's canvas is SQUARE (640x640), so capping only
      the height left it 582px wide on a 375px phone: 219px off the right edge,
      and the call and the twelve clock buttons shoved 309px below the fold.
      `!important` because school/index.html has `#traffic{max-width:640px}`,
      and an ID beats this selector however it is written.
   2. LESS CANVAS ON A PHONE. The 230px allowance is the shell's chrome plus a
      typical control row. Say Again's call-sign box and Weight & Balance's chip
      row are taller than that, so they hung 179px and 72px below the fold.
      Short screens give the canvas less and the controls more.
   3. AND IF IT STILL DOES NOT FIT, let it scroll. A game that needs one more
      swipe is a compromise; a Check button a child cannot reach is a dead end. */
.gshell-stage{overflow-y:auto;overscroll-behavior:contain}
.gshell-stage canvas{max-height:calc(100vh - 230px);max-width:100%!important;
  width:auto!important;
  max-width:100%;margin:0 auto}
.gshell-stage .teach,.gshell-stage > * > h2:first-child{display:none}

/* game artwork (OpenArt, in the house picture-book style) */
.glaunch-art{width:clamp(78px,9vw,116px);aspect-ratio:4/3;border-radius:14px;
  border:2.5px solid var(--ink);background-size:cover;background-position:center;
  display:block;flex:0 0 auto}

/* the hero launcher — one game, its own page (see the note in gameshell.js).
   Same art, cropped 16:7 at 42% like the rules panel, so the two always show
   the same band of the picture and the subject is never cut off. */
.glaunch-hero{grid-template-columns:minmax(0,1fr);gap:clamp(14px,1.8vw,20px);
  padding:clamp(14px,1.8vw,22px)}
.glaunch-hero .glaunch-art{width:100%;aspect-ratio:16/7;border-radius:18px;
  border-width:3px;background-position:center 42%}
.glaunch-hero .glaunch-emoji{font-size:clamp(64px,9vw,110px);text-align:center}
.glaunch-hero .glaunch-txt b{font-size:clamp(24px,3vw,34px)}
.glaunch-hero .glaunch-txt small{display:block;font-size:16px;color:var(--ink-2);
  max-width:64ch}
.glaunch-hero .glaunch-go{justify-self:start;font-size:clamp(17px,1.8vw,20px);
  padding:14px 26px}
@media(max-width:560px){
  .glaunch-hero .glaunch-go{justify-self:stretch}
  .glaunch-hero .glaunch-txt small{display:block;font-size:15px}
}

/* the tile launcher — a few games side by side (the hangar). Picture on top,
   then the name, the whole blurb, and the button pinned to the bottom so a
   row of tiles lines up however long each description runs. */
.glaunch-tile{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;
  align-items:start;gap:12px;height:100%;padding:clamp(12px,1.4vw,16px)}
.glaunch + .glaunch.glaunch-tile,.glaunch-tile + .glaunch{margin-top:0}
.glaunch-tile .glaunch-art{width:100%;aspect-ratio:4/3;border-radius:16px;border-width:3px}
.glaunch-tile .glaunch-txt small{display:block;font-size:14.5px;line-height:1.5}
.glaunch-tile .glaunch-go{justify-self:start}
.glaunch-art-emoji{display:grid;place-items:center;font-size:clamp(54px,7vw,84px);
  background:var(--sky-pale,#D6EFFB);
  background-image:radial-gradient(circle at 30% 25%,rgba(255,255,255,.75),transparent 55%)}
@media(max-width:560px){
  .glaunch-tile .glaunch-txt small{display:block}
  .glaunch-tile .glaunch-go{justify-self:stretch}
}
.gshell-art{display:block;width:100%;aspect-ratio:16/7;border-radius:18px;
  border:var(--bd) solid var(--ink);background-size:cover;background-position:center 42%;
  margin-bottom:16px}
.gshell-art[hidden],.gshell-emoji[hidden]{display:none!important}
@media(max-width:560px),(max-height:820px){
  .gshell-stage canvas{max-height:calc(100vh - 320px)}
}

/* ── the competition banner (home page, top) ─────────────────────────── */
.compbar{display:block;text-decoration:none;background:var(--aero-red);
  border-bottom:var(--bd) solid var(--ink)}
.compbar-in{max-width:1400px;margin:0 auto;padding:clamp(14px,1.8vw,22px) var(--gut);
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(12px,2vw,24px);
  align-items:center}
.cb-flag{grid-column:1/-1;display:inline-block;font-family:var(--rounded);font-weight:800;
  font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);
  background:var(--brass);border:2.5px solid var(--ink);border-radius:999px;
  padding:5px 14px;margin-bottom:4px;justify-self:start}
.cb-txt b{display:block;font-family:var(--rounded);font-weight:800;color:#FFFDF6;
  font-size:clamp(20px,2.6vw,30px);line-height:1.1;margin-bottom:4px}
.cb-txt small{display:block;color:#FFF1EE;font-size:clamp(13.5px,1.15vw,15.5px);
  line-height:1.5;max-width:70ch}
.cb-go{font-family:var(--rounded);font-weight:800;font-size:clamp(14px,1.2vw,16px);
  color:var(--ink);background:#FFFDF6;border:2.5px solid var(--ink);border-radius:999px;
  padding:11px 20px;white-space:nowrap;box-shadow:0 4px 0 var(--ink)}
.compbar:hover .cb-go{transform:translateY(2px);box-shadow:0 2px 0 var(--ink)}
@media(max-width:640px){
  .compbar-in{grid-template-columns:1fr}
  .cb-go{justify-self:start}
}

/* (The Wings Club styles, .plus-*, went with the club on 2 Dec 2026:
   ReadyForWings/_archive/wings_club_2026-12-02/plus.css.) */


/* Launch mode: the "More launching soon…" note in the bar is the only thing
   in .nav-links while the site is gated. On a phone it wraps against the
   brand and the two collide, so below 700px the bar keeps the mark and the
   controls and drops the note — the visitor is already ON the one open page
   and the same words sit on the coming-soon screen anyway. */
@media (max-width:700px){ .nav-soon{ display:none } }


/* ═══ THE KIDS' PASS (2026-11-16) ═══════════════════════════════════════
   Aarron: "make this a great site for kids please". Four things a child
   notices in the first ten seconds: pictures to tap instead of paragraphs
   to read (the doors), somewhere to go at the bottom of every page (the
   "Where to next?" strip), a menu with pictures that works on a computer
   too, and a button that reads the page out loud. */

/* in the dark the footer still needs an edge against the evening page */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .foot{background:#17110D;border-top:var(--bd) solid #4A3B2E}
}

/* ── the doors ─────────────────────────────────────────────────────── */
.doors{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2.2vw,28px)}
@media(max-width:960px){.doors{grid-template-columns:repeat(2,minmax(0,1fr))}}
.door{--tilt:0deg;display:flex;flex-direction:column;min-width:0;text-decoration:none;
  color:var(--ink);background:var(--sky);border:var(--bd) solid var(--ink);border-radius:22px;
  overflow:hidden;box-shadow:0 6px 0 var(--ink);transform:rotate(var(--tilt));
  transition:transform .14s ease,box-shadow .14s ease}
.door:nth-child(4n+1){--tilt:-1.3deg}
.door:nth-child(4n+2){--tilt:1deg}
.door:nth-child(4n+3){--tilt:-.7deg}
.door:nth-child(4n+4){--tilt:1.4deg}
.door:hover{transform:rotate(0deg) translateY(-4px) scale(1.025);box-shadow:0 10px 0 var(--ink)}
.door:active{transform:rotate(0deg) translateY(4px);box-shadow:0 2px 0 var(--ink)}
.door:focus-visible{outline:4px solid var(--aero-red);outline-offset:5px}
.door-pic{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--sky-pale);
  border-bottom:var(--bd) solid var(--ink)}
.door-pic img{width:100%;height:100%;object-fit:cover;border:0;border-radius:0;margin:0;
  transition:transform .35s ease}
.door:hover .door-pic img{transform:scale(1.07)}
.door-label{display:flex;align-items:center;gap:9px;padding:13px 15px 3px;
  font-family:var(--rounded);font-weight:800;font-size:clamp(17px,1.55vw,22px);line-height:1.15}
.door-label b{min-width:0}
.door-emoji{font-size:1.3em;line-height:1;flex:0 0 auto}
.door-line{display:block;padding:2px 15px 16px;font-size:14.5px;line-height:1.45;color:var(--ink-2)}
/* the four colours of the picture books. Brass and red keep FIXED text
   colours: the ink token turns pale in dark mode, and pale on brass is gone */
.door-sky{background:var(--sky)}
.door-grass{background:var(--grass)}
.door-brass{background:var(--brass);color:#2B2118}
.door-brass .door-line{color:#4A3B2E}
.door-red{background:var(--aero-red);color:#FFFDF6}
.door-red .door-line{color:#FFE9E5}
@media(max-width:560px){
  .doors{gap:14px 12px}
  .door{border-radius:18px}
  .door-label{font-size:16.5px;gap:7px;padding:10px 11px 2px}
  .door-line{font-size:13px;padding:1px 11px 12px}
}
@media(prefers-reduced-motion:reduce){
  .door,.door:nth-child(n){transform:none}
  .door:hover .door-pic img{transform:none}
}
body[data-mode="pilot"] .door,body[data-mode="pilot"] .door:nth-child(n){--tilt:0deg}

/* the home page's band */
.doors-band{padding:clamp(34px,4.6vw,66px) 0 clamp(42px,5.4vw,76px)}
.doors-head{text-align:center;margin-bottom:clamp(22px,2.8vw,38px)}
.doors-head h2{margin:14px auto 0;max-width:22ch}
.doors-more{text-align:center;margin-top:clamp(24px,3vw,38px)}
/* ── the home page's area cards (2026-12-02) ──────────────────────────
   One card per place, built by shell.js from the menu's own GROUPS
   (<div class="areas" data-areas>): First Wings first and twice the width,
   then Games, Books, Make, Explore, your own things and the grown-ups.
   The picture opens the place; its first pages are listed underneath. */
.areas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,2.2vw,28px)}
.area,.area-fw{min-width:0;border:var(--bd) solid var(--ink);border-radius:22px;overflow:hidden;
  box-shadow:0 6px 0 var(--ink)}
.area{display:flex;flex-direction:column;background:var(--paper)}
.area-top{display:block;color:var(--ink);text-decoration:none;background:var(--sky)}
.area-read .area-top,.area-me .area-top{background:var(--brass);color:#2B2118}
.area-make .area-top{background:var(--aero-red);color:#FFFDF6}
.area-learn .area-top{background:var(--grass)}
.area-ups .area-top{background:var(--paper-2)}
.area-pic{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--sky-pale);
  border-bottom:var(--bd) solid var(--ink)}
.area-pic.is-emoji{display:grid;place-items:center;font-size:56px;background:var(--paper-2)}
.area-pic img,.area-fw-pic img{width:100%;height:100%;object-fit:cover;border:0;border-radius:0;margin:0;
  transition:transform .35s ease}
.area-top:hover .area-pic img,.area-fw:hover .area-fw-pic img{transform:scale(1.06)}
.area-name{display:flex;align-items:center;gap:8px;padding:11px 15px 12px;
  border-bottom:var(--bd) solid var(--ink);font-family:var(--rounded);font-weight:800;
  font-size:clamp(18px,1.6vw,22px);line-height:1.15}
.area-top:hover .area-name{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:4px}
.area-line{margin:0;padding:10px 15px 6px;font-size:14px;line-height:1.45;color:var(--ink-2)}
.area-links{display:flex;flex-direction:column;gap:2px;margin:0;padding:0 8px 8px;list-style:none}
.area-links li{margin:0}
.area-links a{display:flex;align-items:center;gap:8px;padding:6px 8px;border-radius:10px;
  font-family:var(--rounded);font-weight:800;font-size:14.5px;line-height:1.2;color:var(--ink);
  text-decoration:none}
.area-links a:hover{background:var(--paper-2)}
.area-more{align-self:flex-start;margin:auto 16px 14px;font-family:var(--rounded);font-weight:800;
  font-size:14px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--aero-red);
  text-decoration-thickness:2px;text-underline-offset:4px}
.area a:focus-visible{outline:4px solid var(--aero-red);outline-offset:3px}
/* First Wings */
.area-fw{grid-column:span 2;display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  color:#FFFDF6;text-decoration:none;background:var(--aero-red);
  transition:transform .14s ease,box-shadow .14s ease}
.area-fw:hover{transform:translateY(-4px);box-shadow:0 10px 0 var(--ink)}
.area-fw:active{transform:translateY(4px);box-shadow:0 2px 0 var(--ink)}
.area-fw:focus-visible{outline:4px solid var(--ink);outline-offset:4px}
.area-fw-pic{position:relative;display:block;min-height:220px;overflow:hidden;background:var(--sky-pale);
  border-right:var(--bd) solid var(--ink)}
.area-fw-pic img{position:absolute;inset:0}
.area-fw-t{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;
  padding:clamp(16px,2vw,28px)}
.area-fw-k{font-family:var(--rounded);font-weight:800;font-size:12.5px;letter-spacing:.12em;
  text-transform:uppercase;color:#FFE1DC}
.area-fw-t b{font-family:var(--rounded);font-weight:800;font-size:clamp(26px,2.7vw,40px);line-height:1.04}
.area-fw-l{font-size:15px;line-height:1.5;color:#FFE9E5}
.area-fw .btn{margin-top:6px;background:#FFFDF6;color:#B4322B;border-color:#2B2118;
  box-shadow:0 4px 0 #2B2118}
.doors-sub{text-align:center;margin:clamp(34px,4.4vw,60px) auto clamp(18px,2.4vw,30px);
  font-size:clamp(22px,2.6vw,32px)}
@media(max-width:960px){ .areas{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:560px){
  /* a phone: the picture, the name and one line — the full list of every
     place is one tap away in ☰ Menu */
  .areas{gap:14px 12px}
  .area,.area-fw{border-radius:18px}
  .area-fw{grid-template-columns:1fr}
  .area-fw-pic{border-right:0;border-bottom:var(--bd) solid var(--ink);min-height:0;aspect-ratio:16/9}
  .area-name{font-size:16.5px;padding:9px 11px 10px;gap:6px}
  .area-line{font-size:13px;padding:8px 11px 12px}
  .area-links,.area-more{display:none}
}
@media(prefers-reduced-motion:reduce){
  .area-top:hover .area-pic img,.area-fw:hover .area-fw-pic img{transform:none}
}

/* ── "Where to next?" — above every footer ────────────────────────── */
.next-band{background:var(--sky-pale);border-top:var(--bd) solid var(--ink);
  padding:clamp(34px,4.6vw,64px) 0 clamp(30px,4vw,54px)}
body[data-mode="explorer"] .next-band{background:var(--sky)}
.next-h{text-align:center;font-size:clamp(26px,3.4vw,42px);margin:0 auto clamp(20px,2.6vw,32px)}
.next-all{text-align:center;margin-top:clamp(20px,2.6vw,30px);font-family:var(--rounded);
  font-weight:800;font-size:16px}
.next-all a{color:var(--ink);text-decoration:underline;text-decoration-thickness:3px;
  text-decoration-color:var(--aero-red);text-underline-offset:5px}
@media print{.next-band{display:none}}

/* ── the group panels on the bar (from 1140px) ────────────────────── */
.ng-panel{position:absolute;top:calc(100% + 12px);left:0;z-index:3;
  width:min(620px,calc(100vw - 24px));padding:14px 14px 16px;
  background:var(--paper);border:var(--bd) solid var(--ink);border-radius:20px;
  box-shadow:0 6px 0 var(--ink)}
.ng-panel[hidden]{display:none}
.ngp-h{margin:0 6px 10px;font-size:14px;line-height:1.35;color:var(--ink-3)}
.ngp-h b{font-family:var(--rounded);font-weight:800;font-size:18px;color:var(--ink);margin-right:4px}
.ngp-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;
  list-style:none}
.ngp-list li{margin:0}
.nt{display:flex;align-items:center;gap:11px;height:100%;padding:7px;border:2px solid transparent;
  border-radius:14px;color:var(--ink);text-decoration:none}
.nt:hover{background:var(--paper-2);border-color:var(--ink)}
.nt:focus-visible{outline:3px solid var(--aero-red);outline-offset:1px}
.nt[aria-current="page"]{background:color-mix(in srgb,var(--brass) 40%,transparent)}
.nt-pic{flex:0 0 76px;width:76px;aspect-ratio:16/10;display:grid;place-items:center;overflow:hidden;
  border:2px solid var(--ink);border-radius:10px;background:var(--sky-pale)}
.nt-pic.is-emoji{font-size:24px;background:var(--paper-2)}
.nt-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.nt-t b{font-family:var(--rounded);font-weight:800;font-size:15.5px;line-height:1.2}
.nt-t small{font-size:12.5px;line-height:1.35;color:var(--ink-3)}
/* every menu picture fills its frame, and is invisible until it arrives */
.nt-pic img,.mt-pic img,.mnav-fw-pic img{width:100%;height:100%;object-fit:cover;
  border:0;border-radius:0;margin:0}
.nt-pic img:not([src]),.mt-pic img:not([src]),.mnav-fw-pic img:not([src]){visibility:hidden}

/* ── ☰ MENU: the whole site as picture tiles (2026-12-02) ─────────────
   A dialog under the bar. On a phone or a tablet it fills the screen and
   IS the menu; on a computer it is a big card over a dimmed page —
   "everything at once". The page behind cannot scroll (scrollbar-gutter
   keeps it from jumping sideways when its scrollbar goes) and the sheet
   scrolls on its own. */
.mnav{position:fixed;left:0;right:0;bottom:0;top:74px;z-index:5;overflow-y:auto;
  overscroll-behavior:contain;background:rgba(43,33,24,.55)}
.mnav[hidden]{display:none!important}
.mnav:focus{outline:none}
html.rfw-menu-open{overflow:hidden;scrollbar-gutter:stable}
/* over the read-to-me button while it is open */
html.rfw-menu-open .nav{z-index:170}
.mnav-in{min-height:100%;max-width:1180px;margin:0 auto;padding:14px var(--gut) 30px;
  background:var(--paper)}
@media(min-width:1100px){
  .mnav{padding:18px 24px 40px}
  .mnav-in{min-height:0;padding:20px 28px 26px;border:var(--bd) solid var(--ink);
    border-radius:24px;box-shadow:0 6px 0 var(--ink)}
}
.mnav-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
body .mnav-title{margin:0;font-size:clamp(22px,3vw,30px);line-height:1.1}
.mnav-x{flex:0 0 auto;font-family:var(--rounded);font-weight:800;font-size:15px;line-height:1;
  color:var(--ink);background:var(--paper-2);border:2.5px solid var(--ink);border-radius:999px;
  padding:10px 16px;cursor:pointer}
.mnav-x:hover{background:var(--brass);color:#2B2118}
.mnav a:focus-visible,.mnav button:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}

/* First Wings, first and biggest */
.mnav-fw{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);margin:0 0 14px;
  overflow:hidden;color:#FFFDF6;text-decoration:none;background:var(--aero-red);
  border:var(--bd) solid var(--ink);border-radius:20px;box-shadow:0 5px 0 var(--ink);
  transition:transform .09s,box-shadow .09s}
.mnav-fw:hover{transform:translateY(-2px);box-shadow:0 7px 0 var(--ink)}
.mnav-fw:active{transform:translateY(4px);box-shadow:0 1px 0 var(--ink)}
/* the picture fills its half whatever height the words make the row —
   absolutely, because an aspect-ratio here sizes the picture's WIDTH from
   that height and it spills across the words on a phone */
.mnav-fw-pic{position:relative;display:block;min-height:120px;background:var(--sky-pale);
  border-right:var(--bd) solid var(--ink)}
.mnav-fw-pic img{position:absolute;inset:0}
@media(min-width:700px){ .mnav-fw-pic{min-height:160px} }
.mnav-fw-t{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:12px 16px;
  font-family:var(--rounded)}
.mnav-fw-t small{font-weight:800;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;
  color:#FFE1DC}
.mnav-fw-t b{font-size:clamp(21px,2.6vw,30px);line-height:1.08}
.mnav-fw-t > span{font-family:var(--body);font-size:14px;line-height:1.4;color:#FFE9E5}
.mnav-fw-t i{font-style:normal;font-weight:800;font-size:15px;margin-top:4px}
/* wider screens: a fixed picture, so the hero stays a strip, not a poster */
@media(min-width:700px){ .mnav-fw{grid-template-columns:minmax(0,300px) minmax(0,1fr)} }
@media(max-width:480px){
  .mnav-fw-t{padding:10px 12px}
  .mnav-fw-t > span{font-size:12.5px;line-height:1.35}
  .mnav-fw-t i{font-size:14px}
}

/* your own things: passport, hangar, logbook */
.mnav-me{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 4px}
.mnav-chip{flex:1 1 170px;display:flex;align-items:center;gap:8px;min-height:50px;padding:9px 14px;
  font-family:var(--rounded);font-weight:800;font-size:15.5px;line-height:1.2;color:var(--ink);
  text-decoration:none;background:var(--paper-2);border:2.5px solid var(--ink);border-radius:16px;
  box-shadow:0 3px 0 var(--ink)}
.mnav-chip:hover{background:var(--sky-pale)}
.mnav-chip:active{transform:translateY(3px);box-shadow:none}
.mnav-chip[aria-current="page"]{background:color-mix(in srgb,var(--brass) 45%,var(--paper))}

/* the four places, as tiles: two across on a phone, seven on a computer */
.mnav-g{margin-top:18px}
body .mnav-h{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:19px;line-height:1.2}
.mnav-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;
  list-style:none}
.mnav-tiles li{margin:0}
@media(min-width:600px){ .mnav-tiles{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media(min-width:860px){ .mnav-tiles{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media(min-width:1100px){ .mnav-tiles{grid-template-columns:repeat(7,minmax(0,1fr));gap:10px} }
.mt{position:relative;display:flex;flex-direction:column;height:100%;overflow:hidden;color:var(--ink);
  text-decoration:none;background:var(--sky);border:2.5px solid var(--ink);border-radius:16px;
  box-shadow:0 4px 0 var(--ink);transition:transform .09s,box-shadow .09s}
.mt:hover{transform:translateY(-2px);box-shadow:0 6px 0 var(--ink)}
.mt:active{transform:translateY(3px);box-shadow:0 1px 0 var(--ink)}
.mt-pic{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--sky-pale);
  border-bottom:2.5px solid var(--ink)}
.mt-pic.is-emoji{display:grid;place-items:center;font-size:38px;background:var(--paper-2)}
.mt-t{display:block;padding:8px 10px 10px;font-family:var(--rounded);font-weight:800;font-size:15px;
  line-height:1.2}
@media(min-width:1100px){ .mt-t{font-size:14px;padding:7px 8px 9px} }
/* each place keeps one colour, as on the doors. Brass and red keep FIXED
   text colours: the ink token turns pale in the dark */
.mnav-g-read .mt{background:var(--brass);color:#2B2118}
.mnav-g-make .mt{background:var(--aero-red);color:#FFFDF6}
.mnav-g-learn .mt{background:var(--grass)}
.mt[aria-current="page"]::after{content:"You are here";position:absolute;top:6px;left:6px;
  padding:4px 8px;font:800 11px/1 var(--rounded);color:#2B2118;background:#F5C24B;
  border:2px solid #2B2118;border-radius:999px}
/* the grown-ups: words, not pictures */
.mnav-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;padding:0;
  list-style:none}
@media(min-width:860px){ .mnav-list{grid-template-columns:repeat(3,minmax(0,1fr))} }
.mnav-list li{margin:0}
.mnav-list a{display:flex;align-items:center;gap:8px;min-height:48px;height:100%;padding:8px 12px;
  font-family:var(--rounded);font-weight:800;font-size:15px;line-height:1.2;color:var(--ink);
  text-decoration:none;background:var(--paper);border:2.5px solid var(--ink);border-radius:14px}
.mnav-list a:hover{background:var(--paper-2)}
.mnav-list a[aria-current="page"]{background:color-mix(in srgb,var(--brass) 45%,var(--paper))}
/* how the site looks: the 🎈 ✈️ ♪ switch, here with its words */
.mnav-set{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:22px;padding-top:16px;
  border-top:2.5px dashed color-mix(in srgb,var(--ink) 28%,transparent)}
.mnav-set > b{font-family:var(--rounded);font-size:15px;color:var(--ink)}
.msw-t{display:none}
.mnav .mode-sw button{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;font-size:17px;
  color:var(--ink)}
.mnav .mode-sw button + button{border-left:2.5px solid var(--ink)}
.mnav .mode-sw button[aria-pressed="true"]{color:#2B2118}
.mnav .msw-t{display:inline;font-family:var(--rounded);font-weight:800;font-size:14.5px}
@media(max-width:380px){ .mnav .mode-sw button{padding:9px 10px} }

/* ── read to me ───────────────────────────────────────────────────── */
.rta{position:fixed;z-index:150;right:calc(14px + env(safe-area-inset-right,0px));
  bottom:calc(14px + env(safe-area-inset-bottom,0px));display:inline-flex;align-items:center;
  gap:8px;font-family:var(--rounded);font-weight:800;font-size:15px;line-height:1;
  color:#2B2118;background:#F5C24B;border:var(--bd) solid #2B2118;border-radius:999px;
  padding:10px 17px 10px 13px;box-shadow:0 4px 0 #2B2118;cursor:pointer;
  transition:transform .09s,box-shadow .09s}
.rta:hover{transform:translateY(2px);box-shadow:0 2px 0 #2B2118}
.rta:active{transform:translateY(4px);box-shadow:0 0 0 #2B2118}
.rta:focus-visible{outline:3px solid #D8443C;outline-offset:3px}
.rta[aria-pressed="true"]{background:#D8443C;color:#FFFDF6}
.rta-ic{font-size:20px}
@media(max-width:560px){.rta{font-size:14px;padding:9px 14px 9px 11px}}
/* the paragraph being read, lit like a highlighter pen */
.rta-now{background:rgba(245,194,75,.5)!important;box-shadow:0 0 0 7px rgba(245,194,75,.5);
  border-radius:4px;transition:background .2s,box-shadow .2s}
/* a table is read a row at a time: a row takes no ring, so its cells are lit */
tr.rta-now{box-shadow:none}
tr.rta-now > *{background:rgba(245,194,75,.5)!important}
/* a picture being described: a gold frame drawn INSIDE it (a card's rounded
   corners clip anything drawn outside) */
img.rta-now,[role="img"].rta-now{outline:6px solid #F5C24B!important;outline-offset:-6px;box-shadow:none!important}
/* evening: half-strength gold under light text is muddy (3.6:1); a lower
   wash keeps the words clear (7:1) and a brass edge keeps it easy to follow */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .rta-now{background:rgba(245,194,75,.3)!important;
    box-shadow:0 0 0 7px rgba(245,194,75,.3),0 0 0 9px #F5C24B}
  :root:not([data-theme="light"]) tr.rta-now{box-shadow:none}
  :root:not([data-theme="light"]) tr.rta-now > *{background:rgba(245,194,75,.3)!important}
}
body:has(.gshell:not([hidden])) .rta{display:none}
@media print{.rta{display:none}}
/* the dock: a bar along the bottom holding "Voice" (the chooser, for grown-ups)
   and "Read to me" (shell.js READ TO ME). A BAR, not a floating pill: the pill
   sat on the quiz's first answer (2026-12-02). The page keeps the bar's height
   free (.rta-space after the last thing on the page, scroll-padding for focus
   and #jumps), so it never sits on text or a control. --rta-h is set by
   shell.js from the bar's real height, safe area included. */
.rta-dock{position:fixed;z-index:150;left:0;right:0;bottom:0;display:flex;align-items:center;
  justify-content:flex-end;gap:10px;background:var(--paper);border-top:var(--bd) solid var(--ink);
  padding:7px calc(14px + env(safe-area-inset-right,0px)) calc(9px + env(safe-area-inset-bottom,0px))
    calc(14px + env(safe-area-inset-left,0px))}
@media(max-width:560px){.rta-dock{justify-content:center}}
.rta-dock .rta{position:static;min-height:44px;box-shadow:0 3px 0 #2B2118}
.rta-dock .rta:hover{transform:translateY(1px);box-shadow:0 2px 0 #2B2118}
.rta-dock .rta:active{transform:translateY(3px);box-shadow:0 0 0 #2B2118}
.rta-space{height:var(--rta-h,64px)}
html.has-rta{scroll-padding-bottom:calc(var(--rta-h,64px) + 12px)}
.rta-v{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-family:var(--rounded);
  font-weight:800;font-size:15px;line-height:1;color:#2B2118;background:#FFFDF6;
  border:var(--bd) solid #2B2118;border-radius:999px;padding:9px 14px 9px 11px;
  box-shadow:0 3px 0 #2B2118;cursor:pointer;transition:transform .09s,box-shadow .09s}
.rta-v svg{width:20px;height:20px;flex:none}
.rta-v:hover{transform:translateY(1px);box-shadow:0 2px 0 #2B2118}
.rta-v:active{transform:translateY(3px);box-shadow:0 0 0 #2B2118}
.rta-v:focus-visible{outline:3px solid #D8443C;outline-offset:3px}
.rta-v[aria-expanded="true"]{background:#F5C24B}
@media(max-width:560px){.rta-v{font-size:14px;padding:8px 12px 8px 10px}}
@media(max-height:500px){.rta-dock{padding-top:4px;padding-bottom:calc(6px + env(safe-area-inset-bottom,0px))}
  .rta-dock .rta,.rta-v{min-height:40px;padding-top:6px;padding-bottom:6px}}
.rta-pick{position:fixed;z-index:151;right:calc(10px + env(safe-area-inset-right,0px));
  bottom:calc(var(--rta-h,64px) + 10px);width:min(440px,calc(100vw - 20px));
  max-height:calc(100vh - var(--rta-h,64px) - 92px);max-height:calc(100dvh - var(--rta-h,64px) - 92px);
  overflow:auto;overscroll-behavior:contain;
  background:var(--paper);color:var(--ink-2);border:var(--bd) solid var(--ink);border-radius:22px;
  box-shadow:0 6px 0 var(--ink);padding:16px 16px 14px;font-family:var(--body);font-size:16px;line-height:1.45}
.rta-pick[hidden]{display:none}
.rta-pick:focus{outline:none}
.rta-pick-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rta-pick h2{margin:0;padding:0;font-size:23px;line-height:1.15;text-decoration:none;color:var(--ink)}
.rta-x{flex:none;width:44px;height:44px;border-radius:50%;border:2px solid var(--ink);background:var(--paper);
  color:var(--ink);font:800 18px/1 var(--rounded);cursor:pointer}
.rta-lede{margin:6px 0 12px;font-size:15.5px}
.rta-lede b{color:var(--ink)}
.rta-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.rta-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:10px 10px 10px 14px;
  border:2px solid var(--paper-2);border-radius:16px;background:var(--paper)}
.rta-row.is-on{border-color:var(--ink);background:var(--paper-2)}
.rta-who{flex:1 1 150px;min-width:0}
.rta-who b{display:block;font-family:var(--rounded);font-size:18px;line-height:1.2;color:var(--ink);overflow-wrap:anywhere}
.rta-who small{display:block;font-size:14px;line-height:1.35;color:var(--ink-2)}
.rta-acts{display:flex;gap:6px;flex:none;margin-left:auto}
.rta-acts button{min-height:44px;min-width:66px;font:800 15px/1 var(--rounded);color:var(--ink);
  background:var(--paper);border:2px solid var(--ink);border-radius:999px;padding:8px 14px;cursor:pointer}
.rta-acts button:hover,.rta-x:hover{background:var(--paper-2)}
.rta-acts button:focus-visible,.rta-x:focus-visible{outline:3px solid #D8443C;outline-offset:2px}
.rta-try.is-playing{background:var(--sky-pale)}
.rta-acts .rta-use[aria-pressed="true"]{background:#F5C24B;color:#2B2118;border-color:#2B2118}
.rta-tip{margin:0 0 12px;padding:10px 12px;border-radius:14px;background:var(--sky-pale);color:var(--ink);
  font-size:14.5px;line-height:1.45}
.rta-note{margin:10px 2px 0;font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.rta-status{margin:8px 2px 0;font-size:14.5px;font-weight:700;color:var(--ink)}
.rta-status:empty{display:none}
@media(max-width:560px){.rta-pick{border-radius:18px;padding:14px 12px 12px}}
body:has(.gshell:not([hidden])) .rta-dock{display:none}
@media print{.rta-dock,.rta-space{display:none}}

/* the name on two lines, READY FOR / WINGS, wherever the bar is short of
   room (a forced break, so it is never three lines and never wider than
   READY FOR). The <span class="bw"> is the second line. */
.brand b .bw{display:inline;margin:0;font:inherit;letter-spacing:inherit;color:inherit;text-transform:inherit}
@media(max-width:820px){ .nav-in:has(.nav-me) .brand b .bw{display:block} }
/* under 370px there is no room for First Wings on the bar; it is the first
   and biggest thing in ☰ Menu, and on the home page */
@media(max-width:370px){ .nav-fw{display:none} }

/* ── a phone's top bar ────────────────────────────────────────────────
   354px between the margins on a 390px phone, for the mark and the name,
   First Wings, the pilot card and ☰ Menu: the name is on two lines (see
   above), "First / Wings" stacks too, and the buttons tighten up. During
   launch the bar is only the brand and the switch, so the name keeps its
   one line there. */
@media(max-width:480px){
  .nav-in{gap:8px}
  .brand{gap:8px}
  .brand svg{width:42px;height:26px;flex-basis:42px}
  .brand b{font-size:16px;letter-spacing:-.03em}
  .nav-fw .nb-t{flex-direction:column;gap:1px}
  .nav-fw{padding:4px 8px;font-size:11.5px;min-height:50px}
  .menu-btn{min-width:52px;padding:4px 7px;font-size:11.5px;min-height:50px}
  .nav-me{gap:8px}
  .mode-sw button{padding:6px 6px;font-size:15px}
  .nav-links{gap:8px}
}

/* ═══ THE PILOT PASSPORT (2026-11-28) ═══════════════════════════════════
   The stamp itself (an SVG from shell.js stampSVG), the card that slides in
   when one lands, and the passport's place in the menu. The /passport/ page
   carries its own layout. */
.stamp{display:block;width:100%;height:auto;overflow:visible}
.stamp-toast{position:fixed;z-index:250;left:50%;
  top:calc(86px + env(safe-area-inset-top,0px));
  transform:translate(-50%,-14px) scale(.96);opacity:0;pointer-events:none;
  display:flex;align-items:center;gap:12px;width:min(440px,calc(100vw - 24px));
  padding:10px 16px 10px 10px;text-decoration:none;color:#2B2118;
  background:#FFFDF6;border:var(--bd) solid #2B2118;border-radius:20px;
  box-shadow:0 6px 0 #2B2118;transition:transform .32s cubic-bezier(.2,1.4,.4,1),opacity .25s}
.stamp-toast.on{transform:translate(-50%,0) scale(1);opacity:1;pointer-events:auto}
.stamp-toast .stamp{width:96px;flex:0 0 96px;animation:stampIn .45s cubic-bezier(.2,1.5,.4,1) .15s both}
@keyframes stampIn{from{transform:scale(1.9) rotate(-14deg);opacity:0}to{transform:none;opacity:1}}
.stamp-toast .st-txt{display:flex;flex-direction:column;gap:2px;min-width:0;
  font-family:var(--rounded);line-height:1.2}
.stamp-toast b{font-size:18px;font-weight:800}
.stamp-toast .st-txt > span{font-size:14.5px;font-weight:700;color:#584637}
.stamp-toast i{font-style:normal;font-weight:800;font-size:14px;color:#B4322B;margin-top:3px}
@media(prefers-reduced-motion:reduce){
  .stamp-toast{transition:opacity .2s}
  .stamp-toast .stamp{animation:none}
}
@media print{.stamp-toast{display:none}}

/* the count on ☰ Menu — a child sees their stamps from every page */
.mcount{position:absolute;top:-10px;right:-10px;min-width:23px;height:23px;padding:0 5px;
  display:grid;place-items:center;font:800 12px/1 var(--rounded);color:#2B2118;
  background:#F5C24B;border:2.5px solid #2B2118;border-radius:999px}
.mcount[hidden]{display:none}

/* the passport, first of your own things in the menu */
.mnav a.mnav-pass{flex:2 1 280px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:12px 16px;font-family:var(--rounded);font-weight:800;font-size:17px;color:#2B2118;
  text-decoration:none;background:#F5C24B;border:var(--bd) solid #2B2118;border-radius:16px;
  box-shadow:0 4px 0 #2B2118}
.mnav a.mnav-pass:hover{background:#F8CF66}
.mnav a.mnav-pass:active{transform:translateY(4px);box-shadow:none}
.mnav-pass .mi{font-size:22px}
.mnav-pc{margin-left:auto;font-size:14px;font-weight:700;color:#4A3B2E}

/* ── the tower on a phone (2026-11-28) ───────────────────────────────
   The game panel shrinks its whole stage until it fits one screen. On a
   390px phone the tower's teaching lines under the board pushed that to 61%:
   a small board and words about nine pixels high. The two longest lines —
   "Real controllers train for years…" and the into-wind paragraph — are
   already said by the rules card and the six-step tour, so inside the panel
   on a phone they step aside and the board gets the room. The page itself
   still shows them. */
@media(max-width:560px){
  .gshell-stage .whatnext,.gshell-stage .nowline{display:none}
}

/* ── THE SCOREBOARD (assets/scoreboard.js, 2026-12-01) ───────────────────
   One dialog for every game: score card, name box, the top 200 on this
   device with the new row highlighted. Above the game panel (.gshell is 200).
   ⚠ Not `.who` — that class is the site's modal scrim and means something else. */
.rfwb{position:fixed;inset:0;z-index:400;display:grid;place-items:center;
  padding:clamp(8px,3vw,28px);background:rgba(43,33,24,.58)}
.rfwb[hidden]{display:none!important}
.rfwb-in{position:relative;width:min(540px,100%);max-height:calc(100dvh - 16px);overflow:auto;
  overscroll-behavior:contain;display:flex;flex-direction:column;gap:11px;
  background:var(--paper);border:var(--bd) solid var(--ink);border-radius:24px;
  box-shadow:0 6px 0 var(--ink);padding:clamp(16px,3vw,26px)}
.rfwb-in:focus{outline:none}
/* review fix 2 Dec 2026: the card scrolls, its parts never squash (the empty-list line was cut to "Be") */
.rfwb-in > *{flex-shrink:0}
.rfwb-in [hidden]{display:none!important}
.rfwb-x{position:absolute;top:10px;right:10px;width:40px;height:40px;border-radius:12px;
  border:2.5px solid var(--ink);background:var(--paper-2);color:var(--ink);cursor:pointer;
  font-family:var(--rounded);font-weight:800;font-size:17px;line-height:1}
.rfwb-x:hover{background:var(--brass);color:#2B2118}
.rfwb-kick{margin:0;padding-right:46px;font-family:var(--rounded);font-weight:800;font-size:13px;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
body .rfwb h2{margin:0;padding-right:46px;font-size:clamp(26px,4vw,36px);line-height:1.1}
.rfwb-cheer{margin:0;background:var(--sky-pale);border:2.5px solid var(--ink);border-radius:16px;
  padding:10px 14px;font-family:var(--rounded);font-weight:800;font-size:16.5px;line-height:1.35;
  color:var(--ink)}
.rfwb-card{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.rfwb-card div{background:var(--paper-2);border:2.5px solid var(--ink);border-radius:14px;
  padding:6px 12px;min-width:84px}
.rfwb-card dt{font-size:12px;font-weight:700;color:var(--ink-3)}
.rfwb-card dd{margin:0;font-family:var(--rounded);font-weight:800;font-size:19px;color:var(--ink)}
.rfwb-name{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}
.rfwb-name label{width:100%;font-size:14px;font-weight:700;color:var(--ink-2)}
.rfwb-name input{flex:1 1 150px;min-width:0;font-family:var(--rounded);font-weight:800;font-size:18px;
  color:var(--ink);background:var(--paper);border:var(--bd) solid var(--ink);border-radius:999px;
  padding:9px 16px}
.rfwb-name input:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}
.rfwb-rank{margin:0;min-height:1.3em;font-family:var(--rounded);font-weight:800;font-size:16px;
  color:var(--ink)}
.rfwb-list{position:relative;list-style:none;margin:0;padding:0;max-height:min(36vh,330px);
  overflow-y:auto;overscroll-behavior:contain;background:var(--paper-2);
  border:2.5px solid var(--ink);border-radius:16px}
.rfwb-list li{display:grid;grid-template-columns:2.6em minmax(0,1fr) auto;gap:10px;
  align-items:center;padding:7px 14px 7px 8px;
  border-bottom:1.5px solid color-mix(in srgb,var(--ink) 14%,transparent)}
.rfwb-list li:last-child{border-bottom:0}
.rfwb-list .rk{font-family:var(--rounded);font-weight:800;font-size:15px;color:var(--ink-3);
  text-align:center}
.rfwb-list .nm{font-weight:800;color:var(--ink);overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
.rfwb-list .nm small{display:block;font-weight:600;font-size:12px;color:var(--ink-3)}
.rfwb-list .sc{font-family:var(--rounded);font-weight:800;font-size:17px;color:var(--ink);
  text-align:right}
.rfwb-list li.is-new{background:var(--brass)}
.rfwb-list li.is-new .rk,.rfwb-list li.is-new .nm,.rfwb-list li.is-new .sc,
.rfwb-list li.is-new small{color:#2B2118}
.rfwb-list li.rfwb-empty{display:block;padding:16px;text-align:center;color:var(--ink-3);
  font-weight:700}
.rfwb-note{margin:0;font-size:13px;color:var(--ink-3)}
.rfwb-acts{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:560px){
  .rfwb{place-items:end center;padding:6px}
  .rfwb-in{border-radius:20px;gap:9px}
  .rfwb-list{max-height:32vh}
  .rfwb-acts .btn{flex:1 1 auto;justify-content:center}
}
/* the rules card's own way in to a game's board */
.gshell-rules .gshell-boardbtn{margin:16px 0 0}
.gshell-rules .gshell-boardbtn[hidden]{display:none}
/* the big board (2026-12-01): This week · All time · This device, the
   champion line, and the "make a pilot card" box for a child without one.
   The animal badges come from assets/pilot.js (.rfwp-av). */
.rfwb-tabs{display:flex;flex-wrap:wrap;gap:6px}
.rfwb-tabs button{flex:1 1 auto;min-height:40px;padding:6px 12px;border:2.5px solid var(--ink);
  border-radius:999px;background:var(--paper);color:var(--ink);cursor:pointer;
  font:800 14.5px/1.1 var(--rounded);box-shadow:0 3px 0 var(--ink)}
.rfwb-tabs button[aria-selected="true"]{background:var(--brass);color:#2B2118;
  transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}
.rfwb-tabs button:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}
.rfwb-champ{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;
  font:800 15px/1.3 var(--rounded);color:var(--ink)}
.rfwb-champ b{color:var(--ink)}
.rfwb-join{background:var(--sky-pale);border:2.5px solid var(--ink);border-radius:16px;
  padding:10px 14px;display:grid;gap:8px}
.rfwb-join p{margin:0;font-size:15px;line-height:1.4;color:var(--ink)}
.rfwb-in .rfwb-av{width:28px;height:28px;font-size:16px;border-width:2px}
.rfwb-list .nm-cs{display:flex;align-items:center;gap:8px}
.rfwb-list .nm-cs span:last-child{overflow:hidden;text-overflow:ellipsis}

/* ═══ PLAY (2026-12-02) ═══════════════════════════════════════════════
   Everything assets/play.js puts on a page: today's mission (the home
   page card, the passport chip, the toast), Foxtrot's hiding spots, the
   tap-to-learn "?" spots and their bubble, the logo flyby, the door
   wiggle and the passport's Bonus stamps row. Keep this block at the END
   of the file. No motion under prefers-reduced-motion, none of the
   attention-pulling motion in Future pilot mode. ═══ */
.play-sr{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* today's mission: the home page card */
.mission-band{padding:clamp(24px,3.2vw,44px) 0 0}
.mission-band[hidden]{display:none}
.mission{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(14px,2.2vw,28px);align-items:center;
  max-width:1120px;margin:0 auto;padding:clamp(16px,2.2vw,26px) clamp(16px,2.4vw,30px);
  background:var(--paper);border:var(--bd) solid var(--ink);border-radius:26px;box-shadow:0 6px 0 var(--ink)}
.ms-badge{position:relative;width:clamp(62px,7vw,92px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;
  background:var(--sky);border:var(--bd) solid var(--ink);font-size:clamp(30px,3.6vw,46px);line-height:1}
.ms-badge i{position:absolute;right:-7px;bottom:-7px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  background:#2E7D4F;color:#FFFFFF;border:3px solid #2B2118;font:800 18px/1 var(--rounded);font-style:normal}
.mission.done .ms-badge{background:var(--grass)}
body .mission .ms-kick{display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px;margin:0 0 5px;padding:0;
  font:800 13px/1.3 var(--rounded);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);text-decoration:none}
.ms-kick > span{color:var(--ink-3)}
.ms-kick .ms-lv{letter-spacing:.06em;color:var(--aero-red)}
.ms-title{margin:0;font:800 clamp(21px,2.3vw,30px)/1.18 var(--rounded);color:var(--ink);text-wrap:balance}
.ms-how{margin:6px 0 0;font-size:clamp(15px,1.15vw,17px);line-height:1.5;color:var(--ink-2);max-width:62ch}
.ms-prog{height:14px;margin:12px 0 0;max-width:340px;border:2.5px solid var(--ink);border-radius:999px;
  background:var(--paper-2);overflow:hidden}
.ms-prog i{display:block;height:100%;background:var(--grass-deep);transition:width .4s}
.ms-pt{margin:4px 0 0;font:800 13.5px/1.3 var(--rounded);color:var(--ink-2)}
.ms-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:14px}
.ms-auto,.ms-next{font:700 14px/1.35 var(--rounded);color:var(--ink-3)}
.ms-did{background:var(--brass);color:#2B2118}
.ms-streak{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;min-width:150px;
  padding-left:clamp(14px,2vw,26px);border-left:3px dashed var(--ink-3)}
.ms-n{margin:0;display:flex;align-items:baseline;gap:6px;font:800 15px/1.1 var(--rounded);color:var(--ink-2)}
.ms-n b{font-size:clamp(34px,3.4vw,44px);line-height:1;color:var(--ink)}
.ms-week{display:flex;gap:5px;margin:0;padding:0;list-style:none}
.ms-week li{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;
  font:800 11.5px/1 var(--rounded);color:var(--ink-3);border:2px solid var(--ink-3)}
.ms-week li.on{background:var(--grass);border-color:var(--ink);color:#2B2118}
.ms-week li.today{outline:2.5px solid var(--aero-red);outline-offset:2px}
.ms-best{margin:0;font:700 12.5px/1.35 var(--rounded);color:var(--ink-3);max-width:20ch}
.mission.just .ms-badge{animation:msPop .6s cubic-bezier(.2,1.6,.4,1)}
@keyframes msPop{0%{transform:scale(.55) rotate(-14deg)}100%{transform:none}}
@media(max-width:760px){
  .mission{grid-template-columns:auto minmax(0,1fr);align-items:start}
  .ms-streak{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:8px 14px;
    padding:12px 0 0;border-left:0;border-top:3px dashed var(--ink-3)}
  .ms-best{max-width:none}
}
@media(max-width:430px){
  .mission{gap:12px 14px;border-radius:22px}
  .ms-badge{width:54px;font-size:27px}
  .ms-acts .btn{padding:11px 18px}
}

/* today's mission: the passport's chip */
.ms-chipbox{margin:clamp(16px,2vw,24px) 0 0}
.ms-chipbox[hidden]{display:none}
.ms-chip{display:flex;align-items:center;gap:12px;max-width:660px;padding:10px 18px 10px 10px;text-decoration:none;
  color:var(--ink);background:var(--paper);border:2.5px solid var(--ink);border-radius:999px;box-shadow:0 4px 0 var(--ink);
  transition:transform .09s,box-shadow .09s}
.ms-chip:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--ink)}
.ms-chip:focus-visible{outline:3px solid var(--aero-red);outline-offset:3px}
.mc-em{flex:0 0 auto;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;font-size:22px;
  background:var(--sky);border:2.5px solid var(--ink)}
.ms-chip.done .mc-em{background:var(--grass)}
.mc-t{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.25}
.mc-t b{font:800 12.5px/1.3 var(--rounded);letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.mc-t span{font:800 15.5px/1.3 var(--rounded);color:var(--ink)}
.mc-st{flex:0 0 auto;max-width:7.5em;text-align:right;font:700 13px/1.2 var(--rounded);color:var(--ink-2)}
.mc-st b{font-size:20px;color:var(--ink)}
@media(max-width:430px){.ms-chip{border-radius:22px}.mc-st{max-width:5.5em}}

/* the toast (mission reminders, cheers, the flyby): under the stamp card's
   spot, above the page, below every dialog */
.play-toast{position:fixed;z-index:155;left:50%;top:calc(86px + env(safe-area-inset-top,0px));
  transform:translate(-50%,-14px) scale(.96);opacity:0;pointer-events:none;
  display:flex;align-items:flex-start;gap:12px;width:min(440px,calc(100vw - 24px));
  padding:12px 50px 12px 14px;color:var(--ink);background:var(--paper);
  border:var(--bd) solid var(--ink);border-radius:20px;box-shadow:0 6px 0 var(--ink);
  transition:transform .32s cubic-bezier(.2,1.4,.4,1),opacity .25s}
.play-toast.on{transform:translate(-50%,0) scale(1);opacity:1;pointer-events:auto}
.pt-em{flex:0 0 auto;margin-top:2px;font-size:32px;line-height:1}
.pt-txt{display:flex;flex-direction:column;gap:3px;min-width:0;font-family:var(--rounded);line-height:1.3}
.pt-txt b{font-size:17.5px;font-weight:800;color:var(--ink)}
.pt-txt > span{font-size:14.5px;font-weight:700;color:var(--ink-2)}
.pt-txt > .pt-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}
.pt-acts a{font:800 14.5px var(--rounded);color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.pt-x{position:absolute;top:8px;right:8px;width:34px;height:34px;padding:0;display:grid;place-items:center;
  border-radius:50%;border:2px solid var(--ink);background:transparent;color:var(--ink);font-size:14px;cursor:pointer}
.pt-x:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}

/* Foxtrot's hiding spots. peek: a button in the picture, bottom edge on
   the picture's bottom edge; he looks over it, rises when found */
.fox-peek{position:absolute;z-index:3;width:58px;height:50px;margin:0;padding:0;border:0;border-radius:14px 14px 0 0;
  background:none;box-shadow:none;cursor:pointer;overflow:hidden;-webkit-tap-highlight-color:transparent}
/* (0,2,0): beats page rules such as wing/'s .aoa svg, which would draw a box behind him */
.fox-peek .fp-svg,.fox-cell .fp-svg,.fox-face .fp-svg{display:block;width:100%;height:100%;max-width:none;
  margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;filter:none}
.fox-peek .fp-fig,.fox-cell .fp-fig{transform:translateY(14px);transition:transform .35s cubic-bezier(.2,1.5,.4,1)}
.fox-peek:hover .fp-fig,.fox-peek:focus-visible .fp-fig,.fox-cell:hover .fp-fig,.fox-cell:focus-visible .fp-fig{transform:translateY(7px)}
.fox-peek.found .fp-fig,.fox-cell.found .fp-fig{transform:none}
.fox-peek.hi .fp-fig,.fox-cell.hi .fp-fig,.fox-face.hi .fp-fig{animation:foxHi .7s cubic-bezier(.2,1.5,.4,1)}
@keyframes foxHi{0%{transform:translateY(18px)}50%{transform:translateY(-5px)}100%{transform:none}}
.fox-peek:focus-visible,.fox-face:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}
/* stand: the whole of him, on the ground in a diagram */
.fox-peek.fox-stand{width:36px;height:55px;border-radius:0;overflow:visible}
.fox-stand .fp-fig{transform:none}
.fox-stand:hover .fp-fig,.fox-stand:focus-visible .fp-fig{transform:translateY(-4px)}
.fox-stand.found .fp-fig{transform:none}
/* cell: one more card at the end of the alphabet chart (its page styles
   .chart button; this only adds what is different) */
.fox-cell{overflow:hidden;justify-content:flex-end}
.fox-cell .fp-svg{width:66px;height:52px;flex:0 0 auto}
/* face: one more face in the quiz's crew row */
.fox-li{display:block}
.fox-face{display:block;width:48px;height:48px;margin:0;padding:0;border-radius:50%;overflow:hidden;cursor:pointer;
  border:3px solid var(--ink);background:var(--sky-pale);box-shadow:0 3px 0 var(--ink);transform:rotate(-4deg)}
@media(min-width:620px){.fox-face{width:54px;height:54px}}

/* tap-to-learn: the layer sits exactly over the picture */
.tl-layer{position:absolute;z-index:2;pointer-events:none}
.tl-dot{position:absolute;width:30px;height:30px;margin:0;padding:0;transform:translate(-50%,-50%);
  display:grid;place-items:center;pointer-events:auto;cursor:pointer;border-radius:50%;
  background:#F5C24B;color:#2B2118;border:2.5px solid #2B2118;box-shadow:0 3px 0 #2B2118;
  font:800 17px/1 var(--rounded);-webkit-tap-highlight-color:transparent}
.tl-dot::before{content:"";position:absolute;inset:-8px;border-radius:50%}       /* a 46px target */
.tl-dot::after{content:"";position:absolute;inset:-7px;border-radius:50%;border:3px solid #F5C24B;
  opacity:0;pointer-events:none;animation:tlPulse 2.4s ease-out .6s 3}
.tl-dot:hover,.tl-dot[aria-expanded="true"]{background:#FFFDF6}
.tl-dot:focus-visible{outline:3px solid var(--aero-red);outline-offset:3px}
@keyframes tlPulse{0%{transform:scale(.7);opacity:.95}70%,100%{transform:scale(1.4);opacity:0}}
@media(max-width:560px){.tl-dot{width:27px;height:27px;font-size:15px}}

/* the bubble: a fact, or what Foxtrot says */
.play-bub{position:absolute;z-index:50;display:flex;align-items:flex-start;gap:8px;
  padding:12px 12px 12px 16px;color:var(--ink);background:var(--paper);
  border:var(--bd) solid var(--ink);border-radius:18px;box-shadow:0 5px 0 var(--ink);
  font-family:var(--rounded);opacity:0;transform:translateY(4px);transition:opacity .18s,transform .18s}
.play-bub.on{opacity:1;transform:none}
.pb-in{flex:1;min-width:0}
.pb-k{display:block;margin-bottom:4px;font:800 11.5px/1.2 var(--rounded);letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-3)}
.play-bub b{display:block;margin-bottom:3px;font:800 17px/1.25 var(--rounded);color:var(--ink)}
.play-bub p{margin:0;font:700 15px/1.45 var(--rounded);color:var(--ink)}
.fb-n{display:block;margin-top:8px;font:800 13.5px/1.35 var(--rounded);color:var(--ink-2)}
.fb-n a{color:inherit;text-underline-offset:3px}
.pb-acts{display:flex;flex-direction:column;gap:6px;flex:0 0 auto}
.pb-acts button{width:34px;height:34px;margin:0;padding:0;display:grid;place-items:center;border-radius:50%;
  border:2px solid var(--ink);background:var(--paper);color:var(--ink);font-size:14px;cursor:pointer}
.pb-acts .pb-say{background:#F5C24B;color:#2B2118;border-color:#2B2118}
.pb-acts button:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}
.pb-arrow{position:absolute;left:var(--ax,50%);width:15px;height:15px;background:var(--paper);
  border:var(--bd) solid var(--ink);transform:translateX(-50%) rotate(45deg)}
.play-bub.below .pb-arrow{top:-10px;border-right:0;border-bottom:0}
.play-bub.above .pb-arrow{bottom:-10px;border-left:0;border-top:0}

/* the logo flyby: Aarron's Extra and its smoke, over the page, under the
   Read to me bar and every dialog, never in the way of a tap */
.play-fly{position:fixed;inset:0;z-index:140;pointer-events:none;transition:opacity 1.2s}
.play-fly.fade{opacity:0}
.play-fly svg{display:block;overflow:visible}
.play-fly .pf-s1{fill:none;stroke:#B9C6D0;stroke-width:17;stroke-linecap:round;stroke-linejoin:round;opacity:.7}
.play-fly .pf-s2{fill:none;stroke:#FFFFFF;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;opacity:.95}

/* the doors wiggle hello (rotate, so the doors' own transform still works) */
@keyframes playWiggle{0%,100%{rotate:0deg}25%{rotate:-2.4deg}75%{rotate:2.4deg}}
.door:hover,.door:focus-visible{animation:playWiggle .5s ease-in-out}
.door:hover .door-emoji,.door:focus-visible .door-emoji{animation:playWiggle .5s ease-in-out .08s}

/* the passport's Bonus stamps row and Foxtrot's list (passport/) */
#bonus{scroll-margin-top:96px}
#bonus[hidden]{display:none}
.bn-lede{margin:0 0 6px;max-width:62ch}
.bonus-row{margin-bottom:clamp(22px,2.8vw,34px)}
.bn-h{margin:6px 0 6px;scroll-margin-top:96px}
.bn-list{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 clamp(36px,4.6vw,60px);padding:0;list-style:none}
.bn-list a{display:inline-flex;align-items:center;gap:8px;padding:7px 15px 7px 7px;text-decoration:none;
  color:var(--ink);background:var(--paper);border:2.5px solid var(--ink);border-radius:999px;font:800 14.5px/1.2 var(--rounded)}
.bn-list a > span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;
  border:2px dashed var(--ink-3);color:var(--ink-3);font-size:13px}
.bn-list li.got a > span{background:var(--grass);border:2px solid var(--ink);color:#2B2118}
.bn-list a:hover{text-decoration:underline}
.bn-list a:focus-visible{outline:3px solid var(--aero-red);outline-offset:2px}

/* calmer: no pulse, no wiggle, no pop */
@media(prefers-reduced-motion:reduce){
  .tl-dot::after,.door:hover,.door:focus-visible,.door:hover .door-emoji,.door:focus-visible .door-emoji,
  .mission.just .ms-badge,.fox-peek.hi .fp-fig,.fox-cell.hi .fp-fig,.fox-face.hi .fp-fig{animation:none}
  .play-toast,.play-bub{transition:opacity .2s}
}
body[data-mode="pilot"] .tl-dot::after,body[data-mode="pilot"] .door:hover,body[data-mode="pilot"] .door:focus-visible,
body[data-mode="pilot"] .door:hover .door-emoji,body[data-mode="pilot"] .door:focus-visible .door-emoji{animation:none}
@media print{.play-toast,.play-bub,.play-fly,.tl-layer,.fox-peek,.fox-li,.fox-cell,.ms-chipbox,.mission-band{display:none!important}}
/* ═══ end of PLAY ═══ */

/* Plain text links (2 Dec 2026 site review): with no rule they were the browser's default blue —
   "Aarron Deliu" on the home page, the privacy list, the paper-planes grown-ups box. Zero
   specificity (:where), so every link that already has its own style keeps it. */
:where(main) :where(p, li, td, dd, figcaption, small) a:where(:not([class])){
  color:var(--ink);text-decoration:underline;text-decoration-color:var(--aero-red, #D8443C);
  text-decoration-thickness:2px;text-underline-offset:3px;font-weight:700}
:where(main) :where(p, li, td, dd, figcaption, small) a:where(:not([class])):hover{color:var(--aero-red, #D8443C)}
