:root {
  --ink: #17242b;
  --muted: #657078;
  --paper: #f6f3ed;
  --paper-deep: #ece7de;
  --card: rgba(255, 255, 255, 0.82);
  --teal: #0d786f;
  --teal-dark: #07534f;
  --coral: #e96d52;
  --line: rgba(23, 36, 43, 0.14);
  --shadow: 0 24px 80px rgba(30, 45, 51, 0.11);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 13px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(233, 109, 82, 0.09), transparent 26rem),
    radial-gradient(circle at 94% 18%, rgba(13, 120, 111, 0.1), transparent 30rem),
    var(--paper);
  font-family: "Outfit", sans-serif;
  line-height: 1.55;
}

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

button,
input,
audio,
video {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(23, 36, 43, 0.08);
  background: rgba(246, 243, 237, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--teal);
}

.section-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 110px 0 70px;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-glow-one {
  top: 80px;
  left: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(233, 109, 82, 0.22), transparent 68%);
}

.hero-glow-two {
  top: 190px;
  right: -30px;
  width: 370px;
  height: 370px;
  background: radial-gradient(circle, rgba(13, 120, 111, 0.2), transparent 68%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.1rem, 7.5vw, 7.6rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-summary {
  max-width: 700px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.author-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
  color: #8b918f;
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.author-placeholder i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
}

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

.action-button {
  min-width: 108px;
  padding: 10px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 700;
}

.is-disabled {
  color: #929895;
  cursor: not-allowed;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.15fr;
  align-items: center;
  width: min(1040px, 94%);
  min-height: 250px;
  margin: 60px auto 0;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.signal {
  position: absolute;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 36, 43, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.signal-text { left: 4%; top: 30px; transform: rotate(-5deg); }
.signal-image { left: 13%; bottom: 26px; transform: rotate(5deg); }
.signal-audio { left: 25%; top: 76px; color: white; background: var(--coral); transform: rotate(-2deg); }

.signal-flow {
  grid-column: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.signal-flow span {
  width: 24px;
  height: 3px;
  border-radius: 99px;
  background: var(--teal);
  opacity: 0.35;
}

.model-core {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  margin: auto;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, var(--teal), var(--teal-dark));
  box-shadow: 0 20px 60px rgba(13, 120, 111, 0.3);
}

.model-core span { font-size: 0.72rem; opacity: 0.72; text-transform: uppercase; letter-spacing: 0.12em; }
.model-core strong { max-width: 120px; margin-top: 5px; font-family: "Outfit", sans-serif; font-size: 1.15rem; line-height: 1.15; }

.output-frame {
  position: relative;
  grid-column: 3;
  width: 90%;
  height: 190px;
  justify-self: end;
  overflow: hidden;
  border-radius: 23px;
  background: linear-gradient(140deg, #c7d5cf 0%, #5f867e 47%, #173b3a 100%);
  box-shadow: 0 18px 45px rgba(23, 36, 43, 0.2);
}

.output-person {
  position: absolute;
  right: 19%;
  bottom: -26px;
  width: 110px;
  height: 170px;
  border-radius: 54px 54px 20px 20px;
  background: linear-gradient(#e7bd9a 0 34%, #1d3439 35% 100%);
}

.output-wave {
  position: absolute;
  right: 18px;
  bottom: 17px;
  width: 110px;
  height: 22px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.9) 0 2px, transparent 2px 8px);
  clip-path: polygon(0 50%, 8% 30%, 15% 65%, 22% 12%, 30% 88%, 38% 25%, 46% 70%, 55% 8%, 64% 91%, 73% 28%, 82% 68%, 91% 35%, 100% 50%);
}

.abstract-section {
  padding: 105px 0 70px;
}

.abstract-section h2,
.demo-section h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.abstract-copy {
  max-width: 1060px;
  margin: 30px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  line-height: 1.45;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.contribution-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
}

.contribution-grid article span { color: var(--coral); font-size: 0.75rem; font-weight: 800; }
.contribution-grid h3 { margin: 45px 0 8px; font-size: 1.08rem; }
.contribution-grid p { margin: 0; color: var(--muted); font-size: 0.91rem; }

.task-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 90px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.task-index a {
  min-height: 190px;
  padding: 30px;
  background: #fff;
  transition: color 200ms ease, background 200ms ease;
}

.task-index a:hover { color: white; background: var(--teal); }
.task-index span { display: block; margin-bottom: 32px; color: var(--coral); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.task-index strong { display: block; font-family: "Outfit", sans-serif; font-size: 1.25rem; line-height: 1.25; }
.task-index small { display: block; margin-top: 11px; color: var(--muted); }
.task-index a:hover small { color: rgba(255,255,255,.7); }

.demo-section {
  padding: 130px 0 30px;
  scroll-margin-top: 70px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 span { color: var(--coral); }
.section-heading > p { margin: 0 0 4px; color: var(--muted); font-size: 1rem; }

.section-tinted {
  position: relative;
}

.section-tinted::before {
  position: absolute;
  z-index: -1;
  top: 80px;
  right: -8vw;
  bottom: -50px;
  left: -8vw;
  border-radius: 54px;
  background: rgba(231, 238, 233, 0.75);
  content: "";
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.category-tab {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  transition: 180ms ease;
}

.category-tab:hover,
.category-tab.is-active {
  border-color: var(--teal);
  color: white;
  background: var(--teal);
}

.expanded-subtasks {
  display: grid;
  gap: clamp(70px, 9vw, 128px);
}

.subtask-section {
  position: relative;
  min-width: 0;
  scroll-margin-top: 100px;
}

.subtask-section + .subtask-section {
  padding-top: clamp(58px, 7vw, 92px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.subtask-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.subtask-heading span {
  color: #89aacc;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.subtask-heading h3 {
  margin: 5px 0 0;
  color: #edf0f2;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.subtask-heading > p {
  margin: 0 0 4px;
  color: #737a82;
  font-size: 0.72rem;
}

.subtask-gallery-heading {
  margin-top: 32px;
}

@media (max-width: 620px) {
  .expanded-subtasks { gap: 70px; }
  .subtask-heading { display: block; }
  .subtask-heading > p { margin-top: 10px; }
  .subtask-section + .subtask-section { padding-top: 58px; }
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(23, 36, 43, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.case-inputs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.case-number {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.case-inputs h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.case-description {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.input-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(246, 243, 237, 0.72);
}

.input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.prompt-text {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  white-space: pre-line;
}

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

.input-image,
.placeholder-visual {
  display: grid;
  min-height: 140px;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  color: #8b918f;
  background:
    linear-gradient(135deg, rgba(13,120,111,.08), rgba(233,109,82,.08)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,.55) 16px 17px);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input-image img,
.featured-video video,
.media-card video,
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audio-shell audio { width: 100%; height: 38px; }

.featured-video {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #15262a;
}

.featured-video .placeholder-visual {
  width: 100%;
  height: 100%;
  min-height: 500px;
  color: rgba(255,255,255,.62);
  background:
    radial-gradient(circle at 68% 34%, rgba(233,109,82,.28), transparent 28%),
    radial-gradient(circle at 38% 68%, rgba(13,120,111,.42), transparent 35%),
    #15262a;
}

.video-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: rgba(8, 19, 22, 0.66);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 62px 0 20px;
}

.gallery-heading h3 { margin: 0; font-family: "Outfit", sans-serif; font-size: 2rem; font-weight: 500; }
.gallery-heading p { margin: 0; color: var(--muted); font-size: 0.88rem; }

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

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

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.6);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.media-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(23,36,43,.1); }
.media-card-visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #d9ddd8; }
.media-grid-wide .media-card-visual { aspect-ratio: 16 / 9; }
.media-card-body { padding: 16px 17px 18px; }
.media-card-body strong { display: block; font-family: "Outfit", sans-serif; font-size: 1.05rem; font-weight: 500; }
.media-card-body p { display: -webkit-box; margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 0.8rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.duration-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.duration-strip div { position: relative; padding: 19px; border-right: 1px solid var(--line); background: rgba(255,255,255,.42); }
.duration-strip div:last-child { border-right: 0; }
.duration-strip div::before { position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--coral)); content: ""; }
.duration-strip span { display: block; color: var(--coral); font-size: 0.68rem; font-weight: 800; }
.duration-strip strong { display: block; margin-top: 3px; font-size: 0.83rem; }

footer {
  display: flex;
  justify-content: space-between;
  width: min(1240px, calc(100% - 40px));
  margin: 52px auto 0;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

footer p { margin: 0; color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { min-height: auto; padding-top: 80px; }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .signal { display: none; }
  .model-core { grid-column: 1; }
  .signal-flow { display: none; }
  .output-frame { grid-column: 2; width: 100%; }
  .contribution-grid,
  .task-index,
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-index a:last-child { grid-column: 1 / -1; }
  .section-heading,
  .featured-case { grid-template-columns: 1fr; }
  .featured-video,
  .featured-video .placeholder-visual { min-height: 420px; }
}

@media (max-width: 620px) {
  .section-shell { width: min(100% - 24px, 1240px); }
  .site-header { min-height: 62px; padding: 0 14px; }
  .brand { font-size: 0.8rem; }
  .hero { padding-top: 65px; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.6rem); }
  .hero-visual { display: block; min-height: 260px; padding: 20px; }
  .model-core { width: 145px; height: 145px; }
  .output-frame { width: 100%; height: 170px; margin-top: -30px; opacity: .88; }
  .contribution-grid,
  .task-index,
  .media-grid,
  .duration-strip { grid-template-columns: 1fr; }
  .task-index a:last-child { grid-column: auto; }
  .section-heading { gap: 20px; }
  .section-heading h2 { font-size: 2.65rem; }
  .category-tabs { overflow-x: auto; padding-bottom: 6px; }
  .category-tab { flex: 0 0 auto; }
  .featured-case { padding: 10px; }
  .featured-video,
  .featured-video .placeholder-visual { min-height: 260px; }
  .gallery-heading { display: block; }
  .gallery-heading p { margin-top: 5px; }
  .duration-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { display: block; width: calc(100% - 24px); }
  footer span { display: block; margin-top: 6px; }
}

/* -------------------------------------------------------------------------- */
/* Dark editorial redesign                                                    */
/* -------------------------------------------------------------------------- */

:root {
  --ink: #f5f6f7;
  --muted: #8b9097;
  --paper: #090909;
  --paper-deep: #0d0e10;
  --card: rgba(20, 21, 23, 0.82);
  --teal: #89aacc;
  --teal-dark: #4e85bf;
  --coral: #b7cce2;
  --line: rgba(255, 255, 255, 0.1);
  --surface: #121315;
  --surface-high: #181a1d;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 4%, rgba(78, 133, 191, 0.11), transparent 28rem),
    radial-gradient(circle at 92% 22%, rgba(137, 170, 204, 0.08), transparent 34rem),
    #090909;
  font-family: "Outfit", sans-serif;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  opacity: 0.32;
  content: "";
}

body::after {
  position: fixed;
  z-index: 10000;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
  mix-blend-mode: soft-light;
  content: "";
}

.starfield {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.site-header,
.loading-screen {
  isolation: isolate;
}

.loading-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f5f6f7;
  background: #090909;
  transition: opacity 650ms cubic-bezier(0.65, 0, 0.35, 1), visibility 650ms;
}

.loading-screen::before {
  position: absolute;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 133, 191, 0.15), transparent 67%);
  filter: blur(10px);
  animation: loading-pulse 1.8s ease-in-out infinite alternate;
  content: "";
}

.loading-screen.is-complete {
  visibility: hidden;
  opacity: 0;
}

.loading-label {
  position: absolute;
  top: 28px;
  left: 32px;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.loading-word {
  position: relative;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  opacity: 0.82;
  animation: loading-word 1.25s ease both;
}

.loading-count {
  position: absolute;
  right: 28px;
  bottom: 26px;
  font-family: "Outfit", sans-serif;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 0.8;
}

.loading-track {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.loading-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #89aacc, #4e85bf);
  box-shadow: 0 0 12px rgba(137, 170, 204, 0.5);
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes loading-pulse {
  from { transform: scale(0.82); opacity: 0.5; }
  to { transform: scale(1.08); opacity: 1; }
}

@keyframes loading-word {
  from { opacity: 0; filter: blur(12px); transform: translateY(18px); }
  to { opacity: 0.82; filter: blur(0); transform: translateY(0); }
}

.site-header {
  position: fixed;
  top: 18px;
  right: 50%;
  left: auto;
  z-index: 50;
  width: auto;
  min-height: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.76);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
  transform: translateX(50%);
}

.brand {
  gap: 8px;
  padding-right: 13px;
  color: #e7e8ea;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  color: #f5f6f7;
  background: #090909;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-style: italic;
}

.brand-mark::before {
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #89aacc, #4e85bf);
  content: "";
}

.site-nav {
  align-items: center;
  gap: 2px;
  padding-left: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #f5f6f7;
  background: rgba(255, 255, 255, 0.075);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 135px 0 70px;
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: min(1100px, 94vw);
  height: min(700px, 78vh);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(78, 133, 191, 0.09), transparent 64%);
  transform: translate(-50%, -46%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(transparent, #090909);
  content: "";
}

.hero-glow-one {
  top: 15%;
  left: 4%;
  background: radial-gradient(circle, rgba(78, 133, 191, 0.2), transparent 68%);
}

.hero-glow-two {
  top: 28%;
  right: 1%;
  background: radial-gradient(circle, rgba(137, 170, 204, 0.13), transparent 68%);
}

.eyebrow,
.section-kicker {
  color: #89aacc;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
}

.hero h1,
.abstract-section h2,
.demo-section h2,
.abstract-copy,
.case-inputs h3,
.gallery-heading h3,
.media-card-body strong {
  font-family: "Outfit", sans-serif;
}

.hero h1 {
  max-width: 1100px;
  font-size: clamp(3.9rem, 8.5vw, 8.8rem);
  font-style: italic;
  letter-spacing: -0.055em;
  line-height: 0.84;
  text-wrap: balance;
  text-shadow: 0 10px 60px rgba(0, 0, 0, 0.55);
  animation: hero-title-in 1.25s 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-title-in {
  from { opacity: 0; filter: blur(12px); transform: translateY(45px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}

.hero-summary {
  color: #969ca3;
  font-weight: 300;
}

.author-placeholder {
  color: #696e74;
}

.author-placeholder i {
  background: #89aacc;
  box-shadow: 0 0 12px rgba(137, 170, 204, 0.6);
}

.action-button {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.12);
  color: #8b9097;
  background: rgba(16, 17, 19, 0.72);
  backdrop-filter: blur(12px);
}

.hero-visual {
  width: min(980px, 92%);
  min-height: 230px;
  margin-top: 54px;
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(16, 17, 19, 0.58);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.6), inset 0 1px rgba(255, 255, 255, 0.04);
}

.signal {
  border-color: rgba(255, 255, 255, 0.1);
  color: #d9dce0;
  background: #151619;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

.signal-audio {
  color: #091118;
  background: linear-gradient(135deg, #a8c4df, #5c91c8);
}

.signal-flow span {
  background: linear-gradient(90deg, #89aacc, #4e85bf);
  box-shadow: 0 0 14px rgba(137, 170, 204, 0.4);
  opacity: 0.78;
  animation: signal-flow 1.6s ease-in-out infinite alternate;
}

.signal-flow span:nth-child(2) { animation-delay: 160ms; }
.signal-flow span:nth-child(3) { animation-delay: 320ms; }

@keyframes signal-flow {
  from { opacity: 0.18; transform: scaleX(0.6); }
  to { opacity: 0.9; transform: scaleX(1); }
}

.model-core {
  color: white;
  background:
    radial-gradient(circle at 33% 25%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(145deg, #24394f, #0e1722);
  box-shadow: 0 0 0 1px rgba(137, 170, 204, 0.32), 0 0 70px rgba(78, 133, 191, 0.24);
}

.model-core span { color: #b4c9de; }

.output-frame {
  background: linear-gradient(140deg, #253444 0%, #17222d 52%, #080d11 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.output-frame > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #080a0c;
}

.hero-video-label {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(5, 7, 9, 0.58);
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
}

.hero-sound-toggle {
  position: absolute;
  right: 11px;
  bottom: 11px;
  z-index: 3;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: #e7eaed;
  background: rgba(5, 7, 9, 0.68);
  font: inherit;
  font-size: 0.54rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.hero-sound-toggle:hover {
  border-color: rgba(137, 170, 204, 0.58);
  background: rgba(16, 26, 36, 0.82);
  transform: translateY(-1px);
}

.hero-sound-toggle i {
  position: relative;
  width: 11px;
  height: 9px;
  border-radius: 2px 0 0 2px;
  background: #a9bfd4;
}

.hero-sound-toggle i::before {
  position: absolute;
  top: -3px;
  right: -5px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #a9bfd4;
  content: "";
}

.hero-sound-toggle i::after {
  position: absolute;
  top: -4px;
  right: -10px;
  width: 1px;
  height: 17px;
  background: #d18080;
  transform: rotate(-42deg);
  content: "";
}

.hero-sound-toggle.is-audible i::after {
  display: none;
}

.abstract-section {
  position: relative;
  padding-top: 145px;
}

.abstract-section::before {
  position: absolute;
  top: 86px;
  left: 0;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #89aacc, #4e85bf);
  content: "";
}

.abstract-section h2,
.demo-section h2 {
  font-style: italic;
  font-weight: 400;
}

.abstract-copy {
  color: #d2d5d8;
  font-weight: 400;
}

.contribution-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.085);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  transition: border-color 260ms ease, transform 260ms ease, background 260ms ease;
}

.contribution-grid article::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 133, 191, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 260ms ease;
  content: "";
}

.contribution-grid article:hover {
  border-color: rgba(137, 170, 204, 0.34);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
}

.contribution-grid article:hover::after { opacity: 1; }
.contribution-grid article > span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #89aacc;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}
.contribution-grid h3 { color: #f1f2f3; }
.contribution-grid p { color: #7f858c; }

.task-index {
  gap: 1px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.task-index a {
  position: relative;
  overflow: hidden;
  background: #111214;
  transition: color 250ms ease, background 250ms ease;
}

.task-index a::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #89aacc, #4e85bf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
  content: "";
}

.task-index a:hover {
  color: white;
  background: #17191c;
}

.task-index a:hover::before { transform: scaleX(1); }
.task-index span { color: #89aacc; }
.task-index small { color: #71767d; }
.task-index a:hover small { color: #9ca2a9; }

.section-heading > p,
.gallery-heading p,
.case-description,
.media-card-body p {
  color: #838990;
}

.section-heading h2 span {
  color: #89aacc;
  font-style: normal;
}

.section-tinted::before {
  border: 1px solid rgba(255, 255, 255, 0.045);
  background:
    radial-gradient(circle at 80% 15%, rgba(78, 133, 191, 0.08), transparent 28rem),
    #0d0e10;
}

.category-tab {
  border-color: rgba(255, 255, 255, 0.1);
  color: #7e848b;
  background: #111214;
}

.category-tab:hover,
.category-tab.is-active {
  border-color: rgba(137, 170, 204, 0.58);
  color: #0a0b0d;
  background: linear-gradient(90deg, #a4bed8, #6e9dce);
  box-shadow: 0 8px 30px rgba(78, 133, 191, 0.18);
}

.featured-case {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(17, 18, 20, 0.72);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.025);
}

.case-number,
.input-label {
  color: #89aacc;
}

.case-inputs h3 {
  color: #f1f2f3;
  font-style: italic;
}

.input-panel {
  border-color: rgba(255, 255, 255, 0.085);
  background: rgba(255, 255, 255, 0.025);
}

.prompt-text { color: #d5d8db; }

.input-image,
.placeholder-visual {
  color: #686e75;
  background:
    linear-gradient(135deg, rgba(78, 133, 191, 0.08), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255, 255, 255, 0.025) 18px 19px),
    #0d0e10;
}

.featured-video {
  background: #08090a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.featured-video .placeholder-visual {
  color: rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 67% 31%, rgba(137, 170, 204, 0.17), transparent 26%),
    radial-gradient(circle at 35% 73%, rgba(78, 133, 191, 0.15), transparent 34%),
    linear-gradient(145deg, #11161b, #070809);
}

.featured-video .placeholder-visual::before,
.media-card-visual .placeholder-visual::before {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border: 1px solid rgba(137, 170, 204, 0.48);
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(137,170,204,.18), rgba(78,133,191,.28));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.video-badge {
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dce4ed;
  background: rgba(8, 10, 12, 0.7);
}

.gallery-heading h3 {
  color: #eef0f2;
  font-style: italic;
}

.media-card {
  border-color: rgba(255, 255, 255, 0.085);
  background: #111214;
}

.media-card:hover {
  border-color: rgba(137, 170, 204, 0.3);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

.media-card-visual { background: #0b0c0e; }
.media-card-body strong { color: #e8eaec; font-style: italic; }

.duration-strip {
  border-color: rgba(255, 255, 255, 0.09);
}

.duration-strip div {
  border-color: rgba(255, 255, 255, 0.08);
  background: #111214;
}

.duration-strip div::before {
  background: linear-gradient(90deg, #89aacc, #4e85bf);
}

.duration-strip span { color: #89aacc; }
.duration-strip strong { color: #d8dadd; }

footer {
  border-color: rgba(255, 255, 255, 0.09);
  color: #686e74;
}

footer p { color: #c9ccd0; }

.reveal-on-scroll {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(35px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 800ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.contribution-grid article:nth-child(2) { transition-delay: 90ms; }
.contribution-grid article:nth-child(3) { transition-delay: 180ms; }
.contribution-grid article:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    justify-content: space-between;
  }

  .site-nav {
    display: flex;
    max-width: 64vw;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; padding-inline: 10px; }
  .hero { padding-top: 120px; }
}

@media (max-width: 620px) {
  .loading-label { top: 20px; left: 20px; }
  .loading-count { right: 18px; bottom: 20px; }
  .site-header { padding: 5px; }
  .brand { padding-right: 8px; }
  .brand > span:last-child { display: none; }
  .site-nav { max-width: calc(100vw - 80px); }
  .site-nav a { padding: 7px 9px; font-size: 0.65rem; }
  .hero h1 { font-size: clamp(3.3rem, 17vw, 5rem); }
  .hero-visual { min-height: 240px; }
}

/* Detailed results keep their native aspect ratio instead of being cropped. */
.featured-case {
  align-items: start;
}

.featured-video {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.featured-video > video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 780px);
  object-fit: contain;
}

.input-image {
  position: relative;
}

.input-media-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  color: #e7eaed;
  background: rgba(6, 8, 10, 0.76);
  font-size: 0.64rem;
  line-height: 1.25;
  backdrop-filter: blur(12px);
}

.audio-list {
  display: grid;
  gap: 10px;
}

.audio-item {
  display: grid;
  gap: 5px;
}

.audio-item > span {
  color: #aeb4ba;
  font-size: 0.68rem;
}

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

#reference-gallery .media-card-body {
  min-height: 54px;
}

/* Long-form videos retain their full native frame in both orientations. */
#long-featured .featured-video,
#long-gallery .media-card-visual {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  aspect-ratio: auto;
  background: #08090a;
}

#long-featured .featured-video > video,
#long-gallery .media-card-visual > video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 780px);
  object-fit: contain;
}

/* -------------------------------------------------------------------------- */
/* Method diagrams                                                             */
/* -------------------------------------------------------------------------- */

.method-section {
  padding: 120px 0 30px;
}

.method-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}

.method-heading h2 {
  max-width: 780px;
  margin: 0;
  color: #f3f4f5;
  font-family: "Outfit", sans-serif;
  font-size: clamp(3.1rem, 6.2vw, 6.8rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

.method-heading > p {
  margin: 0 0 8px;
  color: #8f959c;
  font-size: 0.94rem;
  font-weight: 300;
}

.method-figure {
  position: relative;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(78, 133, 191, 0.12), transparent 27rem),
    linear-gradient(145deg, rgba(20, 22, 25, 0.96), rgba(10, 11, 13, 0.96));
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.03);
}

.method-figure::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  content: "";
}

.method-figure-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.method-figure-header span {
  color: #89aacc;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.method-figure-header h3 {
  margin: 7px 0 0;
  color: #eef0f2;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
}

.method-figure-header > p {
  max-width: 390px;
  margin: 0;
  color: #737a82;
  font-size: 0.76rem;
  text-align: right;
}

.unified-architecture {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(170px, 0.92fr) 42px minmax(215px, 1.14fr) 42px minmax(235px, 1.2fr) 42px minmax(175px, 0.86fr);
  gap: 8px;
  align-items: stretch;
  margin-top: 28px;
}

.method-stage {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.method-stage::after {
  position: absolute;
  top: 0;
  right: 18px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(137, 170, 204, 0.55), transparent);
  content: "";
}

.method-stage-index {
  color: #555d65;
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-style: italic;
}

.method-stage h4 {
  margin: 4px 0 3px;
  color: #e9ebed;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.method-stage > p {
  min-height: 34px;
  margin: 0 0 15px;
  color: #6f767e;
  font-size: 0.64rem;
  line-height: 1.42;
}

.condition-stack {
  display: grid;
  gap: 7px;
}

.condition-chip {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 10px;
  background: #0c0e10;
}

.condition-chip > i {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #091016;
  background: #89aacc;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 800;
}

.condition-chip:nth-child(2) > i { background: #8db7ad; }
.condition-chip:nth-child(3) > i { background: #c2a9cf; }
.condition-chip:nth-child(4) > i { background: #d0ae82; }
.condition-chip:nth-child(5) > i { background: #b6c9dd; }
.condition-chip span { min-width: 0; }
.condition-chip strong,
.condition-chip small { display: block; }
.condition-chip strong { color: #cfd3d7; font-size: 0.66rem; }
.condition-chip small { overflow: hidden; color: #666e75; font-size: 0.54rem; text-overflow: ellipsis; white-space: nowrap; }

.method-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #89aacc;
}

.method-arrow span {
  width: 13px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #6e9dce);
}

.method-arrow b {
  font-size: 1.12rem;
  font-weight: 400;
}

.role-router {
  display: grid;
  gap: 8px;
}

.role-global,
.role-lane {
  position: relative;
  padding: 9px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: #0c0e10;
}

.role-global {
  display: flex;
  justify-content: space-between;
  color: #91979d;
  font-size: 0.58rem;
}

.role-global b { color: #89aacc; font-weight: 600; }

.role-lane {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 7px;
  align-items: center;
}

.role-lane::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: #89aacc;
  content: "";
}

.role-two::before { background: #c2a9cf; }
.role-more::before { background: #d0ae82; }
.role-lane > span { color: #d2d5d8; font-size: 0.62rem; font-weight: 700; }
.role-lane > div { display: flex; flex-wrap: wrap; gap: 3px; }
.role-lane i { padding: 2px 5px; border-radius: 99px; color: #7f878e; background: #171a1d; font-size: 0.48rem; font-style: normal; }
.role-lane > b { color: #777f87; font-size: 0.5rem; }

.binding-note {
  margin-top: 10px;
  color: #727a82;
  font-size: 0.55rem;
}

.binding-note i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: #76b59f;
  box-shadow: 0 0 8px rgba(118, 181, 159, 0.7);
}

.tokenizer-row,
.latent-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.tokenizer-row span,
.latent-row span {
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 8px;
  color: #8a9198;
  background: #0c0e10;
  font-size: 0.55rem;
  text-align: center;
}

.tokenizer-row i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 2px;
  background: #89aacc;
}

.tokenizer-row span:last-child i { background: #d0ae82; }
.model-stack { display: grid; gap: 5px; margin: 8px 0; }
.model-layer { padding: 8px; border-radius: 8px; color: #aeb4ba; background: linear-gradient(90deg, rgba(78,133,191,.17), rgba(255,255,255,.025)); font-size: 0.56rem; text-align: center; }
.layer-attention { margin-inline: 4px; }
.layer-temporal { margin-inline: 8px; }
.layer-share { margin-inline: 12px; color: #d5d9dc; background: linear-gradient(90deg, rgba(137,170,204,.28), rgba(78,133,191,.15)); }
.latent-row span:first-child { border-color: rgba(137, 170, 204, 0.24); }
.latent-row span:last-child { border-color: rgba(208, 174, 130, 0.24); }

.output-preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: #080a0c;
}

.output-preview-frame {
  position: relative;
  height: 126px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, #8395a2 0 12px, transparent 13px),
    radial-gradient(ellipse at 50% 93%, #394650 0 35px, transparent 36px),
    linear-gradient(145deg, rgba(78, 133, 191, 0.28), transparent 55%),
    #13171a;
}

.output-preview-frame::before,
.output-preview-frame::after {
  position: absolute;
  width: 46px;
  height: 70px;
  bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #29333b;
  content: "";
}

.output-preview-frame::before { left: 12%; opacity: 0.55; }
.output-preview-frame::after { right: 10%; opacity: 0.35; }
.output-preview-frame i { position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #79b89f; box-shadow: 0 0 10px rgba(121,184,159,.8); }
.output-preview-wave { display: flex; height: 38px; gap: 4px; align-items: center; justify-content: center; border-top: 1px solid rgba(255,255,255,.06); }
.output-preview-wave i { width: 3px; border-radius: 3px; background: #89aacc; }
.output-preview-wave i:nth-child(1), .output-preview-wave i:nth-child(7) { height: 7px; }
.output-preview-wave i:nth-child(2), .output-preview-wave i:nth-child(6) { height: 14px; }
.output-preview-wave i:nth-child(3), .output-preview-wave i:nth-child(5) { height: 21px; }
.output-preview-wave i:nth-child(4) { height: 29px; }
.output-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: 8px; }
.output-metrics span { padding: 5px; border-radius: 6px; color: #6f777e; background: rgba(255,255,255,.03); font-size: 0.49rem; text-align: center; }

.task-family-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.task-family-strip span {
  padding: 9px 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  color: #8b9299;
  background: rgba(255, 255, 255, 0.022);
  font-size: 0.54rem;
  text-align: center;
}

.task-family-strip b { margin-right: 4px; color: #89aacc; font-weight: 600; }
.long-method-figure { margin-top: 32px; }
.long-process-diagram { position: relative; z-index: 1; margin-top: 28px; }
.process-lane { padding: 21px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.022); }
.process-lane > header { display: flex; gap: 12px; align-items: center; margin-bottom: 19px; }
.lane-badge { padding: 6px 9px; border: 1px solid rgba(137,170,204,.3); border-radius: 99px; color: #9ab7d4; background: rgba(78,133,191,.1); font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.process-lane header strong, .process-lane header small { display: block; }
.process-lane header strong { color: #dadddf; font-size: .78rem; }
.process-lane header small { color: #646c74; font-size: .56rem; }
.process-flow { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr 28px 1fr; gap: 4px; align-items: stretch; }
.process-node { position: relative; min-height: 150px; padding: 14px 10px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: #0c0e10; text-align: center; }
.process-node strong, .process-node small { display: block; }
.process-node strong { margin-top: 10px; color: #cbd0d4; font-size: .62rem; }
.process-node small { margin-top: 3px; color: #606970; font-size: .5rem; line-height: 1.35; }
.node-number { position: absolute; top: 8px; left: 9px; color: #59616a; font-family: "Outfit", sans-serif; font-size: .72rem; font-style: italic; }
.node-accent { border-color: rgba(137,170,204,.22); background: linear-gradient(145deg, rgba(78,133,191,.12), #0c0e10 60%); }
.node-result { border-color: rgba(118,181,159,.2); }
.process-connector { display: flex; align-items: center; justify-content: center; color: #6888a7; }
.process-connector i { width: 7px; height: 1px; background: #456887; }
.process-connector b { font-size: .8rem; font-weight: 400; }
.av-source-icon { position: relative; width: 62px; height: 55px; margin: 16px auto 0; border: 1px solid rgba(137,170,204,.22); border-radius: 8px; background: linear-gradient(145deg,#263845,#101418); }
.av-source-icon i { position: absolute; right: 9px; bottom: 8px; left: 9px; height: 13px; border-radius: 8px 8px 2px 2px; background: #455c6c; }
.av-source-icon b { position: absolute; top: 8px; left: 10px; width: 12px; height: 12px; border-radius: 50%; background: #9eb3c2; }
.window-icon { display: flex; width: 75px; height: 52px; gap: 3px; align-items: end; margin: 18px auto 0; padding: 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.window-icon i { flex: 1; height: 100%; border-radius: 3px; background: #26323a; }
.window-icon i:first-child { height: 55%; background: #597fa2; }
.window-icon i:nth-child(2) { background: #405869; }
.noise-formula { display: flex; min-height: 52px; gap: 4px; align-items: center; justify-content: center; margin: 18px auto 0; color: #9bb8d4; font-family: "Outfit", sans-serif; font-size: .77rem; }
.noise-formula b { color: #616b75; font-weight: 400; }
.skip-anchor-icon { display: flex; width: 78px; height: 52px; gap: 3px; align-items: stretch; margin: 18px auto 0; }
.skip-anchor-icon i, .skip-anchor-icon span { flex: 1; display: grid; place-items: center; border-radius: 4px; background: #28333b; }
.skip-anchor-icon i { position: relative; color: #707981; background: repeating-linear-gradient(135deg,#2a2d31 0 4px,#16181b 4px 8px); font-size: .46rem; font-style: normal; }
.skip-anchor-icon i::after { position: absolute; width: 120%; height: 1px; background: #b27474; transform: rotate(-45deg); content: ""; }
.skip-anchor-icon span:nth-child(2) { background: #496d8d; }
.denoise-icon { display: flex; width: 68px; height: 52px; gap: 6px; align-items: center; justify-content: center; margin: 18px auto 0; }
.denoise-icon i { width: 12px; height: 12px; border: 1px solid #709477; transform: rotate(45deg); }
.denoise-icon i:nth-child(2) { width: 20px; height: 20px; border-color: #89aacc; box-shadow: 0 0 14px rgba(137,170,204,.2); }
.train-infer-bridge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 13px 0; }
.train-infer-bridge > span { height: 1px; background: linear-gradient(90deg, transparent, rgba(137,170,204,.32)); }
.train-infer-bridge > span:last-child { background: linear-gradient(90deg, rgba(137,170,204,.32), transparent); }
.train-infer-bridge div { padding: 7px 13px; border: 1px solid rgba(137,170,204,.18); border-radius: 99px; background: #0d1013; text-align: center; }
.train-infer-bridge b, .train-infer-bridge small { display: block; }
.train-infer-bridge b { color: #a9bfd4; font-size: .57rem; }
.train-infer-bridge small { color: #59636c; font-size: .45rem; }
.inference-lane .lane-badge { border-color: rgba(118,181,159,.28); color: #8dbca9; background: rgba(118,181,159,.08); }
.inference-inputs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.inference-inputs span { display: flex; gap: 6px; align-items: center; padding: 6px 9px; border: 1px solid rgba(255,255,255,.07); border-radius: 99px; color: #858d95; background: #0d0f11; font-size: .54rem; }
.inference-inputs i { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: #091016; background: #89aacc; font-size: .45rem; font-style: normal; font-weight: 800; }
.chunk-timeline { padding: 14px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: #0a0c0e; }
.timeline-ruler { display: flex; justify-content: space-between; margin-bottom: 8px; color: #505860; font-family: monospace; font-size: .47rem; }
.chunk-row { display: grid; grid-template-columns: 1.1fr .32fr 1.1fr .32fr 1.1fr .3fr 1.1fr; gap: 4px; min-height: 72px; }
.chunk { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(137,170,204,.18); border-radius: 9px; color: #a9b7c4; background: linear-gradient(145deg, rgba(78,133,191,.15), rgba(255,255,255,.025)); }
.chunk b { font-size: .59rem; }
.chunk small { color: #65717b; font-size: .47rem; }
.chunk-first { border-color: rgba(118,181,159,.25); background: linear-gradient(145deg,rgba(118,181,159,.14),rgba(255,255,255,.02)); }
.chunk-last { border-color: rgba(194,169,207,.24); }
.chunk-overlap { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 7px; background: repeating-linear-gradient(135deg,rgba(137,170,204,.12) 0 4px,rgba(137,170,204,.025) 4px 8px); }
.chunk-overlap span { position: absolute; width: 90px; color: #6e8192; font-size: .42rem; text-align: center; transform: rotate(-90deg); }
.chunk-ellipsis { display: grid; place-items: center; color: #56606a; font-size: 1rem; }
.inference-finish { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 12px; }
.inference-finish > span { padding: 6px 8px; border-radius: 8px; color: #747d85; background: rgba(255,255,255,.03); font-size: .5rem; }
.inference-finish > span i { display: inline-block; width: 4px; height: 4px; margin-right: 4px; border-radius: 50%; background: #89aacc; }
.inference-finish > strong { margin-left: auto; color: #b7c9d9; font-family: "Outfit", sans-serif; font-size: .8rem; font-style: italic; font-weight: 400; }
.inference-finish > strong b { color: #89aacc; font-weight: 400; }

@media (max-width: 1100px) {
  .unified-architecture { grid-template-columns: 1fr; }
  .method-arrow { height: 30px; flex-direction: column; }
  .method-arrow span { width: 1px; height: 9px; background: linear-gradient(transparent, #6e9dce); }
  .method-arrow b { transform: rotate(90deg); }
  .method-stage > p { min-height: 0; }
  .condition-stack { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .condition-chip { display: grid; justify-items: center; text-align: center; }
  .role-router { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .role-global { grid-column: 1 / -1; }
  .role-lane { grid-template-columns: 1fr; text-align: center; }
  .role-lane > div { justify-content: center; }
  .model-stack { grid-template-columns: repeat(4, 1fr); }
  .model-layer { margin-inline: 0; display: grid; place-items: center; }
  .output-preview-frame { height: 210px; }
}

@media (max-width: 900px) {
  .method-heading { grid-template-columns: 1fr; gap: 24px; }
  .method-figure-header { display: block; }
  .method-figure-header > p { margin-top: 12px; text-align: left; }
  .process-flow { grid-template-columns: 1fr; }
  .process-node { min-height: 132px; }
  .process-connector { height: 20px; transform: rotate(90deg); }
  .chunk-row { overflow-x: auto; grid-template-columns: 150px 45px 150px 45px 150px 40px 150px; padding-bottom: 6px; }
}

@media (max-width: 620px) {
  .method-section { padding-top: 85px; }
  .method-figure { padding: 15px; border-radius: 20px; }
  .condition-stack { grid-template-columns: 1fr 1fr; }
  .condition-chip:last-child { grid-column: 1 / -1; }
  .role-router { grid-template-columns: 1fr; }
  .role-global { grid-column: auto; }
  .model-stack { grid-template-columns: 1fr 1fr; }
  .task-family-strip { grid-template-columns: 1fr 1fr; }
  .output-preview-frame { height: 150px; }
  .process-lane { padding: 14px; }
  .inference-finish > strong { width: 100%; margin: 6px 0 0; }
}

.speech-hover-target {
  cursor: help;
  outline: none;
}

.speech-hover-target:focus-visible {
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(137, 170, 204, 0.5);
}

.variant-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 11px;
}

.variant-button {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: #858c93;
  background: #0d0f11;
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  transition: 160ms ease;
}

.variant-button:hover {
  border-color: rgba(137, 170, 204, 0.42);
  color: #dce5ee;
}

.variant-button.is-active {
  border-color: rgba(137, 170, 204, 0.62);
  color: #081018;
  background: linear-gradient(90deg, #a4bed8, #6e9dce);
  box-shadow: 0 7px 24px rgba(78, 133, 191, 0.2);
}

.speech-tooltip {
  position: fixed;
  z-index: 9999;
  width: min(520px, calc(100vw - 24px));
  max-height: min(55vh, 420px);
  padding: 14px 16px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(137, 170, 204, 0.38);
  border-radius: 12px;
  opacity: 0;
  color: #eef1f4;
  background: rgba(8, 10, 12, 0.96);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  pointer-events: none;
  white-space: pre-line;
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  transform: translateY(5px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.speech-tooltip.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Gallery frames follow each video's native ratio and never crop the image. */
.media-grid {
  align-items: start;
}

.media-card-visual,
.media-grid-wide .media-card-visual {
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08090a;
}

.media-card-visual > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #08090a;
}

/* Grouped Task 01 galleries. */
.gallery-groups {
  display: grid;
  gap: clamp(50px, 6vw, 82px);
}

.gallery-group h4 {
  margin: 0 0 18px;
  color: #dce0e4;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-style: italic;
  font-weight: 400;
}

.gallery-group .featured-case + .media-grid {
  margin-top: 18px;
}

/* Paired image/audio references attached to every R2AV result. */
#reference-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

#reference-gallery .media-card-visual {
  height: clamp(190px, 19vw, 280px);
  aspect-ratio: auto !important;
}

#reference-gallery .media-card-visual > video {
  object-fit: contain;
}

.has-reference-conditions .media-card-body {
  padding: 14px;
}

.reference-pairs {
  display: grid;
  gap: 8px;
}

.reference-pairs.is-compact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.reference-pair {
  display: grid;
  grid-template-columns: 78px 76px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.reference-pair-title {
  color: #9299a0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.reference-pair-image {
  width: 76px;
  height: 58px;
  min-height: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #08090a;
}

.reference-pair-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reference-pair-audio,
.reference-pair-audio audio {
  width: 100%;
  min-width: 0;
}

.reference-pair-audio audio {
  display: block;
  height: 30px;
}

#reference-featured .reference-panel {
  padding: 10px 12px;
}

#reference-featured .reference-pair {
  grid-template-columns: 88px 96px minmax(0, 1fr);
}

#reference-featured .reference-pair-image {
  width: 96px;
  height: 72px;
}

/* Three-column short-video collections keep outputs scannable while retaining all inputs. */
.condition-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.condition-gallery .media-card-visual {
  height: clamp(190px, 19vw, 280px);
  aspect-ratio: auto !important;
}

.condition-gallery .media-card-body {
  padding: 14px;
}

.condition-gallery .media-card-body > p {
  -webkit-line-clamp: 4;
  line-height: 1.45;
}

.card-prompt-label {
  display: block;
  margin-top: 11px;
  color: #89aacc;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-gallery .reference-pair {
  grid-template-columns: 82px 70px minmax(0, 1fr);
}

.condition-gallery .reference-pair-image {
  width: 70px;
  height: 54px;
}

/* Galleries render in small batches; media sources attach only near the viewport. */
.gallery-pagination {
  display: flex;
  grid-column: 1 / -1;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 16px 0 2px;
}

.gallery-pagination > span {
  color: #737a82;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.gallery-load-more {
  min-height: 38px;
  padding: 0 17px;
  border: 1px solid rgba(137, 170, 204, 0.34);
  border-radius: 6px;
  color: #e7ebef;
  background: rgba(137, 170, 204, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  transition: border-color 160ms ease, background 160ms ease;
}

.gallery-load-more:hover,
.gallery-load-more:focus-visible {
  border-color: rgba(137, 170, 204, 0.72);
  background: rgba(137, 170, 204, 0.16);
}

.video-load-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(8, 10, 12, 0.76);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.video-load-button span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 20px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #f2f4f6;
}

.video-load-button:hover,
.video-load-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(20, 24, 28, 0.92);
}

.media-card-visual.is-video-loading::after,
.featured-video.is-video-loading::after {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: media-loading-spin 800ms linear infinite;
}

@keyframes media-loading-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Long-video cards share a row height while width follows each native aspect ratio. */
.long-video-grid {
  display: grid;
  gap: 18px;
}

.long-video-row {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.long-video-row .media-card {
  flex: var(--video-aspect, 1.6) 1 0;
  min-width: 0;
}

.long-video-row .media-card-visual {
  height: clamp(320px, 34vw, 520px);
  aspect-ratio: auto !important;
  background: #08090a;
}

.long-video-row .media-card-visual > video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.long-video-multi-person .long-video-row .media-card:only-child {
  flex: 0 1 760px;
  width: 100%;
  max-width: 760px;
}

.long-video-multi-person .long-video-row {
  justify-content: center;
}

/* Click-to-enlarge for all condition images. */
.input-image.is-zoomable {
  cursor: zoom-in;
}

.input-image.is-zoomable:focus-visible {
  outline: 2px solid rgba(137, 170, 204, 0.8);
  outline-offset: 3px;
}

.image-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  visibility: hidden;
  padding: 28px;
  place-items: center;
  opacity: 0;
  background: rgba(3, 4, 6, 0.92);
  backdrop-filter: blur(18px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.image-lightbox.is-visible {
  visibility: visible;
  opacity: 1;
}

.image-lightbox figure {
  display: grid;
  max-width: min(92vw, 1400px);
  max-height: 90vh;
  gap: 10px;
  margin: 0;
  place-items: center;
}

.image-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.image-lightbox figcaption {
  color: #aeb5bc;
  font-size: 0.72rem;
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #f1f3f5;
  background: rgba(15, 17, 20, 0.76);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

@media (max-width: 900px) {
  #reference-gallery,
  .condition-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-index a:last-child { grid-column: auto; }
  .long-video-row .media-card-visual { height: clamp(280px, 52vw, 460px); }
}

@media (max-width: 620px) {
  #reference-gallery,
  .condition-gallery { grid-template-columns: 1fr; }
  .long-video-row { flex-direction: column; }
  .long-video-row .media-card { flex-basis: auto; }
  .reference-pair,
  #reference-featured .reference-pair {
    grid-template-columns: 68px 68px minmax(0, 1fr);
  }
  .reference-pair-image,
  #reference-featured .reference-pair-image {
    width: 68px;
    height: 52px;
  }
  .image-lightbox { padding: 14px; }
  .condition-gallery .media-card-visual { height: clamp(210px, 66vw, 340px); }
  .long-video-row .media-card-visual { height: min(110vw, 520px); }
}

/* Compact two-column cover: copy on the left, model and large preview on the right. */
.hero {
  display: flex;
  width: min(1920px, calc(100% - clamp(32px, 4vw, 80px)));
  min-height: 100svh;
  padding: 98px 0 34px;
}

.hero-layout {
  --hero-edge-balance: clamp(24px, 4.7vw, 90px);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(16px, 2.2vw, 40px);
  align-items: center;
  width: 100%;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  justify-content: start;
  min-width: 0;
  container-type: inline-size;
}

.hero-copy .eyebrow {
  margin-bottom: 17px;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: inherit;
  line-height: 1;
}

.hero-brand-title,
.hero-subtitle {
  display: block;
}

.hero-brand-title {
  max-width: 100%;
  font-size: clamp(4.4rem, 7.2vw, 7.5rem);
  line-height: 0.78;
  white-space: nowrap;
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 100%;
  font-size: clamp(2.05rem, 3.45vw, 3.2rem);
  line-height: 0.94;
}

@supports (font-size: 1cqi) {
  .hero-brand-title { font-size: clamp(4.4rem, 14.8cqi, 7.5rem); }
  .hero-subtitle { font-size: clamp(2.05rem, 6.5cqi, 3.2rem); }
}

.hero-summary {
  max-width: 570px;
  margin: 22px auto 0;
  font-size: 0.94rem;
  line-height: 1.58;
  text-align: center;
}

.hero-copy .author-placeholder {
  justify-content: center;
  max-width: 900px;
  margin: 18px auto 0;
}

.hero-copy .hero-actions {
  justify-content: center;
  max-width: 900px;
  margin: 19px auto 0;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(100% - var(--hero-edge-balance));
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 20px;
  justify-self: start;
}

.hero-pipeline {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 42px 122px;
  gap: 10px;
  align-items: center;
}

.hero-inputs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-inputs .signal {
  position: static;
  width: auto;
  height: 70px;
  border-radius: 17px;
  font-size: 0.68rem;
  transform: none;
}

.hero-pipeline .signal-flow {
  display: flex;
  grid-column: auto;
  gap: 4px;
  align-items: center;
}

.hero-pipeline .signal-flow span {
  width: 100%;
  min-width: 9px;
}

.hero-pipeline .model-core {
  grid-column: auto;
  width: 112px;
  height: 112px;
  margin: 0;
}

.hero-pipeline .model-core strong {
  max-width: 100px;
  font-size: 0.96rem;
}

.hero-visual .output-frame {
  grid-column: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 736;
  justify-self: auto;
  border-radius: 20px;
}

.hero-visual .output-frame > video {
  object-fit: contain;
}

@media (max-width: 1180px) {
  .hero-layout {
    --hero-edge-balance: clamp(18px, 4vw, 48px);
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(18px, 2.4vw, 28px);
  }

  .hero-brand-title { font-size: clamp(3.8rem, 6.5vw, 5.1rem); }
  .hero-subtitle { font-size: clamp(1.8rem, 3.1vw, 2.35rem); }
  .hero-pipeline { grid-template-columns: minmax(175px, 1fr) 38px 112px; }
  .hero-pipeline .model-core { width: 104px; height: 104px; }
  .hero-inputs .signal { height: 58px; }
}

@media (max-width: 980px) {
  .hero { padding-top: 105px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { grid-template-columns: minmax(0, 720px); }
  .hero h1 { max-width: 720px; }
  .hero-brand-title { font-size: clamp(4.4rem, 12vw, 6.8rem); }
  .hero-subtitle { font-size: clamp(2.2rem, 6.2vw, 3.4rem); }
  .hero-visual { width: 100%; max-width: 720px; margin-inline: auto; justify-self: center; }
}

@media (max-width: 620px) {
  .hero { padding-top: 88px; }
  .hero-brand-title { font-size: clamp(3.65rem, 16vw, 5.4rem); }
  .hero-subtitle { margin-top: 17px; font-size: clamp(1.65rem, 7vw, 2.4rem); }
  .hero-pipeline { grid-template-columns: 1fr; }
  .hero-inputs { grid-template-columns: repeat(3, 1fr); }
  .hero-pipeline .signal-flow { display: none; }
  .hero-pipeline .model-core { width: 112px; height: 112px; margin: 2px auto 0; }
  .hero-visual { padding: 13px; }
}

/* InteractiveEyes quantitative benchmark. */
.experiment-section {
  padding: 125px 0 18px;
  scroll-margin-top: 72px;
}

.experiment-section h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

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

.benchmark-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 0%, rgba(78, 133, 191, 0.14), transparent 30rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
}

.benchmark-meta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.085);
}

.benchmark-meta > div {
  display: grid;
  gap: 4px;
}

.benchmark-meta span {
  color: #89aacc;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.benchmark-meta strong {
  color: #f1f3f5;
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.benchmark-meta p {
  margin: 0 0 4px;
  color: #777e86;
  font-size: 0.78rem;
}

.benchmark-table-shell {
  overflow-x: auto;
}

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

.benchmark-table th,
.benchmark-table td {
  padding: 19px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  text-align: right;
}

.benchmark-table th:first-child,
.benchmark-table td:first-child {
  text-align: left;
}

.benchmark-table thead th {
  color: #737a82;
  background: rgba(0, 0, 0, 0.14);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benchmark-table thead th span {
  color: #89aacc;
}

.benchmark-table tbody th {
  color: #d4d8dc;
  font-size: 0.9rem;
  font-weight: 500;
}

.benchmark-table tbody td {
  color: #9ba1a8;
  font-size: 0.9rem;
}

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

.benchmark-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.benchmark-table .ours-row {
  background: rgba(78, 133, 191, 0.08);
}

.benchmark-table .ours-row th {
  color: #f3f5f7;
}

.benchmark-table .ours-row th span {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 7px;
  border: 1px solid rgba(137, 170, 204, 0.3);
  border-radius: 999px;
  color: #a8c3de;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 1px;
}

.benchmark-table .is-best {
  color: #d8e9f8;
  font-weight: 700;
}

@media (max-width: 700px) {
  .experiment-section { padding-top: 90px; }
  .benchmark-meta { display: block; padding: 20px; }
  .benchmark-meta p { margin-top: 12px; }
  .benchmark-table th,
  .benchmark-table td { padding: 16px 20px; }
}

/* Related-works audio-driven comparison. */
.related-works-section {
  width: 92vw;
  max-width: none;
  padding-top: 82px;
  scroll-margin-top: 72px;
}

.related-works-heading {
  align-items: end;
  margin-bottom: 22px;
}

.related-works-heading h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.related-works-subtitle {
  margin: 13px 0 0;
  color: #9fbad4;
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.audio-compare-list {
  display: grid;
  gap: 0;
}

.audio-compare-row {
  padding: 28px 0 34px;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.audio-compare-scroll {
  overflow-x: auto;
  padding: 0 0 5px;
  scrollbar-color: rgba(137, 170, 204, 0.34) transparent;
}

.audio-compare-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  min-width: 900px;
  padding: 0;
  background: transparent;
}

.audio-compare-card {
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.audio-compare-card.is-ours {
  background: transparent;
}

.audio-compare-card h4 {
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
  overflow: hidden;
  color: #aeb4ba;
  font-size: clamp(0.84rem, 0.9vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audio-compare-card.is-ours h4 {
  color: #a9c6e0;
}

.audio-compare-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  background: #070809;
  object-fit: contain;
}

.audio-compare-pagination {
  padding: 6px 0 0;
}

@media (max-width: 700px) {
  .related-works-section { width: 94vw; padding-top: 64px; }
  .related-works-heading { align-items: start; }
  .audio-compare-row { padding: 24px 0 29px; }
  .audio-compare-grid { min-width: 850px; }
}

/* R2AV related-works comparison. */
.r2av-compare-section {
  width: 92vw;
  max-width: none;
  padding-top: 82px;
  scroll-margin-top: 72px;
}

.r2av-compare-heading {
  align-items: end;
  margin-bottom: 22px;
}

.r2av-compare-heading h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.r2av-compare-subtitle {
  margin: 13px 0 0;
  color: #9fbad4;
  font-family: "Outfit", sans-serif;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.r2av-compare-list {
  display: grid;
  gap: 0;
}

.r2av-compare-row {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 32px 0 38px;
  overflow: visible;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  background: transparent;
  isolation: isolate;
}

.r2av-compare-row::before {
  display: none;
  content: none;
}

.r2av-prompt {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-left: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.r2av-prompt-toggle {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background 180ms ease;
}

.r2av-prompt-toggle:hover,
.r2av-prompt-toggle:focus-visible {
  background: transparent;
  outline: none;
}

.r2av-prompt-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.r2av-prompt-meta strong {
  color: #747c84;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.r2av-prompt-meta > span {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #747c84;
  background: transparent;
  font-size: 0.59rem;
  font-weight: 600;
}

.r2av-prompt-text {
  display: -webkit-box;
  overflow: hidden;
  color: #989fa6;
  font-size: 0.8rem;
  line-height: 1.58;
  white-space: pre-line;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.r2av-prompt.is-expanded .r2av-prompt-text {
  display: block;
  overflow: visible;
}

.r2av-compare-scroll {
  overflow-x: auto;
  padding: 0 0 5px;
  scrollbar-color: rgba(137, 170, 204, 0.34) transparent;
}

.r2av-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 900px;
  padding: 0;
  background: transparent;
}

.r2av-compare-card {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.r2av-compare-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.r2av-compare-card.is-ours {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.r2av-compare-card h4 {
  position: static;
  min-height: 0;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #aeb4ba;
  background: transparent;
  font-size: clamp(0.84rem, 0.9vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.2;
  text-align: left;
  backdrop-filter: none;
}

.r2av-compare-card.is-ours h4 {
  border-color: transparent;
  color: #a9c6e0;
  background: transparent;
}

.r2av-compare-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #070809;
  object-fit: contain;
}

.r2av-reference-block {
  position: relative;
  z-index: 1;
  padding: 0;
}

.r2av-reference-heading,
.r2av-result-heading {
  display: block;
  margin: 0 0 10px;
  color: #747c84;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.r2av-reference-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.r2av-reference-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  flex: 1 1 280px;
  gap: 12px;
  align-items: center;
  max-width: 430px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.r2av-reference-card img {
  display: block;
  width: 112px;
  height: 80px;
  border-radius: 5px;
  background: #070809;
  object-fit: cover;
}

.r2av-reference-info {
  min-width: 0;
}

.r2av-reference-info strong {
  display: block;
  margin-bottom: 7px;
  color: #cbd0d5;
  font-size: 0.65rem;
  font-weight: 600;
}

.r2av-reference-info audio {
  display: block;
  width: 100%;
  height: 30px;
}

.r2av-result-block {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0;
}

.r2av-compare-pagination {
  padding: 6px 0 0;
}

@media (max-width: 700px) {
  .r2av-compare-section { width: 94vw; padding-top: 64px; }
  .r2av-compare-heading { align-items: start; }
  .r2av-compare-list { gap: 0; }
  .r2av-compare-row { gap: 16px; padding: 25px 0 30px; }
  .r2av-prompt { width: 100%; margin-left: 0; }
  .r2av-prompt-toggle { padding: 0; }
  .r2av-compare-grid { min-width: 820px; }
  .r2av-reference-block { overflow-x: auto; padding-right: 0; }
  .r2av-reference-grid { width: max-content; flex-wrap: nowrap; }
  .r2av-reference-card { width: 290px; flex: 0 0 290px; }
}

/* Floating navigation with subtask menus. */
.site-nav > .nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav > .nav-group > a::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 0 3px 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  display: grid;
  width: max-content;
  min-width: 230px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  visibility: hidden;
  background: rgba(14, 15, 17, 0.96);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.48);
  opacity: 0;
  backdrop-filter: blur(22px);
  transform: translateY(-5px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
}

.nav-submenu::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 11px;
  content: "";
}

.nav-submenu-right {
  right: 0;
  left: auto;
}

.nav-submenu a {
  display: block;
  padding: 9px 11px;
  border-radius: 7px;
  color: #a5abb2;
  font-size: 0.69rem;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible,
.nav-submenu a.is-active {
  color: #f4f6f8;
  background: rgba(137, 170, 204, 0.12);
  outline: none;
}

.nav-group:hover > .nav-submenu,
.nav-group:focus-within > .nav-submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* One final Compare section with Audio Driven and R2AV subtasks. */
.compare-section {
  width: 92vw;
  max-width: none;
  padding-top: 82px;
  scroll-margin-top: 72px;
}

.compare-main-heading {
  align-items: end;
  margin-bottom: 42px;
}

.compare-main-heading h2 {
  max-width: 760px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.compare-subtasks {
  display: grid;
  gap: 76px;
}

.compare-subtask {
  scroll-margin-top: 92px;
}

#compare-r2av {
  width: min(1440px, 78vw);
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1100px) {
  #compare-r2av { width: 100%; }
}

.compare-subtask-heading {
  display: flex;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-subtask-heading span {
  display: block;
  margin-bottom: 5px;
  color: #89aacc;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compare-subtask-heading h3 {
  margin: 0;
  color: #edf0f3;
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.compare-subtask-heading p {
  max-width: 470px;
  margin: 0 0 3px;
  color: #7e858d;
  font-size: 0.76rem;
  text-align: right;
}

@media (max-width: 700px) {
  .compare-section { width: 94vw; padding-top: 64px; }
  .compare-main-heading { align-items: start; }
  .compare-subtasks { gap: 58px; }
  .compare-subtask-heading { display: block; }
  .compare-subtask-heading p { margin-top: 8px; text-align: left; }
  #compare-r2av { width: 100%; }
}

/* Match the neutral gray native audio controls used by the R2AV benchmark page. */
audio {
  color-scheme: dark;
  filter: grayscale(1);
}

/* LongCat-Video-Avatar-inspired typography and full-screen landing hero. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/outfit.woff2") format("woff2");
}

@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/raleway_normal_600.woff2") format("woff2");
}

body,
button,
input,
select,
textarea {
  font-family: "Outfit", sans-serif !important;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .abstract-copy,
body .media-card-body strong,
body .gallery-heading h3,
body .case-inputs h3,
body .brand-mark,
body .loading-word,
body .loading-count {
  font-family: "Outfit", sans-serif !important;
}

.longcat-inspired-hero {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  min-height: max(100vh, 50vw);
  padding: 0;
  overflow: hidden;
  place-items: center;
  border: 0;
  isolation: isolate;
}

.longcat-inspired-hero::before,
.longcat-inspired-hero::after {
  display: none;
  content: none;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #111416;
}

.hero-background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.24), rgba(8, 9, 10, 0.48)),
    radial-gradient(circle at center, transparent 12%, rgba(8, 9, 10, 0.22) 100%);
  content: "";
}

.hero-background video {
  display: block;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  margin: -8px;
  object-fit: cover;
  filter: brightness(0.62) blur(4px);
  transform: scale(1.025);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  grid-template-rows: repeat(10, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  background: #08090a;
}

.hero-mosaic video {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  filter: brightness(0.68) blur(2.4px);
  transform: scale(1.035);
}

.hero-composite video {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.68) blur(1.6px);
  transform: none;
}

.hero-mosaic video:nth-child(1) { grid-area: 1 / 1 / 3 / 4; }
.hero-mosaic video:nth-child(2) { grid-area: 1 / 4 / 3 / 6; }
.hero-mosaic video:nth-child(3) { grid-area: 1 / 6 / 3 / 9; }
.hero-mosaic video:nth-child(4) { grid-area: 1 / 9 / 3 / 11; }
.hero-mosaic video:nth-child(5) { grid-area: 1 / 11 / 3 / 14; }
.hero-mosaic video:nth-child(6) { grid-area: 1 / 14 / 3 / 16; }
.hero-mosaic video:nth-child(7) { grid-area: 3 / 1 / 5 / 3; }
.hero-mosaic video:nth-child(8) { grid-area: 3 / 3 / 5 / 6; }
.hero-mosaic video:nth-child(9) { grid-area: 3 / 6 / 5 / 8; }
.hero-mosaic video:nth-child(10) { grid-area: 3 / 8 / 5 / 11; }
.hero-mosaic video:nth-child(11) { grid-area: 3 / 11 / 5 / 13; }
.hero-mosaic video:nth-child(12) { grid-area: 3 / 13 / 5 / 16; }
.hero-mosaic video:nth-child(13) { grid-area: 5 / 1 / 7 / 4; }
.hero-mosaic video:nth-child(14) { grid-area: 5 / 4 / 7 / 6; }
.hero-mosaic video:nth-child(15) { grid-area: 5 / 6 / 7 / 8; }
.hero-mosaic video:nth-child(16) { grid-area: 5 / 8 / 7 / 11; }
.hero-mosaic video:nth-child(17) { grid-area: 5 / 11 / 7 / 13; }
.hero-mosaic video:nth-child(18) { grid-area: 5 / 13 / 7 / 16; }
.hero-mosaic video:nth-child(19) { grid-area: 7 / 1 / 9 / 3; }
.hero-mosaic video:nth-child(20) { grid-area: 7 / 3 / 9 / 6; }
.hero-mosaic video:nth-child(21) { grid-area: 9 / 14 / 11 / 16; }
.hero-mosaic video:nth-child(22) { grid-area: 7 / 9 / 9 / 11; }
.hero-mosaic video:nth-child(23) { grid-area: 9 / 12 / 11 / 14; }
.hero-mosaic video:nth-child(24) { grid-area: 7 / 14 / 9 / 16; }
.hero-mosaic video:nth-child(25) { grid-area: 9 / 1 / 11 / 3; }
.hero-mosaic video:nth-child(26) { grid-area: 9 / 3 / 11 / 6; }
.hero-mosaic video:nth-child(27) { grid-area: 9 / 6 / 11 / 9; }
.hero-mosaic video:nth-child(28) { grid-area: 9 / 9 / 11 / 12; }
.hero-mosaic video:nth-child(29) { grid-area: 7 / 11 / 9 / 14; }
.hero-mosaic video:nth-child(30) { grid-area: 7 / 6 / 9 / 9; }

.hero-mosaic video.crop-y {
  object-fit: cover;
  object-position: center;
  transform: none;
}

.media-card.is-no-crop .media-card-visual > video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #070809;
  transform: none;
}

.hero-content {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  min-height: inherit;
  padding: 120px 0 70px;
  place-items: center;
  text-align: center;
}

.hero-content .hero-copy {
  display: block;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  container-type: normal;
  justify-content: initial;
  text-align: center;
}

.hero-content .eyebrow {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.hero-content h1 {
  display: grid;
  width: 100%;
  gap: 17px;
  max-width: none;
  margin: 0;
  color: #fff;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.48);
}

.hero-content .hero-brand-title {
  display: block;
  width: 100%;
  max-width: none;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero-content .hero-subtitle {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
}

.hero-content .author-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  justify-content: center;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-content .author-placeholder p {
  margin: 0;
}

.hero-content .author-line {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  text-transform: none;
}

.hero-content .author-affiliations {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-transform: none;
  white-space: nowrap;
}

.hero-content .author-note {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-transform: none;
}

.hero-content .author-placeholder i {
  background: rgba(255, 255, 255, 0.52);
  box-shadow: none;
}

.hero-content .hero-actions {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
}

.hero-content .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(128, 128, 128, 0.3);
  box-shadow: none;
  backdrop-filter: blur(10px);
  line-height: 1;
  text-align: center;
}

.section-with-cover {
  padding-top: 72px;
}

#long-video.section-with-cover {
  padding-top: 112px;
}

.section-cover {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: min(72vh, 760px);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  place-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0c0e10;
}

.section-cover::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.42), rgba(8, 9, 10, 0.68)),
    radial-gradient(circle at center, rgba(8, 9, 10, 0.04), rgba(8, 9, 10, 0.52));
  content: "";
}

.section-cover > video {
  position: absolute;
  inset: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.54) blur(5px);
  transform: scale(1.025);
}

.section-cover-content {
  position: relative;
  z-index: 2;
  width: min(820px, calc(100% - 40px));
  padding: 70px 0;
  color: #fff;
  text-align: center;
}

.section-cover-content .section-kicker {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.66);
}

.section-cover-content h2 {
  margin: 0;
  color: #fff;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-style: normal !important;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.48);
}

.section-cover-content p {
  max-width: 650px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
}

.section-cover + .expanded-subtasks,
.section-cover + .compare-subtasks {
  margin-top: 86px;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .media-card-body strong,
body .subtask-heading h3,
body .gallery-group h4,
body .compare-subtask-heading h3 {
  font-style: normal !important;
}

@media (max-width: 620px) {
  .hero-content {
    width: calc(100% - 28px);
    padding-top: 98px;
  }

  .hero-content .hero-brand-title {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  .hero-content .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-cover {
    min-height: 64vh;
  }

  #long-video.section-with-cover {
    padding-top: 88px;
  }

  .section-cover-content {
    width: calc(100% - 28px);
  }
}

/* Vorch-Streamer presentation overrides: keep the demo page's open editorial rhythm. */
.framework-figure {
  margin-top: 0;
  padding: clamp(20px, 3vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 22, 25, 0.96), rgba(10, 11, 13, 0.96));
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.44), inset 0 1px rgba(255, 255, 255, 0.03);
}

.method-section {
  padding-top: 72px;
}

.framework-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f6f3ed;
}

.framework-figure figcaption {
  margin: 18px 0 0;
  color: #737a82;
  font-size: 0.76rem;
  line-height: 1.55;
}

.carousel-container {
  position: relative;
  width: 100%;
  padding: 18px 0 72px;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  will-change: transform;
}

.carousel-item {
  flex: 0 0 min(60vw, 760px);
  opacity: 0.4;
  filter: blur(2px);
  transform: scale(0.68);
  transition: opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item.active {
  z-index: 2;
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.carousel-item .video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #08090a;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.4);
}

.carousel-item.active .video-player { box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58); }
.carousel-item .video-player video { width: 100%; height: 100%; object-fit: contain; background: #08090a; }

.carousel-nav {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #eef1f4;
  background: rgba(10, 12, 14, 0.76);
  box-shadow: 0 9px 30px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.carousel-nav:hover, .carousel-nav:focus-visible {
  border-color: #89aacc;
  background: #171b20;
  transform: translateY(-50%) scale(1.06);
}

.carousel-nav.prev { left: 14px; }
.carousel-nav.next { right: 14px; }

.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  color: #8c939b;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.carousel-dot {
  width: 20px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.17);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dot.active { width: 34px; background: #89aacc; }

.comparison-toolbar {
  display: grid;
  grid-template-columns: 36px auto 1fr 36px;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.comparison-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #e5e8eb;
  background: transparent;
  cursor: pointer;
}

.comparison-arrow:hover, .comparison-arrow:focus-visible { border-color: #89aacc; color: #89aacc; }
.comparison-toolbar strong { color: #b6bdc5; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.sample-progress { display: flex; gap: 6px; justify-content: center; }
.progress-button { width: 22px; height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.16); cursor: pointer; }
.progress-button.active { background: #89aacc; }

.compare-condition {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  gap: 24px;
  margin-bottom: 22px;
  padding: 17px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-condition span, .compare-condition summary {
  color: #89aacc;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.compare-condition p { margin: 7px 0 0; color: #8e969e; font-size: .78rem; line-height: 1.58; }
.compare-condition details { color: #8e969e; }
.compare-condition summary { cursor: pointer; }

.audio-compare-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  gap: 16px;
}

.audio-compare-list {
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto;
}

.audio-compare-row-meta {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.audio-compare-row-meta > strong {
  color: #89aacc;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.audio-compare-row-meta > p,
.comparison-speech p {
  margin: 0;
  color: #8e969e;
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.58;
}

.comparison-speech {
  grid-column: 1 / -1;
  width: 100%;
  color: #8e969e;
  font-size: 0.62rem;
}

.comparison-speech summary {
  color: #89aacc;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison-speech p {
  width: min(620px, 72vw);
  margin-top: 10px;
}

.audio-compare-card h4 { font-size: .78rem; }
.audio-compare-card video { aspect-ratio: 16 / 10; border-radius: 6px; }
.audio-compare-card.is-ours h4 { color: #a9c6e0; }

.experiment-section { padding: 120px 0 30px; }
.experiment-heading { margin-bottom: 34px; }
.experiment-heading h2 { max-width: 820px; margin: 0; color: #f3f4f5; font-family: "Outfit", sans-serif; font-size: 4.2rem; font-style: italic; font-weight: 400; letter-spacing: -.045em; line-height: 1; }

.hero-content .hero-brand-title { font-size: 5.2rem; }
.hero-content .hero-subtitle { font-size: 1.38rem; }
.method-heading h2 { font-size: 4.6rem; }
.section-cover-content h2 {
  font-size: 4.6rem;
  white-space: nowrap;
}
.subtask-heading h3,
.compare-subtask-heading h3 { font-size: 2.6rem; }

@media (max-width: 900px) {
  .hero-content .hero-brand-title { font-size: 4.2rem; }
  .method-heading h2,
  .section-cover-content h2 { font-size: 3.6rem; }
  .experiment-heading h2 { font-size: 3.5rem; }
  .audio-compare-list { width: 80vw; }
  .audio-compare-grid { min-width: 0; }
  .compare-condition { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 620px) {
  .hero-content .hero-brand-title { max-width: 100%; font-size: 2.8rem; line-height: 0.94; overflow-wrap: anywhere; }

  .hero-content .hero-subtitle { max-width: 360px; font-size: 1.08rem; white-space: normal; }
  .hero-content .author-affiliations {
    flex-direction: column;
    gap: 2px;
    white-space: normal;
  }
  .method-heading h2 { font-size: 2.3rem; }
  .section-cover-content h2 { font-size: 2rem; }
  .subtask-heading h3,
  .compare-subtask-heading h3 { font-size: 2rem; }
  .experiment-heading h2 { font-size: 2.4rem; }
  .carousel-item { flex-basis: 82vw; }
  .carousel-nav { width: 40px; height: 40px; }
  .carousel-nav.prev { left: 7px; }
  .carousel-nav.next { right: 7px; }
  .comparison-toolbar { grid-template-columns: 36px 1fr 36px; }
  .sample-progress { grid-column: 1 / -1; grid-row: 2; }
  .audio-compare-list { width: 80vw; }
  .audio-compare-grid { min-width: 0; gap: 8px; }
  .audio-compare-row-meta { grid-template-columns: 1fr; gap: 8px; }
  .comparison-speech { grid-column: 1; width: auto; }
  .framework-figure { padding: 14px; border-radius: 20px; }
}

/* Compact overview and four clearly differentiated contribution cards. */
.abstract-section::before { display: none; }

.abstract-copy {
  max-width: 920px;
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.abstract-section .overview-title {
  margin: 0;
  color: #f4f5f6;
  font-size: 2.8rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.contribution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.contribution-grid article {
  min-height: 190px;
  padding: 26px;
  border-color: var(--card-border);
  background: var(--card-background);
}

.contribution-grid article::after { display: none; }
.contribution-grid article:hover { background: var(--card-background); }
.contribution-grid article:nth-child(1) { --card-background: rgba(70, 118, 166, 0.16); --card-border: rgba(137, 170, 204, 0.28); --card-accent: #9dbbd7; }
.contribution-grid article:nth-child(2) { --card-background: rgba(102, 86, 145, 0.16); --card-border: rgba(166, 146, 207, 0.25); --card-accent: #b8a6dc; }
.contribution-grid article:nth-child(3) { --card-background: rgba(83, 126, 96, 0.17); --card-border: rgba(137, 181, 146, 0.25); --card-accent: #a4cda9; }
.contribution-grid article:nth-child(4) { --card-background: rgba(145, 92, 74, 0.16); --card-border: rgba(205, 143, 119, 0.25); --card-accent: #d6a18d; }

.contribution-grid article > span { color: var(--card-accent); }
.contribution-grid h3 { margin: 28px 0 8px; }

.metric-highlight {
  display: inline-block;
  margin-right: 5px;
  color: #bfe3ad;
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}

.experiment-heading h2 {
  max-width: none;
  font-size: 2.35rem;
  letter-spacing: -0.025em;
  line-height: 1.08;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .experiment-heading h2 { font-size: 1.55rem; }
}

@media (max-width: 620px) {
  .abstract-section .overview-title { font-size: 2.1rem; }
  .abstract-copy { font-size: 0.95rem; }
  .contribution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .contribution-grid article { min-height: 240px; padding: 16px; }
  .contribution-grid article > span { width: 30px; height: 30px; font-size: 0.7rem; }
  .contribution-grid h3 { margin-top: 22px; font-size: 0.9rem; }
  .contribution-grid p { font-size: 0.72rem; }
  .metric-highlight { font-size: 1.35rem; }
  .experiment-heading h2 { font-size: 0.72rem; letter-spacing: 0; }
}

/* Three-column gallery aligned with the comparison region. */
.gallery-grid-shell {
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto;
}

.abstract-section,
.method-section {
  width: 80vw;
  max-width: 1200px;
}

.compare-subtask-heading,
.experiment-heading {
  width: 80vw;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

.compare-subtask-heading { margin-bottom: 18px; }
.experiment-heading { margin-bottom: 34px; }

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

.gallery-grid-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #0d0f11;
}

.gallery-grid-item .video-player {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #070809;
}

.gallery-grid-item video {
  display: block;
  width: 100%;
  height: 100%;
  background: #070809;
  object-fit: contain;
}

.gallery-grid-item > strong {
  display: block;
  padding: 10px 12px 11px;
  color: #aeb4ba;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-grid-pagination {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .gallery-grid-shell { width: 80vw; }
  .gallery-grid { grid-template-columns: 1fr; }
}

.brand.nav-logo {
  gap: 10px;
  padding-right: 13px;
  letter-spacing: 0;
}

.nav-logo-frame {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 30px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.nav-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: inset(1% 0 3% 0);
}

@media (max-width: 620px) {
  .brand.nav-logo {
    gap: 7px;
    padding-right: 8px;
  }

  .nav-logo-frame {
    width: 88px;
    height: 27px;
    padding: 3px 5px;
  }

  .site-nav {
    max-width: calc(100vw - 128px);
  }
}
