/* Generated by scripts/build-marketing-site.mjs from scripts/site/. Edit those sources, then rebuild. */
/* Archivo (variable width 62-125, weight 100-900) and JetBrains Mono, both OFL,
   self-hosted so the homepage makes no third-party font requests.
   Subsets: Latin and Latin Extended (covers Croatian). */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/home/fonts/archivo-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/home/fonts/archivo-latin.woff2') format('woff2');
  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;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/home/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/assets/home/fonts/jetbrains-mono-latin.woff2') format('woff2');
  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;
}

/* Ondrelle site: the homepage's world (design 18, "The mark, in glass") for
   every other page. Two colours, night and paper; every grey on the page is
   one of them seen through the other. The :root tokens mirror
   website/assets/home/home.css, and build-marketing-site.mjs refuses to build
   when the two drift apart. */

:root {
  --night: #050505;
  --paper: #f5f5f3;
  --bg: var(--night);
  --ink: var(--paper);
  --ink-2: rgb(245 245 243 / .68);
  --ink-3: rgb(245 245 243 / .46);
  --rule: rgb(245 245 243 / .14);
  /* Control outlines: .42 keeps button edges above 3:1 against night. */
  --rule-2: rgb(245 245 243 / .42);
  --sans: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  --m: clamp(20px, 3.9vw, 56px);
  --gut: clamp(16px, 1.7vw, 24px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head: 88px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  scrollbar-color: rgb(245 245 243 / .28) var(--night); scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  caret-color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--paper); color: var(--night); }
.paper ::selection { background: var(--night); color: var(--paper); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: rgb(245 245 243 / .24); border: 3px solid var(--night); }

img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 300; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
code { font-family: var(--mono); font-size: .9em; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
[id] { scroll-margin-top: 32px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--m); top: 12px; z-index: 50;
  padding: 10px 14px; background: var(--paper); color: var(--night);
  font-weight: 600; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }
main:focus { outline: none; }

/* ---------- Type roles (as on the homepage) ---------- */

.display {
  font-size: clamp(54px, 6.7vw, 96px);
  font-weight: 760;
  font-variation-settings: "wdth" 100;
  line-height: .92;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  font-weight: 720;
  line-height: .98;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lead {
  max-width: 34em;
  color: var(--ink-2);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  text-wrap: pretty;
}
.label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Controls ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--ink); border-radius: 0;
  font-size: 14.5px; font-weight: 550; letter-spacing: -.005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn--line:hover { border-color: var(--ink); }
.btn--big { min-height: 60px; padding: 0 26px; font-size: 17px; }
.btn:disabled { cursor: wait; opacity: .55; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateY(2px); }
.btn--go:hover .icon { transform: translateX(4px); }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 500; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--rule-2);
  transition: text-decoration-color .2s var(--ease);
}
.textlink:hover { text-decoration-color: var(--ink); }
.textlink .icon { transition: transform .3s var(--ease); }
.textlink:hover .icon { transform: translateX(4px); }
.inline {
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-2); transition: text-decoration-color .2s var(--ease);
}
.inline:hover { text-decoration-color: var(--ink); }

/* Paper: the same page seen the other way round. */
.paper {
  --bg: var(--paper);
  --ink: var(--night);
  --ink-2: rgb(5 5 5 / .7);
  --ink-3: rgb(5 5 5 / .5);
  --rule: rgb(5 5 5 / .14);
  --rule-2: rgb(5 5 5 / .5);
  background: var(--bg); color: var(--ink);
  caret-color: var(--ink);
  color-scheme: light;
}

/* Page line (Features, Method, Learning principles, Contact): page-line.js
   draws two faint switchback lines on a fixed canvas behind the content. The
   page background moves from <body> to <html> so the canvas sits between. */
html:has(body.has-page-line) { background: var(--night); }
html:has(body.has-page-line) body { background: transparent; }
.page-line { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; pointer-events: none; }

/* ---------- Masthead (the homepage's, sitting on the page instead of over a hero) ---------- */

.masthead {
  position: relative; z-index: 20;
  height: var(--head);
  display: flex; align-items: center; gap: clamp(24px, 3.4vw, 56px);
  padding: 0 var(--m);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 17px; font-weight: 650;
  font-variation-settings: "wdth" 125;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
/* The mark beside the wordmark: the halo, flat, as it prints. */
.wordmark::before {
  content: ""; width: 21px; height: 21px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 10 44 44'%3E%3Cpath d='M42.9 13.2 A21.75 21.75 0 1 0 50.8 21.1 L42.5 25.9 A12.25 12.25 0 1 1 38.2 21.3 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='10 10 44 44'%3E%3Cpath d='M42.9 13.2 A21.75 21.75 0 1 0 50.8 21.1 L42.5 25.9 A12.25 12.25 0 1 1 38.2 21.3 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nav { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav a {
  color: var(--ink-2); font-size: 14.5px; text-decoration: none;
  text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: color .2s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); }
.masthead-web {
  margin-left: auto;
  color: var(--ink-2); font-size: 14.5px; text-decoration: underline;
  text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-2);
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.masthead-web:hover { color: var(--ink); text-decoration-color: var(--ink); }
.masthead-cta { margin-left: auto; }
.masthead-web + .masthead-cta { margin-left: 0; }
.menu-btn { display: none; }

@media (min-width: 1101px) { .nav .nav-web { display: none; } }
/* The menu carries Download only where the masthead button is hidden. */
.nav .nav-download { display: none; }
@media (max-width: 860px) { .nav.is-open .nav-download { display: block; } }
@media (max-width: 1100px) {
  .nav { display: none; }
  .masthead-web { display: none; }
  /* With the browser link hidden, the Download button takes the right edge. */
  .masthead-web + .masthead-cta { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    background: var(--night); color: var(--paper); border: 1px solid var(--rule-2); border-radius: 0; cursor: pointer;
    font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
  }
  .menu-btn:hover { border-color: var(--paper); }
  .nav.is-open {
    display: grid; position: fixed; inset: 0; z-index: 30; align-content: center; gap: 8px;
    padding: var(--m); background: var(--night);
  }
  .nav.is-open a { font-size: 40px; font-weight: 300; letter-spacing: -.03em; color: var(--paper); }
  .nav.is-open a[aria-current="page"] { text-decoration-color: rgb(245 245 243 / .42); }
  .masthead.menu-open .menu-btn { position: relative; z-index: 31; }
}
@media (max-width: 860px) {
  :root { --head: 72px; }
  .masthead { gap: 12px; }
  .masthead-cta { display: none; }
  .menu-btn { margin-left: auto; }
}

/* ---------- Close: the homepage's last word, on every reading page ---------- */

.close {
  padding: clamp(120px, 17vh, 210px) var(--m) clamp(90px, 12vh, 140px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px;
  border-top: 1px solid var(--rule);
}
.display--close { grid-column: 1 / span 9; }
.close-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.close-meta { color: var(--ink-2); font-size: 15px; }

/* ---------- Footer ---------- */

.footer { padding: 0 var(--m) 40px; border-top: 1px solid var(--rule); }
/* Fitted to the full width by script; this size is the no-JS fallback. */
.footer-mark {
  width: max-content;
  margin: clamp(28px, 4vw, 56px) 0 0;
  font-size: 13.4vw;
  font-weight: 800; font-variation-settings: "wdth" 125;
  line-height: .8; letter-spacing: -.02em; text-transform: uppercase;
  white-space: nowrap;
}
/* The wordmark answers the pointer: letters near it go narrow and light. */
.footer-mark .fl {
  display: inline-block;
  font-variation-settings: "wdth" 125, "wght" 800;
  transition: font-variation-settings .35s var(--ease);
}
.footer-cols {
  margin-top: clamp(48px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--gut);
}
.footer-cols nav { display: grid; gap: 10px; align-content: start; }
.footer-cols .label { margin-bottom: 6px; }
.footer-cols a { color: var(--ink-2); text-decoration: none; font-size: 15px; width: fit-content; transition: color .2s var(--ease); }
.footer-cols a:hover { color: var(--ink); }
.footer-cols a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--rule-2); }
.footer-base {
  margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  color: var(--ink-2); font-size: 13.5px;
}
.footer-base a { text-decoration: none; transition: color .2s var(--ease); }
.footer-base a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .display { font-size: clamp(46px, 12.6vw, 72px); }
  .close { grid-template-columns: minmax(0, 1fr); }
  .display--close, .close-act { grid-column: 1; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols nav { gap: 0; }
  .footer-cols a { padding-block: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn .icon, .textlink .icon { transition: none; }
  .btn:hover .icon, .textlink:hover .icon { transform: none; }
}

/* ---------- Drawings in motion (scripts/marketing-scenes.mjs) ----------
   Each drawing replays how it got to its finished picture, in a loop, while
   it is on screen; it pauses offscreen and in a hidden tab, and reduced
   motion keeps the still picture. site.js sets .is-visible and .page-hidden.
   The keyframes come from the retired Luna pages (website/luna-pages.css);
   pages.css, loaded after this, owns the colours and line weights. */
.scene * { animation-duration: var(--loop, 10s); animation-timing-function: cubic-bezier(.65, 0, .35, 1); animation-iteration-count: infinite; animation-fill-mode: backwards; animation-play-state: paused; }
[data-illustration].is-visible .scene * { animation-play-state: running; }
html.page-hidden .scene * { animation-play-state: paused; }
.scene .s-string { stroke-width: 1; animation-name: s-sway; animation-duration: var(--sd, 11s); animation-delay: var(--sdel, 0s); animation-direction: alternate; }
.scene .s-dust { fill: rgba(255,255,255,.5); stroke: none; animation-name: s-float; animation-duration: var(--dur, 8s); animation-delay: var(--del, 0s); }
@keyframes s-sway { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
@keyframes s-float { 0% { opacity: 0; transform: translate(0, 0); } 25% { opacity: .55; } 75% { opacity: .3; } 100% { opacity: 0; transform: translate(var(--dx, 0px), -36px); } }

/* Step by step: the ball hops up in real arcs (steady sideways, slowing at
   the top of each jump), squashes as it lands, bumps into the tall step, a
   smaller step slides in, and at the top it celebrates with three bounces. */
.scene--steps { --loop: 9s; }
.sc-steps-ball { transform: translateX(452px); animation-name: sc-steps-ball-x; }
.sc-steps-ball-y { transform: translateY(109px); animation-name: sc-steps-ball-y; }
.sc-steps-ball-squash { transform-box: fill-box; transform-origin: 50% 100%; animation-name: sc-steps-ball-squash; animation-timing-function: ease-in-out; }
.sc-steps-helper { animation-name: sc-steps-helper; }
.sc-steps-flag { transform-box: fill-box; transform-origin: left center; animation-name: sc-steps-flag; }
.sc-steps-bit { opacity: 0; animation-name: sc-steps-bit; }
@keyframes sc-steps-ball-x {
  0% { opacity: 0; transform: translateX(64px); }
  2%, 4% { opacity: 1; transform: translateX(64px); animation-timing-function: linear; }
  10%, 15% { transform: translateX(160px); animation-timing-function: linear; }
  21%, 25% { transform: translateX(270px); animation-timing-function: linear; }
  30% { transform: translateX(362px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
  35%, 46% { transform: translateX(305px); animation-timing-function: linear; }
  51%, 55% { transform: translateX(351px); animation-timing-function: linear; }
  61%, 90% { opacity: 1; transform: translateX(452px); }
  95%, 100% { opacity: 0; transform: translateX(452px); }
}
@keyframes sc-steps-ball-y {
  0%, 4% { transform: translateY(349px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  7% { transform: translateY(259px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  10%, 15% { transform: translateY(289px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  18% { transform: translateY(199px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  21%, 25% { transform: translateY(229px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  28% { transform: translateY(158px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  30% { transform: translateY(176px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  35%, 46% { transform: translateY(229px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  48.5% { transform: translateY(146px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  51%, 55% { transform: translateY(169px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  58% { transform: translateY(80px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  61%, 64% { transform: translateY(109px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  66.5% { transform: translateY(61px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  69%, 70.5% { transform: translateY(109px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  72.7% { transform: translateY(78px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  75%, 76.3% { transform: translateY(109px); animation-timing-function: cubic-bezier(.5, 1, .89, 1); }
  77.9% { transform: translateY(94px); animation-timing-function: cubic-bezier(.11, 0, .5, 0); }
  79.5%, 100% { transform: translateY(109px); }
}
@keyframes sc-steps-ball-squash {
  0%, 2.6% { transform: none; }
  3.6% { transform: scale(1.16, .82); }
  4.6% { transform: scale(.9, 1.12); }
  6%, 9.6% { transform: none; }
  10.2% { transform: scale(1.2, .78); }
  11.6%, 13.6% { transform: none; }
  14.6% { transform: scale(1.16, .82); }
  15.6% { transform: scale(.9, 1.12); }
  17%, 20.6% { transform: none; }
  21.2% { transform: scale(1.2, .78); }
  22.6%, 23.6% { transform: none; }
  24.6% { transform: scale(1.16, .82); }
  25.6% { transform: scale(.9, 1.12); }
  27%, 29.4% { transform: none; }
  30% { transform: scale(.8, 1.12); }
  31.4%, 34.6% { transform: none; }
  35.2% { transform: scale(1.2, .78); }
  36.6%, 44.6% { transform: none; }
  45.6% { transform: scale(1.16, .82); }
  46.6% { transform: scale(.9, 1.12); }
  48%, 50.6% { transform: none; }
  51.2% { transform: scale(1.2, .78); }
  52.6%, 53.6% { transform: none; }
  54.6% { transform: scale(1.16, .82); }
  55.6% { transform: scale(.9, 1.12); }
  57%, 60.6% { transform: none; }
  61.2% { transform: scale(1.24, .74); }
  62.6% { transform: none; }
  63.4% { transform: scale(1.14, .84); }
  64.4% { transform: scale(.88, 1.14); }
  66%, 68.6% { transform: none; }
  69.2% { transform: scale(1.18, .8); }
  70.6% { transform: scale(.94, 1.08); }
  72%, 74.6% { transform: none; }
  75.2% { transform: scale(1.12, .86); }
  76.4% { transform: scale(.97, 1.04); }
  77.4%, 79.2% { transform: none; }
  79.8% { transform: scale(1.07, .92); }
  81%, 100% { transform: none; }
}
@keyframes sc-steps-helper { 0%, 36% { opacity: 0; transform: translateY(60px); } 44%, 90% { opacity: 1; transform: none; } 96% { opacity: 0; transform: none; } 100% { opacity: 0; transform: translateY(60px); } }
@keyframes sc-steps-flag { 0%, 61% { opacity: .4; transform: none; } 64% { opacity: 1; transform: scaleX(1.22); } 68% { transform: scaleX(.88); } 72% { transform: scaleX(1.14); } 76% { transform: scaleX(.94); } 80%, 90% { opacity: 1; transform: none; } 100% { opacity: .4; transform: none; } }
@keyframes sc-steps-bit { 0%, 64% { opacity: 0; transform: translate(452px, 92px) rotate(var(--a)) translateY(-12px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 66% { opacity: 1; } 78%, 100% { opacity: 0; transform: translate(452px, 92px) rotate(var(--a)) translateY(-56px); } }

/* Connected ideas: stars light in order and join into a constellation. */
.scene--stars { --loop: 7s; }
.sc-stars-dust { opacity: .35; animation-name: sc-twinkle; animation-duration: 4s; animation-delay: calc(var(--i, 0) * -1s); }
.sc-stars-link { stroke-dasharray: 1; animation-name: sc-stars-link; animation-delay: calc(var(--d, 0s) * .7); }
.sc-stars-star { transform-box: fill-box; transform-origin: center; animation-name: sc-stars-star; animation-delay: calc(var(--d, 0s) * .7); }
.sc-stars-label { animation-name: sc-stars-label; animation-delay: calc(var(--d, 0s) * .7); }
.scene .sc-stars-star--dim { fill: rgba(255,255,255,.42); }
@keyframes sc-twinkle { 0%, 100% { opacity: .35; } 50% { opacity: .08; } }
@keyframes sc-stars-link { 0% { opacity: 1; stroke-dashoffset: 1; } 10% { stroke-dashoffset: 0; } 58% { opacity: 1; stroke-dashoffset: 0; } 68%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes sc-stars-star { 0% { opacity: 0; transform: scale(.3); } 8% { opacity: 1; transform: scale(1.25); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 14% { transform: scale(1); } 58% { opacity: 1; transform: scale(1); } 68%, 100% { opacity: 0; transform: scale(1); } }
@keyframes sc-stars-label { 0% { opacity: 0; } 10%, 58% { opacity: 1; } 68%, 100% { opacity: 0; } }

/* Pictures: a scribble straightens out into a lightbulb that lights up. */
.scene--bulb { --loop: 7s; }
.sc-bulb-glow { opacity: .14; filter: blur(26px); animation-name: sc-bulb-glow; }
.sc-bulb-scribble { opacity: 0; stroke-dasharray: 1; animation-name: sc-bulb-scribble; }
.sc-bulb-draw { stroke-dasharray: 1; animation-name: sc-bulb-draw; }
.sc-bulb-rays { transform-origin: 300px 176px; animation-name: sc-bulb-rays; }
.sc-bulb-label-early { opacity: 0; animation-name: sc-bulb-label-early; }
@keyframes sc-bulb-scribble { 0% { opacity: 1; stroke-dashoffset: 1; } 20%, 30% { opacity: 1; stroke-dashoffset: 0; } 42%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes sc-bulb-draw { 0%, 30% { opacity: 1; stroke-dashoffset: 1; } 54%, 90% { opacity: 1; stroke-dashoffset: 0; } 97%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes sc-bulb-glow { 0%, 52% { opacity: 0; } 58% { opacity: .2; } 61% { opacity: .08; } 66%, 88% { opacity: .14; } 96%, 100% { opacity: 0; } }
@keyframes sc-bulb-rays { 0%, 56% { opacity: 0; transform: scale(.86); } 66%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes sc-bulb-label-early { 0% { opacity: 0; } 8%, 30% { opacity: 1; } 40%, 100% { opacity: 0; } }

/* Voice: the laptop screen changes between typing, a microphone and a
   speaker. The static picture shows all three side by side. */
.scene--laptop { --loop: 7.5s; }
.sc-laptop-mode { transform-origin: 300px 182px; }
.sc-laptop-type { transform: translateX(-118px) scale(.5); animation-name: sc-laptop-type; }
.sc-laptop-mic { transform: scale(.5); animation-name: sc-laptop-mic; }
.sc-laptop-speak { transform: translateX(118px) scale(.5); animation-name: sc-laptop-speak; }
.sc-laptop-label--type { transform: translateX(-118px); animation-name: sc-laptop-type; }
.sc-laptop-label--mic { animation-name: sc-laptop-mic; }
.sc-laptop-label--speak { transform: translateX(118px); animation-name: sc-laptop-speak; }
.scene .sc-laptop-text { stroke-width: 6; stroke-dasharray: 1; animation-name: sc-laptop-text; }
.sc-laptop-caret { animation-name: sc-blink; animation-duration: 1s; animation-timing-function: steps(1); }
.sc-laptop-key { animation-name: sc-key; animation-duration: .7s; animation-delay: calc(var(--k, 0) * -.1s); }
.sc-laptop-pulse { animation-name: sc-pulse; animation-duration: 1.2s; animation-delay: calc(var(--k, 0) * .2s); }
@keyframes sc-laptop-type { 0% { opacity: 0; transform: none; } 5%, 29% { opacity: 1; transform: none; } 35%, 100% { opacity: 0; transform: none; } }
@keyframes sc-laptop-mic { 0%, 31% { opacity: 0; transform: none; } 38%, 62% { opacity: 1; transform: none; } 68%, 100% { opacity: 0; transform: none; } }
@keyframes sc-laptop-speak { 0%, 64% { opacity: 0; transform: none; } 71%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes sc-laptop-text { 0%, 4% { stroke-dashoffset: 1; } 26%, 100% { stroke-dashoffset: 0; } }
@keyframes sc-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes sc-key { 0%, 60%, 100% { fill: rgba(244,244,241,0); } 20% { fill: rgba(244,244,241,.9); } }
@keyframes sc-pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* Notes: a page arcs into a folder and the folder closes. */
.scene--folder { --loop: 6.5s; }
.sc-folder-page { transform: translateX(300px); animation-name: sc-folder-page-x; }
.sc-folder-page-y { transform: translateY(262px); animation-name: sc-folder-page-y; }
.sc-folder-front { transform-origin: 300px 350px; animation-name: sc-folder-front; }
.sc-folder-name { opacity: 0; animation-name: sc-folder-name; }
@keyframes sc-folder-name { 0% { opacity: 0; } 8%, 40% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes sc-folder-page-x { 0% { opacity: 0; transform: translateX(150px); } 6%, 16% { opacity: 1; transform: translateX(150px); } 50%, 88% { opacity: 1; transform: translateX(300px); } 95%, 100% { opacity: 0; transform: translateX(300px); } }
@keyframes sc-folder-page-y {
  0%, 16% { transform: translateY(96px) rotate(-14deg); animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
  28% { transform: translateY(80px) rotate(-8deg); animation-timing-function: cubic-bezier(.32, 0, .67, 0); }
  54%, 100% { transform: translateY(262px) rotate(0deg); }
}
@keyframes sc-folder-front { 0%, 54% { transform: scaleY(.6); } 64%, 88% { transform: none; } 96%, 100% { transform: scaleY(.6); } }

/* Recall: cover the notes, recall them in a thought bubble, uncover, check. */
.scene--cover { --loop: 7s; }
.sc-cover-card { opacity: 0; animation-name: sc-cover-card; }
.sc-cover-line { stroke-dasharray: 1; animation-name: sc-cover-line; animation-delay: calc(var(--k, 0) * .45s); }
.sc-cover-check { stroke-dasharray: 1; animation-name: sc-cover-check; }
@keyframes sc-cover-card { 0%, 6% { opacity: 0; transform: translateX(-30px); } 18%, 60% { opacity: 1; transform: none; } 72%, 100% { opacity: 0; transform: translateX(-30px); } }
@keyframes sc-cover-line { 0%, 22% { opacity: 1; stroke-dashoffset: 1; } 34%, 86% { opacity: 1; stroke-dashoffset: 0; } 94%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes sc-cover-check { 0%, 70% { opacity: 1; stroke-dashoffset: 1; } 80%, 88% { opacity: 1; stroke-dashoffset: 0; } 96%, 100% { opacity: 0; stroke-dashoffset: 0; } }

/* Return over time: the plant droops, is watered and grows, twice. */
.scene--plant { --loop: 8.5s; }
.sc-plant-grow { transform-origin: 180px 162px; animation-name: sc-plant-grow; }
.sc-plant-can { transform-origin: 248px 109px; animation-name: sc-plant-can; }
.sc-plant-drops { opacity: 0; animation-name: sc-plant-drops; }
.sc-plant-day--2 { animation-name: sc-plant-day-2; }
.sc-plant-day--3 { animation-name: sc-plant-day-3; }
@keyframes sc-plant-grow {
  0% { opacity: 1; transform: rotate(0deg) scale(.5); }
  7%, 15% { transform: rotate(8deg) scale(.5); }
  28%, 40% { transform: rotate(0deg) scale(.75); }
  47%, 55% { transform: rotate(8deg) scale(.75); }
  68%, 88% { opacity: 1; transform: rotate(0deg) scale(1); }
  94% { opacity: 0; transform: rotate(0deg) scale(1); }
  95% { opacity: 0; transform: rotate(0deg) scale(.5); }
  100% { opacity: 1; transform: rotate(0deg) scale(.5); }
}
@keyframes sc-plant-can {
  0%, 6% { opacity: 0; transform: translate(30px, 0) rotate(0deg); }
  12% { opacity: 1; transform: translate(0px, 0) rotate(0deg); }
  16%, 21% { opacity: 1; transform: translate(0px, 0) rotate(-28deg); }
  26% { opacity: 1; transform: translate(0px, 0) rotate(0deg); }
  32%, 45% { opacity: 0; transform: translate(30px, 0) rotate(0deg); }
  51% { opacity: 1; transform: translate(0px, 0) rotate(0deg); }
  55%, 60% { opacity: 1; transform: translate(0px, 0) rotate(-28deg); }
  65% { opacity: 1; transform: translate(0px, 0) rotate(0deg); }
  71%, 100% { opacity: 0; transform: translate(30px, 0) rotate(0deg); }
}
@keyframes sc-plant-drops { 0%, 15% { opacity: 0; transform: none; } 17% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 23% { opacity: 0; transform: translateY(22px); } 24%, 54% { opacity: 0; transform: none; } 56% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 62% { opacity: 0; transform: translateY(22px); } 63%, 100% { opacity: 0; transform: none; } }
@keyframes sc-plant-day-2 { 0%, 20% { opacity: .2; } 26%, 92% { opacity: 1; } 97%, 100% { opacity: .2; } }
@keyframes sc-plant-day-3 { 0%, 58% { opacity: .2; } 64%, 92% { opacity: 1; } 97%, 100% { opacity: .2; } }

/* Feedback: the dot drifts off the route and a dashed line reroutes it. */
.scene--reroute { --loop: 6.5s; }
.sc-reroute-dot { transform: translateX(326px); animation-name: sc-reroute-dot-x; }
.sc-reroute-dot-y { transform: translateY(80px); animation-name: sc-reroute-dot-y; }
.sc-reroute-alert { opacity: 0; transform-box: fill-box; transform-origin: center; animation-name: sc-reroute-alert; }
.sc-reroute-new { stroke-dasharray: 5 7; animation-name: sc-reroute-new; }
@keyframes sc-reroute-dot-x { 0% { opacity: 0; transform: translateX(30px); } 4% { opacity: 1; transform: translateX(30px); } 30%, 46% { transform: translateX(212px); } 76%, 90% { opacity: 1; transform: translateX(326px); } 96%, 100% { opacity: 0; transform: translateX(326px); } }
@keyframes sc-reroute-dot-y { 0%, 17% { transform: translateY(170px); } 30%, 46% { transform: translateY(184px); } 68% { transform: translateY(82px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 76%, 100% { transform: translateY(80px); } }
@keyframes sc-reroute-alert { 0%, 30% { opacity: 0; transform: scale(.6); } 35% { opacity: 1; transform: scale(1); } 39% { opacity: .35; } 43% { opacity: 1; } 50%, 100% { opacity: 0; transform: scale(1.4); } }
@keyframes sc-reroute-new { 0%, 38% { opacity: 0; stroke-dashoffset: 0; } 47%, 88% { opacity: 1; } 96%, 100% { opacity: 0; stroke-dashoffset: -48; } }

/* Method: Probe. A torch beam sweeps the shelf (the lit books are masked by
   the same beam) and settles on the empty slot. */
.scene--torch { --loop: 8s; }
.sc-torch-turn { transform: translate(300px, 378px) rotate(34deg); animation-name: sc-torch-turn; }
@keyframes sc-torch-turn { 0% { opacity: 0; transform: translate(300px, 378px) rotate(-42deg); } 6% { opacity: 1; transform: translate(300px, 378px) rotate(-36deg); } 40% { transform: translate(300px, 378px) rotate(50deg); } 50%, 88% { opacity: 1; transform: translate(300px, 378px) rotate(34deg); } 96%, 100% { opacity: 0; transform: translate(300px, 378px) rotate(34deg); } }
.scene .sc-torch-lit { stroke: #fff; fill: rgba(255,255,255,.08); }
.sc-torch-gap { stroke-dasharray: 4 5; animation-name: sc-torch-gap; }
@keyframes sc-torch-gap { 0%, 48% { opacity: 0; } 54%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
.sc-torch-known { animation-name: sc-torch-known; }
.sc-torch-here { animation-name: sc-torch-here; }
@keyframes sc-torch-known { 0%, 30% { opacity: 0; } 34%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes sc-torch-here { 0%, 54% { opacity: 0; } 58%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* Method: Plan. The route is sketched, only the stones it needs rise, and the
   ball hops across in real arcs (across and up/down on separate layers). */
.scene--stones { --loop: 9s; }
.sc-stones-ball { animation-name: sc-stones-ball; }
@keyframes sc-stones-ball { 0% { opacity: 0; } 4%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }
.sc-stones-x { transform: translateX(505px); animation-name: sc-stones-x; }
@keyframes sc-stones-x { 0% { transform: translateX(90px); } 36% { transform: translateX(90px); animation-timing-function: linear; } 42% { transform: translateX(190px); } 43.5% { transform: translateX(190px); animation-timing-function: linear; } 49.5% { transform: translateX(260px); } 51% { transform: translateX(260px); animation-timing-function: linear; } 57% { transform: translateX(330px); } 58.5% { transform: translateX(330px); animation-timing-function: linear; } 64.5% { transform: translateX(400px); } 66% { transform: translateX(400px); animation-timing-function: linear; } 72% { transform: translateX(505px); } 100% { transform: translateX(505px); } }
.sc-stones-y { transform: translateY(239px); animation-name: sc-stones-y; }
@keyframes sc-stones-y { 0% { transform: translateY(239px); } 36% { transform: translateY(239px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 39% { transform: translateY(193px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 42% { transform: translateY(243px); } 43.5% { transform: translateY(243px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 46.5% { transform: translateY(197px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 49.5% { transform: translateY(243px); } 51% { transform: translateY(243px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 54% { transform: translateY(197px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 57% { transform: translateY(243px); } 58.5% { transform: translateY(243px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 61.5% { transform: translateY(197px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 64.5% { transform: translateY(243px); } 66% { transform: translateY(243px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 69% { transform: translateY(193px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 72% { transform: translateY(239px); } 73% { transform: translateY(239px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 75.5% { transform: translateY(199px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 78% { transform: translateY(239px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 79.6% { transform: translateY(213px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 81.2% { transform: translateY(239px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 82.4% { transform: translateY(228px); animation-timing-function: cubic-bezier(.32, 0, .67, 0); } 83.6% { transform: translateY(239px); } 100% { transform: translateY(239px); } }
.sc-stones-squash { transform-box: fill-box; transform-origin: 50% 100%; animation-name: sc-stones-squash; animation-timing-function: ease-in-out; }
@keyframes sc-stones-squash { 0% { transform: none; } 41.5% { transform: none; } 42% { transform: scale(1.2, .8); } 43% { transform: scale(.94, 1.06); } 44% { transform: none; } 49% { transform: none; } 49.5% { transform: scale(1.2, .8); } 50.5% { transform: scale(.94, 1.06); } 51.5% { transform: none; } 56.5% { transform: none; } 57% { transform: scale(1.2, .8); } 58% { transform: scale(.94, 1.06); } 59% { transform: none; } 64% { transform: none; } 64.5% { transform: scale(1.2, .8); } 65.5% { transform: scale(.94, 1.06); } 66.5% { transform: none; } 71.5% { transform: none; } 72% { transform: scale(1.2, .8); } 73% { transform: scale(.94, 1.06); } 74% { transform: none; } 77.6% { transform: none; } 78% { transform: scale(1.16, .84); } 78.8% { transform: scale(.94, 1.06); } 79.6% { transform: none; } 80.8% { transform: none; } 81.2% { transform: scale(1.1, .9); } 81.9% { transform: none; } 83.3% { transform: none; } 83.6% { transform: scale(1.05, .95); } 84.2%, 100% { transform: none; } }
.sc-stones-sketch { transform-origin: 60px 0; animation-name: sc-stones-sketch; }
@keyframes sc-stones-sketch { 0%, 4% { transform: scaleX(0); } 30%, 100% { transform: none; } }
.sc-stones-route { animation-name: sc-stones-route; }
@keyframes sc-stones-route { 0%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
.sc-stones-stone { animation-timing-function: cubic-bezier(.33, 1, .68, 1); }
.sc-stones-stone--0 { animation-name: sc-stones-stone-0; }
@keyframes sc-stones-stone-0 { 0%, 14% { opacity: 0; transform: translateY(20px); } 20%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
.sc-stones-stone--1 { animation-name: sc-stones-stone-1; }
@keyframes sc-stones-stone-1 { 0%, 19% { opacity: 0; transform: translateY(20px); } 25%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
.sc-stones-stone--2 { animation-name: sc-stones-stone-2; }
@keyframes sc-stones-stone-2 { 0%, 24% { opacity: 0; transform: translateY(20px); } 30%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
.sc-stones-stone--3 { animation-name: sc-stones-stone-3; }
@keyframes sc-stones-stone-3 { 0%, 29% { opacity: 0; transform: translateY(20px); } 35%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
.sc-stones-drift { animation: sc-stones-drift 4s ease-in-out infinite alternate; }
@keyframes sc-stones-drift { from { transform: translateX(-10px); } to { transform: translateX(10px); } }
.sc-stones-flag { transform-box: fill-box; transform-origin: left center; animation-name: sc-stones-flag; }
@keyframes sc-stones-flag { 0%, 72% { opacity: .45; transform: none; } 75.5% { opacity: 1; transform: scaleX(1.24) skewY(-4deg); } 78% { transform: scaleX(.86); } 79.6% { transform: scaleX(1.14) skewY(-2deg); } 81.2% { transform: scaleX(.92); } 82.4% { transform: scaleX(1.06); } 84%, 90% { opacity: 1; transform: none; } 100% { opacity: .45; transform: none; } }
/* The landing celebration: three shrinking hops, a spark burst at the top of
   the first one, and the flag waving in time. */
.sc-stones-bit { opacity: 0; animation-name: sc-stones-bit; }
@keyframes sc-stones-bit { 0%, 74.5% { opacity: 0; transform: translate(505px, 209px) rotate(var(--a)) translateY(-12px); animation-timing-function: cubic-bezier(.33, 1, .68, 1); } 76.5% { opacity: 1; } 88%, 100% { opacity: 0; transform: translate(505px, 209px) rotate(var(--a)) translateY(-46px); } }
.sc-stones-label { animation-name: sc-stones-label; }
@keyframes sc-stones-label { 0%, 30% { opacity: 0; } 34%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }

/* Method: Teach. A guide slides down a blurry list and brings one idea into
   focus at a time, each followed by a check. */
.scene--focus { --loop: 9s; }
.scene .sc-focus-word { fill: #f4f4f1; stroke: none; font-size: 28px; font-weight: 700; }
.scene .sc-focus-blur { opacity: .4; filter: blur(4px); }
.scene .sc-focus-band rect { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.55); }
.sc-focus-band { opacity: 0; animation-name: sc-focus-band; }
@keyframes sc-focus-band { 0% { opacity: 0; transform: translateY(60px); } 6%, 22% { opacity: 1; transform: translateY(124px); } 28%, 44% { transform: translateY(204px); } 50%, 66% { opacity: 1; transform: translateY(284px); } 76%, 100% { opacity: 0; transform: translateY(360px); } }
.sc-focus-check { stroke-dasharray: 1 2; }
.sc-focus-sharp--0 { animation-name: sc-focus-sharp-0; }
@keyframes sc-focus-sharp-0 { 0%, 9% { opacity: 0; } 13%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
.sc-focus-check--0 { animation-name: sc-focus-check-0; }
@keyframes sc-focus-check-0 { 0%, 16% { stroke-dashoffset: 1; opacity: 1; } 20%, 88% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.sc-focus-sharp--1 { animation-name: sc-focus-sharp-1; }
@keyframes sc-focus-sharp-1 { 0%, 31% { opacity: 0; } 35%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
.sc-focus-check--1 { animation-name: sc-focus-check-1; }
@keyframes sc-focus-check-1 { 0%, 38% { stroke-dashoffset: 1; opacity: 1; } 42%, 88% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.sc-focus-sharp--2 { animation-name: sc-focus-sharp-2; }
@keyframes sc-focus-sharp-2 { 0%, 53% { opacity: 0; } 57%, 88% { opacity: 1; } 95%, 100% { opacity: 0; } }
.sc-focus-check--2 { animation-name: sc-focus-check-2; }
@keyframes sc-focus-check-2 { 0%, 60% { stroke-dashoffset: 1; opacity: 1; } 64%, 88% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Method: Return. The forgetting curve draws itself; the dot rides its tip
   where offset-path is supported, and each return is marked as it happens. */
.scene--curve { --loop: 10s; }
.scene .sc-curve-line { stroke-width: 2.4; stroke-dasharray: 1 2; animation-name: sc-curve-line; animation-timing-function: linear; }
@keyframes sc-curve-line { 0%, 6% { opacity: 1; stroke-dashoffset: 1; } 80% { stroke-dashoffset: 0; } 90% { opacity: 1; stroke-dashoffset: 0; } 97%, 100% { opacity: 0; stroke-dashoffset: 0; } }
.sc-curve-dot { display: none; }
@supports (offset-path: path('M0 0')) {
  .sc-curve-dot { display: inline; offset-distance: 100%; offset-rotate: 0deg; animation-name: sc-curve-dot; animation-timing-function: linear; }
  @keyframes sc-curve-dot { 0% { opacity: 0; offset-distance: 0%; } 5%, 6% { opacity: 1; offset-distance: 0%; } 80% { offset-distance: 100%; } 88% { opacity: 1; offset-distance: 100%; } 93%, 100% { opacity: 0; offset-distance: 100%; } }
}
.sc-curve-visit--0 { animation-name: sc-curve-visit-0; }
@keyframes sc-curve-visit-0 { 0%, 21% { opacity: 0; } 24%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.sc-curve-visit--1 { animation-name: sc-curve-visit-1; }
@keyframes sc-curve-visit-1 { 0%, 45.5% { opacity: 0; } 48.5%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }
.sc-curve-visit--2 { animation-name: sc-curve-visit-2; }
@keyframes sc-curve-visit-2 { 0%, 68% { opacity: 0; } 71%, 90% { opacity: 1; } 97%, 100% { opacity: 0; } }

@media (max-width: 680px) {
}
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } }

/* ---------- Roadmap: one picture metaphor per stage ----------
   Ported from website/luna-pages.css (the Luna roadmap), like the rest of
   this file; the page layout rules stay behind. */

/* Available for testing: the plane rides the flight path where offset-path
   is supported and the trail draws behind it; puffs mark the landing. */
.scene--flight { --loop: 11s; }
.scene .sc-flight-trail { stroke-dasharray: 1 2; animation-name: sc-flight-trail; animation-timing-function: cubic-bezier(.55, 0, .35, 1); }
.sc-flight-cloud { animation-name: sc-flight-cloud; animation-duration: var(--cd, 14s); animation-direction: alternate; animation-timing-function: ease-in-out; }
@keyframes sc-flight-cloud { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@keyframes sc-flight-trail { 0%, 5% { opacity: 1; stroke-dashoffset: 1; } 74% { stroke-dashoffset: 0; } 90% { opacity: 1; stroke-dashoffset: 0; } 97%, 100% { opacity: 0; stroke-dashoffset: 0; } }
.sc-flight-plane { display: none; }
@supports (offset-path: path('M0 0')) {
  .sc-flight-plane { display: inline; offset-distance: 100%; offset-rotate: auto; animation-name: sc-flight-plane; animation-timing-function: cubic-bezier(.55, 0, .35, 1); }
  @keyframes sc-flight-plane { 0% { opacity: 0; offset-distance: 0%; } 5% { opacity: 1; offset-distance: 0%; } 74% { offset-distance: 100%; } 90% { opacity: 1; offset-distance: 100%; } 97%, 100% { opacity: 0; offset-distance: 100%; } }
}
.sc-flight-puff { animation-name: sc-flight-puff; }
@keyframes sc-flight-puff { 0%, 70% { opacity: 0; transform: translateY(4px); } 76%, 88% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* Free beta: the door swings open on its hinge, light spills out, and the
   queue walks in, nearest first. */
.scene--door { --loop: 10s; }
.sc-door-leaf { transform-box: view-box; transform-origin: 380px 235px; transform: scaleX(.3); animation-name: sc-door-leaf; }
@keyframes sc-door-leaf { 0%, 8% { transform: scaleX(1); } 22%, 86% { transform: scaleX(.3); } 95%, 100% { transform: scaleX(1); } }
.sc-door-light { animation-name: sc-door-light; }
@keyframes sc-door-light { 0%, 8% { opacity: 0; } 22%, 86% { opacity: 1; } 95%, 100% { opacity: 0; } }
.sc-door-walker--0 { animation-name: sc-door-walk-0; }
@keyframes sc-door-walk-0 { 0%, 26% { opacity: 1; transform: none; } 40% { opacity: 1; } 46%, 88% { opacity: 0; transform: translateX(150px); } 89% { opacity: 0; transform: none; } 98%, 100% { opacity: 1; transform: none; } }
.sc-door-walker--1 { animation-name: sc-door-walk-1; }
@keyframes sc-door-walk-1 { 0%, 32% { opacity: 1; transform: none; } 52% { opacity: 1; } 58%, 88% { opacity: 0; transform: translateX(230px); } 89% { opacity: 0; transform: none; } 98%, 100% { opacity: 1; transform: none; } }
.sc-door-walker--2 { animation-name: sc-door-walk-2; }
@keyframes sc-door-walk-2 { 0%, 38% { opacity: 1; transform: none; } 64% { opacity: 1; } 70%, 88% { opacity: 0; transform: translateX(310px); } 89% { opacity: 0; transform: none; } 98%, 100% { opacity: 1; transform: none; } }

/* Planned: the centre line streams toward the horizon and the signposts rise
   one by one, the farthest first. Signs are white plates with dark type. */
.scene--road { --loop: 11s; }
.scene .sc-road-text { fill: #050505; stroke: none; font-weight: 700; letter-spacing: -.01em; }
.scene .sc-road-dash { animation-name: sc-road-dash; animation-duration: 1.6s; animation-timing-function: linear; }
@keyframes sc-road-dash { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 34; } }
.sc-road-sign { transform-box: fill-box; transform-origin: 50% 100%; }
.sc-road-sign--0 { animation-name: sc-road-sign-0; }
@keyframes sc-road-sign-0 { 0%, 8% { opacity: 0; transform: scaleY(0); } 16%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.sc-road-sign--1 { animation-name: sc-road-sign-1; }
@keyframes sc-road-sign-1 { 0%, 22% { opacity: 0; transform: scaleY(0); } 30%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.sc-road-sign--2 { animation-name: sc-road-sign-2; }
@keyframes sc-road-sign-2 { 0%, 36% { opacity: 0; transform: scaleY(0); } 44%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }

/* Exploring: three rough ideas are sketched on grid paper in turn, each then
   named; the stopwatch hand creeps round once it is drawn. */
.scene--sketch { --loop: 11s; }
.scene .sc-sketch-grid { fill: rgba(255,255,255,.16); stroke: none; }
.scene .sc-sketch-draw > * { stroke-dasharray: 1 2; }
.sc-sketch-draw--0 > * { animation-name: sc-sketch-draw-0; }
@keyframes sc-sketch-draw-0 { 0%, 4% { opacity: 1; stroke-dashoffset: 1; } 20%, 88% { opacity: 1; stroke-dashoffset: 0; } 96%, 100% { opacity: 0; stroke-dashoffset: 0; } }
.sc-sketch-draw--1 > *, path.sc-sketch-draw--1 { animation-name: sc-sketch-draw-1; }
@keyframes sc-sketch-draw-1 { 0%, 22% { opacity: 1; stroke-dashoffset: 1; } 38%, 88% { opacity: 1; stroke-dashoffset: 0; } 96%, 100% { opacity: 0; stroke-dashoffset: 0; } }
path.sc-sketch-draw--1 { stroke-dasharray: 2 5; animation-name: sc-sketch-link; }
@keyframes sc-sketch-link { 0%, 34% { opacity: 0; } 40%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.sc-sketch-draw--2 > * { animation-name: sc-sketch-draw-2; }
@keyframes sc-sketch-draw-2 { 0%, 40% { opacity: 1; stroke-dashoffset: 1; } 56%, 88% { opacity: 1; stroke-dashoffset: 0; } 96%, 100% { opacity: 0; stroke-dashoffset: 0; } }
.sc-sketch-hand { transform-box: view-box; transform-origin: 452px 220px; transform: rotate(60deg); animation-name: sc-sketch-hand; }
@keyframes sc-sketch-hand { 0%, 54% { opacity: 0; transform: rotate(0deg); } 58% { opacity: 1; transform: rotate(0deg); } 88% { opacity: 1; transform: rotate(60deg); } 96%, 100% { opacity: 0; transform: rotate(60deg); } }
.sc-sketch-name--0 { animation-name: sc-sketch-name-0; }
@keyframes sc-sketch-name-0 { 0%, 18% { opacity: 0; } 23%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.sc-sketch-name--1 { animation-name: sc-sketch-name-1; }
@keyframes sc-sketch-name-1 { 0%, 36% { opacity: 0; } 41%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.sc-sketch-name--2 { animation-name: sc-sketch-name-2; }
@keyframes sc-sketch-name-2 { 0%, 54% { opacity: 0; } 59%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sc-door-leaf { transform: scaleX(.3) !important; } .sc-sketch-hand { transform: rotate(60deg) !important; } }

/* ---------- Inner pages ----------
   Everything sits on the homepage's 12-column grid inside the same margins,
   and every band starts with one quiet rule. Components come from the
   homepage: plan rows (chapters), the ledger (definition rows), the FAQ,
   the file frame, the paper band and the close. */

.grid12 {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
}

/* Links written into running text. */
main :is(p, li, dd) a:not([class]) {
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-2); transition: text-decoration-color .2s var(--ease);
}
main :is(p, li, dd) a:not([class]):hover { text-decoration-color: var(--ink); }
main strong { font-weight: 600; color: var(--ink); }

/* ---------- Page head ---------- */

.page-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 32px;
  align-items: end;
  padding: clamp(40px, 9vh, 112px) var(--m) clamp(72px, 11vh, 136px);
}
.page-title { grid-column: 1 / span 8; }
.page-side { grid-column: 9 / -1; display: grid; gap: 22px; justify-items: start; padding-bottom: .35em; }
.page-side .lead { max-width: 30em; }
/* Dates and facts under a lede: mono for the figures, but in sentence case. */
.page-meta, .download-meta { color: var(--ink-2); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .01em; }

/* A band of the page: one rule above, the margins at the sides. */
.band { padding: clamp(96px, 13vh, 160px) var(--m); border-top: 1px solid var(--rule); }
.band--flush { padding-bottom: 0; }
.band-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 24px;
  align-items: end; padding-bottom: clamp(40px, 6vh, 64px);
}
.band-head .h2 { grid-column: 1 / span 7; }
.band-head .lead { grid-column: 9 / -1; }
.quiet { color: var(--ink-2); font-size: 15.5px; max-width: 46em; }
.quiet + .quiet { margin-top: 10px; }
.link-row { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: clamp(40px, 6vh, 64px) var(--m) 0; }

/* ---------- Chapters: one idea per ruled row ---------- */

.chapters { padding-inline: var(--m); }
.chapter {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 32px;
  align-items: start;
  padding-block: clamp(56px, 9vh, 112px);
  border-top: 1px solid var(--rule);
}
/* The words lead on the left; the drawing sits to their right. */
.chapter-copy { grid-column: 1 / span 5; padding-top: .2em; }
.chapter-art { grid-column: 7 / -1; justify-self: end; width: 100%; max-width: 620px; }
.chapter--keyed .chapter-key { grid-column: 1 / span 2; }
.chapter--keyed .chapter-copy { grid-column: 3 / span 4; }
.chapter--keyed .chapter-art { grid-column: 8 / -1; }
.chapter-title {
  font-size: clamp(30px, 3.1vw, 48px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em;
  text-wrap: balance;
}
.chapter-copy p { margin-top: 24px; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 30em; text-wrap: pretty; }
.chapter-copy .textlink { margin-top: 28px; }
/* The row key, as in the homepage plan: a name with its place under it. */
.chapter-key {
  display: grid; gap: 12px; justify-items: start; padding-top: .45em;
  font-size: 16px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
}
.chapter-n {
  display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 5px;
  border: 1px solid var(--ink);
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0;
}

/* ---------- Drawings (scripts/marketing-scenes.mjs) ----------
   Shown as the finished picture: one line weight, paper on night, labels in
   mono. They hold still; the heading and sentence beside them carry the
   meaning, so they stay hidden from assistive technology. */

.scene {
  display: block; width: 100%; height: auto; overflow: visible;
  fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.scene .s-string, .scene .s-dust { display: none; }
.scene .s-dim { stroke: var(--rule-2); }
.scene .s-soft { stroke: var(--ink-2); }
.scene .s-dot { fill: var(--ink); stroke: none; }
.scene .s-mask { fill: var(--bg); }
.scene .s-label {
  fill: var(--ink-2); stroke: none;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.scene .s-leader { stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 3; }
.scene .sc-stars-star--dim { fill: var(--ink-3); }
.scene .sc-torch-lit { stroke: var(--ink); fill: rgb(245 245 243 / .08); }
.scene .sc-focus-word { fill: var(--ink); stroke: none; font-size: 28px; font-weight: 700; }
.scene .sc-focus-blur { opacity: .4; filter: blur(4px); }
.scene .sc-focus-band rect { fill: rgb(245 245 243 / .05); stroke: var(--ink-2); }
.scene .sc-laptop-text { stroke-width: 6; stroke-dasharray: 1; }
.scene .sc-curve-line { stroke-width: 2.4; stroke-dasharray: 1 2; }
.sc-focus-check { stroke-dasharray: 1 2; }
.sc-curve-dot, .sc-stars-dust { display: none; }
/* The finished positions of the parts the old animation moved. */
.sc-steps-ball { transform: translateX(452px); }
.sc-steps-ball-y { transform: translateY(109px); }
.sc-steps-bit, .sc-bulb-scribble, .sc-bulb-label-early, .sc-folder-name, .sc-cover-card,
.sc-plant-drops, .sc-reroute-alert, .sc-stones-bit, .sc-focus-band { opacity: 0; }
.sc-stars-link, .sc-bulb-draw, .sc-cover-line, .sc-cover-check { stroke-dasharray: 1; }
/* No glows or fades: light is a flat tint, and fog is simply left out. */
.sc-bulb-glow, .scene [fill="url(#sc-road-fog)"] { display: none; }
.scene [fill="url(#sc-torch-beam)"], .scene [fill="url(#sc-door-glow)"] { fill: rgb(245 245 243 / .1); }
.sc-laptop-type { transform: translateX(-118px) scale(.5); }
.sc-laptop-mic { transform: scale(.5); }
.sc-laptop-speak { transform: translateX(118px) scale(.5); }
.sc-laptop-label--type { transform: translateX(-118px); }
.sc-laptop-label--speak { transform: translateX(118px); }
.sc-folder-page { transform: translateX(300px); }
.sc-folder-page-y { transform: translateY(262px); }
.sc-reroute-dot { transform: translateX(326px); }
.sc-reroute-dot-y { transform: translateY(80px); }
.sc-reroute-new { stroke-dasharray: 5 7; }
.sc-torch-turn { transform: translate(300px, 378px) rotate(34deg); }
.sc-torch-gap { stroke-dasharray: 4 5; }
.sc-stones-x { transform: translateX(505px); }
.sc-stones-y { transform: translateY(239px); }
.sc-laptop-mode { transform-origin: 300px 182px; }
.sc-road-sign rect { rx: 0; ry: 0; }

/* ---------- Rows: a heading and its text ---------- */

.rows { padding-inline: var(--m); }
.row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 24px;
  align-items: start;
  padding-block: clamp(44px, 6.5vh, 72px);
  border-top: 1px solid var(--rule);
}
.row-title {
  grid-column: 1 / span 4;
  font-size: clamp(24px, 2.1vw, 32px); font-weight: 650; line-height: 1.1; letter-spacing: -.028em;
  text-wrap: balance;
}
.row-body { grid-column: 5 / span 7; display: grid; gap: 18px; justify-items: start; }
.row-body > p, .row-body li { color: var(--ink-2); font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.65; max-width: 38em; text-wrap: pretty; }
.row--art .row-body { grid-column: 5 / span 4; }
.row-art { grid-column: 9 / -1; justify-self: end; width: 100%; max-width: 360px; }
.source-list { display: grid; width: 100%; }
.source-list li { padding-block: 14px; border-top: 1px solid var(--rule); }
.source-list li:last-child { border-bottom: 1px solid var(--rule); }
.source-list a { color: var(--ink); font-weight: 550; }

/* ---------- Ledger: definition rows ---------- */

.ledger { width: 100%; }
.ledger > div {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 6px;
  padding-block: 20px; border-top: 1px solid var(--rule);
  font-size: clamp(16px, 1.2vw, 18px);
}
.ledger > div:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { grid-column: 1 / span 4; font-weight: 600; }
.ledger dd { grid-column: 5 / -1; color: var(--ink-2); max-width: 40em; }

/* ---------- Method foot ---------- */

.phase-foot {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 56px;
  padding: clamp(80px, 11vh, 140px) var(--m) 0; border-top: 1px solid var(--rule);
}
.phase-origin { grid-column: 1 / span 5; display: grid; gap: 20px; justify-items: start; align-content: start; }
.phase-origin p { color: var(--ink-2); font-size: clamp(17px, 1.25vw, 18.5px); max-width: 32em; }
.update-teaser {
  grid-column: 7 / -1; align-self: start;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 24px;
  padding-top: 22px; border-top: 1px solid var(--ink);
  text-decoration: none;
}
.update-teaser-title { font-size: clamp(24px, 2.1vw, 32px); font-weight: 650; line-height: 1.1; letter-spacing: -.028em; }
.update-teaser-meta { grid-column: 1; color: var(--ink-2); font-size: 15.5px; }
.update-teaser-action {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--rule-2);
  transition: text-decoration-color .2s var(--ease);
}
.update-teaser:hover .update-teaser-action { text-decoration-color: var(--ink); }
.update-teaser .icon { transition: transform .3s var(--ease); }
.update-teaser:hover .icon { transform: translateX(4px); }

/* ---------- The book ---------- */

.book {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px;
  align-items: start;
  padding: clamp(72px, 10vh, 120px) var(--m); border-top: 1px solid var(--rule);
}
.book-cover { grid-column: 1 / span 5; margin: 0; position: sticky; top: 32px; }
.book-cover img { width: 100%; height: auto; outline: 1px solid var(--rule-2); outline-offset: 0; }
.book-copy { grid-column: 7 / -1; display: grid; gap: 26px; justify-items: start; }
.book-copy > p:not([class]) { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 34em; }
.book-facts { display: grid; width: 100%; }
.book-facts li { padding-block: 16px; border-top: 1px solid var(--rule); color: var(--ink-2); line-height: 1.55; }
.book-facts li:last-child { border-bottom: 1px solid var(--rule); }
.book-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.book-note { color: var(--ink-2); font-size: 15px; max-width: 34em; }

/* ---------- What's new ---------- */

.release {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px;
  align-items: start;
  margin-inline: var(--m); padding-block: clamp(56px, 8vh, 96px);
  border-top: 1px solid var(--rule);
}
.release--latest { border-top-color: var(--ink); }
.release-key { grid-column: 1 / span 4; display: grid; gap: 14px; justify-items: start; }
.release-key .btn { margin-top: 12px; }
.release > .update-list { grid-column: 5 / -1; }
.release-version {
  font-size: clamp(44px, 5vw, 76px); font-weight: 760; line-height: .95; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.release-title { font-size: clamp(25px, 2.2vw, 34px); font-weight: 650; line-height: 1.06; letter-spacing: -.03em; }
.release-meta, .release-note { color: var(--ink-2); font-size: 15.5px; max-width: 26em; }
.release-flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase;
}
.release-flag::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--ink); }
.update-pre { color: var(--ink-2); font-size: 15px; letter-spacing: -.01em; margin-left: .06em; }
.release-version .update-pre { font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -.02em; }
.update-list { display: grid; }
.update-list li {
  padding-block: 14px; border-top: 1px solid var(--rule);
  color: var(--ink-2); font-size: 17px; line-height: 1.6; text-wrap: pretty;
}
.update-list li:last-child { border-bottom: 1px solid var(--rule); }
.update-list code { color: var(--ink); }
.update-history { margin-inline: var(--m); padding-top: clamp(56px, 8vh, 96px); border-top: 1px solid var(--rule); }
.update-section-title { font-size: clamp(25px, 2.2vw, 34px); font-weight: 650; line-height: 1.06; letter-spacing: -.03em; }
.update-timeline { margin-top: clamp(28px, 4vh, 44px); }
.update {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 14px;
  align-items: start; padding-bottom: clamp(36px, 5vh, 56px);
}
.update-meta { grid-column: 1 / span 4; position: sticky; top: 24px; display: grid; gap: 4px; padding-top: 12px; }
.update-node { display: none; }
.update > .update-list { grid-column: 5 / -1; }
.update-version { font-size: clamp(22px, 1.9vw, 28px); font-weight: 650; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.update-version a { text-decoration: none; }
.update-version a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.update-version--large { font-size: clamp(44px, 5vw, 76px); font-weight: 760; line-height: .95; letter-spacing: -.04em; }
.update-date { color: var(--ink-2); font-size: 15px; }
.update-archive { margin: clamp(40px, 6vh, 64px) var(--m) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.update-archive > summary {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center;
  padding-block: clamp(24px, 3.2vh, 32px); cursor: pointer; list-style: none;
}
.update-archive > summary::-webkit-details-marker { display: none; }
.update-archive > summary > span:first-child { grid-column: 1 / span 4; font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.016em; }
.update-archive-range { grid-column: 5 / span 7; color: var(--ink-2); font-family: var(--mono); font-size: 13px; letter-spacing: .04em; }
.update-archive .faq-icon { grid-column: 12; }
.update-archive[open] .faq-icon { transform: rotate(45deg); }
.update-archive .update-timeline { margin-top: 8px; }

/* ---------- Download ---------- */

.download-panel {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 36px;
  align-items: end;
  margin-inline: var(--m); padding-block: clamp(48px, 7vh, 80px);
  border-top: 1px solid var(--ink);
}
.download-what { grid-column: 1 / span 6; display: grid; gap: 14px; }
.download-spec { font-size: clamp(17px, 1.3vw, 19px); }
.download-act { grid-column: 8 / -1; display: grid; gap: 16px; justify-items: start; }
.download-note { color: var(--ink-2); font-size: 15px; max-width: 30em; }
.hash { display: grid; gap: 8px; width: 100%; }
.hash code {
  display: block; padding: 14px 16px; border: 1px solid var(--rule-2); color: var(--ink);
  font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; font-variant-numeric: tabular-nums;
}
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px;
  counter-reset: step;
}
.steps li { position: relative; display: grid; gap: 16px; align-content: start; padding-right: clamp(0px, 2vw, 32px); counter-increment: step; }
.steps li::before {
  content: counter(step); position: relative; z-index: 1; justify-self: start;
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid var(--ink); background: var(--bg);
  font-family: var(--mono); font-size: 12px; font-weight: 600;
}
.steps li::after { content: ""; position: absolute; left: 30px; right: 0; top: 15px; height: 1px; background: var(--rule-2); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 650; line-height: 1.1; letter-spacing: -.03em; }
.steps p { color: var(--ink-2); max-width: 26em; line-height: 1.6; }
.steps + .quiet { margin-top: clamp(40px, 6vh, 64px); }
.band .ledger + .quiet { margin-top: 24px; }

/* ---------- Support ---------- */

.task-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gut); border-top: 1px solid var(--ink); }
.task {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  min-height: 100%; padding-block: 28px; border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.task-title { font-size: clamp(22px, 2vw, 28px); font-weight: 650; line-height: 1.1; letter-spacing: -.025em; }
.task-text { grid-column: 1; color: var(--ink-2); font-size: 16px; max-width: 30em; }
.task .icon { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; transition: transform .3s var(--ease); }
.task:hover .icon { transform: translateX(4px); }
.task:hover .task-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- Questions (the homepage FAQ) ---------- */

.faq { padding: clamp(100px, 13vh, 160px) var(--m); border-top: 1px solid var(--rule); }
/* The heading and its side note start on the same line: the side notes here
   run longer than the homepage's one-line note. */
.faq-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 20px;
  align-items: start; padding-bottom: clamp(36px, 5vh, 56px); border-bottom: 1px solid var(--ink);
}
.faq-head .h2 { margin-top: -.08em; }
.faq-head .h2 { grid-column: 1 / span 7; }
.faq-side { grid-column: 9 / -1; display: grid; gap: 14px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.faq-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.faq-links a { color: var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: center;
  padding-block: clamp(24px, 3.2vh, 32px); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-q {
  grid-column: 1 / span 10;
  font-size: clamp(22px, 2.3vw, 34px); font-weight: 600; line-height: 1.15; letter-spacing: -.016em;
}
.faq-icon {
  grid-column: 12; justify-self: end; width: 20px; height: 20px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 20px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 20px no-repeat;
  transition: transform .45s var(--ease);
}
.faq summary:hover .faq-icon, .update-archive > summary:hover .faq-icon { transform: rotate(90deg); }
.faq details[open] .faq-icon, .update-archive[open] > summary .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  padding-bottom: clamp(28px, 3.8vh, 40px);
}
.faq-a p { grid-column: 1 / span 7; color: var(--ink-2); font-size: 18px; line-height: 1.6; max-width: 38em; }
@supports (interpolate-size: allow-keywords) {
  .faq, .update-archive { interpolate-size: allow-keywords; }
  .faq details::details-content, .update-archive::details-content {
    block-size: 0; overflow-y: clip;
    transition: block-size .5s var(--ease), content-visibility .5s allow-discrete;
  }
  .faq details[open]::details-content, .update-archive[open]::details-content { block-size: auto; }
}

/* ---------- Contact ---------- */

.contact { padding: clamp(72px, 10vh, 120px) var(--m) 0; border-top: 1px solid var(--rule); }
.contact-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 14px; align-items: end;
}
.contact-head .h3 { grid-column: 1 / span 6; }
.contact-reply { grid-column: 9 / -1; color: var(--ink-2); font-size: 16px; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-block: clamp(36px, 6vh, 64px); }
.contact-address {
  display: inline-flex; align-items: center; gap: .28em;
  font-size: clamp(28px, 4.6vw, 68px); font-weight: 720; line-height: 1.05; letter-spacing: -.035em;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .16em; text-decoration-color: var(--rule-2);
  overflow-wrap: anywhere; transition: text-decoration-color .2s var(--ease);
}
.contact-address:hover { text-decoration-color: var(--ink); }
.contact-address .icon { width: .62em; height: .62em; transition: transform .3s var(--ease); }
.contact-address:hover .icon { transform: translateX(6px); }
.contact-copy[data-copied] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Pricing keeps its earlier look: scripts/site/pricing.css. */

.tick { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.tick path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Legal: the reading happens on paper ---------- */

.legal { padding: clamp(24px, 4vh, 48px) var(--m) clamp(96px, 13vh, 160px); }
.legal-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 16px;
  align-items: start;
  padding-block: clamp(36px, 5vh, 56px);
  border-top: 1px solid var(--rule);
}
.legal-row:first-child { border-top: 0; }
.legal-row > h2 {
  grid-column: 1 / span 4; position: sticky; top: 24px;
  font-size: clamp(21px, 1.8vw, 26px); font-weight: 650; line-height: 1.15; letter-spacing: -.02em;
  text-wrap: balance;
}
.legal-body { grid-column: 5 / span 7; display: grid; gap: 16px; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 17px; line-height: 1.7; max-width: 40em; text-wrap: pretty; }
.legal-body ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: square; }
.legal-body li::marker { color: var(--ink); }
.legal-body code { color: var(--ink); }

/* ---------- Not found ---------- */

.notfound {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 40px;
  align-items: end;
  padding: clamp(40px, 9vh, 112px) var(--m) clamp(96px, 14vh, 180px);
}
.notfound-code {
  grid-column: 1 / span 7;
  font-size: clamp(120px, 22vw, 340px); font-weight: 800; font-variation-settings: "wdth" 125;
  line-height: .78; letter-spacing: -.03em;
}
.notfound-copy { grid-column: 9 / -1; display: grid; gap: 22px; justify-items: start; padding-bottom: .4em; }
.notfound-copy .lead { max-width: 26em; }

/* ---------- Narrower screens ---------- */

@media (max-width: 1100px) {
  /* Without the key column, the key reads as a meta line under the heading,
     never as a label above it. */
  /* A last 1fr row takes the drawing's extra height, so the heading, its key
     and the sentence keep their own tight rhythm beside it. */
  .chapter--keyed { row-gap: 0; grid-template-rows: auto auto auto 1fr; }
  .chapter--keyed .chapter-copy { display: contents; }
  .chapter--keyed .chapter-title { grid-column: 1 / span 6; grid-row: 1; padding-top: .2em; }
  .chapter--keyed .chapter-key {
    grid-column: 1 / span 6; grid-row: 2; display: flex; align-items: center; gap: 10px;
    margin-top: 16px; padding-top: 0; color: var(--ink-2); font-size: 15px; font-weight: 500;
  }
  .chapter--keyed .chapter-copy > p { grid-column: 1 / span 6; grid-row: 3; }
  .chapter--keyed .chapter-art { grid-column: 7 / -1; grid-row: 1 / span 4; }
  .chapter--keyed .chapter-key { margin-top: 14px; }
  .chapter--keyed .chapter-copy > p { margin-top: 20px; }
  .chapter-art { grid-column: 7 / -1; }
  .chapter-copy { grid-column: 1 / span 6; }
  .row--art .row-body { grid-column: 5 / -1; }
  .row-art { grid-column: 5 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  .page-head, .band-head, .chapter, .row, .ledger > div, .phase-foot, .book, .release, .update,
  .download-panel, .faq-head, .faq-a, .contact-head, .legal-row, .notfound {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-head > *, .band-head > *, .chapter > *, .row > *, .ledger > div > *, .phase-foot > *, .book > *,
  .release > *, .update > *, .download-panel > *, .faq-head > *, .faq-a > *, .contact-head > *,
  .legal-row > *, .notfound > * {
    grid-column: 1 !important;
  }
  .page-head { row-gap: 24px; padding-top: 28px; padding-bottom: 64px; }
  .page-side { padding-bottom: 0; }
  /* Narrow screens set their own line breaks; balanced wrapping does the rest. */
  .page-title br, .chapter-title br { display: none; }
  .chapter { row-gap: 28px; padding-block: 52px; }
  .chapter-art { justify-self: start; }
  /* One column: the words first, then the drawing. */
  .chapter:not(.chapter--keyed) > *, .row--art > * { grid-row: auto !important; }
  .chapter--keyed { row-gap: 0; grid-template-rows: none; }
  .chapter--keyed .chapter-title, .chapter--keyed .chapter-key, .chapter--keyed .chapter-copy > p { grid-column: 1; }
  .chapter--keyed .chapter-key { margin-top: 12px; }
  .chapter--keyed .chapter-copy > p { margin-top: 18px; }
  .chapter--keyed .chapter-art { grid-row: 4; margin-top: 32px; }
  /* The drawings scale down with the screen, so their labels scale up to stay readable. */
  .chapter-art .scene .s-label { font-size: 20px; }
  .row { row-gap: 16px; padding-block: 40px; }
  .row-art { max-width: 300px; }
  .row-art .scene .s-label { font-size: 15px; }
  .ledger > div { row-gap: 4px; padding-block: 16px; }
  .book-cover { position: static; max-width: 420px; }
  .release-key { gap: 10px; }
  .update-meta { position: static; padding-top: 0; }
  .update { row-gap: 8px; }
  .update-archive > summary { grid-template-columns: minmax(0, 1fr) 20px; column-gap: 20px; row-gap: 4px; }
  .update-archive > summary > span:first-child, .update-archive-range { grid-column: 1; }
  .update-archive .faq-icon { grid-column: 2; grid-row: 1 / span 2; }
  .download-act { justify-items: stretch; }
  .download-act .textlink { justify-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .steps li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; row-gap: 8px; padding-right: 0; }
  .steps li::before { grid-row: 1 / span 2; }
  .steps li::after { left: 15px; top: 30px; bottom: -28px; right: auto; width: 1px; height: auto; }
  .steps h3, .steps p { grid-column: 2; }
  .task-list { grid-template-columns: minmax(0, 1fr); }
  .faq summary { grid-template-columns: minmax(0, 1fr) 20px; column-gap: 20px; }
  .faq-q { grid-column: 1; }
  .faq-icon { grid-column: 2; }
  .faq-a p { font-size: 16.5px; }
  .contact-row { flex-direction: column; align-items: flex-start; }
  .legal-row { row-gap: 14px; padding-block: 32px; }
  .legal-row > h2 { position: static; }
  .legal-body p, .legal-body li { font-size: 16.5px; }
  .notfound { row-gap: 28px; padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-icon, .update-teaser .icon, .task .icon, .contact-address .icon { transition: none; }
  .faq details::details-content, .update-archive::details-content { transition: none; }
  .update-teaser:hover .icon, .task:hover .icon, .contact-address:hover .icon { transform: none; }
}

/* ---------- How it began: one long read ----------
   Chapters down a broken line. Each opens with a numbered square drawn in
   corners only; the contents at the top are the same squares, as links. A
   square closes into a full outline under the pointer. Nothing moves on its
   own. */
.tale-n {
  --c: var(--rule-2); --k: 9px;
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink);
  background:
    linear-gradient(var(--c) 0 0) left top / var(--k) 1px,
    linear-gradient(var(--c) 0 0) left top / 1px var(--k),
    linear-gradient(var(--c) 0 0) right top / var(--k) 1px,
    linear-gradient(var(--c) 0 0) right top / 1px var(--k),
    linear-gradient(var(--c) 0 0) left bottom / var(--k) 1px,
    linear-gradient(var(--c) 0 0) left bottom / 1px var(--k),
    linear-gradient(var(--c) 0 0) right bottom / var(--k) 1px,
    linear-gradient(var(--c) 0 0) right bottom / 1px var(--k),
    var(--bg);
  background-repeat: no-repeat;
  transition: background-size .45s var(--ease);
}
.tale-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }

.tale-index {
  position: relative; margin: clamp(32px, 5vh, 56px) var(--m) 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: var(--gut);
  list-style: none; padding: 0;
}
.tale-index::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: calc((100% + var(--gut)) / 7 - 22px); height: 1px;
  background: repeating-linear-gradient(90deg, var(--rule-2) 0 5px, transparent 5px 11px);
}
.tale-index a { position: relative; display: grid; justify-items: start; gap: 14px; color: var(--ink-2); text-decoration: none; }
.tale-index a:hover, .tale-index a:focus-visible { color: var(--ink); outline: none; }
.tale-index a:hover .tale-n, .tale-index a:focus-visible .tale-n { --c: var(--ink); --k: 50%; }
.tale-index a:focus-visible .tale-label { text-decoration: underline; text-underline-offset: 5px; color: var(--ink); }

.tale { position: relative; margin: clamp(56px, 9vh, 112px) var(--m) 0; }
.tale::before {
  content: ""; position: absolute; left: 22px; top: 44px; bottom: 0; width: 1px;
  background: repeating-linear-gradient(180deg, var(--rule-2) 0 5px, transparent 5px 11px);
}
.tale-ch {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  padding-bottom: clamp(64px, 10vh, 120px); scroll-margin-top: calc(var(--head) + 24px);
}
.tale-mark { grid-column: 1 / span 3; display: flex; align-items: center; gap: 16px; align-self: start; }
.tale-mark .tale-n { --c: var(--ink); }
.tale-ch:hover .tale-mark .tale-n { --k: 50%; }
.tale-body { grid-column: 4 / span 8; display: grid; gap: 20px; }
.tale-head { max-width: 15em; font-size: clamp(32px, 4.2vw, 62px); font-weight: 760; line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
.tale-body p { max-width: 36em; color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; text-wrap: pretty; }
.tale-body p strong { color: var(--ink); font-weight: 600; }
.tale-quote {
  margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); max-width: 24em;
  font-size: clamp(21px, 1.9vw, 28px); font-weight: 560; line-height: 1.25; letter-spacing: -.015em; color: var(--ink);
}
.tale-ch:last-child { padding-bottom: 0; }
.tale-end { margin-top: clamp(64px, 10vh, 120px); }

@media (max-width: 860px) {
  .tale-index { grid-template-columns: repeat(7, 44px); justify-content: space-between; column-gap: 0; }
  .tale-index::before { right: 22px; }
  .tale-index .tale-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tale-ch { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  .tale-mark { grid-column: 1 / -1; padding-bottom: 18px; }
  .tale-body { grid-column: 2; }
}
@media (max-width: 420px) {
  .tale-index { grid-template-columns: repeat(7, 36px); }
  .tale-index .tale-n { width: 36px; height: 36px; font-size: 12px; }
  .tale-index::before { top: 18px; left: 18px; right: 18px; }
}
@media (prefers-reduced-motion: reduce) { .tale-n { transition: none; } }

/* ---------- Devlog ---------- */
.posts { list-style: none; margin: clamp(32px, 5vh, 56px) var(--m) 0; padding: 0; border-top: 1px solid var(--rule); }
.post-item { border-bottom: 1px solid var(--rule); }
.post-item a {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 10px;
  padding-block: clamp(28px, 4vh, 44px); color: inherit; text-decoration: none;
}
.post-date { grid-column: 1 / span 3; grid-row: 1; color: var(--ink-2); }
.post-title { grid-column: 4 / span 6; grid-row: 1; font-size: clamp(24px, 2.4vw, 36px); font-weight: 720; line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.post-summary { grid-column: 4 / span 6; color: var(--ink-2); font-size: 17px; line-height: 1.55; max-width: 36em; }
.post-more { grid-column: 11 / span 2; grid-row: 1; justify-self: end; align-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; transition: color .25s var(--ease); }
.post-item a:hover .post-more, .post-item a:focus-visible .post-more { color: var(--ink); }
.post-item a:hover .post-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.post-item a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.post { margin: clamp(40px, 6vh, 72px) var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }
.post-body { grid-column: 4 / span 7; display: grid; gap: 20px; }
.post-body p, .post-body li { color: var(--ink-2); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; max-width: 36em; text-wrap: pretty; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body h2 { margin-top: 20px; font-size: clamp(22px, 2vw, 28px); font-weight: 720; letter-spacing: -.02em; line-height: 1.1; }
.post-body ul { display: grid; gap: 8px; padding-left: 1.2em; list-style: square; }
.post-nav {
  margin: clamp(64px, 10vh, 112px) var(--m) 0; padding-top: 24px; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--gut);
}
.post-nav a { display: grid; gap: 6px; color: var(--ink); text-decoration: none; font-size: 16px; max-width: 22em; }
.post-nav a .label { color: var(--ink-2); }
.post-nav > :last-child { justify-self: end; text-align: right; }
.post-nav > :nth-child(2) { text-align: center; }
.post-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 860px) {
  .post-item a { grid-template-columns: minmax(0, 1fr); }
  .post-date, .post-title, .post-summary, .post-more { grid-column: 1; grid-row: auto; justify-self: start; }
  .post { grid-template-columns: minmax(0, 1fr); }
  .post-body { grid-column: 1; }
  .post-nav { grid-template-columns: 1fr 1fr; }
  .post-nav > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

