@layer components {
  .site-nav a[aria-current]::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .hero-watch,
  .page-link-row {
    display: flex;
    justify-content: center;
    margin-top: var(--space-8);
  }

  .hero-watch .icon {
    color: var(--yellow-500);
  }

  .backstage-link {
    margin-top: var(--space-5);
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-6);
    padding-block: var(--space-4);
    color: var(--navy-900);
    font-size: .9rem;
    font-weight: 700;
  }

  .page-intro {
    padding-block: clamp(2.5rem, 7vw, 5.75rem) clamp(2rem, 5vw, 4rem);
  }

  .page-intro__inner {
    position: relative;
    display: grid;
    align-items: center;
    gap: clamp(1.75rem, 5vw, 4rem);
  }

  .page-intro:not(.page-intro--with-photo) .page-intro__copy {
    margin-inline: auto;
    text-align: center;
  }

  .page-intro h1 {
    max-width: 15ch;
    margin: var(--space-3) auto 0;
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: .99;
    text-wrap: balance;
  }

  .page-intro--with-photo h1 {
    margin-left: 0;
  }

  .page-intro--theatre {
    padding-block: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
  }

  .page-intro--theatre h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
  }

  .page-intro__lede {
    max-width: 36rem;
    margin-top: var(--space-5);
    color: var(--text-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
  }

  .page-intro__photo {
    width: 100%;
    max-width: 33rem;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 48%;
    border: .3rem solid var(--cream-50);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
  }

  .page-section {
    margin-block: clamp(2.25rem, 5vw, 4.5rem);
    scroll-margin-block-start: var(--space-6);
  }

  .page-section .section-heading {
    margin-bottom: var(--space-5);
  }

  .editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: clamp(.9rem, 2vw, 1.5rem);
  }

  .editorial-card,
  .editorial-panel {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
  }

  .editorial-card {
    overflow: hidden;
    border-top: .25rem solid var(--offering-color, var(--accent));
  }

  .editorial-card__body,
  .editorial-panel {
    padding: clamp(1.2rem, 3vw, 2rem);
  }

  .editorial-card h3 {
    color: var(--navy-900);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
    line-height: 1.1;
  }

  .editorial-card p,
  .bio-panel__copy > p {
    margin-top: var(--space-3);
    color: var(--text-muted);
  }

  .editorial-card .editorial-card__detail {
    color: var(--navy-900);
    font-weight: 800;
  }

  .editorial-card__photo {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
  }

  .editorial-list,
  .editorial-tags,
  .guide-links {
    display: grid;
    gap: var(--space-2);
    list-style: none;
  }

  .editorial-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .editorial-list .icon {
    flex: 0 0 1.05rem;
    margin-top: .27rem;
    color: var(--navy-800);
  }

  .editorial-tags {
    display: flex;
    flex-wrap: wrap;
  }

  .editorial-tags li {
    padding: .4rem .85rem;
    border-radius: var(--radius-pill);
    background: var(--cream-300);
    color: var(--navy-900);
    font-weight: 800;
  }

  .backstage-cast {
    width: 100%;
  }

  .backstage-puppets .editorial-card__photo {
    aspect-ratio: 3 / 4;
  }

  .bio-panel {
    display: grid;
    align-items: start;
    gap: var(--space-5);
  }

  .bio-panel__photo {
    width: 100%;
    border-radius: var(--radius-md);
  }

  .theatre-wrap {
    max-width: 65rem;
  }

  .theatre {
    max-width: 46rem;
    margin-inline: auto;
    color: var(--navy-900);
  }

  .theatre__stage {
    position: relative;
    isolation: isolate;
    aspect-ratio: 1;
    overflow: hidden;
  }

  .theatre__screen {
    /* Aperture in the artwork's shared 1024×1024 canvas. */
    position: absolute;
    left: calc(186 / 1024 * 100%);
    top: calc(253 / 1024 * 100%);
    width: calc(654 / 1024 * 100%);
    height: calc(441 / 1024 * 100%);
    overflow: hidden;
    background: #090e19;
  }

  .theatre__art,
  .theatre__art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
  }

  .theatre__art {
    z-index: 1;
  }

  .theatre__curtain {
    visibility: hidden;
  }

  @media (prefers-reduced-motion: no-preference) {
    .js [data-pose="0"] [data-curtain="0"],
    .js [data-pose="25"] [data-curtain="25"],
    .js [data-pose="50"] [data-curtain="50"],
    .js [data-pose="75"] [data-curtain="75"] {
      visibility: visible;
    }
  }

  .theatre__hand {
    /* Both hand illustrations share the same pivot. */
    transform-origin: calc(515.5 / 1024 * 100%) calc(860 / 1024 * 100%);
  }

  .theatre__poster,
  .theatre__screen video,
  .theatre__screen iframe {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    background: #090e19;
    object-fit: contain;
  }

  .theatre__poster img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .theatre__poster {
    padding: 0;
    cursor: pointer;
  }

  .theatre__poster[hidden] {
    display: none;
  }

  .theatre__play-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    width: clamp(3.25rem, 8vw, 4.75rem);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    place-items: center;
    border: 2px solid var(--cream-50);
    border-radius: var(--radius-pill);
    background: var(--navy-900);
    color: var(--cream-50);
    box-shadow: var(--shadow-md);
  }

  .theatre__play-icon .icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .theatre__poster:hover .theatre__play-icon,
  .theatre__poster:focus-visible .theatre__play-icon {
    background: var(--red-700);
  }

  .theatre__poster:focus-visible {
    outline-color: var(--yellow-500);
    outline-offset: -3px;
  }

  .theatre__details {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: space-between;
    gap: var(--space-2) var(--space-5);
    padding: var(--space-4) var(--space-2) var(--space-1);
  }

  .theatre__details h2,
  .theatre-playlist h2 {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.2;
  }

  .theatre__details p {
    margin-top: var(--space-1);
    color: var(--text-muted);
  }

  .theatre__details .theatre__status {
    color: var(--red-700);
  }

  .theatre__status:empty {
    display: none;
  }

  .theatre-playlist {
    margin-top: var(--space-6);
    color: var(--navy-900);
  }

  .theatre-playlist ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--space-3);
    margin-top: var(--space-3);
    list-style: none;
  }

  .clip-picker {
    display: flex;
    width: 100%;
    min-height: 100%;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .clip-picker:hover,
  .clip-picker[aria-current] {
    border-color: var(--navy-800);
    background: var(--cream-50);
  }

  .clip-picker img {
    width: 4.15rem;
    flex-shrink: 0;
    aspect-ratio: 654 / 441;
    border-radius: var(--radius-sm);
    object-fit: cover;
  }

  .clip-picker strong,
  .clip-picker span span {
    display: block;
    line-height: 1.4;
  }

  .clip-picker span span {
    color: var(--text-muted);
    font-size: .85rem;
  }

  @media (min-width: 48.01rem) {
    .page-intro--with-photo .page-intro__inner {
      grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    }
  }

  @media (min-width: 62rem) {
    .bio-panel {
      grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    }
  }
}
