/* Third-round typography and poster integration. */
.hero-poster {
  position: relative;
  z-index: 2;
  width: min(38vw, 540px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: #080b24;
  box-shadow:
    0 46px 110px rgba(0, 0, 0, .58),
    0 0 80px rgba(73, 191, 255, .18),
    -18px 18px 65px rgba(255, 106, 61, .12);
  transform: rotateY(-13deg) rotateX(7deg) rotateZ(-3deg);
  transform-style: preserve-3d;
  animation: heroPosterFloat 9s ease-in-out infinite;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(255, 255, 255, .2), transparent 24% 74%, rgba(73, 191, 255, .08));
  pointer-events: none;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-heading > div {
  min-width: 0;
  flex: 1 1 auto;
}

.section-heading > p {
  flex: 0 0 360px;
  max-width: 360px;
}

.section-heading h2 {
  max-width: none;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -.055em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.organizers h2 {
  max-width: 15ch;
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
}

.final-copy h2 {
  text-wrap: balance;
}

@keyframes heroPosterFloat {
  0%, 100% { transform: rotateY(-13deg) rotateX(7deg) rotateZ(-3deg) translateY(-8px); }
  50% { transform: rotateY(-9deg) rotateX(4deg) rotateZ(-1deg) translateY(13px); }
}

@media (max-width: 980px) {
  .hero-poster {
    width: min(56vw, 520px);
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .section-heading > p {
    flex-basis: auto;
    max-width: 620px;
  }

  .section-heading h2 {
    font-size: clamp(36px, 7vw, 54px);
    white-space: normal;
    text-wrap: balance;
  }
}

@media (max-width: 640px) {
  .hero-poster {
    width: 340px;
    border-radius: 13px;
    transform: rotateY(-8deg) rotateX(5deg) rotateZ(-2deg);
  }

  .section-heading h2 {
    font-size: clamp(32px, 9.2vw, 42px);
  }

  .organizers h2 {
    max-width: none;
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-poster {
    animation: none;
  }
}
