.section.hero.v1.industry-hero-split {
  /* Top track clears the fixed nav; bottom track is intentionally larger
     so the copy band sits upper-mid in the viewport instead of dead center. */
  --industry-hero-header: 5.5rem;
  --industry-hero-bottom: 2rem;
  --industry-hero-top-fr: 0.42fr;
  --industry-hero-bottom-fr: 1fr;

  position: relative;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: 100svh;
  max-height: 100svh;
  min-height: 100svh;
  margin-top: 0 !important;
  margin-bottom: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/*
  Viewport-locked hero. Uneven 1fr tracks keep photos full-bleed while
  parking the left copy higher than geometric center.
*/
.industry-hero-split__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows:
    minmax(var(--industry-hero-header), var(--industry-hero-top-fr))
    auto
    minmax(var(--industry-hero-bottom), var(--industry-hero-bottom-fr));
  box-sizing: border-box;
  width: 100%;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding-right: 0;
  padding-left: 5%;
}

.industry-hero-split__visual {
  position: absolute;
  inset: 0 -8% 0 42%;
  z-index: 1;
}

.industry-hero-split__band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 2;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  column-gap: 24px;
  row-gap: 20px;
  align-items: center;
}

.industry-hero-split__copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 520px;
  text-align: left;
}

.industry-hero-split__copy .display-1 {
  text-align: left;
}

.industry-hero-split__copy .para-1 {
  text-align: left;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.industry-hero-split__copy .para-1.mg-bottom-40px {
  margin-bottom: 0;
}

.industry-hero-split__actions {
  grid-column: 1;
  grid-row: 2;
  max-width: 520px;
}

.industry-hero-split__actions .buttons-row {
  justify-content: flex-start;
  margin: 0;
}

.industry-hero-split__credit {
  position: absolute;
  right: 12%;
  bottom: calc(13% + 1.25rem);
  z-index: 3;
  margin: 0;
  pointer-events: none;
}

.angled-photo-slideshow-root {
  display: contents;
}

.angled-photo-slideshow {
  /* Scoped motion tokens — image swap is an emphasis crossfade;
     business name uses text-swap timing (quick + soft blur). */
  --aps-image-dur: 500ms;
  --aps-image-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --aps-image-blur: 2px;
  --aps-credit-dur: 150ms;
  --aps-credit-ease: ease-in-out;
  --aps-credit-blur: 2px;
  --aps-credit-distance: 4px;

  position: absolute;
  inset: 0;
  perspective: 1600px;
  perspective-origin: 12% 50%;
}

.angled-photo-slideshow__stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.angled-photo-slideshow__frame {
  position: absolute;
  top: 12%;
  right: -2%;
  bottom: 14%;
  width: min(96%, 600px);
  height: auto;
  max-height: none;
  overflow: hidden;
  border-radius: 18px;
  background: #eceae4;
  box-shadow:
    0 28px 60px rgba(20, 18, 12, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  opacity: 0;
  filter: blur(var(--aps-image-blur));
  transform: translate3d(18%, 4%, -180px) rotateY(-28deg) rotateZ(2.5deg)
    scale(0.88);
  transform-origin: 0% 55%;
  transition:
    opacity var(--aps-image-dur) var(--aps-image-ease),
    transform var(--aps-image-dur) var(--aps-image-ease),
    filter var(--aps-image-dur) ease-in-out;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.angled-photo-slideshow__frame.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) rotateY(-18deg) rotateZ(1.5deg) scale(1);
}

.angled-photo-slideshow__frame.is-depth-1 {
  opacity: 0.42;
  filter: blur(0);
  transform: translate3d(-10%, 3%, -140px) rotateY(-26deg) rotateZ(2deg)
    scale(0.94);
}

.angled-photo-slideshow__frame.is-depth-2 {
  opacity: 0.2;
  filter: blur(0);
  transform: translate3d(-20%, 6%, -260px) rotateY(-32deg) rotateZ(2.5deg)
    scale(0.88);
}

.angled-photo-slideshow__frame.is-depth-3 {
  opacity: 0.08;
  filter: blur(0);
  transform: translate3d(-28%, 9%, -360px) rotateY(-36deg) rotateZ(3deg)
    scale(0.82);
}

.angled-photo-slideshow__image {
  object-fit: cover;
  object-position: center;
}

.angled-photo-slideshow__credit {
  display: flex;
  align-items: baseline;
  gap: 0.4em;
  width: fit-content;
  margin: 0;
  padding: 8px 14px;
  color: #fffdfa;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.248);
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.angled-photo-slideshow__credit-label {
  opacity: 0.68;
  white-space: nowrap;
}

.angled-photo-slideshow__credit-name {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  animation: aps-credit-swap var(--aps-credit-dur) var(--aps-credit-ease) both;
}

@keyframes aps-credit-swap {
  from {
    opacity: 0;
    filter: blur(var(--aps-credit-blur));
    transform: translateY(var(--aps-credit-distance));
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .section.hero.v1.industry-hero-split {
    height: auto;
    max-height: none;
    min-height: 100svh;
  }

  .industry-hero-split__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: auto;
    min-height: 100svh;
    padding-top: 96px;
    padding-right: 5%;
    padding-bottom: 32px;
  }

  .industry-hero-split__visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 2;
    width: calc(100% + 20px);
    min-height: min(42svh, 360px);
    margin-right: -10px;
    margin-left: -10px;
  }

  .industry-hero-split__band {
    display: contents;
  }

  .industry-hero-split__copy {
    order: 1;
    max-width: none;
  }

  .industry-hero-split__actions {
    order: 3;
    max-width: none;
  }

  .angled-photo-slideshow {
    /* Slight tilt, with each photo behind dropped down so a strip stays visible. */
    --aps-mobile-peek: 28px;
    --aps-mobile-stack: calc(
      var(--aps-mobile-peek) * var(--aps-visible-depths, 2) + 12px
    );
    perspective: 1100px;
    perspective-origin: 50% 42%;
  }

  .angled-photo-slideshow__frame {
    top: 0;
    right: 0;
    bottom: var(--aps-mobile-stack);
    left: 0;
    width: auto;
    filter: none;
    box-shadow:
      0 8px 18px rgba(20, 18, 12, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.35) inset;
    transform: translate3d(0, var(--aps-mobile-stack), 0) rotateY(-10deg)
      rotateZ(2deg) scale(0.9);
    transform-origin: 50% 70%;
  }

  .angled-photo-slideshow__frame.is-active {
    opacity: 1;
    filter: none;
    transform: rotateY(-7deg) rotateZ(1.4deg);
  }

  .angled-photo-slideshow__frame.is-depth-1 {
    opacity: 0.62;
    filter: none;
    transform: translate3d(0, var(--aps-mobile-peek), -40px) rotateY(-10deg)
      rotateZ(2deg) scale(0.96);
  }

  .angled-photo-slideshow__frame.is-depth-2 {
    opacity: 0.38;
    filter: none;
    transform: translate3d(0, calc(var(--aps-mobile-peek) * 2), -80px)
      rotateY(-12deg) rotateZ(2.4deg) scale(0.92);
  }

  .angled-photo-slideshow__frame.is-depth-3 {
    opacity: 0.22;
    filter: none;
    transform: translate3d(0, calc(var(--aps-mobile-peek) * 3), -120px)
      rotateY(-14deg) rotateZ(2.8deg) scale(0.88);
  }

  .industry-hero-split__credit {
    right: 7%;
    bottom: calc(var(--aps-mobile-stack) + 16px);
  }

  .angled-photo-slideshow__credit {
    gap: 0.3em;
    padding: 4px 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .angled-photo-slideshow__frame {
    transition: none;
    filter: none;
  }

  .angled-photo-slideshow__credit-name {
    animation: none;
    filter: none;
  }
}
