/* =========================================
   HERO (landing page)
========================================= */

.hero-section {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: start center;
  align-content: start;
  overflow: hidden;
  padding: clamp(9rem, 20svh, 16rem) 1.5rem 5rem;
  text-align: center;
  background: url("../img/redesign/splash_dome.png") center top / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(100%, 1100px);
  margin-inline: auto;
}

.hero-title {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(2.75rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #f7f3ea;
  text-shadow:
    0 3px 0 #2a2870,
    0 6px 0 #1d1a52,
    0 14px 28px rgba(8, 6, 40, 0.7),
    0 0 50px rgba(140, 150, 255, 0.35);
}

.hero-year,
.hero-eyebrow {
  margin: 0.25rem 0 0;
  padding-left: 0.12em;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #f7f3ea;
  text-shadow: 0 3px 0 #1d1a52, 0 8px 18px rgba(8, 6, 40, 0.7);
}

.hero-year {
  font-size: clamp(1.5rem, 4vw, 3.25rem);
  font-family: var(--font-display);
}

.hero-eyebrow {
  display: block;
  width: clamp(45px, 13vw, 15vw);
  height: auto;
  margin: 0 auto;
  padding: 0;
  filter:
    invert(1)
    drop-shadow(0 10px 12px rgba(8, 6, 40, 0.7))
    drop-shadow(0 0 15px rgba(140, 150, 255, 0.35));
  object-fit: contain;
  animation: logo-float 8s ease-in-out infinite;
}

.hero-title,
.hero-year {
  animation: title-float 8s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(30px); }
  50%      { transform: translateY(22px); }
}

@keyframes title-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(-0.4deg); }
}

div.hero-decoration {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  pointer-events: none;
  background-color: var(--deco-color);
  opacity: 0.45;
  animation: decor-float 6s ease-in-out infinite;
}

img.hero-decoration {
  position: absolute;
  width: 45rem;
  height: auto;
  border-radius: 50%;
  pointer-events: none;
  animation: decor-float 9s ease-in-out infinite;
}

img.hero-decoration--right {
  width: 45rem;
  animation: decor-float-rotated 6s ease-in-out infinite;
}

@keyframes decor-float-rotated {
  0%, 100% {
    transform: translateY(0) rotate(10deg);
  }
  50% {
    transform: translateY(6px) rotate(10deg);
  }
}

.hero-decoration--top   { top: 5%; left: 18%; }
.hero-decoration--left  { bottom: -22%; left: -5rem; }
.hero-decoration--right { right: -12rem; bottom: 25%; }

@keyframes decor-float {
  0%, 100% { transform: translateY(0);}
  50%      { transform: translateY(8px);}
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  margin-top: clamp(1.25rem, 3vw, 2.5rem);
}

.hero-actions [data-frame="button"] {
  --frame-bg: url("../img/redesign/canvas_bg.jpg");
  min-width: 17rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

.hero-actions .button-label {
  white-space: nowrap;
}

.hero-section--short {
  min-height: 0;
  padding: clamp(8rem, 18vw, 11rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  background: var(--surface);
  border-bottom: 4px solid var(--accent);
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
  .hero-section {
    min-height: 75vh;
    min-height: 75svh;
    padding: clamp(3rem, 10svh, 6rem) 0.75rem 5rem;
  }

  .hero-section--short {
    min-height: 0;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
  }

  .hero-title {
    font-size: clamp(2.4rem, 12.5vw, 5rem);
  }

  .hero-year {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .hero-eyebrow {
    width: clamp(80px, 24vw, 120px);
  }

  div.hero-decoration {
    width: 10rem;
    height: 10rem;
  }

  img.hero-decoration {
    width: 30rem;
    height: auto;
  }

  .hero-decoration--top   { top: 15%; left: 12%; }
  .hero-decoration--left  { bottom: -10%; left: -2rem; }
  .hero-decoration--right { right: -8rem; bottom: 65%; }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions [data-frame="button"] {
    zoom: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-year,
  .hero-eyebrow {
    animation: none !important;
  }
}
