:root {
  --accent: #3c56f4;
  --accent-soft: rgba(60, 86, 244, 0.18);
  --bg-soft: #f5f7fc;
  --line: #e4e8f1;
  --text: #191c25;
  --muted: #5f6678;
  --dark-bg: #06080f;
  --dark-panel: #101523;
  --dark-panel-alt: #0d111c;
  --dark-line: rgba(255, 255, 255, 0.13);
  --dark-text: #f4f7ff;
  --dark-muted: #a5b0c9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.5;
  background: var(--dark-bg);
}

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

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

.home-page {
  background: #101525;
}

/* ============ NAV ============ */

.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  padding: 0 clamp(24px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  column-gap: 24px;
  z-index: 20;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.72), rgba(5, 8, 15, 0.32) 72%, rgba(5, 8, 15, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(1.15);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.86;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ms-logo {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  flex: 0 0 18px;
}

.ms-logo span:nth-child(1) { background: #f25022; }
.ms-logo span:nth-child(2) { background: #7fba00; }
.ms-logo span:nth-child(3) { background: #00a4ef; }
.ms-logo span:nth-child(4) { background: #ffb900; }

.brand-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #ffffff;
  white-space: nowrap;
}

.hero-nav-links {
  display: flex;
  gap: clamp(16px, 1.8vw, 34px);
  font-size: 15px;
  font-weight: 600;
  justify-self: center;
  justify-content: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero-nav-links a {
  position: relative;
  opacity: 0.84;
  padding: 26px 0 22px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.hero-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-nav-links a.active {
  opacity: 1;
}

.hero-nav-links a.active::after,
.hero-nav-links a:hover::after {
  opacity: 0.95;
  transform: scaleX(1);
}

.hero-nav-links a:hover {
  opacity: 1;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 18px;
  font-size: 13px;
  font-weight: 600;
  justify-self: end;
  min-width: 100px;
}

.locale-switch a {
  opacity: 0.84;
}

.locale-switch a.active {
  opacity: 1;
}

.home-page .hero-nav.scrolled {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.86), rgba(5, 8, 15, 0.62));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #05070d;
}

.hero-video-layer {
  position: absolute;
  inset: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.68)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.74));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  padding: 110px 20px 70px;
  color: #ffffff;
}

.hero-eyebrow {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.hero-project {
  font-size: clamp(48px, 7.5vw, 112px);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 14px;
  font-weight: 800;
}

.hero-title {
  font-size: clamp(22px, 2.6vw, 40px);
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0 auto 18px;
  max-width: 880px;
  font-weight: 400;
}

.hero-affiliation {
  font-size: clamp(14px, 1.2vw, 17px);
  color: rgba(255, 255, 255, 0.82);
  margin: 0 auto 0;
  max-width: 720px;
  letter-spacing: 0.01em;
}

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

.action {
  min-width: 132px;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.action.primary {
  background: var(--accent);
  color: #ffffff;
}

.action.primary:hover {
  background: #2d44d6;
}

.action.ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(12, 14, 18, 0.26);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.action.ghost:hover {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.1);
}

.action:hover {
  transform: translateY(-1px);
}

.placeholder-action {
  cursor: default;
  opacity: 0.7;
  pointer-events: none;
}

.placeholder-action:hover {
  transform: none;
}

/* ============ RESULTS / TAXONOMY ============ */

.results-main {
  max-width: 1660px;
  margin: 0 auto;
  padding: 74px max(16px, 4.5vw) 26px;
  color: var(--dark-text);
}

.results-section {
  margin-bottom: 88px;
  scroll-margin-top: 96px;
}

.section-header {
  margin-bottom: 30px;
}

.eyebrow {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: #8ea5ff;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

.section-intro {
  margin-top: 12px;
  color: #aeb9d2;
  max-width: 820px;
  font-size: 15.5px;
  line-height: 1.6;
}

.taxonomy-sections {
  display: block;
}

.taxonomy-section-block {
  margin-bottom: 34px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(22, 29, 47, 0.96);
  padding: clamp(18px, 1.8vw, 24px);
}

.taxonomy-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.taxonomy-section-head h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 6px;
  color: #eef3ff;
  font-weight: 700;
}

.taxonomy-section-head .domain-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.taxonomy-section-head .domain-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(60, 86, 244, 0.18);
  color: #b9c6ff;
  border: 1px solid rgba(142, 165, 255, 0.36);
}

.taxonomy-section-head .domain-output {
  font-family: "Raleway", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b95af;
}

.taxonomy-section-head .domain-desc {
  color: #aeb9d2;
  font-size: 14.5px;
  max-width: 680px;
  text-align: right;
  line-height: 1.5;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 1080px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(7, 10, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.video-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.vc-media-static,
.featured-media-static {
  background: #10151f;
}

.vc-visual,
.featured-visual {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #10151f;
}

.video-card .vc-media {
  aspect-ratio: 16 / 9;
  background: #05080f;
  position: relative;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card .vc-caption {
  padding: 14px 16px 16px;
  color: #c5cde1;
  font-size: 13.5px;
  line-height: 1.45;
  min-height: 56px;
}

.video-card .vc-prompt {
  display: block;
  color: #8993ad;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 12.5px;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ============ CASE GALLERY ============ */

.case-sections {
  display: grid;
  gap: 24px;
}

.case-section-block {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(22, 29, 47, 0.9);
  padding: clamp(18px, 1.8vw, 24px);
}

.case-section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.case-section-head h3 {
  color: #eef3ff;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.18;
  font-weight: 700;
}

.case-desc {
  margin-top: 8px;
  max-width: 760px;
  color: #aeb9d2;
  font-size: 14.5px;
  line-height: 1.5;
}

.case-count {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(142, 165, 255, 0.34);
  background: rgba(60, 86, 244, 0.18);
  color: #b9c6ff;
  padding: 5px 11px;
  font-family: "Raleway", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-card .vc-caption {
  min-height: 68px;
}

@media (max-width: 1280px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-section-head {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ COMPARISON GRID ============ */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 980px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.compare-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(22, 29, 47, 0.96);
}

.compare-card .compare-media {
  position: relative;
  aspect-ratio: 32 / 9;
  background: #05080f;
}

.compare-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-card .compare-labels {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}

.compare-card .compare-labels span {
  align-self: start;
  justify-self: start;
  margin: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(5, 8, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f4f7ff;
  backdrop-filter: blur(6px);
}

.compare-card .compare-labels span.with-skills {
  justify-self: end;
  background: rgba(60, 86, 244, 0.62);
  border-color: rgba(255, 255, 255, 0.34);
}

.compare-card .compare-info {
  padding: 16px 18px 18px;
}

.compare-card .compare-info h4 {
  color: #eef3ff;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.compare-card .compare-info p {
  color: #aeb9d2;
  font-size: 13.5px;
  line-height: 1.5;
}

.compare-card .compare-info .compare-domain {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(60, 86, 244, 0.18);
  color: #b9c6ff;
  border: 1px solid rgba(142, 165, 255, 0.32);
}

/* ============ METHOD PIPELINE ============ */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 980px) {
  .pipeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pipeline {
    grid-template-columns: 1fr;
  }
}

.pipeline article {
  padding: 22px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(22, 29, 47, 0.85);
  min-height: 192px;
}

.pipeline span {
  display: block;
  margin-bottom: 22px;
  color: #8edfc9;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pipeline h3 {
  color: #eef3ff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pipeline p {
  color: #a5b0c9;
  font-size: 14px;
  line-height: 1.55;
}

/* ============ COMMAND BLOCK ============ */

.run-section .command-block {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.36);
  overflow: hidden;
}

.run-section .command-block pre {
  margin: 0;
  padding: 24px 28px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.run-section .command-block code {
  color: #d7e1ff;
  font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14.5px;
  line-height: 1.85;
}

/* ============ FOOTER ============ */

.footer {
  padding: 30px clamp(20px, 4vw, 48px);
  background: #06080f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  color: #8b95af;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* ============ TECH / VIDEO / TEAM PAGES ============ */

.tech-page {
  min-height: 100vh;
  background: #101525;
  color: var(--dark-text);
}

.tech-nav {
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.9), rgba(5, 8, 15, 0.72));
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
}

.tech-main {
  max-width: 1460px;
  margin: 0 auto;
  padding: 126px max(18px, 5vw) 42px;
}

.tech-hero-panel {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(60, 86, 244, 0.18), rgba(142, 223, 201, 0.08)),
    rgba(22, 29, 47, 0.94);
  padding: clamp(28px, 4vw, 58px);
  margin-bottom: 46px;
}

.tech-kicker,
.section-index,
.stat-key {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tech-kicker {
  color: #8edfc9;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tech-hero-panel h1 {
  max-width: 1040px;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 760;
}

.tech-publication {
  display: inline-flex;
  margin-top: 18px;
  border-radius: 999px;
  border: 1px solid rgba(142, 165, 255, 0.36);
  background: rgba(60, 86, 244, 0.18);
  color: #d4dcff;
  padding: 6px 12px;
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tech-lead,
.team-lead {
  max-width: 880px;
  margin-top: 22px;
  color: #c5cde1;
  font-size: 18px;
  line-height: 1.6;
}

.tech-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.tech-stat-card,
.panel {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(9, 13, 24, 0.64);
}

.tech-stat-card {
  padding: 18px;
  min-height: 146px;
}

.stat-key {
  color: #99a8d6;
  font-size: 10.5px;
  font-weight: 700;
}

.stat-value {
  margin-top: 10px;
  color: #f4f7ff;
  font-size: 38px;
  line-height: 1;
  font-weight: 760;
}

.stat-desc {
  margin-top: 10px;
  color: #aeb9d2;
  font-size: 13.5px;
  line-height: 1.45;
}

.tech-section {
  margin-bottom: 58px;
}

.tech-section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 18px;
}

.section-index {
  color: #8edfc9;
  font-size: 12px;
  font-weight: 700;
}

.tech-section-head h2 {
  color: #eef3ff;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.abstract-panel,
.text-panel,
.tech-card,
.group-card,
.team-card {
  padding: 22px;
}

.abstract-text,
.text-panel p,
.tech-card p,
.group-card p,
.team-meta {
  color: #aeb9d2;
  font-size: 15px;
  line-height: 1.62;
}

.media-panel {
  overflow: hidden;
  margin-bottom: 18px;
}

.media-panel img {
  display: block;
  width: 100%;
  background: #05080f;
}

.media-panel figcaption {
  padding: 14px 18px 16px;
  color: #aeb9d2;
  font-size: 13.5px;
  line-height: 1.55;
}

.tech-card-grid,
.protocol-grid,
.group-grid,
.team-grid {
  display: grid;
  gap: 14px;
}

.tech-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.protocol-grid,
.group-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-card h3,
.text-panel h3,
.group-card h3 {
  color: #eef3ff;
  font-size: 18px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.results-table-wrap {
  overflow-x: auto;
  padding: 0;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.results-table th,
.results-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-table th {
  color: #d7e1ff;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.results-table td {
  color: #b7c0d8;
  font-size: 14.5px;
}

.results-table tbody tr:last-child td {
  border-bottom: 0;
}

.promo-video-stage {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #05080f;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  margin-bottom: 58px;
}

.promo-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  background: #05080f;
}

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

.compact-video-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 13, 24, 0.76);
}

.compact-video-card video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05080f;
}

.compact-video-card h3 {
  color: #eef3ff;
  font-size: 18px;
  padding: 16px 16px 4px;
}

.compact-video-card p {
  color: #aeb9d2;
  font-size: 13.5px;
  line-height: 1.5;
  padding: 0 16px 18px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.group-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(142, 165, 255, 0.36);
  background: rgba(60, 86, 244, 0.18);
  color: #d4dcff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.group-link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(60, 86, 244, 0.3);
}

.team-name {
  color: #eef3ff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-main .group-card {
  min-height: 232px;
}

.tech-footer {
  margin-top: 24px;
}

/* ============ RESPONSIVE TWEAKS ============ */

@media (max-width: 860px) {
  .hero-nav {
    grid-template-columns: auto auto;
    height: 64px;
    padding: 0 18px;
  }
  .hero-nav-links {
    display: none;
  }
  .hero-content {
    padding: 100px 18px 64px;
  }
  .hero-project {
    font-size: clamp(40px, 11vw, 72px);
  }
  .taxonomy-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .taxonomy-section-head .domain-desc {
    text-align: left;
  }
  .results-main {
    padding: 56px 18px 24px;
  }
}

@media (max-width: 1160px) {
  .tech-stat-grid,
  .tech-card-grid,
  .protocol-grid,
  .compact-video-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tech-main {
    padding: 92px 18px 30px;
  }
  .tech-hero-panel {
    padding: 24px 18px;
  }
  .tech-hero-panel h1 {
    font-size: 34px;
  }
  .tech-lead,
  .team-lead {
    font-size: 16px;
  }
  .tech-stat-grid,
  .tech-card-grid,
  .protocol-grid,
  .compact-video-grid,
  .group-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .tech-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .tech-section-head h2 {
    font-size: 28px;
  }
}

/* ============ 2026-05 PROJECT-PAGE REDESIGN ============ */

:root {
  --accent: #2457e6;
  --accent-strong: #173fb5;
  --ink: #1c2533;
  --muted: #5f6978;
  --paper: #f6f5ef;
  --paper-alt: #eceff4;
  --surface: #ffffff;
  --surface-soft: #f9faf8;
  --line: #d7dce3;
  --rose: #ffe2de;
  --mint: #dff2e8;
  --sky: #dceafa;
  --violet: #eadffa;
  --shadow: 0 20px 60px rgba(30, 38, 50, 0.14);
}

body,
.home-page,
.tech-page {
  background: var(--paper);
  color: var(--ink);
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.hero-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 64px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(28, 37, 51, 0.1);
  box-shadow: none;
  backdrop-filter: blur(16px) saturate(1.1);
}

.home-page .hero-nav.scrolled,
.tech-nav,
.home-page .hero-nav,
.tech-page .hero-nav {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(28, 37, 51, 0.12);
  box-shadow: 0 10px 30px rgba(30, 38, 50, 0.08);
}

.brand {
  flex: 0 0 auto;
}

.brand-name,
.tech-nav .brand-name {
  color: var(--ink);
  font-size: 15px;
}

.hero-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-nav-links::-webkit-scrollbar {
  display: none;
}

.hero-nav-links a {
  color: var(--muted);
  opacity: 1;
  padding: 25px 0 22px;
}

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

.hero-nav-links a::after {
  bottom: 16px;
  background: var(--accent);
  height: 3px;
  border-radius: 4px;
}

.locale-switch {
  display: none;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 112px 28px 42px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(246, 245, 239, 0.86), rgba(236, 239, 244, 0.92)),
    linear-gradient(90deg, var(--rose), var(--sky) 48%, var(--mint));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  padding: 0;
  color: var(--ink);
}

.hero-eyebrow {
  margin-bottom: 14px;
  color: #8d312a;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-project {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 74px;
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero-title {
  max-width: 860px;
  margin: 0 auto 14px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.18;
}

.hero-affiliation {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0;
}

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

.action {
  min-width: 0;
  border-radius: 8px;
  border: 1px solid rgba(28, 37, 51, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 22px rgba(30, 38, 50, 0.08);
}

.action.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.action.primary:hover {
  background: var(--accent-strong);
}

.action.ghost {
  border-color: rgba(28, 37, 51, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  backdrop-filter: none;
}

.action:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 87, 230, 0.48);
}

.hero-teaser,
.method-figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(28, 37, 51, 0.18);
  border-radius: 8px;
  background: #f8f6ef;
  box-shadow: var(--shadow);
}

.hero-teaser {
  width: min(1040px, 90vw);
  margin-top: 28px;
}

.method-figure {
  width: 100%;
  margin: -6px 0 22px;
}

.hero-teaser img,
.method-figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #edf1f5;
}

.hero-teaser figcaption,
.method-figure figcaption {
  padding: 11px 16px 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.results-main {
  max-width: 1220px;
  margin: 0 auto;
  padding: 52px 24px 34px;
  color: var(--ink);
}

.overview-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 78px;
  scroll-margin-top: 96px;
}

.overview-strip article,
.featured-card,
.taxonomy-section-block,
.video-card,
.compare-card,
.case-section-block,
.pipeline article,
.run-section .command-block,
.tech-stat-card,
.panel,
.compact-video-card,
.promo-video-stage {
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(30, 38, 50, 0.08);
}

.overview-strip article {
  padding: 18px;
}

.overview-strip span,
.eyebrow,
.featured-domain,
.compare-domain,
.domain-chip,
.case-count,
.tech-kicker,
.section-index,
.stat-key {
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.overview-strip span {
  display: block;
  color: #8d312a;
  font-size: 11px;
  font-weight: 700;
}

.overview-strip strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.overview-strip p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.results-section {
  margin-bottom: 82px;
  scroll-margin-top: 96px;
}

.section-header {
  max-width: 860px;
  margin-bottom: 26px;
}

.section-header.compact-header {
  max-width: 760px;
}

.eyebrow {
  color: #8d312a;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.12;
  font-weight: 780;
  letter-spacing: 0;
}

.compact-header h2 {
  font-size: 32px;
}

.section-intro {
  max-width: 820px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.featured-card {
  grid-column: span 2;
  overflow: hidden;
}

.featured-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.featured-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.featured-media {
  aspect-ratio: 16 / 9;
  background: #10151f;
}

.featured-media video,
.video-card video,
.compare-card video,
.compact-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  padding: 14px 15px 16px;
}

.featured-domain {
  display: inline-flex;
  margin-bottom: 8px;
  color: #2457e6;
  font-size: 10px;
  font-weight: 700;
}

.featured-copy h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.22;
  margin-bottom: 6px;
}

.featured-copy p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.audio-player {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.audio-player span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.audio-player audio {
  width: 100%;
  height: 36px;
}

.taxonomy-sections,
.case-sections {
  display: grid;
  gap: 20px;
}

.taxonomy-section-block,
.case-section-block {
  margin-bottom: 0;
  padding: 20px;
}

.taxonomy-section-head,
.case-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.taxonomy-section-head h3,
.case-section-head h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
  font-weight: 760;
  letter-spacing: 0;
}

.taxonomy-section-head .domain-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}

.taxonomy-section-head .domain-chip,
.compare-card .compare-info .compare-domain,
.case-count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(36, 87, 230, 0.2);
  border-radius: 8px;
  background: var(--sky);
  color: var(--accent-strong);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
}

.taxonomy-section-head .domain-output {
  color: var(--muted);
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.taxonomy-section-head .domain-desc,
.case-desc {
  max-width: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.video-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.video-card {
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.video-card:hover {
  border-color: rgba(36, 87, 230, 0.24);
  box-shadow: 0 18px 42px rgba(30, 38, 50, 0.12);
  transform: translateY(-2px);
}

.video-card .vc-media {
  aspect-ratio: 16 / 9;
  background: #10151f;
}

.video-card .vc-caption {
  min-height: 0;
  padding: 13px 14px 15px;
  color: var(--ink);
  font-size: 14px;
}

.video-card .vc-prompt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.audio-card {
  background: #fbfcff;
}

.audio-card .vc-media {
  background: #10151f;
}

.audio-card .audio-player {
  padding: 0 14px 15px;
  margin-top: -4px;
}

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

.compare-card {
  overflow: hidden;
}

.compare-card .compare-media {
  position: relative;
  aspect-ratio: 32 / 9;
  background: #10151f;
}

.compare-card video {
  object-fit: contain;
}

.compare-card .compare-visual {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #10151f;
}

.compare-card .compare-media-static {
  background: #10151f;
}

.compare-card .compare-media-tall {
  aspect-ratio: 1 / 1.35;
  max-height: 760px;
}

.compare-card .compare-labels span {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(28, 37, 51, 0.78);
  color: #ffffff;
  font-size: 10px;
}

.compare-card .compare-labels span.with-skills {
  background: rgba(36, 87, 230, 0.84);
}

.compare-card .compare-info {
  padding: 15px 16px 17px;
}

.compare-card .compare-info h4 {
  color: var(--ink);
  font-size: 18px;
}

.compare-card .compare-info p {
  color: var(--muted);
  font-size: 14px;
}

.compare-audio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.case-section-head {
  align-items: start;
}

.case-count {
  justify-self: end;
  background: var(--mint);
  color: #176748;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pipeline article {
  min-height: 0;
  padding: 20px;
}

.pipeline span {
  margin-bottom: 18px;
  color: #8d312a;
}

.pipeline h3 {
  color: var(--ink);
}

.pipeline p {
  color: var(--muted);
}

.run-section .command-block {
  overflow: hidden;
  background: #172033;
}

.run-section .command-block code {
  color: #f5f7ff;
}

.footer,
.tech-footer {
  margin-top: 0;
  padding: 28px 48px;
  background: #ffffff;
  border-top: 1px solid rgba(28, 37, 51, 0.1);
}

.footer p {
  color: var(--muted);
}

.tech-main {
  max-width: 1180px;
  padding: 116px 24px 44px;
}

.tech-hero-panel {
  border-radius: 8px;
  border-color: rgba(28, 37, 51, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 226, 222, 0.7), rgba(220, 234, 250, 0.78) 52%, rgba(223, 242, 232, 0.72)),
    #ffffff;
  box-shadow: var(--shadow);
}

.tech-kicker,
.section-index,
.stat-key {
  color: #8d312a;
  font-size: 11px;
  font-weight: 700;
}

.tech-hero-panel h1,
.tech-section-head h2 {
  color: var(--ink);
  letter-spacing: 0;
}

.tech-hero-panel h1 {
  font-size: 46px;
}

.tech-lead,
.team-lead,
.abstract-text,
.text-panel p,
.tech-card p,
.group-card p,
.team-meta,
.media-panel figcaption,
.results-table td,
.stat-desc {
  color: var(--muted);
}

.tech-publication,
.group-link {
  border-radius: 8px;
  border-color: rgba(36, 87, 230, 0.2);
  background: var(--sky);
  color: var(--accent-strong);
}

.stat-value,
.tech-card h3,
.text-panel h3,
.group-card h3,
.team-name {
  color: var(--ink);
}

.media-panel,
.results-table-wrap {
  overflow: hidden;
}

.media-panel img {
  background: #edf1f5;
}

.results-table th,
.results-table td {
  border-bottom-color: rgba(28, 37, 51, 0.1);
}

.results-table th {
  color: var(--ink);
}

.promo-video-stage {
  background: #10151f;
  box-shadow: var(--shadow);
}

.compact-video-card {
  overflow: hidden;
  background: #ffffff;
}

.compact-video-card h3 {
  color: var(--ink);
}

.compact-video-card p {
  color: var(--muted);
}

@media (max-width: 1180px) {
  .hero-nav {
    padding: 0 28px;
  }

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

  .featured-card,
  .featured-card:nth-child(4),
  .featured-card:nth-child(5) {
    grid-column: auto;
  }

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

@media (max-width: 860px) {
  .hero-nav {
    height: 62px;
    min-height: 62px;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 0 18px;
  }

  .hero-nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 92px 18px 22px;
  }

  .hero-project {
    font-size: 48px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-affiliation {
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .action {
    flex: 1 1 calc(50% - 8px);
  }

  .hero-teaser {
    width: 100%;
    margin-top: 22px;
  }

  .hero-teaser img {
    height: auto;
  }

  .overview-strip,
  .featured-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .taxonomy-section-head,
  .case-section-head {
    grid-template-columns: 1fr;
  }

  .taxonomy-section-head .domain-desc,
  .case-desc {
    text-align: left;
  }

  .case-count {
    justify-self: start;
  }

  .section-header h2,
  .tech-hero-panel h1 {
    font-size: 34px;
  }

  .compact-header h2,
  .tech-section-head h2 {
    font-size: 28px;
  }

  .tech-main {
    padding-top: 92px;
  }
}

@media (max-width: 560px) {
  .hero-project {
    font-size: 42px;
  }

  .hero-title {
    font-size: 21px;
  }

  .hero-actions {
    gap: 10px;
  }

  .action {
    flex-basis: 100%;
  }

  .hero-teaser figcaption {
    display: none;
  }

  .hero-teaser img {
    height: auto;
  }

  .results-main,
  .tech-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-header h2 {
    font-size: 30px;
  }

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

  .footer,
  .tech-footer {
    padding: 24px 16px;
  }
}

/* ============ 2026-06 PAPER SECTIONS: STATS + BENCHMARK TABLE ============ */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-row article {
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(30, 38, 50, 0.08);
  padding: 18px;
}

.stat-row span {
  display: block;
  font-family: "Raleway", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d312a;
  font-size: 11px;
  font-weight: 700;
}

.stat-row strong {
  display: block;
  margin-top: 8px;
  color: var(--accent-strong);
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.stat-row strong small {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}

.stat-row p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

.benchmark-wrap {
  overflow-x: auto;
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(30, 38, 50, 0.08);
}

.benchmark-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.benchmark-table th,
.benchmark-table td {
  padding: 9px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(28, 37, 51, 0.1);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.benchmark-table thead th {
  color: var(--ink);
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-alt);
}

.benchmark-table th.col-left {
  text-align: left;
}

.benchmark-table th.col-avg,
.benchmark-table td.col-avg {
  background: var(--surface-soft);
  font-weight: 700;
  color: var(--ink);
}

.benchmark-table td.col-model {
  text-align: left;
  vertical-align: middle;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--surface-soft);
}

.benchmark-table td.col-sys {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
}

.benchmark-table tr.row-skills td {
  color: var(--ink);
  font-weight: 700;
}

.benchmark-table tr.row-skills td.col-sys {
  color: var(--accent-strong);
}

.benchmark-table tr.row-delta td {
  color: #176748;
  font-size: 12.5px;
  font-weight: 700;
}

.benchmark-table tbody.bb-group:not(:first-child) td {
  border-top: 2px solid rgba(28, 37, 51, 0.16);
}

.benchmark-caption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .stat-row {
    grid-template-columns: 1fr;
  }
}

/* ============ HERO AUTHOR BLOCK + AFFILIATION LOGOS (2026-06) ============ */

.hero-authors {
  max-width: 900px;
  margin: 20px auto 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-authors sup {
  color: var(--accent-strong);
  font-size: 0.62em;
  font-weight: 700;
  padding-left: 1px;
}

.hero-affil-notes {
  margin: 8px auto 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.hero-affil-notes sup {
  color: var(--accent-strong);
  font-weight: 700;
}

.hero-orgs {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  margin: 20px auto 2px;
}

.hero-orgs .org {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 16px;
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 6px 18px rgba(30, 38, 50, 0.06);
}

.hero-orgs .org-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 46px;
}

.hero-orgs .ms-logo {
  width: 36px;
  height: 36px;
  gap: 3px;
  flex: 0 0 36px;
}

.hero-orgs .org-img {
  width: auto;
  height: 46px;
  max-width: 58px;
  display: block;
  object-fit: contain;
}

.hero-orgs .org-name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0;
}

.hero-orgs .org-name sup {
  color: var(--accent-strong);
  font-size: 0.72em;
  font-weight: 700;
}

@media (max-width: 860px) {
  .hero-authors {
    font-size: 16px;
  }
  .hero-orgs .org-name {
    font-size: 13px;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hero-orgs {
    gap: 8px;
  }
  .hero-orgs .org {
    width: 100%;
    justify-content: center;
  }
}

/* ============ HERO RESOURCE LINK BUTTONS WITH LOGOS (2026-06) ============ */

.hero-actions .action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

/* ============ EMBEDDED PROJECT VIDEO (2026-06) ============ */

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 8 / 5;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(28, 37, 51, 0.12);
  box-shadow: var(--shadow);
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Transparent overlay over the autoplaying preview — click mounts the full cut. */
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.22));
  display: block;
}
.video-facade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-facade-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}
.video-facade:hover .video-facade-play {
  background: rgba(0, 0, 0, 0.72);
  transform: translate(-50%, -50%) scale(1.06);
}
.video-embed.is-playing .video-facade {
  display: none;
}

/* Local 15s preview loop + the full cut mounted on click. */
.video-preview,
.video-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  background: #000;
}
.video-full {
  object-fit: contain;
}
.video-facade-label {
  position: absolute;
  left: 50%;
  top: calc(50% + 54px);
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}
.video-yt-link {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.video-yt-link:hover {
  background: rgba(0, 0, 0, 0.68);
}
.video-embed.is-playing .video-yt-link {
  display: none;
}

/* ============ 2026-06 PRODUCT AD LANDING PAGE ============ */

.product-hero {
  min-height: auto;
  padding: 116px max(18px, 4vw) 56px;
  gap: 28px;
  background: var(--paper);
}

.product-hero .hero-content {
  max-width: 1120px;
}

.product-hero .hero-eyebrow {
  color: #8d312a;
  margin-bottom: 12px;
}

.product-hero .hero-project {
  max-width: 1060px;
  margin: 0 auto 16px;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.94;
  font-weight: 840;
}

.product-hero .hero-title {
  max-width: 950px;
  margin-bottom: 0;
  color: #253044;
  font-size: clamp(22px, 2.8vw, 39px);
  font-weight: 620;
  line-height: 1.14;
}

.hero-credit {
  max-width: 980px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.5;
  font-weight: 600;
}

.product-hero .hero-actions {
  margin-top: 24px;
}

.hero-reel-shell {
  width: min(1460px, 100%);
  border: 1px solid rgba(28, 37, 51, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(30, 38, 50, 0.16);
  overflow: hidden;
}

.hero-reel-topline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(28, 37, 51, 0.12);
  background: #f8faf7;
}

.hero-reel-topline span {
  padding: 12px 16px;
  color: #6b7280;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-reel-topline .is-with {
  color: var(--accent-strong);
  border-left: 1px solid rgba(28, 37, 51, 0.12);
}

.hero-reel {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111827;
}

.hero-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111827;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-reel-video.active {
  opacity: 1;
}

.hero-reel-caption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.product-main {
  max-width: 1540px;
  padding-top: 64px;
}

.showcase-section {
  margin-bottom: 72px;
}

.showcase-header {
  max-width: 1040px;
}

.showcase-header h2 {
  font-size: clamp(38px, 5vw, 78px);
  line-height: 1;
}

.showcase-header .section-intro {
  max-width: 950px;
  font-size: clamp(16px, 1.35vw, 20px);
}

.cmp-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.cmp-colhead {
  display: none;
}

.cmp-row {
  display: block;
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(30, 38, 50, 0.07);
  padding: 11px 11px 12px;
}

.cmp-row-audio {
  /* same card size as every other domain (was full-width) */
}

.cmp-cells.has-source {
  grid-template-columns: 1fr 1fr 0.82fr;
}

.cmp-source {
  background: #0d1320;
  border-color: rgba(36, 87, 230, 0.32);
}

.cmp-source-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 3px;
}

/* Fill the box no matter how many sources a case actually has. */
.cmp-source-grid.n1 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
.cmp-source-grid.n2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.cmp-source-grid.n3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.cmp-source-grid.n3 .cmp-source-thumb:first-child {
  grid-column: 1 / -1;
}
.cmp-source-grid.n4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.cmp-source-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #1c2433;
  min-height: 0;
}

.cmp-source-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: saturate(0.92) brightness(0.86);
}

.cmp-source-thumb:hover img {
  transform: scale(1.06);
  filter: saturate(1) brightness(1);
}

.cmp-source-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.cmp-rowhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  padding: 0 2px;
  min-width: 0;
}

.cmp-rowhead .compare-domain {
  flex: 0 0 auto;
  display: inline-flex;
  border: 1px solid rgba(36, 87, 230, 0.22);
  border-radius: 6px;
  background: var(--sky);
  color: var(--accent-strong);
  padding: 3px 7px;
  font-family: "Raleway", sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cmp-rowhead h4 {
  min-width: 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cmp-rowhead p {
  display: none;
}

.cmp-cells {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.cmp-cell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 7px;
  background: #111827;
}

.cmp-cell.is-with {
  border-color: rgba(36, 87, 230, 0.4);
}

.cmp-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #111827;
  display: block;
}

.cmp-cell figcaption {
  position: absolute;
  top: 6px;
  left: 6px;
  border: none;
  border-radius: 5px;
  background: rgba(13, 18, 28, 0.82);
  color: #fff;
  padding: 2px 6px;
  font-family: "Raleway", sans-serif;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.cmp-cell.is-with figcaption {
  background: rgba(36, 87, 230, 0.9);
}

.cmp-audio-cell {
  background: #ffffff;
}

.cmp-audio-visual {
  background: #111827;
}

.cmp-audio-cell .audio-player {
  margin: 0;
  padding: 8px 10px 4px;
}

.cmp-audio-cell .audio-player span {
  display: none;
}

.cmp-audio-cell .audio-player audio {
  width: 100%;
  height: 30px;
}

/* hero demo video (replaces the old crossfade reel) */
.hero-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #111827;
}

.hero-demo {
  margin: 0;
}

/* card hover lift (LSM-style micro-interaction) */
.cmp-row {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cmp-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(30, 38, 50, 0.14);
  border-color: rgba(36, 87, 230, 0.28);
}

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

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

.numbers-band {
  width: 100vw;
  margin: 18px 0 74px calc(50% - 50vw);
  padding: clamp(34px, 5vw, 68px) max(20px, calc((100vw - 1540px) / 2 + 24px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  background: #172033;
  color: #ffffff;
}

.numbers-band article {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 18px;
}

.numbers-band span {
  display: block;
  color: #a7f3d0;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.numbers-band strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.9;
  font-weight: 850;
  letter-spacing: 0;
}

.numbers-band p {
  margin-top: 12px;
  color: #cbd5e1;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.35;
}

.how-section {
  max-width: 1160px;
  margin: 0 auto 78px;
  padding: 0;
  text-align: center;
}

.how-section p {
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: 1.2;
  font-weight: 740;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--accent);
}

.video-section {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.tech-pipeline {
  margin-top: 18px;
}

.tech-section .text-panel {
  margin-bottom: 18px;
}

.tech-benchmark-wrap {
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .product-hero {
    padding-top: 96px;
  }

  .cmp-colhead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cmp-colhead .cmp-spacer {
    display: none;
  }

  .cmp-row {
    grid-template-columns: 1fr;
  }

  .cmp-rowhead {
    position: static;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .product-hero {
    padding: 86px 16px 34px;
  }

  .hero-reel-topline span,
  .cmp-colhead span:not(.cmp-spacer) {
    font-size: 10px;
    padding: 9px 10px;
  }

  .cmp-cells,
  .numbers-band {
    grid-template-columns: 1fr;
  }

  .numbers-band {
    margin-bottom: 58px;
  }

  .how-section {
    text-align: left;
  }
}

/* === Minimal black hero (background video removed) === */
.product-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000000;
  padding: clamp(96px, 13vh, 150px) max(18px, 4vw) clamp(56px, 8vh, 84px);
  gap: 0;
}

.hero-reel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero .hero-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05070d;
  opacity: 0;
  filter: saturate(1.06) contrast(1.02) brightness(0.96);
  transition: opacity 1200ms ease;
}

.product-hero .hero-reel-video.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 7, 13, 0.34), transparent 26%),
    radial-gradient(ellipse at 50% 44%, rgba(4, 7, 13, 0.12), rgba(4, 7, 13, 0.44) 60%, rgba(4, 7, 13, 0.72)),
    linear-gradient(180deg, rgba(4, 7, 13, 0.05), rgba(4, 7, 13, 0.58));
}

.product-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  color: #ffffff;
}

.product-hero .hero-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.product-hero .hero-project {
  color: #ffffff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.38);
}

.product-hero .hero-title {
  color: rgba(255, 255, 255, 0.93);
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.34);
}

.product-hero .hero-credit {
  color: rgba(255, 255, 255, 0.74);
}

.product-hero .action.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 248, 235, 0.10);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.product-hero .action.ghost:hover {
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.18);
}

.product-hero .action.ghost .action-logo {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Showcase: two cards per row (一排两组); collapse to one on narrow screens */
@media (max-width: 760px) {
  .cmp-list {
    grid-template-columns: 1fr;
  }
}

/* === Method + Results sections (LSM-style figure + HTML bar chart) === */
.paper-section {
  width: 100%;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 84px) 0;
}

.paper-intro {
  max-width: 880px;
  margin: 0 auto 30px;
  text-align: center;
}

.paper-intro h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.08;
  color: var(--ink);
  font-weight: 820;
  margin: 8px 0 14px;
  letter-spacing: -0.01em;
}

.paper-intro p {
  color: var(--muted);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
}

.paper-intro p strong {
  color: var(--ink);
  font-weight: 800;
}

.paper-figure {
  margin: 0;
  border: 1px solid rgba(28, 37, 51, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 50px rgba(30, 38, 50, 0.10);
}

.paper-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.bench-chart {
  max-width: none;
  margin: 4px auto 0;
}

.bench-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 26px;
}

.bench-legend .k {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.bench-legend .k-wo { background: #c7d0df; }
.bench-legend .k-w { background: var(--accent); margin-left: 14px; }

.bench-plot {
  display: flex;
  align-items: stretch;
  gap: clamp(7px, 1.6vw, 22px);
  height: 308px;
}

.bench-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.bench-group.is-avg {
  background: rgba(36, 87, 230, 0.06);
  border-radius: 8px;
}

.bench-pair {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  width: 100%;
  border-bottom: 2px solid rgba(28, 37, 51, 0.16);
}

.bar {
  width: clamp(14px, 2vw, 30px);
  border-radius: 5px 5px 0 0;
  position: relative;
  min-height: 4px;
}

.bar-wo { background: #c7d0df; }
.bar-w { background: linear-gradient(180deg, var(--accent), var(--accent-strong)); }

.bar span {
  position: absolute;
  top: -17px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.bench-label {
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.bench-delta {
  font-size: 11px;
  font-weight: 800;
  color: #1f9d55;
  margin-top: 1px;
}

/* === Hero author block (standard academic layout, white on black hero) === */
.product-hero .hero-authors {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.7;
  max-width: 1000px;
  margin: 26px auto 0;
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.product-hero .hero-authors sup {
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 700;
}

.product-hero .hero-affil {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 1vw, 14.5px);
  margin: 12px auto 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.product-hero .hero-affil sup { font-weight: 800; }

.product-hero .hero-corr {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  margin: 8px auto 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.product-hero .hero-corr sup { font-weight: 800; }
.product-hero .hero-corr a { color: rgba(255, 255, 255, 0.86); text-decoration: underline; }

.hero-orgs .org-name {
  color: #1c2533;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

/* === Hero 2x2 video grid background — 4 cases per domain, cycles domains === */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: #000;
}

.hg-tile {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  background: #05070d;
  display: block;
  filter: brightness(1.12) saturate(1.06);
  transition: opacity 0.6s ease;
}

.product-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(2, 4, 8, 0.32), rgba(2, 4, 8, 0.52) 58%, rgba(2, 4, 8, 0.72)),
    linear-gradient(180deg, rgba(2, 4, 8, 0.38), rgba(2, 4, 8, 0.6));
}
