/* Halloween – black, violet and acid green with pumpkin orange, fog low on the page; Creepster only for the big
   title (it's a display face – body text stays readable). See nytaar.css. */

[data-type="halloween"], body[data-fest-type="halloween"] { --fest-accent: #ff7a00; --fest-accent-2: #b6ff3b; --fest-art: url("/assets/img/fest/types/halloween.svg"); }
:root[data-theme="light"] [data-type="halloween"], :root[data-theme="light"] body[data-fest-type="halloween"] { --fest-accent: #a64a00; --fest-accent-2: #4f7a00; }

body[data-fest-type="halloween"] {
  --fest-font: "Creepster", "Bricolage Grotesque", cursive;
  --bg: #0c0712; --bg-glow: #2a1240; --surface: #170f22; --surface-2: #20152f; --surface-3: #2b1c3e;
  --border: rgba(182, 255, 59, 0.12); --text: #f3ecff; --muted: #b9a9d3; --faint: #8e7fa8;
  --accent: #ff7a00; --accent-ink: #1a0a00;
  --glow-a: rgba(255, 122, 0, 0.16); --glow-b: rgba(126, 60, 200, 0.2);
}
:root[data-theme="light"] body[data-fest-type="halloween"] {
  --bg: #f6f1fb; --bg-glow: #e4d5f3; --surface: #ffffff; --surface-2: #eee6f7; --surface-3: #e2d6f0;
  --border: rgba(30, 16, 48, 0.14); --text: #1e1030; --muted: #5a4a72; --faint: #74658c;
  --accent: #a64a00; --accent-ink: #ffffff;
  --glow-a: rgba(184, 84, 0, 0.1); --glow-b: rgba(110, 50, 170, 0.1);
}
body[data-fest-type="halloween"] .fest-hero h1, body[data-fest-type="halloween"] .fest-lock h1 { letter-spacing: 0.03em; }
/* Creepster is for the title only – the smaller lines and the digits keep the site's face. */
body[data-fest-type="halloween"] :is(.fest-banner h2, .fest-checklist h2, .fest-rsvp-q, .fest-cd-unit b, .fest-lock h2) { font-family: "Bricolage Grotesque", sans-serif; }
body[data-fest-type="halloween"] .fest-hero { background: linear-gradient(170deg, var(--surface-3), var(--surface)); border-color: color-mix(in srgb, var(--fest-accent-2) 30%, transparent); }

@media (prefers-reduced-motion: no-preference) {
  body[data-fest-type="halloween"]::after {
    content: ""; position: fixed; left: -10%; right: -10%; bottom: -40px; height: 220px; z-index: -1; pointer-events: none;
    background: radial-gradient(60% 100% at 30% 100%, rgba(200, 190, 230, 0.16), transparent 70%),
                radial-gradient(50% 90% at 75% 100%, rgba(200, 190, 230, 0.12), transparent 70%);
    animation: hw-fog 14s ease-in-out infinite alternate;
  }
}
@keyframes hw-fog { to { transform: translateX(6%); } }
