/* Thanksgiving accents — applied only when html[data-theme="thanksgiving"] */

[data-theme="thanksgiving"] {
  --amber: #e09a3e;
  --copper: #c06a2c;
  --cranberry: #b13a45;
  --gold: #e4c15a;
}

[data-theme="thanksgiving"] .site-header {
  border-bottom-color: rgba(228, 193, 90, 0.42);
}

[data-theme="thanksgiving"] .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 5px;
  pointer-events: none;
  z-index: 2;
  background-image:
    radial-gradient(circle, var(--gold) 0 1.25px, transparent 1.7px),
    radial-gradient(circle, var(--cranberry) 0 1.15px, transparent 1.6px),
    radial-gradient(circle, var(--copper) 0 1.05px, transparent 1.5px);
  background-size: 2.4rem 5px;
  background-position: 0 50%, 0.8rem 50%, 1.6rem 50%;
  background-repeat: repeat-x;
  opacity: 0.86;
}

[data-theme="thanksgiving"] .site-nav a:hover,
[data-theme="thanksgiving"] .site-nav a:focus-visible,
[data-theme="thanksgiving"] .site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

[data-theme="thanksgiving"] .hero {
  position: relative;
  overflow: visible;
  --hero-glow: rgba(26, 140, 255, 0.26);
  background:
    radial-gradient(ellipse 40% 48% at 12% 12%, rgba(228, 193, 90, 0.24), transparent 58%),
    radial-gradient(ellipse 26% 32% at 6% 82%, rgba(177, 58, 69, 0.16), transparent 62%),
    radial-gradient(ellipse 52% 68% at 82% 46%, var(--hero-glow), transparent 64%),
    radial-gradient(ellipse 34% 40% at 76% 82%, rgba(192, 106, 44, 0.14), transparent 58%),
    var(--navy);
}

[data-theme="thanksgiving"] .hero > .wrap {
  position: relative;
  z-index: 1;
}

[data-theme="thanksgiving"] .hero::before,
[data-theme="thanksgiving"] .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

[data-theme="thanksgiving"] .hero::before {
  width: 8rem;
  height: 8rem;
  top: 0.2rem;
  left: 0.15rem;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23e4c15a' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3Cpath fill='%23c06a2c' d='M12 8v32' stroke='%23c06a2c' stroke-width='1.2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23b13a45' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23c06a2c' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E");
  background-size: 1.7rem 3.4rem, 1.35rem 2.7rem, 1.15rem 2.3rem;
  background-repeat: no-repeat;
  background-position: 8% 10%, 42% 28%, 78% 8%;
  opacity: 0.58;
  transform: rotate(-18deg);
}

[data-theme="thanksgiving"] .hero::after {
  inset: 0;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23e4c15a' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23b13a45' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23c06a2c' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23e09a3e' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%239b2d3a' d='M12 2c5 9 7 18 6 28-1 8-3.5 14-6 18-2.5-4-5-10-6-18C5 20 7 11 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 0.85rem 1.7rem, 0.7rem 1.4rem, 1rem 2rem, 0.65rem 1.3rem, 0.8rem 1.6rem;
  background-position: 10% -10%, 30% -22%, 58% -14%, 82% -26%, 44% -12%;
  opacity: 0.4;
}

[data-theme="thanksgiving"] .hero-visual,
[data-theme="thanksgiving"] .hero-daisy {
  overflow: visible;
}

[data-theme="thanksgiving"] .hero-daisy-photo {
  object-fit: contain;
  object-position: center top;
}

[data-theme="thanksgiving"] .hero-visual::before {
  background: radial-gradient(
    ellipse at 58% 52%,
    rgba(26, 140, 255, 0.36),
    rgba(228, 193, 90, 0.2) 48%,
    rgba(177, 58, 69, 0.1) 62%,
    transparent 74%
  );
}

[data-theme="thanksgiving"] .button-primary {
  box-shadow: 0 0 1.3rem rgba(228, 193, 90, 0.44);
}

[data-theme="thanksgiving"] .button-primary:hover,
[data-theme="thanksgiving"] .button-primary:focus-visible {
  box-shadow: 0 0 1.55rem rgba(177, 58, 69, 0.38);
}

[data-theme="thanksgiving"] .button-secondary {
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0.8rem rgba(228, 193, 90, 0.22);
}

[data-theme="thanksgiving"] .section-header h1,
[data-theme="thanksgiving"] .section-header h2 {
  background-image: linear-gradient(90deg, var(--cyan), var(--gold));
}

[data-theme="thanksgiving"] .site-footer {
  border-top-color: rgba(228, 193, 90, 0.28);
}

[data-theme="thanksgiving"] .gp-hero {
  background:
    radial-gradient(ellipse 36% 48% at 10% 16%, rgba(228, 193, 90, 0.16), transparent 58%),
    radial-gradient(ellipse 48% 70% at 88% 18%, rgba(177, 58, 69, 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(192, 106, 44, 0.08), transparent 56%),
    var(--navy);
}

[data-theme="thanksgiving"] .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(228, 193, 90, 0.18);
}

@media (max-width: 900px) {
  [data-theme="thanksgiving"] .hero::before {
    width: 5.2rem;
    height: 5.2rem;
    opacity: 0.42;
  }

  [data-theme="thanksgiving"] .hero::after {
    background-size: 0.7rem 1.4rem, 0.55rem 1.1rem, 0.8rem 1.6rem, 0.5rem 1rem, 0.65rem 1.3rem;
    opacity: 0.28;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="thanksgiving"] .hero::after {
    animation: nac-thanks-feathers 20s linear infinite;
  }

  [data-theme="thanksgiving"] .site-header::after {
    animation: nac-thanks-twinkle 3.2s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="thanksgiving"] .hero::after {
    animation: none;
    background-position: 10% 16%, 30% 34%, 58% 20%, 82% 46%, 44% 28%;
    opacity: 0.26;
  }

  [data-theme="thanksgiving"] .site-header::after {
    animation: none;
    opacity: 0.72;
  }

  [data-theme="thanksgiving"] .button-primary,
  [data-theme="thanksgiving"] .button-primary:hover,
  [data-theme="thanksgiving"] .button-primary:focus-visible {
    box-shadow: 0 0 0.65rem rgba(228, 193, 90, 0.28);
  }
}

@keyframes nac-thanks-feathers {
  from {
    background-position: 10% -12%, 30% -24%, 58% -16%, 82% -30%, 44% -14%;
  }
  to {
    background-position: 14% 114%, 26% 120%, 62% 112%, 78% 124%, 48% 116%;
  }
}

@keyframes nac-thanks-twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.94;
  }
}
