@font-face {
  font-family: TailHand;
  src: url("assets/caveat-brush.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: TailMath;
  src: url("assets/math-serif.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #f7f8fa;
  --chapter-light: #f9fafc;
  --chapter-shade: #f5f6f8;
  --white: #fff;
  --ink: #17212e;
  --muted: #626f81;
  --blue: #315b9c;
  --path: #8faade;
  --orange: #cc7033;
  --green: #56813d;
  --purple: #823fa6;
  --rule: #e2e6ec;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: var(--header-height);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    TailMath,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button {
  background: none;
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #769ad0;
  outline-offset: 5px;
}
a,
button {
  transition:
    background 0.2s,
    color 0.2s,
    opacity 0.2s;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
  max-width: 100%;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
sup {
  font-size: 0.62em;
  vertical-align: super;
  margin-left: 2px;
}
sub {
  font-size: 0.7em;
}
strong {
  font-weight: 600;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: var(--page-gutter);
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
}
.skip-link:focus {
  transform: none;
}

:root {

  font-size: max(100%, calc(100vw / 120));
  --desktop-spacing: max(0px, calc((100vw - 90rem) / 30));
  --page-gutter: max(1.125rem, calc(5vw + 8 * var(--desktop-spacing)));
  --header-height: 4.5rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #d7dfe8;
  background: rgba(249, 250, 252, 0.96);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  min-height: 4.5rem;
  padding-inline: var(--page-gutter);
}
.site-identity {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 1.6vw, 1.5rem);
}
.identity-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  white-space: nowrap;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1;
}
.identity-brand img {
  width: 2.125rem;
  height: 2.125rem;
}
.identity-brand > span > span {
  color: var(--blue);
}
.identity-tagline {
  padding-left: clamp(0.875rem, 1.6vw, 1.5rem);
  border-left: 1px solid #d2dae5;
  color: #526074;
  font-size: 0.78125rem;
  font-weight: 400;
  line-height: 1.45;
}
.identity-tagline span {
  display: block;
}
.chapters {
  --tab-pad: clamp(0.5rem, 0.9vw, 0.875rem);
  --chapter-gap: clamp(1rem, 2.1vw, 2.375rem);
  --edge-space: calc(var(--tab-pad) + 3px);
  display: flex;
  align-items: stretch;
  position: relative;
  align-self: stretch;
  gap: max(0px, calc(var(--chapter-gap) - var(--tab-pad) - var(--tab-pad)));
  max-width: 100%;
  min-width: 0;
  padding-inline: 3px;
  margin-inline-end: calc(0px - var(--edge-space));
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.chapters::-webkit-scrollbar {
  display: none;
}
.chapters a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding-inline: var(--tab-pad);
  color: #505d70;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 160ms ease;
}
.chapters a:hover,
.chapters a.active {
  color: var(--blue);
}
.chapters a:focus-visible {
  outline-offset: -3px;
  border-radius: 999px;
}
.nav-short-label {
  display: none;
}
.nav-indicator {
  position: absolute;
  top: 50%;
  left: var(--tab-left, 0px);
  right: calc(100% - var(--tab-left, 0px) - var(--tab-width, 0px));
  height: 2.375rem;
  transform: translateY(-50%);
  border: 1px solid rgba(129, 150, 172, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 88% 112%, rgba(207, 225, 240, 0.27), transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.67), rgba(244, 248, 251, 0.36) 55%, rgba(255, 255, 255, 0.59));
  -webkit-backdrop-filter: blur(5px) saturate(1.08);
  backdrop-filter: blur(5px) saturate(1.08);
  box-shadow:
    inset 0 1px 1px white,
    inset -1px -1px 2px rgba(255, 255, 255, 0.92),
    0 1px 2.5px rgba(55, 82, 112, 0.12);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}
.nav-indicator::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 68% 100% at var(--lens-light, 24%) -28%, white, transparent 85%);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .chapters:hover .nav-indicator {
    --lens-light: clamp(0px, calc(var(--glass-light-x, 0px) - var(--tab-left, 0px)), 100%);
  }
}

.chapters[data-ready] .nav-indicator {
  opacity: 1;
  transition: left 360ms var(--ease), right 270ms var(--ease);
}
.chapters[data-direction="backward"] .nav-indicator {
  transition-duration: 270ms, 360ms;
}
#main:focus,
#main .chapter:focus {
  outline: none;
}
@media (min-width: 62.51rem) and (max-width: 66rem) {
  .header-inner { column-gap: 0.875rem; }
  .chapters {
    --chapter-gap: 1rem;
    --tab-pad: 0.4375rem;
  }
}
@media (max-width: 62.5rem) {
  :root {
    --header-height: 6.5rem;
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }
  .site-identity {
    padding-block: 0.75rem 0.375rem;
  }
  .chapters {
    --tab-pad: 0.5rem;
    --chapter-gap: 1.125rem;
    justify-content: space-between;
    max-width: none;
    margin-inline: calc(0px - var(--edge-space));
  }
  .nav-indicator {
    height: 2.125rem;
  }
}
@media (max-width: 32rem) {
  .site-identity {
    gap: 0.625rem;
  }
  .identity-brand {
    gap: 0.3rem;
    font-size: 1.3125rem;
  }
  .identity-brand img {
    width: 1.75rem;
    height: 1.75rem;
  }
  .identity-tagline {
    padding-left: 0.625rem;
    font-size: 0.6875rem;
  }
  .chapters {
    --tab-pad: clamp(0.1875rem, calc(12vw - 2.4375rem), 0.55rem);
    --chapter-gap: 0.4375rem;
  }
  .nav-full-label {
    display: none;
  }
  .nav-short-label {
    display: inline;
  }
  .chapters a {
    font-size: 0.84375rem;
  }
}
@media (max-width: 24.25rem) {
  :root { --header-height: 7rem; }
  .identity-tagline { text-wrap: balance; }
  .identity-tagline span { display: inline; }
}
@media (max-width: 22rem) {
  .header-inner {
    padding-inline: 0.875rem;
  }
  .identity-brand {
    font-size: 1.1875rem;
  }
  .identity-brand img {
    width: 1.5rem;
    height: 1.5rem;
  }
  .chapters {
    --tab-pad: 0.1875rem;
    --chapter-gap: 0.375rem;
  }
  .chapters a {
    font-size: 0.78125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chapters[data-ready] .nav-indicator {
    transition: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-indicator {
    background: #f1f5f9;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
@media (forced-colors: active) {
  .nav-indicator { border-color: Highlight; }
  .chapters a[aria-current] {
    text-decoration: underline;
  }
}

.hero {
  --hero-type-scale: 0.9;
  --prior-ink: #5f6c7b;
  --transition-ink: #406f9f;
  --hero-width: 100%;
  --hero-height-units: 636;
  --hero-title-inset: 3;
  --hero-label-inset: 25;
  --hero-pad-start: clamp(1rem, 3svh, 2.5rem);
  --hero-pad-end: var(--hero-pad-start);
  padding-inline: var(--page-gutter);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--chapter-light);
}
.hero-stage {

  --hero-art-inset: calc(4 * 100% / 1200);

  --unit: calc(var(--hero-width) / 1200);
  --center-space: max(0px, calc((100svh - var(--header-height) - var(--hero-height-units) * var(--unit) - var(--hero-pad-start) - var(--hero-pad-end)) / 2));
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1200 / var(--hero-height-units);
  width: var(--hero-width);
  flex: none;
  margin-inline: auto;
  margin-block-start: calc(0.75 * (var(--center-space) + var(--hero-pad-start)) - 0.25 * var(--hero-title-inset) * var(--unit));
  margin-block-end: calc(0.75 * (var(--center-space) + var(--hero-pad-end)) - 0.25 * var(--hero-label-inset) * var(--unit));
}
.hero-trajectory {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.hero-node text,
.hero-onset text,
.hero-region-label {
  font-family: TailHand, Inter, sans-serif;
  font-size: calc(18px * var(--hero-type-scale));
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-node text,
.hero-onset text {
  font-size: calc(17px * var(--hero-type-scale));
  font-weight: 400;
}
.hero-node text {
  fill: #606e80;
}
.hero-onset text {
  fill: #935027;
}
.hero-curve {
  pointer-events: stroke;
  cursor: help;
  transition:
    stroke 180ms ease,
    stroke-width 180ms ease,
    filter 180ms ease;
}
#hero-base.is-highlighted {
  stroke: #8996aa;
  stroke-width: 5.5;
  filter: drop-shadow(0 0 5px rgba(137, 150, 170, 0.22));
}
#hero-path.is-highlighted {
  stroke: #315b9c;
  stroke-width: 6.5;
  filter: drop-shadow(0 0 5px rgba(49, 91, 156, 0.2));
}
.hero-curve:focus-visible {
  outline: none;
}
.hero-trajectory-tooltip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 10px 13px;
  border: 1px solid rgba(183, 199, 223, 0.5);
  border-radius: 13px;
  background: rgba(249, 251, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 5px 20px rgba(40, 62, 96, 0.06);
  font-size: clamp(11px, 0.9cqw, 16px);
  line-height: 1.4;
  color: #626f81;
  white-space: nowrap;
  pointer-events: none;
}
.hero-trajectory-tooltip [data-trajectory="steered"] {
  color: var(--blue);
}
.hero-tooltip-separator {
  color: #8d99a8;
}
.hero-curve,
.hero-node,
#hero-echoes,
#hero-particle {
  mask: url(#hero-region-mask);
}
#hero-region-mask rect,
.hero-region-washes path,
.hero-region-label {
  transition: opacity 240ms ease;
}
.hero-region-washes {
  pointer-events: none;
}
.hero-region-washes path,
.hero-region-label {
  opacity: 0;
}
.hero-region-label {
  fill: var(--prior-ink);
  pointer-events: all;
  cursor: default;
}
.hero-region-label[data-hero-region="transition"] {
  fill: var(--transition-ink);
}
.hero-region-label:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
  border-radius: 6px;
}
.hero-stage[data-region] .hero-region-label {
  opacity: 0.45;
}
.hero-stage[data-region="prior"] [data-hero-region="prior"],
.hero-stage[data-region="transition"] [data-hero-region="transition"],
.hero-stage[data-region="prior"] #hero-prior-wash,
.hero-stage[data-region="transition"] #hero-transition-wash {
  opacity: 1;
}
.hero-stage[data-region="prior"] #hero-transition-mask,
.hero-stage[data-region="transition"] #hero-prior-mask {
  opacity: 0.3;
}
.hero-stage[data-region="transition"] #hero-path {
  stroke: var(--transition-ink);
}
@media (hover: none) {
  .hero-region-label {
    opacity: 0.7;
  }
}
.hero-onset {
  pointer-events: all;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.hero-onset-marker {
  transition: filter 180ms ease;
}
.hero-onset:hover .hero-onset-marker,
.hero-onset:focus-visible .hero-onset-marker,
.hero-onset.is-dragging .hero-onset-marker {
  filter: drop-shadow(0 0 5px rgba(204, 112, 51, 0.4));
}
.hero-onset-hint {
  opacity: 0;
  transition: opacity 150ms ease;
}
.hero-onset:hover .hero-onset-hint,
.hero-onset:focus-visible .hero-onset-hint,
.hero-onset.is-dragging .hero-onset-hint {
  opacity: 0.85;
}
.hero-onset-range {
  stroke: #cc7033;
  stroke-width: 2;
  stroke-dasharray: 2 5;
  opacity: 0;
  transition: opacity 150ms ease;
  pointer-events: none;
}
.hero-diagram:has(.hero-onset:hover) .hero-onset-range,
.hero-diagram:has(.hero-onset:focus-visible) .hero-onset-range,
.hero-diagram:has(.hero-onset.is-dragging) .hero-onset-range {
  opacity: 0.5;
}
.hero-copy {
  --u: 0.0833333333cqw;
  position: absolute;
  top: calc(3 * var(--u));
  left: var(--hero-art-inset);
  width: calc(640 * var(--u));
  z-index: 2;
}
.hero h1 {
  font-size: calc(110 * var(--u) * var(--hero-type-scale));
  font-weight: 600;
  letter-spacing: -0.082em;
  line-height: 0.98;
  margin-left: -0.04em;
  width: max-content;
}
.hero h1 > span:first-child {
  color: var(--blue);
}
.title-period {
  color: var(--orange);
  font-size: 0.6em;
  letter-spacing: -0.06em;
}
.hero-slogan {
  display: grid;
  gap: 0.75em;
  font-family: TailHand, Inter, sans-serif;
  font-size: calc(19 * var(--u) * var(--hero-type-scale));
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: #505d6d;
  margin-top: calc(35 * var(--u));
}
.hero-slogan > span {
  position: relative;
  white-space: nowrap;
  transition:
    opacity 240ms ease,
    color 240ms ease;
}
.slogan-verb {
  display: inline-block;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.015em;
  color: #343e4b;
  transform-origin: left center;
  margin-right: 0.06em;
  transition:
    color 200ms ease,
    transform 200ms var(--ease);
}
.slogan-verb-steer {
  color: #315b9c;
}
.slogan-detail {
  font-size: calc(18 * var(--u) * var(--hero-type-scale));
}
.hero-slogan [data-hero-slogan="transition"] {
  color: #507ca9;
}
.hero-stage[data-region] .hero-slogan > span {
  opacity: 0.45;
}
.hero-stage[data-region="prior"] .hero-slogan [data-hero-slogan="prior"],
.hero-stage[data-region="transition"]
  .hero-slogan
  [data-hero-slogan="transition"] {
  opacity: 1;
  color: var(--prior-ink);
}
.hero-stage[data-region="transition"]
  .hero-slogan
  [data-hero-slogan="transition"] {
  color: var(--transition-ink);
}
.hero-stage[data-region="prior"] [data-hero-slogan="prior"] .slogan-verb {
  color: #253140;
}
.hero-stage[data-region="transition"] .slogan-verb-steer {
  color: #315b9c;
}
.hero-stage[data-region="prior"] [data-hero-slogan="prior"] .slogan-verb,
.hero-stage[data-region="transition"] .slogan-verb-steer {
  transform: translateY(-0.025em) scale(1.025);
}
.hero-resources {
  display: flex;
  align-items: center;
  gap: calc(9 * var(--u));
  margin-top: calc(20 * var(--u));
  position: relative;
  z-index: 5;
}
.resource-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(7 * var(--u));
  min-height: calc(30 * var(--u));
  padding: calc(7 * var(--u)) calc(13 * var(--u));
  border: 1px solid rgba(126, 150, 185, 0.25);
  border-radius: calc(9 * var(--u));
  background: rgba(255, 255, 255, 0.65);
  color: #425674;
  font: inherit;
  font-size: calc(10 * var(--u));
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(49, 91, 156, 0.035);
  cursor: pointer;
  transition:
    background 180ms,
    border-color 180ms;
}
.resource-button img {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  object-fit: contain;
}
.resource-button:hover,
.resource-button:focus-visible {
  background: #fff;
  border-color: rgba(49, 91, 156, 0.5);
}
.resource-models {
  position: relative;
  flex: none;
}
.resource-chevron {
  width: 0.85em;
  height: 0.85em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms var(--ease);
}
.resource-models.is-open .resource-button {
  background: #fff;
  border-color: rgba(49, 91, 156, 0.5);
}
.resource-models.is-open .resource-chevron {
  transform: translateX(2px);
}
.model-links {
  position: absolute;
  top: 0;
  left: calc(100% + 12px);
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(183, 199, 223, 0.5);
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 28px rgba(40, 62, 96, 0.1);
  font-size: clamp(11px, calc(11 * var(--u)), 15px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-5px);
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease),
    visibility 180ms;
}
.model-links::before {
  content: "";
  position: absolute;
  inset: 0 100% 0 -13px;
}
.resource-models.opens-below .model-links {
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  transform: translateY(-5px);
}
.resource-models.opens-below .model-links::before {
  inset: -11px 0 100%;
}
.resource-models.is-open .model-links {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}
.model-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #425674;
  white-space: nowrap;
}
.model-links a:hover,
.model-links a:focus-visible {
  background: #e7eef9;
  color: var(--blue);
}
.model-links img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  object-fit: contain;
}
.model-link-arrow {
  margin-left: auto;
  color: #7e8ea4;
  font-size: 12px;
}
.authors {
  font-size: calc(10 * var(--u));
  line-height: 1.7;
  margin-top: calc(35 * var(--u) - 1.7em);
  color: #435061;
}
.authors > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1.5em;
}
.authors > div + div {
  margin-top: 0.45em;
}
.authors a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: text-decoration-color 160ms ease;
}
.authors a:hover,
.authors a:focus-visible {
  text-decoration-color: currentColor;
}
.affiliations {
  font-size: calc(8.8 * var(--u));
  line-height: 1.8;
  color: #646d7c;
  display: flex;
  gap: 0.5em 1.5em;
  flex-wrap: wrap;
  margin-top: calc(10 * var(--u));
}
.hero-copy sup {
  margin-left: 0.2em;
}
.brand {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.brand img {
  width: 34px;
  flex: none;
}
.brand-note {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1px;
  color: var(--muted);
}

.micro {
  font-size: 9px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 1.4px;
  color: #676c72;
}

main {
  margin: 0;
  --chapter-space: clamp(2rem, 4.25vw, 4.5rem);
}
.chapter {
  position: relative;
  isolation: isolate;
  min-width: 0;
}
.eyebrow {
  font-size: 10px;
  line-height: 1.7;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #656e7e;
}
.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
}
.text-link:hover {
  color: var(--blue);
}
.text-link span {
  font-size: 20px;
}
.blue-text {
  color: var(--blue);
}
.green-text {
  color: var(--green);
}
.soft {
  color: #666c74;
}
.small-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.small-button {
  padding: 0.625rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 0.375rem;
  background: #fff;
  font-size: 0.6875rem;
}
.small-button:hover {
  border-color: #9dafca;
  background: #f4f7fc;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.line-legend {
  display: flex;
  gap: 1.125rem;
  flex-wrap: wrap;
  font-size: 0.625rem;
  color: #636f82;
  align-items: center;
}
.line-legend > span {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  white-space: nowrap;
}
.line {
  display: inline-block;
  width: 1.4375rem;
  height: 0.1875rem;
  border-radius: 0.625rem;
  background: var(--path);
}
.line.gray {
  background: #cbd0d7;
}
.line.blue {
  background: var(--path);
}
.line.low {
  background: #4477aa;
}
.line.mid {
  background: #d69b28;
}
.line.high {
  background: #c44e52;
}
.results,
.motivation,
.training {
  padding: 85px 5.5% 55px;
}
.results {
  background: #fff;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: end;
  column-gap: 60px;
}
.section-heading .eyebrow {
  grid-column: 1/-1;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 500;
  letter-spacing: -2.9px;
  line-height: 1.08;
}
.section-heading > p {
  font-size: 15px;
  line-height: 1.8;
  color: #666d77;
  max-width: 350px;
  justify-self: end;
  padding-bottom: 6px;
}
.motivation {
  background: #f3f5f8;
}
.section-heading.compact {
  column-gap: 45px;
}
.section-heading.compact h2 {
  font-size: clamp(36px, 3.8vw, 57px);
}
.motivation-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-top: 35px;
  margin-bottom: 18px;
}
.scene-tabs {
  display: flex;
  gap: 6px;
  max-width: 100%;
}
.scene-tabs button {
  position: relative;
  font-size: 11px;
  padding: 12px 15px;
  color: #626e7e;
  white-space: nowrap;
  border-radius: 7px;
}
.scene-tabs button span {
  font-size: 9px;
  margin-right: 9px;
  color: #666e7a;
}
.scene-tabs button:hover {
  background: #e9edf3;
}
.scene-tabs button.selected {
  background: #fff;
  color: #315b9c;
  box-shadow: 0 2px 8px #22375705;
}
.scene-tabs button.selected span {
  color: var(--blue);
}
.icon-button {
  width: 1.875rem;
  height: 1.875rem;
  border: 1px solid #dce2ea;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #626c7d;
  font-size: 0.9375rem;
  flex: none;
}
.icon-button:hover {
  background: #e5ebf3;
  color: var(--blue);
}
.motivation-stage {
  border: 1px solid #e2e6ee;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  min-height: 562px;
  position: relative;
}
.scene {
  padding: 30px 32px 21px;
  animation: scene-enter calc(0.65s / var(--motivation-rate, 1)) var(--ease);
}
@keyframes scene-enter {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.scene-header {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 24px;
}
.scene-header h3 {
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}
#scene-frequency .scene-header {
  grid-template-columns: 1fr;
}
#scene-curation .scene-header {
  grid-template-columns: minmax(0, 1fr) auto;
}
.scene-header p {
  font-size: 12px;
  line-height: 1.75;
  color: #626e7e;
  max-width: 370px;
}
.frequency-layout {
  --frequency-region-color: #a23b46;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  gap: clamp(1.25rem, 2cqw, 2.125rem);
  align-items: start;
  width: 100%;
  padding-top: 0.5rem;
}
.frequency-chart,
.frequency-visuals,
.frequency-preservation {
  min-width: 0;
  width: 100%;
}
.frequency-layout .chart-label {
  padding-left: 10.5%;
  padding-right: 3.5%;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: baseline;
  min-height: 1.625rem;
  font-size: clamp(0.625rem, 0.85cqw, 0.8125rem);
}
.frequency-layout .chart-label > span {
  font-size: 0.85em;
}
.frequency-layout .chart-label > .frequency-mse-title {
  position: relative;
  font-size: inherit;
  color: #505d6d;
}
#frequency-region-anchor {
  position: absolute;
  width: 0.3125rem;
  height: 0.3125rem;
  left: -0.75rem;
  top: calc(50% - 0.15625rem);
  border-radius: 50%;
  background: var(--frequency-region-color);
}
.frequency-layout .svg-small {
  font-size: 11px;
}
.frequency-error-frame {
  position: relative;
}
#frequency-region-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#frequency-region-box {
  fill: none;
  stroke: var(--frequency-region-color);
  stroke-width: 2.75px;
  vector-effect: non-scaling-stroke;
}
.frequency-region-link {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.frequency-region-link path {
  fill: none;
  stroke: var(--frequency-region-color);
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#frequency-mse-value {
  margin-left: 7px;
  color: #505d6d;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.mse-curve {
  fill: none;
  stroke: #63758d;
  stroke-width: 2.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frequency-residual {
  margin-top: 18px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity calc(400ms / var(--motivation-rate, 1)) ease,
    transform calc(500ms / var(--motivation-rate, 1)) var(--ease);
}
.frequency-residual.is-tail {
  opacity: 1;
  transform: none;
}
.residual-annotation {
  opacity: 0;
  transition: opacity calc(250ms / var(--motivation-rate, 1)) ease;
}
.frequency-residual.at-endpoint .residual-annotation {
  opacity: 1;
}
.residual-note {
  fill: #505d6d;
  font:
    23px TailHand,
    Inter,
    sans-serif;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity calc(450ms / var(--motivation-rate, 1)) ease,
    transform calc(550ms / var(--motivation-rate, 1)) var(--ease);
}
.frequency-residual.at-endpoint .residual-note {
  opacity: 1;
  transform: none;
  transition-delay: calc(350ms / var(--motivation-rate, 1));
}
.residual-arrow,
.residual-arrowhead {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.residual-arrow {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.residual-arrowhead {
  opacity: 0;
}
.frequency-residual.at-endpoint .residual-arrow {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset calc(750ms / var(--motivation-rate, 1)) var(--ease);
}
.frequency-residual.at-endpoint .residual-arrowhead {
  opacity: 1;
  transition: opacity calc(200ms / var(--motivation-rate, 1)) ease calc(550ms / var(--motivation-rate, 1));
}
.mse-endpoint-value {
  fill: var(--orange);
  font:
    17px TailHand,
    Inter,
    sans-serif;
}
.mse-endpoint-halo {
  fill: #cc70331c;
  stroke: #cc703340;
  stroke-width: 1px;
}
.frequency-residual.at-endpoint .mse-endpoint-halo {
  animation: residual-arrival calc(1.2s / var(--motivation-rate, 1)) ease-out;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes residual-arrival {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  55% {
    transform: scale(1.5);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.chart-label {
  display: flex;
  justify-content: space-between;
  color: #656e7e;
  font-size: 0.625rem;
  padding-left: 2.1875rem;
  padding-right: 0.625rem;
  margin-bottom: 0.3125rem;
}
.chart-label span {
  font-size: 0.5625rem;
  color: #696e75;
}
.svg-small {
  font-family: inherit;
  font-size: 10px;
  fill: #606e80;
  letter-spacing: 0.4px;
}
.svg-label {
  font-family: inherit;
  font-size: 15px;
  fill: #34445b;
}
.svg-endpoint {
  font-family: inherit;
  font-size: 12px;
}
.svg-vector {
  font-family: TailMath, Georgia, serif;
  font-size: 18px;
}
.region-name {
  font-size: 11px;
  font-family: inherit;
  letter-spacing: 1.3px;
  font-weight: 600;
}
.frequency-legend {
  justify-content: center;
  font-size: clamp(0.5625rem, 0.75cqw, 0.6875rem);
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.frequency-legend > span {
  gap: 0.3125rem;
}
.frequency-legend .line {
  width: 1rem;
}
.frequency-images {
  display: flex;
  gap: 12px;
}
.frequency-images .image-label {
  font-size: clamp(0.5rem, 0.7cqw, 0.6875rem);
  letter-spacing: 0.7px;
  min-height: 1.625rem;
  margin-bottom: 0.3125rem;
}
.frequency-images figure {
  width: 50%;
  min-width: 0;
}
.image-label {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.06875rem;
  color: #656d76;
  line-height: 1.5;
  margin-bottom: 0.625rem;
  min-height: 0.8125rem;
}
.image-label b {
  color: var(--blue);
  font-weight: 500;
}
.frequency-images img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 6px;
}
.frequency-images figcaption {
  font-size: clamp(9px, 0.75cqw, 11px);
  color: #636e7f;
  text-align: center;
  margin-top: 9px;
  line-height: 1.4;
}
.scene-control {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.625rem;
  color: #686e76;
  padding: 1.3125rem 0 1.0625rem;
  margin-top: 1rem;
  border-top: 1px solid #edf0f4;
}
.scene-control > span:first-child {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.scene-control strong {
  color: var(--blue);
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 0.125rem;
  background: #dce3ed;
  accent-color: var(--blue);
  cursor: pointer;
  min-width: 0;
  flex: 1;
  border-radius: 0.125rem;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.8125rem;
  height: 0.8125rem;
  border: 0.1875rem solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px #c1cfdf;
}
input[type="range"]::-moz-range-thumb {
  width: 0.5rem;
  height: 0.5rem;
  border: 0.1875rem solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px #c1cfdf;
}
.segmented {
  display: inline-flex;
  background: #f2f4f7;
  border: 1px solid #e8ecf1;
  border-radius: 0.4375rem;
  padding: 0.1875rem;
  margin-top: 0.75rem;
}
.segmented button {
  font-size: 0.625rem;
  padding: 0.375rem 0.75rem;
  color: #656e79;
  border-radius: 0.25rem;
}
.segmented button.selected {
  background: #fff;
  box-shadow: 0 1px 4px #20385e0b;
  color: var(--blue);
}
.curation-prompt {
  position: absolute;
  bottom: calc(100% + 2.125rem);
  width: 100%;
  display: grid;
  gap: 0.4375rem;
  font-size: 0.6875rem;
  line-height: 1.55;
  color: #636f81;
  background: #f5f7fa;
  border: 1px solid #e5eaf1;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.curation-prompt > span:first-child {
  font-size: 0.5rem;
  color: #696e76;
  letter-spacing: 0.06875rem;
}
.curation-prompt-arrow {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.1875rem);
  width: 1rem;
  height: 1.75rem;
  transform: translateX(-50%);
  fill: none;
  stroke: #7c8ca1;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.curation-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 11.5rem 1fr 3rem 1fr;
  align-items: center;
  gap: 0.625rem;
}
.curation-card {
  min-width: 0;
}
.curation-image-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.375rem;
  min-height: 1.6875rem;
  margin-bottom: 0.5rem;
}
.curation-image-heading .image-label {
  margin: 0;
  min-height: 0;
}
.curation-reference,
.curation-card {
  --reference-color: #505d6d;
}
[data-curation-part="source"],
[data-curation-image="source"] {
  --reference-color: #597249;
}
[data-curation-part="edit"],
[data-curation-image="edit"] {
  --reference-color: #315b9c;
}
.curation-reference {
  color: var(--reference-color);
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  transition:
    background 160ms,
    border-color 160ms;
}
.curation-reference.is-matched,
.curation-reference:focus-visible {
  background: color-mix(in srgb, var(--reference-color) 7%, transparent);
  border-color: color-mix(in srgb, var(--reference-color) 30%, transparent);
}
.curation-symbol {
  flex: none;
  padding: 0.1875rem 0.3125rem;
  font:
    0.875rem / 1.3 TailMath,
    Georgia,
    serif;
}
.curation-reference:disabled {
  cursor: default;
  opacity: 0.45;
}
.curation-card.is-matched .curation-image {
  outline: 2px solid var(--reference-color);
  outline-offset: 3px;
}

.curation-flow[data-ready="true"][data-inspect="source"] #curation-source,
.curation-flow[data-ready="true"][data-inspect="edit"] #curation-generated {
  opacity: 0.16 !important;
}
.curation-flow[data-ready="true"][data-inspect="source"] #source-mask-canvas,
.curation-flow[data-ready="true"][data-inspect="edit"] #edit-mask-canvas {
  opacity: 1 !important;
}
.curation-flow[data-edit-type="identity"][data-inspect="source"]
  #curation-source {
  opacity: 1 !important;
}
.curation-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.curation-controls .segmented {
  margin-top: 0;
}
.curation-pieces {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.curation-pieces > * {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform-origin: top left;
  border-radius: 6px;
}
#scene-curation .equation-line {
  margin-top: 1.5rem;
}
.curation-image {
  position: relative;
  aspect-ratio: var(--curation-aspect-ratio, 1);
  isolation: isolate;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f4f8;
}
.curation-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.curation-image > canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0;
}
.curation-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  margin-top: 0.6875rem;
  font-size: 0.5625rem;
  color: #656e7a;
}
.curation-card figcaption > span {
  color: #696e74;
  margin: 0 0.1875rem;
}
.curation-card figcaption .mask-symbol {
  margin: 0;
  color: var(--reference-color);
  font-family: TailMath, Georgia, serif;
}
.legend-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #b4bcc8;
  flex: none;
}
.legend-dot.green {
  background: #76a252;
}
.legend-dot.blue {
  background: var(--blue);
}
.legend-dot.orange {
  background: var(--orange);
}
.legend-dot.gray {
  background: #aab1bc;
}
.flow-arrow {
  text-align: center;
  color: #626f82;
  margin-top: 0.4375rem;
}
.flow-arrow > span {
  font-size: 1.5rem;
}
.flow-arrow small {
  display: block;
  font-size: 0.4375rem;
  line-height: 1.6;
  letter-spacing: 0.4px;
  margin-top: 0.5rem;
}
.frozen-model-flow {
  position: relative;
  display: flex;
  align-items: center;
  height: 3rem;
}
.frozen-model-flow img {
  flex: none;
  width: 4rem;
  height: 3rem;
  object-fit: cover;
}
.frozen-model-flow svg {
  flex: 1;
  min-width: 0;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.flow-arrow.frozen-model small {
  color: #52667e;
  font-size: 0.5625rem;
  line-height: 1.45;
  letter-spacing: 0;
  margin-top: 0.3125rem;
}
.target-card .image-label {
  color: var(--blue);
  font-size: 0.4375rem;
  letter-spacing: 0.6px;
}
.composite-target {
  background: repeating-conic-gradient(#f1f4f8 0% 25%, #e9eef5 0% 50%) 50% /
    16px 16px;
}
.equation-line {
  padding-top: 15px;
  border-top: 1px solid #edf0f4;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.equation-line > span:first-child {
  font-size: 17px;
  letter-spacing: -0.2px;
  font-family: TailMath, Georgia, serif;
}
.equation-line > span:last-child {
  font-size: 9px;
  color: #676c72;
}
.curation-equation {
  display: flex;
  align-items: flex-start;
  gap: clamp(2px, 0.8vw, 12px);
}
.equation-term {
  display: grid;
  gap: 6px;
  padding: 6px 7px;
  text-align: center;
  font: inherit;
  line-height: 1.4;
}
.equation-term > span {
  white-space: nowrap;
}
.equation-term small {
  font:
    9px / 1.4 Inter,
    sans-serif;
  letter-spacing: 0;
}
.equation-operator {
  padding-top: 7px;
  line-height: 1.4;
  color: #7d8793;
}
#curation-equation-note {
  flex: none;
  line-height: 1.7;
}
.curation-equation-notes {
  display: grid;
  flex: none;
  gap: 7px;
}
.curation-profile-link {
  display: block;
  width: fit-content;
  margin: 0.45rem 0 0 auto;
  padding-block: 0.15rem;
  font: 400 0.76rem/1.5 Inter, sans-serif;
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: #b9c8d9;
  text-underline-offset: 3px;
}
.curation-profile-link:hover,
.curation-profile-link:focus-visible {
  text-decoration-color: currentColor;
}
#scene-terminal .scene-header {
  grid-template-columns: 1fr auto;
  gap: 15px;
  margin-bottom: 12px;
}
.terminal-setup {
  display: grid;
  grid-template-columns: 1fr 24px 1.45fr;
  align-items: center;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 12px;
}
.terminal-target-link {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #e5e9ee;
  border-radius: 8px;
  text-align: left;
  transition:
    border-color 180ms,
    background 180ms;
}
.terminal-target-link:hover,
.terminal-target-link:focus-visible {
  border-color: #b5c8df;
  background: #f7f9fc;
}
.terminal-target-link .eyebrow {
  font-size: 8px;
  letter-spacing: 1px;
}
.terminal-target-equation {
  display: grid;
  gap: 3px;
  font:
    14px / 1.4 TailMath,
    Georgia,
    serif;
  color: #505d6d;
}
.terminal-target-equation > span:last-child {
  white-space: nowrap;
  font-size: 13px;
}
.terminal-target-link small {
  font-size: 10px;
  color: #626e7e;
}
.terminal-supervision-arrow {
  color: #94a5ba;
  font-size: 24px;
  text-align: center;
}
.terminal-training-diagram {
  width: 100%;
  height: 100px;
}
.terminal-train-label {
  fill: var(--orange);
  font-size: 11px;
}
.terminal-math {
  fill: #505d6d;
  font:
    14px TailMath,
    Georgia,
    serif;
}
.terminal-evidence-wrap {
  max-width: 1000px;
  margin: auto;
}
.terminal-evidence {
  width: 100%;
  table-layout: fixed;
  border-spacing: 5px;
  margin: 0;
}
.terminal-schedule-col {
  width: 24%;
}
.terminal-evidence thead th {
  color: #656e7e;
  font-size: 9px;
  font-weight: 400;
  padding-bottom: 4px;
}
.terminal-evidence thead th:first-child {
  text-align: left;
  font-size: 8px;
  letter-spacing: 0.5px;
  padding-left: 9px;
}
.terminal-row {
  --row-color: #a5aeb9;
  --row-wash: #f4f5f7;
}
.terminal-row[data-terminal="switch"] {
  --row-color: #315b9c;
  --row-wash: #f0f4fa;
}
.terminal-row[data-terminal="all"] {
  --row-color: #cc7033;
  --row-wash: #fcf5ef;
}
.terminal-row th {
  padding: 8px 9px;
  border-radius: 5px;
  text-align: left;
  font-weight: 400;
  transition: background 300ms;
}
.terminal-row strong,
.terminal-schedule,
.terminal-verdict {
  display: block;
}
.terminal-row strong {
  font-size: 12px;
  font-weight: 500;
}
.terminal-schedule {
  font-size: 9px;
  color: #626e7e;
  margin-top: 5px;
}
.terminal-verdict {
  font-size: 10px;
  line-height: 1.4;
  color: #626e7e;
  margin-top: 8px;
}
.terminal-row[data-terminal="switch"] .terminal-verdict {
  color: #315b9c;
}
.terminal-row[data-terminal="all"] .terminal-verdict {
  color: #a45c2e;
}
.terminal-row td {
  padding: 0;
}
.terminal-row td::before {
  display: none;
  content: attr(data-turn);
}
.terminal-row img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 347 / 217;
  object-fit: contain;
  border-radius: 3px;
  outline: 2px solid transparent;
  outline-offset: -2px;
  transition: outline-color 300ms;
}
.terminal-row.is-active th {
  background: var(--row-wash);
}
.terminal-row.is-active img {
  outline-color: var(--row-color);
}
.terminal-cause {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 9px 0 12px;
  font-size: 11px;
  line-height: 1.5;
  color: #626e7e;
  transition: color 300ms;
}
.terminal-cause strong {
  font-weight: 500;
}
.terminal-cause-symbol {
  font-size: 26px;
  color: #b2927d;
}
.terminal-cause.is-active {
  color: #a45c2e;
}
.terminal-extension {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 85px;
  gap: 20px;
  align-items: center;
  border-top: 1px solid #edf0f4;
  padding-top: 15px;
}
.terminal-extension-title {
  display: grid;
  gap: 5px;
}
.terminal-extension-title .eyebrow {
  font-size: 8px;
}
.terminal-extension-title strong {
  font-size: 24px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: -1px;
}
.terminal-extension-title small {
  font-size: 10px;
  color: #626e7e;
}
#terminal-tailsteer {
  width: 100%;
  height: 90px;
}
.terminal-region-label {
  fill: #505d6d;
  font:
    20px TailHand,
    Inter,
    sans-serif;
}
.terminal-region-label.blue {
  fill: var(--blue);
}
.terminal-training-link {
  font-size: 10px;
  line-height: 1.7;
  color: #626e7e;
}
.terminal-training-link span {
  font-size: 16px;
  display: block;
  color: var(--blue);
}
.terminal-training-link:hover {
  color: var(--blue);
}
.training {
  background: var(--chapter-shade);
}
.training-story {
  background: #fbfcfd;
  border: 1px solid #e3e8ef;
  border-radius: 0.875rem;
  overflow: hidden;
}
.training-toolbar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 1px solid #e8ecf2;
  padding: 0.875rem 1.5rem;
}
.training-steps {
  display: flex;
  gap: 0.25rem;
  margin-right: auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}
.training-steps button {
  font-size: 0.5625rem;
  color: #666c72;
  padding: 0.5rem 0.625rem;
  border-radius: 0.3125rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.training-steps button span {
  margin-left: 0.375rem;
  color: #676f7a;
  font-size: 0.625rem;
}
.training-steps button.selected {
  background: #eef3fa;
  color: var(--blue);
}
.training-steps button.selected span {
  color: var(--blue);
}
.training-progress {
  height: 0.125rem;
  background: #f1f4f8;
}
.training-progress span {
  display: block;
  height: 100%;
  background: #8faade;
  transform-origin: left;
}
.training-action-label {
  font-size: 15px;
  fill: #476386;
}
#training-svg text {
  font-family: Inter, sans-serif;
}
#training-svg text:not(.svg-vector):not(.training-math) {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.3px;
}
#training-svg tspan.training-math {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
}
#training-svg .svg-vector,
#training-svg .training-math {
  font-family: TailMath, Georgia, serif;
}
.training-canvas {
  padding: 0.625rem 1rem 0;
  background: #fcfdfe;
}
.training-canvas svg {
  width: 100%;
  height: auto;
  max-height: calc(28.75rem + 2.5 * var(--desktop-spacing));
}
.training-canvas path,
.training-canvas line,
.training-canvas circle,
.training-canvas rect {
  vector-effect: non-scaling-stroke;
}
.diagram-note {
  margin: 0;
  padding: 6px 25px 2px;
  background: #fcfdfe;
  font-size: 9px;
  line-height: 1.5;
  color: #666c77;
  text-align: center;
}
.training-legend {
  padding: 0.625rem 1.5625rem 1.0625rem;
  justify-content: center;
  border-bottom: 1px solid #edf0f5;
  font-size: 0.5625rem;
  gap: 1.4375rem;
  background: #fcfdfe;
}
.legend-square {
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--blue);
  border-radius: 1px;
}
.legend-triangle {
  width: 0;
  height: 0;
  border-left: 0.3125rem solid transparent;
  border-right: 0.3125rem solid transparent;
  border-bottom: 0.5rem solid var(--orange);
}
.training-description {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  padding: 18px 30px;
  min-height: 138px;
  align-items: center;
}
.training-description .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
}
.training-description h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 7px 0;
}
.training-description p {
  font-size: 11px;
  color: #626e7e;
  line-height: 1.7;
  max-width: 510px;
}
.training-equation {
  border-left: 1px solid #e6ebf2;
  padding: 12px 0 12px 28px;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 85px;
}
.training-equation .equation-symbol {
  font-size: 19px;
  line-height: 1.5;
}
.equation-symbol {
  font-family: TailMath, Georgia, serif;
  font-size: 23px;
  letter-spacing: -0.5px;
  color: #476386;
  line-height: 1.3;
}
.equation-explainer {
  font-size: 9px;
  color: #686e79;
  line-height: 1.6;
}
.training-controls {
  display: flex;
  align-items: center;
  gap: 1.5625rem;
  padding: 1rem 1.875rem;
  background: #f8fafc;
  border-top: 1px solid #edf0f5;
}
.training-controls label {
  font-size: 0.625rem;
  color: #666d76;
  white-space: nowrap;
}
.training-controls strong {
  font-weight: 500;
  margin-left: 0.5rem;
  color: #96501f;
  font-variant-numeric: tabular-nums;
}
.training-controls input {
  max-width: 23.75rem;
  accent-color: var(--orange);
}
.training-controls input::-webkit-slider-thumb {
  background: var(--orange);
}
.training-controls input::-moz-range-thumb {
  background: var(--orange);
}
.training-controls .small-button {
  margin-left: auto;
  white-space: nowrap;
}
.practice {
  padding: 125px 8%;
  background: #f3f5f8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.practice .eyebrow {
  margin-bottom: 25px;
}
.practice h2 {
  font-family: TailHand, Inter, sans-serif;
  font-size: clamp(40px, 5.1vw, 74px);
  letter-spacing: 0;
  font-weight: 400;
  line-height: 1.08;
  position: relative;
}
.practice-wordmark {
  font-family: Inter, sans-serif;
  font-weight: 600;
  letter-spacing: -0.082em;
  color: var(--ink);
  white-space: nowrap;
}
.practice > p {
  font-size: 14px;
  color: #686f78;
  line-height: 1.8;
  margin-top: 22px;
  position: relative;
  max-width: 54ch;
}
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid #dfe5ec;
  border-radius: 5px;
  font-size: 10px;
  color: #686e7a;
  letter-spacing: 0.3px;
  margin-top: 28px;
  position: relative;
  background: #f5f7fa;
}
.coming-soon i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9b7cc;
}
.practice-path {
  --practice-path-opacity: 0.6;
  position: absolute;
  width: 55%;
  right: -10%;
  bottom: 8%;
  pointer-events: none;
}
.practice-trajectory {
  opacity: var(--practice-path-opacity);
}
.back-to-top {
  margin-top: 60px;
  color: #636d7a;
  font-size: 11px;
}
footer {
  padding: 1.625rem 5.5%;
  background: var(--chapter-shade);
  border-top: 1px solid #e4e8ef;
  display: flex;
  gap: 1.5625rem;
  align-items: center;
  color: #676d78;
  font-size: 0.5625rem;
}
footer p {
  margin-left: auto;
}
footer > span {
  font-size: 0.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #5f6c82;
}
.footer-brand img {
  width: 1.625rem;
  height: 1.625rem;
}
@media (max-width: 1150px) {
  .brand {
    font-size: 16px;
  }
  .brand img {
    width: 29px;
  }

  .results,
  .motivation,
  .training {
    padding: 68px 5% 45px;
  }
  .section-heading > p {
    font-size: 12px;
    max-width: 280px;
  }
  .section-heading h2 {
    letter-spacing: -1.9px;
  }
  .scene {
    padding: 25px 23px 18px;
  }
  .scene-header h3 {
    font-size: 9px;
  }
  .scene-header p {
    font-size: 11px;
  }
  .frequency-layout {
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
  }
  .frequency-preservation {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
    gap: 20px;
  }
  .frequency-residual {
    margin-top: 35px;
  }
  .scene-tabs button {
    font-size: 10px;
    padding: 11px;
  }
  .scene-tabs button span {
    margin-right: 6px;
  }
  .training-toolbar {
    padding: 12px 16px;
    gap: 8px;
  }
  .training-steps button {
    padding: 8px 6px;
  }
  .training-steps button span {
    font-size: 9px;
    margin-left: 4px;
  }
  .training-description {
    padding: 22px 23px;
    gap: 20px;
  }
  .training-equation {
    padding-left: 20px;
  }
  .equation-symbol {
    font-size: 19px;
  }
  .training-description h3 {
    font-size: 19px;
  }
  .training-controls {
    gap: 18px;
    padding: 15px 23px;
  }
  .training-notes {
    gap: 20px;
  }
  .training-notes .text-link {
    white-space: normal;
    max-width: 150px;
  }
  .curation-flow {
    grid-template-columns: 1fr 144px 1fr 28px 1fr;
    gap: 7px;
  }
  .curation-prompt {
    position: static;
    padding: 10px;
    font-size: 10px;
  }
  .curation-prompt-arrow {
    position: static;
    display: block;
    transform: none;
    margin: 5px auto;
    height: 24px;
  }
  .flow-arrow small {
    font-size: 6px;
  }
  .frozen-model-flow,
  .frozen-model-flow img {
    height: 36px;
  }
  .frozen-model-flow img {
    width: 48px;
  }
  .curation-card figcaption {
    font-size: 8px;
  }
  .target-card .image-label {
    font-size: 6.5px;
    letter-spacing: 0.2px;
  }
  .image-label {
    font-size: 7px;
  }
  .equation-line > span:first-child {
    font-size: 15px;
  }
  .equation-line > span:last-child {
    font-size: 8px;
  }
  .curation-symbol {
    font-size: 12px;
    padding-inline: 3px;
  }
  .equation-term {
    padding-inline: 3px;
  }
  .equation-term small {
    font-size: 8px;
  }
  .motivation-stage {
    min-height: 525px;
  }
}
@media (max-width: 850px) {
  .terminal-setup {
    grid-template-columns: 1fr 18px 1.25fr;
    gap: 9px;
  }
  .terminal-target-equation > span:last-child {
    font-size: 11px;
  }
  .terminal-row strong {
    font-size: 10px;
  }
  .terminal-schedule,
  .terminal-verdict {
    font-size: 8px;
  }
  .terminal-extension {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }
  .terminal-training-link {
    grid-column: 2;
    text-align: right;
  }
  .terminal-training-link span {
    display: inline;
  }

  .brand img {
    width: 30px;
  }
  .brand-note {
    display: none;
  }

  .results,
  .motivation,
  .training {
    padding-top: 65px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .section-heading.compact h2 {
    font-size: 42px;
  }
  .motivation-stage {
    min-height: 550px;
  }
  .scene-header h3 {
    font-size: 11px;
  }
  .training-steps button span {
    font-size: 10px;
  }
  .training-notes > p {
    font-size: 10px;
  }
  .practice {
    padding: 100px 7%;
  }
  .practice h2 {
    font-size: 54px;
  }
  .practice-path {
    width: 90%;
    right: -25%;
    --practice-path-opacity: 0.4;
  }
  .skip-link {
    left: 20px;
  }
}
@media (max-width: 600px) {
  .terminal-setup {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .terminal-supervision-arrow {
    display: none;
  }
  .terminal-target-equation > span:last-child {
    font-size: 13px;
  }
  .terminal-evidence,
  .terminal-evidence tbody {
    display: block;
  }
  .terminal-evidence thead,
  .terminal-evidence colgroup,
  .terminal-row td[data-turn="Turn 10"],
  .terminal-row td[data-turn="Turn 15"] {
    display: none;
  }
  .terminal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 14px;
  }
  .terminal-row th {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 7px;
  }
  .terminal-row strong {
    font-size: 11px;
  }
  .terminal-schedule {
    margin: 0;
    align-self: center;
    text-align: right;
  }
  .terminal-verdict {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 9px;
  }
  .terminal-row td::before {
    display: block;
    font-size: 8px;
    color: #656e7e;
    text-align: center;
    margin-bottom: 5px;
  }
  .terminal-cause {
    font-size: 10px;
    gap: 6px;
  }
  .terminal-extension {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .terminal-extension-title {
    grid-template-columns: auto 1fr;
    align-items: center;
  }
  .terminal-extension-title .eyebrow {
    grid-column: 1 / -1;
  }
  .terminal-extension-title small {
    justify-self: end;
  }
  .terminal-training-link {
    grid-column: 1;
  }
  .results,
  .motivation,
  .training {
    padding: 54px 6% 40px;
  }
  .section-heading,
  .section-heading.compact {
    display: block;
  }
  .section-heading .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }
  .section-heading h2,
  .section-heading.compact h2 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }
  .section-heading > p {
    margin-top: 19px;
    font-size: 12px;
    max-width: none;
  }
  .section-heading > p br {
    display: none;
  }
  .motivation-toolbar {
    margin-top: 22px;
    gap: 8px;
    align-items: flex-end;
  }
  .scene-tabs {
    gap: 3px;
    flex: 1;
  }
  .scene-tabs button {
    font-size: 8px;
    padding: 10px 8px;
    white-space: normal;
    line-height: 1.5;
    text-align: left;
    flex: 1;
  }
  .scene-tabs button span {
    display: block;
    margin: 0 0 4px;
    font-size: 8px;
  }
  .motivation-toolbar .icon-button {
    width: 25px;
    height: 25px;
    margin-bottom: 8px;
  }
  .motivation-stage {
    border-radius: 11px;
    min-height: 0;
  }
  .scene {
    padding: 22px 18px 18px;
  }
  .scene-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  #scene-curation .scene-header {
    grid-template-columns: 1fr;
  }
  .scene-header h3 {
    font-size: 11px;
  }
  .scene-header p {
    font-size: 11px;
    max-width: none;
  }
  .frequency-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .frequency-images {
    max-width: none;
    gap: 13px;
  }
  .frequency-images figure {
    flex: 1;
  }
  .frequency-preservation {
    display: block;
  }
  .frequency-residual {
    margin-top: 18px;
  }
  .frequency-legend {
    font-size: 8px;
  }
  .chart-label {
    padding-left: 22px;
    font-size: 9px;
  }
  .chart-label span {
    font-size: 8px;
  }
  .scene-control {
    gap: 12px;
    padding: 18px 0 14px;
    margin-top: 20px;
    font-size: 9px;
  }
  .image-label {
    font-size: 7px;
  }
  .curation-prompt {
    gap: 5px;
    font-size: 9px;
    line-height: 1.5;
    padding: 8px 5px;
  }
  .curation-prompt > span:first-child {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .curation-flow {
    grid-template-columns: 1fr clamp(76px, 22vw, 110px) 1fr;
    gap: 6px;
  }
  .curation-flow .combine-arrow {
    display: none;
  }
  .target-card {
    grid-column: 1/-1;
    max-width: 52%;
    width: 100%;
    justify-self: center;
    margin-top: 18px;
  }
  .target-card .image-label {
    font-size: 7px;
    letter-spacing: 0.3px;
    text-align: center;
  }
  .target-card figcaption {
    justify-content: center;
    font-size: 9px;
  }
  .curation-card figcaption {
    font-size: 8px;
    gap: 4px;
  }
  .flow-arrow small {
    font-size: 6px;
  }
  .frozen-model-flow,
  .frozen-model-flow img {
    height: 30px;
  }
  .frozen-model-flow img {
    width: 40px;
  }
  .flow-arrow.frozen-model small {
    font-size: 8px;
  }
  .curation-controls {
    justify-content: flex-start;
  }
  .equation-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .equation-line > span:first-child {
    font-size: 16px;
  }
  .equation-line > span:last-child {
    font-size: 8px;
  }
  .equation-line > .curation-equation:first-child {
    width: 100%;
    justify-content: space-between;
    font-size: clamp(11px, 3.1vw, 16px);
    gap: 2px;
  }
  .curation-image-heading {
    min-height: 32px;
    gap: 3px;
  }
  #curation-equation-note br {
    display: none;
  }
  .training-story {
    border-radius: 10px;
  }
  .training-toolbar {
    padding: 10px 10px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .training-steps {
    width: 100%;
    justify-content: space-between;
    gap: 1px;
    margin-bottom: 3px;
  }
  .training-steps button {
    padding: 7px 6px;
    font-size: 8px;
    flex: 1 0 auto;
  }
  .training-steps button span {
    display: block;
    margin: 4px 0 0;
    font-size: 8px;
  }
  .training-toolbar > .icon-button:first-of-type {
    margin-left: auto;
  }
  .training-toolbar > .icon-button {
    width: 25px;
    height: 25px;
    font-size: 13px;
  }
  .training-canvas {
    padding: 6px 0 0;
    overflow: auto;
  }
  .training-canvas svg {
    min-width: 580px;
    width: 580px;
    max-width: none;
    height: 235px;
  }
  .training-legend {
    padding: 12px;
    gap: 9px 12px;
    font-size: 8px;
    justify-content: flex-start;
  }
  .training-legend .line {
    width: 16px;
  }
  .training-legend .legend-dot {
    width: 5px;
    height: 5px;
  }
  .training-description {
    grid-template-columns: 1fr;
    padding: 20px 18px;
    gap: 4px;
    min-height: 280px;
  }
  .training-description h3 {
    font-size: 22px;
    line-height: 1.2;
  }
  .training-description p {
    font-size: 11px;
    line-height: 1.8;
  }
  .training-equation {
    border-left: 0;
    border-top: 1px solid #e6ebf2;
    padding: 15px 0 0;
    min-height: 65px;
    gap: 9px;
  }
  .equation-symbol {
    font-size: 21px;
  }
  .training-controls {
    padding: 18px;
    gap: 15px;
    flex-wrap: wrap;
  }
  .training-controls label {
    font-size: 10px;
  }
  .training-controls input {
    min-width: 70px;
  }
  .training-controls .small-button {
    width: 100%;
    font-size: 10px;
  }
  .training-notes {
    display: block;
    margin-top: 20px;
  }
  .training-notes > p {
    font-size: 9px;
  }
  .training-notes .text-link {
    margin-top: 14px;
    max-width: none;
    white-space: normal;
    font-size: 10px;
  }
  .practice {
    padding: 85px 7%;
  }
  .practice h2 {
    font-size: 42px;
  }
  .practice .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .practice > p {
    font-size: 12px;
    max-width: 300px;
  }
  .coming-soon {
    font-size: 9px;
  }
  .practice-path {
    width: 110%;
    bottom: 6%;
    --practice-path-opacity: 0.3;
  }
  .back-to-top {
    font-size: 10px;
    margin-top: 65px;
  }
  footer {
    padding: 22px 6%;
    flex-wrap: wrap;
    gap: 12px;
  }
  footer p {
    font-size: 8px;
  }
  footer > span {
    flex-basis: 100%;
    text-align: right;
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .frequency-residual * {
    transition-delay: 0s !important;
  }
}

.mobile-pan-hint {
  display: none;
}
@media (min-width: 851px) {
  .scene-header p {
    font-size: 14px;
  }
  .training-description p {
    font-size: 13px;
  }
  .scene-tabs button {
    font-size: 12px;
  }
  .training-steps button span {
    font-size: 0.6875rem;
  }
  .diagram-note {
    font-size: 10px;
  }
  .training-notes > p {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .mobile-pan-hint {
    display: block;
    margin-top: 4px;
    color: #315b9c;
  }
  .training-steps {
    overflow-x: auto;
    justify-content: flex-start;
  }
  .training-steps button {
    min-width: 48px;
    flex: none;
  }
  .training-canvas {
    scrollbar-width: thin;
  }
}

.flow-arrow {
  position: relative;
}
.curation-flow.rolling .frozen-model-flow::after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #315b9c;
  transform: translateX(calc(2px + var(--rollout-progress, 0) * 9px));
}
.data-free-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: var(--blue);
  background: #eef3fa;
  border: 1px solid #dae5f4;
  border-radius: 4px;
  padding: 3px 7px;
  margin: 0 7px 4px 0;
}

#main .chapter:not(.hero),
#main footer {
  padding-inline: var(--page-gutter);
}
#main .chapter:not(.hero) {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: var(--chapter-space);
}

.page-ending {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--header-height));
  background: var(--chapter-light);
}
.page-ending > footer {
  margin-block-start: auto;
}
@media (max-width: 850px) {

  .hero {
    --hero-width: min(100%, 38rem, max(28rem, calc((100svh - var(--header-height) - 3rem) * 1200 / 1824)));
    --hero-height-units: 1824;
    --hero-title-inset: 6;
    --hero-label-inset: 81;
    --hero-pad-start: 1rem;
    --hero-pad-end: 1.5rem;
  }
  .hero-copy {
    --u: 0.1666666667cqw;
    right: var(--hero-art-inset);
    width: auto;
  }
  .hero-trajectory {
    top: 94cqw;
    height: 53cqw;
  }
  .hero-slogan {
    font-size: calc(25 * var(--u) * var(--hero-type-scale));
  }
  .slogan-detail {
    font-size: calc(24 * var(--u) * var(--hero-type-scale));
  }
  .hero-resources {
    display: grid;
    grid-template-columns: max-content max-content;
    gap: calc(12 * var(--u));
  }
  .resource-models > .resource-button {
    width: 100%;
  }
  .resource-button {
    font-size: calc(18 * var(--u));
    min-height: calc(58 * var(--u));
    padding-inline: calc(16 * var(--u));
    gap: calc(9 * var(--u));
    border-radius: calc(13 * var(--u));
  }
  .resource-button img {
    width: calc(25 * var(--u));
    height: calc(25 * var(--u));
  }
  .authors {
    font-size: calc(17 * var(--u));
  }
  .affiliations {
    font-size: calc(14 * var(--u));
  }
  .hero-node text,
  .hero-onset text,
  .hero-region-label {
    font-size: calc(32px * var(--hero-type-scale));
  }
  .hero-node text,
  .hero-onset text {
    font-size: calc(31px * var(--hero-type-scale));
  }
  .hero-onset-hint {
    transform: translateY(16px);
  }
}

.managed-images img:not([data-painted]), img:not([src]):not([srcset]) { visibility: hidden; }
:where(.rs-gen-tile, .rs-image, .result-guide, .comparison-image, .guide-film button):has(> img:not([data-painted])) {
  background-color: #eef1f3;
}
.media-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
dialog :is(.rs-magnify,.comparison-image,.guide-detail-frame)[data-detail-state] { position: relative; }
dialog [data-detail-state="loading"], dialog [data-detail-state="error"] {
  isolation: isolate; background: #e8ebed !important; cursor: progress;
}
dialog [data-detail-state="loading"] > img, dialog [data-detail-state="error"] > img {
  filter: grayscale(1); opacity: .26; pointer-events: none;
}
dialog [data-detail-state="loading"]::after {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 1.55rem; height: 1.55rem; margin: -.775rem 0 0 -.775rem;
  border: 2px solid rgba(255,255,255,.85); border-top-color: #47576a;
  border-right-color: #758391; border-radius: 50%;
  box-shadow: 0 0 0 4px rgb(248 249 250 / 44%);
  pointer-events: none; animation: media-spin .85s linear infinite;
}
dialog [data-detail-state="error"] { cursor: default; }
dialog :is(.rs-zoom, .comparison-zoom)[aria-disabled="true"] { opacity: .48; }
dialog .media-retry { display: block; margin: .8rem auto; padding: .35rem .75rem; cursor: pointer; }
@keyframes media-spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) {
  dialog [data-detail-state="loading"]::after { animation: none; }
}

.rs-gen-tile:has(> img[data-image-error])::before, .guide-film button:has(> img[data-image-error])::before {
  content: "Preview unavailable"; position:absolute; inset:0; display:grid; place-items:center;
  color:#5a6674; font:400 .75rem/1.3 Inter,sans-serif;
}
.guide-film button:has(> img[data-image-error]) { position:relative; }
