body.page-jacking .cl-hero .fj-copy {
  align-self: center;
}

body.page-jacking .cl-hero .fj-sub {
  margin-top: 42px;
}

body.page-jacking .cl-hero .fj-frames {
  overflow: clip;
}

body.page-jacking .cl-hero .cl-hero__frame {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

body.page-jacking .cl-hero .cl-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-jacking .cl-hero .cl-hero__frame:nth-child(1) {
  z-index: 1;
  opacity: 1;
}

body.page-jacking .cl-hero .cl-hero__frame:nth-child(2) {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

body.page-jacking .cl-hero .cl-hero__frame:nth-child(3) {
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

body.page-jacking .cl-hero[data-frame="2"] .cl-hero__frame:nth-child(2),
body.page-jacking .cl-hero[data-frame="3"] .cl-hero__frame:nth-child(2),
body.page-jacking .cl-hero[data-frame="3"] .cl-hero__frame:nth-child(3) {
  opacity: 1;
}

body.page-jacking .cl-hero .cl-hero__label {
  position: absolute;
  z-index: 4;
  right: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  color: rgb(255 255 255 / 0.8);
  font-family: Lato, "Lato Fallback", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.2;
  text-shadow: 0 1px 2px color-mix(in oklch, var(--ink) 55%, transparent);
  pointer-events: none;
}

body.page-jacking .cl-hero .cl-hero__steps {
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  display: grid;
  gap: 1.75rem;
  max-width: 36ch;
}

body.page-jacking .cl-hero .cl-hero__step {
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0 0 0 0.85rem;
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
  line-height: 1.38;
  font-weight: 400;
  color: var(--mute);
  cursor: pointer;
  position: relative;
  min-height: 44px;
  border-radius: 0.45rem;
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease);
}

body.page-jacking .cl-hero .cl-hero__step strong {
  font-family: Lato, "Lato Fallback", sans-serif;
  font-weight: 700;
}

body.page-jacking .cl-hero .cl-hero__step::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--gulf-ink);
  opacity: 0.25;
  box-shadow: none;
  transition: opacity 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

body.page-jacking .cl-hero .cl-hero__step[aria-current="step"] {
  color: var(--ink);
  background: color-mix(in oklch, var(--gulf) 12%, transparent);
  animation: cl-hero-glow 1.35s var(--ease) infinite alternate;
}

body.page-jacking .cl-hero .cl-hero__step[aria-current="step"]::before {
  opacity: 1;
  background: var(--gulf);
  box-shadow:
    0 0 8px color-mix(in oklch, var(--gulf) 80%, white),
    0 0 22px color-mix(in oklch, var(--gulf) 70%, transparent);
  animation: cl-hero-glow-bar 1.35s var(--ease) infinite alternate;
}

body.page-jacking .cl-hero .cl-hero__step:focus-visible {
  outline: 2px solid var(--gulf-ink);
  outline-offset: 2px;
}

html.will-arrive body.page-jacking .cl-hero:not(.is-ready) .cl-hero__frame:nth-child(2),
html.will-arrive body.page-jacking .cl-hero:not(.is-ready) .cl-hero__frame:nth-child(3) {
  opacity: 0;
}

html.will-arrive body.page-jacking .cl-hero:not(.is-ready) .cl-hero__step[data-frame="1"] {
  color: var(--ink);
  background: color-mix(in oklch, var(--gulf) 12%, transparent);
  animation: cl-hero-glow 1.35s var(--ease) infinite alternate;
}

html.will-arrive body.page-jacking .cl-hero:not(.is-ready) .cl-hero__step[data-frame="1"]::before {
  opacity: 1;
  background: var(--gulf);
  box-shadow:
    0 0 8px color-mix(in oklch, var(--gulf) 80%, white),
    0 0 22px color-mix(in oklch, var(--gulf) 70%, transparent);
  animation: cl-hero-glow-bar 1.35s var(--ease) infinite alternate;
}

html.will-arrive body.page-jacking .cl-hero:not(.is-ready) .cl-hero__step[aria-current="step"] {
  color: var(--mute);
  background: transparent;
  animation: none;
}

html.will-arrive body.page-jacking .cl-hero:not(.is-ready) .cl-hero__step[aria-current="step"]::before {
  opacity: 0.25;
  background: var(--gulf-ink);
  box-shadow: none;
  animation: none;
}

@media (max-width: 768px) {
  body.page-jacking .cl-hero .fj-sub {
    margin-top: 1rem;
  }

  body.page-jacking .cl-hero .cl-hero__steps {
    order: 3;
    margin-top: 1.15rem;
    padding-inline: var(--gutter);
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-jacking .cl-hero .cl-hero__frame:nth-child(2),
  body.page-jacking .cl-hero .cl-hero__frame:nth-child(3),
  body.page-jacking .cl-hero .cl-hero__step,
  body.page-jacking .cl-hero .cl-hero__step::before {
    transition: none;
    animation: none;
  }
}

@keyframes cl-hero-glow {
  from {
    background-color: color-mix(in oklch, var(--gulf) 8%, transparent);
  }

  to {
    background-color: color-mix(in oklch, var(--gulf) 22%, transparent);
  }
}

@keyframes cl-hero-glow-bar {
  from {
    box-shadow:
      0 0 6px color-mix(in oklch, var(--gulf) 45%, transparent),
      0 0 14px color-mix(in oklch, var(--gulf) 30%, transparent);
  }

  to {
    box-shadow:
      0 0 12px color-mix(in oklch, var(--gulf) 95%, white),
      0 0 32px color-mix(in oklch, var(--gulf) 80%, transparent);
  }
}
