/* Outbound: the Frontier Analytics poster system.
   Look: 1930s national park travel posters and their retro-future revival. Flat screen-print inks on poster
   stock, skies stepped in bands, landscapes stacked in layers, a tiny person for scale, condensed caps titles
   with a misregistered second ink.
   Motion: every scene is a diorama. Layers sit at depths and move at their depth; things arrive as keylines
   and print in one ink at a time, then keep breathing on slow loops. All animation sits under `.motion`,
   which outbound.js sets and the Motion toggle and prefers-reduced-motion remove. */

@property --write {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 110%;
}

:root {
  /* Inks. Brand names that keep their meaning in both themes. */
  --stock: #f3e6c8;
  --night: #1c2140;
  --marigold: #f5b43c;
  --flare: #e8743b;
  --rocket: #a62f25;
  --lagoon: #1d6668;
  --haze: #a8d5cc;
  --dusk: #6b3a63;
  --glacier: #2f6690;

  /* Page roles, Daylight theme */
  --ground: var(--stock);
  --surface: #e9d5aa;
  --surface-2: #ddc593;
  --text: var(--night);
  --muted: #4b4f6c;
  --link: var(--lagoon);
  --accent: var(--marigold);
  --focus: var(--night);
  --block: var(--night);
  --on-block: var(--stock);
  --mis: var(--flare);
  --board: #1c2140;
  --board-tile: #2b3162;
  --board-head: #a8d5cc;
  --line: color-mix(in srgb, var(--text) 26%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 55%, transparent);

  /* Scene slots for the themed scene (data-palette="theme"): a desert dawn by day. */
  --sky-1: #7dbdba;
  --sky-2: #a5d2c6;
  --sky-3: #e9dcae;
  --sky-4: #f4c77e;
  --sky-5: #f1a45e;
  --sun-1: #fff1c9;
  --sun-2: #f8cf73;
  --sun-3: #f08a4b;
  --moon: #f3e6c8;
  --ridge-1: #e7a56e;
  --ridge-2: #cf7347;
  --ridge-3: #9a4a3e;
  --ridge-4: #5b3247;
  --land: #1c2140;
  --prop: #1c2140;
  --glow: #f5b43c;
  --star: #fff6dc;
  --aurora-1: #7fd3b8;
  --aurora-2: #b9e6c9;
  --cloud: #fbf1d6;
  --title: #1c2140;
  --title-2: #e8743b;
  --band: #1c2140;
  --on-band: #f3e6c8;
  --keyline: #1c2140;
  --star-opacity: 0;
  --cloud-opacity: .95;
  --aurora-opacity: 0;
  --sun-set: 0px;
  --moon-set: 520px;

  /* Type */
  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --font-text: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --font-script: "Yellowtail", "Brush Script MT", cursive;
  --font-code: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* A perfect-fourth scale (1.333) from a 17px body. */
  --fs-credit: .75rem;
  --fs-small: .875rem;
  --fs-body: 1.0625rem;
  --fs-lede: 1.417rem;
  --fs-h3: 1.889rem;
  --fs-h2: clamp(2.25rem, 1.5rem + 2.6vw, 3.357rem);
  --fs-h1: clamp(3rem, 1.8rem + 5.2vw, 5.96rem);
  --fs-poster: clamp(4.5rem, 1.6rem + 12.5vw, 12rem);
  --track-credit: .2em;
  --mis-x: .055em;
  --mis-y: .05em;

  /* Space and shape */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --r-1: 2px;
  --r-2: 6px;
  --press: 5px;

  /* Motion. Entrances are quick; loops are slow. */
  --t-flick: 120ms;
  --t-quick: 240ms;
  --t-pass: 520ms;
  --t-scene: 1400ms;
  --t-twinkle: 3.6s;
  --t-orbit: 48s;
  --t-drift: 90s;
  --stagger: 90ms;
  --ease-land: cubic-bezier(.16, 1, .3, 1);
  --ease-launch: cubic-bezier(.7, 0, .84, 0);
  --ease-orbit: cubic-bezier(.45, 0, .55, 1);
  --ease-buoy: cubic-bezier(.34, 1.56, .64, 1);
  --ease-press: cubic-bezier(.2, 0, 0, 1);

  /* Parallax depth: 0 is pinned to the sky, 1 moves with the viewer. */
  --depth-sky: 0;
  --depth-far: .12;
  --depth-mid: .3;
  --depth-near: .55;
  --depth-fore: .85;

  color-scheme: light;
}

/* Nightside theme: the same inks after dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --flare: #f08a4b;
    --rocket: #ec6b59;
    --lagoon: #6fc3bc;
    --dusk: #b57aa6;
    --glacier: #79b3de;
    --ground: #141833;
    --surface: #1e2346;
    --surface-2: #283057;
    --text: var(--stock);
    --muted: #b9b3a3;
    --focus: var(--marigold);
    --block: var(--stock);
    --on-block: var(--night);
    --mis: var(--rocket);
    --board: #0c0f25;
    --board-tile: #1d2247;
    --sky-1: #0e1129;
    --sky-2: #151a3a;
    --sky-3: #1f2550;
    --sky-4: #2e2d60;
    --sky-5: #48386d;
    --sun-2: #3a3a72;
    --ridge-1: #3a3c70;
    --ridge-2: #2b2d5a;
    --ridge-3: #1f2146;
    --ridge-4: #161936;
    --land: #0b0e22;
    --prop: #0b0e22;
    --star: #f6ebcf;
    --aurora-1: #5fc9a8;
    --aurora-2: #9c7bd1;
    --cloud: #2a2f5e;
    --title: #f3e6c8;
    --title-2: #e5604e;
    --band: #0b0e22;
    --keyline: #f3e6c8;
    --star-opacity: 1;
    --cloud-opacity: 0;
    --aurora-opacity: .75;
    --sun-set: 560px;
    --moon-set: 0px;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --flare: #f08a4b;
  --rocket: #ec6b59;
  --lagoon: #6fc3bc;
  --dusk: #b57aa6;
  --glacier: #79b3de;
  --ground: #141833;
  --surface: #1e2346;
  --surface-2: #283057;
  --text: var(--stock);
  --muted: #b9b3a3;
  --focus: var(--marigold);
  --block: var(--stock);
  --on-block: var(--night);
  --mis: var(--rocket);
  --board: #0c0f25;
  --board-tile: #1d2247;
  --sky-1: #0e1129;
  --sky-2: #151a3a;
  --sky-3: #1f2550;
  --sky-4: #2e2d60;
  --sky-5: #48386d;
  --sun-2: #3a3a72;
  --ridge-1: #3a3c70;
  --ridge-2: #2b2d5a;
  --ridge-3: #1f2146;
  --ridge-4: #161936;
  --land: #0b0e22;
  --prop: #0b0e22;
  --star: #f6ebcf;
  --aurora-1: #5fc9a8;
  --aurora-2: #9c7bd1;
  --cloud: #2a2f5e;
  --title: #f3e6c8;
  --title-2: #e5604e;
  --band: #0b0e22;
  --keyline: #f3e6c8;
  --star-opacity: 1;
  --cloud-opacity: 0;
  --aurora-opacity: .75;
  --sun-set: 560px;
  --moon-set: 0px;
  color-scheme: dark;
}

/* Destination palettes. A poster is printed, so it keeps its inks in both themes; the page around it changes.
   Each one is five inks or fewer plus stock, and each has a job. */

/* High Desert: Watch. Long views in hard light. */
[data-palette="high-desert"] {
  --sky-1: #6fb3b5; --sky-2: #98cbc2; --sky-3: #e5d7a7; --sky-4: #f2be73; --sky-5: #ee9853;
  --sun-1: #fff3cf; --sun-2: #f6c35e; --sun-3: #f08a4b; --moon: #fff3cf;
  --ridge-1: #e09a63; --ridge-2: #c4643f; --ridge-3: #8e4237; --ridge-4: #4a2c42;
  --land: #1c2140; --prop: #1c2140; --glow: #f5b43c; --star: #fff6dc; --cloud: #fbf1d6;
  --aurora-1: #7fd3b8; --aurora-2: #b9e6c9;
  --title: #1c2140; --title-2: #e8743b; --band: #1c2140; --on-band: #f3e6c8; --keyline: #1c2140;
  --star-opacity: 0; --cloud-opacity: .9; --aurora-opacity: 0; --sun-set: 0px; --moon-set: 520px;
}
/* Campfire: Ask. Conversations after dark, around a fire. */
[data-palette="campfire"] {
  --sky-1: #120d2b; --sky-2: #1c1542; --sky-3: #2a1b57; --sky-4: #3f2169; --sky-5: #5e2775;
  --sun-1: #f06a93; --sun-2: #b8487a; --sun-3: #f5b43c; --moon: #f7dfa0;
  --ridge-1: #4a2470; --ridge-2: #331a57; --ridge-3: #231240; --ridge-4: #180c2e;
  --land: #0d0820; --prop: #0d0820; --glow: #f5b43c; --star: #f7dfa0; --cloud: #2a1b57;
  --aurora-1: #d2557e; --aurora-2: #f5b43c;
  --title: #f5b43c; --title-2: #d2557e; --band: #0d0820; --on-band: #f3e6c8; --keyline: #f5b43c;
  --star-opacity: 1; --cloud-opacity: 0; --aurora-opacity: 0; --sun-set: 0px; --moon-set: 520px;
}
/* Ice Station: Build. Cold engineering under an aurora. */
[data-palette="ice-station"] {
  --sky-1: #0c2340; --sky-2: #123562; --sky-3: #1e4d80; --sky-4: #3a6f9e; --sky-5: #6e9dbd;
  --sun-1: #eaf6f4; --sun-2: #8fc1d4; --sun-3: #eaf6f4; --moon: #eaf6f4;
  --ridge-1: #2c5b88; --ridge-2: #5d8fb4; --ridge-3: #9ec8d8; --ridge-4: #cfe7ec;
  --land: #eef7f6; --prop: #0c2340; --glow: #7fe0c4; --star: #eaf6f4; --cloud: #3a6f9e;
  --aurora-1: #7fe0c4; --aurora-2: #b3f0d8;
  --title: #eef7f6; --title-2: #3e7da8; --band: #0c2340; --on-band: #eef7f6; --keyline: #eef7f6;
  --star-opacity: 1; --cloud-opacity: 0; --aurora-opacity: .8; --sun-set: 0px; --moon-set: 520px;
}
/* Dusk Mesa: risk. Plum sky over red rock; the warning colour. */
[data-palette="dusk-mesa"] {
  --sky-1: #f4d9b8; --sky-2: #edbda7; --sky-3: #d9979e; --sky-4: #b4738f; --sky-5: #855a82;
  --sun-1: #fff0d6; --sun-2: #f2b8a0; --sun-3: #f2b8a0; --moon: #fff0d6;
  --ridge-1: #9a5b86; --ridge-2: #7a3f6c; --ridge-3: #c23b2e; --ridge-4: #a12a2a;
  --land: #6e1d2c; --prop: #2a1430; --glow: #fff0d6; --star: #fff0d6; --cloud: #fbe6d2;
  --aurora-1: #f2b8a0; --aurora-2: #fff0d6;
  --title: #2a1430; --title-2: #c23b2e; --band: #2a1430; --on-band: #f4d9b8; --keyline: #2a1430;
  --star-opacity: 0; --cloud-opacity: .85; --aurora-opacity: 0; --sun-set: 0px; --moon-set: 520px;
}
/* Flashpoint: flash alerts and launches. Molten horizon. Use sparingly. */
[data-palette="flashpoint"] {
  --sky-1: #170f28; --sky-2: #2e1435; --sky-3: #561b36; --sky-4: #8e2a30; --sky-5: #d4542d;
  --sun-1: #ffe3a3; --sun-2: #f59b3a; --sun-3: #ffe3a3; --moon: #ffe3a3;
  --ridge-1: #4a1a2c; --ridge-2: #33121f; --ridge-3: #220c16; --ridge-4: #170810;
  --land: #0c060b; --prop: #0c060b; --glow: #f59b3a; --star: #ffe3a3; --cloud: #561b36;
  --aurora-1: #f59b3a; --aurora-2: #ffc66b;
  --title: #ffc66b; --title-2: #c23b2e; --band: #0c060b; --on-band: #ffe3a3; --keyline: #ffc66b;
  --star-opacity: .8; --cloud-opacity: 0; --aurora-opacity: 0; --sun-set: 0px; --moon-set: 520px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--t-pass) var(--ease-orbit), color var(--t-pass) var(--ease-orbit);
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--marigold); color: var(--night); }
[hidden] { display: none !important; }

.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;
}

a { color: var(--link); }
/* Text links: a dotted trajectory for an underline that marches on hover. Classed links style themselves. */
a:not([class]), .link {
  text-decoration: none;
  background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px) 0 100% / 100% 2px no-repeat;
  padding-bottom: 2px;
}
a:not([class]):hover, .link:hover { background-image: linear-gradient(currentColor, currentColor); }
.motion a:not([class]):hover, .motion .link:hover {
  background-image: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 9px);
  animation: ob-march 700ms linear infinite;
}

code, kbd, pre { font-family: var(--font-code); font-size: .875em; }

/* ---------- Type ---------- */

/* Poster titles: condensed caps with a second ink printed a hair out of register. */
.title-poster, .title-1, .title-2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: .01em;
  color: var(--print-ink, var(--text));
  text-shadow: var(--mis-x) var(--mis-y) 0 var(--print-2, var(--mis));
}
.title-poster { font-size: var(--fs-poster); line-height: .8; }
.title-1 { font-size: var(--fs-h1); }
.title-2 { font-size: var(--fs-h2); font-weight: 800; line-height: .92; }
.title-3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Taglines speak in a different voice: one script line, seven words at most. */
.tagline {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0;
}

/* Credit lines: the small tracked caps along a poster's edge. Use them where a poster would. */
.credit {
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-credit);
  line-height: 1.35;
  letter-spacing: var(--track-credit);
  text-transform: uppercase;
}

.lede { font-size: var(--fs-lede); line-height: 1.4; font-weight: 400; }
.prose { max-width: 65ch; }
.prose > * + * { margin-top: 1em; }
.muted { color: var(--muted); }

/* ---------- Scenes ---------- */

/* A scene is a stack of SVG layers sharing one viewBox. outbound.js builds them from data attributes. */
.scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--sky-1);
  transition: background-color var(--t-scene) var(--ease-orbit);
}
.scene__layer {
  position: absolute;
  inset: -3% -4%;
  pointer-events: none;
}
.scene__layer svg { display: block; width: 100%; height: 100%; overflow: visible; }

.f-sky-1 { fill: var(--sky-1); } .f-sky-2 { fill: var(--sky-2); } .f-sky-3 { fill: var(--sky-3); }
.f-sky-4 { fill: var(--sky-4); } .f-sky-5 { fill: var(--sky-5); }
.f-sun-1 { fill: var(--sun-1); } .f-sun-2 { fill: var(--sun-2); } .f-sun-3 { fill: var(--sun-3); }
.f-moon { fill: var(--moon); }
.f-ridge-1 { fill: var(--ridge-1); } .f-ridge-2 { fill: var(--ridge-2); }
.f-ridge-3 { fill: var(--ridge-3); } .f-ridge-4 { fill: var(--ridge-4); }
.f-land { fill: var(--land); } .f-prop { fill: var(--prop); } .f-glow { fill: var(--glow); }
.f-star { fill: var(--star); } .f-cloud { fill: var(--cloud); }
.f-aurora-1 { fill: var(--aurora-1); } .f-aurora-2 { fill: var(--aurora-2); }
.f-title { fill: var(--title); }
.s-prop { fill: none; stroke: var(--prop); stroke-linecap: round; stroke-linejoin: round; }
.s-glow { fill: none; stroke: var(--glow); }
.s-path { fill: none; stroke: var(--title); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .55; }
.s-trail { fill: none; stroke: var(--title); stroke-width: 2.5; stroke-linecap: round; opacity: .8; }

.scene__layer [class*="f-"] {
  stroke: var(--keyline);
  stroke-width: 1.25px;
  stroke-opacity: 0;
  vector-effect: non-scaling-stroke;
  transition:
    fill var(--t-scene) var(--ease-orbit) calc(var(--i, 0) * 70ms),
    fill-opacity var(--t-pass) var(--ease-land) var(--print-delay, 0ms),
    stroke-opacity var(--t-pass) var(--ease-land) var(--print-delay, 0ms);
}
.scene__layer { --print-delay: calc(var(--i, 0) * 150ms + var(--print-start, 0ms)); }

.layer-stars { opacity: var(--star-opacity); transition: opacity var(--t-scene) var(--ease-orbit); }
.layer-clouds { opacity: var(--cloud-opacity); transition: opacity var(--t-scene) var(--ease-orbit); }
.rays-set, .rays-sink { position: absolute; inset: 0; }
.rays-set { translate: 0 calc(var(--sun-set) * var(--u, 1)); transition: translate 1.8s var(--ease-orbit); }
.aurora { opacity: var(--aurora-opacity); transition: opacity var(--t-scene) var(--ease-orbit); }
.sun-set { transform: translateY(var(--sun-set)); transition: transform 1.8s var(--ease-orbit); }
.moon-set { transform: translateY(var(--moon-set)); transition: transform 1.8s var(--ease-orbit) .2s; }
.spin, .bob, .flicker, .twinkle, .beacon, .signal, .glow-pulse, .sway {
  transform-box: fill-box;
  transform-origin: center;
}
.flicker, .sway { transform-origin: 50% 100%; }

/* Keyline state: before a scene prints, its shapes are line drawings in the title ink. */
.motion .scene.is-unprinted .scene__layer [class*="f-"] { fill-opacity: 0; stroke-opacity: .8; }
.motion .scene.is-unprinted .scene__layer { translate: calc(var(--i, 0) * .35%) calc(var(--i, 0) * -.25%); }
.motion .scene .scene__layer { transition: translate var(--t-scene) var(--ease-land) var(--print-delay, 0ms); }
.motion .scene.is-unprinted .rise { transform: translateY(var(--rise, 320px)); }
.rise { transition: transform 2.2s var(--ease-land) calc(var(--print-start, 0ms) + 500ms); }

/* Ambient loops. Slow, and only while the scene is on screen (outbound.js adds .is-dormant offscreen). */
.motion .spin { animation: ob-spin var(--spin-dur, 120s) linear infinite; }
.motion .spin--back { animation-direction: reverse; }
.motion .bob { animation: ob-bob var(--bob-dur, 9s) var(--ease-orbit) infinite alternate; }
.motion .twinkle { animation: ob-twinkle var(--tw-dur, var(--t-twinkle)) var(--ease-orbit) var(--tw-delay, 0s) infinite; }
.motion .beacon { animation: ob-beacon 1.6s steps(1, end) infinite; }
.motion .signal { animation: ob-signal 3.2s var(--ease-land) var(--sig-delay, 0s) infinite; }
.motion .flicker { animation: ob-flicker var(--fl-dur, .9s) var(--ease-orbit) var(--fl-delay, 0s) infinite alternate; }
.motion .glow-pulse { animation: ob-glow 2.4s var(--ease-orbit) infinite alternate; }
.motion .drift { animation: ob-drift var(--drift-dur, var(--t-drift)) var(--ease-orbit) var(--drift-delay, 0s) infinite alternate; }
.motion .sway { animation: ob-sway var(--sway-dur, 5s) var(--ease-orbit) var(--sway-delay, 0s) infinite alternate; }
.motion .layer-rays svg { animation: ob-spin 160s linear infinite; will-change: transform; }
.motion .layer-clouds svg { --drift-from: -3%; --drift-to: 3%; animation: ob-drift 70s var(--ease-orbit) infinite alternate; will-change: transform; }
/* Phones and touch screens: keep the big slow moves (rays, clouds, depth, print-in) and drop the many
   small loops. Each one restyles an SVG shape every frame, which made scrolling stutter on mid-range phones.
   Keep this media query in step with LITE in outbound.js. */
@media (hover: none) and (pointer: coarse), (max-width: 700px) {
  .motion .twinkle, .motion .sway, .motion .bob, .motion .flicker,
  .motion .signal, .motion .glow-pulse, .motion .spin { animation: none; }
}
.motion .is-dormant *, .motion .is-dormant { animation-play-state: paused !important; }

.shooting {
  fill: none;
  stroke: var(--star);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 90 1200;
  stroke-dashoffset: 90;
  animation: ob-shoot 1.1s var(--ease-launch) forwards;
}

/* ---------- Print-in: text ---------- */

/* Display text that prints in: a keyline first, then the second ink, then the key ink settling into register.
   The keyline state stays readable, so nothing is ever blank while it waits. */
.print { -webkit-text-stroke: 1.5px transparent; }
.motion .print.is-unprinted {
  color: transparent;
  -webkit-text-stroke-color: var(--print-ink, var(--text));
  text-shadow: none;
}
.motion .print.is-printing { animation: ob-print 1200ms var(--ease-land) var(--print-delay, 0ms) both; }

/* Script that writes itself on, left to right, over a faint pencil line. */
.write { -webkit-mask-image: linear-gradient(90deg, #000 var(--write), rgb(0 0 0 / .22) calc(var(--write) + 6%)); mask-image: linear-gradient(90deg, #000 var(--write), rgb(0 0 0 / .22) calc(var(--write) + 6%)); }
.motion .write.is-unprinted { --write: -6%; }
.motion .write.is-printing { animation: ob-write 1400ms var(--ease-orbit) var(--print-delay, 0ms) both; }

/* ---------- Motion primitives for HTML ---------- */

.motion [data-stamp].is-printing { animation: ob-stamp 700ms var(--ease-buoy) var(--print-delay, 0ms) both; }
.motion [data-rise] { display: inline-block; overflow: hidden; vertical-align: bottom; padding-block: .06em; }
.motion [data-rise] > .rise__body { display: inline-block; transition: transform 900ms var(--ease-land) var(--print-delay, 0ms); }
.motion [data-rise].is-unprinted > .rise__body { transform: translateY(110%); }
.motion [data-pour] { transition: clip-path 1100ms var(--ease-land) var(--print-delay, 0ms); }
.motion [data-pour].is-unprinted { clip-path: inset(0 0 100% 0); }
.motion .orbit { animation: ob-spin var(--orbit-dur, 14s) linear infinite; }
.motion .orbit > * { animation: ob-spin var(--orbit-dur, 14s) linear infinite reverse; }

/* ---------- Components: actions ---------- */

.btn {
  --btn-bg: var(--block);
  --btn-fg: var(--on-block);
  --btn-edge: var(--block);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: 0 1.4em;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-small);
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-edge);
  border-radius: var(--r-1);
  box-shadow: 0 0 0 var(--mis);
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--t-quick) var(--ease-land), box-shadow var(--t-quick) var(--ease-land),
    background-size var(--t-pass) var(--ease-land), color var(--t-quick) var(--ease-land);
}
.btn:hover { box-shadow: var(--press) var(--press) 0 var(--mis); }
.motion .btn:hover { transform: translate(calc(var(--press) * -.6), calc(var(--press) * -.6)); }
.btn:active { transform: none; box-shadow: 0 0 0 var(--mis); transition-duration: var(--t-flick); }
.btn--keyline {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-edge: var(--text);
  background: linear-gradient(var(--text), var(--text)) 0 100% / 100% 0 no-repeat;
}
.btn--keyline:hover { background: linear-gradient(var(--text), var(--text)) 0 100% / 100% 100% no-repeat; color: var(--ground); }
.btn--sun { --btn-bg: var(--marigold); --btn-fg: var(--night); --btn-edge: var(--marigold); --mis: var(--flare); }

/* Ticket: the main call to action, torn from a stub. */
.ticket {
  --t-bg: var(--block);
  --t-fg: var(--on-block);
  display: inline-flex;
  align-items: stretch;
  color: var(--t-fg);
  text-decoration: none;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  filter: drop-shadow(0 0 0 var(--mis));
  transition: filter var(--t-quick) var(--ease-land), transform var(--t-quick) var(--ease-land);
}
.ticket:hover { filter: drop-shadow(var(--press) var(--press) 0 var(--mis)); }
.motion .ticket:hover { transform: translate(-3px, -3px); }
.ticket__main, .ticket__stub { display: grid; align-content: center; background: var(--t-bg); }
.ticket__main {
  padding: 14px 22px 14px 24px;
  font-weight: 600;
  font-size: var(--fs-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.1;
  -webkit-mask: radial-gradient(circle 8px at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 8px at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 8px at 100% 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 8px at 100% 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.ticket__stub {
  padding: 10px 16px;
  border-left: 2px dashed color-mix(in srgb, var(--t-fg) 55%, transparent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-small);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  transform-origin: 0 100%;
  transition: transform var(--t-pass) var(--ease-buoy);
  -webkit-mask: radial-gradient(circle 8px at 0 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 8px at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 8px at 0 0, #0000 97%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 8px at 0 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.motion .ticket:hover .ticket__stub { transform: translate(5px, 1px) rotate(5deg); }

/* ---------- Components: marks ---------- */

/* Passport stamps for status. Each status has its own ink; all pass 4.5:1 on the ground. */
.stamp {
  --stamp-ink: var(--rocket);
  display: inline-block;
  padding: .5em .75em .4em;
  border: 4px double var(--stamp-ink);
  border-radius: 5px;
  color: var(--stamp-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-small);
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  rotate: var(--stamp-rot, -4deg);
}
.stamp--sourced { --stamp-ink: var(--lagoon); --stamp-rot: -3deg; }
.stamp--review { --stamp-ink: var(--dusk); --stamp-rot: 2deg; }
.stamp--unverified { --stamp-ink: var(--rocket); --stamp-rot: -5deg; }

/* A round seal with text set around its edge. outbound.js fills it from data-seal. */
.seal { display: inline-block; width: var(--seal-size, 132px); aspect-ratio: 1; color: var(--seal-ink, var(--rocket)); }
.seal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.seal text { fill: currentColor; font-family: var(--font-display); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.seal .seal__ring { fill: none; stroke: currentColor; }
.motion .seal .seal__words { animation: ob-spin 40s linear infinite; transform-origin: 50% 50%; }

/* Luggage tags for topics and filters. They swing from the hole when touched. */
.tag {
  --tag-bg: var(--surface);
  --tag-fg: var(--text);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 2px 14px 0 30px;
  color: var(--tag-fg);
  font-weight: 500;
  font-size: var(--fs-small);
  line-height: 1.2;
  transform-origin: 16px 50%;
}
.tag::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--tag-bg);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
  border-radius: 0 3px 3px 0;
}
.tag::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--ground);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.tag--ink { --tag-bg: var(--block); --tag-fg: var(--on-block); }
.tag--sun { --tag-bg: var(--marigold); --tag-fg: var(--night); }
.motion .tag:hover, .motion .tag.is-swinging { animation: ob-swing 1100ms var(--ease-orbit); }

/* ---------- Components: data ---------- */

/* Departure board. Characters flip through on a split-flap before they land. */
.board {
  min-width: 0;
  background: var(--board);
  color: var(--stock);
  border-radius: var(--r-2);
  padding: var(--sp-5);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--stock) 14%, transparent);
}
.board__scroll { position: relative; overflow-x: auto; }
.board table { width: 100%; border-collapse: separate; border-spacing: 0 8px; min-width: 560px; }
.board caption { text-align: left; color: var(--board-head); padding-bottom: var(--sp-2); }
.board th {
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-credit);
  letter-spacing: var(--track-credit);
  text-transform: uppercase;
  color: var(--board-head);
  padding: 0 var(--sp-3) var(--sp-1) 0;
}
.board td { padding: 0 var(--sp-3) 0 0; vertical-align: middle; }
.board__note { color: color-mix(in srgb, var(--stock) 78%, transparent); font-size: var(--fs-small); }
.flap { position: relative; display: inline-flex; gap: 2px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1; text-transform: uppercase; }
.flap__ch {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: .95em;
  height: 1.45em;
  background: var(--board-tile);
  color: var(--stock);
  border-radius: 2px;
}
.flap__ch::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: rgb(0 0 0 / .5);
}
.flap__ch--space { background: color-mix(in srgb, var(--board-tile) 55%, transparent); }
.flap--sun .flap__ch { color: var(--marigold); }
.motion .flap__ch.is-flipping { animation: ob-flip 80ms linear; }

/* Stats: one big figure, what it counts, and where it came from. */
.stat { display: grid; gap: var(--sp-2); align-content: start; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--fs-h1);
  line-height: .85;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-shadow: var(--mis-x) var(--mis-y) 0 var(--mis);
}
.stat__label { max-width: 32ch; }
.stat__source { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Components: input ---------- */

/* Boarding pass form: a main sheet and a stub, joined at a perforation. */
.pass {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 32%);
  background: var(--surface);
  border-radius: 10px;
}
.pass::before, .pass::after {
  content: "";
  position: absolute;
  right: calc(32% - 14px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ground);
}
.pass::before { top: -14px; }
.pass::after { bottom: -14px; }
.pass__main { display: grid; gap: var(--sp-5); padding: var(--sp-6); min-width: 0; }
.pass__stub {
  display: grid;
  align-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-5);
  border-left: 2px dashed var(--line-strong);
  min-width: 0;
  position: relative;
}
.pass__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-5); }

.field { display: grid; gap: 6px; min-width: 0; }
.field__label { color: var(--muted); }
.field__input {
  width: 100%;
  min-height: 44px;
  padding: 6px 2px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--line-strong);
  border-radius: 0;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text);
  transition: border-color var(--t-quick) var(--ease-land), background-color var(--t-quick) var(--ease-land), box-shadow var(--t-quick) var(--ease-land);
}
.field__input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field__input:focus { outline: none; border-bottom-color: var(--focus); box-shadow: 0 2px 0 var(--focus); background: color-mix(in srgb, var(--marigold) 18%, transparent); }
.field__msg { min-height: 1.4em; font-size: var(--fs-small); color: var(--rocket); font-weight: 500; }
.field[data-error] .field__input { border-bottom-color: var(--rocket); }

.choices { border: 0; padding: 0; margin: 0; display: grid; gap: var(--sp-3); min-width: 0; }
.choices legend { padding: 0; margin-bottom: var(--sp-3); color: var(--muted); }
.choices__list { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice .tag { cursor: pointer; transition: color var(--t-quick) var(--ease-land); }
.choice input:checked + .tag { --tag-bg: var(--block); --tag-fg: var(--on-block); }
.choice input:focus-visible + .tag { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Route tabs: stops on a dotted line. The selected stop fills in. */
.route-tabs { position: relative; display: flex; gap: var(--sp-2); overflow-x: auto; padding: 4px 4px var(--sp-2); scrollbar-width: thin; }
.route-tabs::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 21px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 10px);
}
.route-tab {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 96px;
  padding: 8px 10px;
  background: none;
  border: 0;
  border-radius: var(--r-1);
  color: var(--muted);
  cursor: pointer;
}
.route-tab__stop {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: var(--ground);
  transition: transform var(--t-pass) var(--ease-buoy), background-color var(--t-quick) var(--ease-land);
}
.route-tab:hover { color: var(--text); }
.route-tab[aria-selected="true"] { color: var(--text); }
.route-tab[aria-selected="true"] .route-tab__stop { background: var(--stop, var(--marigold)); border-color: var(--text); transform: scale(1.35); }

/* Theme toggle: a sun that sets and a moon that rises over a small horizon. */
.sky-toggle, .motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 8px;
  background: transparent;
  border: 2px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: var(--fs-credit);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--t-quick) var(--ease-land), background-color var(--t-quick) var(--ease-land);
}
.sky-toggle:hover, .motion-toggle:hover { border-color: var(--text); }
.sky-toggle__icon {
  position: relative;
  width: 30px;
  height: 20px;
  overflow: hidden;
  border-bottom: 2px solid currentColor;
}
.sky-toggle__sun, .sky-toggle__moon {
  position: absolute;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  transition: transform 700ms var(--ease-buoy);
}
.sky-toggle__sun { bottom: 2px; background: var(--marigold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--marigold) 35%, transparent); }
.sky-toggle__moon { bottom: 2px; background: var(--stock); box-shadow: inset -4px -2px 0 var(--night); transform: translateY(22px); }
.sky-toggle[aria-pressed="true"] .sky-toggle__sun { transform: translateY(22px); }
.sky-toggle[aria-pressed="true"] .sky-toggle__moon { transform: none; }

.motion-toggle__orbit { position: relative; width: 20px; height: 20px; border: 2px dotted currentColor; border-radius: 50%; }
.motion-toggle__orbit::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 0 2px var(--ground);
}
.motion .motion-toggle__orbit { animation: ob-spin 4s linear infinite; }

/* ---------- Components: surfaces ---------- */

/* Poster: 2:3, like the 20 x 30 inch sheets. Type sizes follow the poster's width. */
.poster {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-rows: auto 1fr auto;
  aspect-ratio: 2 / 3;
  max-width: 100%;
  overflow: hidden;
  background: var(--sky-1);
  color: var(--title);
  --print-ink: var(--title);
  --print-2: var(--title-2);
}
.poster > .scene { position: absolute; inset: 0; }
.poster__head { position: relative; z-index: 2; display: grid; justify-items: center; gap: 2cqi; padding: 7cqi 6cqi 0; text-align: center; }
.poster__kicker { font-size: max(10px, 2.6cqi); letter-spacing: .3em; }
.poster__title { font-size: 27cqi; line-height: .8; }
.poster__tag { font-size: 8.5cqi; line-height: 1; color: var(--title); }
.poster__foot {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1cqi;
  padding: 4cqi 6cqi 4.5cqi;
  background: var(--band);
  color: var(--on-band);
  text-align: center;
}
.poster__foot .credit { font-size: max(10px, 2.9cqi); }
.poster__fact { font-size: max(12px, 3.5cqi); line-height: 1.35; font-weight: 500; }

/* Tilt: a poster on a wall that turns toward you. Inner layers keep their own depth. */
[data-tilt] { transform-style: preserve-3d; }
.motion [data-tilt] {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 900ms var(--ease-land);
}
.motion [data-tilt].is-tilting { transition-duration: 160ms; }

/* Postcard: a callout with a stamp in the corner. */
.postcard {
  position: relative;
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  background: var(--surface);
  border-radius: var(--r-1);
  rotate: var(--tilt, 0deg);
  box-shadow: 6px 7px 0 color-mix(in srgb, var(--text) 12%, transparent);
  transition: rotate var(--t-pass) var(--ease-buoy), transform var(--t-pass) var(--ease-buoy);
}
.motion .postcard:hover { rotate: 0deg; transform: translateY(-4px); }
.postcard__mark {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--pc-ink, var(--rocket));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  rotate: -12deg;
}
.postcard__mark::after {
  content: "";
  position: absolute;
  left: -46px;
  top: 50%;
  width: 54px;
  height: 14px;
  margin-top: -7px;
  background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 6px);
  -webkit-mask: radial-gradient(circle 4px at 50% 50%, #000 0, #000 100%);
  opacity: .8;
}
.postcard--do { --pc-ink: var(--lagoon); }
.postcard--dont { --pc-ink: var(--rocket); }
.postcard__title { padding-right: 72px; }

/* ---------- Components: wayfinding ---------- */

/* Route bar: the page's stops on one dotted line, with a craft showing how far along you are. */
.route {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--ground);
  border-bottom: 2px solid var(--line);
  transition: background-color var(--t-pass) var(--ease-orbit);
}
.route__row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 64px;
}
.route__mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: .04em .04em 0 var(--mis);
}
.route__sun { width: 22px; height: 22px; flex: none; }
.route__nav { position: relative; flex: 1; min-width: 0; }
.route__stops {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.route__stops::-webkit-scrollbar { display: none; }
.route__line {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 17px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 3px, transparent 3px 8px);
  pointer-events: none;
}
.route__line { container-type: inline-size; }
/* Progress moves by transform only (no layout): the filled line scales, the craft slides. */
.route__line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  background: var(--text);
}
.route__craft {
  position: absolute;
  top: -6px;
  left: 0;
  translate: calc(var(--progress, 0) * 100cqw) 0;
  width: 16px;
  height: 14px;
  margin-left: -8px;
  background: var(--marigold);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 22% 50%);
  filter: drop-shadow(1px 1px 0 var(--night));
}
.route__stop {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 64px;
  padding: 10px 6px 6px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-credit);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.route__stop:hover { color: var(--text); }
.route__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: var(--ground);
  transition: transform var(--t-pass) var(--ease-buoy), background-color var(--t-quick) var(--ease-land);
}
.route__stop.is-passed .route__dot { background: currentColor; }
.route__stop[aria-current] { color: var(--text); }
.route__stop[aria-current] .route__dot { background: var(--marigold); border-color: var(--text); transform: scale(1.5); }
.route__controls { display: flex; gap: var(--sp-2); flex: none; }

/* Marquee: a constant-speed ticker. It stops while hovered or focused, and when motion is off. */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; flex: none; align-items: center; gap: var(--sp-5); padding-right: var(--sp-5); }
.motion .marquee__track { animation: ob-marquee var(--marquee-dur, 60s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }

/* ---------- View transition for the theme switch ---------- */

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root[data-sky="dusk"]::view-transition-new(root) { animation: ob-nightfall 1100ms var(--ease-orbit) both; }
:root[data-sky="dawn"]::view-transition-new(root) { animation: ob-sunrise 1100ms var(--ease-orbit) both; }

/* ---------- Keyframes ---------- */

@keyframes ob-spin { to { transform: rotate(360deg); } }
@keyframes ob-bob { from { transform: translateY(-1.5%); } to { transform: translateY(1.5%); } }
@keyframes ob-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.6); } }
@keyframes ob-beacon { 0%, 60% { fill: var(--glow); } 61%, 100% { fill: var(--prop); } }
@keyframes ob-signal { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes ob-flicker { 0% { transform: scale(1, 1); } 40% { transform: scale(.92, 1.12); } 100% { transform: scale(1.06, .9); } }
@keyframes ob-glow { from { opacity: .35; transform: scale(.94); } to { opacity: .6; transform: scale(1.06); } }
@keyframes ob-drift { from { transform: translateX(var(--drift-from, -6%)); } to { transform: translateX(var(--drift-to, 6%)); } }
@keyframes ob-sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes ob-shoot { to { stroke-dashoffset: -1100; } }
@keyframes ob-march { to { background-position: 9px 100%; } }
@keyframes ob-marquee { to { transform: translateX(-50%); } }
@keyframes ob-flip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.08); } 100% { transform: scaleY(1); } }
@keyframes ob-swing {
  0% { rotate: 0deg; } 18% { rotate: -9deg; } 40% { rotate: 6deg; }
  62% { rotate: -3deg; } 82% { rotate: 1deg; } 100% { rotate: 0deg; }
}
@keyframes ob-print {
  0% { color: transparent; -webkit-text-stroke-color: var(--print-ink, var(--text)); text-shadow: .22em .16em 0 transparent; }
  30% { color: transparent; -webkit-text-stroke-color: var(--print-ink, var(--text)); text-shadow: .22em .16em 0 var(--print-2, var(--mis)); }
  62% { color: var(--print-ink, var(--text)); -webkit-text-stroke-color: var(--print-ink, var(--text)); text-shadow: .12em .09em 0 var(--print-2, var(--mis)); }
  100% { color: var(--print-ink, var(--text)); -webkit-text-stroke-color: transparent; text-shadow: var(--mis-x) var(--mis-y) 0 var(--print-2, var(--mis)); }
}
@keyframes ob-write { from { --write: -6%; } to { --write: 110%; } }
@keyframes ob-stamp {
  0% { opacity: 0; transform: scale(1.9) rotate(-14deg); }
  55% { opacity: 1; transform: scale(.9) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes ob-nightfall { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes ob-sunrise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (max-width: 720px) {
  .pass { grid-template-columns: minmax(0, 1fr); }
  .pass::before, .pass::after { display: none; }
  .pass__stub { border-left: 0; border-top: 2px dashed var(--line-strong); }
}
