/* Christmas accents — applied only when html[data-theme="christmas"] */

[data-theme="christmas"] {
  --evergreen: #176b52;
  --festive-red: #d94b4b;
  --champagne: #e9c77b;
}

[data-theme="christmas"] .site-header {
  border-bottom-color: rgba(233, 199, 123, 0.4);
}

[data-theme="christmas"] .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 6px;
  pointer-events: none;
  z-index: 2;
  background-image:
    radial-gradient(circle, var(--champagne) 0 1.35px, transparent 1.8px),
    radial-gradient(circle, var(--festive-red) 0 1.2px, transparent 1.65px),
    radial-gradient(circle, #7ad1ff 0 1.1px, transparent 1.55px),
    radial-gradient(circle, var(--evergreen) 0 1.2px, transparent 1.65px);
  background-size: 2.6rem 6px;
  background-position: 0 50%, 0.65rem 50%, 1.3rem 50%, 1.95rem 50%;
  background-repeat: repeat-x;
  opacity: 0.88;
}

[data-theme="christmas"] .site-nav a:hover,
[data-theme="christmas"] .site-nav a:focus-visible,
[data-theme="christmas"] .site-nav a[aria-current="page"] {
  border-bottom-color: var(--champagne);
}

[data-theme="christmas"] .hero {
  position: relative;
  overflow: visible;
  --hero-glow: rgba(26, 140, 255, 0.26);
  background:
    radial-gradient(ellipse 40% 48% at 10% 16%, rgba(23, 107, 82, 0.22), transparent 58%),
    radial-gradient(ellipse 26% 32% at 8% 78%, rgba(217, 75, 75, 0.12), transparent 62%),
    radial-gradient(ellipse 52% 68% at 82% 46%, var(--hero-glow), transparent 64%),
    radial-gradient(ellipse 34% 40% at 74% 82%, rgba(233, 199, 123, 0.1), transparent 58%),
    var(--navy);
}

[data-theme="christmas"] .hero > .wrap {
  position: relative;
  z-index: 1;
}

[data-theme="christmas"] .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1.1px, transparent 1.7px),
    radial-gradient(circle, rgba(233, 199, 123, 0.55) 0 0.9px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0 0.7px, transparent 1.25px);
  background-size: 7.5rem 6.2rem, 9.2rem 7.4rem, 5.6rem 5.1rem;
  background-position: 8% 14%, 22% 78%, 14% 46%;
  opacity: 0.55;
}

[data-theme="christmas"] .hero-visual,
[data-theme="christmas"] .hero-daisy {
  overflow: visible;
}

[data-theme="christmas"] .hero-daisy-photo {
  object-fit: contain;
  object-position: center top;
}

[data-theme="christmas"] .hero-visual::before {
  background: radial-gradient(
    ellipse at 58% 52%,
    rgba(26, 140, 255, 0.38),
    rgba(233, 199, 123, 0.14) 48%,
    rgba(23, 107, 82, 0.12) 62%,
    transparent 74%
  );
}

[data-theme="christmas"] .button-primary {
  box-shadow: 0 0 1.3rem rgba(233, 199, 123, 0.42);
}

[data-theme="christmas"] .button-primary:hover,
[data-theme="christmas"] .button-primary:focus-visible {
  box-shadow: 0 0 1.6rem rgba(217, 75, 75, 0.38);
}

[data-theme="christmas"] .button-secondary {
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0.8rem rgba(23, 107, 82, 0.28);
}

[data-theme="christmas"] .section-header h1,
[data-theme="christmas"] .section-header h2 {
  background-image: linear-gradient(90deg, var(--cyan), var(--champagne));
}

[data-theme="christmas"] .site-footer {
  border-top-color: rgba(233, 199, 123, 0.28);
}

[data-theme="christmas"] .gp-hero {
  background:
    radial-gradient(ellipse 36% 48% at 10% 16%, rgba(23, 107, 82, 0.16), transparent 58%),
    radial-gradient(ellipse 48% 70% at 88% 18%, rgba(217, 75, 75, 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(233, 199, 123, 0.08), transparent 56%),
    var(--navy);
}

[data-theme="christmas"] .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.16),
    0 0 1.4rem rgba(233, 199, 123, 0.16);
}

@media (max-width: 900px) {
  [data-theme="christmas"] .hero::after {
    background-size: 5.2rem 5rem, 6.4rem 5.6rem, 4.4rem 4.2rem;
    opacity: 0.42;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="christmas"] .site-header::after {
    animation: nac-xmas-twinkle 2.8s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="christmas"] .site-header::after {
    animation: none;
    opacity: 0.7;
  }

  [data-theme="christmas"] .button-primary,
  [data-theme="christmas"] .button-primary:hover,
  [data-theme="christmas"] .button-primary:focus-visible {
    box-shadow: 0 0 0.65rem rgba(233, 199, 123, 0.3);
  }
}

@keyframes nac-xmas-twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.95;
  }
}
