/* Keep the registration photograph behind its copy and inside the hero. */
.registration-hero {
  height: auto;
  min-height: 395px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.registration-photo-wrap {
  inset: 0 0 0 auto;
  width: 60%;
  height: 100%;
  display: block;
  z-index: 0;
}
.registration-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.registration-gradient {
  z-index: 1;
  background: linear-gradient(90deg, #081014 0%, #081014 36%, rgba(8,16,20,.9) 46%, rgba(8,16,20,.35) 67%, rgba(8,16,20,.12) 100%);
}
.registration-hero-copy {
  z-index: 2;
  padding-block: 60px;
}
.registration-hero-copy > * {
  max-width: 54%;
}
.registration-hero-copy p {
  max-width: min(460px, 54%);
}
@media (max-width: 820px) {
  .registration-hero { min-height: 420px; }
  .registration-photo-wrap { width: 100%; }
  .registration-gradient {
    background: linear-gradient(90deg, rgba(8,16,20,.96), rgba(8,16,20,.88) 55%, rgba(8,16,20,.6));
  }
  .registration-hero-copy > *, .registration-hero-copy p { max-width: 100%; }
  .registration-hero h1 { font-size: clamp(30px, 5vw, 40px); }
  .registration-hero h2 { font-size: 23px; }
}
