/* Recruitment photo-to-paper transition. Leave shared page artwork untouched. */
.ivory-recruit.ivory-curves .hero-portrait > .hero-soft-scene::before {
  --recruit-wave-bleed: clamp(45px, 12vw, 64px);
  bottom: calc(-1 * var(--recruit-wave-bleed));
  height: clamp(130px, 39vw, 245px);
  background: url('/assets/hero/ivory-lower-wave.png') center / 100% 100% no-repeat;
  mask-image: linear-gradient(to bottom, #000 0 calc(100% - var(--recruit-wave-bleed)), transparent);
  pointer-events: none;
}
.ivory-recruit.ivory-curves .hero-soft-copy {
  position: relative;
  z-index: 2;
}

/* Match the homepage cue without shifting the photo, wave, or content below. */
.ivory-recruit.ivory-curves .hero-portrait { position: relative; }
.ivory-recruit.ivory-curves .hero-portrait > .hero-scroll-band {
  position: absolute;
  inset: auto 0 -36px;
  height: 0;
}
.ivory-recruit.ivory-curves .hero-portrait > .hero-scroll-band::before { content: none; }
.ivory-recruit #terms { scroll-margin-top: 106px; }
@media (max-width:700px) {
  .ivory-recruit.ivory-curves .hero-portrait > .hero-scroll-band { bottom: -45px; }
  .ivory-recruit #terms { scroll-margin-top: 118px; }
}
@media (prefers-reduced-motion:no-preference) {
  html:has(body.ivory-recruit) { scroll-behavior: smooth; }
}
