/* Christmas touches (active only when <html class="xmas">, set by assets/js/christmas.js) */
.xmas-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* Opening overlay, Joy palette */
html.xmas #intro { background: #701020; }
html.xmas #intro > *:not(.xmas-snow) { position: relative; z-index: 4; }
html.xmas #intro > #intro-year, html.xmas #intro > #intro-progress-wrap { position: absolute; }
html.xmas #intro-label { color: rgba(242,230,210,.6); }
html.xmas #intro-year { color: rgba(242,230,210,.85); font-style: normal; font-family: 'Montserrat', sans-serif; font-weight: 300; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; }
html.xmas #intro-loc { color: rgba(242,230,210,.6); }
html.xmas #intro-bottom { border-top-color: rgba(242,230,210,.2); }
html.xmas #intro-gold-dot { background: #f2e6d2; }
html.xmas #intro-progress-wrap { background: rgba(242,230,210,.12); }
html.xmas #intro-progress { background: #f2e6d2; }
html.xmas #intro-main { align-items: flex-start; }
html.xmas #intro-wordmark { color: #f2e6d2; font-size: inherit; letter-spacing: 0; line-height: 1; }
html.xmas .xmas-joy { display: block; width: min(720px, 58vw); height: auto; margin: 0 0 0 -1%;
  /* joy.webp is the red ink script; turn it cream, keep the ink texture */
  filter: brightness(0) invert(1) sepia(.55) saturate(1.1) brightness(.98); }
html.xmas .xmas-ishere { display: block; width: max-content; margin: -.12em 0 0 calc(min(720px, 58vw) * .32);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.01em;
  font-size: calc(min(720px, 58vw) * .236); line-height: .95; color: #f2e6d2; }
@media (max-width: 900px) {
  html.xmas #intro-main { justify-content: center; padding: 0 0 6vh; }
  html.xmas .xmas-joy { width: 80vw; }
  html.xmas .xmas-ishere { font-size: calc(80vw * .19); margin-left: 21vw; }
}

/* Nav bar in Joy red (off for now; remove the .off-x to turn on) */
html.xmas.off-x nav { background: rgba(112,16,32,.96); border-bottom-color: rgba(242,230,210,.16); }
html.xmas.off-x nav .logo-main { color: #f2e6d2; }
html.xmas.off-x nav .logo-sub { color: #d9bd84; }
html.xmas.off-x .nav-center a { -webkit-text-stroke-color: rgba(242,230,210,.62); }
html.xmas.off-x .nav-center a:hover { -webkit-text-stroke-color: #f2e6d2; }
html.xmas.off-x .nav-watch { color: #f2e6d2; -webkit-text-fill-color: #f2e6d2; border-color: rgba(242,230,210,.7); }
html.xmas.off-x .nav-watch:hover { background: #f2e6d2; -webkit-text-fill-color: #701020; }
html.xmas.off-x .nav-toggle span { background: #f2e6d2; }

/* countdown band: text above snow, photo stars below */
.xc .xc-inner { z-index: 4; }


/* Accent color: gold becomes Christmas red for the season */
html.xmas { --gold: #701020; }
html.xmas .eyebrow-dk, html.xmas .page-eyebrow-dark, html.xmas .sermon-eyebrow, html.xmas .time-note { color: #701020; }
html.xmas .eyebrow-dk::before, html.xmas .page-eyebrow-dark::before, html.xmas .sermon-eyebrow::before { background: #701020; }

/* Evergreen: social + give sections */
html.xmas .firsttime-sec, html.xmas .give-sec { background: #173a2a; border-color: rgba(242,230,210,.08); }
html.xmas .social-eyebrow, html.xmas .give-eyebrow { color: rgba(242,230,210,.7); }
html.xmas .social-h2 em { color: #f2e6d2; -webkit-text-fill-color: #f2e6d2; }
html.xmas .give-ghost { -webkit-text-stroke-color: rgba(242,230,210,.07); }
html.xmas .give-sec .btn-gold { background: #701020; }

/* Hero labels stay gold */
html.xmas .hero-eyebrow, html.xmas .hero-times-label { color: #b8975a; }
html.xmas .hero-eyebrow::before { background: #b8975a; }
/* Hero "to Come." in sparkling gold: a slow shine sweeping across + twinkles */
html.xmas .hero-h1 em { position: relative; display: inline-block; padding: .1em .2em .15em .2em; margin: -.1em -.2em -.15em -.2em;
  color: transparent; -webkit-text-fill-color: transparent;
  /* one seamless tile: plain gold, a soft highlight in the middle, plain gold again */
  background: linear-gradient(100deg, #b8975a 0%, #b8975a 38%, #d9bd7c 44%, #f6e7bb 48%, #fff8e6 50%, #f6e7bb 52%, #d9bd7c 56%, #b8975a 62%, #b8975a 100%) 0 0 / 300% 100% repeat-x;
  -webkit-background-clip: text; background-clip: text;
  animation: xmasShine 7s linear infinite; }
@keyframes xmasShine { from { background-position: 150% 0 } to { background-position: -150% 0 } }
.xmas-twinkle { position: absolute; will-change: transform, opacity; width: var(--s); height: var(--s); pointer-events: none; color: #fff6dc;
  filter: drop-shadow(0 0 6px rgba(255,230,160,.9)); animation: xmasTw var(--d) ease-in-out infinite; animation-delay: var(--dl); opacity: 0; }
.xmas-twinkle svg { display: block; width: 100%; height: 100%; }
@keyframes xmasTw { 0%,100% { opacity: 0; transform: scale(.3) rotate(0) } 50% { opacity: 1; transform: scale(1) rotate(90deg) } }
@media (prefers-reduced-motion: reduce) { html.xmas .hero-h1 em { animation: none; background-position: 0 0; } .xmas-twinkle { display: none; } }
