/* Beta-only Christmas theme — atmosphere only; layout unchanged */

:root {
  --navy: #0c1a16;
  --navy-soft: #143028;
  --ink: #141a1f;
  --muted: #55605a;
  --paper: #f7f1e8;
  --white: #fffaf3;
  --gold: #d4a84b;
  --gold-soft: #f0d78c;
  --blue: #c41e3a;
  --blue-deep: #9e1830;
  --line: rgba(20, 48, 40, 0.12);
  --shadow: 0 18px 50px rgba(12, 32, 24, 0.18);
  --holly: #1b5e3b;
  --holly-soft: #2d8a56;
  --berry: #c41e3a;
  --candle: #ffe7a8;
}

html {
  background: var(--white);
}

body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1100px 420px at 0% 0%, rgba(196, 30, 58, 0.1), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(27, 94, 59, 0.12), transparent 50%),
    transparent;
}

/* Falling snow — behind page content */
body::before,
body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: -100%;
  height: 200%;
  pointer-events: none;
  z-index: -1;
  background-repeat: repeat;
  will-change: transform;
}

body::before {
  background-image:
    radial-gradient(2px 2px at 18% 14%, #fff 55%, transparent 60%),
    radial-gradient(2.5px 2.5px at 62% 28%, #fff 55%, transparent 60%),
    radial-gradient(2px 2px at 40% 58%, #fff 55%, transparent 60%),
    radial-gradient(2px 2px at 84% 72%, #fff 55%, transparent 60%),
    radial-gradient(1.5px 1.5px at 28% 88%, #fff 55%, transparent 60%);
  background-size: 480px 620px;
  animation: wol-snow-fall 22s linear infinite;
  opacity: 0.55;
}

body::after {
  background-image:
    radial-gradient(1.5px 1.5px at 32% 20%, rgba(255, 255, 255, 0.9) 55%, transparent 60%),
    radial-gradient(2px 2px at 74% 48%, rgba(255, 255, 255, 0.85) 55%, transparent 60%),
    radial-gradient(1.5px 1.5px at 52% 82%, rgba(255, 255, 255, 0.8) 55%, transparent 60%);
  background-size: 420px 560px;
  animation: wol-snow-fall 32s linear infinite;
  opacity: 0.4;
}

@keyframes wol-snow-fall {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
    top: 0;
    height: 100%;
    opacity: 0.25;
  }

  .site-header::after {
    animation: none !important;
  }
}

/* Header — deep evergreen + Christmas light strand */
.site-header {
  overflow: visible;
  background: rgba(10, 28, 22, 0.97);
  border-bottom: 1px solid rgba(212, 168, 75, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.nav-shell {
  overflow: visible;
}

/* Santa hat sitting on the outside top of the brand circle */
.brand {
  position: relative;
  overflow: visible;
}

.brand::after {
  content: "";
  position: absolute;
  /* Circle is the left ~2.5em of the logo; perch hat on its outer top rim */
  left: 0.65em;
  top: -1.05em;
  width: 1.55em;
  height: 1.2em;
  background: url("/images/santa-hat.svg") no-repeat center bottom / contain;
  transform: rotate(16deg);
  transform-origin: 40% 100%;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

/* Mobile: logo max-width shrinks the circle; scale hat with brand width */
@media (max-width: 980px) {
  .brand::after {
    left: 5.9%;
    width: 14.1%;
    height: auto;
    aspect-ratio: 56 / 48;
    /* Sit lower onto letterboxed circle inside fixed 2.5em img height */
    top: -0.65em;
  }
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 6px;
  pointer-events: none;
  background:
    radial-gradient(circle at 0 50%, #c41e3a 0 2.5px, transparent 3px) 0 0 / 28px 6px,
    radial-gradient(circle at 0 50%, #f0d78c 0 2.5px, transparent 3px) 9px 0 / 28px 6px,
    radial-gradient(circle at 0 50%, #2d8a56 0 2.5px, transparent 3px) 18px 0 / 28px 6px;
  filter: drop-shadow(0 0 4px rgba(240, 215, 140, 0.55));
  animation: wol-lights-twinkle 1.8s ease-in-out infinite alternate;
}

@keyframes wol-lights-twinkle {
  from { opacity: 0.75; filter: drop-shadow(0 0 3px rgba(240, 215, 140, 0.35)); }
  to { opacity: 1; filter: drop-shadow(0 0 7px rgba(196, 30, 58, 0.55)); }
}

.nav-link {
  color: rgba(255, 248, 235, 0.92);
}

.nav-link.accent-gold,
.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--candle);
}

.nav-link.accent-blue {
  color: #ff8a9a;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold-soft);
}

/* Primary CTAs → Christmas berry (same button sizes) */
.btn-primary {
  background: var(--berry);
  box-shadow: 0 8px 22px rgba(196, 30, 58, 0.35);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-dark {
  background: linear-gradient(135deg, #1b5e3b 0%, #0c1a16 100%);
}

.btn-dark:hover {
  background: linear-gradient(135deg, #2d8a56 0%, #143028 100%);
}

.btn-ghost {
  background: rgba(196, 30, 58, 0.28);
  border-color: rgba(240, 215, 140, 0.75);
}

.service-countdown {
  background:
    linear-gradient(90deg, rgba(196, 30, 58, 0.42), rgba(212, 168, 75, 0.28) 50%, rgba(27, 94, 59, 0.35));
}

a.btn.btn-nav[data-watch-cta]::before,
.btn-nav[data-watch-cta]::before {
  background: linear-gradient(135deg, #c41e3a 0%, #1b5e3b 45%, #d4a84b 100%);
}

/* Hero wash — holly + berry tint */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 26, 22, 0.42) 0%, rgba(12, 26, 22, 0.14) 42%, transparent 72%),
    linear-gradient(0deg, rgba(27, 94, 59, 0.28), transparent 48%),
    linear-gradient(180deg, rgba(196, 30, 58, 0.16), transparent 38%);
}

.pill {
  background: rgba(12, 36, 28, 0.72);
  border: 1px solid rgba(212, 168, 75, 0.4);
  color: var(--candle);
}

.pill-live {
  border-color: rgba(196, 30, 58, 0.55);
  color: #fff;
}

.section-title,
.eyebrow {
  color: var(--navy);
}

.eyebrow {
  color: var(--holly);
}

.events,
.page-contact,
.page-announcement {
  background:
    radial-gradient(720px 300px at 50% 0%, rgba(196, 30, 58, 0.07), transparent 65%),
    radial-gradient(640px 260px at 80% 20%, rgba(27, 94, 59, 0.06), transparent 60%);
}

/* Footer holiday edge */
.site-footer {
  background:
    linear-gradient(180deg, rgba(27, 94, 59, 0.08), transparent 45%),
    var(--white);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #c41e3a, #d4a84b, #1b5e3b, #d4a84b, #c41e3a) 1;
}

.site-footer a:hover {
  color: var(--berry);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--holly-soft);
  box-shadow: 0 0 0 3px rgba(27, 94, 59, 0.18);
}

.event:hover {
  box-shadow: 0 20px 48px rgba(196, 30, 58, 0.14);
}

/* WOLBI — same seasonal accents, own tokens */
.page-wolbi {
  --wolbi-navy: #0c1a28;
  --wolbi-yellow: #e8c44a;
  --wolbi-yellow-deep: #d4a82a;
  --wolbi-paper: #f7f1e8;
  background:
    radial-gradient(900px 400px at 10% -5%, rgba(196, 30, 58, 0.08), transparent 55%),
    radial-gradient(800px 360px at 90% 0%, rgba(27, 94, 59, 0.1), transparent 50%),
    #fff;
}
