:root {
  color-scheme: light;
  --canvas: #f5f7fa;
  --surface: #ffffff;
  --surface-subtle: #eef1f5;
  --ink: #13151a;
  --ink-soft: #555d6b;
  --line: #d9dee7;
  --line-strong: #b8c1cf;
  --violet: #6842d8;
  --violet-soft: #eee9ff;
  --cyan: #087f9c;
  --cyan-soft: #e3f6fa;
  --amber: #a65c00;
  --amber-soft: #fff2da;
  --shadow: 0 14px 50px rgba(24, 31, 43, 0.1);
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --header-height: 64px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #101216;
  --surface: #171a20;
  --surface-subtle: #1d2129;
  --ink: #f3f5f8;
  --ink-soft: #aeb6c3;
  --line: #303641;
  --line-strong: #46505f;
  --violet: #a991ff;
  --violet-soft: #2b2545;
  --cyan: #62d1e8;
  --cyan-soft: #17333a;
  --amber: #f0bd63;
  --amber-soft: #3b2d16;
  --shadow: 0 16px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

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

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

p,
h1,
h2,
h3,
figure,
pre {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--surface);
  background: var(--ink);
  transform: translateY(-160%);
}

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

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

.shell-wide {
  width: min(1320px, calc(100% - 48px));
}

.reading-width {
  max-width: 840px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  font-size: 17px;
  font-weight: 750;
}

.wordmark-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: var(--violet);
  font-family: var(--font-serif);
  font-weight: 700;
}

.venue-chip {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  color: var(--ink-soft);
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--violet);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  background: var(--surface-subtle);
}

.icon-button:active {
  transform: translateY(1px);
}

.icon-button svg,
.button svg,
.video-meta svg,
.segmented-control svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.8;
}

.theme-button {
  justify-self: end;
}

.mobile-menu-button {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 86px 0 70px;
  overflow: hidden;
  color: #f5f8fc;
  background: #070a10;
}

.hero-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-frame {
  position: absolute;
  z-index: 0;
  inset: 20px clamp(18px, 4vw, 72px);
  pointer-events: none;
}

.hero-frame span {
  position: absolute;
  width: 44px;
  height: 44px;
  border-color: rgba(129, 214, 236, 0.42);
  animation: hero-frame-breathe 4.5s ease-in-out infinite;
}

.hero-frame span:nth-child(1) {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.hero-frame span:nth-child(2) {
  top: 0;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
  animation-delay: 0.6s;
}

.hero-frame span:nth-child(3) {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid;
  border-left: 1px solid;
  animation-delay: 1.2s;
}

.hero-frame span:nth-child(4) {
  right: 0;
  bottom: 0;
  border-right: 1px solid;
  border-bottom: 1px solid;
  animation-delay: 1.8s;
}

.hero-scan {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(130, 220, 239, 0.55);
  box-shadow: 0 0 22px rgba(96, 208, 237, 0.42);
  opacity: 0.42;
  pointer-events: none;
  animation: hero-scan-travel 9s linear infinite;
}

@keyframes hero-frame-breathe {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}

@keyframes hero-scan-travel {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(980px);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  color: #f8fbff;
  font-family: var(--font-serif);
  font-size: 76px;
  font-weight: 600;
  line-height: 0.95;
}

.hero-subtitle {
  max-width: 840px;
  margin: 22px auto 0;
  color: #f3f7fc;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.3;
}

.hero-subtitle strong {
  color: #9f8cff;
  font-weight: 700;
}

.hero-subtitle span {
  display: block;
  color: #b6c2d2;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.affiliation {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: #8fa0b7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.affiliation .brand-icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 8px rgba(78, 194, 239, 0.34));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

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

.button-primary:hover {
  box-shadow: 0 8px 22px color-mix(in srgb, var(--ink) 18%, transparent);
}

.button-secondary {
  background: var(--surface);
}

.hero .button-primary {
  border-color: #7ad9e9;
  color: #071014;
  background: #7ad9e9;
  box-shadow: 0 14px 34px rgba(89, 207, 232, 0.2);
}

.hero .button-experience {
  border-color: #a38df1;
  color: #fbfaff;
  background: #6d55ca;
  box-shadow: 0 14px 34px rgba(134, 103, 235, 0.22);
}

.hero .button-experience:hover {
  border-color: #c1b3ff;
  background: #8068dc;
}

.hero .button-secondary {
  border-color: rgba(178, 205, 229, 0.36);
  color: #eaf2fb;
  background: rgba(7, 10, 16, 0.48);
}

.hero .button-secondary:hover {
  border-color: rgba(159, 225, 239, 0.82);
  background: rgba(27, 39, 54, 0.78);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.hero-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(178, 205, 229, 0.28);
  border-radius: 999px;
  color: #b7c4d5;
  background: rgba(7, 10, 16, 0.46);
  font-size: 12px;
  font-weight: 650;
}

.hero-figure,
.method-figure,
.qualitative-figure {
  position: relative;
  margin-top: 52px;
  z-index: 1;
}

.hero-figure img,
.method-figure img,
.qualitative-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-figure {
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.hero-figure figcaption,
.method-figure figcaption,
.qualitative-figure figcaption {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

.hero-figure figcaption {
  color: #aab9ca;
}

.media-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(18, 21, 27, 0.66);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.media-expand:hover {
  background: rgba(18, 21, 27, 0.9);
}

.media-expand svg {
  width: 17px;
}

.metric-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  display: grid;
  min-height: 168px;
  align-content: center;
  justify-items: start;
  padding: 24px 30px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  border-left: 1px solid var(--line);
}

.metric strong {
  color: var(--violet);
  font-family: var(--font-serif);
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
}

.metric:nth-child(2) strong {
  color: var(--cyan);
}

.metric:nth-child(3) strong {
  color: var(--amber);
}

.metric span {
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.metric small {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
}

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

.section h2 {
  font-family: var(--font-serif);
  font-size: 43px;
  font-weight: 600;
  line-height: 1.15;
}

.reading-width h2 {
  margin-bottom: 30px;
}

.reading-width p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.reading-width .lead {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 15px auto 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.method-figure {
  margin-top: 0;
}

.method-figure img {
  box-shadow: none;
}

.method-points {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.method-points article {
  display: flex;
  grid-column: span 2;
  gap: 15px;
  padding: 26px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-points article:nth-child(1),
.method-points article:nth-child(4) {
  border-left: 1px solid var(--line);
}

.method-points article:nth-child(4) {
  grid-column: 2 / span 2;
}

.method-index {
  flex: 0 0 auto;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
}

.method-points h3,
.mode-comparison h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 650;
  line-height: 1.25;
}

.method-points p,
.mode-comparison article > p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.equation-row {
  display: flex;
  max-width: 790px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 58px auto 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

.equation-row > div {
  display: grid;
  gap: 4px;
  text-align: center;
}

.equation-row span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.equation-row strong {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 600;
}

.equation-row .equation-accent strong {
  color: var(--violet);
}

.equation-row > svg {
  flex: 0 0 auto;
  color: var(--line-strong);
}

.results-section {
  background: #101218;
  color: #f5f7fb;
}

.results-section .eyebrow {
  color: #87d8e8;
}

.results-section .section-heading > p:last-child,
.results-section figcaption {
  color: #aeb6c5;
}

.video-switcher {
  max-width: 1120px;
  margin-inline: auto;
}

.segmented-control {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 4px;
  margin: 0 auto 20px;
  padding: 4px;
  border: 1px solid #353a45;
  border-radius: 8px;
  background: #181b22;
}

.segmented-control button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 0;
  border-radius: 5px;
  color: #aeb6c5;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.segmented-control button[aria-selected="true"] {
  color: #111318;
  background: #f2f4f8;
}

.video-panel {
  overflow: hidden;
  border: 1px solid #323743;
  border-radius: 8px;
  background: #08090c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

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

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 13px 16px;
  border-top: 1px solid #2b303a;
  color: #aeb6c5;
  font-size: 12px;
}

.video-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.case-gallery {
  margin-top: 78px;
  padding-top: 72px;
  border-top: 1px solid #2d323c;
}

.case-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 32px;
}

.case-gallery-heading h3 {
  margin-bottom: 10px;
  color: #f5f7fb;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
}

.case-gallery-heading > div:first-child > p:last-child {
  max-width: 650px;
  color: #aeb6c5;
  font-size: 14px;
}

.case-gallery-stat {
  display: grid;
  flex: 0 0 auto;
  min-width: 130px;
  padding-left: 25px;
  border-left: 1px solid #3a414d;
}

.case-gallery-stat strong {
  color: #87d8e8;
  font-family: var(--font-serif);
  font-size: 37px;
  font-weight: 600;
  line-height: 1;
}

.case-gallery-stat span {
  margin-top: 6px;
  color: #aeb6c5;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-filter,
.auto-cycle-toggle {
  display: inline-flex;
  min-height: 35px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #353b46;
  border-radius: 5px;
  color: #aeb6c5;
  background: #181b22;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.case-filter:hover,
.auto-cycle-toggle:hover {
  border-color: #5b6574;
  color: #f5f7fb;
}

.case-filter.is-active {
  border-color: #87d8e8;
  color: #0e1a1e;
  background: #87d8e8;
}

.auto-cycle-toggle {
  flex: 0 0 auto;
}

.auto-cycle-toggle[aria-pressed="false"] {
  color: #aeb6c5;
  background: transparent;
}

.auto-cycle-toggle svg {
  width: 14px;
  height: 14px;
}

.case-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(290px, 0.58fr);
  gap: 18px;
  align-items: start;
}

.case-feature {
  overflow: hidden;
  border: 1px solid #39414d;
  border-radius: 8px;
  background: #080a0e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.case-feature-topline,
.case-dialog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #2b303a;
  color: #758092;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #87d8e8;
}

.live-indicator i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72d3c3;
  box-shadow: 0 0 0 4px rgba(114, 211, 195, 0.12);
  animation: pulse-live 1.8s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.05); }
}

.case-feature-video {
  position: relative;
  overflow: hidden;
  background: #050608;
}

.case-feature-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #050608;
}

.feature-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(135, 216, 232, 0.08) 48%, transparent 52%);
  background-size: 100% 220%;
  mix-blend-mode: screen;
  opacity: 0.38;
  animation: scanline 6s linear infinite;
}

@keyframes scanline {
  from { background-position: 0 -100%; }
  to { background-position: 0 100%; }
}

.feature-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: #f5f7fb;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.feature-play svg {
  width: 16px;
  height: 16px;
}

.case-feature-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.case-feature-caption h3 {
  margin: 4px 0;
  color: #f5f7fb;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.case-feature-caption > div > p:last-child {
  color: #aeb6c5;
  font-size: 13px;
}

.case-kicker {
  color: #87d8e8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-height: 590px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: #46505f transparent;
  scrollbar-width: thin;
}

.case-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border: 1px solid #303641;
  border-radius: 7px;
  background: #181b22;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.case-card:hover,
.case-card.is-active {
  border-color: #87d8e8;
  background: #20262e;
  transform: translateX(-2px);
}

.case-card.is-hidden {
  display: none;
}

.case-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #07090d;
  cursor: pointer;
}

.case-card-media video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.83;
  transition: opacity 180ms ease, transform 400ms ease;
}

.case-card:hover .case-card-media video,
.case-card.is-active .case-card-media video {
  opacity: 1;
  transform: scale(1.04);
}

.case-card-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  content: "";
  pointer-events: none;
}

.case-card-play {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 10, 14, 0.66);
}

.case-card-play svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.case-card-copy {
  min-width: 0;
  align-self: center;
}

.case-card-copy h4 {
  overflow: hidden;
  margin: 4px 0 3px;
  color: #f5f7fb;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-card-copy p:last-child {
  display: -webkit-box;
  overflow: hidden;
  color: #8f99aa;
  font-size: 11px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.case-card-copy .case-kicker {
  color: #758092;
}

.case-gallery-note {
  margin-top: 16px;
  color: #758092;
  font-size: 11px;
  text-align: right;
}

.qualitative-figure {
  margin-top: 72px;
}

.qualitative-figure img {
  border-color: #313641;
  box-shadow: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
}

table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

thead th {
  color: var(--ink-soft);
  background: var(--surface-subtle);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

thead th span {
  color: var(--violet);
}

th:first-child,
td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 172px;
  text-align: left;
}

thead th:first-child {
  z-index: 2;
}

tbody th {
  background: var(--canvas);
  font-size: 13px;
  font-weight: 700;
}

tbody td {
  color: var(--ink-soft);
  font-size: 14px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.ours-row th,
.ours-row td {
  color: var(--ink);
  background: var(--violet-soft);
}

.ours-row th span {
  display: inline-block;
  margin-right: 7px;
  color: var(--violet);
  font-family: var(--font-serif);
  font-size: 18px;
}

.benchmark-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
  border-block: 1px solid var(--line);
}

.benchmark-notes > div {
  padding: 27px 30px;
  border-right: 1px solid var(--line);
}

.benchmark-notes > div:first-child {
  border-left: 1px solid var(--line);
}

.benchmark-notes strong {
  display: block;
  color: var(--violet);
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
}

.benchmark-notes > div:nth-child(2) strong {
  color: var(--cyan);
}

.benchmark-notes > div:nth-child(3) strong {
  color: var(--amber);
}

.benchmark-notes span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 750;
}

.benchmark-notes p {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
}

.mode-comparison {
  display: grid;
  max-width: 920px;
  grid-template-columns: 1fr 70px 1fr;
  align-items: stretch;
  margin: 0 auto;
}

.mode-comparison article {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.mode-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 7px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.mode-icon-guided {
  color: var(--violet);
  background: var(--violet-soft);
}

.mode-icon svg {
  width: 21px;
  height: 21px;
}

.mode-kicker {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mode-comparison h3 {
  font-size: 27px;
}

.mode-divider {
  display: grid;
  place-items: center;
}

.mode-divider span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--canvas);
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
}

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

.citation-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: 70px;
}

.citation-copy h2 {
  margin-bottom: 18px;
}

.citation-copy > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
}

.code-block {
  position: relative;
  overflow: auto;
  border: 1px solid #2d323b;
  border-radius: 8px;
  color: #e8eaf0;
  background: #11141a;
}

.code-block pre {
  min-width: 560px;
  padding: 28px 68px 28px 28px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  border-color: #353b46;
  color: #e8eaf0;
  background: #1b1f27;
}

.copy-button:hover {
  border-color: #596273;
  background: #242933;
}

.site-footer {
  padding: 30px 0;
  color: var(--ink-soft);
  background: var(--canvas);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

.image-dialog {
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 94vh;
  padding: 44px 14px 14px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-dialog::backdrop {
  background: rgba(5, 7, 11, 0.84);
  backdrop-filter: blur(5px);
}

.image-dialog img {
  width: 100%;
  max-height: calc(94vh - 60px);
  object-fit: contain;
}

.case-dialog {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid #3d4654;
  border-radius: 8px;
  color: #f5f7fb;
  background: #0b0d12;
  box-shadow: 0 26px 100px rgba(0, 0, 0, 0.5);
}

.case-dialog::backdrop {
  background: rgba(4, 6, 10, 0.86);
  backdrop-filter: blur(8px);
}

.case-dialog-inner {
  padding: 46px 16px 16px;
}

.case-dialog-inner > video {
  width: 100%;
  max-height: 70vh;
  background: #050608;
  object-fit: contain;
}

.case-dialog-copy {
  padding: 22px 6px 6px;
}

.case-dialog-copy h2 {
  margin: 4px 0 6px;
  color: #f5f7fb;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
}

.case-dialog-copy > p:last-child {
  color: #aeb6c5;
  font-size: 14px;
}

.case-dialog .dialog-close {
  border-color: #3d4654;
  color: #f5f7fb;
  background: #181c24;
}

.dialog-close {
  position: fixed;
  top: calc(3vh + 10px);
  right: calc(2vw + 10px);
  z-index: 2;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--surface);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cyan) 58%, transparent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .shell,
  .shell-wide {
    width: min(100% - 36px, 1120px);
  }

  .nav {
    grid-template-columns: 1fr auto auto;
    gap: 8px;
  }

  .mobile-menu-button {
    display: inline-grid;
    grid-column: 2;
  }

  .theme-button {
    grid-column: 3;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 9px 10px;
    border-radius: 5px;
  }

  .nav-links a:hover {
    background: var(--surface-subtle);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-subtitle {
    font-size: 23px;
  }

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

  .metric:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .section {
    padding: 86px 0;
  }

  .section h2 {
    font-size: 38px;
  }

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

  .method-points article {
    grid-column: auto;
    border-left: 0;
  }

  .method-points article:nth-child(odd),
  .method-points article:nth-child(4) {
    grid-column: auto;
    border-left: 1px solid var(--line);
  }

  .benchmark-notes {
    grid-template-columns: 1fr;
  }

  .benchmark-notes > div,
  .benchmark-notes > div:first-child {
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .benchmark-notes > div + div {
    border-top: 1px solid var(--line);
  }

  .citation-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-stage {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-card-copy {
    padding: 2px 4px 5px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 58px;
  }

  .shell,
  .shell-wide {
    width: min(100% - 28px, 1120px);
  }

  .venue-chip {
    display: none;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 58px 0 56px;
  }

  .hero-frame {
    inset: 12px 10px;
  }

  .hero-frame span {
    width: 28px;
    height: 28px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    margin-top: 17px;
    font-size: 21px;
  }

  .hero-subtitle span {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.45;
  }

  .affiliation {
    margin-top: 8px;
    font-size: 11px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-tags {
    gap: 6px;
  }

  .hero-tags span {
    font-size: 11px;
  }

  .hero-figure {
    margin-top: 38px;
  }

  .hero-figure img {
    min-height: 0;
  }

  .metric {
    min-height: 145px;
    padding: 20px 17px;
  }

  .metric strong {
    font-size: 29px;
  }

  .metric small {
    font-size: 11px;
  }

  .section {
    padding: 68px 0;
  }

  .section h2 {
    font-size: 31px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .reading-width p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.75;
  }

  .reading-width .lead {
    font-size: 17px;
  }

  .method-figure {
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .method-figure img {
    width: 820px;
    max-width: none;
  }

  .method-points {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .method-points article,
  .method-points article:nth-child(odd),
  .method-points article:nth-child(4) {
    grid-column: auto;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .equation-row {
    gap: 9px;
    margin-top: 38px;
    padding: 20px 10px;
  }

  .equation-row span {
    font-size: 8px;
  }

  .equation-row strong {
    font-size: 18px;
  }

  .segmented-control {
    width: 100%;
  }

  .segmented-control button {
    width: 50%;
    padding-inline: 8px;
    font-size: 11px;
  }

  .video-meta {
    gap: 12px;
  }

  .case-gallery {
    margin-top: 58px;
    padding-top: 54px;
  }

  .case-gallery-heading {
    display: grid;
    gap: 22px;
  }

  .case-gallery-heading h3 {
    font-size: 29px;
  }

  .case-gallery-stat {
    width: fit-content;
    padding-left: 0;
    border-left: 0;
  }

  .gallery-toolbar {
    display: grid;
    align-items: stretch;
  }

  .case-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .case-filter {
    flex: 0 0 auto;
  }

  .auto-cycle-toggle {
    width: fit-content;
  }

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

  .case-card {
    gap: 7px;
    padding: 6px;
  }

  .case-card-copy h4 {
    font-size: 14px;
  }

  .case-card-copy p:last-child {
    display: none;
  }

  .case-feature-caption h3 {
    font-size: 21px;
  }

  .case-gallery-note {
    text-align: left;
  }

  .qualitative-figure {
    margin-top: 48px;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .qualitative-figure img {
    width: 900px;
    max-width: none;
  }

  .qualitative-figure figcaption {
    width: calc(100vw - 28px);
    text-align: left;
  }

  .mode-comparison {
    grid-template-columns: 1fr;
  }

  .mode-divider {
    height: 62px;
  }

  .mode-comparison article {
    padding: 26px;
  }

  .code-block pre {
    font-size: 11px;
  }

  .footer-inner {
    display: grid;
    gap: 4px;
  }

  .media-expand {
    top: 8px;
    right: 8px;
  }

  .case-dialog {
    width: calc(100% - 20px);
  }

  .case-dialog-inner {
    padding: 42px 10px 10px;
  }
}

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

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

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

  .hero-frame span,
  .hero-scan {
    animation: none;
  }
}
