/* Desktop casting navigation: keep both reels in the arrival viewport. */
@media (min-width: 901px) {
  body[data-site="acting"] #profiles .section-heading { margin-bottom: 0; }
  body[data-site="acting"] #profiles .section-heading h2 { padding-bottom: 0; }
  body[data-site="acting"] #profiles .acting-grid { border-top: 1px solid rgba(212, 212, 220, 0.12); }
  body[data-site="acting"] #profiles .performer-plate { border-top: 0; padding-top: 24px; }
  /* Let Contact follow the actual work content rather than a centred empty section. */
  body[data-site="acting"] #performance {
    /* Fill the arrival screen before Contact starts; the anchor offset includes header rounding. */
    --showreel-section-top-space: clamp(96px, 7.4vw, 190px);
    min-height: calc(100svh + var(--showreel-section-top-space) - var(--anchor-offset, 110px) + 16px);
    padding-bottom: clamp(24px, 3vh, 32px);
  }
  body[data-site="acting"] #performance + #contact {
    /* Leave enough document height for Contact to reach the header without bottom clamping. */
    min-height: calc(100svh - var(--acting-landing-header-height, 81px) - var(--acting-landing-footer-height, 124px) + 2px);
    padding-top: 0;
    align-items: start;
  }
  /* Keep the divider visible as soon as the Showreel landing reaches it. */
  body[data-site="acting"] #performance + #contact .contact-inner {
    opacity: 1;
    filter: none;
    transform: none;
  }
  body[data-site="acting"] #performance .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: clamp(20px, 3vh, 32px);
    margin-bottom: clamp(24px, 3.6vh, 40px);
  }
  body[data-site="acting"] #performance .section-heading .section-kicker {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.2;
  }
  body[data-site="acting"] #performance #performance-title {
    margin: 0;
    padding: 0;
    font-size: clamp(48px, 5.2vw, 88px);
    line-height: 1.1;
    white-space: nowrap;
    text-wrap: nowrap;
  }
  body[data-site="acting"] #performance .performance-filters {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto clamp(24px, 4.8vh, 52px);
    border: 0;
  }
  body[data-site="acting"] #performance .performance-filters .filter-button {
    min-height: 48px;
    padding: 12px 8px;
    font-size: 11px;
    letter-spacing: .1em;
  }
  body[data-site="acting"] #performance .work-list.has-inline-showreels {
    width: 100%;
    max-width: clamp(560px, calc((100svh - 460px) * 3.5556), 1400px);
    margin-inline: auto;
    gap: 24px;
  }
}
@media (min-width: 901px) and (max-height: 600px) {
  body[data-site="acting"] #performance .section-heading {
    padding-top: 12px;
    margin-bottom: 12px;
  }
  body[data-site="acting"] #performance #performance-title { font-size: 32px; }
  body[data-site="acting"] #performance .performance-filters { margin-bottom: 12px; }
  body[data-site="acting"] #performance .performance-filters .filter-button { min-height: 40px; }
}

@media (min-width: 1800px) {
  body[data-site="acting"] #performance {
    --showreel-section-top-space: clamp(108px, 6vw, 168px);
  }
}
