/* Enterprise programs page */
.enterprise-page .enterprise-hero {
  min-height: calc(82vh - 78px);
}

.enterprise-page .enterprise-hero h1 {
  max-width: 980px;
}

.enterprise-hero-chips {
  max-width: 820px;
  margin-top: 0;
}

.enterprise-rubik-assembly {
  width: clamp(280px, 31vw, 500px);
  aspect-ratio: 1.36 / 1;
}

.enterprise-rubik-piece {
  width: 34%;
  height: auto;
}

.enterprise-rubik-piece:nth-child(1) {
  --block-delay: 0s;
  --block-left: 0%;
  --block-top: 52%;
}

.enterprise-rubik-piece:nth-child(2) {
  --block-delay: 0.12s;
  --block-left: 32%;
  --block-top: 30%;
}

.enterprise-rubik-piece:nth-child(3) {
  --block-delay: 0.24s;
  --block-left: 64%;
  --block-top: 8%;
}

.enterprise-overview > p:not(.project-kicker) {
  color: var(--color-muted);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.58;
}

.enterprise-overview-themes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.enterprise-overview-themes article {
  min-height: 0;
}

.enterprise-program {
  scroll-margin-top: 96px;
  width: min(var(--content-max), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 152px) 0;
  border-bottom: 1px solid var(--color-line);
}

.enterprise-program-header {
  display: grid;
  grid-template-columns: minmax(76px, 0.14fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.enterprise-program-index {
  margin: 0;
  color: rgba(23, 78, 166, 0.16);
  font-family: var(--font-display);
  font-size: clamp(58px, 8vw, 112px);
  letter-spacing: 0.02em;
  line-height: 0.88;
}

.enterprise-program-copy {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
  max-width: none;
}

.enterprise-program-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 0.28fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.enterprise-program-title-row h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(54px, 8.5vw, 118px);
  line-height: 0.92;
}

.enterprise-program-logo {
  display: grid;
  min-height: clamp(76px, 9vw, 124px);
  align-items: center;
  justify-items: end;
}

.enterprise-program-logo img {
  display: block;
  width: min(100%, 148px);
  max-height: 118px;
  object-fit: contain;
}

.enterprise-program-logo--wide img {
  width: min(100%, 236px);
  max-height: 104px;
}

.enterprise-program-summary {
  max-width: 900px;
  color: var(--color-ink);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.38;
}

.enterprise-program-copy > p:not(.project-kicker):not(.enterprise-program-summary) {
  max-width: 820px;
  color: var(--color-muted);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.65;
}

.enterprise-program-chips {
  margin-top: 2px;
}

.enterprise-program-gallery {
  margin-top: clamp(34px, 5vw, 72px);
}

.enterprise-program-gallery figure {
  display: grid;
  align-content: start;
}

.enterprise-program-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.enterprise-program-image-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.enterprise-program-gallery img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid rgba(216, 209, 198, 0.92);
  object-fit: cover;
  object-position: center;
}

.enterprise-program-figure--contain .enterprise-program-image-link {
  display: grid;
  aspect-ratio: 16 / 10;
  background: rgba(245, 242, 236, 0.72);
  border-bottom: 1px solid rgba(216, 209, 198, 0.92);
}

.enterprise-program-figure--contain img {
  height: 100%;
  border-bottom: 0;
  object-fit: contain;
}

.enterprise-program--paramount .enterprise-program-gallery img {
  max-height: none;
}

.enterprise-program-caption strong {
  color: var(--color-ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 800;
  line-height: 1.25;
}

.enterprise-program-caption p {
  max-width: 620px;
  margin: 0;
  color: var(--color-muted);
  font-size: inherit;
  line-height: inherit;
}

.enterprise-closing .project-kicker {
  color: #ffb3c0;
}

.enterprise-closing {
  z-index: 1;
}

@media (max-width: 960px) {
  .enterprise-overview-themes {
    grid-template-columns: 1fr;
  }

  .enterprise-program-header {
    grid-template-columns: 1fr;
  }

  .enterprise-program-title-row {
    grid-template-columns: 1fr;
  }

  .enterprise-program-logo {
    min-height: 0;
    justify-items: start;
  }

}

@media (max-width: 640px) {
  .enterprise-page .enterprise-hero {
    min-height: auto;
  }

  .enterprise-program {
    padding: clamp(72px, 18vw, 104px) 0;
  }

  .enterprise-program-index {
    font-size: clamp(46px, 18vw, 72px);
  }

  .enterprise-program-title-row h2 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .enterprise-program-gallery img {
    aspect-ratio: auto;
  }
}
