/* What the event adds to the landing page of the Zij design system: the real record of the
   Nile Delta with its two-state switch, the three numbers, and the way into the app.
   Colours are the design system's tokens (tokens.css); the sheets are its paper (materials.css).
   The switch is two radio buttons and CSS, so it works with scripts off. */

@font-face { font-family: "Amiri"; font-weight: 400; font-style: normal; font-display: swap; src: url("/atlas/fonts/amiri-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Amiri"; font-weight: 400; font-style: italic; font-display: swap; src: url("/atlas/fonts/amiri-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Amiri"; font-weight: 700; font-style: normal; font-display: swap; src: url("/atlas/fonts/amiri-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: "Amiri"; font-weight: 400; font-style: normal; font-display: swap; src: url("/atlas/fonts/amiri-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Amiri"; font-weight: 700; font-style: normal; font-display: swap; src: url("/atlas/fonts/amiri-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500 700; font-style: normal; font-display: swap; src: url("/atlas/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500 600; font-style: italic; font-display: swap; src: url("/atlas/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Reem Kufi"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("/atlas/fonts/reem-kufi-arabic-500-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Reem Kufi"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("/atlas/fonts/reem-kufi-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.illus-tag { margin: 12px 6px 0; }
/* The scroll cue: an arrow at the foot of the opening, centred on the screen, that bobs gently.
   It replaces the "Begin reading" link and leads to the record. It fades with the hero. */
.scroll-cue {
  position: absolute; left: calc(50vw - clamp(16px, 7vw, 220px)); top: 80svh; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid color-mix(in srgb, var(--brass) 70%, transparent);
  border-radius: 50%; color: var(--brass); background: color-mix(in srgb, var(--ground) 45%, transparent); text-decoration: none;
}
.scroll-cue svg { animation: cue 1.9s ease-in-out infinite; }
.scroll-cue:hover { color: var(--flame, var(--brass)); border-color: var(--flame, var(--brass)); }
.scroll-cue:focus-visible { outline: 5px double var(--brass); outline-offset: 3px; }
@keyframes cue { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
.hero .enter { margin-top: calc(var(--u, 40px) * 0.45); margin-left: -2px; }
.hero .play { margin-top: calc(var(--u, 40px) * 0.2); margin-left: -2px; }

/* ---------------------------------------------------------------- the record */
/* Above the lantern (z-index 9 on the desk): the lantern passes behind this sheet and can never
   cover the chart or a number, on any screen. */
.record { position: relative; z-index: 10; max-width: 1040px; margin: 0 auto 24vh; scroll-margin-top: 80px; }
.record .sheet { padding: clamp(16px, 3vw, 32px); }
.record h2 { margin: 4px 0 16px; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; }
.rec-switch { display: inline-flex; margin-bottom: 16px; border: 1px solid var(--brass); border-radius: 4px; overflow: hidden; }
.rec-switch label { display: flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer; font-family: var(--font-display, "Cormorant Garamond", serif); font-weight: 600; font-size: 19px; color: var(--ink); transition: background-color 180ms, color 180ms; }
.rec-switch label + label { border-left: 1px solid var(--brass); }
.rec-switch label:hover { background: color-mix(in srgb, var(--brass) 14%, transparent); }
#rec-raw:checked ~ .rec-switch label[for="rec-raw"], #rec-true:checked ~ .rec-switch label[for="rec-true"] { background: var(--brass); color: var(--ground-raised); }
#rec-raw:focus-visible ~ .rec-switch label[for="rec-raw"], #rec-true:focus-visible ~ .rec-switch label[for="rec-true"] { outline: 5px double var(--brass); outline-offset: 3px; }

.rec-chart { position: relative; display: flex; align-items: flex-end; gap: 4px; height: clamp(200px, 34vh, 320px); padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.rec-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; }
.rec-bar { display: block; width: 100%; height: var(--raw); border-radius: 2px 2px 0 0; background: var(--rubric); transition: height 900ms cubic-bezier(0.32, 0.72, 0, 1), background-color 600ms; }
.is-modis .rec-bar { background: var(--lapis); }
.rec-band { position: absolute; left: 50%; bottom: var(--lo); height: calc(var(--hi) - var(--lo)); width: 0; border-left: 2px solid var(--ink); opacity: 0; transition: opacity 500ms 500ms; }
.rec-band::before, .rec-band::after { content: ""; position: absolute; left: -5px; width: 8px; border-top: 2px solid var(--ink); }
.rec-band::before { top: 0; }
.rec-band::after { bottom: 0; }
.rec-year { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); font-size: 14px; line-height: 20px; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.is-first-viirs::before { content: "VIIRS begins"; position: absolute; left: -3px; top: 0; bottom: 0; padding-left: 6px; border-left: 1px dashed var(--ink-muted); font-size: 14px; line-height: 18px; color: var(--ink-muted); white-space: nowrap; }
#rec-true:checked ~ .rec-figure .rec-bar { height: var(--true); background: var(--rubric); }
#rec-true:checked ~ .rec-figure .rec-band { opacity: 1; }
.when-true { display: none; }
#rec-true:checked ~ .rec-figure .when-true { display: block; }
#rec-true:checked ~ .rec-figure .when-raw { display: none; }
.rec-figure { margin: 0; }
.rec-legend { margin: 12px 0 8px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.rec-legend > span.when-raw { display: inline; }
.key { display: inline-block; width: 12px; height: 12px; margin: 0 4px 0 12px; border-radius: 2px; vertical-align: -1px; }
.key:first-child { margin-left: 0; }
.key-modis { background: var(--lapis); }
.key-viirs { background: var(--rubric); }
.key-band { width: 0; height: 14px; border-left: 2px solid var(--ink); border-radius: 0; vertical-align: -2px; }
.rec-line { min-height: 96px; margin: 0 0 8px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.rec-unit { margin: 0; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.rec-table { margin-top: 12px; }
.rec-table summary { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; color: var(--brass); text-decoration: underline; }
.rec-table table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; }
.rec-table th, .rec-table td { text-align: left; padding: 3px 12px 3px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.rec-scroll { overflow-x: auto; }

/* ---------------------------------------------------------------- the close: numbers and the way in */
.numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0 8px; max-width: 1040px; }
.numbers > div { padding: 16px 20px; border: 1px solid var(--rule); border-radius: 4px; background: color-mix(in srgb, var(--ground-raised) 70%, transparent); }
.numbers .fig { margin: 0 0 6px; font-family: var(--font-display, "Cormorant Garamond", serif); font-weight: 600; font-size: clamp(34px, 4vw, 50px); line-height: 1.05; color: var(--flame, var(--brass)); white-space: nowrap; }
.numbers p:last-child { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink); }
.numbers-note, .whom { max-width: 72ch; }
.numbers-note { font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.numbers-note a, .colophon a { color: var(--brass); }

@media (prefers-reduced-motion: reduce) { .rec-bar, .rec-band { transition: none; } }
@media (max-width: 760px) {
  .rec-switch { display: flex; flex-direction: column; }
  .rec-switch label + label { border-left: 0; border-top: 1px solid var(--brass); }
  .rec-chart { gap: 2px; }
  .rec-year { font-size: 12px; }
  .rec-line { min-height: 170px; }
  .numbers { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- what 26 years show */
.record + .record { margin-top: -12vh; }
.shows-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 20px; }
.shows-list li { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 28px; align-items: start; padding-top: 16px; border-top: 1px solid var(--rule); }
.record .shows-list .shows-fig { margin: 0; font: 600 clamp(30px, 3.6vw, 46px)/1.05 var(--font-display, "Cormorant Garamond", serif); letter-spacing: 0; color: var(--rubric); white-space: nowrap; }
.shows-list h3 { margin: 0 0 4px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.25; }
.shows-list p { margin: 0; font-size: 17px; line-height: 1.5; }
.shows .rec-unit a { color: var(--brass); }
@media (max-width: 760px) { .shows-list li { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- the life of the opening (life.js) */
/* the page's three shooting stars repeat in the same places: life.js throws them at random instead */
.life .sky > .meteors { display: none; }
.shower, .passes { position: absolute; inset: 0; pointer-events: none; }
/* a shooting star: a short streak whose head is its right end (life.js places and moves it) */
.streak { position: absolute; height: 1.6px; transform-origin: 100% 50%; border-radius: 2px; opacity: 0; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 45%, transparent) 72%, var(--ink)); }
.streak.bright { height: 2.2px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ink) 40%, transparent) 60%, color-mix(in srgb, var(--ink) 92%, var(--lapis)) 92%, var(--ink)); }
.streak.bright::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: radial-gradient(closest-side, var(--ink), color-mix(in srgb, var(--ink) 25%, transparent) 45%, transparent); }
/* a satellite: a steady point, no twinkle; its glint is a moment of sunlight on a panel */
.pass { position: absolute; left: 0; top: 0; width: 2.2px; height: 2.2px; margin: -1.1px 0 0 -1.1px; border-radius: 50%; opacity: 0; background: color-mix(in srgb, var(--ink) 88%, var(--lapis)); box-shadow: 0 0 3px 0.5px color-mix(in srgb, var(--ink) 30%, transparent); }
.pass b { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; opacity: 0; background: radial-gradient(closest-side, var(--ink) 0 12%, color-mix(in srgb, var(--ink) 35%, transparent) 30%, transparent); }
/* the sparks thrown up when the fire is stoked (inside the camp's .fx, 10px to the metre) */
.ember { position: absolute; left: -0.6px; top: -7px; width: 1.2px; height: 1.2px; border-radius: 50%; opacity: 0; background: color-mix(in srgb, var(--flame) 70%, var(--rubric)); }
/* the fox: a 0x0 box on the ground, moved by life.js; its drawing hangs from it. --u is px per cm. */
.fox { position: absolute; left: 0; top: 0; width: 0; height: 0; }
.fox.away { visibility: hidden; }
.fox .body { position: absolute; left: 0; top: 0; width: calc(var(--u, 0.4) * 84px); height: calc(var(--u, 0.4) * 50px); overflow: hidden; transform: translate(-42.857%, -96%); }
.fox.rtl .body { transform: translate(-57.143%, -96%) scaleX(-1); }
.fox .reel { position: absolute; left: 0; top: 0; width: 800%; height: 100%; animation: fox-trot var(--stride, 0.34s) steps(6) infinite; }
.fox.stand .reel { animation: none; transform: translateX(-75%); }
.fox.look .reel { animation: none; transform: translateX(-87.5%); }
@keyframes fox-trot { to { transform: translateX(-75%); } }
.fox svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.fox .fig { fill: color-mix(in srgb, var(--shadow) 55%, var(--ground)); }
.fox .leg { fill: none; stroke: color-mix(in srgb, var(--shadow) 55%, var(--ground)); stroke-width: 2.7; stroke-linecap: round; stroke-linejoin: round; }
.fox .rim { fill: none; stroke: color-mix(in srgb, var(--ink) 70%, var(--lapis)); stroke-width: 1; stroke-linecap: round; opacity: 0.5; }
.fox .eye { fill: color-mix(in srgb, var(--ink) 55%, var(--brass)); }
.still .shower, .still .passes, .still .fox { display: none; }
/* depth: each layer of the scene glides to where the pointer leans it (life.js sets its translate) */
:root { --glide: translate 1.1s cubic-bezier(0.22, 0.61, 0.36, 1); }
.leans { transition: var(--glide); }

/* The thread from the spool, drawn again over the record and its findings (build-landing.mjs):
   cut to the section's box, over the sheet and its ink, never in the way of a click. */
.record > .record-threads { overflow: hidden; z-index: 4; }

/* The pins the thread runs to on the record and its findings: in the top and bottom margins, clear
   of every line of text (the threads themselves are in build-landing.mjs). */
.record .anchor.pin-in { top: 9px; left: 64%; }
.record .anchor.pin-out { bottom: 9px; left: 70%; }
.record.shows .anchor.pin-in { left: 70%; }
.record.shows .anchor.pin-out { left: 64%; }
.record > .record-pins { z-index: 5; }

/* The opening line is longer than the reference's: it may wrap where the screen is narrow. */
@media (max-width: 900px) { #hero .line { white-space: normal; text-wrap: balance; } }
/* The sentence under it is one line, a little narrower than the line above it: sized from the
   line's own size (the reference's .hero .line), so the two keep their proportion at every size.
   Where the screen is narrow it wraps again. */
@media (min-width: 901px) {
  #hero .dek { max-width: none; white-space: nowrap; font-size: max(16px, calc(min(3.5vw, 6svh) * 0.39)); }
}

/* The seal of the opening: written in with a reed pen, then it breathes a warm glow, the light of
   the lamp held behind it. Only opacity and transform move, so the glow costs nothing to animate;
   the seal's own soft halo is a fixed drop-shadow (a filter re-animated every frame repaints the
   whole mark, which showed as a stutter). The glow begins when the writing ends (--seal-end, set by
   build-landing.mjs). */
.hero h1 { position: relative; }
.hero h1::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(var(--seal) * -0.32); top: -32%; width: calc(var(--seal) * 1.85); height: 164%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--flame) 14%, transparent), color-mix(in srgb, var(--brass) 5%, transparent) 58%, transparent);
  animation: seal-breathe 5s ease-in-out calc(var(--seal-start, 0s) + var(--seal-end, 1.4s)) infinite alternate both;
}
/* The seal is written right to left, as زيج (build-landing.mjs sets out the strokes and their
   times). A stroke is the pen's runs, each a line as wide as the nib in a frame slanted to the
   nib's edge, drawn along its length; a dot is one press of the nib: there at once, whole, a touch
   large, and settling, and each dot is pressed as its letter is finished, so they come one by one.
   Everything rests in its last frame, so without animation the seal is there. */
.hero h1 .seal-written { display: block; height: var(--seal); width: auto; aspect-ratio: 287 / 246; overflow: visible; filter: drop-shadow(0 0 3px color-mix(in srgb, var(--flame) 20%, transparent)); }
.seal-written .seal-ink { fill: var(--ink); }
.seal-written .seal-pen { fill: none; stroke: white; stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 0; animation: seal-write var(--dur, 0.2s) var(--ease, linear) calc(var(--seal-start, 0s) + var(--at, 0s)) both; }
.seal-written .seal-stamp { transform-box: fill-box; transform-origin: center; animation: seal-stamp 0.4s cubic-bezier(0.2, 0.8, 0.25, 1) calc(var(--seal-start, 0s) + var(--at, 0s)) both; }
@keyframes seal-write { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes seal-stamp { 0% { opacity: 0; transform: scale(1.1); } 32% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }
/* the chapters' letters share the brush: their dots, and the wet tip of their strokes */
.ab-ink .ab-dot { fill: white; animation: seal-dot 0.06s linear var(--at, 0s) both; }
.ab-ink .ab-dot.is-stroke { fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; }
@keyframes seal-dot { from { opacity: 0; } }
@keyframes seal-tip { from { stroke-dashoffset: var(--tip, 0.1); } to { stroke-dashoffset: calc(var(--tip, 0.1) - 1); } }
@keyframes seal-dry { 0% { opacity: 0; } 8% { opacity: 1; } 62% { opacity: 1; } 100% { opacity: 0; } }
@keyframes seal-breathe { from { opacity: 0.2; transform: scale(0.96); } to { opacity: 0.5; transform: scale(1.03); } }
.still .seal-written .seal-pen, .still .seal-written .seal-stamp, .still .hero h1::before { animation: none; }
.still .hero h1::before { opacity: 0.35; }
@media (prefers-reduced-motion: reduce) { .seal-written .seal-pen, .seal-written .seal-stamp, .hero h1::before { animation: none; } .hero h1::before { opacity: 0.35; } }

/* The opening line's "1,000" in lining figures: the face's old-style 1 reads as a small capital I. */
#hero .line { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1, "onum" 0; }

/* The chapters' letters, written in with a brush when they come into view (build-landing.mjs): hidden
   until their turn; while written, the text gives way to a drawing of the letter that a mask of
   brush strokes uncovers, a wet tip of warm ink at the head of each stroke; then the text is back. */
.chapter-head .abjad.ab-wait { opacity: 0; }
.chapter-head .abjad.ab-writing { color: transparent; }
.chapter-head .abjad > .ab-ink { position: absolute; overflow: visible; pointer-events: none; }
.ab-ink .ab-glyph { fill: var(--brass); }
.ab-ink .ab-glyph.is-wet { fill: color-mix(in srgb, var(--flame) 70%, var(--brass)); }
.ab-ink .ab-stroke { fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: seal-write var(--dur, 0.5s) cubic-bezier(0.45, 0.05, 0.4, 1) var(--at, 0s) forwards; }
.ab-ink .ab-wet-stroke {
  fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--tip, 0.15) 2; stroke-dashoffset: calc(var(--tip, 0.15) - 1); opacity: 0;
  animation: seal-tip var(--dur, 0.5s) cubic-bezier(0.45, 0.05, 0.4, 1) var(--at, 0s) both, seal-dry calc(var(--dur, 0.5s) + 0.4s) linear var(--at, 0s) both;
}
.ab-ink .ab-settle { fill: white; opacity: 0; animation: ab-settle 0.35s ease-out var(--at, 1s) forwards; }
@keyframes ab-settle { to { opacity: 1; } }

/* ---------------------------------------------------------------- the entrance
   The page's head marks the opening 'intro' (with motion, and the script there to finish it): until
   landing.js has painted the scene, the faces have loaded and the page is laid out, the night is the
   bare sky and the words are not shown, so nothing is seen to jump. Then landing.js adds 'go': the
   scene fades up, the seal is written into it, and the words follow, one by one. Only opacity and a
   small rise move, which the browser runs off the main thread; the seal's pen waits for 'go' too.
   Scrolling lets everything in at once. Without the script nothing is hidden: the head's mark is
   only set by a script, and it lets everything in by itself after nine seconds. */
.intro .hero { --seal-start: 0.7s; }
.intro .sky > * { opacity: 0.001; }   /* not 0: the browser rasters what is all but invisible, so the scene is ready to show */
.intro.go .sky > * { opacity: 1; transition: opacity 1.9s cubic-bezier(0.33, 0, 0.2, 1), var(--glide); }
.intro:not(.go) .hero > * { opacity: 0.001; }
.intro:not(.go) .seal-written .seal-pen, .intro:not(.go) .seal-written .seal-stamp, .intro:not(.go) .hero h1::before { animation-play-state: paused; }
/* the line as the pen lifts from the seal, the sentence after it, then the ways in */
.intro.go .hero > .line { animation: intro-rise 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--seal-start) + var(--seal-end, 1.4s) - 0.2s) both; }
.intro.go .hero > .dek { animation: intro-rise 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) calc(var(--seal-start) + var(--seal-end, 1.4s) + 0.45s) both; }
.intro.go .hero > a { animation: intro-in 1.3s ease-out calc(var(--seal-start) + var(--seal-end, 1.4s) + 1.1s) both; }
/* the seal's glow comes up only once the seal is written, and then breathes as it always does */
.intro.go .hero h1::before { animation: seal-glow-in 1.6s ease-out calc(var(--seal-start) + var(--seal-end, 1.4s)) both, seal-breathe 5s ease-in-out calc(var(--seal-start) + var(--seal-end, 1.4s) + 1.6s) infinite alternate forwards; }
@keyframes seal-glow-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 0.2; transform: scale(0.96); } }
@keyframes intro-rise { from { opacity: 0.001; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes intro-in { from { opacity: 0.001; } to { opacity: 1; } }

/* ---------------------------------------------------------------- leaving for the app (leave.js)
   The lamp goes out: the night ground comes over the page with the Seal on it, and the app opens
   under the same veil (app/veil.css). The two are drawn alike, to the pixel, so it reads as one. */
.veil {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--ground); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 620ms cubic-bezier(0.45, 0, 0.25, 1), visibility 0s 620ms;
}
.veil img { display: block; height: 72px; width: auto; opacity: 0; transform: translateY(6px); transition: opacity 420ms ease-out 200ms, transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1) 200ms; }
.veil i { display: block; width: 120px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: 0 50%; transition: transform 620ms cubic-bezier(0.22, 0.61, 0.36, 1) 260ms; }
.is-leaving .veil { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.is-leaving .veil img { opacity: 1; transform: none; }
.is-leaving .veil i { transform: scaleX(1); }
/* the scene sinks a little as the light goes */
.is-leaving .hero { transition: opacity 420ms ease-in, transform 620ms cubic-bezier(0.45, 0, 0.25, 1); opacity: 0; transform: translateY(-10px); }

/* ---------------------------------------------------------------- the thread follows the scroll
   (build-landing.mjs, followThreads): only a breath of smoothing between frames, so it moves with
   the page. The line of pins at the end is still drawn pin by pin, but quickly. */
.desk-threads .is-follow { transition: stroke-dashoffset 90ms linear; }
.desk-threads .is-drawn { transition-duration: 900ms; }
.still .desk-threads .is-follow { transition: none; }
