.onset-hero {
  position: relative;
  background: #151515;
  color: white;
  --details-opacity: 1;
  --details-y: 0px;
  --image-scale: 1;
}

.onset-hero[data-animated] {
  min-height: calc(var(--stage-height, 100svh) + 150svh);
}

.onset-hero-stage {
  position: sticky;
  top: min(0px, calc(100svh - var(--stage-height, 100svh)));
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vh, 3rem);
  min-height: 100svh;
  padding: clamp(1.5rem, 4vh, 3rem) 5%;
  isolation: isolate;
  overflow: clip;
}

.onset-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.onset-hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000b, #0007 65%, #0003), linear-gradient(0deg, #0009, transparent 70%);
}

.onset-hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(var(--image-scale));
}

.onset-hero-logo {
  display: none;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(30rem, 76vw);
  pointer-events: none;
  transform: translate(-50%, -50%) translateY(var(--logo-lift, 0px)) scale(var(--logo-scale, 1));
  opacity: var(--logo-opacity, 1);
}

.onset-hero[data-animated] .onset-hero-logo { display: block; }
.onset-hero-logo img { display: block; width: 100%; height: auto; }

.onset-hero-eyebrow {
  margin: 0;
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .16em;
  font-weight: 700;
}

.onset-hero-composition {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.onset-hero-headline {
  margin: 0;
  width: 100%;
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(2rem, 10.2vw, 10rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.015em;
  text-shadow: 0 2px 24px #0004;
}

.onset-hero-line {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: .18em;
  margin: 0;
  white-space: nowrap;
}

.onset-hero-start, .onset-hero-of, .onset-hero-stronger, .onset-hero-you { display: inline-block; flex: 0 0 auto; }
.onset-hero-stronger { color: #eb2442; }
.onset-hero-shake { display: inline-block; }

.onset-hero[data-animated] .onset-hero-start { transform: translateX(var(--start-x, -110vw)); opacity: var(--start-opacity, 0); }
.onset-hero[data-animated] .onset-hero-of { transform: translateX(var(--of-x, 110vw)); opacity: var(--of-opacity, 0); }
.onset-hero[data-animated] .onset-hero-stronger { transform: translateX(var(--stronger-x, -110vw)); opacity: var(--stronger-opacity, 0); }
.onset-hero[data-animated] .onset-hero-you { transform: translateX(var(--you-x, 110vw)); opacity: var(--you-opacity, 0); }
.onset-hero[data-you-entered='true'] .onset-hero-shake { animation: arrival .45s ease-out; }

.onset-hero-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  margin-top: clamp(1.5rem, 3vh, 2rem);
}

.onset-hero-intro {
  max-width: 34rem;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #efefef;
}

.onset-hero-cta { min-width: 13rem; }
.onset-hero-scrollPrompt {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  margin-top: .1rem;
  font-size: .75rem;
  letter-spacing: .12em;
  line-height: 1.5;
}

.onset-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 2rem;
  border-top: 1px solid #ffffff50;
  padding-top: 1rem;
  font-size: .75rem;
  line-height: 1.5;
  letter-spacing: .07em;
}

.onset-hero[data-animated] .onset-hero-details,
.onset-hero[data-animated] .onset-hero-eyebrow,
.onset-hero[data-animated] .onset-hero-meta {
  opacity: var(--details-opacity, 0);
  transform: translateY(var(--details-y, 18px));
}
.onset-hero[data-animated][data-details-ready='false'] .onset-hero-details { visibility: hidden; }
.onset-hero:focus-within .onset-hero-details { visibility: visible !important; opacity: 1 !important; transform: none !important; }

@keyframes arrival {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@media (max-width: 700px) {
  .onset-hero-stage { padding-inline: 6%; }
  .onset-hero-headline { font-size: 10.2vw; }
  .onset-hero-photo { object-position: 64% center; }
  .onset-hero-logo { width: min(24rem, 82vw); }
  .onset-hero-eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .onset-hero-meta { font-size: .7rem; }
  .onset-hero-intro { max-width: 29rem; }
}

@media (prefers-reduced-motion: reduce) {
  .onset-hero[data-animated] { min-height: 0; }
  .onset-hero-stage { position: relative; top: 0; }
  .onset-hero .onset-hero-logo { display: none; }
  .onset-hero .onset-hero-photo,
  .onset-hero .onset-hero-start, .onset-hero .onset-hero-of, .onset-hero .onset-hero-stronger, .onset-hero .onset-hero-you,
  .onset-hero .onset-hero-details, .onset-hero .onset-hero-eyebrow, .onset-hero .onset-hero-meta {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
  .onset-hero .onset-hero-shake { animation: none !important; }
}
