/* John Johansson — site styles
   Style: "Day Trade" (direction #36 on the design canvas), chosen by John. Warm off-white paper, near-black
   ink, one amber accent; tall condensed capitals for display type over a plain sans for reading. Motion is
   small and purposeful: an amber bar draws under the name, figures roll up, sections rise in, cards lift. */

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --white: #ffffff;
  --ink: #141414;
  --muted: #4b4944;
  --soft: #e9e7e1;
  --amber: #f2a900;
  --amber-ink: #141414;

  --font-display: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --font-text: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --step-sub: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --step-head: clamp(2.125rem, 1.5rem + 2.4vw, 3.25rem);
  --step-display: clamp(4.25rem, 1.5rem + 10vw, 10rem);
  --step-figure: clamp(3.5rem, 2rem + 4vw, 5.25rem);

  --margin: clamp(1rem, 3.4vw, 3rem);
  --section: clamp(4.5rem, 8vw, 7rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 50; padding: 0.75rem 1rem; background: var(--amber); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
.caps { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: 0.9; }
.head { font-size: var(--step-head); line-height: 1; }
.muted { color: var(--muted); }
p { max-width: 64ch; text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { padding-inline: var(--margin); }
.section { padding-block: var(--section); }
.band { background: var(--white); }
.band .row, .band .card, .band .vol-panel, .band .list td, .band .coming li { background: var(--paper); }
.section-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; gap: 0.55em; min-height: 3rem; padding: 0 1.4rem; background: var(--amber); color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 180ms ease, color 180ms ease, transform 140ms var(--ease-out); }
.button:active { transform: scale(0.97); }
.button--ink { background: var(--ink); color: var(--paper); }
.button--white { background: var(--white); color: var(--ink); }
.arrow { display: inline-block; transition: transform 240ms var(--ease-out); }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; text-decoration-color: var(--amber); transition: text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink); color: var(--paper); }
  .button--ink:hover { background: var(--amber); color: var(--ink); }
  .button--white:hover { background: var(--ink); color: var(--paper); }
  .link:hover { text-decoration-color: var(--ink); }
  a:hover .arrow, button:hover .arrow { transform: translateX(4px); }
}

/* ---------- header ---------- */
.site-header { position: relative; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem var(--margin); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 500; }
.nav a:not(.button) { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 0.35em; transition: text-decoration-color 180ms ease; }
.nav a[aria-current="page"] { text-decoration-color: var(--amber); }
@media (hover: hover) and (pointer: fine) { .nav a:not(.button):hover { text-decoration-color: var(--ink); } }
.nav .button { min-height: 2.6rem; padding: 0 1.1rem; }
.menu { display: none; position: relative; }
.menu-toggle { display: inline-block; padding: 0.6rem 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; text-decoration-color: var(--amber); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 40; min-width: 14rem; padding: 0.5rem 0; background: var(--ink); color: var(--paper); }
.menu-panel a { display: block; padding: 0.85rem 1.25rem; font-weight: 500; text-decoration: none; }
.menu-panel a[aria-current="page"] { background: var(--amber); color: var(--ink); }
@media (max-width: 60rem) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- hero (home and inner pages) ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(2rem, 4vw, 3rem); padding: clamp(2.5rem, 6vw, 5rem) var(--margin) clamp(3rem, 6vw, 4.5rem); }
.hero-text { flex: 999 1 34rem; min-width: 0; }
.display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-display); line-height: 0.86; }
.amber-bar { height: 10px; width: min(26rem, 70%); margin-top: 1.4rem; background: var(--amber); transform-origin: 0 50%; }
.hero-role { margin-top: 1.6rem; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.45; font-weight: 600; max-width: none; }
.role-part { white-space: nowrap; }
.sep { margin: 0 0.35em; color: var(--amber); font-weight: 700; }
.hero-now { margin-top: 0.5rem; color: var(--muted); max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.hero-photo { flex: 1 1 15rem; max-width: 20rem; width: 100%; aspect-ratio: 1; object-fit: cover; margin-left: auto; align-self: flex-start; }
.hero-card { flex: 1 1 15rem; max-width: 20rem; margin: 0; padding: 14px; background: var(--white); }
.hero-card img { width: 100%; height: auto; }
.hero-card figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); }
.hero-list { flex: 1 1 18rem; max-width: 26rem; display: grid; gap: 6px; }
.hero-list li { padding: 1.1rem 1.25rem; background: var(--white); }
.hero-list strong { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; }
.hero-list strong::before { content: ""; width: 0.7rem; height: 0.7rem; background: var(--amber); }
.hero-list span { display: block; margin-top: 0.2rem; color: var(--muted); }

/* ---------- figures band ---------- */
.figures { display: flex; flex-wrap: wrap; gap: 2rem; padding: clamp(2.25rem, 4vw, 2.75rem) var(--margin); background: var(--white); font-family: var(--font-display); text-transform: uppercase; }
.figures > div { flex: 1 1 12rem; }
.figures dt { overflow: hidden; font-weight: 700; font-size: var(--step-figure); line-height: 1; }
.figures dt span { display: block; }
.figures dd { margin-top: 0.25rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- about ---------- */
.about { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 4rem); }
.about-text { flex: 999 1 34rem; min-width: 0; }
.statement { font-size: var(--step-lead); line-height: 1.4; font-weight: 500; max-width: none; }
.about-copy { margin-top: 1.25rem; color: var(--muted); max-width: none; }
.facts { flex: 1 1 13rem; max-width: 17rem; display: grid; align-content: start; gap: 1.1rem; }
@media (max-width: 40rem) { .facts { max-width: none; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; } }
.facts dt { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; font-size: 1.25rem; }
.facts dd { color: var(--muted); }

/* ---------- experience ---------- */
.rows { display: grid; gap: 6px; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; padding: 1.4rem 1.5rem; background: var(--white); transition: transform 300ms var(--ease-out); }
.row-name { flex: 1 1 16rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-sub); line-height: 1; }
.row-role { flex: 2 1 18rem; }
.row-role span { display: block; }
.row-industry { flex: 1 1 8rem; font-weight: 600; }
.row-industry::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.5em; background: var(--amber); }
.row-meta { flex: 1 1 10rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .row:hover { transform: translateX(6px); } }
@media (max-width: 40rem) { .row-meta { text-align: left; } }

/* ---------- recognition ---------- */
.honours { display: flex; flex-wrap: wrap; gap: 2.5rem; }
.honours > div { flex: 1 1 16rem; }
.honours h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; letter-spacing: 0.02em; }
.honours h3::before { content: ""; width: 0.75rem; height: 0.75rem; background: var(--amber); }
.honours ul { padding: 0; list-style: none; }
.honours li + li { margin-top: 0.9rem; }
.honours strong { display: block; font-weight: 600; }
.honours span { color: var(--muted); }

/* ---------- tools ---------- */
.tools { display: flex; flex-wrap: wrap; gap: 0.35em 1.1em; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-sub); line-height: 1.05; }

/* ---------- work cards ---------- */
/* capped so dashboards stay a readable size on very wide screens */
.cards { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; max-width: 80rem; }
/* heading and grid share the same capped width and sit centered once the page is wider */
.section--centered > * { max-width: 80rem; margin-inline: auto; }
.card { flex: 1 1 18rem; margin: 0; padding: 14px; background: var(--white); transition: transform 500ms var(--ease-out); }
.card--wide { flex: 2 1 26rem; }
.card img { width: 100%; height: auto; }
.card figcaption { margin-top: 0.85rem; }
.card-title { display: block; font-weight: 600; }
.card-meta { display: block; color: var(--muted); }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 0.65rem; font-size: var(--step-small); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-6px); } }
.section-foot { margin-top: 2rem; }
/* rows whose cards share one height, captions aligned along the bottom */
.cards--even { align-items: stretch; }
.cards--even .card { display: flex; flex-direction: column; }
.cards--even .card figcaption { margin-top: auto; padding-top: 0.85rem; }
.card-actions:empty { display: none; }

/* ---------- catalog (projects) ---------- */
.catalog { display: flex; flex-wrap: wrap; gap: clamp(2rem, 4vw, 3rem); align-items: flex-start; max-width: 80rem; margin-inline: auto; }
.catalog-side { flex: 1 1 18rem; max-width: 34rem; position: sticky; top: 1.5rem; }
/* capped so the full dashboard stays a readable size and roughly fits one screen in height */
.catalog-stage { flex: 0 1 40rem; min-width: 0; max-width: min(40rem, 100%); margin-left: auto; }
.catalog-intro { margin-top: 1rem; color: var(--muted); }
.vol-tabs { display: flex; gap: 6px; margin-top: 1.75rem; }
.vol-tab { min-width: 3.25rem; min-height: 3.25rem; padding: 0 0.8rem; background: var(--soft); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; transition: background-color 180ms ease, color 180ms ease; }
.vol-tab[aria-selected="true"] { background: var(--amber); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .vol-tab:not([aria-selected="true"]):hover { background: var(--ink); color: var(--paper); } }
.vol-info { margin-top: 1.5rem; }
.vol-info h3 { font-weight: 600; }
.vol-info p { margin-top: 0.3rem; color: var(--muted); }
.catalog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.vol-panel { margin: 0; padding: 14px; background: var(--white); }
.vol-panel img { width: 100%; height: auto; }
@media (max-width: 52rem) { .catalog-side { position: static; } }

/* live Tableau embed, rendered at the dashboard's fixed size and scaled to fit; nothing is cropped */
.viz-live { position: relative; overflow: hidden; background: var(--white); }
.viz-live iframe { position: absolute; top: 0; left: 0; max-width: none; border: 0; transform-origin: 0 0; transform: scale(var(--viz-scale, 1)); }
.viz-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 500; }

/* ---------- list table (projects) ---------- */
.list { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.list caption { text-align: left; margin-bottom: 0.75rem; color: var(--muted); }
.list th { text-align: left; padding: 0 1.25rem 0.25rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.list td { padding: 1rem 1.25rem; background: var(--white); }
.list td a { font-weight: 600; text-decoration: none; }
.list td a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.list td:last-child { color: var(--muted); }
@media (max-width: 40rem) { .list td { padding: 0.9rem 0.85rem; } }
.table-scroll { overflow-x: auto; }
.list--sources td { overflow-wrap: anywhere; }
.list--sources td:last-child { color: var(--ink); }
.list--sources td strong { font-weight: 600; }
.list--sources .links { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.list--sources .links a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.list caption a { color: var(--ink); }

.coming { display: flex; flex-wrap: wrap; gap: 2rem; }
.coming h2 { flex: 1 1 16rem; }
.coming ul { flex: 2 1 28rem; display: grid; gap: 6px; }
.coming li { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; padding: 1.25rem; background: var(--white); }
.coming strong { flex: 1 1 12rem; font-weight: 600; }
.coming span { flex: 2 1 18rem; color: var(--muted); }

/* ---------- projects: write-up beside its graphic ---------- */
.project { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(2rem, 5vw, 4rem); max-width: 80rem; margin-inline: auto; }
.project-text { flex: 1 1 22rem; max-width: 36rem; position: sticky; top: 1.5rem; }
.project-kicker { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 0.85rem; }
.project-intro { margin-top: 1.25rem; color: var(--muted); }
.project-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 6px; margin-top: 1.75rem; }
.project-stats div { padding: 1rem 1.1rem; background: var(--paper); }
.project-stats dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); line-height: 1; }
.project-stats dd { margin-top: 0.35rem; color: var(--muted); font-size: var(--step-small); }
.project-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1.5rem; }
.project-tools li { padding: 0.3rem 0.7rem; background: var(--ink); color: var(--paper); font-size: var(--step-small); font-weight: 600; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.project-figure { flex: 0 1 34rem; min-width: 0; max-width: min(34rem, 100%); margin-left: auto; }
.project-figure img { width: 100%; }
@media (max-width: 52rem) { .project-text { position: static; } }
@media (max-width: 40rem) {
  .project-stats { grid-template-columns: 1fr 1fr; }
  .project-stats div:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
}

/* ---------- archive: section index + lists of name, year, link ---------- */
.archive { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(2rem, 5vw, 4rem); padding-bottom: var(--section); }
.archive-index { flex: 1 1 15.5rem; max-width: 17rem; position: sticky; top: 1.5rem; }
.archive-index ol { display: grid; gap: 2px; padding: 0; list-style: none; }
.archive-index a { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.6rem 0.9rem; background: var(--white); font-weight: 600; text-decoration: none; transition: background-color 160ms var(--ease-out); }
.archive-index a span { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .archive-index a:hover { background: var(--amber); } .archive-index a:hover span { color: var(--ink); } }
.archive-groups { flex: 999 1 36rem; min-width: 0; display: grid; gap: clamp(3rem, 6vw, 4.5rem); }
.archive-group { scroll-margin-top: 1.5rem; }
.archive-head { display: flex; align-items: baseline; gap: 0.75rem; font-size: var(--step-sub); letter-spacing: 0.01em; }
.archive-head::before { content: ""; align-self: center; width: 0.6em; height: 0.6em; background: var(--amber); }
.archive-head span { color: var(--muted); font-size: 0.6em; font-weight: 600; font-variant-numeric: tabular-nums; }
.archive-list { display: grid; gap: 6px; margin-top: 1.25rem; }
.archive-list li { display: grid; grid-template-columns: minmax(0, 1fr) 8.5rem 11rem; align-items: baseline; gap: 0.35rem 1.5rem; padding: 1rem 1.25rem; background: var(--white); }
.archive-name { font-weight: 600; max-width: none; }
.archive-detail { display: block; margin-top: 0.15rem; color: var(--muted); font-size: var(--step-small); font-weight: 400; }
.archive-year { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.archive-link { justify-self: end; font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.archive-link span { display: inline-block; transition: transform 160ms var(--ease-out); }
@media (hover: hover) { a.archive-link:hover span { transform: translate(2px, -2px); } }
@media (max-width: 52rem) {
  .archive-index { position: static; flex-basis: 100%; max-width: none; }
  .archive-index ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .archive-index a { padding: 0.45rem 0.75rem; }
}
@media (max-width: 40rem) {
  .archive-list li { grid-template-columns: minmax(0, 1fr) auto; padding: 0.9rem 0.85rem; }
  .archive-name { grid-column: 1 / -1; }
}

/* ---------- dialog ---------- */
.viz-dialog { width: min(1240px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--ink); color: var(--paper); }
.viz-dialog::backdrop { background: rgba(20, 20, 20, 0.8); }
.viz-dialog-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1rem 0.85rem 1.25rem; background: var(--ink); }
.viz-dialog-bar p { font-weight: 600; }
.viz-dialog-bar div { display: flex; gap: 1.25rem; align-items: center; font-size: var(--step-small); }
.viz-dialog-close { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; background: var(--amber); color: var(--ink); }
.viz-dialog-body { padding: 0 1rem 1rem; }

/* ---------- footer ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) var(--margin) 2rem; background: var(--ink); color: var(--paper); }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.footer-cta p { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: var(--step-figure); line-height: 0.88; max-width: none; }
.footer-cta p span { color: var(--amber); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 2rem 3rem; margin-top: clamp(3rem, 6vw, 4.5rem); font-size: var(--step-small); }
.footer-cols > div { flex: 1 1 11rem; }
.footer-cols h3 { margin-bottom: 0.6rem; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--step-small); color: #b9b6ad; }
.footer-cols ul { display: grid; gap: 0.35rem; padding: 0; list-style: none; }
.footer-cols li { color: #d8d5cc; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.footer-legal { margin-top: 2.5rem; font-size: var(--step-small); color: #9a978e; }

/* ---------- motion ---------- */
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes rollup { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .amber-bar { animation: draw 1100ms var(--ease-in-out) both; animation-delay: 200ms; }
  .js [data-rise] { animation: rise 800ms ease both; animation-delay: calc(var(--i, 0) * 80ms + 350ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .figures dt span { transform: translateY(100%); }
  .js .figures.is-in dt span { animation: rollup 900ms var(--ease-expo) both; animation-delay: calc(var(--i, 0) * 100ms + 100ms); }
}
