/* Fall / Autumn accents — applied only when html[data-theme="fall"] */

[data-theme="fall"] {
  --amber: #e09a3e;
  --copper: #c06a2c;
  --burnt: #c45a1a;
}

[data-theme="fall"] .site-header {
  border-bottom-color: rgba(224, 154, 62, 0.38);
}

[data-theme="fall"] .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(--amber) 0 1.25px, transparent 1.7px),
    radial-gradient(circle, var(--copper) 0 1.15px, transparent 1.6px),
    radial-gradient(circle, var(--burnt) 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.82;
}

[data-theme="fall"] .site-nav a:hover,
[data-theme="fall"] .site-nav a:focus-visible,
[data-theme="fall"] .site-nav a[aria-current="page"] {
  border-bottom-color: var(--amber);
}

[data-theme="fall"] .hero {
  position: relative;
  overflow: visible;
  --hero-glow: rgba(26, 140, 255, 0.26);
  background:
    radial-gradient(ellipse 38% 46% at 10% 14%, rgba(224, 154, 62, 0.2), transparent 58%),
    radial-gradient(ellipse 24% 30% at 6% 80%, rgba(196, 90, 26, 0.14), transparent 62%),
    radial-gradient(ellipse 52% 68% at 82% 46%, var(--hero-glow), transparent 64%),
    radial-gradient(ellipse 34% 40% at 74% 82%, rgba(192, 106, 44, 0.12), transparent 58%),
    var(--navy);
}

[data-theme="fall"] .hero > .wrap {
  position: relative;
  z-index: 1;
}

[data-theme="fall"] .hero::before,
[data-theme="fall"] .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

[data-theme="fall"] .hero::before {
  width: 7.5rem;
  height: 7.5rem;
  top: 0.35rem;
  left: 0.2rem;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23e09a3e' d='M16 3c.6 2.8-1.4 4.2-3.4 5.8C8.8 11.2 6 12.4 6 16c2.6-.3 4.4.7 6.4 2.2L10 24l6-2.4L22 24l-2.4-5.8c2-1.5 3.8-2.5 6.4-2.2 0-3.6-2.8-4.8-6.6-7.2C17.4 7.2 15.4 5.8 16 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23c45a1a' d='M16 4c.5 2.2-1.2 3.4-2.8 4.8C10.4 10.6 8 11.6 8 14.6c2.1-.2 3.5.6 5.1 1.8L11 21l5-2 5 2-2.1-4.6c1.6-1.2 3-2 5.1-1.8 0-3-2.4-4-5.2-5.8C17.2 7.4 15.5 6.2 16 4z'/%3E%3C/svg%3E");
  background-size: 2.4rem 2.4rem, 1.7rem 1.7rem;
  background-repeat: no-repeat;
  background-position: 12% 18%, 62% 58%;
  opacity: 0.55;
  transform: rotate(-12deg);
}

[data-theme="fall"] .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 32 32'%3E%3Cpath fill='%23e09a3e' d='M16 3c.6 2.8-1.4 4.2-3.4 5.8C8.8 11.2 6 12.4 6 16c2.6-.3 4.4.7 6.4 2.2L10 24l6-2.4L22 24l-2.4-5.8c2-1.5 3.8-2.5 6.4-2.2 0-3.6-2.8-4.8-6.6-7.2C17.4 7.2 15.4 5.8 16 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23c06a2c' d='M16 3c.6 2.8-1.4 4.2-3.4 5.8C8.8 11.2 6 12.4 6 16c2.6-.3 4.4.7 6.4 2.2L10 24l6-2.4L22 24l-2.4-5.8c2-1.5 3.8-2.5 6.4-2.2 0-3.6-2.8-4.8-6.6-7.2C17.4 7.2 15.4 5.8 16 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23c45a1a' d='M16 3c.6 2.8-1.4 4.2-3.4 5.8C8.8 11.2 6 12.4 6 16c2.6-.3 4.4.7 6.4 2.2L10 24l6-2.4L22 24l-2.4-5.8c2-1.5 3.8-2.5 6.4-2.2 0-3.6-2.8-4.8-6.6-7.2C17.4 7.2 15.4 5.8 16 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23d4843a' d='M16 3c.6 2.8-1.4 4.2-3.4 5.8C8.8 11.2 6 12.4 6 16c2.6-.3 4.4.7 6.4 2.2L10 24l6-2.4L22 24l-2.4-5.8c2-1.5 3.8-2.5 6.4-2.2 0-3.6-2.8-4.8-6.6-7.2C17.4 7.2 15.4 5.8 16 3z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23b45309' d='M16 3c.6 2.8-1.4 4.2-3.4 5.8C8.8 11.2 6 12.4 6 16c2.6-.3 4.4.7 6.4 2.2L10 24l6-2.4L22 24l-2.4-5.8c2-1.5 3.8-2.5 6.4-2.2 0-3.6-2.8-4.8-6.6-7.2C17.4 7.2 15.4 5.8 16 3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.15rem 1.15rem, 0.95rem 0.95rem, 1.3rem 1.3rem, 0.85rem 0.85rem, 1.05rem 1.05rem;
  background-position: 12% -8%, 28% -18%, 62% -12%, 84% -22%, 46% -10%;
  opacity: 0.42;
}

[data-theme="fall"] .hero-visual,
[data-theme="fall"] .hero-daisy {
  overflow: visible;
}

[data-theme="fall"] .hero-daisy-photo {
  object-fit: contain;
  object-position: center top;
}

[data-theme="fall"] .hero-visual::before {
  background: radial-gradient(
    ellipse at 58% 52%,
    rgba(26, 140, 255, 0.38),
    rgba(224, 154, 62, 0.16) 48%,
    rgba(196, 90, 26, 0.1) 62%,
    transparent 74%
  );
}

[data-theme="fall"] .button-primary {
  box-shadow: 0 0 1.3rem rgba(224, 154, 62, 0.42);
}

[data-theme="fall"] .button-primary:hover,
[data-theme="fall"] .button-primary:focus-visible {
  box-shadow: 0 0 1.55rem rgba(196, 90, 26, 0.42);
}

[data-theme="fall"] .button-secondary {
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0.8rem rgba(192, 106, 44, 0.24);
}

[data-theme="fall"] .section-header h1,
[data-theme="fall"] .section-header h2 {
  background-image: linear-gradient(90deg, var(--cyan), var(--amber));
}

[data-theme="fall"] .site-footer {
  border-top-color: rgba(224, 154, 62, 0.26);
}

[data-theme="fall"] .gp-hero {
  background:
    radial-gradient(ellipse 36% 48% at 10% 16%, rgba(224, 154, 62, 0.14), transparent 58%),
    radial-gradient(ellipse 48% 70% at 88% 18%, rgba(196, 90, 26, 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="fall"] .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(224, 154, 62, 0.16);
}

@media (max-width: 900px) {
  [data-theme="fall"] .hero::before {
    width: 5rem;
    height: 5rem;
    opacity: 0.4;
  }

  [data-theme="fall"] .hero::after {
    background-size: 0.9rem 0.9rem, 0.75rem 0.75rem, 1rem 1rem, 0.7rem 0.7rem, 0.85rem 0.85rem;
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="fall"] .hero::after {
    animation: nac-fall-leaves 18s linear infinite;
  }

  [data-theme="fall"] .site-header::after {
    animation: nac-fall-twinkle 3.2s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="fall"] .hero::after {
    animation: none;
    background-position: 12% 18%, 28% 36%, 62% 22%, 84% 48%, 46% 30%;
    opacity: 0.28;
  }

  [data-theme="fall"] .site-header::after {
    animation: none;
    opacity: 0.7;
  }

  [data-theme="fall"] .button-primary,
  [data-theme="fall"] .button-primary:hover,
  [data-theme="fall"] .button-primary:focus-visible {
    box-shadow: 0 0 0.65rem rgba(224, 154, 62, 0.28);
  }
}

@keyframes nac-fall-leaves {
  from {
    background-position: 12% -10%, 28% -22%, 62% -14%, 84% -28%, 46% -12%;
  }
  to {
    background-position: 16% 112%, 24% 118%, 66% 110%, 80% 122%, 50% 114%;
  }
}

@keyframes nac-fall-twinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.92;
  }
}
