/* Slingshot home page. Same world as the app: the strip board, paper and ink. */

@font-face {
  font-family: "League Gothic Fallback";
  src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Impact");
  size-adjust: 84%;
  ascent-override: 110%;
  descent-override: 20%;
  line-gap-override: 0%;
}

:root {
  --page: #F8F6F2;
  --rail: #F0ECE5;
  --surface: #FFFFFF;
  --rule: #DDD8CE;
  --edge: #85818E;
  --prose: #555261;
  --ink: #1D1D2C;
  --action: #872DED;
  --action-deep: #6A1FC4;
  --wait: #FFB32D;
  --risk: #F03A47;
  --clear: #19BA5A;

  --display: "League Gothic", "League Gothic Fallback", "Arial Narrow", sans-serif;
  --text: Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;

  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --rail-w: 13rem;
  --gut: clamp(20px, 4.2vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--page);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: var(--edge) var(--page);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--prose);
  font: 400 1rem/1.625 var(--text);
  caret-color: var(--action);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ink); color: #fff; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--action); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--action-deep); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 2px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -48px; z-index: 10; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 3px; font-size: 0.875rem; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.fig { font: 400 0.8125rem/1.25rem var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }

.ico { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.mark { display: inline-block; width: 8px; height: 8px; flex: none; border: 1px solid var(--edge); background: transparent; }
.mark[hidden] { display: none; }
.mark[data-tone="wait"]  { background: var(--wait);  border-color: var(--wait); }
.mark[data-tone="risk"]  { background: var(--risk);  border-color: var(--risk); }
.mark[data-tone="clear"] { background: var(--clear); border-color: var(--clear); }
.mark[data-tone="ink"]   { background: var(--ink);   border-color: var(--ink); }

/* ── Shell and rail ─────────────────────────────────────────── */

.shell { display: block; }

.rail {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px;
  padding: 18px var(--gut) 14px;
  background: var(--rail);
  border-bottom: 1px solid var(--rule);
}
.rail-head { display: flex; align-items: baseline; gap: 12px; margin-right: auto; }
.wordmark { font: 400 1.75rem/1 var(--display); color: var(--ink); text-decoration: none; letter-spacing: 0; }
.wordmark:hover { color: var(--ink); }
.tenant { font-size: 0.75rem; line-height: 1rem; }
.rail-nav { display: flex; gap: 20px; font-size: 0.875rem; line-height: 1.25rem; order: 3; width: 100%; padding-top: 6px; }
.rail-nav a { color: var(--prose); text-decoration: none; padding: 4px 0; }
.rail-nav a:hover { color: var(--ink); }
.rail-nav a[data-spy="top"], .rail-nav a[data-spy="truths"] { display: none; }
.rail-foot { display: none; }
.rail-open { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 500; text-decoration: none; padding: 4px 0; }
.rail-open .ico, .btn-primary .ico { transition: transform 200ms var(--out); }
.rail-open:hover .ico, .btn-primary:hover .ico { transform: translateX(3px); }

main { padding: 0 var(--gut); min-width: 0; }
main > * { max-width: 1400px; }

@media (min-width: 1100px) {
  .shell { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); }
  .rail {
    position: sticky; top: 0; height: 100vh; height: 100dvh;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0;
    padding: 24px 0 24px;
    border-bottom: 0; border-right: 1px solid var(--rule);
  }
  .rail-head { display: block; margin: 0; padding: 0 20px; }
  .wordmark { display: block; }
  .tenant { margin-top: 8px; }
  .rail-nav { order: 0; flex-direction: column; gap: 0; margin-top: 30px; padding: 0; }
  .rail-nav a, .rail-nav a[data-spy="top"], .rail-nav a[data-spy="truths"] { display: block; position: relative; padding: 6px 20px; }
  .rail-nav a.is-here { color: var(--ink); font-weight: 600; }
  .rail-nav a.is-here::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: var(--ink); }
  .rail-foot { display: block; margin-top: auto; padding: 0 20px; }
  .rail-foot p { margin-top: 10px; font-size: 0.75rem; line-height: 1rem; }
  main { padding: 0 var(--gut) 0 40px; }
}

/* ── Buttons and links ──────────────────────────────────────── */

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px 0 22px;
  background: var(--action); color: #fff;
  font: 500 1rem/1 var(--text); text-decoration: none; white-space: nowrap;
  border-radius: 3px;
  transition: background-color 150ms ease-out;
}
.btn-primary:hover { background: var(--action-deep); color: #fff; }
.btn-primary:active { transform: translateY(1px); }

.link-quiet { color: var(--ink); font-weight: 500; padding: 12px 0; }
.link-quiet:hover { color: var(--action-deep); }

/* ── Hero ───────────────────────────────────────────────────── */

.hero { padding-top: clamp(26px, 3.4vw, 38px); }

.hero-head { display: grid; gap: 24px; }

h1 {
  font: 400 clamp(3.5rem, 1.55rem + 8.4vw, 5.4rem)/0.9 var(--display);
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-left: -0.022em;
  font-kerning: normal;
}
h1 .line { display: block; overflow: hidden; padding: 0.06em 0 0.09em 0.03em; margin: -0.06em 0 -0.09em -0.03em; }
h1 .line > span { display: block; }

.lede { font-size: 1.0625rem; line-height: 1.625rem; color: var(--ink); max-width: 34rem; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 22px; }

@media (min-width: 860px) {
  .lede { font-size: 1.125rem; line-height: 1.75rem; }
  .hero-head { grid-template-columns: minmax(0, 1fr) minmax(17rem, 21.5rem); gap: 40px; align-items: end; }
  h1 { font-size: clamp(4.4rem, 0.4rem + 7.6vw, 6.2rem); }
  .hero-side { padding-bottom: 0.5rem; }
}
@media (min-width: 1100px) {
  h1 { font-size: clamp(5rem, -0.6rem + 7.9vw, 9.25rem); }
  .hero-head { gap: 56px; }
}

/* ── The board ──────────────────────────────────────────────── */

.board { container: board / inline-size; margin-top: clamp(28px, 3vw, 40px); }

.board-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 32px; }

.path { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; font-size: 0.875rem; line-height: 1.25rem; }
.path li { display: flex; align-items: center; }
.path li + li::before { content: ""; width: 22px; height: 1px; background: var(--edge); margin: 0 10px; }
.path button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--prose); transition: color 150ms ease-out; }
.path button:hover { color: var(--ink); }
.path button .mark { background: transparent; border-color: var(--edge); transition: background-color 200ms ease-out, border-color 200ms ease-out; }
.path li.is-done .mark { background: var(--edge); }
.path button[aria-current="step"] { color: var(--ink); font-weight: 600; }
.path button[aria-current="step"] .mark[data-tone="wait"]  { background: var(--wait);  border-color: var(--wait); }
.path button[aria-current="step"] .mark[data-tone="ink"]   { background: var(--ink);   border-color: var(--ink); }
.path button[aria-current="step"] .mark[data-tone="clear"] { background: var(--clear); border-color: var(--clear); }

.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; line-height: 1.25rem; color: var(--prose); padding: 6px 0; }
.toggle:hover { color: var(--ink); }
.toggle .i-play { display: none; fill: currentColor; stroke-width: 1; }
.toggle.is-paused .i-play { display: block; }
.toggle.is-paused .i-pause { display: none; }

.rack { margin-top: 6px; color: var(--ink); font-size: 0.875rem; line-height: 1.25rem; }

.bay-head { display: flex; align-items: baseline; gap: 8px; padding: 18px 3px 8px; border-bottom: 1px solid var(--rule); font-weight: 600; }
.bay:first-of-type .bay-head { padding-top: 8px; }
.bay-head .fig { font-weight: 400; color: var(--prose); }
.bay-empty { display: none; flex: 1; min-width: 0; margin-left: 8px; font-weight: 400; color: var(--prose); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bay:not(:has(.strip)) .bay-empty { display: block; }

.strip-cols {
  display: grid;
  grid-template-columns: 16px auto auto minmax(0, 1fr);
  grid-template-areas: "chev subject subject subject" ". why why why" ". stage value closes" ". action action action";
  column-gap: 10px; row-gap: 6px;
  padding: 12px 14px 14px 15px;
}
.colheads { display: none; }

.strip { position: relative; background: var(--surface); margin-top: 2px; }
.strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--edge); transition: background-color 300ms ease-out; }
.strip[data-edge="wait"]::before  { background: var(--wait); }
.strip[data-edge="risk"]::before  { background: var(--risk); }
.strip[data-edge="clear"]::before { background: var(--clear); }
.strip[data-edge="ink"]::before   { background: var(--ink); }

.chev { grid-area: chev; margin-top: 4px; color: var(--ink); transition: transform 200ms var(--out); }
.strip.is-open .chev { transform: rotate(90deg); }
.c-subject { grid-area: subject; min-width: 0; }
.c-subject b { display: block; font-weight: 500; }
.c-subject small { display: block; font-size: 0.75rem; line-height: 1rem; color: var(--prose); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-why { grid-area: why; }
.c-stage { grid-area: stage; display: flex; align-items: center; gap: 8px; color: var(--prose); margin-right: 6px; }
.c-stage:has(.mark) { color: var(--ink); }
.c-value { grid-area: value; margin-right: 6px; }
.c-closes { grid-area: closes; }
.c-action { grid-area: action; display: flex; }
.c-action:empty { display: none; }

.sbtn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 32px; padding: 0 14px;
  border: 1px solid var(--ink); border-radius: 3px; background: var(--surface);
  font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.sbtn-go, .sbtn.is-pressed { background: var(--ink); color: #fff; }
.sbtn-go.is-pressed { background: var(--prose); border-color: var(--prose); }
.sbtn-quiet { border-color: transparent; padding: 0 6px; color: var(--prose); }
.stext { color: var(--prose); line-height: 32px; }

.detail { display: grid; margin: 0 14px 0 41px; padding: 12px 0 16px; border-top: 1px solid var(--rule); }
.panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 220ms ease-out, visibility 0s 220ms; }
.panel.is-on { visibility: visible; opacity: 1; transition: opacity 260ms ease-out 80ms, visibility 0s; }
.panel p { max-width: 62ch; }
.p-head { font-size: 0.75rem; line-height: 1rem; color: var(--prose); margin-bottom: 4px; }
.quiet { color: var(--prose); }
.ev { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-top: 6px; }
.ev code, .ev .fig { font: 400 0.8125rem/1.25rem var(--mono); color: var(--prose); }

.panel[data-panel="log"] { display: grid; gap: 10px; align-content: start; }
.pass p:not(.p-head) { display: flex; gap: 8px; }
.pass p + p:not(.p-head) { margin-top: 2px; }
.pass .ico { margin-top: 4px; color: var(--edge); }
.pass b { font-weight: 500; }
[data-log] { transition: opacity 260ms ease-out; }
[data-log]:not(.is-in) { opacity: 0; }

.review { display: grid; gap: 14px; }
.review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.swap { transition: opacity 140ms ease-out; }
.swap.is-out { opacity: 0; }

.board figcaption { margin-top: 12px; font-size: 0.75rem; line-height: 1rem; max-width: 60ch; }

@container board (max-width: 619px) {
  .board-bar { flex-wrap: nowrap; }
  .path { flex-wrap: nowrap; }
  .path li + li::before { width: 12px; margin: 0 2px; }
  .path button { min-height: 40px; padding: 6px 8px; }
  .path li:first-child button { padding-left: 0; }
  .path button:not([aria-current]) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .toggle { min-width: 40px; min-height: 40px; justify-content: flex-end; }
}

@container board (min-width: 620px) {
  .panel[data-panel="log"] { grid-template-columns: 1.15fr 1.15fr 0.9fr; gap: 24px; }
  .review { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
}

@container board (min-width: 860px) {
  .strip-cols {
    grid-template-columns: 16px minmax(190px, 1.3fr) minmax(128px, 0.78fr) minmax(200px, 1.75fr) 56px 96px 168px;
    grid-template-areas: none;
    align-items: center;
    column-gap: 16px; row-gap: 0;
    padding: 9px 12px 9px 15px;
    min-height: 56px;
  }
  .strip-cols > * { grid-area: auto; margin-right: 0; }
  .chev { margin-top: 0; }
  .colheads { display: grid; min-height: 0; padding-top: 8px; padding-bottom: 6px; font-size: 0.75rem; line-height: 1rem; color: var(--prose); }
  .colheads .num, .c-value { text-align: right; }
  .c-action { justify-content: flex-end; }
  .c-action:empty { display: flex; }
  .c-action .sbtn { width: 100%; }
  .c-action .stext { width: 100%; text-align: center; }
  .detail { margin: 0 12px 0 47px; }
}

/* ── Sections ───────────────────────────────────────────────── */

.sec { padding-top: clamp(88px, 10.5vw, 160px); }

h2 {
  font: 400 clamp(2.6rem, 1.5rem + 3.6vw, 4.75rem)/0.94 var(--display);
  letter-spacing: -0.008em;
  color: var(--ink);
  margin-left: -0.02em;
  text-wrap: balance;
}

.sec-head { display: grid; gap: 20px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.sec-intro p { max-width: 36rem; text-wrap: pretty; }
.sec-intro p + p { margin-top: 14px; }
@media (min-width: 860px) {
  .sec-head { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: end; }
  .sec-head h2 { max-width: 9.5em; }
  .sec-intro { padding-bottom: 0.4rem; }
}

/* The plays */
.count { color: var(--ink); }
.count .fig { font-size: 1rem; font-weight: 500; }

.playtable { width: 100%; border-collapse: separate; border-spacing: 0 2px; text-align: left; font-size: 0.875rem; line-height: 1.25rem; }
.playtable thead th { font-weight: 400; font-size: 0.75rem; line-height: 1rem; color: var(--prose); padding: 0 16px 6px; border-bottom: 1px solid var(--rule); }
.playtable thead th:first-child { padding-left: 18px; }
.playtable tbody tr { background: var(--surface); }
.playtable tbody td, .playtable tbody th { padding: 17px 16px 18px; vertical-align: baseline; }
.playtable tbody td:first-child { position: relative; padding-left: 18px; color: var(--ink); width: 30%; }
.playtable tbody td:first-child::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--wait); }
.playtable tbody tr.is-risk td:first-child::before { background: var(--risk); }
.playtable tbody th { font-size: 1.0625rem; font-weight: 500; color: var(--ink); width: 25%; white-space: nowrap; }
.playtable tbody td:last-child { font-size: 1rem; line-height: 1.5rem; color: var(--prose); }

@media (max-width: 759px) {
  .playtable, .playtable tbody, .playtable tr, .playtable td, .playtable th { display: block; width: auto; }
  .playtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .playtable tbody tr { position: relative; margin-top: 2px; padding: 14px 16px 16px 18px; }
  .playtable tbody tr::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--wait); }
  .playtable tbody tr.is-risk::before { background: var(--risk); }
  .playtable tbody td:first-child::before { content: none; }
  .playtable tbody td, .playtable tbody th, .playtable tbody td:first-child { padding: 0; width: auto; }
  .playtable tbody td:first-child { font-size: 0.75rem; line-height: 1rem; color: var(--prose); }
  .playtable tbody th { margin: 4px 0 4px; white-space: normal; }
}

/* How it works */
.flight { container: flight / inline-size; margin-bottom: clamp(36px, 4vw, 56px); }
.fp { display: block; width: 100%; height: auto; overflow: visible; }
.fp-wide { display: none; }
.fp-tall { max-width: 340px; }
@container flight (min-width: 760px) {
  .fp-wide { display: block; }
  .fp-tall { display: none; }
}
.fp-line, .fp-loop, .fp-arrow path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fp-loop { stroke: var(--edge); stroke-dasharray: 0.1 7; }
.fp-arrow-loop path { stroke: var(--edge); }
.fp-node { fill: var(--page); stroke: var(--ink); stroke-width: 1.5; }
.fp-gate { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.fp-gate-you { fill: var(--wait); }
.fp-end { fill: var(--clear); }
.fp-mark { fill: var(--ink); offset-rotate: 0deg; }
.fp-wide .fp-mark { offset-path: path("M6 220H410A60 60 0 0 0 410 100H190A60 60 0 0 0 190 220H860A60 60 0 0 0 860 100H640A60 60 0 0 0 640 220H1094"); offset-distance: 91.4%; }
.fp-tall .fp-mark { offset-path: path("M100 24V260A40 40 0 0 1 20 260V110A40 40 0 0 1 100 110V550A40 40 0 0 1 20 550V400A40 40 0 0 1 100 400V676"); offset-distance: 92.82%; }
.fp-t { font: 500 16px var(--text); fill: var(--ink); }
.fp-s { font: 400 14px var(--text); fill: var(--prose); }
.fp-tall .fp-t { font-size: 15px; }
.fp-tall .fp-s { font-size: 13px; }

.steps { display: grid; gap: 0; }
.steps > div { border-top: 1px solid var(--rule); padding: 18px 0 26px; }
.steps dt { font-size: 1.0625rem; line-height: 1.5rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.steps dd { max-width: 31rem; text-wrap: pretty; }
@media (min-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; column-gap: 56px; }
}

/* What always holds */
.truthlist li { display: grid; gap: 10px; padding: 22px 0 30px; border-top: 1px solid var(--rule); }
.truthlist li:last-child { border-bottom: 1px solid var(--rule); }
h3 {
  font: 400 clamp(2.3rem, 1.2rem + 3.3vw, 4.5rem)/0.95 var(--display);
  letter-spacing: -0.006em; color: var(--ink); margin-left: -0.018em;
  text-wrap: balance;
}
.truthlist p { max-width: 30rem; text-wrap: pretty; }
@media (min-width: 860px) {
  .truthlist li { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; align-items: end; padding: 28px 0 40px; }
  .truthlist h3 { max-width: 12em; }
  .truthlist p { padding-bottom: 0.3rem; }
}

/* What runs it */
.spec > div { display: grid; gap: 4px 24px; padding: 15px 0 17px; border-top: 1px solid var(--rule); }
.spec > div:last-child { border-bottom: 1px solid var(--rule); }
.spec dt { font-weight: 500; color: var(--ink); }
.spec dd { max-width: 38rem; text-wrap: pretty; }
.replay { margin-top: 10px; }
.ticks { display: block; width: 100%; height: 22px; }
.ticks path { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; shape-rendering: crispEdges; }
.replay .fig { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; }
.replay b { font-weight: 500; }
@media (min-width: 760px) {
  .spec > div { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 56px; align-items: baseline; }
  .spec > div.has-fig dt { grid-row: span 2; }
  .spec > div.has-fig dd { grid-column: 2; }
}

/* Close */
.close { padding-top: clamp(88px, 10.5vw, 160px); }
.close-strip { position: relative; display: grid; gap: 24px; background: var(--surface); padding: 28px 22px 30px 25px; }
.close-strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--wait); }
.close-strip p { margin-top: 12px; max-width: 30rem; }
.close-strip .btn-primary { justify-self: start; }
@media (min-width: 860px) {
  .close-strip { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding: 44px 48px 46px 43px; }
}

.foot { padding: 28px 0 56px; font-size: 0.8125rem; line-height: 1.25rem; }
.foot p { max-width: 44rem; }

/* ── Motion ─────────────────────────────────────────────────── */

@keyframes rise { from { transform: translateY(104%); } }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } }
@keyframes deal { from { opacity: 0; transform: translateX(-18px); } }
@keyframes appear { from { opacity: 0; } }

@keyframes fly-wide {
  0%   { offset-distance: 0%; opacity: 0; }
  2%   { opacity: 1; }
  13%, 17% { offset-distance: 14.84%; }
  41%, 44% { offset-distance: 44.86%; }
  57%, 62% { offset-distance: 61.39%; }
  85%, 90% { offset-distance: 91.4%; }
  96%  { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes fly-tall {
  0%   { offset-distance: 0%; opacity: 0; }
  2%   { opacity: 1; }
  12%, 16% { offset-distance: 13.45%; }
  40%, 43% { offset-distance: 44.87%; }
  56%, 61% { offset-distance: 61.4%; }
  85%, 90% { offset-distance: 92.82%; }
  96%  { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .js h1 .line > span { animation: rise 900ms var(--out) backwards; }
  .js h1 .line:nth-child(2) > span { animation-delay: 80ms; }
  .js h1 .line:nth-child(3) > span { animation-delay: 160ms; }
  .js .hero-side { animation: settle 700ms var(--out) 380ms backwards; }
  .js .board-bar, .js .board figcaption { animation: appear 500ms ease-out 620ms backwards; }
  .js .rack .bay-head, .js .rack .colheads, .js .rack .strip { animation: deal 620ms var(--out) backwards; animation-delay: calc(560ms + var(--i, 0) * 55ms); }

  .js .flight.is-live .fp-wide .fp-mark { animation: fly-wide 17s linear infinite; }
  .js .flight.is-live .fp-tall .fp-mark { animation: fly-tall 17s linear infinite; }
  .js .flight.is-live.is-away .fp-mark { animation-play-state: paused; }

  .strip.is-knocked { animation: knock 520ms var(--out); }
}
@keyframes knock { 30% { transform: translateX(-10px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
