body {
  font-family: 'Noto Sans', sans-serif;
  color: #1f2937;
  background: #ffffff;
}

a {
  color: #0f766e;
}

a:hover {
  color: #115e59;
}

.project-hero {
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(251, 146, 60, 0.1), transparent 28%),
    linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);
}

.publication-title,
.publication-authors,
.eyebrow {
  font-family: 'Google Sans', sans-serif;
}

.publication-title {
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.acronym-mark {
  font-size: 1.16em;
  font-weight: 800;
  color: #0f766e;
}

.accent-text {
  color: #0f766e;
}

.title .accent-text,
.section-statement .accent-text,
.body-copy .accent-text {
  color: #0f766e !important;
}

.title-tail {
  font-size: 0.72em;
  font-weight: 500;
  white-space: nowrap;
}

.eyebrow {
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.venue-label {
  color: #b45309;
  letter-spacing: 0.12em;
  margin-top: 1.35rem;
  margin-bottom: 0.35rem;
}

.hero-summary {
  max-width: 46rem;
  margin: 1.5rem auto;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #374151;
}

.publication-authors a {
  color: #0f766e !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

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

.publication-links {
  margin-top: 1.15rem;
}

.link-block a {
  margin: 0.35rem 0.25rem;
}

.action-button {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.12);
}

.action-button.is-light {
  background: #fff;
  border-color: #d6d3d1;
  color: #1f2937;
  box-shadow: none;
}

.action-button:hover {
  color: #fff;
  background: #111827;
  border-color: #111827;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
}

.inline-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.action-button.is-light:hover {
  color: #1f2937;
  background: #f8fafc;
  border-color: #cbd5e1;
}

.edit-note,
.body-copy {
  color: #4b5563;
  font-size: 1.3rem;
  line-height: 1.8;
}

.edit-note {
  max-width: 42rem;
  margin: 1.75rem auto 0;
}

.teaser-section .hero-body {
  padding-top: 0;
}

.teaser-frame,
.feature-panel,
.gallery-card,
.publication-video,
.rounded-media {
  border-radius: 0;
}

.teaser-frame {
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: #fff;
}

.teaser-frame img,
.rounded-media {
  display: block;
  width: 100%;
  height: auto;
}

.teaser-copy,
.video-note,
.gallery-note {
  margin-top: 1.5rem;
  color: #4b5563;
}

.gallery-note {
  line-height: 1.8;
}

.section-statement {
  font-size: 1.75rem !important;
  font-weight: 700;
  line-height: 1.45;
}

.section-surface {
  background: rgba(255, 255, 255, 0.65);
}

.feature-panel {
  margin-top: 2rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.5);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.framework-copy {
  font-size: 0.98rem;
  line-height: 1.5;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.result-video-embed {
  position: static;
  height: auto;
  padding-bottom: 0 !important;
  overflow: visible;
  box-shadow: none;
  margin-bottom: 0.4rem;
}

.result-video-embed video {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.plain-inline-video {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 0.35rem 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.video-placeholder {
  min-height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border-radius: 0;
  border: 1px dashed rgba(15, 118, 110, 0.45);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 24%),
    linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.video-placeholder-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 700;
}

.video-placeholder-title {
  margin: 0.75rem auto 1rem;
  max-width: 36rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.8rem;
  line-height: 1.3;
  color: #111827;
}

.gallery-grid {
  margin-top: 2rem;
}

.gallery-card {
  height: 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(203, 213, 225, 0.5);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.gallery-card .title {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.result-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}

.result-row + .result-row {
  margin-top: 1.75rem;
}

.result-figure-card,
.result-video-card {
  height: 100%;
}

.result-video-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.09), transparent 24%),
    linear-gradient(135deg, #f8fafc 0%, #fff7ed 100%);
  border-radius: 0;
  padding: 1.25rem;
}

.figure-pair-row {
  align-items: stretch;
  margin-top: 1.5rem;
}

.figure-8-intro {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.force-video-row {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.force-comparison-video {
  width: 100%;
}

.figure-9-row {
  margin-top: 1.5rem;
}

.figure-panel {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}

.figure-panel .title {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
}

.pure-figure-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
}

.pure-figure-media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
  clip-path: inset(0 round 0);
  overflow: visible !important;
}

.plain-result-figure {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.plain-result-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0 !important;
  box-shadow: none;
  background: transparent;
  clip-path: inset(0 round 0);
}

.plain-result-figure figcaption {
  margin-top: 1rem;
}

.section-lead {
  max-width: 52rem;
  margin: 0 auto;
}

.rmse-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
}

.rmse-project-table {
  table-layout: auto;
}

.rmse-project-table th,
.rmse-project-table td {
  text-align: center;
  vertical-align: middle;
}

.table-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.table-card .title {
  min-height: 0;
  margin-bottom: 0.75rem;
}

.table-columns {
  align-items: flex-start;
}

.table-note {
  margin-bottom: 1rem;
}

.table-scroll {
  overflow-x: auto;
}

.project-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.94rem;
  background: #ffffff;
  border-top: 2px solid #111827;
  border-bottom: 2px solid #111827;
}

.project-table th,
.project-table td {
  padding: 0.4rem 0.55rem;
  text-align: center !important;
  border-bottom: 1px solid #d1d5db;
  vertical-align: middle;
}

.project-table th > *,
.project-table td > * {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

.project-table th mjx-container,
.project-table td mjx-container {
  display: block !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.project-table thead th {
  background: transparent;
  color: #111827;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  border-bottom: 1.5px solid #111827;
  height: 4.6rem;
}

.compact-header-table thead th {
  white-space: normal;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.15;
}

.project-table tbody tr {
  height: 3.4rem;
}

.header-nowrap {
  white-space: nowrap;
}

.stacked-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
}

.g1-table th,
.g1-table td {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.g1-table thead th {
  font-size: 0.78rem;
}

.g1-table thead th:last-child {
  font-size: 0.76rem;
}

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

.simulation-strip-section {
  padding-top: 1rem;
}

.simulation-strip {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.simulation-card {
  flex: 0 0 min(56rem, 96%);
  min-width: min(56rem, 96%);
  scroll-snap-align: start;
}

.simulation-card-title {
  margin-bottom: 0.9rem !important;
  text-align: center;
  font-size: 1.45rem !important;
}

.simulation-video {
  width: 100%;
  background: #ffffff;
}

.simulation-strip::-webkit-scrollbar {
  height: 0.8rem;
}

.simulation-strip::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 999px;
}

.simulation-strip::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 999px;
}

.footer {
  background: #fffaf2;
}

.footer-links {
  margin-bottom: 1.5rem;
}

.footer .icon-link {
  font-size: 1.4rem;
  color: #1f2937;
  margin: 0 0.35rem;
}

.footer-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.footer-copy {
  color: #4b5563;
}

pre code {
  display: block;
  overflow-x: auto;
  border-radius: 16px;
  background: #111827;
  color: #f8fafc;
  padding: 1.25rem;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2.5rem !important;
    line-height: 1.05;
  }

  .hero-summary {
    font-size: 1.05rem;
  }

  .feature-panel {
    padding: 1.25rem;
  }

  .title-tail {
    white-space: normal;
  }

  .simulation-card {
    flex-basis: 94%;
    min-width: 94%;
  }

}
