/* ── Hero layout ─────────────────────────────────────────────────────────── */

.hero-wrap {
  position: relative;
  margin: 28px 28px 0;
}

.hero__frame {
  position: relative;
  margin: 0;
  height: calc(100svh - 100px);
  border-radius: 24px;
  overflow: hidden;
  z-index: 1;
  background: var(--color-bg);
  cursor: none;
  box-shadow:
    inset 0 28px 90px rgba(0, 0, 0, 0.65),
    inset 28px 0 60px rgba(0, 0, 0, 0.22),
    inset -28px 0 60px rgba(0, 0, 0, 0.22),
    inset 0 0 60px rgba(0, 0, 0, 0.30);
}

.hero__viewport {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: none;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #252560 0%, var(--color-bg) 100%);
  z-index: 0;
}

/* ── Logo ────────────────────────────────────────────────────────────────── */

.hero__logo-wrap {
  position: relative;
  z-index: 12;
  will-change: transform;
}

.hero__logo-wrap .st0 { fill: var(--color-white); }
.hero__logo-wrap .st1 { fill: var(--color-navy);  }

.hero__logo-wrap svg {
  width: clamp(240px, 46vw, 540px);
  height: auto;
  display: block;
}

/* ── Tagline ─────────────────────────────────────────────────────────────── */

.hero__tagline {
  position: absolute;
  bottom: clamp(2rem, 5vh, 4rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}

/* ── Custom cursor dot ───────────────────────────────────────────────────── */

.hero__cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.25s, width 0.1s ease, height 0.1s ease, background 0.2s ease;
  will-change: transform;
}

.hero__cursor.is-over-target {
  width: 8.75px;
  height: 8.75px;
}

.hero__cursor.is-on-light {
  background: rgba(26, 26, 60, 0.7);
  width: 8.4px;
  height: 8.4px;
}

.hero__cursor.is-over-target.is-on-light {
  width: 10.5px;
  height: 10.5px;
}

.hero__cursor.is-text {
  width: 3px;
  height: 20px;
  border-radius: 2px;
}

@media (pointer: coarse) {
  .hero__frame    { cursor: auto; }
  .hero__viewport { cursor: auto; }
  .hero__bump     { cursor: auto; }
  .hero__cursor   { display: none; }
}

/* ── Scroll-coax bump ────────────────────────────────────────────────────── */

.hero__bump {
  position: absolute;
  top: 100%;
  left: 50%;
  width: auto;
  height: 44px;
  aspect-ratio: 24.69 / 7.96;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  line-height: 0;
  padding: 0;
  border: none;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: none;
}

.hero__bump svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__bump-arrow {
  position: absolute;
  top: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  color: #fff;
  width: 18px;
  height: 18px;
  opacity: 0.7;
  animation: arrow-bob 1.8s ease-in-out infinite;
}

.hero__bump-arrow svg {
  width: 100%;
  height: 100%;
}

@keyframes arrow-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}
