@property --loop-active-x {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

@property --loop-active-glow {
  syntax: "<color>";
  inherits: true;
  initial-value: #4c9d96;
}

:root {
  color-scheme: light;
  --ink: #172033;
  --ink-soft: #3e4a5e;
  --muted: #697386;
  --line: #dfe5ec;
  --line-strong: #c9d2dd;
  --surface: #f6f8fb;
  --surface-warm: #fbf8f5;
  --paper: #ffffff;
  --teal: #4c9d96;
  --sky: #66add0;
  --cornflower: #718dca;
  --lavender: #9380c1;
  --orchid: #b777a7;
  --apricot: #d89368;
  --header-bg: rgba(255, 255, 255, 0.94);
  --paper-glass: rgba(255, 255, 255, 0.72);
  --paper-hover: rgba(255, 255, 255, 0.7);
  --control-hover: #fcfdfd;
  --placeholder: #929bad;
  --teal-text: #2f746e;
  --selected-bg: #eef6f5;
  --published-bg: #e7f1ef;
  --published-ink: #2f726c;
  --preprint-bg: #eee9f5;
  --preprint-ink: #6d5897;
  --project-bg: #f5eae3;
  --project-ink: #925f40;
  --disabled: #a8afbb;
  --tooltip-detail: #d8dee8;
  --loop-label-ink: #14245c;
  --loop-frame-ink: #133782;
  --loop-flow-ink: #15357f;
  --loop-feedback-ink: #167e82;
  --loop-label-bg: rgba(255, 255, 255, 0.95);
  --loop-label-border: rgba(198, 208, 221, 0.92);
  --shadow: 0 18px 60px rgba(33, 45, 68, 0.08);
  --max-width: 1440px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-editorial: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
  --font-section: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

:root[data-theme="dark"],
:root[data-resolved-theme="dark"] {
  color-scheme: dark;
  --ink: #e7edf7;
  --ink-soft: #bcc7d8;
  --muted: #909db0;
  --line: #2b3546;
  --line-strong: #3c485d;
  --surface: #171e2a;
  --surface-warm: #1b1a1f;
  --paper: #101620;
  --teal: #69c6bd;
  --sky: #78c2e3;
  --cornflower: #8ca8eb;
  --lavender: #ad99dc;
  --orchid: #d18dbb;
  --apricot: #e8a078;
  --header-bg: rgba(16, 22, 32, 0.92);
  --paper-glass: rgba(28, 37, 51, 0.82);
  --paper-hover: rgba(32, 43, 59, 0.72);
  --control-hover: #1a2330;
  --placeholder: #738095;
  --teal-text: #7bd0c8;
  --selected-bg: #1a3537;
  --published-bg: #193335;
  --published-ink: #8ad4cc;
  --preprint-bg: #2d2740;
  --preprint-ink: #c0abe9;
  --project-bg: #3b2a23;
  --project-ink: #efb28c;
  --disabled: #5f6b7d;
  --tooltip-detail: #c2ccda;
  --loop-label-ink: #c7d5f4;
  --loop-frame-ink: #a9c5ff;
  --loop-flow-ink: #bdd0ff;
  --loop-feedback-ink: #8ad8d4;
  --loop-label-bg: rgba(21, 29, 42, 0.94);
  --loop-label-border: rgba(82, 99, 124, 0.92);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]):not([data-resolved-theme]) {
    color-scheme: dark;
    --ink: #e7edf7;
    --ink-soft: #bcc7d8;
    --muted: #909db0;
    --line: #2b3546;
    --line-strong: #3c485d;
    --surface: #171e2a;
    --surface-warm: #1b1a1f;
    --paper: #101620;
    --teal: #69c6bd;
    --sky: #78c2e3;
    --cornflower: #8ca8eb;
    --lavender: #ad99dc;
    --orchid: #d18dbb;
    --apricot: #e8a078;
    --header-bg: rgba(16, 22, 32, 0.92);
    --paper-glass: rgba(28, 37, 51, 0.82);
    --paper-hover: rgba(32, 43, 59, 0.72);
    --control-hover: #1a2330;
    --placeholder: #738095;
    --teal-text: #7bd0c8;
    --selected-bg: #1a3537;
    --published-bg: #193335;
    --published-ink: #8ad4cc;
    --preprint-bg: #2d2740;
    --preprint-ink: #c0abe9;
    --project-bg: #3b2a23;
    --project-ink: #efb28c;
    --disabled: #5f6b7d;
    --tooltip-detail: #c2ccda;
    --loop-label-ink: #c7d5f4;
    --loop-frame-ink: #a9c5ff;
    --loop-flow-ink: #bdd0ff;
    --loop-feedback-ink: #8ad8d4;
    --loop-label-bg: rgba(21, 29, 42, 0.94);
    --loop-label-border: rgba(82, 99, 124, 0.92);
    --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.ph {
  flex: none;
  font-size: 1.1em;
  line-height: 1;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
summary,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent);
  text-underline-offset: 0.2em;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid rgba(76, 157, 150, 0.5);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.section-shell.inset-shell {
  width: min(calc(100% - 48px), 1240px);
}

.inset-shell > :is(.section-intro, .loop-intro) {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.section-block {
  padding-block: 126px;
  scroll-margin-top: 80px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 72px;
  border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol,
.footer-symbol {
  display: block;
  width: 38px;
  height: 38px;
  flex: none;
  background: url("logo-mark.svg?v=c84fab171504") center / contain no-repeat;
}

:root[data-theme="dark"] .brand-symbol,
:root[data-theme="dark"] .footer-symbol,
:root[data-resolved-theme="dark"] .brand-symbol,
:root[data-resolved-theme="dark"] .footer-symbol {
  background-image: url("logo-mark-dark.svg?v=0b54ac60b6d9");
}

.brand-lockup {
  display: block;
}

.brand-lockup span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 31px;
}

.desktop-nav a,
.header-github {
  position: relative;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav a.is-current {
  color: var(--ink);
}

.header-github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: end;
  color: var(--ink);
}

.header-github .ph {
  font-size: 17px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 18px;
}

.theme-switcher {
  display: grid;
  grid-auto-flow: column;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.theme-option {
  position: relative;
  display: grid;
  width: 30px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.theme-option .ph {
  transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-option:hover {
  color: var(--ink);
}

.theme-option:hover .ph {
  transform: rotate(8deg) scale(1.08);
}

.theme-option[aria-pressed="true"] {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1px 5px rgba(23, 32, 51, 0.12);
}

.theme-option::after {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 90;
  padding: 5px 7px;
  color: var(--paper);
  background: var(--ink);
  content: attr(data-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.theme-option:hover::after,
.theme-option:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mobile-menu {
  display: none;
  justify-self: end;
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu summary {
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: 64px;
  right: 16px;
  display: grid;
  width: min(260px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  padding: 11px 12px;
  text-decoration: none;
}

.mobile-menu a:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu a.is-current {
  color: var(--teal-text);
  background: var(--selected-bg);
}

.hero {
  min-height: 0;
  padding-block: clamp(76px, 7.5vw, 108px) clamp(44px, 4vw, 56px);
}

.hero-copy {
  width: 100%;
}

.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(92px, 8.5vw, 128px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-heading-copy {
  min-width: 0;
}

.hero-emblem {
  width: 100%;
  aspect-ratio: 1;
  justify-self: end;
  background: url("logo-mark.svg?v=c84fab171504") center / contain no-repeat;
  filter: none;
}

:root[data-theme="dark"] .hero-emblem,
:root[data-resolved-theme="dark"] .hero-emblem {
  background-image: url("logo-mark-dark.svg?v=0b54ac60b6d9");
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-kicker span + span::before {
  margin-right: 10px;
  color: var(--line-strong);
  content: "/";
}

.hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(48px, 4.9vw, 72px);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.92;
  white-space: nowrap;
}

.hero-summary {
  max-width: none;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-editorial);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.4;
}

.hero-authorship {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin-top: 31px;
  padding: 20px 0 1px 20px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--teal);
}

.hero-people {
  min-width: 0;
}

.hero-authors {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  gap: 9px 22px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(14px, 1.04vw, 15px);
  font-weight: 680;
  line-height: 1.45;
}

.hero-author {
  white-space: nowrap;
}

.hero-author sup {
  position: relative;
  top: -0.12em;
  margin-left: 2px;
  color: var(--teal-text);
  font-size: 9px;
  font-weight: 800;
}

.hero-affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 15px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  list-style: none;
}

.hero-affiliation {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.hero-affiliation-logo-frame {
  display: inline-flex;
  flex: 0 0 22px;
  align-items: center;
  width: 22px;
  height: 22px;
  padding: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 72%, transparent);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgb(16 33 54 / 9%);
}

.hero-affiliation-logo {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 18px;
  max-width: none;
  object-fit: contain;
}

.hero-affiliation-logo-frame[data-institution-logo="zju"] {
  border-color: #003f88;
  background: #003f88;
}

.hero-affiliation-logo-frame[data-institution-logo="hku"] {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.hero-affiliation-logo-frame[data-institution-logo="hku"] .hero-affiliation-logo {
  height: 22px;
  transform: none;
}

.hero-affiliation-marker {
  color: var(--teal-text);
  font-size: 9px;
  font-weight: 800;
}

.hero-affiliation abbr {
  text-decoration: none;
  cursor: help;
}

.hero-citation-link {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  padding: 1px 0 7px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.hero-citation-link:hover {
  border-color: var(--teal);
  color: var(--teal-text);
}

.hero-citation-link .ph {
  font-size: 14px;
  transition: transform 180ms ease;
}

.hero-citation-link:hover .ph {
  transform: translateY(2px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.button .ph {
  font-size: 18px;
  transition: transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover .ph {
  transform: translateY(-1px) scale(1.08);
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover {
  background: color-mix(in srgb, var(--ink) 88%, var(--teal));
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-text);
}

.stat-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-band dl {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
}

.stat-band dl > div {
  min-height: 126px;
  padding: 26px 28px;
  border-left: 1px solid var(--line);
}

.stat-band dl > div:last-child {
  border-right: 1px solid var(--line);
}

.stat-band dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-band dd {
  margin: 10px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.loop-explainer {
  border-bottom: 1px solid var(--line);
}

.loop-intro {
  max-width: none;
}

.loop-intro h2 {
  margin: 0;
  font-family: var(--font-section);
  font-size: clamp(42px, 4.7vw, 70px);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.loop-intro > p:last-child {
  max-width: none;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.loop-stage {
  margin-top: 64px;
  border-top: 1px solid var(--ink);
}

.loop-mobile-process {
  display: none;
}

.loop-mobile-track {
  position: relative;
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
}

.loop-mobile-track::before {
  position: absolute;
  top: 54px;
  bottom: 50px;
  left: 40px;
  width: 1px;
  background: linear-gradient(#f45f49, var(--lavender), #4d9ae7, var(--teal));
  content: "";
  opacity: 0.46;
}

.loop-mobile-step {
  --mobile-stage-color: var(--teal);
  position: relative;
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 28px 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 11px 13px 8px;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
  transition: color 320ms ease, background 320ms ease, transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.loop-mobile-step::before {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  background: var(--mobile-stage-color);
  content: "";
  transform: scaleY(0.12);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loop-mobile-step[data-loop-mobile-step="task"] {
  --mobile-stage-color: #f45f49;
}

.loop-mobile-step[data-loop-mobile-step="policy"] {
  --mobile-stage-color: var(--lavender);
}

.loop-mobile-step[data-loop-mobile-step="representation"] {
  --mobile-stage-color: #4d9ae7;
}

.loop-mobile-step[data-loop-mobile-step="verification"],
.loop-mobile-step[data-loop-mobile-step="artifact"] {
  --mobile-stage-color: var(--teal);
}

.loop-mobile-step-index,
.loop-mobile-step-verb {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.loop-mobile-step-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--mobile-stage-color) 36%, var(--line));
  color: var(--mobile-stage-color);
  background: var(--paper);
  box-shadow: 0 0 0 7px var(--paper);
  font-size: 20px;
  transition: color 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

.loop-mobile-step-copy {
  display: grid;
  gap: 4px;
}

.loop-mobile-step-copy strong {
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.15;
}

.loop-mobile-step-copy small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.loop-mobile-step.is-active {
  color: var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--mobile-stage-color) 12%, transparent), transparent 76%),
    var(--paper-glass);
  transform: translateX(5px);
}

.loop-mobile-step.is-active::before {
  transform: scaleY(1);
}

.loop-mobile-step.is-active .loop-mobile-step-icon {
  color: var(--paper);
  background: var(--mobile-stage-color);
  box-shadow:
    0 0 0 7px var(--paper),
    0 7px 22px color-mix(in srgb, var(--mobile-stage-color) 30%, transparent);
}

.loop-mobile-step.is-active .loop-mobile-step-verb {
  color: var(--mobile-stage-color);
}

.loop-mobile-step[data-loop-mobile-step="task"].is-active .loop-mobile-step-icon .ph {
  animation: mobile-task-lock 2.8s ease-in-out infinite;
}

.loop-mobile-step[data-loop-mobile-step="policy"].is-active .loop-mobile-step-icon .ph {
  animation: mobile-policy-route 3.1s ease-in-out infinite;
}

.loop-mobile-step[data-loop-mobile-step="representation"].is-active .loop-mobile-step-icon .ph {
  animation: mobile-representation-stack 2.9s ease-in-out infinite;
}

.loop-mobile-step[data-loop-mobile-step="verification"].is-active .loop-mobile-step-icon .ph {
  animation: mobile-verification-scan 2.5s ease-in-out infinite;
}

.loop-mobile-step[data-loop-mobile-step="artifact"].is-active .loop-mobile-step-icon .ph {
  animation: mobile-artifact-release 3.2s ease-in-out infinite;
}

.loop-mobile-feedback {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0 40px;
  border: 1px dashed color-mix(in srgb, var(--teal) 55%, var(--line));
  color: var(--teal-text);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.loop-stage.is-mobile-process .loop-mobile-process {
  display: block;
}

.loop-stage.is-mobile-process .loop-viewport {
  display: none;
}

.loop-viewport {
  --loop-active-glow: var(--teal);
  --loop-active-x: 50%;
  position: relative;
  min-height: 500px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-bottom: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 50% 54%, rgba(70, 137, 181, 0.055), transparent 39%),
    var(--paper);
  isolation: isolate;
  cursor: default;
  transition: --loop-active-x 1050ms cubic-bezier(0.22, 0.76, 0.22, 1),
    --loop-active-glow 780ms ease;
}

.loop-viewport::before {
  position: absolute;
  z-index: 0;
  inset: 2% 0 0;
  background: radial-gradient(
    ellipse 18% 46% at var(--loop-active-x) 58%,
    color-mix(in srgb, var(--loop-active-glow) 26%, transparent),
    color-mix(in srgb, var(--loop-active-glow) 8%, transparent) 48%,
    transparent 76%
  );
  content: "";
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.78);
  transition: opacity 280ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loop-viewport[data-active-stage]::before {
  opacity: 1;
  transform: scale(1);
  animation: process-active-spotlight 3.4s ease-in-out infinite;
}

.loop-viewport[data-active-stage="task"] {
  --loop-active-glow: #f45f49;
  --loop-active-x: 9%;
}

.loop-viewport[data-active-stage="policy"] {
  --loop-active-glow: var(--lavender);
  --loop-active-x: 27%;
}

.loop-viewport[data-active-stage="representation"] {
  --loop-active-glow: #4d9ae7;
  --loop-active-x: 49%;
}

.loop-viewport[data-active-stage="verification"] {
  --loop-active-glow: var(--teal);
  --loop-active-x: 70%;
}

.loop-viewport[data-active-stage="artifact"] {
  --loop-active-glow: var(--teal);
  --loop-active-x: 91%;
}

.loop-viewport.has-stage-hover {
  cursor: pointer;
}

.loop-viewport::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--paper) 26%, transparent),
    transparent 18%,
    transparent 82%,
    color-mix(in srgb, var(--paper) 10%, transparent)
  );
  content: "";
  pointer-events: none;
}

.loop-viewport canvas,
.loop-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loop-viewport canvas {
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 500ms ease;
}

.loop-fallback {
  z-index: 1;
  object-fit: contain;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transition: opacity 420ms ease, visibility 0s linear 420ms;
}

.loop-loading {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  color: var(--muted);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease, visibility 0s linear 360ms;
}

.loop-loading-track {
  position: relative;
  display: flex;
  gap: clamp(26px, 3vw, 48px);
  align-items: center;
}

.loop-loading-track::before {
  position: absolute;
  z-index: -1;
  right: 4px;
  left: 4px;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.loop-loading-track span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--teal) 48%, var(--line));
  animation: process-loader-node 2.2s ease-in-out infinite;
}

.loop-loading-track span:nth-child(2) {
  animation-delay: 140ms;
}

.loop-loading-track span:nth-child(3) {
  animation-delay: 280ms;
}

.loop-loading-track span:nth-child(4) {
  animation-delay: 420ms;
}

.loop-loading-track span:nth-child(5) {
  animation-delay: 560ms;
}

.loop-loading p {
  margin: 0;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.loop-stage.is-loading .loop-loading {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.loop-stage.is-ready .loop-viewport canvas {
  opacity: 1;
}

.loop-stage.is-fallback .loop-fallback {
  visibility: visible;
  opacity: 1;
  pointer-events: none;
  transition-delay: 0s;
}

.loop-label-layer {
  position: absolute;
  z-index: 4;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.loop-label-layer > span {
  position: absolute;
  width: max-content;
  transform: translate(-50%, -50%);
}

.loop-role-label {
  --loop-active-amount: 0;
  max-width: 190px;
  padding-bottom: 7px;
  color: var(--loop-stage-color, var(--ink));
  font-size: clamp(10px, 0.86vw, 14px);
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.28;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 10px var(--paper),
    0 0 10px var(--paper);
  transition:
    color 520ms ease,
    filter 520ms ease,
    text-shadow 520ms ease;
}

.loop-label-layer > .loop-role-label {
  transform:
    translate(-50%, -50%)
    translateY(calc(var(--loop-active-amount) * -5px))
    scale(calc(1 + var(--loop-active-amount) * 0.025));
}

.loop-role-label strong,
.loop-role-label small {
  display: block;
}

.loop-role-label small {
  margin-top: 5px;
  color: var(--loop-label-ink);
  font-size: clamp(8px, 0.69vw, 11px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.loop-role-label-task {
  max-width: 145px;
}

.loop-role-label-task small {
  margin-top: 10px;
}

.loop-role-label::after {
  position: absolute;
  right: 38%;
  bottom: 0;
  left: 38%;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.72;
  transition: right 480ms ease, left 480ms ease, opacity 480ms ease;
}

.loop-role-label.is-active {
  color: var(--loop-stage-color, var(--ink));
  filter: drop-shadow(0 6px 12px color-mix(in srgb, var(--loop-stage-color) 24%, transparent));
  text-shadow:
    0 0 8px var(--paper),
    0 0 8px var(--paper),
    0 0 18px color-mix(in srgb, var(--loop-stage-color) 28%, transparent);
  animation: process-active-label 3.4s cubic-bezier(0.2, 0.78, 0.2, 1) infinite;
}

.loop-role-label.is-active::after {
  right: 18%;
  left: 18%;
  opacity: 1;
  animation: process-line-pulse 1.4s ease-in-out infinite;
}

.loop-frame-label {
  padding: 2px 14px;
  color: var(--loop-frame-ink);
  background: var(--loop-label-bg);
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.loop-stage.is-ready .loop-frame-label {
  animation: process-label-breathe 3.4s ease-in-out infinite;
}

.loop-flow-label {
  min-width: 72px;
  padding: 6px 11px;
  border: 1px solid var(--loop-label-border);
  border-radius: 3px;
  color: var(--loop-flow-ink);
  background: var(--loop-label-bg);
  box-shadow:
    0 4px 12px rgba(39, 59, 83, 0.1),
    inset 0 1px color-mix(in srgb, var(--paper) 82%, transparent);
  font-size: clamp(8px, 0.74vw, 11px);
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.loop-flow-label-feedback {
  display: inline-flex;
  min-width: 118px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--loop-feedback-ink);
}

.loop-flow-label-feedback .ph {
  font-size: 14px;
}

.loop-progress {
  display: none;
}

.loop-progress-mark {
  width: 6px;
  height: 6px;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(76, 157, 150, 0.13);
  animation: process-progress-pulse 1.8s ease-out infinite;
}

.loop-stage-footer {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.loop-stage-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  transition: color 180ms ease;
}

.loop-stage-footer p.is-inspecting {
  color: var(--loop-frame-ink);
}

.loop-motion-toggle {
  display: none;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.loop-stage.is-ready .loop-label-layer {
  visibility: visible;
  opacity: 1;
}

.loop-stage.is-ready .loop-motion-toggle {
  display: inline-flex;
}

.loop-motion-toggle:hover {
  color: var(--teal-text);
}

.loop-motion-toggle:active {
  transform: translateY(1px);
}

.loop-motion-toggle:focus-visible {
  outline: 1px solid rgba(47, 116, 110, 0.72);
  outline-offset: 5px;
}

.loop-motion-toggle .ph {
  color: var(--teal);
  font-size: 15px;
}

.loop-stage.is-fallback .loop-label-layer,
.loop-stage.is-fallback .loop-progress {
  display: none;
}

.scope {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(52px, 6vw, 86px);
  align-items: start;
}

.scope .section-intro {
  display: block;
  max-width: none;
  text-align: center;
}

.scope .section-intro > p:last-child {
  max-width: none;
}

.section-intro {
  max-width: 680px;
}

.section-intro h2 {
  margin: 0;
  font-family: var(--font-section);
  font-size: clamp(42px, 4.7vw, 70px);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-intro > p:last-child {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.section-intro em {
  color: var(--ink);
  font-family: var(--font-editorial);
}

.axis-switcher {
  min-width: 0;
}

.segmented-control {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.segmented-control button {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 86px;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--teal) 7%, transparent), transparent 38%),
    color-mix(in srgb, var(--paper) 94%, var(--surface));
  cursor: pointer;
  text-align: left;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    color 240ms ease,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.segmented-control button::after {
  position: absolute;
  right: 26%;
  bottom: 0;
  left: 26%;
  height: 3px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.segmented-control button[aria-selected="true"] {
  color: var(--ink);
  border-color: var(--teal);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--teal) 10%, transparent);
}

.segmented-control button:hover {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--teal) 55%, var(--line-strong));
  transform: translateY(-2px);
}

.segmented-control button[aria-selected="true"]::after {
  transform: scaleX(1);
}

.axis-tab-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line-strong) 80%, transparent);
  border-radius: 50%;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--paper) 74%, transparent);
  transition:
    border-color 240ms ease,
    color 240ms ease,
    transform 340ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.axis-tab-icon .ph {
  font-size: 24px;
}

.segmented-control button[aria-selected="true"] .axis-tab-icon {
  border-color: color-mix(in srgb, var(--teal) 62%, var(--line));
  color: var(--teal-text);
  transform: rotate(-4deg) scale(1.03);
}

.segmented-control button:hover .axis-tab-icon {
  transform: rotate(5deg) scale(1.05);
}

.axis-tab-copy {
  display: grid;
  gap: 2px;
}

.axis-tab-copy strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.25;
}

.axis-tab-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.taxonomy-panel {
  min-width: 0;
}

.taxonomy-heading {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.taxonomy-heading p {
  margin: 0;
  color: var(--ink-soft);
}

.taxonomy-heading span {
  flex: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.taxonomy-list,
.application-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.taxonomy-item,
.application-item {
  --card-color: var(--teal);
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 150px minmax(82px, auto) 30px;
  min-width: 0;
  min-height: 286px;
  align-items: start;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-color) 34%, var(--line));
  border-radius: 8px;
  color: inherit;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card-color) 5%, var(--paper)), var(--paper) 62%);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--paper) 85%, transparent);
  cursor: pointer;
  isolation: isolate;
  transform:
    perspective(780px)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y));
  transform-style: preserve-3d;
  transition:
    border-color 260ms ease,
    box-shadow 300ms ease,
    transform 300ms cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

button.taxonomy-item,
button.application-item {
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: left;
}

.taxonomy-item::after,
.application-item::after {
  position: absolute;
  z-index: -1;
  right: -48px;
  bottom: -54px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-color) 9%, transparent);
  content: "";
  transform: scale(0.72);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.taxonomy-item:hover,
.application-item:hover,
.taxonomy-item:focus-visible,
.application-item:focus-visible,
.taxonomy-item.is-showcase-active,
.application-item.is-showcase-active {
  border-color: color-mix(in srgb, var(--card-color) 75%, var(--line));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--card-color) 14%, transparent);
  transform:
    perspective(780px)
    translateY(-5px)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y));
}

.taxonomy-item.is-showcase-active,
.application-item.is-showcase-active {
  box-shadow:
    0 16px 34px color-mix(in srgb, var(--card-color) 13%, transparent),
    0 0 0 1px color-mix(in srgb, var(--card-color) 18%, transparent);
  transform:
    perspective(780px)
    translateY(-3px)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y));
}

.taxonomy-item:hover::after,
.application-item:hover::after,
.taxonomy-item:focus-visible::after,
.application-item:focus-visible::after,
.taxonomy-item.is-showcase-active::after,
.application-item.is-showcase-active::after {
  transform: scale(1);
}

.taxonomy-swatch {
  width: 4px;
  height: 26px;
  background: var(--family-color);
}

.taxonomy-card-copy {
  display: grid;
  grid-column: 1 / -1;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 15px 13px 8px;
}

.taxonomy-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.taxonomy-card-heading strong {
  font-size: 13px;
  line-height: 1.25;
  transition: color 200ms ease;
}

.taxonomy-item:hover .taxonomy-card-heading strong,
.application-item:hover .taxonomy-card-heading strong,
.taxonomy-item.is-showcase-active .taxonomy-card-heading strong,
.application-item.is-showcase-active .taxonomy-card-heading strong {
  color: color-mix(in srgb, var(--card-color) 76%, var(--ink));
}

.taxonomy-types {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.taxonomy-count,
.application-count {
  align-self: center;
  padding: 0 0 12px 13px;
  color: color-mix(in srgb, var(--card-color) 78%, var(--ink-soft));
  font-size: 12px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.taxonomy-item > .ph,
.application-item > .ph {
  align-self: center;
  margin: 0 13px 12px 0;
  color: var(--ink-soft);
  font-size: 17px;
  transform: translate(-4px, 4px);
  opacity: 0;
  transition:
    color 220ms ease,
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.taxonomy-item:hover > .ph,
.application-item:hover > .ph,
.taxonomy-item:focus-visible > .ph,
.application-item:focus-visible > .ph,
.taxonomy-item.is-showcase-active > .ph,
.application-item.is-showcase-active > .ph {
  color: color-mix(in srgb, var(--card-color) 82%, var(--ink));
  transform: translate(0, 0);
  opacity: 1;
}

.artifact-miniature,
.application-miniature {
  position: relative;
  display: grid;
  grid-column: 1 / -1;
  width: 100%;
  height: 150px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid color-mix(in srgb, var(--card-color) 18%, var(--line));
  color: color-mix(in srgb, var(--card-color) 78%, var(--ink));
  background:
    radial-gradient(ellipse at 50% 82%, color-mix(in srgb, var(--card-color) 16%, transparent), transparent 45%),
    linear-gradient(color-mix(in srgb, var(--card-color) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--card-color) 5%, transparent) 1px, transparent 1px),
    linear-gradient(148deg, color-mix(in srgb, var(--paper) 96%, white), color-mix(in srgb, var(--card-color) 7%, var(--paper)));
  background-size: auto, 28px 28px, 28px 28px, auto;
}

.artifact-miniature::before,
.application-miniature::before {
  position: absolute;
  top: -56px;
  left: 50%;
  width: 190px;
  height: 150px;
  border: 1px solid color-mix(in srgb, var(--card-color) 13%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--paper) 82%, transparent), transparent 68%);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.artifact-miniature::after,
.application-miniature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, color-mix(in srgb, var(--paper) 72%, transparent) 48%, transparent 65%);
  content: "";
  transform: translateX(-130%);
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.taxonomy-item:hover .artifact-miniature::after,
.application-item:hover .application-miniature::after,
.taxonomy-item.is-showcase-active .artifact-miniature::after,
.application-item.is-showcase-active .application-miniature::after {
  transform: translateX(130%);
}

.artifact-miniature svg,
.application-miniature svg {
  z-index: 1;
  width: min(96%, 232px);
  height: 140px;
  overflow: visible;
  filter:
    drop-shadow(0 15px 13px color-mix(in srgb, var(--ink) 13%, transparent))
    drop-shadow(0 2px 2px color-mix(in srgb, var(--paper) 72%, transparent));
}

.artifact-miniature svg *,
.application-miniature svg * {
  vector-effect: non-scaling-stroke;
}

.miniature-platform {
  stroke: none;
  filter: blur(1.8px);
  transform-box: fill-box;
  transform-origin: center;
}

.miniature-depth {
  stroke: color-mix(in srgb, var(--card-color) 44%, var(--ink-soft));
  stroke-width: 0.85;
  opacity: 0.86;
  filter: drop-shadow(0 4px 3px color-mix(in srgb, var(--ink) 16%, transparent));
}

.miniature-highlight {
  fill: none;
  stroke: color-mix(in srgb, white 76%, var(--card-color));
  stroke-width: 1.7;
  stroke-dasharray: 18 7;
  opacity: 0.88;
  filter: drop-shadow(0 0 3px color-mix(in srgb, white 72%, transparent));
}

.miniature-detail {
  color: color-mix(in srgb, var(--card-color) 74%, var(--ink));
  opacity: 0.68;
}

.miniature-detail circle {
  fill: currentColor;
  stroke: color-mix(in srgb, var(--paper) 82%, transparent);
  stroke-width: 0.75;
}

.miniature-detail path {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.8;
  stroke-dasharray: 2 4;
}

.artifact-miniature rect,
.artifact-miniature path,
.artifact-miniature circle,
.artifact-miniature ellipse,
.artifact-miniature line,
.application-miniature rect,
.application-miniature path,
.application-miniature circle,
.application-miniature ellipse,
.application-miniature line {
  fill: color-mix(in srgb, var(--card-color) 8%, var(--paper));
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artifact-miniature text {
  fill: currentColor;
  font-family: var(--font-editorial);
  font-size: 15px;
  font-weight: 700;
}

.text-page,
.visual-board,
.audio-speaker,
.audio-player,
.video-rail,
.behavior-window,
.behavior-flow,
.app-canvas,
.brand-megaphone,
.education-book,
.education-cap,
.professional-window,
.science-flask,
.engineering-plan,
.engineering-gear {
  filter: drop-shadow(0 5px 4px color-mix(in srgb, var(--ink) 12%, transparent));
}

.text-page line,
.visual-board line,
.behavior-code-soft,
.professional-window line,
.education-book path:not(:first-child):not(:nth-child(2)) {
  stroke: color-mix(in srgb, var(--ink-soft) 50%, transparent);
}

.text-page-back {
  transform: rotate(-9deg);
  transform-origin: 97px 78px;
}

.text-page-back rect {
  fill: color-mix(in srgb, var(--card-color) 28%, var(--paper));
}

.text-page-middle rect {
  fill: color-mix(in srgb, var(--card-color) 17%, var(--paper));
}

.text-page-front rect {
  fill: url(#textual-material);
  stroke-width: 1.45;
}

.text-page-front line:first-of-type {
  stroke: color-mix(in srgb, var(--card-color) 74%, var(--ink));
  stroke-width: 1.5;
}

.text-page-middle {
  transform: rotate(8deg);
  transform-origin: 132px 74px;
}

.visual-board-front rect,
.audio-player rect,
.video-rail > rect,
.behavior-window > rect,
.professional-window > rect,
.engineering-plan > rect {
  fill: color-mix(in srgb, var(--paper) 88%, var(--card-color));
}

.visual-board-back > rect {
  fill: url(#visual-material);
  opacity: 0.82;
}

.visual-board-front > rect {
  fill: color-mix(in srgb, var(--paper) 92%, white);
  stroke-width: 1.55;
}

.visual-mountain {
  fill: url(#visual-material);
}

.audio-speaker > rect,
.audio-player > rect {
  fill: url(#audio-material);
}

.audio-speaker > circle:first-of-type,
.speaker-cone {
  fill: color-mix(in srgb, var(--ink) 74%, var(--card-color));
  stroke: color-mix(in srgb, var(--card-color) 58%, var(--paper));
}

.audio-speaker > circle:last-of-type {
  fill: color-mix(in srgb, var(--paper) 74%, var(--card-color));
}

.video-rail > rect {
  fill: url(#video-material);
  stroke: color-mix(in srgb, var(--card-color) 68%, var(--ink));
  stroke-width: 1.5;
}

.video-strip > rect {
  fill: color-mix(in srgb, var(--paper) 86%, var(--card-color));
  stroke: color-mix(in srgb, var(--card-color) 58%, var(--paper));
}

.video-perf {
  stroke: color-mix(in srgb, white 76%, var(--card-color));
  opacity: 0.74;
}

.spatial-frame {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--card-color) 30%, transparent));
}

.spatial-cube {
  filter: drop-shadow(0 5px 3px color-mix(in srgb, var(--ink) 17%, transparent));
}

.spatial-cube .cube-top {
  fill: color-mix(in srgb, white 52%, var(--card-color));
}

.spatial-cube .cube-left {
  fill: color-mix(in srgb, var(--card-color) 46%, var(--paper));
}

.spatial-cube .cube-right {
  fill: color-mix(in srgb, var(--card-color) 68%, var(--surface));
}

.behavior-window > rect {
  fill: url(#behavioral-material);
  stroke: color-mix(in srgb, var(--card-color) 68%, var(--paper));
}

.behavior-window > line,
.behavior-window > circle,
.behavior-code,
.behavior-code-soft {
  stroke: color-mix(in srgb, white 68%, var(--card-color));
}

.behavior-node {
  fill: color-mix(in srgb, var(--card-color) 48%, var(--paper));
}

.app-canvas > rect,
.brand-megaphone > path:first-child,
.education-book > path:first-child,
.education-book > path:nth-child(2),
.professional-window > rect,
.science-flask > path:first-child,
.engineering-plan > rect {
  fill: var(--scene-material, color-mix(in srgb, var(--card-color) 18%, var(--paper)));
}

[data-application-visual="creative"] { --scene-material: url(#creative-material); }
[data-application-visual="brand"] { --scene-material: url(#brand-material); }
[data-application-visual="education"] { --scene-material: url(#education-material); }
[data-application-visual="professional"] { --scene-material: url(#professional-material); }
[data-application-visual="science"] { --scene-material: url(#science-material); }
[data-application-visual="engineering"] { --scene-material: url(#engineering-material); }

.creative-tools path:first-child,
.brand-signal circle,
.education-cap path:first-child,
.science-liquid,
.engineering-gear > path:first-child {
  fill: color-mix(in srgb, var(--card-color) 48%, var(--paper));
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--card-color) 28%, transparent));
}

.professional-check,
.engineering-pencil {
  stroke-width: 2;
}

.visual-mountain,
.visual-bar,
.visual-orbit-slice,
.speaker-cone,
.video-play,
.spatial-cube,
.behavior-node,
.science-liquid,
.professional-check,
.engineering-gear path:first-child {
  fill: color-mix(in srgb, var(--card-color) 30%, var(--paper));
}

.audio-wave line,
.audio-track,
.video-perf,
.video-timeline,
.behavior-flow path,
.behavior-code,
.professional-check,
.engineering-pencil,
.science-orbit ellipse {
  fill: none;
  stroke: currentColor;
}

.audio-wave line {
  transform-box: fill-box;
  transform-origin: center;
}

.audio-playhead,
.video-scrubber,
.behavior-pulse,
.science-electron {
  fill: var(--card-color);
  stroke: var(--paper);
}

.video-strip > rect,
.spatial-grid path:first-child,
.creative-tools path:first-child,
.education-cap path:first-child,
.engineering-plan path {
  fill: color-mix(in srgb, var(--card-color) 12%, var(--paper));
}

.video-strip path,
.spatial-grid path:not(:first-child),
.spatial-frame path,
.brand-signal path,
.education-book path:nth-child(n + 3),
.science-orbit ellipse,
.engineering-plan path:nth-child(n + 2) {
  fill: none;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .miniature-highlight,
.application-item:is(:hover, :focus-visible, .is-showcase-active) .miniature-highlight {
  animation: miniature-highlight-sweep 1150ms ease-in-out infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .miniature-platform,
.application-item:is(:hover, :focus-visible, .is-showcase-active) .miniature-platform {
  animation: miniature-platform-breathe 1200ms ease-in-out infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .text-page-back {
  animation: artifact-page-left 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .text-page-middle {
  animation: artifact-page-right 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .visual-board-front {
  animation: artifact-visual-tilt 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  transform-origin: center;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .audio-wave line {
  animation: artifact-audio-wave 620ms ease-in-out infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .audio-wave line:nth-child(2n) {
  animation-delay: -180ms;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .audio-wave line:nth-child(3n) {
  animation-delay: -340ms;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .speaker-cone {
  animation: artifact-speaker-pulse 620ms ease-in-out infinite alternate;
  transform-box: fill-box;
  transform-origin: center;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .video-strip {
  animation: artifact-video-scrub 1100ms cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .video-scrubber {
  animation: artifact-video-playhead 1100ms cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .spatial-cubes {
  animation: artifact-spatial-float 1200ms ease-in-out infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .spatial-frame {
  animation: artifact-spatial-frame 1600ms ease-in-out infinite alternate;
  transform-origin: 121px 77px;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .behavior-pulse {
  animation: artifact-behavior-flow 950ms linear infinite;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .behavior-node {
  animation: artifact-node-pulse 950ms ease-in-out infinite alternate;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .behavior-node.node-b {
  animation-delay: -320ms;
}

.taxonomy-item:is(:hover, :focus-visible, .is-showcase-active) .behavior-node.node-c {
  animation-delay: -640ms;
}

.application-item:is(:hover, :focus-visible, .is-showcase-active) .creative-tools {
  animation: application-creative-spark 900ms ease-in-out infinite alternate;
  transform-origin: 170px 65px;
}

.application-item:is(:hover, :focus-visible, .is-showcase-active) .brand-signal {
  animation: application-brand-signal 900ms ease-out infinite;
  transform-origin: 134px 74px;
}

.application-item:is(:hover, :focus-visible, .is-showcase-active) .education-cap {
  animation: application-education-lift 950ms ease-in-out infinite alternate;
}

.application-item:is(:hover, :focus-visible, .is-showcase-active) .professional-check {
  stroke-dasharray: 42;
  animation: application-check-draw 850ms ease-in-out infinite alternate;
}

.application-item:is(:hover, :focus-visible, .is-showcase-active) .science-orbit {
  animation: application-science-orbit 2400ms linear infinite;
  transform-origin: 89px 64px;
}

.application-item:is(:hover, :focus-visible, .is-showcase-active) .engineering-gear {
  animation: application-engineering-turn 2600ms linear infinite;
  transform-origin: 188px 62px;
}

@keyframes scope-panel-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes miniature-stage-arrive {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes miniature-highlight-sweep {
  from {
    stroke-dashoffset: 0;
    opacity: 0.48;
  }
  to {
    stroke-dashoffset: -28;
    opacity: 1;
  }
}

@keyframes miniature-platform-breathe {
  from {
    opacity: 0.72;
    transform: scaleX(0.94);
  }
  to {
    opacity: 1;
    transform: scaleX(1.04);
  }
}

@keyframes artifact-page-left {
  to { transform: translate(-8px, -3px) rotate(-13deg); }
}

@keyframes artifact-page-right {
  to { transform: translate(9px, -5px) rotate(12deg); }
}

@keyframes artifact-visual-tilt {
  50% { transform: translateY(-4px) rotate(-1.5deg) scale(1.025); }
  100% { transform: translateY(-2px) rotate(0.5deg) scale(1.015); }
}

@keyframes artifact-audio-wave {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1.28); }
}

@keyframes artifact-speaker-pulse {
  from { transform: scale(0.95); }
  to { transform: scale(1.07); }
}

@keyframes artifact-video-scrub {
  from { transform: translateX(-3px); }
  to { transform: translateX(3px); }
}

@keyframes artifact-video-playhead {
  from { transform: translateX(-24px); }
  to { transform: translateX(54px); }
}

@keyframes artifact-spatial-float {
  from { transform: translateY(2px); }
  to { transform: translateY(-7px); }
}

@keyframes artifact-spatial-frame {
  from { transform: scale(0.98); opacity: 0.7; }
  to { transform: scale(1.025); opacity: 1; }
}

@keyframes artifact-behavior-flow {
  from { transform: translate(-17px, 16px); opacity: 0; }
  20% { opacity: 1; }
  to { transform: translate(17px, -16px); opacity: 0; }
}

@keyframes artifact-node-pulse {
  to { fill: color-mix(in srgb, var(--card-color) 52%, var(--paper)); }
}

@keyframes application-creative-spark {
  to { transform: translateY(-4px) rotate(6deg) scale(1.05); }
}

@keyframes application-brand-signal {
  from { opacity: 0.28; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.04); }
}

@keyframes application-education-lift {
  to { transform: translateY(-7px); }
}

@keyframes application-check-draw {
  from { stroke-dashoffset: 42; }
  to { stroke-dashoffset: 0; }
}

@keyframes application-science-orbit {
  to { transform: rotate(360deg); }
}

@keyframes application-engineering-turn {
  to { transform: rotate(360deg); }
}

.catalog-section {
  background: var(--surface);
}

.catalog-heading {
  display: block;
  margin-bottom: 72px;
}

.section-intro.compact h2 {
  max-width: 900px;
}

.catalog-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-heading h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
}

.filter-heading h3 .ph {
  color: var(--teal);
  font-size: 17px;
}

.filter-heading-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.filter-panel-controls {
  display: contents;
}

.filter-panel-toggle {
  display: none;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.filter-panel-toggle .ph {
  transition: transform 180ms ease;
}

.filter-panel.is-expanded .filter-panel-toggle .ph {
  transform: rotate(180deg);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-field > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filter-panel .ph {
  letter-spacing: 0;
}

.filter-panel > label,
.filter-control,
.search-field,
.view-filter {
  display: grid;
  gap: 8px;
  margin: 0;
}

.filter-panel label > span,
.filter-panel .filter-control > span,
.view-filter legend,
.results-header .filter-control > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-panel input[type="search"] {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  font-size: 13px;
}

.filter-panel input::placeholder {
  color: var(--placeholder);
}

.custom-select {
  position: relative;
  width: 100%;
}

.select-native-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.select-trigger {
  display: flex;
  width: 100%;
  height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.select-trigger:hover {
  border-color: var(--muted);
  background: var(--control-hover);
}

.custom-select.is-open .select-trigger {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(76, 157, 150, 0.16);
}

.select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-caret {
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select.is-open .select-caret {
  transform: translateY(2px) rotate(225deg);
}

.select-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 280px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: 0 16px 38px rgba(33, 45, 68, 0.14);
}

.select-option {
  position: relative;
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 11px 8px 13px;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.3;
}

.select-option:hover,
.select-option:focus-visible {
  color: var(--ink);
  background: var(--surface);
  outline: 0;
}

.select-option.is-selected {
  color: var(--teal-text);
  background: var(--selected-bg);
  font-weight: 700;
}

.select-option.is-selected::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 2px;
  background: var(--teal);
  content: "";
}

.select-option[aria-disabled="true"] {
  color: var(--line-strong);
  cursor: not-allowed;
}

.view-filter {
  grid-template-columns: 1fr 1fr;
  padding: 0;
  border: 0;
}

.view-filter legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
}

.view-filter label {
  cursor: pointer;
}

.view-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.view-filter label span {
  display: grid;
  min-height: 41px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.view-filter label + label span {
  border-left: 0;
}

.view-filter input:checked + span {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.view-filter input:focus-visible + span {
  outline: 3px solid rgba(76, 157, 150, 0.5);
  outline-offset: 3px;
}

.results-panel {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  scroll-margin-top: 96px;
}

.results-header {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.results-header p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.results-controls {
  display: flex;
  align-items: center;
  gap: 22px;
}

.results-header .filter-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.results-header .sort-control .custom-select {
  width: 164px;
}

.results-header .page-size-control .custom-select {
  width: 76px;
}

.results-header .select-trigger {
  height: 38px;
  border: 0;
  background: transparent;
}

.results-header .select-menu {
  left: auto;
  width: 190px;
}

.results-header .page-size-control .select-menu {
  width: 96px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 22px;
  margin: 14px 0 4px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--line-strong);
  background: var(--paper-hover);
  cursor: pointer;
  font-size: 11px;
}

.filter-chip span:last-child {
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.paper-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.paper-item {
  --paper-color: var(--teal);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 34px;
  padding: 30px 22px 31px 18px;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  transition: background 180ms ease;
}

.paper-item::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 0;
  width: 3px;
  background: var(--paper-color);
  content: "";
}

.paper-item:hover {
  background: var(--paper-glass);
}

.paper-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paper-kicker .system-name {
  color: var(--paper-color);
}

.paper-title {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.34;
}

.paper-title a {
  text-decoration: none;
}

.paper-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--paper-color);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.paper-authors {
  max-width: 950px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 17px;
}

.paper-tag {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--paper-glass);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
}

.paper-tag-filter {
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.paper-tag-filter:hover {
  border-color: color-mix(in srgb, var(--paper-color) 58%, var(--line));
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-1px);
}

.paper-tag-filter:focus-visible {
  outline-color: color-mix(in srgb, var(--paper-color) 60%, var(--teal));
}

.paper-tag i {
  flex: none;
  font-size: 12px;
  line-height: 1;
}

.paper-tag-artifact i {
  color: var(--paper-color);
}

.paper-tag-application i {
  color: var(--teal);
}

.paper-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  text-align: right;
}

.paper-venue {
  font-size: 13px;
  font-weight: 750;
}

.paper-year {
  color: var(--ink-soft);
  font-size: 12px;
}

.status-pill {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 3px 8px;
  color: var(--published-ink);
  background: var(--published-bg);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-pill.preprint {
  color: var(--preprint-ink);
  background: var(--preprint-bg);
}

.status-pill.project {
  color: var(--project-ink);
  background: var(--project-bg);
}

.paper-links {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 11px;
  font-weight: 750;
}

.paper-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  text-underline-offset: 3px;
}

.paper-links .ph {
  color: var(--paper-color);
  font-size: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 26px;
}

.pagination[hidden] {
  display: none;
}

.pagination-summary {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.pagination-controls,
.pagination-pages {
  display: flex;
  align-items: center;
}

.pagination-controls {
  gap: 8px;
}

.pagination-pages {
  gap: 4px;
}

.pagination-direction,
.pagination-page {
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--ink-soft);
  background: var(--paper);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.pagination-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pagination-direction .ph {
  font-size: 13px;
}

.pagination-direction {
  padding-inline: 14px;
}

.pagination-page {
  width: 36px;
  padding: 0;
}

.pagination-direction:hover:not(:disabled),
.pagination-page:hover:not(.is-current) {
  border-color: var(--teal);
  color: var(--ink);
}

.pagination-page.is-current {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}

.pagination-direction:disabled {
  color: var(--disabled);
  background: transparent;
  cursor: not-allowed;
}

.pagination-direction:focus-visible,
.pagination-page:focus-visible {
  outline: 3px solid rgba(76, 157, 150, 0.42);
  outline-offset: 2px;
}

.pagination-ellipsis {
  display: grid;
  width: 26px;
  height: 36px;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  padding: 80px 24px;
  border-bottom: 1px solid var(--line-strong);
  text-align: center;
}

.empty-state p {
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.empty-state .button {
  cursor: pointer;
}

.noscript-note {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.analysis .section-intro {
  width: min(100%, 1040px);
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.analysis .section-intro > p:last-child {
  max-width: none;
  margin: 28px 0 0;
}

.analysis-grid {
  display: grid;
  width: min(100%, 1240px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 78px auto 0;
}

.analysis-figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: border-color 220ms ease, box-shadow 220ms ease,
    transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.analysis-figure.reveal.is-visible:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.analysis-figure figcaption {
  display: flex;
  min-height: 94px;
  align-items: flex-start;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}

.analysis-figure figcaption strong {
  display: block;
  font-family: var(--font-editorial);
  font-size: 18px;
  font-weight: 500;
}

.analysis-figure figcaption p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.chart-mobile-hint {
  display: none;
}

.d3-chart {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--paper);
}

.composition-chart,
.venue-chart {
  min-height: 540px;
}

.trend-chart,
.matrix-chart {
  min-height: 480px;
}

.analysis-grid .d3-svg {
  width: min(100%, 640px);
  min-width: 600px;
  margin-inline: auto;
}

.d3-svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font-sans);
}

.d3-svg .motion-mark {
  opacity: 0;
  filter: blur(2px);
  transition: opacity 620ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.d3-svg.is-motion-ready .motion-mark {
  opacity: 1;
  filter: none;
}

.d3-svg.is-motion-disabled .motion-mark {
  transition: none;
}

.js .reveal:not(.is-visible) .d3-svg .motion-mark {
  opacity: 0;
  filter: blur(2px);
}

.chart-loading,
.chart-error {
  display: grid;
  min-height: inherit;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.chart-grid line {
  stroke: var(--line);
  stroke-width: 1;
}

.chart-axis .domain {
  display: none;
}

.chart-axis text,
.matrix-labels text {
  fill: var(--muted);
  font-size: 12px;
}

.chart-category,
.legend-title {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.chart-value,
.matrix-value {
  fill: var(--ink);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.chart-total {
  fill: var(--ink);
  font-family: var(--font-editorial);
  font-size: 42px;
}

.chart-total-label,
.legend-detail {
  fill: var(--muted);
  font-size: 12px;
}

.family-arc,
.type-arc,
.treemap-leaf rect,
.matrix-chart rect,
.trend-chart rect {
  cursor: crosshair;
  transition: opacity 140ms ease;
}

.family-arc:hover,
.type-arc:hover,
.treemap-leaf:hover rect,
.matrix-chart g:hover > rect,
.trend-chart rect:hover {
  opacity: 0.76;
}

.treemap-domain-frame {
  fill-opacity: 0.1;
  stroke-opacity: 0.48;
  stroke-width: 1;
}

.treemap-domain-label,
.treemap-domain-total {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}

.treemap-domain-total,
.treemap-venue-count {
  font-variant-numeric: tabular-nums;
}

.treemap-leaf rect {
  stroke: var(--paper);
  stroke-width: 2;
}

.treemap-venue-label,
.treemap-venue-count {
  fill: var(--ink);
  font-size: 12px;
  pointer-events: none;
}

.treemap-venue-label {
  font-weight: 700;
}

.treemap-venue-count {
  fill: var(--ink-soft);
  font-size: 11px;
}

.chart-tooltip {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  display: grid;
  gap: 3px;
  max-width: 310px;
  padding: 10px 12px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 8px 24px rgba(23, 32, 51, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.chart-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.chart-tooltip strong {
  font-size: 12px;
  font-weight: 600;
}

.chart-tooltip span {
  color: var(--tooltip-detail);
  font-size: 11px;
}

.insights {
  position: relative;
  overflow: clip;
  padding-bottom: 82px;
  background:
    radial-gradient(
      circle at 6% 42%,
      color-mix(in srgb, var(--teal) 10%, transparent),
      transparent 31%
    ),
    color-mix(in srgb, var(--surface) 72%, var(--paper));
}

.insights + .catalog-section {
  padding-top: 92px;
}

.insights::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    112deg,
    transparent 0 49.9%,
    color-mix(in srgb, var(--line) 38%, transparent) 50%,
    transparent 50.1%
  );
  background-size: 92px 92px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent 48%);
  opacity: 0.46;
  pointer-events: none;
}

.insights-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--ink);
}

.insights-intro {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding: 46px 0 56px;
  text-align: center;
}

.insights-kicker {
  margin: 0 0 22px;
  color: var(--teal-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.insights-intro h2 {
  max-width: 860px;
  margin: 0;
  font-family: var(--font-section);
  font-size: clamp(45px, 5.2vw, 70px);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.insights-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.insight-lens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.insight-lens > span {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding: 18px 12px 19px 0;
}

.insight-lens > span + span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.insight-lens .ph {
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 20px;
}

.insight-lens small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.insight-lens strong {
  overflow: hidden;
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
}

.insight-ledger {
  border-top: 1px solid var(--ink);
}

.insight-claim {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 170px;
  gap: 24px;
  align-items: start;
  min-height: 192px;
  padding: 32px 0 30px;
  border-bottom: 1px solid var(--line-strong);
  transition: opacity 560ms ease, transform 560ms ease,
    background-color 220ms ease;
}

.insight-claim::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.insight-claim.is-visible::before {
  transform: scaleX(1);
}

.insight-claim.reveal.is-visible:hover {
  background: color-mix(in srgb, var(--paper) 48%, transparent);
  transform: translateX(8px);
}

.insight-claim-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--teal) 56%, var(--line));
  color: var(--teal-text);
  background: color-mix(in srgb, var(--paper) 52%, transparent);
}

.insight-claim-icon .ph {
  font-size: 22px;
}

.insight-claim-copy > p:first-child {
  margin: 0 0 9px;
  color: var(--teal-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-claim-copy h3 {
  max-width: none;
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(25px, 2.35vw, 35px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  white-space: nowrap;
}

.insight-claim-copy > p:last-child {
  max-width: none;
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.insight-relation {
  display: grid;
  grid-template-columns: auto 18px auto;
  align-items: center;
  align-self: start;
  justify-self: end;
  min-height: 40px;
  gap: 10px;
  margin-top: 21px;
  padding: 0 12px;
  border-block: 1px solid var(--line-strong);
  color: var(--muted);
  background: color-mix(in srgb, var(--paper) 54%, transparent);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.insight-relation .ph {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  color: var(--teal);
  font-size: 18px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.insight-relation strong {
  grid-column: 3;
  color: var(--ink);
  font-size: 12px;
}

.insight-claim:hover .insight-relation .ph {
  transform: translateX(5px);
}

.insights-bridge {
  display: grid;
  grid-column: 1;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding: 38px 0 0;
}

.insights-bridge > p {
  display: grid;
  max-width: 760px;
  gap: 7px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.insights-bridge > p strong {
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 21px;
  font-weight: 500;
}

.insight-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.insight-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.insight-link:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.insight-link:active {
  transform: translateY(1px);
}

.insight-link-primary {
  border-color: var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.about {
  color: var(--ink);
  background: var(--surface);
}

.about-layout {
  display: grid;
  gap: clamp(38px, 5vw, 66px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(64px, 10vw, 160px);
  align-items: end;
}

.about-intro .eyebrow {
  margin-bottom: 18px;
}

.about-copy {
  padding-bottom: 6px;
}

.about-copy p {
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.about-copy .about-lead {
  max-width: 690px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.42;
}

.about-resources {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line-strong);
}

.about-resource {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 118px;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  color: var(--ink);
  text-decoration: none;
  transition: background 180ms ease;
}

.about-resource:not(:last-child) {
  border-right: 1px solid var(--line-strong);
}

.about-resource-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--teal) 48%, var(--line));
  color: var(--teal-text);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  font-size: 19px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.about-resource-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.about-resource-copy > span {
  color: var(--teal-text);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about-resource-copy strong {
  font-size: 14px;
  line-height: 1.3;
}

.about-resource-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.about-resource-arrow {
  color: var(--muted);
  font-size: 14px;
  transition: color 180ms ease, transform 180ms ease;
}

.about-resource:hover,
.about-resource:focus-visible {
  background: color-mix(in srgb, var(--teal) 6%, transparent);
}

.about-resource:hover .about-resource-icon,
.about-resource:focus-visible .about-resource-icon {
  color: var(--paper);
  background: var(--teal-text);
  transform: translateY(-2px);
}

.about-resource:hover .about-resource-arrow,
.about-resource:focus-visible .about-resource-arrow {
  color: var(--teal-text);
  transform: translate(2px, -2px);
}

.citation-block {
  display: grid;
  grid-template-columns: minmax(190px, 0.27fr) minmax(0, 1fr);
  min-width: 0;
  margin: 0;
  border-block: 1px solid var(--line-strong);
  background: var(--paper);
}

.citation-meta {
  display: grid;
  align-content: space-between;
  justify-items: center;
  gap: 32px;
  padding: 28px 30px 30px;
  border-right: 1px solid var(--line-strong);
  text-align: center;
}

.citation-kicker {
  margin: 0;
  color: var(--teal-text);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.citation-copy {
  display: inline-flex;
  width: max-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.025em;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.citation-copy:hover,
.citation-copy:focus-visible {
  border-color: var(--teal-text);
  color: var(--teal-text);
  background: color-mix(in srgb, var(--teal) 7%, transparent);
  transform: translateY(-2px);
}

.citation-copy:active {
  transform: translateY(0);
}

.citation-copy.is-copied {
  border-color: var(--teal-text);
  color: var(--paper);
  background: var(--teal-text);
}

.citation-code-frame {
  min-width: 0;
  padding: 27px 0 29px 36px;
}

.citation-code-frame pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  color: var(--ink-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.62;
  scrollbar-color: color-mix(in srgb, var(--teal) 42%, transparent) transparent;
}

.citation-code-frame pre:focus-visible {
  outline: 1px solid var(--teal-text);
  outline-offset: 7px;
}

.citation-code-frame code {
  font: inherit;
}

.site-footer {
  padding-block: 55px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 50px;
  align-items: end;
}

.footer-symbol {
  width: 44px;
  height: 44px;
}

.site-footer p {
  margin: 14px 0 0;
  font-size: 12px;
}

.footer-grid > p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 12px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links .ph {
  color: var(--teal);
  font-size: 14px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-order="1"] {
  --reveal-delay: 80ms;
}

[data-reveal-order="2"] {
  --reveal-delay: 160ms;
}

[data-reveal-order="3"] {
  --reveal-delay: 240ms;
}

[data-reveal-order="4"] {
  --reveal-delay: 320ms;
}

.js .reveal-sequence {
  opacity: 1;
  transform: none;
  transition: none;
}

.js .reveal-sequence > * {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal-sequence.is-visible > * {
  animation: sequence-rise 680ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.js .reveal-sequence.is-visible > :nth-child(2) {
  animation-delay: 90ms;
}

.js .reveal-sequence.is-visible > :nth-child(3) {
  animation-delay: 180ms;
}

.js .reveal-sequence.is-visible > :nth-child(4) {
  animation-delay: 270ms;
}

.js .stat-reveal.is-visible dl > div {
  animation: stat-rise 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.js .stat-reveal.is-visible dl > div:nth-child(2) {
  animation-delay: 70ms;
}

.js .stat-reveal.is-visible dl > div:nth-child(3) {
  animation-delay: 140ms;
}

.js .stat-reveal.is-visible dl > div:nth-child(4) {
  animation-delay: 210ms;
}

.js .stat-reveal.is-visible dl > div:nth-child(5) {
  animation-delay: 280ms;
}

.js .axis-switcher.is-visible .taxonomy-panel:not([hidden]) .taxonomy-item,
.js .axis-switcher.is-visible .taxonomy-panel:not([hidden]) .application-item,
.js .taxonomy-panel.is-entering .taxonomy-item,
.js .taxonomy-panel.is-entering .application-item {
  animation: scope-panel-enter 560ms cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  animation-delay: var(--item-delay, 0ms);
}

.js .axis-switcher.is-visible .taxonomy-panel:not([hidden]) :is(.artifact-miniature, .application-miniature) svg,
.js .taxonomy-panel.is-entering :is(.artifact-miniature, .application-miniature) svg {
  animation: miniature-stage-arrive 760ms cubic-bezier(0.16, 0.8, 0.2, 1) backwards;
  animation-delay: calc(var(--item-delay, 0ms) + 70ms);
}

@keyframes sequence-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stat-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes process-loader-node {
  0%,
  100% {
    background: color-mix(in srgb, var(--teal) 35%, var(--line));
    transform: scale(0.72);
  }
  50% {
    background: var(--teal);
    transform: scale(1.18);
  }
}

@keyframes process-label-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 color-mix(in srgb, var(--teal) 0%, transparent);
  }
  50% {
    box-shadow: 0 0 22px color-mix(in srgb, var(--teal) 22%, transparent);
  }
}

@keyframes mobile-task-lock {
  0%,
  100% {
    transform: scale(0.92);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes mobile-policy-route {
  0%,
  100% {
    transform: translateX(-2px) rotate(-4deg);
  }
  50% {
    transform: translateX(3px) rotate(4deg);
  }
}

@keyframes mobile-representation-stack {
  0%,
  100% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-3px) scaleY(1.06);
  }
}

@keyframes mobile-verification-scan {
  0%,
  100% {
    filter: brightness(0.9);
    transform: rotate(-5deg);
  }
  50% {
    filter: brightness(1.3);
    transform: rotate(5deg) scale(1.08);
  }
}

@keyframes mobile-artifact-release {
  0%,
  100% {
    transform: translateY(2px) rotate(-3deg);
  }
  50% {
    transform: translateY(-4px) rotate(4deg) scale(1.08);
  }
}

@keyframes process-active-spotlight {
  0%,
  100% {
    filter: blur(8px) saturate(0.95);
    opacity: 0.72;
  }
  50% {
    filter: blur(4px) saturate(1.18);
    opacity: 1;
  }
}

@keyframes process-active-label {
  0%,
  100% {
    letter-spacing: 0.075em;
  }
  50% {
    letter-spacing: 0.095em;
  }
}

@keyframes process-line-pulse {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

@keyframes process-progress-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--teal) 34%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px color-mix(in srgb, var(--teal) 0%, transparent);
  }
}

@media (max-width: 1120px) {
  .catalog-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 38px;
  }

  .analysis-grid {
    width: min(100%, 1040px);
    grid-template-columns: 1fr;
  }

  .insight-claim {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .insight-relation {
    grid-column: 2;
    grid-template-columns: auto 18px auto;
    align-self: start;
    justify-self: start;
    justify-content: start;
    margin-top: 16px;
  }

  .insight-relation .ph {
    grid-row: 1;
    grid-column: 2;
  }

  .insight-relation strong {
    grid-column: 3;
  }
}

@media (max-width: 900px) {
  .section-block {
    padding-block: 94px;
  }

  .insights + .catalog-section {
    padding-top: 94px;
  }

  .desktop-nav,
  .header-github {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions {
    gap: 12px;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 35px;
  }

  .hero-heading {
    grid-template-columns: minmax(0, 1fr) clamp(84px, 12vw, 106px);
    gap: clamp(24px, 4vw, 38px);
  }

  .hero h1 {
    font-size: clamp(44px, 6.5vw, 58px);
  }

  .hero-authors {
    grid-template-columns: repeat(4, max-content);
  }

  .stat-band {
    overflow-x: auto;
  }

  .stat-band dl {
    min-width: 850px;
  }

  .loop-stage {
    margin-top: 48px;
  }

  .loop-viewport {
    min-height: 390px;
  }

  .catalog-heading,
  .analysis .section-intro,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .catalog-lede {
    max-width: 540px;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line-strong);
  }

  .filter-heading,
  .search-field,
  .view-filter {
    grid-column: 1 / -1;
  }

  .analysis .section-intro > p:last-child {
    margin-top: 22px;
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-list,
  .application-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights-layout {
    grid-template-columns: 1fr;
  }

  .insights-intro {
    max-width: 720px;
    padding-top: 42px;
  }

  .insight-claim-copy h3 {
    white-space: normal;
  }

  .insight-ledger {
    margin-top: 0;
  }

  .insights-bridge {
    grid-column: 1;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-grid {
    gap: 28px;
  }

  .about-copy {
    max-width: 680px;
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .header-inner {
    width: min(calc(100% - 30px), var(--max-width));
  }

  .section-shell.inset-shell {
    width: min(calc(100% - 30px), 1240px);
  }

  .section-block {
    padding-block: 76px;
  }

  .insights + .catalog-section {
    padding-top: 76px;
  }

  .about-layout {
    gap: 40px;
  }

  .about-resources {
    grid-template-columns: 1fr;
  }

  .about-resource {
    min-height: 100px;
    padding: 18px 10px;
  }

  .about-resource:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .citation-block {
    grid-template-columns: 1fr;
  }

  .citation-meta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: 18px;
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    text-align: left;
  }

  .citation-code-frame {
    padding: 23px 0 26px;
  }

  .citation-code-frame pre {
    white-space: pre;
  }

  .site-header {
    height: 64px;
  }

  .brand-lockup {
    display: none;
  }

  .theme-switcher {
    gap: 0;
  }

  .theme-option {
    width: 40px;
    height: 40px;
  }

  .mobile-menu summary {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    place-items: center;
  }

  .theme-option::after {
    display: none;
  }

  .hero {
    padding-block: 48px 34px;
  }

  .hero h1 {
    font-size: clamp(44px, 12vw, 54px);
    white-space: normal;
  }

  .hero-heading {
    grid-template-columns: minmax(0, 1fr) 64px;
    align-items: start;
    gap: 0 16px;
  }

  .hero-heading-copy {
    display: contents;
  }

  .hero-kicker {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    margin-bottom: 0;
  }

  .hero-emblem {
    grid-row: 1;
    grid-column: 2;
  }

  .hero h1 {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 22px;
  }

  .hero-summary {
    grid-row: 3;
    grid-column: 1 / -1;
    font-size: 18px;
  }

  .hero-kicker {
    gap: 7px;
  }

  .hero-kicker span + span::before {
    margin-right: 7px;
  }

  .hero-authorship {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 27px;
    padding: 17px 0 0 14px;
  }

  .hero-authors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 15px;
    font-size: 14px;
  }

  .hero-affiliations {
    gap: 8px 14px;
    margin-top: 16px;
    font-size: 11.5px;
  }

  .hero-citation-link {
    justify-self: start;
  }

  .hero-actions {
    display: grid;
    margin-top: 27px;
  }

  .loop-intro h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .loop-intro > p:last-child {
    font-size: 16px;
  }

  .loop-stage {
    margin-top: 38px;
  }

  .loop-mobile-step {
    grid-template-columns: 24px 42px minmax(0, 1fr);
    gap: 10px;
    padding-right: 8px;
  }

  .loop-mobile-step-verb {
    display: none;
  }

  .loop-viewport {
    min-height: 0;
    aspect-ratio: 16 / 10;
    background-size: 48px 48px;
    cursor: default;
  }

  .loop-stage-footer {
    min-height: 54px;
  }

  .loop-stage-footer p {
    max-width: 270px;
    font-size: 11px;
  }

  .button {
    width: 100%;
  }

  .section-intro h2 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .scope .section-intro {
    display: block;
  }

  .scope .section-intro > p:last-child {
    margin-top: 24px;
  }

  .segmented-control {
    gap: 7px;
  }

  .segmented-control button {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 72px;
    gap: 9px;
    padding: 9px;
  }

  .axis-tab-icon {
    width: 36px;
    height: 36px;
  }

  .axis-tab-icon .ph {
    font-size: 19px;
  }

  .axis-tab-copy strong {
    font-size: 11px;
  }

  .axis-tab-copy small {
    font-size: 9px;
  }

  .taxonomy-heading {
    align-items: flex-start;
    padding-block: 17px;
  }

  .taxonomy-list,
  .application-list {
    grid-template-columns: 1fr;
  }

  .taxonomy-item,
  .application-item {
    grid-template-rows: 166px minmax(76px, auto) 32px;
    min-height: 292px;
  }

  .artifact-miniature,
  .application-miniature {
    height: 166px;
  }

  .catalog-heading {
    gap: 26px;
    margin-bottom: 50px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .js .filter-panel-controls {
    display: none;
  }

  .js .filter-panel.is-expanded .filter-panel-controls {
    display: contents;
  }

  .js .filter-panel-toggle {
    display: inline-flex;
  }

  .filter-heading-actions {
    gap: 8px;
  }

  .filter-heading .text-button,
  .filter-panel-toggle {
    min-height: 44px;
  }

  .filter-heading,
  .search-field,
  .view-filter {
    grid-column: auto;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-block: 13px;
  }

  .results-controls {
    width: 100%;
    justify-content: space-between;
  }

  .results-header .filter-control > span {
    display: none;
  }

  .results-header .sort-control .custom-select {
    width: 142px;
  }

  .results-header .page-size-control .custom-select {
    width: 70px;
  }

  .results-header .select-trigger {
    padding-left: 4px;
  }

  .paper-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 10px;
  }

  .paper-meta {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    justify-content: start;
    gap: 8px 12px;
    text-align: left;
  }

  .paper-links {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 5px;
  }

  .paper-links a {
    min-height: 44px;
    padding-inline: 2px;
  }

  .paper-tag-filter {
    min-height: 38px;
  }

  .pagination {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .pagination-controls {
    width: 100%;
    gap: 3px;
    overflow-x: auto;
    padding: 2px 0 5px;
  }

  .pagination-pages {
    gap: 2px;
  }

  .pagination-direction {
    padding-inline: 8px;
    font-size: 10px;
  }

  .pagination-page {
    width: 30px;
  }

  .pagination-ellipsis {
    width: 22px;
  }

  .analysis-grid {
    margin-top: 52px;
  }

  .insights-intro h2 {
    font-size: clamp(39px, 12vw, 56px);
  }

  .insights-lede {
    font-size: 16px;
  }

  .insight-lens {
    margin-top: 38px;
  }

  .insight-lens > span {
    padding: 15px 8px 16px 0;
  }

  .insight-lens > span + span {
    padding-left: 9px;
  }

  .insight-lens strong {
    font-size: 9px;
    letter-spacing: -0.01em;
  }

  .insight-claim {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 17px;
    min-height: 0;
    padding-block: 30px;
  }

  .insight-claim-icon {
    width: 40px;
    height: 40px;
  }

  .insight-claim-icon .ph {
    font-size: 19px;
  }

  .insight-claim-copy h3 {
    font-size: clamp(24px, 7.8vw, 31px);
  }

  .insight-claim-copy > p:last-child {
    font-size: 13px;
  }

  .insight-relation {
    grid-column: 2;
  }

  .insights-bridge {
    gap: 28px;
    padding-top: 31px;
  }

  .insight-actions {
    display: grid;
    width: 100%;
  }

  .insight-link {
    width: 100%;
  }

  .analysis-figure {
    overflow-x: auto;
  }

  .analysis-figure figcaption {
    gap: 12px;
  }

  .chart-mobile-hint {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    color: var(--teal-text);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .d3-chart:focus-visible {
    outline-offset: -3px;
  }

  .analysis-figure img {
    min-width: 640px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .taxonomy-item,
  .application-item,
  .taxonomy-item:is(:hover, :focus-visible, .is-showcase-active),
  .application-item:is(:hover, :focus-visible, .is-showcase-active) {
    transform: none;
  }

  .insight-claim,
  .insight-claim::before,
  .insight-relation .ph {
    transition: none;
  }

  .insight-claim::before {
    transform: scaleX(1);
  }
}
