/* Ad Astra research pages in the home-v14 shell (22 Oct 2026). Newsreader + Jost only (design system D1).
   Header, hero film, sky and night footer are the home draft's (review-2026-10-07/hero/page-v14.html), restyled for reading.
   Hand-written; the pages themselves are generated by review-2026-10-07/tools/build_research14.py. */
@font-face { font-family:'Jost'; src:url(fonts/jost-latin.woff2) format('woff2'); font-weight:300 700; font-style:normal; font-display:swap; }
/* Jost has no latin-ext file in the site's set; the references need it (Budzyń, Kabakcı, …). The full variable file is the same OFL Jost the films use and loads only on a page that has such a letter. */
@font-face { font-family:'Jost'; src:url(fonts/Jost-wght.ttf) format('truetype'); font-weight:100 900; font-style:normal; font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Newsreader'; src:url(fonts/newsreader-latin-ext.woff2) format('woff2'); font-weight:200 800; font-style:normal; font-display:swap;
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family:'Newsreader'; src:url(fonts/newsreader-latin.woff2) format('woff2'); font-weight:200 800; font-style:normal; font-display:swap;
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { box-sizing:border-box; }
/* 2 Nov 2026 DS update: the glass, focus ring, shadow, x, eyebrow, heading and radius values come from ds-tokens.css (linked before this file); each use keeps its value as the fallback.
   --cream (#fff8ee) is gone: text near-whites are paper #F4F4F2 (00 §7, §13). --ring is the focus ring colour of the surface under it: dark ink-brown on light, paper on dark. */
:root { --ink:#1d1712; --sub:#4a4f5a; --night:#0b0e19; --morning:#f1f4f7; --gut:clamp(20px, 4vw, 64px); --col:556px; --ring:var(--focus-on-light, #7a3d00); }
.hero, .refs, .close, #ahp, #ahd:not(.day) { --ring:var(--focus-on-dark, #F4F4F2); }
html { background:var(--night); scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }
body { margin:0; color:var(--ink); font-family:'Jost', sans-serif; background:var(--sky, linear-gradient(180deg, #f1f4f7 0%, #e8eff6 14%, #dde9f4 30%, #e5ecf3 46%, #ece9ef 58%, #dccbd6 64%, #8d7c9f 70%, #2f2c50 74%, #0b0e19 78%)); overflow-x:clip; }
html { overflow-x:clip; }
/* 19 Nov (QA): what a jump or a Tab brings into view lands below the fixed header (52 px), not under it: the reference's back arrow, a focused link */
html { scroll-padding-top:calc(64px + env(safe-area-inset-top)); }
button { font:inherit; }
/* one focus ring (23): 2 px, :focus-visible, offset 2; paper on the dark surfaces, #7a3d00 on the light ones (the dark ring awaits Arthur's final ok) */
:focus-visible { outline:var(--focus-w, 2px) solid var(--ring); outline-offset:var(--focus-off, 2px); }
h1, h2, h3 { text-wrap:balance; }
main, .hero, .paper, .closing, .dusk, .refs, .close { position:relative; z-index:1; }
.skip { position:fixed; left:12px; top:-60px; z-index:100; padding:15px 20px; border-radius:var(--r-pill, 999px); background:var(--paper, #F4F4F2); color:#1d1712; font:600 14px/1 'Jost'; text-decoration:none; } .skip:focus { top:12px; } .skip:focus-visible { outline-color:var(--focus-on-dark, #F4F4F2); }

/* one eyebrow (18): Jost 600 caps 13, tracking .14em; each element keeps only its own colour and spacing */
#ahp .k { font-family:'Jost', sans-serif; font-weight:var(--eyebrow-weight, 600); font-size:var(--eyebrow-size, 13px); line-height:1.2; letter-spacing:var(--eyebrow-track, .14em); text-transform:uppercase; }

/* header: the home's (1 Nov 2026): a glass bar, dark over the picture and the night, light over the day; the mark and name go home; the Research menu */
#ahd { position:fixed; left:0; top:0; width:100%; height:52px; z-index:40; display:flex; align-items:center; justify-content:space-between; padding:0 24px; font-family:'Jost';
  background:var(--glass-dark-bg, rgba(14,14,14,.40)); backdrop-filter:blur(var(--glass-dark-blur, 8px)) saturate(var(--glass-dark-sat, 1.1)); -webkit-backdrop-filter:blur(var(--glass-dark-blur, 8px)) saturate(var(--glass-dark-sat, 1.1)); box-shadow:inset 0 -1px 0 rgba(255,255,255,.14); color:#fff; transition:color .4s, background .4s; }
#ahd.day { background:var(--glass-day-bg, rgba(255,250,242,.42)); backdrop-filter:blur(var(--glass-day-blur, 18px)) saturate(var(--glass-day-sat, 1.3)); -webkit-backdrop-filter:blur(var(--glass-day-blur, 18px)) saturate(var(--glass-day-sat, 1.3)); color:#1d1712; box-shadow:inset 0 -1px 0 rgba(0,0,0,.08); }
#ahd .l { display:flex; align-items:center; gap:10px; min-height:44px; font:500 16px 'Jost'; letter-spacing:.01em; color:inherit; text-decoration:none; }
#ahd .l svg { width:24px; height:24px; }
#ahd .res { all:unset; cursor:pointer; display:flex; align-items:center; gap:7px; min-height:44px; font:500 15px 'Jost'; padding:0 4px; }
#ahd .res:focus-visible, #ahd .l:focus-visible { outline:var(--focus-w, 2px) solid var(--ring); outline-offset:var(--focus-off, 2px); }   /* .res has "all:unset", so its ring is restated */
#ahd .res svg { transition:transform .3s; }
#ahd.open .res svg { transform:rotate(180deg); }
#ahp { position:fixed; left:0; top:52px; width:100%; z-index:39; padding:30px 28px 34px; border-radius:0 0 var(--r-frame, 28px) var(--r-frame, 28px); display:grid; grid-template-columns:360px 1fr; gap:40px;
  background:var(--glass-dark-bg, rgba(14,14,14,.40)); backdrop-filter:blur(var(--glass-dark-blur, 8px)) saturate(var(--glass-dark-sat, 1.1)); -webkit-backdrop-filter:blur(var(--glass-dark-blur, 8px)) saturate(var(--glass-dark-sat, 1.1)); color:#fff;
  opacity:0; transform:translateY(-10px); pointer-events:none; visibility:hidden; transition:opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s .45s; }
#ahd.open + #ahp { opacity:1; transform:none; pointer-events:auto; visibility:visible; transition:opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1); }
#ahp p { margin:0; }
#ahp .k { opacity:.65; }
#ahp .t { font:400 30px/1.15 'Newsreader'; margin:10px 0; text-wrap:balance; }
#ahp .b { font:400 15px/1.5 'Jost'; opacity:.8; }
#ahp .list { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:28px; max-width:900px; }   /* 19 Nov: the two articles share the width */
#ahp a { color:#fff; text-decoration:none; display:grid; gap:10px; align-content:start; }
#ahp a img { width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-radius:var(--r-small-max, 20px); transition:transform .4s; }
#ahp a:hover img { transform:scale(1.03); }
#ahp a .t { font-size:24px; margin:4px 0 0; }
#ahp a[aria-current] { opacity:.5; }   /* 19 Nov: the page you are on is dimmed (no "You are here" label) */
#ahp a[aria-current]:hover img { transform:none; }
#ahp a:focus-visible { border-radius:var(--r-small-max, 20px); }
@media (max-width: 860px) {
  #ahd { height:calc(52px + env(safe-area-inset-top)); padding:env(safe-area-inset-top) var(--gut) 0; }
  #ahd .l svg { width:26px; height:26px; }
  #ahp { top:calc(52px + env(safe-area-inset-top)); grid-template-columns:1fr; gap:18px; padding:22px var(--gut) 26px; max-height:calc(100svh - 52px); overflow:auto; }
  #ahp .t { font-size:26px; }
  #ahp .list { grid-template-columns:1fr; gap:16px; }
  #ahp a { grid-template-columns:34vw 1fr; column-gap:14px; row-gap:6px; }
  #ahp a img { grid-row:span 3; aspect-ratio:4/3; border-radius:15px; }   /* about 15 % of the 98 px short side */
  #ahp a .t { font-size:18px; } #ahp a .b { font-size:13px; }
}
/* Reduce Motion (47): the Research panel and the header fade in at most .2 s, nothing moves */
@media (prefers-reduced-motion: reduce) {
  #ahd { transition-duration:.2s; }
  #ahd .res svg, #ahp a img, .toc summary svg { transition:none; }
  #ahp { transform:none; transition:opacity .2s, visibility 0s .2s; } #ahd.open + #ahp { transition:opacity .2s; }
  #ahp a:hover img { transform:none; }
  .refs a.card, .foot a { transition-duration:.2s; }
}
/* Increase Contrast (51): the tokens turn the glass black; the day header's text follows, and the capsules get a white edge */
@media (prefers-contrast: more) {
  #ahd, #ahd.day { box-shadow:inset 0 0 0 1px #fff; color:#fff; --ring:var(--focus-on-dark, #F4F4F2); }
  #ahp { box-shadow:inset 0 0 0 1px #fff; }
}

/* the sun: Astra's light crossing the day, behind everything (home's) */
.sun { position:fixed; left:0; top:0; width:110vmax; height:110vmax; margin:-55vmax 0 0 -55vmax; z-index:0; pointer-events:none; border-radius:50%; opacity:0; will-change:transform, opacity;
  background:radial-gradient(closest-side, rgba(255,255,250,.95) 0%, rgba(255,250,236,.7) 3%, rgba(255,246,226,.42) 7%, var(--sunc, rgba(255,226,170,.5)) 16%, rgba(255,226,170,.12) 38%, rgba(255,226,170,0) 64%); filter:blur(6px); }
.sun { display:none; }   /* 19 Nov (article polish): the drifting light blob is gone; the sky alone carries the day */

/* words out of light (34, 35): wrapped at build time (--i = the word's place, --n = the heading's word count). One recipe for the h1 (on load, after 250 ms) and for each section h2 (once, as it comes into view:
   research.js adds .rv to <html> and .in to the h2). Per word .4 s, opacity + blur 8 to 0 + a rise of 8 px, paper light that fades out; the stagger is capped so the whole heading, first word to last settle,
   is at most .68 s. Not scrubbed, never reversed, no overshoot (the easing stays inside 0 to 1). Reduce Motion and Save-Data: no animation, the words are simply there. */
.wd { display:inline-block; --st:min(.06s, calc(.2s / max(calc(var(--n, 1) - 1), 1))); }   /* 3 Nov: the home's recipe (home-v16 js/motion.js words()) */
@keyframes wlight { 0% { opacity:0; filter:blur(6px); transform:translateY(8px); text-shadow:0 0 22px rgba(244,244,242,.9); } 90% { opacity:1; filter:blur(0); } 100% { opacity:1; filter:blur(0); transform:none; text-shadow:0 0 0 rgba(244,244,242,0); } }
@keyframes wsoft { from { opacity:0; color:var(--paper, #F4F4F2); } to { opacity:1; color:inherit; } }
/* 4 Nov (Arthur: "article section titles animate in differently from rest of site"): the home's exact recipe, transitions not a keyframe
   (home-v16 js/motion.js: opacity and blur .45 s cubic-bezier(.2,.8,.2,1), the lift .5 s cubic-bezier(.16,1,.3,1), the glow .5 s ease), for the
   h1 (research.js adds .in after 250 ms) and each section h2 (.in as it reaches 70% of the window), on every tier but the still one */
@media (prefers-reduced-motion: no-preference) {
  .rv .hero h1 .wd, .rv .rd h2 .wd { opacity:0; filter:blur(6px); transform:translateY(8px); text-shadow:0 0 22px rgba(244,244,242,.9); }
  .rv .hero h1.in .wd, .rv .rd h2.in .wd { opacity:1; filter:blur(0); transform:none; text-shadow:0 0 0 rgba(244,244,242,0);
    transition:opacity .45s cubic-bezier(.2,.8,.2,1), filter .45s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.16,1,.3,1), text-shadow .5s ease; transition-delay:calc(var(--i) * var(--st)); }
  .hero .kick, .hero .line, .hero .meta { animation:rise 1s ease-out both; animation-delay:1s; } .hero .line { animation-delay:1.15s; } .hero .meta { animation-delay:1.3s; }
  .t0 .hero .kick, .t0 .hero .line, .t0 .hero .meta { animation:none; }
  }
/* the phone header has the home's side margin (6vw), 4 Nov (Arthur: "logotype is positioned differently in research") */
@media (max-width:760px) { #ahd { padding-left:6vw !important; padding-right:6vw !important; } }
@keyframes rise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

/* 1 hero: the home film; the words stand on the left; the film's foot dissolves into the morning */
.hero { height:100svh; min-height:520px; overflow:hidden; background:#120d08; }
.hero video, .hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
video.failed { opacity:0; }
.hero .shade { position:absolute; inset:0; background:linear-gradient(0deg, rgba(8,10,18,.5) 0%, rgba(8,10,18,.66) 26%, rgba(8,10,18,.4) 50%, rgba(8,10,18,0) 72%), linear-gradient(180deg, rgba(8,10,18,.45), rgba(8,10,18,0) 16%); }
.hero .dawn { position:absolute; inset:0; background:linear-gradient(180deg, rgba(241,244,247,.35) 0%, rgba(241,244,247,.8) 45%, var(--morning) 80%); opacity:0; }
/* 19 Nov: the picture's foot dissolves into the morning over a quarter of the screen (an eased ramp, no band); the words stand above it */
.hero::after { content:''; position:absolute; left:0; right:0; bottom:0; height:24vh; background:linear-gradient(180deg, rgba(241,244,247,0) 0%, rgba(241,244,247,.07) 18%, rgba(241,244,247,.24) 38%, rgba(241,244,247,.52) 60%, rgba(241,244,247,.82) 80%, var(--morning) 100%); pointer-events:none; z-index:2; }
.hero .copy { position:absolute; z-index:3; left:var(--gut); right:var(--gut); bottom:calc(24vh + 12px); color:var(--paper, #F4F4F2); will-change:transform, opacity; }
.hero .kick { margin:0 0 18px; color:rgba(244,244,242,.9); text-shadow:0 1px 14px rgba(14,9,5,.6); }
.hero h1 { margin:0; font:var(--head-weight, 350) clamp(46px, 6.6vw, 112px)/.98 'Newsreader'; letter-spacing:var(--head-track, -.022em); max-width:15ch; overflow-wrap:break-word; text-wrap:balance; }
.hero .line { margin:28px 0 0; font:400 clamp(17px, 1.55vw, 23px)/1.48 'Jost'; color:rgba(244,244,242,.94); max-width:44ch; text-shadow:0 1px 16px rgba(14,9,5,.55); }
/* author, date, reading time: one quiet line under the standfirst */
.hero .meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 0; margin:22px 0 0; font:500 16px/1.3 'Jost'; color:rgba(244,244,242,.86); text-shadow:0 1px 14px rgba(14,9,5,.6); font-feature-settings:'tnum'; }
.hero .meta span + span::before { content:''; display:inline-block; width:1px; height:.85em; margin:0 14px; vertical-align:-.08em; background:currentColor; opacity:.5; }
/* the play button (only where a film is offered; the articles open on a picture): glass.day, a solid paper disc at t1 and t0 where there is no blur (27: the rule that a pasted comment had broken) */
.vplay { position:absolute; left:50%; top:24%; z-index:6; width:72px; height:72px; margin:-36px 0 0 -36px; border:0; border-radius:50%; display:grid; place-items:center; cursor:pointer; color:var(--ink); background:var(--glass-day-bg, rgba(255,250,242,.42)); -webkit-backdrop-filter:blur(var(--glass-day-blur, 18px)) saturate(var(--glass-day-sat, 1.3)); backdrop-filter:blur(var(--glass-day-blur, 18px)) saturate(var(--glass-day-sat, 1.3)); box-shadow:var(--shadow-card, 0 18px 42px -16px rgba(20,14,10,.38), 0 0 0 1px rgba(255,255,255,.14)); }
.t1 *, .t0 * { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; } .t1 .vplay, .t0 .vplay { background:var(--paper, #F4F4F2); }
@media (max-width: 420px) { .hero h1 { font-size:clamp(42px, 12vw, 50px); max-width:none; } .hero .line { font-size:17px; margin-top:20px; } .hero .meta { font-size:15px; margin-top:16px; } }
@media (orientation:landscape) and (max-height:520px) { .hero { min-height:380px; } .hero::after { height:12vh; } .hero .copy { bottom:calc(12vh + 10px); } .hero h1 { font-size:clamp(26px, 8vh, 44px); max-width:26ch; } .hero .line { font-size:14px; max-width:44ch; margin-top:12px; } .hd { height:56px; } }

/* 2 the paper: one reading column, Newsreader 20/32, about 66 characters */
.paper { padding:clamp(40px, 7vh, 80px) var(--gut) 0; }
.col { width:min(var(--col), 100%); margin:0 auto; font:400 20px/32px 'Newsreader', serif; }
.body { position:relative; text-wrap:pretty; hyphens:manual; }
.body > * { margin:0; }
.body > * + * { margin-top:22px; }
.body p { margin-bottom:0; }
.body h2 { margin-top:calc(22px + clamp(24px, 4vh, 40px)); font:360 clamp(30px, 3.4vw, 46px)/1.08 'Newsreader'; letter-spacing:var(--head-track, -.022em); color:var(--ink); text-wrap:balance; scroll-margin-top:32px; }   /* + the 64 px scroll padding = 96 px, as before */
.body strong { font-weight:600; }
.lead { font-size:clamp(21px, 1.9vw, 25px); line-height:1.45; display:flow-root; }
.lead::first-letter { float:left; font:380 4.3em/.78 'Newsreader'; padding:.07em .1em 0 0; margin-left:-.02em; }
.body sup { font:600 13px/0 'Jost'; font-feature-settings:'tnum'; vertical-align:baseline; position:relative; top:-.7em; margin:0 1px 0 2px; }
/* footnote numbers: a link to the reference; the padding grows the touch target to 44 px without moving the line */
.nw { white-space:nowrap; }   /* 19 Nov: a footnote number stays with the word before it (build_articles.py wraps the pair) */
.body sup a.fn { display:inline; padding:17px 19px; margin:-17px -19px; color:var(--rust); text-decoration:none; border-radius:7px; }
.body sup a.fn:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.body sup a.fn:focus-visible { outline-offset:-4px; }
/* 19 Nov (QA): two notes side by side ("watch.1 2") read as one number and the second's tap area covered the first. A comma now
   separates them, and each one's tap area stops halfway between the two */
.body sup + sup::before, .kf sup + sup::before { content:','; margin-right:1px; color:var(--rust); }
.body sup:has(+ sup) a.fn, .kf sup:has(+ sup) a.fn { padding-right:3px; margin-right:-3px; }
.body sup + sup a.fn, .kf sup + sup a.fn { padding-left:3px; margin-left:-3px; }

/* 3 the closing words, as the light goes */
.closing { padding:clamp(56px, 9vh, 110px) var(--gut) clamp(40px, 7vh, 80px); }
.closing .body > h2:first-child { margin-top:0; }
.closing h2 { margin-bottom:clamp(14px, 2.4vh, 24px); font:var(--head-weight, 350) clamp(40px, 5vw, 76px)/.98 'Newsreader'; letter-spacing:var(--head-track, -.022em); text-wrap:balance; }
.dusk { height:clamp(110px, 16vh, 180px); }   /* 19 Nov: was up to 420 px of empty gradient before the references */

/* 4 references and the next page, on the night sky */
.refs { padding:clamp(24px, 6vh, 64px) var(--gut) clamp(64px, 10vh, 120px); color:rgba(244,244,242,.86); }
.refs .col { font:400 15.5px/1.6 'Jost'; }
/* 19 Nov: the two headings on the night are sentence-case Newsreader, not tracked capitals */
.label { margin:0 0 24px; font:400 clamp(28px, 2.6vw, 36px)/1.1 'Newsreader'; letter-spacing:-.015em; color:var(--paper, #F4F4F2); text-wrap:balance; }
.refs ol { margin:0; padding:0 0 0 2.2em; display:flex; flex-direction:column; gap:10px; font-feature-settings:'tnum'; color:rgba(244,244,242,.78); }
.refs li { padding:6px 10px 6px 4px; margin:0 -10px 0 -4px; border-radius:8px; scroll-margin-top:26px; text-wrap:pretty; }
.refs li::marker { color:rgba(244,244,242,.5); }
.refs li:target { background:rgba(244,244,242,.1); box-shadow:inset 0 0 0 1px rgba(244,244,242,.28); }
.refs a { color:var(--paper, #F4F4F2); text-decoration:underline; text-decoration-color:rgba(244,244,242,.4); text-underline-offset:3px; padding:14px 3px; margin:-14px -3px; border-radius:4px; }
.refs a:hover { text-decoration-color:var(--paper, #F4F4F2); }
.refs a.back { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; width:44px; height:44px; margin:-12px 0 -12px 2px; padding:0; text-decoration:none; color:rgba(244,244,242,.6); }
.refs a.back:hover { color:var(--paper, #F4F4F2); }
.refs a.back svg { display:block; }
/* 5 the night: goadastra.io's living-light mark, AD ASTRA among the stars, the live site's links and legal line (the home's footer) */
.close { color:var(--paper, #F4F4F2); text-align:center; padding:0 var(--gut); overflow:hidden;
  background:radial-gradient(120% 60% at 50% 120%, rgba(70,48,90,.5), rgba(20,18,40,0) 60%), linear-gradient(180deg, #0b0e19 0%, #070915 40%, #0d0f22 100%); }
#nsky { position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
#v5mkStars, #nring { position:fixed; inset:0; width:100vw; height:100vh; z-index:45; pointer-events:none; opacity:0; transition:opacity .4s; }
.close .inner { position:relative; z-index:2; padding-top:clamp(70px, 12vh, 130px); }
.markw { width:clamp(120px, 10vw, 150px); height:clamp(120px, 10vw, 150px); margin:0 auto; }
#v5mkFoot { width:100%; height:100%; display:block; overflow:visible; touch-action:manipulation; filter:drop-shadow(0 0 22px rgba(255,214,160,.35)); }
.lock { position:relative; z-index:1; margin:clamp(30px, 6vh, 70px) calc(-1 * var(--gut)) 0; font:500 19.5vw/.8 'Jost'; letter-spacing:.02em; white-space:nowrap; pointer-events:none; padding-bottom:.02em;
  background:linear-gradient(180deg, rgba(255,250,240,.82) 0%, rgba(255,236,210,.42) 38%, rgba(190,170,255,.1) 78%, rgba(255,255,255,0) 100%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.foot { position:relative; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:4px 26px; flex-wrap:wrap; padding:12px clamp(0px, 2vw, 24px) 18px; font:400 13px/1.3 'Jost'; color:rgba(244,244,242,.62); text-align:left; }
.foot nav { display:flex; gap:6px 26px; letter-spacing:.16em; text-transform:uppercase; flex-wrap:wrap; }
.foot a { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-decoration:none; transition:color .3s; } .foot a:hover { color:var(--paper, #F4F4F2); }
.foot > span { letter-spacing:.16em; text-transform:uppercase; }
@media (max-width: 860px) { .foot { flex-direction:column; align-items:flex-start; } }
/* the home's two lines under the mark; they come out of the light one after the other (research.js) */
.close .big { position:relative; margin:clamp(16px, 2.6vh, 30px) auto 0; font:350 clamp(36px, 4vw, 72px)/1.02 'Newsreader'; letter-spacing:var(--head-track, -.022em); color:var(--paper, #F4F4F2); max-width:22ch; text-wrap:balance; }
.close .big + .big { margin-top:12px; }
.close .big.cr-arm { opacity:0; filter:blur(14px); transform:scale(1.04); text-shadow:0 0 28px rgba(244,244,242,.9); transition:opacity 1.4s cubic-bezier(.2,.8,.2,1), filter 1.4s cubic-bezier(.2,.8,.2,1), transform 1.4s cubic-bezier(.2,.8,.2,1), text-shadow 1.8s ease; }
.close .big.cr-arm.cr-on { opacity:1; filter:blur(0); transform:none; text-shadow:0 0 0 rgba(244,244,242,0); }

@media (prefers-reduced-motion: reduce) { .hero .copy, .hero video, .hero img { transform:none !important; } }

/* ---------- 25 Oct 2026: the editorial layer (key findings, contents, pull quotes, charts, footnotes beside the text, more research, contact) ---------- */
:root { --rust:#1d1712; --teal:#59737a; --line:rgba(29,23,18,.11); --panel:var(--lg-bg); --mgap:52px;
  --mw:min(272px, calc((100vw - var(--col)) / 2 - var(--gut) - var(--mgap) - 20px)); }

/* 19 Nov 2026 (article polish, Arthur: "premium and pertinent and current to our work"): ONE family of glass for every panel on the articles.
   Light glass = the player's light glass (D123, player.md: blur 22, saturate 1.4, bright top rim, faint edge and foot, one soft lift), with a
   neutral tint in place of the cream so it sits on the cooler sky. Dark glass = the same recipe, tinted night, for the star maps and the
   card on the night. Radii: card 24, tile 16, pill full (frame 28 stays for large media). living.css reads these too. */
:root { --lg-bg:rgba(255,255,255,.5); --lg-filter:blur(22px) saturate(1.4);
  --lg-shadow:inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(36,46,66,.09), inset 0 -1px 0 rgba(36,46,66,.07), 0 14px 34px -20px rgba(30,40,70,.32);
  --dg-bg:rgba(12,14,28,.62); --dg-filter:blur(22px) saturate(1.4);
  --dg-shadow:inset 0 1px 0 rgba(255,255,255,.26), inset 0 0 0 1px rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.3), 0 18px 40px -22px rgba(8,10,24,.6);
  --r-card:24px; --r-tile:16px; }
.kf, .toc details, .body .fig, .note { background:var(--lg-bg); -webkit-backdrop-filter:var(--lg-filter); backdrop-filter:var(--lg-filter); box-shadow:var(--lg-shadow); }

/* key findings: the article in three sentences, each with its footnotes */
.kfw { margin-bottom:clamp(28px, 5vh, 44px); }
.kf { padding:clamp(22px, 3vw, 32px) clamp(22px, 3vw, 34px) clamp(10px, 1.6vw, 16px); border-radius:var(--r-card); }
.kf h2 { margin:0 0 4px; font:400 26px/1.15 'Newsreader'; letter-spacing:-.015em; color:var(--ink); }
.kf ul { list-style:none; margin:0; padding:0; }
.kf li { padding:14px 0; font:400 19px/1.5 'Newsreader'; color:var(--ink); text-wrap:pretty; }
.kf li + li { border-top:1px solid var(--line); }
.kf sup, .fig sup, .stats sup { font:600 13px/0 'Jost'; font-feature-settings:'tnum'; vertical-align:baseline; position:relative; top:-.7em; margin:0 1px 0 2px; }
.kf sup a.fn, .fig sup a.fn, .stats sup a.fn { display:inline; padding:17px 19px; margin:-17px -19px; color:var(--rust); text-decoration:none; border-radius:7px; }
.kf sup a.fn:hover, .fig sup a.fn:hover, .stats sup a.fn:hover { color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.stats { display:grid; grid-template-columns:1fr; gap:0; margin:4px 0 12px; border-top:1px solid var(--line); }
.stats .st { display:block; margin:0; padding:14px 0; font:400 15px/1.45 'Jost'; color:var(--sub); }
.stats .st + .st { border-top:1px solid var(--line); }
.stats b { display:block; margin-bottom:6px; white-space:nowrap; font:360 34px/1 'Newsreader'; letter-spacing:-.02em; color:var(--ink); font-feature-settings:'tnum', 'lnum'; }
.stats b small { margin-right:5px; font:500 14px/1 'Jost'; letter-spacing:0; color:var(--sub); }
@media (min-width: 700px) { .stats { grid-template-columns:repeat(3, 1fr); gap:22px; } .stats .st + .st { border-top:0; } .stats b { margin-bottom:8px; } }

/* contents: a collapsible list on phones, a sticky rail beside the text from 1100 px */
.rail { width:min(var(--col), 100%); margin:0 auto; }
.toc { margin:0 0 clamp(32px, 6vh, 52px); font:400 15px/1.35 'Jost'; }
.toc details { border-radius:var(--r-card); }
.toc summary { display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:0 20px; font:600 15px/1 'Jost'; color:var(--ink); cursor:pointer; list-style:none; border-radius:var(--r-card); }
.toc summary::-webkit-details-marker { display:none; }
.toc summary svg { transition:transform .25s; } .toc details[open] summary svg { transform:rotate(180deg); }
.toc ol { list-style:none; margin:0; padding:0 8px 10px; }
.toc li a { display:flex; align-items:center; min-height:44px; padding:6px 12px; border-radius:7px; color:var(--sub); text-decoration:none; text-wrap:balance; }
.toc li a:hover { color:var(--ink); background:rgba(255,255,255,.4); }
.toc li a[aria-current] { color:var(--ink); }
.toc .tk { display:block; margin:-6px 0 6px; padding:0 12px; font:500 13px/1.3 'Jost'; color:var(--rust); }
.toc li.ours > a { color:var(--ink); }
.toc li.tref { margin-top:6px; padding-top:6px; border-top:1px solid var(--line); }
.body .for { display:block; margin-top:calc(22px + clamp(24px, 4vh, 40px)); font:600 14px/1.3 'Jost'; color:var(--rust); }
.body .for + h2 { margin-top:10px; }

/* pull quotes: a sentence of the article again, larger (hidden from screen readers, which have just read it) */
.body .pq { margin:34px 0 12px; padding:2px 0 2px 22px; border-left:2px solid var(--ink); }
.pq .pqt { display:block; font:300 clamp(25px, 2.3vw, 29px)/1.24 'Newsreader'; letter-spacing:-.012em; color:var(--ink); text-wrap:balance; }

/* charts: inline SVG; bars stretch with the column, text keeps its size */
.body .fig { margin:36px 0 10px; padding:clamp(16px, 2.4vw, 24px) clamp(16px, 2.6vw, 26px) clamp(14px, 2vw, 20px); border-radius:var(--r-card); }
.fig-t { font:600 16.5px/1.3 'Jost'; color:var(--ink); }
.fig-s { margin:4px 0 18px; font:400 15.5px/1.4 'Jost'; color:var(--sub); }
.chart { display:block; overflow:visible; }
.chart text { font-family:'Jost', sans-serif; font-size:15px; font-feature-settings:'tnum'; }
.chart .cg { font-weight:600; fill:var(--ink); }
.chart .cl { font-weight:400; fill:var(--sub); }
.chart .cv { font-weight:600; fill:var(--ink); }
.chart .zero { stroke:rgba(29,23,18,.4); stroke-width:1; }
.fig figcaption { margin-top:12px; padding-top:10px; border-top:1px solid var(--line); font:400 15px/1.45 'Jost'; color:var(--sub); }

/* the footnote note: beside the line on a wide screen, a sheet from the bottom on a phone (25): a native <dialog> (research.js), top corners 22, a grab bar in a 44 px zone, a drag of more than 120 px
   closes it and a shorter one snaps back in .35 s; the x, a tap on the scrim and Escape close it too. Card shadow: the one soft shadow plus a 1 px ring (23). */
.note { margin:0; padding:0; border:0; color:var(--ink); --lg-bg:rgba(255,255,255,.84); font:400 15.5px/1.5 'Jost'; }   /* the light glass, more opaque: it holds text to read */
.note .nh { display:flex; align-items:center; justify-content:flex-start; gap:10px; padding:4px 18px 0 6px; font:600 15px/1 'Jost'; color:var(--ink); font-feature-settings:'tnum'; }
/* the one close x: 44 px glass (the day glass, the sheet is light), a 2 px stroke on a 16 px glyph */
.note .nx { position:relative; z-index:2; width:var(--x-size, 44px); height:var(--x-size, 44px); border:0; border-radius:var(--r-pill, 999px); display:grid; place-items:center; background:var(--glass-day-bg, rgba(255,250,242,.42)); -webkit-backdrop-filter:blur(var(--glass-day-blur, 18px)) saturate(var(--glass-day-sat, 1.3)); backdrop-filter:blur(var(--glass-day-blur, 18px)) saturate(var(--glass-day-sat, 1.3)); box-shadow:inset 0 0 0 1px rgba(29,23,18,.18); color:var(--ink); cursor:pointer; }
.note .nx path { stroke-width:var(--x-stroke, 2px); }
.note .nx:hover { box-shadow:inset 0 0 0 1px rgba(29,23,18,.4); }
.note .nb { padding:2px 18px 4px; overflow-wrap:anywhere; text-wrap:pretty; }
.note .nb a { color:var(--rust); text-underline-offset:3px; }
.note .nall { display:flex; align-items:center; min-height:44px; padding:0 18px 6px; color:var(--sub); font-weight:500; text-decoration:underline; text-decoration-color:var(--line); text-underline-offset:4px; }
.note:not([open]) { display:none; }
.note.side { position:absolute; z-index:6; width:var(--mw); border-radius:var(--r-card); }
.note:modal { position:fixed; inset:auto 0 0 0; width:100%; max-width:none; max-height:70vh; overflow:auto; border-radius:var(--r-card) var(--r-card) 0 0; padding-bottom:env(safe-area-inset-bottom); --lg-bg:rgba(255,255,255,.94); }
.note .ng { display:none; }
.note:modal .ng { display:block; position:sticky; top:0; z-index:1; height:44px; margin:0 0 -44px; touch-action:none; cursor:grab; }
.note:modal .ng::after { content:""; position:absolute; left:50%; top:8px; width:40px; height:5px; margin-left:-20px; border-radius:3px; background:rgba(29,23,18,.5); }   /* the spec's rgba(255,255,255,.55) is invisible on this light sheet: ink at .5 keeps the 40x5 r3 bar at 3:1 */
.note:modal .nh { padding-top:10px; }
/* scrim.reading: softer than a film's (film: rgba(10,8,14,.66), blur 12, saturate 1.2); the article's own tint, the glass.dark blur and saturation */
.note::backdrop { background:rgba(11,14,25,.36); -webkit-backdrop-filter:blur(var(--glass-dark-blur, 8px)) saturate(var(--glass-dark-sat, 1.1)); backdrop-filter:blur(var(--glass-dark-blur, 8px)) saturate(var(--glass-dark-sat, 1.1)); }
.t1 .note::backdrop, .t0 .note::backdrop { -webkit-backdrop-filter:none; backdrop-filter:none; }
@media (prefers-reduced-motion: no-preference) { .note:modal { animation:sheet .28s cubic-bezier(.2,.8,.2,1); } .note.side { animation:rise .22s ease-out; } }
@keyframes sheet { from { transform:translateY(100%); } to { transform:none; } }
@media (prefers-contrast: more) { .note .nx { background:#000; color:#fff; box-shadow:inset 0 0 0 1px #fff; } }

/* wide: contents on the left rail; pull quotes and footnotes in the right margin */
@media (min-width: 1100px) {
  .lay { display:grid; grid-template-columns:1fr minmax(0, var(--col)) 1fr; column-gap:var(--mgap); }
  .lay > .col { width:auto; grid-column:2; }
  .kfw { grid-row:1; } .lay > .body { grid-row:2; }
  .rail { grid-column:1; grid-row:1 / span 2; width:auto; margin:0; }
  .toc { position:sticky; top:104px; width:min(236px, 100%); margin:0 0 0 auto; max-height:calc(100vh - 128px); overflow:auto; }
  .toc details { background:none; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
  .toc summary { min-height:44px; padding:0 12px 0 20px; pointer-events:none; font-size:15px; color:var(--sub); }
  .toc summary svg { display:none; }
  .toc ol { padding:0; border-left:1px solid var(--line); }
  .toc li a { min-height:44px; padding:7px 12px 7px 19px; margin-left:-1px; border-radius:0 7px 7px 0; border-left:2px solid transparent; font-size:15px; }
  .toc li a[aria-current] { border-left-color:var(--ink); background:rgba(255,255,255,.45); }
  .toc .tk { padding-left:20px; }
  .toc li.tref { border-top:0; margin-top:10px; padding-top:0; }
}
@media (min-width: 1240px) {
  .body .pq { position:absolute; left:calc(100% + var(--mgap)); width:var(--mw); margin-top:4px; padding:0; border:0; }
  .body .pq::before { content:''; display:block; width:40px; height:2px; margin-bottom:16px; background:var(--rust); }
  .pq .pqt { font-size:clamp(23px, 1.75vw, 27px); }
}

/* the end: the other two articles, then the email */
.more { width:min(1120px, 100%); margin:clamp(56px, 9vh, 96px) auto 0; padding-top:clamp(28px, 5vh, 44px); border-top:1px solid rgba(244,244,242,.14); }
.cards { display:grid; grid-template-columns:1fr; gap:18px; }

.refs a.card { display:flex; flex-direction:column; padding:0; margin:0; border-radius:var(--r-card); overflow:hidden; text-decoration:none; color:inherit; background:var(--dg-bg); -webkit-backdrop-filter:var(--dg-filter); backdrop-filter:var(--dg-filter); box-shadow:var(--dg-shadow); transition:background .3s; }
.refs a.card:hover { background:rgba(28,30,48,.66); }
.card .thumb { display:block; aspect-ratio:16/9; overflow:hidden; background:#140f2a; }
.card .thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s ease-out; }
@media (prefers-reduced-motion: no-preference) { .refs a.card:hover .thumb img { transform:scale(1.03); } }
.card .ct { display:flex; flex-direction:column; gap:8px; padding:20px 22px 22px; }
.card .ctt { font:400 clamp(24px, 2.2vw, 30px)/1.12 'Newsreader'; letter-spacing:-.015em; color:var(--paper, #F4F4F2); text-wrap:balance; }
.card .cs { font:400 15.5px/1.5 'Jost'; color:rgba(244,244,242,.78); text-wrap:pretty; }
.card .cm { margin-top:4px; font:400 15px/1.3 'Jost'; color:rgba(244,244,242,.62); font-feature-settings:'tnum'; }
/* 1 Nov: the next article as a large card, the other one as a slim row under it */
@media (min-width: 760px) {
  .cards { grid-template-columns:1fr; gap:20px; }
  .refs a.card { display:grid; grid-template-columns:minmax(200px, 32%) 1fr; }
  .refs a.card .thumb { aspect-ratio:auto; height:100%; min-height:150px; }
  .refs a.card .ct { justify-content:center; }
  .refs a.card.next { grid-template-columns:1.3fr 1fr; }
  .refs a.card.next .thumb { min-height:340px; }
  .refs a.card.next .ct { padding:clamp(24px, 3vw, 44px); }
  .card.next .ctt { font-size:clamp(30px, 3.2vw, 46px); } .card.next .cs { font-size:17px; }
}.contact { margin-top:clamp(56px, 9vh, 96px); }
.mailline { margin:0; }
.refs a.mail { display:inline-flex; align-items:center; min-height:44px; padding:0; margin:0; font:300 clamp(30px, 4.6vw, 54px)/1.1 'Newsreader'; letter-spacing:-.02em; color:var(--paper, #F4F4F2); text-decoration:underline; text-decoration-thickness:1px; text-decoration-color:rgba(244,244,242,.35); text-underline-offset:.16em; overflow-wrap:anywhere; }
.refs a.mail:hover { text-decoration-color:var(--paper, #F4F4F2); }

.xg { font-family:system-ui, -apple-system, 'Segoe UI', sans-serif; }   /* letters beyond Latin-1 in Jost text (see build_research14.py) */

/* ── 3 Nov 2026: the home's header and footer (home-v16, Arthur: "research pages still have old footer and big launch@adastra and old header",
   "text fades in differently in research articles"). Values copied from home-v16 (index.html, phone.html, css/ds-update.css). ── */
#ahd .l { text-transform:uppercase; letter-spacing:.12em; }
@media (min-width: 761px) { #ahd .res { font-size:14px; gap:6px; } }
/* 20 Nov (UI check): every footer link is a 44 px target (it was 13 px). The extra height comes out of the row's padding, so the words sit
   where they did; on a phone the wrapped rows of links touch instead of overlapping, and the line under them keeps its old distance */
.foot { gap:16px 26px; padding:10px clamp(0px, 2vw, 24px) 14px; font:400 12px/1 'Jost'; color:rgba(255,248,238,.5); }
.foot nav { gap:0 26px; }
.foot a { font-size:13px; min-height:44px; }
.foot a:hover { color:var(--paper, #F4F4F2); }
@media (max-width: 860px) { .foot { gap:0; align-items:center; text-align:center; } .foot nav { justify-content:center; gap:0 20px; } .foot > span { padding-top:2px; } }
@media (max-width: 360px) { .foot { padding-left:0; padding-right:0; } }   /* the legal line keeps to one line on the smallest phones (it needs 269 px) */
/* 20 Nov (UI check): AD ASTRA is as wide as the window (19.5vw), so above 760 px it keeps the full width (the side margins of the rule above);
   at 0 margin it overflowed its box by 31 to 53 px and the last A was cut. On a phone it is set smaller (17.2vw) and fits inside the margins */
@media (max-width: 760px) { .lock { font-size:17.2vw; margin-left:0; margin-right:0; } }
/* 20 Nov (UI check): the mark can be pressed from the keyboard too (research.js, js/site-chrome.js) */
#v5mkFoot:focus-visible { outline:var(--focus-w, 2px) solid var(--focus-on-dark, #F4F4F2); outline-offset:8px; border-radius:50%; }
/* the contact line is a link at reading size, not a display line */
.refs a.mail { font:400 17px/1.4 'Jost'; letter-spacing:.01em; text-underline-offset:3px; }

/* 26 Nov 2026 (Arthur's new close, as on the home page: "AD ASTRA / today is just the beginning / be infinite"): the ad's mix (main words Jost
   700 caps +0.04em, the joining word Newsreader italic 500 on its own line, as in "MEET YOUR favourite CHARACTERS"); the last line caps, wider */
@font-face { font-family:'Newsreader'; src:url(fonts/newsreader-italic-latin.woff) format('woff'); font-weight:200 800; font-style:italic; font-display:swap; }
/* 27 Nov: Jost 500 spaced like the home page's BE INFINITE (was 700) */
.close .big { font:500 clamp(15px, 1.5vw, 22px)/1 'Jost', system-ui, sans-serif; text-transform:uppercase; letter-spacing:.42em; padding-left:.42em; color:rgba(244,244,242,.86); max-width:none; }
/* 29 Nov (Arthur: "A is fine ... what is the cleanest look here with the logo, be infinite, and ad astra"): the motto BE INFINITE, small and wide-set, between the mark and the large AD ASTRA; it replaces "TODAY IS JUST the BEGINNING". Same rules as home-v16/css/type-sans.css */
/* 26 Nov (Arthur: "no need for Be infinite in the footer, just center vertically the today is just the beginning between logo and ad astra"): one line, the same space above and below */
.close .big { margin-top:clamp(26px, 4vh, 44px); }
.close .inner + .lock { margin-top:clamp(34px, 5.4vh, 60px); }
