/* Thanksgiving – amber, rust and harvest gold, leaves drifting down; Young Serif for the big lines. See nytaar.css. */

[data-type="thanksgiving"], body[data-fest-type="thanksgiving"] { --fest-accent: #f08a3c; --fest-accent-2: #e3a72f; --fest-art: url("/assets/img/fest/types/thanksgiving.svg"); }
:root[data-theme="light"] [data-type="thanksgiving"], :root[data-theme="light"] body[data-fest-type="thanksgiving"] { --fest-accent: #b4501a; --fest-accent-2: #8a5a0c; }

body[data-fest-type="thanksgiving"] {
  --fest-font: "Young Serif", Georgia, serif;
  --bg: #1c1008; --bg-glow: #4a2810; --surface: #2a1a0e; --surface-2: #352213; --surface-3: #43301b;
  --border: rgba(255, 210, 160, 0.13); --text: #fff1e0; --muted: #e0c3a3; --faint: #b49a7c;
  --accent: #f08a3c; --accent-ink: #2b1300;
  --glow-a: rgba(240, 138, 60, 0.2); --glow-b: rgba(227, 167, 47, 0.14);
}
:root[data-theme="light"] body[data-fest-type="thanksgiving"] {
  --bg: #fbf3e6; --bg-glow: #f1dcbc; --surface: #fffaf2; --surface-2: #f5e6d0; --surface-3: #ecd6b7;
  --border: rgba(59, 29, 8, 0.14); --text: #3b1d08; --muted: #6f4b2e; --faint: #8a6a4e;
  --accent: #b4501a; --accent-ink: #ffffff;
  --glow-a: rgba(180, 80, 26, 0.12); --glow-b: rgba(138, 90, 12, 0.08);
}
body[data-fest-type="thanksgiving"] .fest-hero {
  background: linear-gradient(150deg, color-mix(in srgb, #c8452c 30%, var(--surface)), color-mix(in srgb, var(--fest-accent-2) 22%, var(--surface)));
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  body[data-fest-type="thanksgiving"]::after {
    content: ""; position: fixed; inset: -60px 0 0; z-index: -1; pointer-events: none; opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4l3 7 7-3-2 8 7 3-7 3 2 8-7-3-3 7-3-7-7 3 2-8-7-3 7-3-2-8 7 3z' fill='%23e07a2b'/%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 4l3 7 7-3-2 8 7 3-7 3 2 8-7-3-3 7-3-7-7 3 2-8-7-3 7-3-2-8 7 3z' fill='%23c8452c'/%3E%3C/svg%3E");
    background-size: 26px 26px, 20px 20px; background-repeat: no-repeat;
    background-position: 14% 0, 78% 0;
    animation: tg-fall 20s linear infinite;
  }
}
@keyframes tg-fall { to { background-position: 4% 110vh, 88% 110vh; } }
