:root {
  --ink: #222222;
  --muted: #5f6368;
  --link: #3273dc;
  --line: #e2e4e7;
  --soft: #f6f6f6;
  --surface: #ffffff;
  --shell: min(1040px, calc(100vw - 40px));
  --text-shell: min(760px, calc(100vw - 40px));
  --sans: Arial, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 0 0 4px 4px;
  color: white;
  background: #222;
}

.skip-link:focus {
  top: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--text {
  width: var(--text-shell);
}

.shell--wide {
  width: var(--shell);
}

.center {
  text-align: center;
}

.hero {
  color: var(--ink);
  background: white;
  padding-bottom: 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wordmark__mark {
  color: inherit;
}

.nav__links {
  display: flex;
  gap: 25px;
  color: #555;
  font-size: 0.875rem;
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--link);
}

.hero__content {
  padding: 52px 0 30px;
}

.eyebrow,
.kicker {
  margin: 0 0 8px;
  color: #5f6368;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto;
  font-size: clamp(2.5rem, 4.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.hero__expansion {
  max-width: 800px;
  margin: 16px auto 12px;
  font-size: clamp(1.2rem, 2.3vw, 1.5rem);
  font-weight: 400;
  line-height: 1.4;
}

.hero__expansion b {
  color: inherit;
  font-weight: 700;
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.hero__lead strong {
  color: var(--ink);
}

.authors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 14px;
  margin-top: 26px;
  color: var(--link);
  max-width: 940px;
  margin-inline: auto;
  font-size: 0.95rem;
}

.authors sup,
.affiliations sup {
  font-size: 0.64em;
}

.affiliations {
  margin: 14px 0 3px;
  color: #4f4f4f;
  font-size: 0.875rem;
}

.author-note {
  margin: 0;
  color: #888;
  font-size: 0.8rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 39px;
  padding: 0 16px;
  border: 1px solid #b9bdc2;
  border-radius: 4px;
  color: #222;
  background: white;
  font-size: 0.875rem;
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  color: #111;
  border-color: #777;
  background: #f7f7f7;
}

.button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button--light,
.button--glass,
.button--dark {
  color: #222;
  background: white;
}

.button--dark {
  margin-top: 24px;
}

.hero-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  background: #111;
}

.hero-media__caption {
  margin: 9px 1px 0;
  color: #686868;
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-media__caption b {
  color: #333;
}

.section {
  padding: 40px 0 50px;
}

.section--compact {
  padding: 36px 0;
}

.paper-meta {
  background: white;
}

.section-heading,
.section-heading--split,
.section-heading--light {
  display: block;
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-heading h2,
.abstract-section h2,
.citation-section h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-heading h2::after,
.abstract-section h2::after,
.citation-section h2::after {
  display: block;
  width: 42px;
  height: 2px;
  margin: 15px auto 0;
  background: #5f7fa4;
  content: "";
}

.section-heading > p,
.section-heading--split > p,
.section-heading--light > p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  padding: 14px 18px;
  border-left: 2px solid #b9cbdc;
  color: var(--muted);
  background: #f6f9fc;
  font-size: 1rem;
  text-align: left;
}

.section-heading--light .kicker {
  margin-bottom: 10px;
  color: #777;
}

.feature-image,
.method-figure {
  margin: 0 auto;
}

.feature-image {
  max-width: 840px;
}

.feature-image img,
.method-figure img {
  width: 100%;
  border: 1px solid #d3d3d3;
  border-radius: 1px;
  background: white;
}

.method-figure > a,
.result-card > a {
  display: block;
}

.feature-image figcaption,
.method-figure figcaption {
  margin: 10px 2px 0;
  color: #686868;
  font-size: 0.875rem;
  line-height: 1.5;
}

.feature-image figcaption b,
.method-figure figcaption b {
  color: #333;
}

.problem-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 820px;
  margin: 44px auto 0;
}

.problem-card {
  min-height: 0;
  padding: 0;
  background: white;
}

.card-index {
  color: #999;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.problem-card h3,
.method-card h3,
.video-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}

.problem-card p,
.method-card p,
.video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section--dark,
.section--mist {
  color: var(--ink);
  background: white;
}

.method-figure {
  max-width: 900px;
  margin-inline: auto;
}

.method-card {
  min-height: 0;
  padding: 0;
  background: white;
}

.problem-card,
.method-card {
  position: relative;
  padding-top: 18px;
  border-top: 2px solid #d9e2eb;
}

.concept-tag {
  display: inline-flex;
  min-width: 30px;
  height: 22px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #cbd8e5;
  border-radius: 2px;
  color: #4f7095;
  background: #f4f7fa;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.method-card__tag {
  display: inline-block;
  color: #777;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.method-card h3 {
  font-size: 1.2rem;
}

.method-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.method-card li {
  margin-top: 4px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
  align-items: start;
  max-width: 840px;
  margin-inline: auto;
}

.video-card--wide {
  grid-column: 1 / -1;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #d3d3d3;
  border-radius: 2px;
  background: #111;
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-badge {
  display: none;
}

.video-card h3 {
  margin-top: 13px;
}

.video-card p {
  font-size: 0.9rem;
}

.deployment-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 820px;
  margin: 52px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.deployment-strip div {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 19px 16px;
  text-align: center;
}

.deployment-strip strong {
  font-size: 1.3rem;
  font-weight: 650;
}

.deployment-strip span {
  color: var(--muted);
  font-size: 0.74rem;
}

.evidence-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.evidence-section .section-heading h2::after {
  display: block;
  width: 48px;
  height: 2px;
  margin: 18px auto 0;
  background: #5f7fa4;
  content: "";
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  max-width: 840px;
  margin-inline: auto;
}

.evidence-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
  border: 1px solid #dce3ea;
  border-top: 3px solid #5f7fa4;
  border-radius: 3px;
  background: white;
  box-shadow: 0 4px 16px rgba(35, 55, 80, 0.05);
}

.evidence-card__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 9px;
  color: #666;
  font-size: 0.78rem;
}

.evidence-card__meta span {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #cad7e4;
  border-radius: 2px;
  color: #4d6f96;
  background: #f2f6fa;
  font-size: 0.68rem;
  font-weight: 700;
}

.evidence-card h3,
.embedded-media h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.evidence-card > p:not(.evidence-card__meta) {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.achievement-list {
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.achievement-list li {
  display: grid;
  grid-template-columns: 8px 62px 1fr;
  gap: 10px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.achievement-list li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b18b2f;
  content: "";
}

.achievement-list li:nth-child(2)::before {
  background: #a66f4d;
}

.achievement-list li:nth-child(3)::before {
  background: #8e979f;
}

.achievement-list strong {
  font-weight: 600;
}

.achievement-list span {
  color: var(--muted);
}

.evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
  padding-top: 24px;
}

.evidence-links a {
  color: var(--link);
  font-size: 0.84rem;
}

.evidence-links a:hover,
.evidence-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.evidence-photo {
  width: 100%;
  max-width: 210px;
  margin: 20px auto 0;
}

.evidence-photo > a {
  display: block;
}

.evidence-photo img {
  width: 100%;
  border: 1px solid #d7e0e8;
  border-radius: 2px;
  background: #eee;
}

.evidence-photo figcaption {
  margin-top: 6px;
  color: #72777d;
  font-size: 0.7rem;
  line-height: 1.4;
}

.evidence-photo figcaption a {
  color: var(--link);
}

.evidence-photo figcaption a:hover,
.evidence-photo figcaption a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.embedded-media {
  max-width: 840px;
  margin: 42px auto 0;
  padding-top: 30px;
  border-top: 1px solid #d9e1e9;
}

.embedded-media h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

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

.embedded-video-card {
  margin: 0;
}

.embedded-video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid #cbd6e1;
  border-radius: 2px;
  background: #111;
  box-shadow: 0 3px 12px rgba(35, 55, 80, 0.06);
}

.embedded-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.embedded-video-card h4 {
  margin: 13px 0 5px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.embedded-video-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.embedded-video-card a {
  color: var(--link);
}

.embedded-video-card a:hover,
.embedded-video-card a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  max-width: 820px;
  margin-inline: auto;
}

.metric {
  display: flex;
  min-height: 135px;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 20px 10px;
  border-top: 1px solid #bdbdbd;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.metric strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.82rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 20px;
  max-width: 840px;
  margin-top: 42px;
  margin-inline: auto;
}

.result-card {
  margin: 0;
  padding: 0;
  background: white;
}

.result-card--large {
  grid-column: 1 / -1;
}

.result-card img {
  width: 100%;
  max-height: 650px;
  object-fit: contain;
  border: 1px solid #d8d8d8;
  border-radius: 1px;
}

.result-card--qualitative img {
  width: auto;
  max-height: 520px;
  margin-inline: auto;
}

.result-card figcaption {
  margin-top: 10px;
  color: #686868;
  font-size: 0.875rem;
}

.result-card figcaption b {
  color: #333;
}

.abstract-section {
  padding-top: 32px;
  padding-bottom: 40px;
  color: var(--ink);
  background: white;
}

.abstract-section + .overview {
  padding-top: 34px;
}

.abstract-section h2 {
  margin: 0;
  font-size: 2.25rem;
  text-align: center;
}

.abstract-copy {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid #dce3ea;
  border-left: 3px solid #5f7fa4;
  background: #f6f9fc;
}

.abstract-copy p {
  margin: 0;
  color: #3f3f3f;
  font-size: 1rem;
  line-height: 1.65;
  text-align: left;
}

.abstract-copy p + p {
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #e2e7ec;
}

.abstract-section b {
  color: var(--ink);
}

.citation-section {
  padding-top: 42px;
}

.citation-section h2 {
  font-size: 1.8rem;
}

.citation-placeholder {
  margin-top: 20px;
  padding: 22px;
  border-radius: 5px;
  color: #555;
  background: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
}

footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 92px;
}

.wordmark--dark {
  color: var(--ink);
}

.footer-inner p {
  margin: 0;
  color: #777;
  font-size: 0.68rem;
}

.footer-note {
  text-align: right;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

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

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

@media (max-width: 760px) {
  :root {
    --shell: calc(100vw - 28px);
    --text-shell: calc(100vw - 28px);
  }

  .nav__links {
    gap: 14px;
    font-size: 0.78rem;
  }

  .hero {
    padding-bottom: 44px;
  }

  .hero__content {
    padding-top: 42px;
  }

  .authors {
    gap: 2px 10px;
  }

  .section {
    padding: 34px 0 44px;
  }

  .problem-grid,
  .method-grid,
  .metric-grid,
  .result-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .method-grid {
    gap: 28px;
  }

  .metric-grid {
    gap: 16px;
  }

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

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

  .deployment-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
    padding: 22px 0;
  }

  .footer-note {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .nav__links a:nth-child(1),
  .nav__links a:nth-child(6) {
    display: none;
  }

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

  .evidence-card {
    padding: 20px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero__expansion {
    font-size: 1.18rem;
  }

  .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button-row .button {
    width: 100%;
    padding-inline: 10px;
  }
}
