:root {
  --bg: #0b0f19;
  --bg-elev: #111827;
  --bg-card: #161f32;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f4f8;
  --text-muted: #94a3b8;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --link: #60a5fa;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --nav-height: 64px;
  --transition: 0.2s ease;
}

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

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-2);
}

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

.container.narrow {
  max-width: 800px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #000;
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 1000;
  font-weight: 600;
}

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

/* Navigation */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-nav.scrolled {
  background: rgba(11, 15, 25, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--nav-height) + 48px) 24px 80px;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(1px) saturate(0.85) brightness(0.6);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(11, 15, 25, 0.45) 0%, rgba(11, 15, 25, 0.72) 60%, rgba(11, 15, 25, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  animation: fadeUp 0.8s ease-out;
  padding: 48px 56px;
  border-radius: var(--radius);
  background: rgba(11, 15, 25, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.venue-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.venue-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero-title {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-align: center;
}

.brand {
  color: var(--accent-2);
  font-weight: 800;
}

.title-sep {
  color: var(--text-muted);
}

.hero-authors {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-authors .author {
  color: #ffffff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.hero-authors .author:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent-2);
}

.author-sep {
  color: var(--text-muted);
  margin: 0 8px;
}

.hero-affil {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.hero-abstract {
  max-width: 660px;
  margin: 0 auto 28px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: rgba(11, 15, 25, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-abstract p {
  margin: 0;
}

.hero-abstract p + p {
  margin-top: 10px;
}

.hero-abstract strong {
  color: var(--accent-2);
}

.hero-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 28px;
}

.hero-keywords span {
  display: inline-block;
  background: rgba(11, 15, 25, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

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

.btn-primary {
  background: var(--accent);
  color: #0b0f19;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #0b0f19;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.25);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-elev);
  color: var(--text);
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.4; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin: 14px auto 0;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

/* Motivation */
.motivation-figure {
  margin: 0 auto 56px;
  max-width: 1000px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.motivation-figure img {
  width: 100%;
}

.motivation-figure figcaption {
  text-align: center;
  padding: 18px 24px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.artifact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.artifact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
}

.artifact-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.artifact-card h3 {
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* Pipeline */
.pipeline-section {
  background: var(--bg-elev);
}

.pipeline {
  margin: 0 auto;
}

.pipeline-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}

.pipeline-svg {
  display: block;
  width: 100%;
  max-width: 1000px;
  min-width: 720px;
  height: auto;
  margin: 0 auto;
  color: var(--text-muted);
}

/* Method */
.architecture-figure {
  margin: 0 auto;
  max-width: 1000px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.architecture-figure img {
  width: 100%;
  background: #fff;
}

.architecture-figure figcaption {
  text-align: center;
  padding: 18px 24px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

/* Results sliders */
.results-section {
  background: var(--bg-elev);
}

/* Results carousel */
.results-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-viewport {
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
}

.slider-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carousel-btn {
  grid-row: 1;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition);
  z-index: 2;
  flex: none;
  -webkit-tap-highlight-color: transparent;
}

.carousel-btn svg {
  pointer-events: none;
}

.carousel-btn:hover {
  background: var(--bg-elev);
  border-color: var(--accent);
  color: var(--accent-2);
  transform: scale(1.05);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.results-carousel:focus-visible {
  outline: none;
}

.results-carousel:focus-visible .carousel-viewport {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.carousel-prev {
  grid-column: 1;
}

.carousel-next {
  grid-column: 3;
}

.carousel-dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.carousel-dot:hover {
  background: var(--accent-2);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.slider-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.ba-slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.ba-after {
  z-index: 1;
}

.ba-before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--pct, 50%)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pct, 50%);
  width: 4px;
  background: var(--accent);
  transform: translateX(-50%);
  z-index: 3;
  cursor: col-resize;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.ba-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #0b0f19;
  font-weight: 800;
  z-index: 4;
  pointer-events: none;
}

.ba-arrow.left {
  left: 50%;
  margin-left: -18px;
}

.ba-arrow.right {
  left: 50%;
  margin-left: 8px;
}

.ba-labels {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ba-label {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(11, 15, 25, 0.75);
  color: var(--text);
  border: 1px solid var(--border);
}

.ba-label.before {
  left: 14px;
}

.ba-label.after {
  right: 14px;
}

/* Videos */
.video-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 32 / 9;
  object-fit: contain;
  background: #000;
}

.video-caption {
  padding: 14px 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}

/* Evaluation tables */
.evaluation-section {
  background: var(--bg);
}

.metrics-glossary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  width: 100%;
  margin: 0 0 28px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.metric-item dt {
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.metric-item dd {
  margin: 0;
  color: var(--text-muted);
}

.metric-item dd strong {
  color: var(--text);
  font-weight: 600;
}

.table-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 36px 0 14px;
  color: var(--accent-2);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--bg-card);
  min-width: 420px;
}

.results-table th {
  padding: 11px 12px;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
  background: var(--bg-elev);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.results-table th:first-child {
  text-align: left;
}

.results-table th a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(245, 158, 11, 0.4);
  transition: border-color var(--transition), color var(--transition);
  padding-bottom: 1px;
}

.results-table th a:hover {
  color: var(--accent-2);
  border-bottom-color: var(--accent);
  border-bottom-style: solid;
}

.results-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

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

.results-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
}

.results-table .best {
  background: rgba(245, 158, 11, 0.18);
  color: var(--text);
  font-weight: 700;
}

.results-table .second {
  background: rgba(250, 204, 21, 0.12);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.best-cell {
  background: rgba(245, 158, 11, 0.18);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.second-cell {
  background: rgba(250, 204, 21, 0.12);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Citation */
.citation-section {
  background: var(--bg);
  padding-bottom: 120px;
}

.citation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.citation-card pre {
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-elev);
}

.citation-card pre::-webkit-scrollbar {
  height: 8px;
}

.citation-card pre::-webkit-scrollbar-track {
  background: var(--bg-elev);
  border-radius: 4px;
}

.citation-card pre::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.copy-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.copy-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

/* Footer */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-inner p + p {
  margin-top: 10px;
}

.footer-inner a {
  color: var(--text);
}

.footer-inner a:hover {
  color: var(--accent-2);
}

.footer-inner .dot {
  margin: 0 8px;
  color: var(--text-muted);
}

.copyright {
  margin-top: 20px;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .artifact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 15, 25, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding: calc(var(--nav-height) + 24px) 16px 48px;
  }

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

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-content {
    padding: 26px 18px 28px;
    width: min(100%, var(--max-width));
  }

  .venue-badge {
    margin-bottom: 16px;
    font-size: 0.75rem;
  }

  .hero-title {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    margin-bottom: 16px;
  }

  .hero-authors {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .hero-affil {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }

  .hero-abstract {
    padding: 14px 16px;
    font-size: 0.86rem;
    line-height: 1.55;
    text-align: left;
  }

  .hero-keywords {
    gap: 6px;
    margin-bottom: 22px;
  }

  .hero-keywords span {
    padding: 4px 9px;
    font-size: 0.72rem;
  }

  .video-caption {
    padding: 6px 10px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .hero-actions {
    gap: 10px;
  }

  .scroll-hint {
    display: none;
  }

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

  .metrics-glossary {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .results-carousel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
  }

  .carousel-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .carousel-prev {
    grid-column: 1;
    grid-row: 3;
    justify-self: end;
  }

  .carousel-next {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-dots {
    grid-row: 2;
    margin-top: 0;
  }

  .citation-card {
    padding: 20px;
  }

  .copy-btn {
    position: static;
    margin-top: 14px;
    width: 100%;
    justify-content: center;
  }
}
