/* May the Fourth accents — applied only when html[data-theme="may4"] */

.hero-seasonal-greeting {
  display: none;
}

[data-theme="may4"] {
  --saber: #3ec6ff;
}

[data-theme="may4"] .site-header {
  border-bottom-color: rgba(62, 198, 255, 0.32);
}

[data-theme="may4"] .site-nav a:hover,
[data-theme="may4"] .site-nav a:focus-visible,
[data-theme="may4"] .site-nav a[aria-current="page"] {
  border-bottom-color: var(--saber);
}

[data-theme="may4"] .hero {
  position: relative;
  overflow: visible;
  --hero-glow: rgba(26, 140, 255, 0.28);
  background:
    radial-gradient(ellipse 36% 44% at 12% 14%, rgba(18, 42, 92, 0.55), transparent 58%),
    radial-gradient(ellipse 24% 30% at 8% 82%, rgba(62, 198, 255, 0.08), transparent 62%),
    radial-gradient(ellipse 52% 68% at 82% 46%, var(--hero-glow), transparent 64%),
    radial-gradient(ellipse 34% 40% at 74% 82%, rgba(0, 196, 245, 0.14), transparent 58%),
    var(--navy);
}

[data-theme="may4"] .hero > .wrap {
  position: relative;
  z-index: 1;
}

[data-theme="may4"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 11% 16%, rgba(255, 255, 255, 0.72) 0 0.09rem, transparent 0.22rem),
    radial-gradient(circle at 7% 62%, rgba(62, 198, 255, 0.55) 0 0.07rem, transparent 0.18rem),
    radial-gradient(circle at 18% 86%, rgba(255, 255, 255, 0.45) 0 0.08rem, transparent 0.2rem),
    radial-gradient(circle at 24% 28%, rgba(26, 140, 255, 0.42) 0 0.06rem, transparent 0.16rem),
    radial-gradient(circle at 14% 44%, rgba(255, 255, 255, 0.38) 0 0.05rem, transparent 0.14rem);
  opacity: 0.78;
}

[data-theme="may4"] .hero-visual,
[data-theme="may4"] .hero-daisy {
  overflow: visible;
}

[data-theme="may4"] .hero-daisy-photo {
  object-fit: contain;
  object-position: center top;
  max-width: 100%;
}

[data-theme="may4"] .hero-visual::before {
  background: radial-gradient(
    ellipse at 62% 42%,
    rgba(62, 198, 255, 0.28),
    rgba(26, 140, 255, 0.22) 42%,
    transparent 72%
  );
}

[data-theme="may4"] .hero-seasonal-greeting {
  display: block;
  margin: -0.15rem 0 0.7rem;
  color: var(--saber);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

[data-theme="may4"] .button-primary {
  box-shadow: 0 0 1.3rem rgba(62, 198, 255, 0.42);
}

[data-theme="may4"] .button-primary:hover,
[data-theme="may4"] .button-primary:focus-visible {
  box-shadow: 0 0 1.65rem rgba(26, 140, 255, 0.5);
}

[data-theme="may4"] .button-secondary {
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0.8rem rgba(62, 198, 255, 0.2);
}

[data-theme="may4"] .section-header h1,
[data-theme="may4"] .section-header h2 {
  background-image: linear-gradient(90deg, var(--cyan), var(--saber));
}

[data-theme="may4"] .site-footer {
  border-top-color: rgba(62, 198, 255, 0.24);
}

[data-theme="may4"] .gp-hero {
  background:
    radial-gradient(ellipse 36% 48% at 10% 16%, rgba(18, 42, 92, 0.4), transparent 58%),
    radial-gradient(ellipse 48% 70% at 88% 18%, rgba(62, 198, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 62% 80% at 78% 58%, var(--gp-glow), transparent 64%),
    radial-gradient(ellipse 40% 42% at 18% 88%, rgba(0, 196, 245, 0.1), transparent 56%),
    var(--navy);
}

[data-theme="may4"] .gp-hero-visual img {
  box-shadow:
    0 1.5rem 3rem rgba(0, 0, 0, 0.45),
    0 0 2.4rem rgba(26, 140, 255, 0.18),
    0 0 1.3rem rgba(62, 198, 255, 0.16);
}

@media (max-width: 900px) {
  [data-theme="may4"] .hero::after {
    background-image:
      radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.5) 0 0.08rem, transparent 0.18rem),
      radial-gradient(circle at 86% 12%, rgba(62, 198, 255, 0.42) 0 0.07rem, transparent 0.16rem),
      radial-gradient(circle at 18% 92%, rgba(255, 255, 255, 0.32) 0 0.06rem, transparent 0.14rem);
    opacity: 0.64;
  }

  [data-theme="may4"] .hero-visual {
    padding-top: 0.45rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="may4"] .hero::after {
    animation: nac-may4-twinkle 3.4s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="may4"] .hero::after {
    animation: none;
    opacity: 0.7;
  }

  [data-theme="may4"] .button-primary,
  [data-theme="may4"] .button-primary:hover,
  [data-theme="may4"] .button-primary:focus-visible {
    box-shadow: 0 0 0.6rem rgba(62, 198, 255, 0.28);
  }
}

@keyframes nac-may4-twinkle {
  from {
    opacity: 0.48;
  }
  to {
    opacity: 0.9;
  }
}
