/* Performance — NET 5 */

.performance-index {
  width: min(92vw, 1500px);
  margin: 0 auto;
  scroll-margin-top: 84px;
}

.performance-index h2 {
  margin: 0 0 clamp(70px, 9vw, 140px);
  font-family: var(--optima);
  font-size: clamp(2.6rem, 5.6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.performance-feature-card {
  display: block;
  width: min(86vw, 1320px);
  margin-left: auto;
  color: inherit;
  text-decoration: none;
}

.performance-feature-card figure {
  aspect-ratio: 1170 / 650;
  margin: 0;
  overflow: hidden;
  background: #000;
}

.performance-feature-card video,
.performance-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.performance-feature-card:hover video,
.performance-feature-card:focus-visible video,
.performance-feature-card:hover img,
.performance-feature-card:focus-visible img {
  opacity: 0.92;
  transform: scale(1.012);
}

.performance-feature-card + .performance-feature-card {
  margin-top: clamp(90px, 12vw, 200px);
}

.body-structure-feature-card figure {
  aspect-ratio: 1600 / 1066;
  background: #f7f7f5;
}

.performance-feature-card:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 6px;
}

.performance-feature-caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  font-family: var(--optima);
  font-size: clamp(0.9rem, 1.1vw, 1.15rem);
  line-height: 1.25;
}

.performance-feature-caption strong {
  font-weight: 400;
}

.net5-story {
  overflow: hidden;
  padding: clamp(18px, 2vw, 34px) 0 clamp(90px, 12vw, 190px);
}

.net5-page .project-page-header .site-nav a:first-child {
  text-decoration: none;
}

.net5-page .project-page-header .site-nav a:first-child:hover,
.net5-page .project-page-header .site-nav a:first-child:focus-visible {
  text-decoration: underline;
}

.net5-return {
  margin-bottom: clamp(22px, 3vw, 42px);
}

.net5-film {
  width: min(96vw, 1680px);
  margin: 0 auto;
  background: #000;
}

.net5-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.net5-intro {
  width: min(92vw, 1500px);
  margin: clamp(44px, 6vw, 96px) auto clamp(70px, 9vw, 145px);
}

.net5-intro h1 {
  margin: 0;
}

.net5-intro h1 {
  font-family: var(--optima);
  font-size: clamp(5rem, 13vw, 12.5rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.72;
}

.net5-hook {
  width: min(86vw, 1280px);
  margin: 0 auto clamp(130px, 17vw, 280px);
}

.net5-hook p {
  max-width: 30ch;
  margin: 0;
  font-family: var(--optima);
  font-size: clamp(1.9rem, 3.5vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.net5-documentation,
.net5-live {
  width: 100%;
  margin-bottom: clamp(160px, 20vw, 330px);
}

.net5-section-heading {
  width: min(92vw, 1500px);
  margin: 0 auto clamp(52px, 7vw, 110px);
}

.net5-section-heading h2 {
  margin: 0;
}

.net5-section-heading h2 {
  font-family: var(--optima);
  font-size: clamp(2.2rem, 5vw, 6.25rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.net5-body-grid,
.net5-live-triptych,
.net5-live-duo,
.net5-live-closing {
  display: grid;
  width: min(92vw, 1500px);
  margin-right: auto;
  margin-left: auto;
}

.net5-body-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 30px);
}

.net5-body-grid figure {
  aspect-ratio: 570 / 550;
  overflow: hidden;
}

.net5-body-grid figure,
.net5-live-features figure,
.net5-live-triptych figure,
.net5-live-duo figure,
.net5-live-closing figure {
  margin: 0;
}

.net5-body-grid img,
.net5-live-features img,
.net5-live-triptych img,
.net5-live-duo img,
.net5-live-closing img {
  display: block;
  width: 100%;
  height: auto;
}

.net5-body-grid img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.net5-live-features {
  display: grid;
  gap: clamp(70px, 10vw, 170px);
  width: min(92vw, 1500px);
  margin: 0 auto clamp(110px, 14vw, 230px);
}

.net5-live-features figure:first-child {
  width: min(84%, 1170px);
}

.net5-live-features figure:last-child {
  width: min(84%, 1170px);
  margin-left: auto;
}

.net5-live-triptych {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 36px);
  margin-bottom: clamp(110px, 14vw, 230px);
}

.net5-live-duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 72px);
  width: min(78vw, 1180px);
  margin-bottom: clamp(110px, 14vw, 230px);
}

.net5-live-closing {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 72px);
  width: min(78vw, 1180px);
  margin-bottom: clamp(110px, 14vw, 230px);
}

.net5-live-closing figure {
  aspect-ratio: 731 / 468;
  overflow: hidden;
}

.net5-live-closing img {
  height: 100%;
  object-fit: cover;
}

.net5-gallery {
  width: 100%;
  margin: 0 0 clamp(160px, 20vw, 330px);
}

.net5-film-stills,
.net5-portrait-stills {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 82px);
  margin-right: auto;
  margin-left: auto;
}

.net5-film-stills {
  width: min(94vw, 1600px);
  margin-bottom: clamp(130px, 17vw, 280px);
}

.net5-portrait-stills {
  width: min(94vw, 1170px);
}

.net5-film-stills figure,
.net5-portrait-stills figure {
  margin: 0;
}

.net5-film-stills img,
.net5-portrait-stills img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.net5-portrait-stills .net5-crop-top {
  overflow: hidden;
}

.net5-portrait-stills .net5-crop-top img {
  transform: scale(var(--net5-crop-scale));
  transform-origin: center bottom;
}

.net5-crop-top-light {
  --net5-crop-scale: 1.03;
}

.net5-crop-top-deep {
  --net5-crop-scale: 1.05;
}

.net5-credits {
  width: min(92vw, 1500px);
  margin: clamp(130px, 17vw, 280px) auto 0;
  border-top: 1px solid var(--line);
}

.net5-credits p {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: 24px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(0.82rem, 1vw, 1rem);
}

.net5-credits span {
  color: var(--muted);
}

.net5-archive {
  width: 100%;
}

.net5-archive-pair figure {
  margin: 0;
}

.net5-archive-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2vw, 34px);
  width: min(94vw, 1850px);
  margin: 0 auto clamp(70px, 9vw, 150px);
}

.net5-archive-pair img {
  display: block;
  width: 100%;
  height: auto;
}

.net5-press-link {
  display: block;
  width: min(92vw, 1400px);
  margin: 0 auto;
  padding: clamp(18px, 2.2vw, 32px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  font-family: var(--optima);
  font-size: clamp(1.15rem, 2vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-decoration: none;
}

.net5-press-link:hover,
.net5-press-link:focus-visible {
  text-decoration: underline;
}

/* Performance — Body Structure */

.body-structure-story {
  overflow: hidden;
  padding: clamp(18px, 2vw, 34px) 0 clamp(90px, 12vw, 190px);
}

.body-structure-page .project-page-header .site-nav a:first-child {
  text-decoration: none;
}

.body-structure-page .project-page-header .site-nav a:first-child:hover,
.body-structure-page .project-page-header .site-nav a:first-child:focus-visible {
  text-decoration: underline;
}

.body-structure-return {
  margin-bottom: clamp(22px, 3vw, 42px);
}

.body-structure-hero {
  width: min(96vw, 1680px);
  margin: 0 auto;
  background: #f7f7f5;
}

.body-structure-hero img,
.body-structure-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.body-structure-intro {
  width: min(92vw, 1500px);
  margin: clamp(54px, 8vw, 132px) auto clamp(100px, 13vw, 220px);
}

.body-structure-intro h1 {
  margin: 0;
  font-family: var(--optima);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.78;
}

.body-structure-intro h1 span {
  display: block;
  font-size: clamp(4.3rem, 12.2vw, 12rem);
}

.body-structure-intro h1 small {
  display: block;
  max-width: 10ch;
  margin: clamp(20px, 3vw, 46px) 0 0 auto;
  font-size: clamp(1.45rem, 3.2vw, 3.55rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.body-structure-details {
  display: block;
  width: min(86vw, 1280px);
  margin: 0 auto clamp(100px, 13vw, 220px);
  padding-top: 0;
}

.body-structure-kicker {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.85vw, 0.85rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.body-structure-details h2 {
  margin: 0 0 clamp(36px, 5vw, 76px);
  font-family: var(--optima);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.body-structure-details-copy {
  padding-top: 0;
}

.body-structure-details-copy p {
  max-width: 50ch;
  margin: 0 0 clamp(30px, 4vw, 58px);
  font-family: var(--optima);
  font-size: clamp(1.35rem, 2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.body-structure-details-copy p:last-child {
  margin-bottom: 0;
}

.body-structure-details-copy a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.13em;
}

.body-structure-video {
  width: min(92vw, 1500px);
  margin: 0 auto clamp(130px, 17vw, 280px);
}

.body-structure-video-frame {
  position: relative;
  background: #0a0a0a;
}

.body-structure-video video {
  display: block;
  width: 100%;
  max-height: 88vh;
}

.body-structure-sound-toggle {
  position: absolute;
  right: clamp(12px, 1.6vw, 24px);
  bottom: clamp(12px, 1.6vw, 24px);
  padding: 8px 11px 7px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0;
  background: rgba(10, 10, 10, 0.7);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.72rem, 0.85vw, 0.84rem);
  line-height: 1;
}

.body-structure-sound-toggle:hover,
.body-structure-sound-toggle:focus-visible {
  background: #fff;
  color: #0a0a0a;
}

.body-structure-sound-toggle:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

.body-structure-gallery {
  width: 100%;
}

.body-structure-gallery figure {
  margin: 0;
}

.body-structure-gallery-feature {
  width: min(76vw, 1170px);
  margin: 0 auto clamp(80px, 10vw, 170px) 7vw !important;
}

.body-structure-gallery-pair {
  display: grid;
  align-items: start;
  gap: clamp(12px, 2.5vw, 48px);
  margin-right: auto;
  margin-left: auto;
}

.body-structure-gallery-pair-first {
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  width: min(90vw, 1440px);
  margin-bottom: clamp(120px, 16vw, 260px);
}

.body-structure-gallery-pair-first figure:last-child {
  padding-top: clamp(42px, 8vw, 140px);
}

.body-structure-gallery-solo {
  width: min(56vw, 860px);
  margin: 0 8vw clamp(120px, 16vw, 260px) auto !important;
}

.body-structure-gallery-pair-second {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  width: min(86vw, 1320px);
  margin-bottom: clamp(120px, 16vw, 260px);
}

.body-structure-gallery-pair-second figure:first-child {
  padding-top: clamp(60px, 10vw, 170px);
}

.body-structure-gallery-wide {
  width: min(94vw, 1600px);
  margin: 0 auto clamp(120px, 16vw, 260px) !important;
}

.body-structure-gallery-pair-third {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(78vw, 1200px);
  margin-bottom: clamp(120px, 16vw, 260px);
}

.body-structure-gallery-pair-third figure:first-child {
  padding-top: clamp(26px, 4vw, 74px);
}

.body-structure-gallery-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(14px, 3vw, 52px);
  width: min(92vw, 1500px);
  margin: 0 auto;
}

.body-structure-gallery-closing figure:last-child {
  align-self: end;
  padding-bottom: clamp(28px, 5vw, 92px);
}

.body-structure-gallery-extension {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 4vw, 72px);
  width: min(92vw, 1500px);
  margin: clamp(130px, 17vw, 280px) auto 0;
}

.body-structure-gallery-extension figure {
  margin: 0;
}

.body-structure-extra-overhead,
.body-structure-extra-portrait,
.body-structure-extra-motion,
.body-structure-extra-formation {
  grid-column: 1 / -1;
}

.body-structure-extra-overhead {
  width: min(86%, 1260px);
  margin-left: auto !important;
}

.body-structure-extra-solo {
  width: min(80%, 650px);
  justify-self: end;
}

.body-structure-extra-duo {
  width: min(80%, 650px);
  margin-top: clamp(70px, 10vw, 170px) !important;
}

.body-structure-extra-portrait {
  width: min(84%, 1240px);
  margin-top: clamp(90px, 13vw, 220px) !important;
}

.body-structure-extra-motion {
  margin-top: clamp(90px, 13vw, 220px) !important;
}

.body-structure-extra-formation {
  width: min(76%, 1120px);
  margin: clamp(90px, 13vw, 220px) 0 0 auto !important;
}

.body-structure-credits {
  width: min(92vw, 1500px);
  margin: clamp(130px, 17vw, 280px) auto 0;
  border-top: 1px solid var(--line);
}

.body-structure-credits p {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: 24px;
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(0.82rem, 1vw, 1rem);
}

.body-structure-credits span {
  color: var(--muted);
}

@media (max-width: 800px) {
  .performance-feature-card {
    width: 92vw;
    margin-left: 0;
  }

  .net5-film {
    width: 100vw;
  }

  .net5-intro {
    margin-bottom: 90px;
  }

  .net5-intro h1 {
    line-height: 0.8;
  }

  .net5-hook {
    width: 92vw;
    margin-bottom: 150px;
  }

  .net5-live-features figure:first-child,
  .net5-live-features figure:last-child {
    width: 92%;
  }

  .net5-live-duo {
    width: 86vw;
  }

  .net5-film-stills,
  .net5-portrait-stills {
    width: 92vw;
  }

  .body-structure-hero {
    width: 100vw;
  }

  .body-structure-gallery-feature {
    margin-left: 4vw !important;
  }

  .body-structure-gallery-solo {
    margin-right: 4vw !important;
  }
}

@media (max-width: 520px) {
  .performance-feature-caption {
    display: grid;
    gap: 5px;
  }

  .net5-story {
    padding-top: 10px;
  }

  .net5-return {
    width: 94vw;
  }

  .net5-intro {
    width: 90vw;
    margin-top: 42px;
  }

  .net5-hook {
    width: 90vw;
    margin-bottom: 120px;
  }

  .net5-documentation,
  .net5-live {
    margin-bottom: 140px;
  }

  .net5-section-heading {
    width: 90vw;
    margin-bottom: 42px;
  }

  .net5-body-grid,
  .net5-live-triptych {
    grid-template-columns: 1fr;
    width: 90vw;
    gap: 18px;
  }

  .net5-live-features {
    width: 100%;
    gap: 54px;
    margin-bottom: 90px;
  }

  .net5-live-features figure:first-child,
  .net5-live-features figure:last-child {
    width: 92vw;
  }

  .net5-live-features figure:last-child {
    margin-left: auto;
  }

  .net5-live-triptych,
  .net5-live-duo,
  .net5-live-closing {
    margin-bottom: 90px;
  }

  .net5-live-duo {
    width: 90vw;
    gap: 10px;
  }

  .net5-live-closing {
    grid-template-columns: 1fr;
    width: 90vw;
    gap: 28px;
  }

  .net5-credits {
    width: 90vw;
  }

  .net5-film-stills,
  .net5-portrait-stills {
    width: 90vw;
  }

  .net5-archive-pair,
  .net5-press-link {
    width: 90vw;
  }

  .net5-archive-pair {
    gap: 10px;
    margin-bottom: 70px;
  }

  .net5-credits p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .body-structure-story {
    padding-top: 10px;
  }

  .body-structure-return,
  .body-structure-intro {
    width: 90vw;
  }

  .body-structure-intro {
    margin-top: 42px;
    margin-bottom: 110px;
  }

  .body-structure-intro h1 span {
    font-size: clamp(3.9rem, 18vw, 6.4rem);
    line-height: 0.84;
  }

  .body-structure-intro h1 small {
    max-width: 11ch;
    margin-top: 18px;
    font-size: 1.5rem;
  }

  .body-structure-details {
    grid-template-columns: 1fr;
    gap: 30px;
    width: 90vw;
    margin-bottom: 110px;
  }

  .body-structure-details-copy p {
    font-size: 1.65rem;
  }

  .body-structure-video {
    width: 100vw;
    margin-bottom: 130px;
  }

  .body-structure-gallery-feature,
  .body-structure-gallery-solo,
  .body-structure-gallery-wide {
    width: 90vw;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .body-structure-gallery-feature,
  .body-structure-gallery-solo,
  .body-structure-gallery-wide,
  .body-structure-gallery-pair-first,
  .body-structure-gallery-pair-second,
  .body-structure-gallery-pair-third {
    margin-bottom: 92px !important;
  }

  .body-structure-gallery-pair,
  .body-structure-gallery-closing {
    grid-template-columns: 1fr;
    width: 90vw;
  }

  .body-structure-gallery-pair-first figure:last-child,
  .body-structure-gallery-pair-second figure:first-child,
  .body-structure-gallery-pair-third figure:first-child,
  .body-structure-gallery-closing figure:last-child {
    padding: 0;
  }

  .body-structure-gallery-closing {
    gap: 18px;
  }

  .body-structure-gallery-extension {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 90vw;
    margin-top: 100px;
  }

  .body-structure-extra-overhead,
  .body-structure-extra-portrait,
  .body-structure-extra-motion,
  .body-structure-extra-formation {
    grid-column: auto;
  }

  .body-structure-extra-overhead,
  .body-structure-extra-solo,
  .body-structure-extra-duo,
  .body-structure-extra-portrait,
  .body-structure-extra-motion,
  .body-structure-extra-formation {
    width: 100%;
    margin: 0 !important;
  }

  .body-structure-credits {
    width: 90vw;
  }

  .body-structure-credits p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .performance-feature-card video {
    transition: none;
  }
}
