:root {
  --canvas: #f6f3eb;
  --paper: #fffdf8;
  --ink: #17242b;
  --muted: #53656d;
  --line: #ced7d6;
  --blue: #2d7399;
  --blue-deep: #1d5c7f;
  --blue-soft: #dcebf0;
  --orange: #cf6b38;
  --orange-soft: #f2dfd3;
  --night: #122129;
  --night-soft: #1a303a;
  --white: #fbfcfa;
  --max-width: 1320px;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shadow: 0 32px 80px rgba(29, 52, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(45, 115, 153, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 115, 153, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 42rem);
}

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

img { height: auto; }

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  border-color: rgba(23, 36, 43, 0.1);
  box-shadow: 0 8px 24px rgba(23, 36, 43, 0.06);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 3px;
  padding: 7px;
  background: var(--ink);
  border-radius: 9px;
}

.wordmark-mark i {
  width: 7px;
  height: 7px;
  background: var(--blue-soft);
  border-radius: 2px;
}

.wordmark-mark i:nth-child(2),
.wordmark-mark i:nth-child(3) {
  background: var(--orange);
}

.site-nav {
  display: flex;
  gap: 30px;
  color: #4d5d63;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding-block: 74px 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.eyebrow span {
  width: 27px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  margin: 0;
  font-size: clamp(60px, 8vw, 112px);
  line-height: 0.87;
  letter-spacing: -0.075em;
}

.hero h1 span {
  display: block;
  margin-left: 0.62em;
  color: var(--blue);
}

.paper-title {
  max-width: 680px;
  margin: 36px 0 0;
  color: #31434b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.35;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 740;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

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

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

.button-primary:hover {
  background: var(--blue-deep);
}

.button-secondary {
  background: rgba(255, 253, 248, 0.54);
}

.button-secondary:hover {
  color: var(--paper);
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.release-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.release-status span {
  padding: 7px 10px;
  background: rgba(255, 253, 248, 0.6);
  border: 1px solid rgba(23, 36, 43, 0.1);
  border-radius: 999px;
}

.release-status b {
  margin-right: 5px;
  color: var(--ink);
}

.release-status .status-live {
  color: var(--blue-deep);
  border-color: rgba(45, 115, 153, 0.25);
}

.authors {
  max-width: 700px;
  margin: 28px 0 0;
  color: #3f5057;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.7;
}

.affiliations {
  margin: 4px 0 0;
  color: #53656d;
  font-size: 12px;
}

.hero-stage {
  position: relative;
  margin: 0;
}

.hero-frame {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 12px;
  background: var(--paper);
  border: 1px solid rgba(23, 36, 43, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: rotate(1.2deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-frame:hover {
  box-shadow: 0 40px 100px rgba(29, 52, 61, 0.2);
  transform: rotate(0deg) translateY(-4px);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.hero-frame::after {
  position: absolute;
  inset: 12px;
  content: "";
  background: linear-gradient(to top, rgba(12, 29, 37, 0.58), transparent 42%);
  border-radius: 22px;
  pointer-events: none;
}

.hero-frame-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(23, 36, 43, 0.2);
  transform: translate(-50%, -50%);
}

.hero-frame-play i {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid currentColor;
}

.hero-frame-meta {
  position: absolute;
  right: 34px;
  bottom: 30px;
  left: 34px;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: white;
}

.hero-frame-meta small {
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-frame-meta b {
  font-size: 12px;
}

.hero-stage figcaption {
  max-width: 470px;
  margin: 20px 14px 0 auto;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  text-align: right;
}

.cue-orbit {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
}

.cue-orbit-blue {
  top: -42px;
  right: -28px;
  width: 82px;
  height: 82px;
  border: 3px solid var(--blue);
}

.cue-orbit-blue::before,
.cue-orbit-blue::after {
  position: absolute;
  content: "";
  background: var(--blue);
}

.cue-orbit-blue::before {
  top: 50%;
  right: -9px;
  left: -9px;
  height: 2px;
}

.cue-orbit-blue::after {
  top: -9px;
  bottom: -9px;
  left: 50%;
  width: 2px;
}

.cue-orbit-orange {
  bottom: 42px;
  left: -37px;
  width: 70px;
  height: 70px;
  border: 3px solid var(--orange);
  border-right-color: transparent;
}

.manifesto {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding-block: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto-index {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.manifesto-copy {
  max-width: 810px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.5vw, 35px);
  line-height: 1.36;
  letter-spacing: -0.02em;
}

.manifesto-legend {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.manifesto-legend span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.manifesto-legend i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.legend-position { background: var(--blue); }
.legend-rotation { background: var(--orange); }
.legend-unset { background: #dfe5e3; border: 1px solid #c9d3d1; }

.demo-section,
.method-section {
  padding-block: 128px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading h2,
.method-copy h2,
.release-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.section-heading > p,
.results-intro > p,
.method-copy > p,
.release-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.video-shell {
  overflow: hidden;
  background: var(--night);
  border: 1px solid rgba(23, 36, 43, 0.18);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.video-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050708;
}

.video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding-inline: 20px;
  color: #cbd6d7;
  font-size: 12px;
}

.video-caption a {
  color: white;
  font-weight: 730;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.results-section {
  padding-block: 120px;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 15%, rgba(45, 115, 153, 0.22), transparent 30%),
    var(--night);
}

.section-heading-light .section-kicker {
  color: #8bc0d7;
}

.section-heading-light h2 {
  color: var(--white);
}

.results-intro {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.results-intro > p {
  color: #aab9bd;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  color: #dce7e9;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.motion-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.result-card {
  overflow: hidden;
  background: var(--night-soft);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  transition: border-color 180ms ease, transform 180ms ease;
}

.result-card:hover {
  border-color: rgba(139, 192, 215, 0.46);
  transform: translateY(-3px);
}

.result-card-wide {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-column: 1 / -1;
}

.result-card-repair {
  grid-template-columns: minmax(360px, 0.74fr) 1fr;
}

.result-media-frame {
  position: relative;
  min-height: 0;
  background: #0d181e;
}

.result-media {
  width: 100%;
  height: 100%;
  min-height: 318px;
  object-fit: cover;
}

.result-card:not(.result-card-wide) .result-media {
  aspect-ratio: 16 / 9;
  min-height: auto;
}

.result-card-repair .result-media {
  aspect-ratio: 1;
  min-height: 390px;
}

.result-number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  color: var(--white);
  background: rgba(10, 21, 27, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
}

.result-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 205px;
  padding: 30px;
}

.result-copy p {
  margin: 0;
  color: #9fb1b7;
  font-size: 13px;
}

.result-copy div > p {
  margin-bottom: 10px;
  color: #80b9d0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.result-copy h3 {
  max-width: 520px;
  margin: 0;
  color: var(--white);
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.benchmark-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.benchmark-row p {
  max-width: 390px;
  margin: 0;
  color: #9fb1b7;
  font-size: 13px;
}

.benchmark-row div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.benchmark-row a {
  min-height: 42px;
  padding: 9px 14px;
  color: #dfeaec;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.benchmark-row a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.method-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.48fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.method-copy h2 {
  font-size: clamp(38px, 4.6vw, 66px);
}

.method-copy > p {
  margin-top: 24px;
}

.method-steps {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.method-steps span {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 720;
}

.method-steps b {
  color: var(--orange);
  font-size: 11px;
}

.pipeline-figure {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 11px;
  background: var(--paper);
  border: 1px solid rgba(23, 36, 43, 0.14);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.pipeline-figure img {
  width: 100%;
  border-radius: 13px;
}

.pipeline-figure > span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 8px 12px;
  color: white;
  background: rgba(23, 36, 43, 0.86);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 740;
  backdrop-filter: blur(10px);
}

.release-section {
  padding-block: 72px;
  background: var(--canvas);
  border-top: 1px solid var(--line);
}

.release-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.release-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.release-heading .section-kicker { margin: 0 0 12px; }

.release-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.release-heading > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.release-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.release-link {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 226px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  text-decoration: none;
  transition: background-color 170ms ease, border-color 170ms ease;
}

a.release-link:hover {
  background: #edf4f4;
  border-color: var(--blue-deep);
}

.release-link span {
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.release-link b {
  margin-top: 22px;
  font-size: 26px;
  line-height: 1.25;
}

.release-link small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.resource-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 650;
}

.resource-action i, .resource-extras i { font-style: normal; }

.resource-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 6px;
}

.resource-extras a { display: flex; flex-direction: column; padding: 8px 0; text-decoration: none; }
.resource-extras b { font-size: 14px; font-weight: 650; }
.resource-extras i { padding-left: 8px; color: var(--blue-deep); }
.resource-extras span { margin-top: 4px; font-size: 12px; color: var(--muted); }
.resource-extras a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.release-section a:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 5px; }

@media (max-width: 800px) {
  .release-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .release-link { padding: 20px; }
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 190px;
  padding-block: 48px;
}

.site-footer p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.lightbox {
  width: min(96vw, 1700px);
  max-width: none;
  max-height: 92vh;
  padding: 52px 16px 16px;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(8, 20, 26, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: calc(92vh - 68px);
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 6px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 720;
}

.lightbox button span {
  margin-left: 5px;
  font-size: 20px;
  line-height: 1;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 84px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero h1 span {
    display: inline;
    margin-left: 0;
  }

  .hero-stage {
    width: min(880px, 96%);
    margin-inline: auto;
  }

  .manifesto {
    grid-template-columns: 48px 1fr;
  }

  .manifesto-legend {
    grid-column: 2;
    grid-template-columns: repeat(3, max-content);
  }

  .method-section,
  .release-inner {
    grid-template-columns: 1fr;
  }

  .method-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 64px;
    padding-inline: 14px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .hero {
    gap: 58px;
    padding-block: 60px 76px;
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 82px);
    line-height: 0.92;
  }

  .hero h1 span {
    display: block;
  }

  .paper-title {
    margin-top: 28px;
    font-size: 20px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .authors,
  .affiliations {
    font-size: 11px;
  }

  .hero-stage {
    width: 100%;
  }

  .hero-frame {
    aspect-ratio: 4 / 3;
    padding: 7px;
    border-radius: 20px;
    transform: none;
  }

  .hero-frame img {
    border-radius: 15px;
  }

  .hero-frame::after {
    inset: 7px;
    border-radius: 15px;
  }

  .hero-frame-meta {
    right: 20px;
    bottom: 18px;
    left: 20px;
  }

  .hero-frame-meta small {
    display: none;
  }

  .hero-frame-play {
    width: 58px;
    height: 58px;
  }

  .cue-orbit {
    display: none;
  }

  .manifesto {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .manifesto-index,
  .manifesto-legend {
    grid-column: 1;
  }

  .manifesto-legend {
    grid-template-columns: 1fr 1fr;
  }

  .demo-section,
  .method-section {
    padding-block: 84px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 32px;
  }

  .video-shell {
    margin-inline: -7px;
    border-radius: 16px;
  }

  .video-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
  }

  .results-section,
  .release-section {
    padding-block: 84px;
  }

  .result-grid,
  .result-card-wide,
  .result-card-repair {
    grid-template-columns: 1fr;
  }

  .result-card-wide {
    grid-column: auto;
  }

  .result-media,
  .result-card-repair .result-media {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .result-card-repair .result-media {
    object-position: center 34%;
  }

  .result-copy {
    min-height: 184px;
    padding: 24px;
  }

  .benchmark-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benchmark-row div {
    justify-content: flex-start;
  }

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

  .pipeline-figure img {
    width: 1000px;
    max-width: none;
  }

  .release-links {
    grid-template-columns: 1fr;
  }

  .release-link {
    min-height: 205px;
  }

  .resource-extras { grid-template-columns: 1fr; gap: 0; }
  .resource-extras a { padding: 16px 0; border-top: 1px solid var(--line); }
  .release-section { padding-block: 48px; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

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

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

/* V52 media-first additions: native players, lightweight loading, clear groups. */
.video-caption > div { display: flex; flex-wrap: wrap; gap: 20px; }
.chapter-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chapter-list button { display: grid; gap: 2px; min-height: 58px; flex: 1 1 140px; padding: 10px 14px; text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; font-size: 13px; }
.chapter-list button:hover { background: var(--blue-soft); }
.chapter-list span { color: var(--blue-deep); font-size: 11px; font-weight: 700; }
.transcript { margin-top: 24px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.transcript summary { width: fit-content; min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 650; color: var(--blue-deep); }
.transcript div { max-width: 820px; color: var(--muted); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.motion-card { min-width: 0; overflow: hidden; border-radius: 14px; background: var(--night-soft); }
.motion-card video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #0b171c; }
.motion-copy { padding: 22px 24px 26px; }
.motion-copy span { color: #a7c6d3; font-size: 11px; letter-spacing: .055em; font-weight: 650; }
.motion-copy h3 { margin: 12px 0 10px; color: #fbfcfa; font-size: 22px; letter-spacing: -.025em; line-height: 1.2; }
.motion-copy p { color: #b4c5cc; font-size: 14px; line-height: 1.65; margin: 0; }
.showcase-note { max-width: 760px; color: #a8bbc4; font-size: 13px; margin: 30px 0 0; }
.benchmark-section { padding-block: 112px 24px; }
.benchmark-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.benchmark-card { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper); }
.benchmark-card video { width: 100%; height: auto; max-height: 430px; aspect-ratio: 1; object-fit: contain; background: #f0f4f2; }
.benchmark-card > div { padding: 26px; }
.benchmark-card h3 { margin: 10px 0; font-size: 24px; letter-spacing: -.025em; line-height: 1.25; }
.benchmark-card .section-kicker { font-size: 11px; margin: 0; }
.benchmark-card p:not(.section-kicker) { color: var(--muted); font-size: 14px; }
.benchmark-card a { display: inline-block; padding-block: 10px; color: var(--blue-deep); font-weight: 650; font-size: 13px; text-underline-offset: 4px; }
.benchmark-directory { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.benchmark-directory p { color: var(--muted); font-size: 14px; }
.benchmark-directory > div { display: flex; flex-wrap: wrap; gap: 10px; }
.benchmark-directory a { display: inline-block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--blue-deep); text-decoration: none; font-size: 13px; }
.benchmark-directory a:hover { background: var(--blue-soft); }
.media-error { margin: 0; padding: 16px; color: var(--ink); background: #fae8cf; font-size: 14px; }
.media-error[hidden] { display: none; }
.site-nav { gap: 22px; }
.method-section { grid-template-columns: 1fr; gap: 40px; }
.method-copy { max-width: 900px; }
.method-copy h2 { font-size: clamp(36px, 4.2vw, 60px); }
.method-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pipeline-figure img { height: auto; }
.site-nav a { padding-block: 10px; }
.lightbox button { min-height: 44px; min-width: 80px; }
.release-link-muted { color: #4f636b; }
.release-link small { color: #506771; }
.manifesto-index { color: #a54a23; }
.method-steps b { color: #a54a23; }
@media (max-width: 1100px) { .showcase-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) {
  .showcase-grid, .benchmark-grid { grid-template-columns: 1fr; }
  .benchmark-section { padding-top: 76px; }
  .video-caption { padding-block: 14px; gap: 8px; }
  .pipeline-figure img { width: 100%; max-width: 100%; }
  .pipeline-figure > span { position: static; display: inline-block; margin-top: 8px; }
  .motion-copy { padding: 22px; }
  .method-steps { grid-template-columns: 1fr; gap: 0; }
  .benchmark-card video { max-height: none; }
  .hero-frame { aspect-ratio: 16 / 9; }
  .site-nav { display: flex; grid-column: 1 / -1; justify-content: space-between; gap: 10px; order: 3; font-size: 12px; width: 100%; }
  .site-header { row-gap: 2px; padding-top: 8px; }
  .site-nav a { padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) { .hero-frame, .hero-frame:hover { transform: none; } }

/* A curated gallery with comparable framing and visible input conditions. */
.benchmark-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 32px 0 16px; }
.benchmark-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.benchmark-filters[hidden], .benchmark-card[hidden] { display: none; }
.benchmark-filters button { min-height: 44px; padding: 10px 16px; border: 1px solid #c5d1d4; border-radius: 6px; background: transparent; color: var(--ink); cursor: pointer; font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1.4; }
.benchmark-filters button span { margin-left: 7px; font-size: 12px; font-weight: 400; }
.benchmark-filters button[aria-pressed="true"] { color: #fff; background: #225e7c; border-color: #225e7c; }
.benchmark-filters button:hover:not([aria-pressed="true"]) { background: #e8eef0; }
.benchmark-count { margin: 0; text-align: right; color: var(--muted); font-size: 13px; white-space: nowrap; }
.benchmark-legend { max-width: 960px; margin: 0 0 30px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.benchmark-legend { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 22px 0; border-block: 1px solid var(--line); }
.benchmark-legend p { margin: 0; }
.benchmark-legend p > b { display: block; margin-bottom: 5px; color: var(--ink); font-size: 14px; }
.cue-word { font-weight: 650; }
.cue-amber { color: #984716; }
.cue-blue { color: #245f7a; }
.cue-gray { color: #53656d; }
.benchmark-grid[data-filtered="true"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.benchmark-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.benchmark-card { display: flex; flex-direction: column; border: 1px solid #d2dcdf; border-radius: 10px; overflow: hidden; background: #fff; }
.benchmark-card video { display: block; width: 100%; aspect-ratio: 8 / 5; max-height: none; border-bottom: 1px solid #e4e9e9; }
.benchmark-card > .benchmark-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.benchmark-card h3 { font-size: 23px; line-height: 1.3; margin: 13px 0 15px; }
.benchmark-card .section-kicker { color: #245d76; line-height: 1.6; font-size: 12px; letter-spacing: .035em; }
.benchmark-card .section-kicker span { color: var(--muted); }
.benchmark-card p.benchmark-condition { border-left: 2px solid #cf8a5a; padding: 0 0 0 10px; margin: 0 0 12px; font-size: 14px; color: #334f5b; }
.benchmark-condition b { display: block; margin-bottom: 3px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: #86613e; }
.benchmark-card .benchmark-copy > p:not(.section-kicker):not(.benchmark-condition) { margin: 0 0 18px; line-height: 1.6; }
.benchmark-card .benchmark-copy > a { margin-top: auto; line-height: 1.6; }
.benchmark-card > .benchmark-media { padding: 0; position: relative; }
.benchmark-play { position: absolute; left: 16px; bottom: 15px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 1px solid #fff9; border-radius: 6px; background: #184a62; color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 3px 12px #1a35451a; }
.benchmark-play:hover { background: #103448; }
.benchmark-play[hidden] { display: none; }
.benchmark-play span { font-size: 10px; }
@media (max-width: 1100px) { .benchmark-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .benchmark-toolbar { align-items: flex-start; } }
@media (max-width: 760px) { .benchmark-legend { grid-template-columns: 1fr; gap: 16px; } .benchmark-grid[data-filtered="true"] { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .benchmark-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .benchmark-toolbar { flex-direction: column; gap: 12px; }
  .benchmark-count { text-align: left; }
  .benchmark-filters button { padding: 9px 12px; }
  .benchmark-card h3 { font-size: 24px; }
}
