/* NOIZE-LABS · Lab Notes — the blog's own skin.

   Same page grammar as nofacellc.com: a top bar with the brand left and the sister site marked
   with an arrow, an oversized uppercase lockup, mono labels, one column, a plain footer. Different
   voice: the Nightfall ground, cyan and violet light instead of red on bone, a condensed display
   face instead of a wide one.

   The site's CSP (see /_headers) allows stylesheets and images from this origin only, no script,
   no inline style attributes. So: system faces, CSS-only motion, and the charts are inline SVG
   whose colours are presentation attributes. Every animation sits inside
   prefers-reduced-motion: no-preference, so nothing moves for anyone who asked it not to. */

:root {
  --bg: #08080c;
  --bg-2: #0d0d14;
  --panel: rgba(20, 20, 30, 0.62);
  --line: rgba(255, 255, 255, 0.09);
  --fg: #e4e4ef;
  --hi: #f4f4fb;
  --body: #cfcfdc;
  --muted: rgba(228, 228, 239, 0.68);
  --faint: rgba(228, 228, 239, 0.5);
  --cyan: #22d3ee;
  --cyan-lift: #67e8f9;
  --violet: #a78bfa;
  --violet-lift: #c4b5fd;
  --amber: #f5b544;
  --red: #f87171;
  --green: #34d399;
  --display: "Bahnschrift Condensed", "Bahnschrift", "Avenir Next Condensed", "Roboto Condensed",
             "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", "SF Mono", Consolas, ui-monospace, monospace;
  --max: 74rem;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body.lab {
  margin: 0;
  color: var(--fg);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 32rem at 88% -8%, rgba(167, 139, 250, 0.16), transparent 62%),
    radial-gradient(52rem 30rem at -12% 6%, rgba(34, 211, 238, 0.11), transparent 60%);
  background-repeat: no-repeat;
  font: 400 1.06rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--cyan-lift); text-underline-offset: 3px; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 50; padding: 10px 14px; background: var(--cyan); color: #000; border-radius: 8px; }

/* ---------------------------------------------------------------- top bar */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 8, 12, 0.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 60px; }
.brand { font: 700 1.4rem/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hi); text-decoration: none; }
.brand span { color: var(--cyan); }
.top nav { display: flex; flex-wrap: wrap; gap: 0 20px; font: 600 0.74rem/1 var(--mono); letter-spacing: 0.15em; text-transform: uppercase; }
.top nav a { display: inline-block; padding: 16px 0 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--hi); border-bottom-color: var(--cyan); }
.top nav a.ext { color: var(--violet-lift); }

/* ---------------------------------------------------------------- ticker */
.ticker {
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(167, 139, 250, 0.12));
  font: 600 0.72rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-lift);
}
.ticker .track { display: inline-flex; padding: 11px 0; }
.ticker span { flex: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 8px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px);
}
.hero-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.kicker, .ex-label { margin: 0; font: 700 0.76rem/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.pretitle { margin: 18px 0 0; font: 700 clamp(1.4rem, 3.2vw, 2.3rem)/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 6px 0 0; font: 700 clamp(4rem, 13vw, 10.5rem)/0.84 var(--display); letter-spacing: -0.005em; text-transform: uppercase; color: var(--hi); }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; opacity: 0; }
.glitch::before { color: var(--cyan); }
.glitch::after { color: var(--violet); }
.stamp {
  display: inline-block; margin: 20px 0 0; padding: 6px 14px;
  border: 3px solid var(--red); border-radius: 3px; color: var(--red);
  font: 700 1.5rem/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase;
  transform: rotate(-2.5deg);
}
.stamp-amber { margin: 14px 0 0; border-color: var(--amber); color: var(--amber); font-size: 1.05rem; }
.dek { margin: 24px 0 0; max-width: 40rem; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.6; color: #d9d9e6; }

/* the file card: metadata in a grid, the mask at the bottom */
.filecard {
  flex: 1 1 260px; max-width: 360px; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--panel); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 400 0.84rem/1.45 var(--mono);
}
.filecard > div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.filecard > div:nth-child(odd):not(.wide) { border-right: 1px solid var(--line); }
.filecard .wide { grid-column: span 2; }
.filecard dt { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.filecard dd { margin: 4px 0 0; color: var(--fg); }
.filecard dd.ok { color: var(--green); }
.filecard .mark { padding: 0; border-bottom: 0; background: #000; }
.filecard .mark img { display: block; width: 100%; }

/* ---------------------------------------------------------------- plates (the art) */
.plate { margin-top: 44px; }
/* the glowing edge: a big conic square behind the picture, turned by the compositor (rotate), so it
   never repaints. Animating the gradient angle instead repaints the whole frame every tick. */
.plate-frame, .feature { position: relative; isolation: isolate; overflow: hidden; padding: 2px; }
.plate-frame { border-radius: 18px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); }
.plate-frame::before, .feature::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 150%; aspect-ratio: 1; translate: -50% -50%;   /* 150% of the width covers the diagonal of every wide frame here */
  background: conic-gradient(var(--cyan), var(--violet), rgba(167, 139, 250, 0) 30%,
                             rgba(34, 211, 238, 0) 70%, var(--cyan));
}
.plate-frame img { position: relative; display: block; width: 100%; border-radius: 16px; }
.plate figcaption, .side-plate figcaption { margin-top: 10px; font: 500 0.78rem/1.55 var(--mono); color: var(--muted); }
figcaption b { color: var(--amber); font-weight: 700; }

/* ---------------------------------------------------------------- exhibits */
.exhibit { padding-top: clamp(56px, 8vw, 104px); }
.ex-label { color: var(--muted); }
.ex-label span { display: inline-block; margin-right: 12px; padding: 5px 10px; border-radius: 4px; background: var(--amber); color: #0a0a0a; }
h2 { margin: 18px 0 0; max-width: 20ch; font: 700 clamp(2.4rem, 6vw, 4.6rem)/0.92 var(--display); text-transform: uppercase; color: var(--hi); }
.exhibit > p, .split p { max-width: 44rem; color: var(--body); }
.exhibit b { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 14px; margin-top: 24px; }
.facts p { margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--body); font-size: 0.98rem; }
.note { max-width: 46rem; font: 500 0.82rem/1.6 var(--mono); color: var(--muted); }

/* the charts are evidence sheets on paper, as in the book */
figure.fig { margin: 30px 0 6px; max-width: 100%; }
figure.fig svg { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
figure.fig figcaption { margin-top: 12px; max-width: 52rem; padding-left: 10px; border-left: 2px solid var(--cyan); font: 400 0.82rem/1.6 var(--mono); color: var(--muted); }

/* item cards, the case-file way: number left, stamp right */
.items { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 14px; margin-top: 28px; }
.item { padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.item-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font: 600 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.tag { padding: 4px 8px; border: 2px solid currentColor; border-radius: 3px; font-weight: 700; }
.tag-red { color: var(--red); }
.tag-amber { color: var(--amber); }
.tag-cyan { color: var(--cyan); }
.item h3 { margin: 12px 0 0; font: 600 1.2rem/1.25 var(--sans); color: #fff; }
.item p:last-child { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.split { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.split > div { flex: 999 1 420px; min-width: 0; }
.side-plate { flex: 1 1 260px; max-width: 340px; margin: 22px 0 0; }
.side-plate img { display: block; border-radius: 14px; border: 1px solid var(--line); }
.side-plate.wide { max-width: 280px; margin-top: 30px; }

.checks { list-style: none; margin: 28px 0 0; padding: 0; border-left: 2px solid var(--line); max-width: 46rem; }
.checks li { position: relative; padding: 0 0 22px 22px; }
.checks li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.checks .when { display: block; font: 700 0.72rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.checks b { display: block; margin-top: 2px; color: #fff; font-weight: 600; }
.checks .tests { display: block; font-size: 0.9rem; color: var(--muted); }

.sources { columns: 2 22rem; column-gap: 32px; margin: 22px 0 0; padding-left: 22px; font-size: 0.92rem; color: var(--muted); }
.sources li { break-inside: avoid; margin-bottom: 6px; }

/* ---------------------------------------------------------------- the blog front page */
.feature {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 40px;
  border-radius: 20px; text-decoration: none; color: inherit;
  transition: transform 0.25s ease;
}
.feature-in { display: flex; flex-wrap: wrap; width: 100%; border-radius: 18px; overflow: hidden; background: var(--bg-2); }
.feature-art { flex: 1 1 380px; min-width: 0; }
.feature-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.feature-copy { flex: 1 1 340px; min-width: 0; padding: clamp(22px, 3vw, 36px); }
.feature-copy h2 { max-width: none; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.feature-copy p { color: var(--body); }
.feature .go { display: inline-block; margin-top: 8px; font: 700 0.8rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-lift); }
.feature:hover { transform: translateY(-3px); }
.feature:hover .go { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font: 600 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.chips li b { color: var(--amber); font-weight: 700; margin-right: 6px; }
.also { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 14px; }
.also a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: inherit; text-decoration: none; }
.also a:hover { border-color: rgba(34, 211, 238, 0.5); }
.also b { display: block; font: 700 1.5rem/1 var(--display); text-transform: uppercase; color: var(--hi); }
.also span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------------- the lab (who's in it) */
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 18px; margin-top: 30px; }
.crew-card { position: relative; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.crew-art { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #000; }
.crew-art img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.crew-art::after {   /* a scanline sweep that runs on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, transparent 0 46%, rgba(34, 211, 238, 0.22) 50%, transparent 54% 100%);
  background-size: 100% 220%;
}
.crew-card:hover .crew-art img { transform: scale(1.04); }
.crew-meta { padding: 18px 20px 22px; }
.crew-meta .kicker { font-size: 0.7rem; }
.crew-meta h3 { margin: 8px 0 0; font: 700 clamp(2rem, 4vw, 2.8rem)/0.95 var(--display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--hi); }
.crew-meta .genre { margin: 8px 0 0; font: 600 0.72rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-lift); }
.crew-meta p { margin: 12px 0 0; color: var(--body); font-size: 0.98rem; }
.crew-meta .at { padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.crew-meta .at b { color: var(--cyan-lift); font: 700 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; margin-right: 8px; }
.room { margin-top: 30px; }
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 14px; margin-top: 24px; }
.why p { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--body); }
.split .why { grid-template-columns: 1fr; margin-top: 22px; }   /* beside a picture: one column, so the picture keeps its size */
.why b { display: block; margin-bottom: 4px; font: 700 1.3rem/1.05 var(--display); text-transform: uppercase; color: var(--hi); }

/* ================================================================ the rest of the site
   Homepage, Support, Privacy, Terms, Updates, team pages: the full NOIZE-LABS look (glow, glitch,
   motion, art) but none of the case-file devices. Exhibits, stamps and file cards belong to
   investigative Lab Notes only. */
.label { display: flex; align-items: center; gap: 12px; margin: 0; font: 700 0.74rem/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.label::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan)); }
.section { padding-top: clamp(56px, 8vw, 104px); }
.section > p { max-width: 44rem; color: var(--body); }

.sidecard { flex: 1 1 260px; max-width: 340px; margin: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sidecard img { display: block; width: 100%; height: auto; background: #000; }
.sidecard p { margin: 0; padding: 14px 16px 16px; font: 500 0.84rem/1.55 var(--mono); color: var(--muted); }
.sidecard p b { color: var(--fg); font-weight: 700; }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 10px; font: 700 0.78rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn-primary { color: #07070b; background: linear-gradient(90deg, var(--violet-lift), var(--cyan-lift)); box-shadow: 0 6px 24px rgba(34, 211, 238, 0.25); }
.btn-ghost { color: var(--fg); border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); }
.btn:hover { transform: translateY(-2px); color: #07070b; }
.btn-ghost:hover { color: #fff; border-color: var(--cyan); }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.product { position: relative; overflow: hidden; padding: 24px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.product::before {   /* a light running along the top edge; only a 2px strip repaints */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent) 0 0 / 200% 100%;
}
.product .n { font: 700 0.8rem/1 var(--mono); letter-spacing: 0.2em; color: var(--cyan); }
.product h3 { margin: 14px 0 0; font: 700 1.9rem/1 var(--display); text-transform: uppercase; color: var(--hi); }
.product p { margin: 12px 0 0; color: var(--body); font-size: 0.98rem; line-height: 1.65; }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 16px; margin-top: 28px; }
.panel { padding: 24px 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.panel h3 { margin: 0; font: 700 1.7rem/1 var(--display); text-transform: uppercase; color: var(--hi); }
.panel p { margin: 12px 0 0; color: var(--body); }
.panel strong { color: #fff; }
.contact { margin-top: 26px; padding: 26px 28px; border-radius: 18px; border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(120deg, rgba(34, 211, 238, 0.08), rgba(167, 139, 250, 0.08)); }
.contact p { margin: 0; max-width: 46rem; color: var(--body); font-size: 1.05rem; }

/* documents: Support, Privacy, Terms, Updates. The words are the content; this only dresses them. */
.doc { padding-top: clamp(40px, 6vw, 72px); }
.doc h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); line-height: 0.92; }
.doc .updated { margin: 14px 0 0; font: 500 0.8rem/1.5 var(--mono); letter-spacing: 0.08em; color: var(--faint); }
.doc .eyebrow { margin: 0; font: 700 0.76rem/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); }
.doc .lede { margin: 18px 0 0; max-width: 42rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.6; color: #d9d9e6; }
.doc h2 { margin: 52px 0 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; font: 700 clamp(1.7rem, 3vw, 2.3rem)/1 var(--display); text-transform: uppercase; color: var(--hi); }
.doc h3 { margin: 26px 0 0; font: 600 1.12rem/1.35 var(--sans); color: #fff; }
.doc p, .doc li, .doc address { max-width: 46rem; color: var(--body); }
.doc address { font-style: normal; line-height: 1.6; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: #fff; }
.doc .table-scroll { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.doc th { padding: 10px 14px; text-align: left; font: 700 0.7rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--line); }
.doc td { padding: 10px 14px; vertical-align: top; color: var(--body); border-bottom: 1px solid var(--line); }
.doc tr:last-child td { border-bottom: 0; }
.doc .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 14px; margin-top: 18px; }
.doc .card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.doc .card h3 { margin: 0; font: 700 1.5rem/1 var(--display); text-transform: uppercase; }
.doc .card p, .doc .card address { margin: 10px 0 0; }
.doc .hero { padding: 0 var(--gut) 8px; overflow: visible; }   /* keep .wrap's side gutter */
.doc .hero::after { content: none; }
.timeline { list-style: none; margin: 28px 0 0; padding: 0; max-width: 46rem; }
.timeline li { position: relative; margin-left: 6px; padding: 0 0 32px 26px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 12px rgba(34, 211, 238, 0.45); }
.timeline .date { display: block; margin-bottom: 4px; font: 700 0.74rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.timeline h3 { margin: 0 0 6px; }
.timeline p { margin: 0; }
.status { display: inline-block; margin-top: 10px; padding: 3px 10px; border: 1px solid currentColor; border-radius: 999px; font: 700 0.68rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-lift); }
.foot .legal { font-size: 0.86rem; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.foot-social a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); text-decoration: none;
  font: 600 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.foot-social a:hover, .foot-social a:focus-visible { color: #fff; border-color: var(--cyan); background: rgba(0, 255, 249, 0.06); }
.foot address { font-style: normal; color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ---------------------------------------------------------------- the homepage stage */
.stage { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: min(92vh, 920px); padding: 120px 0 56px; }
.stage-art { position: absolute; inset: -4%; z-index: -3; background: url("/blog/img/lab-notes-cover.webp") 62% 40% / cover no-repeat; }
.stage::before {   /* legibility: dark from the left and the bottom */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(8, 8, 12, 0.94) 0%, rgba(8, 8, 12, 0.72) 42%, rgba(8, 8, 12, 0.15) 75%),
              linear-gradient(0deg, #08080c 0%, rgba(8, 8, 12, 0) 45%);
}
.stage::after {   /* scanlines over everything */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px);
}
.orb { position: absolute; z-index: -1; width: 46vmax; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: 0.38; pointer-events: none; }
.orb-a { left: -12vmax; top: -14vmax; background: radial-gradient(circle, rgba(167, 139, 250, 0.9), transparent 62%); }
.orb-b { right: -16vmax; bottom: -18vmax; background: radial-gradient(circle, rgba(34, 211, 238, 0.8), transparent 62%); }
.stage-in { width: 100%; }
.stage .kicker { color: var(--cyan-lift); }
.lockup { margin: 10px 0 0; font-size: clamp(4.4rem, 15.5vw, 13rem); line-height: 0.8; letter-spacing: 0.01em; }
.lockup span { color: var(--cyan); }
.tagline { margin: 18px 0 0; max-width: 16ch; font: 700 clamp(1.8rem, 4.4vw, 3.4rem)/0.98 var(--display); text-transform: uppercase;
  background: linear-gradient(90deg, var(--violet-lift), var(--cyan-lift)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage .dek { max-width: 36rem; }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 30px; }
.eq i { display: block; width: 6px; height: 100%; border-radius: 3px; transform-origin: 50% 100%; transform: scaleY(0.35);
  background: linear-gradient(0deg, var(--violet), var(--cyan)); }
.eq-sm { height: 22px; gap: 3px; margin: 0 0 14px; }
.eq-sm i { width: 4px; }

/* the outlined word band */
.marquee { overflow: hidden; margin-top: clamp(48px, 7vw, 88px); padding: 6px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.marquee .track { display: inline-flex; }
.marquee span { flex: none; padding-right: 0.4em; font: 700 clamp(3rem, 9vw, 7.5rem)/1 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(228, 228, 239, 0.22); }
.marquee span b { font-weight: 700; color: var(--cyan); -webkit-text-stroke: 0; }

.product { transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.product:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 18px 50px rgba(34, 211, 238, 0.12); }
.panel { position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -30%; top: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), transparent 65%); }
.feature-plain .feature-copy .kicker { color: var(--cyan); }

/* ---------------------------------------------------------------- post: Gemini owes me 163
   Not a case file: its own look is the Vite error overlay. Her words are phosphor green and mono,
   Gemini's are violet. The click-through loop is CSS only: eight radio buttons, one visible step. */
.gm-card-art { display: flex; align-items: center; padding: clamp(18px, 3vw, 34px); background: #0b0a10; }
.gm-card-art .gm-ov { width: 100%; }
.gm, .gm-card-art { --gm-err: #ff5c6c; --gm-path: #f2c14e; --gm-her: #39ff88; --gm-gem: #c4b5fd; --gm-panel: #17151f; --gm-panel-2: #211e2c; --gm-line: #302b40; }
.gm-her { color: var(--gm-her); font-family: var(--mono); }
.gm-gem { color: var(--gm-gem); }
.gm-h1 { display: grid; gap: 6px; margin-top: 10px; line-height: 0.86; }
.gm-h1-a, .gm-h1-b { font-size: clamp(2.6rem, 9vw, 5.2rem); }
.gm-big { font-size: clamp(8rem, 36vw, 17rem); line-height: 0.78; color: var(--hi); text-shadow: 4px 0 var(--gm-err), -4px 0 var(--violet); }
.gm-by { margin: 22px 0 0; font: 600 0.78rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet-lift); }
.gm .dek em { color: var(--muted); }
.gm-hero-ov { margin-top: 34px; }
.gm-hero { padding-bottom: 0; }

.gm-ov { min-width: 0; padding: 22px 24px 18px; border-top: 8px solid var(--gm-err); border-radius: 6px; background: var(--gm-panel);
  box-shadow: 0 22px 60px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--gm-line); font: 400 0.86rem/1.55 var(--mono); }
.gm-ov p { margin: 0; }
.gm-ov-head { color: var(--gm-err); font-weight: 700; white-space: pre-wrap; overflow-wrap: anywhere; }
.gm-ov-msg { margin-top: 6px !important; color: var(--gm-err); white-space: pre-wrap; overflow-wrap: anywhere; }
.gm-frame { margin: 12px 0 0; padding: 12px 14px; overflow-x: auto; border-radius: 4px; background: var(--gm-panel-2); color: var(--fg); font: inherit; white-space: pre; }
.gm-frame .e { color: var(--gm-err); }
.gm-ov-file { margin-top: 12px !important; color: var(--gm-path); overflow-wrap: anywhere; }
.gm-ov-tip { margin-top: 14px !important; padding-top: 10px; border-top: 1px dotted var(--gm-line); color: var(--muted); font-size: 0.78rem; }

.gm-sum { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 20px; margin: 26px 0 24px; }
.gm-sum div { display: grid; gap: 6px; max-width: 16rem; }
.gm-sum b { font: 700 clamp(3.8rem, 13vw, 6rem)/0.85 var(--display); font-variant-numeric: tabular-nums; color: var(--hi); }
.gm-sum span { color: var(--muted); font-size: 0.98rem; line-height: 1.4; }
.gm-sum i { padding-bottom: 30px; font: 700 2.8rem/1 var(--display); font-style: normal; color: var(--faint); }
.gm-sum .gm-total b { color: var(--gm-err); text-shadow: 3px 0 var(--violet); }
.gm-h3 { margin: 30px 0 12px; font: 700 0.78rem/1.4 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); }
.gm-nope { display: grid; gap: 16px; max-width: 46rem; margin: 0; padding: 0; list-style: none; }
.gm-nope li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); gap: 14px; align-items: baseline; color: var(--body); }
.gm-nope li > b { text-align: right; font: 700 2.2rem/1 var(--display); color: var(--faint); font-variant-numeric: tabular-nums; }

.gm-fig { max-width: 52rem; }
.gm-fig svg { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04), 0 24px 60px rgba(0, 0, 0, 0.45); }

/* the loop */
.gm-loop { margin-top: 30px; }
.gm-r { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.gm-step { display: none; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
#gm-s1:checked ~ .gm-steps .gm-step-1, #gm-s2:checked ~ .gm-steps .gm-step-2, #gm-s3:checked ~ .gm-steps .gm-step-3,
#gm-s4:checked ~ .gm-steps .gm-step-4, #gm-s5:checked ~ .gm-steps .gm-step-5, #gm-s6:checked ~ .gm-steps .gm-step-6,
#gm-s7:checked ~ .gm-steps .gm-step-7, #gm-s8:checked ~ .gm-steps .gm-step-8 { display: grid; }
.gm-screen { min-width: 0; overflow: hidden; border-radius: 8px; background: var(--gm-panel); box-shadow: 0 0 0 1px var(--gm-line), 0 26px 70px rgba(0, 0, 0, 0.5); }
.gm-chrome { display: flex; align-items: center; gap: 6px; margin: 0; padding: 8px 12px; background: var(--gm-panel-2); font: 400 0.74rem/1.2 var(--mono); color: var(--muted); }
.gm-chrome i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gm-line); }
.gm-chrome b { min-width: 0; margin-left: 8px; overflow: hidden; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.gm-view { display: grid; align-content: start; gap: 12px; min-height: 320px; padding: 18px; }
.gm-view > * { min-width: 0; }
.gm-black { align-content: end; background: #000; }
.gm-white { align-content: end; background: #f5f5f1; }
.gm-ghost { margin: 0; font: 400 0.75rem/1 var(--mono); color: #2a2a2a; }
.gm-white .gm-ghost { color: #d6d6d0; }
.gm-bubble { justify-self: end; max-width: 90%; margin: 0; padding: 10px 14px; border: 1px solid var(--gm-line); border-radius: 14px 14px 4px 14px; background: var(--gm-panel-2); color: var(--gm-her); font: 400 0.95rem/1.4 var(--mono); }
.gm-ov-in { box-shadow: none; }
.gm-side { display: grid; gap: 14px; min-width: 0; }
.gm-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.gm-run { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 6px; background: var(--gm-her); color: #04130a; cursor: pointer;
  font: 700 0.86rem/1 var(--mono); user-select: none; transition: transform 0.15s ease, filter 0.15s ease; }
.gm-run:hover { filter: brightness(1.1); transform: translateY(-1px); }
.gm-count { font: 400 0.82rem/1 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.gm-when { font: 400 0.82rem/1 var(--mono); color: var(--gm-path); }
.gm-reply { min-height: 150px; padding: 14px 16px; border: 1px solid var(--gm-line); border-radius: 4px 14px 14px 14px; background: var(--gm-panel); }
.gm-who { margin: 0 0 6px; font: 700 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gm-gem); }
.gm-said { margin: 0; color: var(--fg); font-size: 1rem; }
.gm-aside { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }
.gm-tl { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 4px 16px; margin: 18px 0 0; padding: 12px 0 0; border-top: 1px solid var(--gm-line); list-style: none; }
.gm-tl label { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr); gap: 8px; padding: 7px 8px; border-radius: 4px; color: var(--muted); cursor: pointer; font-size: 0.92rem; }
.gm-tl label:hover { color: var(--hi); background: var(--gm-panel); }
.gm-tl .tt { font: 400 0.78rem/1.6 var(--mono); color: var(--gm-path); }
#gm-s1:checked ~ .gm-tl label[for="gm-s1"], #gm-s2:checked ~ .gm-tl label[for="gm-s2"], #gm-s3:checked ~ .gm-tl label[for="gm-s3"],
#gm-s4:checked ~ .gm-tl label[for="gm-s4"], #gm-s5:checked ~ .gm-tl label[for="gm-s5"], #gm-s6:checked ~ .gm-tl label[for="gm-s6"],
#gm-s7:checked ~ .gm-tl label[for="gm-s7"], #gm-s8:checked ~ .gm-tl label[for="gm-s8"] { color: var(--hi); background: var(--gm-panel-2); box-shadow: inset 3px 0 0 var(--gm-err); }
#gm-s1:focus-visible ~ .gm-tl label[for="gm-s1"], #gm-s2:focus-visible ~ .gm-tl label[for="gm-s2"], #gm-s3:focus-visible ~ .gm-tl label[for="gm-s3"],
#gm-s4:focus-visible ~ .gm-tl label[for="gm-s4"], #gm-s5:focus-visible ~ .gm-tl label[for="gm-s5"], #gm-s6:focus-visible ~ .gm-tl label[for="gm-s6"],
#gm-s7:focus-visible ~ .gm-tl label[for="gm-s7"], #gm-s8:focus-visible ~ .gm-tl label[for="gm-s8"] { outline: 2px solid var(--gm-her); outline-offset: 2px; }

.gm-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1px; margin-top: 30px; overflow: hidden; border: 1px solid var(--gm-line); border-radius: 8px; background: var(--gm-line); }
.gm-strip div { display: grid; gap: 4px; padding: 16px 18px; background: var(--bg); }
.gm-strip b { font: 700 2.8rem/1 var(--display); color: var(--hi); font-variant-numeric: tabular-nums; }
.gm-strip span { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.gm-bonus { max-width: 46rem; margin-top: 26px; padding: 16px 18px; border: 1px dashed var(--gm-line); border-radius: 8px; }
.gm-bonus p { margin: 0; color: var(--body); }
.gm-eyebrow { display: block; margin-bottom: 4px; font: 700 0.72rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }

.gm-hits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin-top: 24px; }
.gm-hits.gm-one { grid-template-columns: minmax(0, 1fr); max-width: 46rem; }
.gm-hit { display: grid; align-content: start; gap: 8px; padding: 20px 0 22px; border-top: 1px solid var(--line); }
.gm-hit p { margin: 0; }
.gm-time { font: 700 0.72rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.gm-hit .gm-her { font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }
.gm-hit .gm-gem { font-style: italic; line-height: 1.55; }
.gm-hit .gm-gem::before { content: "\21B3  "; font-style: normal; color: var(--faint); }
.gm-why { color: var(--muted); font-size: 0.92rem; }

.gm-tbl { max-width: 40rem; overflow-x: auto; }
.gm-vs { width: 100%; margin: 20px 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.gm-vs th, .gm-vs td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.gm-vs thead th { font: 700 0.76rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.gm-vs tbody th { text-align: left; font-weight: 400; color: var(--muted); }
.gm-vs td { font: 400 1.05rem/1 var(--mono); color: var(--fg); }
.gm-vs .gm-hl td, .gm-vs .gm-hl th { color: var(--gm-err); font-weight: 700; }

@keyframes gm-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gm-crash { 0% { opacity: 0; transform: translateY(-14px) scale(0.98); } 55% { opacity: 1; transform: translateY(3px) rotate(-0.4deg); } 75% { transform: translateX(-4px); } 100% { opacity: 1; transform: none; } }
@keyframes gm-growy { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 820px) {
  .gm-step { grid-template-columns: minmax(0, 1fr); }
  .gm-hits { grid-template-columns: minmax(0, 1fr); }
  .gm-view { min-height: 240px; }
}

/* ---------------------------------------------------------------- footer */
.foot { margin-top: 104px; border-top: 1px solid var(--line); background: #06060a; }
.foot-in { padding-top: 36px; padding-bottom: 48px; }
.foot-brand { margin: 0; font: 700 1.7rem/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--hi); }
.foot-brand span { color: var(--cyan); }
.foot p { color: var(--muted); font-size: 0.92rem; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: #fff; }

/* ================================================================ motion
   Everything below is decoration. Without it, every element is already in its final state. */
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes glitch-a {
  0%, 84%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  85% { opacity: 0.9; transform: translate(-5px, 1px); clip-path: inset(10% 0 62% 0); }
  87% { transform: translate(4px, -1px); clip-path: inset(58% 0 12% 0); }
  89% { opacity: 0.9; transform: translate(-2px, 0); clip-path: inset(32% 0 44% 0); }
  91% { opacity: 0; }
}
@keyframes glitch-b {
  0%, 85%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  86% { opacity: 0.85; transform: translate(5px, -1px); clip-path: inset(66% 0 6% 0); }
  88% { transform: translate(-4px, 1px); clip-path: inset(18% 0 56% 0); }
  90% { opacity: 0.85; transform: translate(2px, 0); clip-path: inset(44% 0 30% 0); }
  92% { opacity: 0; }
}
@keyframes slam { 0% { opacity: 0; transform: rotate(-2.5deg) scale(1.9); } 60% { opacity: 1; transform: rotate(-2.5deg) scale(0.94); } 100% { opacity: 1; transform: rotate(-2.5deg) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes scan { to { background-position: 0 240px; } }
@keyframes flicker {
  0%, 100% { filter: none; }
  47% { filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.45)); }
  50% { filter: drop-shadow(0 0 22px rgba(167, 139, 250, 0.55)) brightness(1.08); }
  53% { filter: none; }
}
@keyframes turn { to { rotate: 360deg; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }
@keyframes flow { from { background-position: 200% 0; } to { background-position: 0 0; } }
@keyframes drift-art { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
@keyframes orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8vmax, 6vmax, 0) scale(1.15); } }
@keyframes eq { 0% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0.45); } }
@keyframes sweep { from { opacity: 1; background-position: 0 120%; } to { opacity: 1; background-position: 0 -120%; } }

@media (prefers-reduced-motion: no-preference) {
  .ticker .track { animation: tick 52s linear infinite; }
  .glitch::before { animation: glitch-a 5.5s infinite; }
  .glitch::after { animation: glitch-b 5.5s infinite 0.07s; }
  .hero .stamp { animation: slam 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) 0.35s both; }
  .hero::after { animation: scan 7s linear infinite; }
  .filecard .mark img { animation: flicker 6s ease-in-out infinite; }
  .plate-frame::before, .feature::before { animation: turn 9s linear infinite; }
  .plate { animation: rise 0.9s ease 0.15s both; }
  .crew-card:hover .crew-art::after { animation: sweep 1.1s ease-in-out infinite; }
  .stage-art { animation: drift-art 22s ease-in-out infinite alternate; }
  .orb-a { animation: orb 16s ease-in-out infinite alternate; }
  .orb-b { animation: orb 19s ease-in-out -6s infinite alternate-reverse; }
  .eq i { animation: eq 1.1s ease-in-out infinite; }
  .eq i:nth-child(3n+1) { animation-duration: 0.9s; }
  .eq i:nth-child(3n+2) { animation-duration: 1.35s; }
  .eq i:nth-child(4n) { animation-duration: 0.75s; }
  .eq i:nth-child(2) { animation-delay: -0.2s; } .eq i:nth-child(3) { animation-delay: -0.5s; } .eq i:nth-child(4) { animation-delay: -0.1s; }
  .eq i:nth-child(5) { animation-delay: -0.7s; } .eq i:nth-child(6) { animation-delay: -0.3s; } .eq i:nth-child(7) { animation-delay: -0.9s; }
  .eq i:nth-child(8) { animation-delay: -0.4s; } .eq i:nth-child(9) { animation-delay: -0.6s; } .eq i:nth-child(10) { animation-delay: -0.15s; }
  .eq i:nth-child(11) { animation-delay: -0.8s; } .eq i:nth-child(12) { animation-delay: -0.35s; } .eq i:nth-child(13) { animation-delay: -0.55s; }
  .eq i:nth-child(14) { animation-delay: -0.25s; } .eq i:nth-child(15) { animation-delay: -0.65s; } .eq i:nth-child(16) { animation-delay: -0.45s; }
  .marquee .track { animation: tick 38s linear infinite; }
  .product::before { animation: flow 5s linear infinite; }
  .product:nth-child(2)::before { animation-delay: -1.7s; }
  .product:nth-child(3)::before { animation-delay: -3.4s; }
  @supports (animation-timeline: view()) {
    .section { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }

  /* the charts draw themselves: bars grow, solid lines are drawn, dashed lines and points arrive last */
  figure.fig .g-bar { transform-box: fill-box; transform-origin: 0 50%; animation: grow 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
  figure.fig .g-line { stroke-dasharray: 1; animation: draw 1.6s ease-out 0.2s both; }
  figure.fig .g-fade { animation: fadein 1s ease 0.1s both; }
  figure.fig .g-dash { animation: fadein 0.9s ease 1s both; }
  figure.fig .g-dot, figure.fig .g-pop { transform-box: fill-box; transform-origin: center; animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1) 1.15s both; }

  /* Gemini post: each step of the loop replays when it appears (display:none restarts animations) */
  .gm-step .gm-ov-in { animation: gm-crash 0.5s cubic-bezier(0.2, 1.2, 0.4, 1) both; }
  .gm-step .gm-bubble { animation: rise 0.35s ease both; }
  .gm-step .gm-said { animation: gm-reveal 1.4s steps(9, end) 0.25s both; }
  .gm-step .gm-aside { animation: fadein 0.6s ease 1.6s both; }
  .gm-hero-ov .gm-ov { animation: gm-crash 0.6s cubic-bezier(0.2, 1.2, 0.4, 1) 0.4s both; }
  figure.fig .gm-col { transform-box: fill-box; transform-origin: 50% 100%; animation: gm-growy 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }

  /* where the browser can tie animation to scrolling, each exhibit and chart plays as it comes into view */
  @supports (animation-timeline: view()) {
    .exhibit { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    figure.fig { view-timeline-name: --fig; }
    figure.fig .g-bar, figure.fig .g-line, figure.fig .g-fade, figure.fig .g-dash, figure.fig .g-dot, figure.fig .g-pop, figure.fig .gm-col {
      animation-timeline: --fig; animation-delay: 0s; animation-duration: auto;
    }
    figure.fig .g-bar, figure.fig .g-fade, figure.fig .gm-col { animation-range: entry 10% cover 35%; }
    figure.fig .g-line { animation-range: entry 15% cover 45%; }
    figure.fig .g-dash { animation-range: cover 25% cover 50%; }
    figure.fig .g-dot, figure.fig .g-pop { animation-range: cover 30% cover 50%; }
  }
}

@media (max-width: 640px) {
  .top nav { gap: 0 14px; }
  /* phones: the edge glow stays still (cards stack tall here, and a still edge costs no battery) */
  .plate-frame::before, .feature::before { left: 0; top: 0; width: 100%; height: 100%; aspect-ratio: auto; translate: none; animation: none; }
  .filecard { max-width: none; }
  .side-plate, .side-plate.wide { max-width: none; }
}
