:root {
  --ink: #18252c;
  --muted: #607078;
  --accent: #0c7d83;
  --accent-pale: #e7f5f3;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --line: #dce6e3;
}

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  font-family: "Noto Sans", sans-serif;
}

.publication-title,
.publication-authors,
.publication-affiliations,
.teaser,
figcaption {
  font-family: "Google Sans", sans-serif;
}

.publication-header {
  background: linear-gradient(180deg, #eef8f6 0%, #fff 92%);
}

.publication-header .hero-body { padding-bottom: 2rem; }
.publication-header .container.is-max-desktop { max-width: 72rem; }

.publication-title {
  font-size: 2.65rem !important;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.project-name {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.author-block {
  display: inline-block;
  margin: 0 0.15rem;
}

.publication-authors a { color: var(--accent); }
.publication-authors a:hover { text-decoration: underline; }

.equal-contribution {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.publication-affiliations {
  color: var(--muted);
  margin-top: 0.65rem;
}

.publication-links { margin-top: 1.25rem; }
.link-block a, .coming-soon { margin: 0.25rem; }
.coming-soon { opacity: 0.72 !important; pointer-events: none; }
.coming-soon small { font-size: 0.65em; margin-left: 0.35rem; }

.teaser .hero-body { padding-top: 0; }
.teaser .subtitle { line-height: 1.5; margin: 1.5rem auto 0; max-width: 54rem; }

.overview-video {
  aspect-ratio: 16 / 9;
  background: #101818;
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(14, 49, 51, 0.15);
  display: block;
  margin: 0 auto;
  max-width: 58rem;
  width: 100%;
}

.platform-section, .data-section { background: var(--soft); }
.section-lead { margin: 0 auto 3rem; max-width: 52rem; }

.playback-note {
  background: var(--accent-pale);
  border-radius: 999px;
  color: var(--accent);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.75rem;
  padding: 0.55rem 1rem;
}

.playback-note i { margin-right: 0.35rem; }

.system-pair {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 8rem minmax(0, 1fr);
  margin: 0 auto 5rem;
}

.platform-principle {
  margin: 0 auto 2rem;
  max-width: 46rem;
}

.platform-principle > p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.system-pair figure, .video-grid figure { margin: 0; }
.system-pair img, .feature img {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(10, 40, 40, 0.09);
  width: 100%;
}

.system-pair figcaption, .video-grid figcaption, .results-grid figcaption, .tactile-pair figcaption {
  font-weight: 600;
  padding-top: 0.7rem;
  text-align: center;
}

.isomorphic-mark {
  align-items: center;
  color: var(--accent);
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
}

.isomorphic-mark i { font-size: 2rem; }

.feature {
  align-items: center;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  margin: 4.5rem 0;
}

.feature-reverse { grid-template-columns: minmax(17rem, 0.75fr) minmax(0, 1.25fr); }
.feature-reverse .image { order: 2; }
.feature .content p { line-height: 1.7; }

.isomorphic-design-image {
  aspect-ratio: 1503 / 1300;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(10, 40, 40, 0.09);
  overflow: hidden;
}

.feature .isomorphic-design-image img {
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem !important;
  text-transform: uppercase;
}

.video-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.experiment-heading {
  margin-top: 4rem;
}

.experiment-heading:first-of-type {
  margin-top: 0;
}

.paired-video-grid {
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 1rem;
}

.paired-video-grid video {
  background: #101818;
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(14, 49, 51, 0.15);
  display: block;
  width: 100%;
}
.graph-pair {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.graph-pair figure { margin: 0; }
.graph-pair img {
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(10, 40, 40, 0.09);
  width: 100%;
}

.graph-pair figcaption {
  font-family: "Google Sans", sans-serif;
  font-weight: 600;
  padding-top: 0.7rem;
  text-align: center;
}

.graph-heading { margin-top: 3.5rem; }

.bibtex-wrap { position: relative; }
.bibtex-wrap pre { overflow-x: auto; padding: 1.5rem; }
#copy-bibtex { position: absolute; right: 0.75rem; top: 0.75rem; }
.footer { padding: 2.5rem 1.5rem; }

@media screen and (max-width: 768px) {
  .publication-title { font-size: 2rem !important; }
  .system-pair { grid-template-columns: 1fr; }
  .isomorphic-mark { flex-direction: row; justify-content: center; }
  .isomorphic-mark i { transform: rotate(90deg); }
  .feature, .feature-reverse { display: flex; flex-direction: column; gap: 1.5rem; margin: 3rem 0; }
  .feature-reverse .image { order: 0; }
  .video-grid, .graph-pair { grid-template-columns: 1fr; }
}

@media screen and (max-width: 480px) {
  .bibtex-wrap pre { padding-top: 3.5rem; }
}
