.expertise-section--visual {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: min(58rem, 100svh);
  margin: 0;
  overflow: clip;
  border-bottom-color: rgb(255 255 255 / .18);
  color: oklch(0.98 0 0);
}

.expertise-section--visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(0 0 0 / .91), rgb(0 0 0 / .64) 42%, rgb(0 0 0 / .15) 78%, rgb(0 0 0 / .28));
}

.expertise-section__background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.expertise-section__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.expertise-section--visual h2,
.expertise-section--visual h3,
.expertise-section--visual p,
.expertise-section--visual .text-button {
  color: inherit;
}

.expertise-section--visual .section-heading {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.expertise-standard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 7vw, 7rem);
}

.expertise-standard-grid article {
  max-width: 34rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / .42);
}

.authorization-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100svh;
  border-bottom: 1px solid var(--line);
  background: oklch(0.13 0.008 30);
  color: oklch(0.97 0 0);
}

.authorization-stage__content,
.authorization-stage__media {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.authorization-stage__content {
  width: min(100%, calc(var(--content-max) / 2 + 4rem));
  margin-left: auto;
  padding: clamp(5rem, 10vw, 9rem) var(--page-gutter);
}

.authorization-stage h2,
.authorization-stage p {
  color: inherit;
}

.authorization-stage h2 {
  max-width: 12ch;
}

.authorization-stage__content > p:not(.section-kicker) {
  max-width: 30rem;
}

.authorization-stage__media {
  position: relative;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) var(--page-gutter);
  background: oklch(0.16 0.007 30);
}

.credential-carousel__slide {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(76svh, 47rem);
  padding: 0;
  border: 1px solid rgb(255 255 255 / .16);
  background: oklch(0.96 0.003 90);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / .38);
}

.credential-carousel__slide img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.credential-pages {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: baseline;
  gap: .45rem;
  color: rgb(255 255 255 / .48);
  font-size: .76rem;
  letter-spacing: .12em;
}

.credential-pages button {
  padding: .15rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.credential-pages button[aria-current="true"] {
  color: oklch(0.97 0 0);
}

@media (max-width: 47.99rem) {
  .expertise-section--visual {
    min-height: auto;
  }

  .expertise-section--visual::before {
    background: linear-gradient(0deg, rgb(0 0 0 / .92), rgb(0 0 0 / .68) 58%, rgb(0 0 0 / .22));
  }

  .expertise-standard-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .authorization-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .authorization-stage__content {
    width: 100%;
    padding-block: 5rem 2rem;
  }

  .authorization-stage__media {
    padding-block: 2rem 5rem;
  }

  .credential-carousel__slide {
    width: min(100%, 25rem);
    height: auto;
  }

  .credential-carousel__slide img {
    width: 100%;
    height: auto;
  }

  .credential-pages {
    position: static;
    width: min(100%, 25rem);
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .credential-carousel__slide {
    transition: none !important;
  }
}
