/* Hero */
/* ── Splash nav ────────────────────────────────────────────── */
.nav--splash {
  background: transparent;
  /* Over the hero gradient, so no scroll tint (base.css's app-bar-scroll
     animation would otherwise win over the transparent background). */
  animation: none;
  border-bottom: none;
  position: absolute;
  width: 100%;
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero--full {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, var(--md-sys-color-primary-container) 0%, var(--md-sys-color-surface) 65%);
}

/* The brand logo keeps its own colours; only the glow follows the M3 primary. */
.hero-logo-svg {
  width: 480px;
  max-width: 80vw;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 8px 32px color-mix(in srgb, var(--md-sys-color-primary) 15%, transparent));
}

/* Bar build animation */
@keyframes barSlideIn {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.logo-bar {
  transform-box: fill-box;
  transform-origin: left center;
  animation: barSlideIn 0.55s var(--md-sys-motion-easing-emphasized-decelerate) both;
}

/* Text fade-up after bars finish */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-text {
  animation: fadeUp 0.5s var(--md-sys-motion-easing-standard) both;
  animation-delay: 900ms;
}

.hero-tagline {
  font: var(--md-sys-typescale-headline-small);
  letter-spacing: var(--md-sys-typescale-headline-small-tracking);
  color: var(--md-sys-color-on-primary-container);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.5s var(--md-sys-motion-easing-standard) both;
  animation-delay: 1050ms;
}

/* Large filled button: M3 height scale tops out near 56px for hero CTAs. */
.btn--hero {
  min-height: 56px;
  padding: 0 32px;
  font: var(--md-sys-typescale-label-large);
  letter-spacing: var(--md-sys-typescale-label-large-tracking);
  border-radius: var(--md-sys-shape-corner-full);
  animation: fadeUp 0.5s var(--md-sys-motion-easing-standard) both;
  animation-delay: 1150ms;
}

@media (prefers-reduced-motion: reduce) {
  .logo-bar,
  .logo-text,
  .hero-tagline,
  .btn--hero {
    animation: none;
  }
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--md-sys-color-inverse-surface);
  color: var(--md-sys-color-inverse-on-surface);
  text-align: center;
  padding: 1.5rem 2rem;
  font: var(--md-sys-typescale-body-medium);
  letter-spacing: var(--md-sys-typescale-body-medium-tracking);
}

.footer a {
  color: var(--md-sys-color-inverse-primary);
  text-decoration: none;
}

.footer a:hover { text-decoration: underline; }
