.project-hero-inner {
  max-width: 940px;
  padding: 60px 0 54px;
}

.project-hero h1 {
  max-width: 900px;
}

.film-section {
  padding-top: 48px;
}

.film-frame {
  max-width: 1120px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(29, 24, 23, 0.18);
  border-radius: calc(var(--radius) + 4px);
  background: #141110;
  box-shadow: 0 24px 60px rgba(29, 24, 23, 0.22);
}

.film-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #141110;
  object-fit: contain;
}

.film-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.film-frame figcaption strong {
  color: #fff;
  font-size: 16px;
}

.project-cta-copy {
  max-width: 820px;
}

.project-cta h2 {
  max-width: 720px;
}

.project-cta-copy > p {
  max-width: 720px;
  font-size: 18px;
}

.tour-guide {
  margin-top: 52px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.tour-guide-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.tour-guide-heading h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
}

.tour-guide-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.tour-routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.tour-route-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.tour-route-media {
  position: relative;
  height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border-right: 1px solid var(--line);
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  background: var(--soft);
  color: var(--ink);
  cursor: zoom-in;
  font: inherit;
  text-decoration: none;
}

.tour-route-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
}

.tour-media-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(29, 24, 23, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
}

.tour-route-media:hover .tour-media-hint,
.tour-route-media:focus-visible .tour-media-hint {
  background: var(--brand-dark);
}

.image-lightbox {
  width: min(94vw, 1200px);
  max-width: none;
  max-height: 94vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.image-lightbox::backdrop {
  background: rgba(18, 14, 13, 0.88);
  backdrop-filter: blur(4px);
}

.image-lightbox-shell {
  position: relative;
  display: grid;
  justify-items: center;
  max-height: 94vh;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--radius) + 4px);
  background: #171312;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.image-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(94vh - 92px);
  object-fit: contain;
}

.image-lightbox p {
  margin: 12px 48px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(29, 24, 23, 0.88);
  color: #fff;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: var(--brand);
}

.tour-route-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 44px);
}

.route-number {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.tour-route-copy h4 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.tour-route-copy ol {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.tour-route-copy li {
  padding-left: 4px;
}

.tour-route-copy li + li {
  margin-top: 7px;
}

.tour-vr-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.credits-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 36px;
  align-items: start;
}

.report-card {
  background: var(--soft);
  box-shadow: none;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 820;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .tour-route-card {
    grid-template-columns: 1fr;
  }

  .tour-route-media {
    height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .project-hero-inner {
    padding: 46px 0 42px;
  }

  .film-section {
    padding-top: 30px;
  }

  .film-frame {
    border-radius: var(--radius);
  }

  .film-frame figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .tour-guide {
    margin-top: 38px;
    padding-top: 32px;
  }

  .tour-route-media {
    height: 330px;
  }

  .tour-route-copy {
    padding: 18px;
  }

  .image-lightbox-shell {
    padding: 10px;
  }

  .image-lightbox img {
    max-height: calc(94vh - 78px);
  }

  .image-lightbox p {
    margin-right: 42px;
    margin-left: 42px;
    font-size: 12px;
  }
}
