/* ── HERO (sky + title screen vibe) ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(5rem + env(safe-area-inset-top, 0px)) calc(1.25rem + env(safe-area-inset-right, 0px))
    calc(5.5rem + var(--journey-dock-h)) calc(1.25rem + env(safe-area-inset-left, 0px));
  min-height: 100dvh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

/* Corporate floor band — neutral charcoal + brand red rule (no green “field”) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(36, 36, 36, 0.28) 35%,
    rgba(24, 24, 24, 0.72) 100%
  );
  border-top: 3px solid var(--nintendo-primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 -20px 48px rgba(230, 0, 18, 0.06);
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(.hero-clouds) {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(0.62rem, 1.1vw, 0.78rem);
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--star-white);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.2s;
  text-shadow: 2px 2px 0 var(--mario-sky-deep), 4px 4px 0 rgba(0, 0, 0, 0.35);
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "◆ ◆ ◆";
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.55rem;
  color: var(--coin-gold);
  letter-spacing: 0.2em;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.4);
}

.hero-title-panel h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  max-width: 740px;
  margin: 0 auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-title-panel h1 em {
  font-style: italic;
  color: var(--nintendo-red);
  font-weight: 700;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.45);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.5s;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.65s;
}

.hero-meta span {
  color: var(--text-secondary);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}

/* Decorative emoji sprites (Twemoji via jsDelivr) — coin, mushroom, star, controller */
.hero-sprites {
  display: flex;
  gap: 1.35rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.72s;
}

.hero-sprites img {
  width: 40px;
  height: 40px;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.28));
}

.coin-row {
  display: flex;
  gap: 2rem;
  margin-top: 1.85rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.8s;
  flex-wrap: wrap;
  justify-content: center;
}

.coin-stat {
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(252, 224, 0, 0.35);
  background: var(--bg-card);
  min-width: 7rem;
  transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1), border-color 0.22s ease;
}

.coin-stat:hover {
  transform: translateY(-2px);
  border-color: var(--snes-select-yellow);
}

.coin-val {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--coin-gold);
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.coin-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* In document flow below meta — avoids overlap with passport HUD / dock */
.scroll-cue {
  position: relative;
  width: fit-content;
  max-width: min(22rem, 100%);
  margin: 1.75rem auto 0;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(0.48rem, 2.8vw, 0.68rem);
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--nintendo-white);
  text-align: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.88s, startBlink 1.6s ease-in-out infinite 1.1s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.scroll-arrow {
  font-size: 0.85rem;
  color: var(--coin-gold);
  animation: bounce 1.8s ease-in-out infinite;
  filter: none;
}
