/* Nova Fellow landing page. Direction: colour chapters. One face (General Sans), flat fields, square corners. */

:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --ink: #0a0a0a;
  --accent: #2436ff;
  --accent-ink: #ffffff;
  --red: #ff3b1f;
  --navy: #050a5c;

  --font: "General Sans", "Helvetica Neue", Arial, sans-serif;

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-sub: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(3rem, 8.3vw, 8rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --chapter: clamp(5rem, 10vw, 10rem);

  --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);
  --t-press: 140ms;
  --t-hover: 180ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
a { color: inherit; }
:target { scroll-margin-top: 2rem; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; }
p { max-width: 60ch; text-wrap: pretty; }

/* ---------- type ---------- */
.display { font-size: var(--step-display); line-height: 0.9; letter-spacing: -0.02em; }
.head { font-size: var(--step-head); line-height: 1; letter-spacing: -0.02em; }
.lead { font-size: var(--step-lead); line-height: 1.3; }
.small { font-size: var(--step-small); }
.only-wide { display: none; }
@media (min-width: 48em) { .only-wide { display: inline; } .only-narrow { display: none; } }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.6rem 1.4rem; background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none; text-align: center; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button-ink { background: var(--ink); color: #fff; }
.button-paper { background: #fff; color: var(--ink); }
.link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--ink); color: #fff; }
  .button-ink:hover { background: var(--accent); }
  .button-paper:hover { background: var(--red); color: var(--ink); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- header ---------- */
.top { display: grid; grid-template-columns: 42% 1fr; height: 3.5rem; }
.top-left { display: flex; min-width: 0; }
.wordmark { display: flex; align-items: center; padding-inline: var(--margin) 1.5rem; background: var(--ink); color: #fff; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.tab { flex: 1; display: flex; align-items: stretch; gap: clamp(1rem, 2vw, 2rem); padding-inline: clamp(1rem, 2vw, 1.75rem); background: var(--accent); color: #fff; font-size: var(--step-small); font-weight: 500; white-space: nowrap; }
.tab a { display: flex; align-items: center; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; transition: text-decoration-color var(--t-hover) ease; }
.tab a:hover { text-decoration-color: currentColor; }
.top-action { justify-self: end; align-self: center; margin-right: var(--margin); font-size: var(--step-small); font-weight: 500; }

/* ---------- hero ---------- */
.band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 48svh; min-height: 22rem; max-height: 34rem; }
.cell { min-width: 0; min-height: 0; overflow: hidden; }
.cell-call { grid-column: 1 / 3; grid-row: 1 / 3; }
.band .tile-blue { grid-column: 3; grid-row: 1 / 3; }
.cell-notes { grid-column: 4 / 6; grid-row: 1; }
.band .tile-red { grid-column: 6; grid-row: 1; }
.band .tile-ink { grid-column: 4; grid-row: 2; }
.cell-pdf { grid-column: 5 / 7; grid-row: 2; }
.tile-blue { background: var(--accent); }
.tile-red { background: var(--red); }
.tile-ink { background: var(--ink); }
.tile-navy { background: var(--navy); }
.bigbars { display: flex; align-items: center; justify-content: center; gap: 9%; width: 100%; height: 100%; padding: 0 16%; }
.bigbars i { flex: 1; height: 44%; background: #fff; }

.hero-body { display: grid; grid-template-columns: 42% 1fr; align-items: start; padding-block: clamp(1.75rem, 3.2vw, 3rem) clamp(2.5rem, 5vw, 5rem); }
.hero-body h1 { grid-column: 2; grid-row: 1; padding-right: var(--margin); }
.hero-side { grid-column: 1; grid-row: 1; padding-inline: var(--margin) clamp(1.5rem, 4vw, 4rem); display: grid; gap: 1.25rem; justify-items: start; }
.hero-side .lead { max-width: 30ch; }
.hero-actions { display: grid; gap: 0.5rem; justify-items: stretch; }

/* ---------- chapters ---------- */
.chapter { padding: var(--chapter) var(--margin); }

/* intro: staircase statement */
.intro { background: var(--accent); color: #fff; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-content: center; row-gap: clamp(1.5rem, 3vw, 3rem); }
.stairs-head { grid-column: 1 / 10; font-size: clamp(1.9rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.02em; text-wrap: wrap; }
.stairs-head span { display: block; white-space: nowrap; }
.stairs-head span:nth-child(2) { padding-left: 6vw; }
.stairs-rest { grid-column: 1 / 10; padding-left: 12vw; max-width: none; font-size: var(--step-sub); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.intro-note { padding-left: 18vw; }
.intro-pics { grid-column: 10 / 13; grid-row: 1 / 3; display: grid; gap: 1rem; align-content: start; }
.intro-note { grid-column: 1 / 10; max-width: none; }

/* OSCE: accordion of stages */
.osce { background: var(--navy); color: #fff; }
.osce-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 1.5rem; align-items: start; }
.osce-head h2 { grid-column: 1 / 6; }
.osce-intro { grid-column: 7 / 12; display: grid; gap: 1.5rem; justify-items: start; }
.stages { margin-top: 4rem; }
.stage { background: var(--stage-bg); color: var(--stage-ink); padding: 1.25rem; }
.stage-name { font-size: var(--step-lead); line-height: 1.1; letter-spacing: -0.01em; }
.stage-name button { font-weight: 700; min-height: 2.75rem; width: 100%; }
.stage-body { display: grid; gap: 1.5rem; padding-top: 0.75rem; }
.stage-body p { max-width: 36ch; }
.stage-body figure { width: 100%; max-width: 24rem; }
.js .stage:not(.is-open) .stage-body { display: none; }

@media (min-width: 56.25em) {
  .js .stages { display: flex; height: 32.5rem; }
  .js .stage { position: relative; flex: 0 0 13%; padding: 0; overflow: hidden; cursor: pointer; transition: flex-basis 450ms var(--ease-in-out); }
  .js .stage.is-open { flex: 1 1 58%; cursor: default; }
  .js .stage-name { position: absolute; z-index: 1; left: 1.5rem; bottom: 1.5rem; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
  .js .stage-name button { width: auto; min-height: 0; min-width: 2.75rem; }
  .js .stage.is-open .stage-name { left: 1.75rem; top: 1.5rem; bottom: auto; writing-mode: horizontal-tb; transform: none; font-size: var(--step-sub); }
  .js .stage.is-open .stage-name button { cursor: default; }
  .js .stage-body { position: absolute; inset: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 6rem 1.75rem 1.75rem; align-items: end; }
  .js .stage-body figure { align-self: center; justify-self: end; }
  .stages:not([data-x]) .stage-body p { align-self: end; }
}

/* stations: the live list */
.stations-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; }
.stations-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 3.5rem; align-items: start; }
.station-list { grid-column: 1 / 8; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem clamp(2rem, 4vw, 4rem); }
.station { position: relative; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1.25rem; width: 100%; }
.station::before { content: ""; grid-row: 1 / 3; width: 2.75rem; height: 2.75rem; background: var(--surface); transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.station::after { content: ""; position: absolute; left: 1.0625rem; top: 0.875rem; width: 0.75rem; height: 1rem; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background-color var(--t-hover) ease; }
.station-name { font-weight: 700; line-height: 1.25; }
.station-line { grid-column: 2; margin-top: 0.3rem; font-size: var(--step-small); line-height: 1.4; max-width: 38ch; }
.station[aria-pressed="true"]::before { background: var(--accent); }
.station[aria-pressed="true"]::after { background: #fff; }
.station[aria-pressed="true"] .station-name { color: var(--accent); }
.station:active::before { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) {
  .station:hover::before { background: var(--ink); }
  .station:hover::after { background: #fff; }
  .station[aria-pressed="true"]:hover::before { background: var(--accent); }
}
.player-wrap { grid-column: 9 / 13; position: sticky; top: 1.5rem; display: grid; gap: 0.75rem; }
.player { min-height: 20rem; display: grid; }

/* SCA: rows on one axis, the clock in the margin */
.sca { background: var(--red); color: var(--ink); }
.sca-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.sca-clock { grid-column: 1 / 5; position: sticky; top: 22svh; display: grid; gap: 0.5rem; }
.sca-time { font-size: var(--step-display); font-weight: 700; line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.sca-time-note { font-weight: 500; }
.sca-main { grid-column: 5 / 13; }
.sca-head { display: grid; gap: 1.5rem; justify-items: start; }
.sca-head p { max-width: 34ch; font-size: var(--step-lead); line-height: 1.3; }
.sca-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gutter); align-items: start; margin-top: clamp(5rem, 8vw, 7.5rem); }
.sca-text h3 { font-size: var(--step-sub); line-height: 1.05; letter-spacing: -0.02em; }
.sca-text p { margin-top: 1rem; max-width: 34ch; }
.sca-pic { justify-self: end; width: min(var(--w), 100%); }

/* access: the action tile */
.access { padding-inline: 0; padding-block: clamp(4rem, 7vw, 7rem); }
.tiles { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 8fr) minmax(0, 2fr); gap: 0.75rem; min-height: 26rem; }
.tile-main { background: var(--accent); color: #fff; padding: clamp(1.5rem, 3.5vw, 3.5rem); display: grid; align-content: center; justify-items: start; gap: 1.1rem; }
.tile-main .button { margin-top: 0.75rem; }

/* footer */
.foot { background: var(--ink); color: #fff; padding-top: clamp(3rem, 6vw, 6rem); padding-bottom: 2rem; overflow: clip; }
.foot-name { max-width: none; font-size: calc((100vw - 2 * var(--margin)) * 0.1763); font-weight: 700; line-height: 0.85; letter-spacing: -0.04em; white-space: nowrap; margin-left: -0.04em; }
.foot-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2.5rem; margin-top: 4.5rem; align-items: start; }
.foot-places { grid-column: 1 / 7; display: grid; gap: 0.35rem; font-size: var(--step-sub); font-weight: 500; letter-spacing: -0.01em; }
.foot-places a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot-notes { grid-column: 7 / 13; display: grid; gap: 0.9rem; font-size: var(--step-small); }
.foot-notes p { max-width: 52ch; }
.foot-legal { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 6rem; }
.foot-legal a { display: inline-flex; align-items: center; min-height: 2.75rem; }

/* ---------- interface fragments (the two apps, drawn at true size) ---------- */
[data-ui] { background: #f3f3f3; color: #0a0a0a; font-size: 14px; line-height: 1.4; text-align: left; }
[data-ui] p { max-width: none; }
[data-ui] .ui-call { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; height: 100%; padding: 22px 24px 24px; }
[data-ui] .ui-call-small { padding: 18px 20px 22px; gap: 28px; }
[data-ui] .ui-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
[data-ui] .ui-title { font-weight: 700; font-size: 15px; }
[data-ui] .ui-chip { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: #e2e2e2; font-size: 13px; white-space: nowrap; }
[data-ui] .ui-meta { font-size: 13px; color: #5c5c5c; }
[data-ui] .ui-clock { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
[data-ui] .ui-clock-big { font-size: 64px; font-weight: 700; letter-spacing: -0.03em; }
[data-ui] .ui-mid { display: grid; gap: 14px; justify-items: start; }
[data-ui] .ui-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 14px; border-radius: 999px; background: #0a0a0a; color: #fff; font-weight: 500; white-space: nowrap; transition: background-color 240ms ease; }
[data-ui] .ui-pill.is-yours { background: #2436ff; }
[data-ui] .ui-bars { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
[data-ui] .ui-bars i { width: 3px; height: 100%; border-radius: 2px; background: #ff3b1f; transform: scaleY(0.5); }
[data-ui] .ui-pill.is-yours .ui-bars i { background: #fff; }
[data-ui] .ui-caption { font-size: 17px; line-height: 1.35; font-weight: 500; max-width: 32ch; }
[data-ui] .ui-said { font-size: 14px; color: #5c5c5c; max-width: 34ch; }
[data-ui] .ui-actions { display: flex; gap: 8px; }
[data-ui] .ui-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; background: #fff; border: 1px solid #dcdcdc; font-weight: 500; }
[data-ui] .ui-btn-strong { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
[data-ui] .ui-crop { display: grid; align-content: center; justify-items: start; gap: 14px; padding: 22px; aspect-ratio: 3 / 2; background: #fff; }
[data-ui] .ui-crop-clock { gap: 6px; }
[data-ui] .ui-notes { display: grid; align-content: start; gap: 7px; height: 100%; padding: 20px 24px; background: #fff; font-size: 15px; }
[data-ui] .ui-notes .ui-top { margin-bottom: 6px; }
[data-ui] .ui-notes-tall { padding: 22px 22px 28px; gap: 10px; }
[data-ui] .ui-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: text-bottom; background: #2436ff; }
[data-ui] .ui-pdf { height: 100%; padding: 20px 24px 0; background: #e4e4e4; overflow: hidden; }
[data-ui] .ui-pdf-tall { padding: 22px 22px 0; }
[data-ui] .ui-sheet { display: grid; gap: 4px; padding: 20px 22px 26px; background: #fff; font-size: 13px; }
[data-ui] .ui-sheet-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
[data-ui] .ui-sheet-sub { color: #5c5c5c; }
[data-ui] .ui-sheet-h { margin-top: 10px; font-weight: 700; color: #2436ff; }
[data-ui] .ui-cases { display: grid; gap: 6px; padding: 16px; }
[data-ui] .ui-seg { display: grid; grid-template-columns: repeat(3, auto); gap: 2px; padding: 3px; margin-bottom: 6px; border-radius: 9px; background: #e2e2e2; font-size: 13px; text-align: center; }
[data-ui] .ui-seg span { padding: 6px 8px; border-radius: 7px; white-space: nowrap; }
[data-ui] .ui-seg .is-on { background: #fff; font-weight: 500; }
[data-ui] .ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 14px; border-radius: 10px; background: #fff; }
[data-ui] .ui-row.is-on { background: #0a0a0a; color: #fff; }
[data-ui] .ui-row.is-on .ui-meta { color: #d0d0d0; }
[data-ui].player { background: var(--surface); }
[data-ui].player .ui-caption { font-size: 22px; line-height: 1.25; max-width: 24ch; min-height: 5em; }
[data-ui].player .ui-clock { font-size: 34px; }

/* ---------- phone and tablet ---------- */
@media (max-width: 56.24em) {
  .top { grid-template-columns: 1fr; }
  .top-action { display: none; }
  .tab { min-width: 0; font-size: 0.9375rem; gap: 0.8rem; padding-inline: 0.75rem 1.125rem; justify-content: flex-end; }
  .wordmark { padding-right: 0.875rem; }

  .band { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 38svh; min-height: 17.5rem; }
  .cell-call { grid-column: 1 / 4; grid-row: 1; }
  .band .tile-red { grid-column: 4; grid-row: 1; }
  .band .tile-blue { grid-column: 1; grid-row: 2; }
  .cell-notes { grid-column: 2 / 5; grid-row: 2; }
  .band .tile-ink, .cell-pdf { display: none; }
  .band [data-ui] .ui-actions, .band [data-ui] .ui-call .ui-caption { display: none; }
  .band [data-ui] .ui-call { padding: 16px; gap: 10px; }
  .band [data-ui] .ui-notes { padding: 14px 16px; gap: 4px; font-size: 14px; }

  .hero-body { grid-template-columns: 1fr; row-gap: 1.25rem; padding-top: 1.5rem; }
  .hero-body h1 { grid-column: 1; grid-row: 1; padding-inline: var(--margin); font-size: clamp(3rem, 13vw, 6rem); }
  .hero-side { grid-column: 1; grid-row: 2; padding-inline: var(--margin); gap: 1rem; justify-items: stretch; }
  .hero-side .lead { max-width: 36ch; font-size: var(--step-body); line-height: 1.4; }

  .intro { align-content: center; }
  .stairs-head, .stairs-rest, .intro-note { grid-column: 1 / -1; }
  .stairs-head { font-size: min(var(--step-head), 7.6vw); }
  .stairs-head span:nth-child(2) { padding-left: 5vw; }
  .stairs-rest { padding-left: 10vw; }
  .intro-note { padding-left: 15vw; }
  .intro-pics { grid-row: auto; }
  .intro-pics { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 0.5rem; padding-left: 10vw; }
  .intro [data-ui] .ui-crop { aspect-ratio: auto; }
  .intro-note { grid-column: 1 / -1; }
  .intro [data-ui] .ui-crop { padding: 14px; gap: 10px; }
  .intro [data-ui] .ui-clock-big { font-size: 44px; }

  .osce-head h2, .osce-intro { grid-column: 1 / -1; }
  .stages { margin-top: 3rem; }

  .stations-grid { margin-top: 2rem; row-gap: 2rem; }
  .station-list { grid-column: 1 / -1; order: 2; grid-template-columns: 1fr; gap: 1.5rem; }
  .player-wrap { display: contents; }
  .player { grid-column: 1 / -1; order: 1; position: sticky; top: 0; z-index: 2; min-height: 0; }
  .player-wrap .button { grid-column: 1 / -1; order: 3; }
  [data-ui].player .ui-call { padding: 14px 16px 16px; gap: 12px; }
  [data-ui].player .ui-caption { font-size: 17px; max-width: none; min-height: 4.1em; }
  [data-ui].player .ui-clock { font-size: 26px; }

  .sca-clock { grid-column: 1 / -1; position: static; margin-bottom: 2.5rem; }
  .sca-time { font-size: 26vw; }
  .sca-main { grid-column: 1 / -1; }
  .sca-row { grid-template-columns: 1fr; row-gap: 1.5rem; margin-top: 4rem; }
  .sca-row:nth-child(odd) .sca-pic { justify-self: start; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 0; }
  .tile-main { grid-column: 1 / -1; grid-row: 1; padding: 2.5rem var(--margin); }
  .tiles .tile-navy, .tiles .tile-red { height: 7.5rem; }

  .foot-places, .foot-notes { grid-column: 1 / -1; }
  .foot-row { margin-top: 3rem; }
  .foot-legal { margin-top: 3.5rem; }
}
@media (min-width: 40em) and (max-width: 56.24em) {
  .station-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sca-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sca-row:nth-child(odd) .sca-pic { justify-self: end; }
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- motion ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: none; } }
@keyframes bar { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes bigbar { from { transform: scaleY(0.35); } to { transform: scaleY(1.6); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes word { to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise 800ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 320ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  [data-ui] .ui-bars i { animation: bar 520ms ease-in-out infinite alternate; }
  [data-ui] .ui-bars i:nth-child(2) { animation-duration: 380ms; animation-delay: -120ms; }
  [data-ui] .ui-bars i:nth-child(3) { animation-duration: 610ms; animation-delay: -300ms; }
  [data-ui] .ui-bars i:nth-child(4) { animation-duration: 440ms; animation-delay: -60ms; }
  [data-ui] .ui-bars i:nth-child(5) { animation-duration: 700ms; animation-delay: -410ms; }
  [data-ui] .ui-pill.is-yours .ui-bars i { animation-play-state: paused; }
  [data-ui] .ui-caret { animation: caret 1.1s steps(1) infinite; }
  [data-ui] .w { display: inline-block; opacity: 0; transform: translateY(6px); animation: word 320ms var(--ease-out) forwards; animation-delay: calc(var(--n) * 170ms + 250ms); }
  .bigbars i { animation: bigbar 900ms ease-in-out infinite alternate; }
  .bigbars i:nth-child(2) { animation-duration: 640ms; animation-delay: -200ms; }
  .bigbars i:nth-child(3) { animation-duration: 1100ms; animation-delay: -500ms; }
  .bigbars i:nth-child(4) { animation-duration: 760ms; animation-delay: -90ms; }
  .bigbars i:nth-child(5) { animation-duration: 1300ms; animation-delay: -700ms; }
  .js .stage.is-open .stage-body { animation: stage-in 500ms var(--ease-out) 120ms backwards; }
}
