/* Only Lunar loads this stylesheet; shared research Heroes stay unchanged. */
.research-page[data-project="lunar-construction"] .lunar-hero {
  --hero-height: clamp(760px, 62.5vw, 1080px);
  --hero-poster: url('./projects/lunar-construction/media/lunar-localization-hero-poster.jpg');
  --hero-focal: 50% 50%;
  min-height: var(--hero-height);
}
.research-page .lunar-hero .hero-media-primary {
  inset: 0;
  display: block;
  background: var(--hero-poster) var(--hero-focal) / cover no-repeat;
}
.research-page .lunar-hero .hero-media-primary video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focal);
  mask-image: none;
}
.research-page .lunar-hero .hero-overlay {
  min-height: var(--hero-height);
  align-items: center;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 56px) var(--page-gutter) clamp(24px, 2.8vw, 40px);
  text-align: center;
  /* Keep the original scrim and bottom alignment for the publication. */
  background: linear-gradient(180deg, #090d1373, transparent 32%, transparent 60%, #090d1399 82%, #090d13d9);
}
.research-page .lunar-hero .lunar-hero-publication {
  width: min(100%, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 4px #000a;
}
.research-page .lunar-page .lunar-hero .lunar-hero-paper-title {
  max-width: 820px;
  margin: 0;
  color: inherit;
  font-size: clamp(20px, 1.65vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.research-page .lunar-hero .lunar-authors {
  font-size: 16px;
  line-height: 1.5;
  color: #edf1f5;
}
.research-page .lunar-hero sup { font-size: .72em; line-height: 0; }
.research-page .lunar-hero .lunar-journal {
  font-size: 14px;
  line-height: 1.5;
  color: #cad6df;
}
.research-page .lunar-hero .lunar-hero-affiliations {
  max-width: 740px;
  font-size: 14px;
  line-height: 1.6;
  color: #c3cfdb;
}
.research-page .lunar-hero .lunar-hero-affiliations summary {
  width: fit-content;
  margin-inline: auto;
  cursor: pointer;
  text-underline-offset: 3px;
  text-decoration: underline dotted;
}
.research-page .lunar-hero .lunar-hero-affiliations summary:focus-visible {
  outline: 2px solid var(--lunar-accent);
  outline-offset: 5px;
}
.research-page .lunar-hero .lunar-affiliations { margin-top: 12px; font-size: inherit; line-height: inherit; }
.research-page .lunar-hero .lunar-affiliations p + p { margin-top: 6px; }
@media (max-width: 700px) {
  .research-page[data-project="lunar-construction"] .lunar-hero {
    --hero-height: 720px;
    /* Favor the worker and projected points in the portrait crop. */
    --hero-focal: 30% 50%;
  }
  .research-page .lunar-hero .hero-overlay { padding-block: 24px; }
  .research-page .lunar-page .lunar-hero .lunar-hero-paper-title { font-size: 18px; }
  .research-page .lunar-hero .lunar-authors { font-size: 14px; }
  .research-page .lunar-hero .lunar-hero-publication { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .research-page .lunar-hero .lunar-hero-video { visibility: hidden; }
}
