* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: #1f1f1f;
  background: #ffffff;
  line-height: 1.65;
}

a {
  color: #2f6fed;
  text-decoration: none;
}

a:hover {
  color: #1d4ed8;
}

.page-shell {
  width: min(calc(100% - 32px), 1140px);
  margin: 0 auto;
}

.hero-block {
  padding: 38px 0 24px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: #2d8cff;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.publication-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-authors {
  max-width: 900px;
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 0.45rem;
  font-size: 1rem;
  line-height: 1.9;
}

.author-entry {
  white-space: nowrap;
}

.author-name {
  color: #2f6fed;
}

.hero-affiliations {
  max-width: 1140px;
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  color: #1f1f1f;
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero-affiliation {
  text-align: center;
}

.hero-note {
  margin: 6px auto 0;
  color: #1f1f1f;
  font-size: 0.95rem;
}

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

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: #2f3136;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hero-action:hover {
  color: #ffffff;
}

.hero-action.is-disabled {
  opacity: 0.68;
  cursor: default;
}

.hero-action .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.intro-section {
  padding: 14px 0 12px;
}

.intro-figure {
  margin: 14px 0 22px;
}

.crop-shell {
  border-radius: 10px;
  overflow: visible;
}

.intro-figure__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.intro-heading {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e0ea;
  color: #1f1f1f;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.intro-copy {
  margin: 0 0 12px;
  color: #1f1f1f;
  font-size: 1rem;
  line-height: 1.65;
}

.content-section {
  padding: 14px 0 12px;
}

.content-section h2 {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d9e0ea;
  font-size: 1.6rem;
  font-weight: 700;
}

.content-section p {
  margin: 0 0 12px;
  font-size: 1rem;
}

.overview-grid,
.panel-grid {
  display: grid;
  gap: 18px;
  margin: 16px 0 24px;
}

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

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

.overview-card {
  display: block;
  padding: 14px 13px 12px;
  border: 1px solid #b8d7ff;
  border-radius: 14px;
  background: #edf5ff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(45, 140, 255, 0.08);
}

.overview-card h3 {
  margin: 0 0 8px;
  color: #1262d6;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
}

.overview-card p {
  margin: 0;
  color: #22508d;
  font-size: 0.84rem;
  line-height: 1.52;
}

.panel {
  padding: 14px;
  border: 1px solid #d9e0ea;
  border-radius: 14px;
  background: #ffffff;
}

.panel--wide {
  grid-column: 1 / -1;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.panel p {
  margin: 10px 0 0;
  color: #667085;
  font-size: 0.96rem;
}

.placeholder-box {
  min-height: 220px;
  border: 1px dashed #d9e0ea;
  border-radius: 12px;
  background: #f7f9fc;
  color: #667085;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem;
}

.figure-box {
  min-height: 0;
  border-style: solid;
  background: #ffffff;
  padding: 0.75rem;
}

.figure-box__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.paper-figure {
  margin: 0;
}

.paper-figure-grid {
  display: grid;
  grid-template-columns: 1.65fr 1.35fr;
  gap: 18px;
  align-items: start;
}

.paper-figure__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: #ffffff;
}

.paper-figure__caption {
  margin: 12px 4px 0;
  color: #4f5f75;
  font-size: 0.95rem;
  line-height: 1.65;
}

.paper-figure__caption strong {
  color: #243447;
}

.paper-figure--primary .paper-figure__image {
  width: 78%;
  margin: 0 auto;
}

.paper-figure--secondary .paper-figure__image {
  width: 100%;
  height: 100%;
  background: #ffffff;
  object-fit: contain;
}

.experiment-figure-stack {
  display: grid;
  gap: 18px;
}

.experiment-figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.experiment-subgroup {
  display: grid;
  gap: 12px;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: stretch;
}

.experiment-figure {
  margin: 0;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.experiment-figure--half {
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.experiment-figure--vcenter {
  align-items: center;
}

.experiment-figure__image {
  display: block;
  width: 100%;
  height: auto;
}

.experiment-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #667085;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.experiment-divider::before,
.experiment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cfd6df;
}

.experiment-divider--major {
  font-size: 0.98rem;
}

.experiment-divider--minor {
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.section-divider {
  margin-bottom: 12px;
}

pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid #d9e0ea;
  border-radius: 12px;
  background: #f7f9fc;
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-footer {
  padding: 26px 0 40px;
  text-align: center;
  color: #667085;
  font-size: 0.92rem;
}

@media screen and (max-width: 768px) {
  .hero-action {
    min-height: 48px;
    padding: 0 18px;
  }

  .hero-authors {
    gap: 0.15rem 0.35rem;
    line-height: 1.8;
  }

  .hero-affiliations {
    display: block;
  }

  .hero-affiliation {
    display: block;
    margin-top: 0.15rem;
  }

  .overview-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .experiment-figure-grid {
    grid-template-columns: 1fr;
  }

  .paper-figure-grid {
    grid-template-columns: 1fr;
  }

}
