/* Seasonal greeting: all decorative layers leave navigation and links usable. */
.hero.hero--christmas {
  --christmas-gold: #f8dfa4;
  background-color: #29121f;
  height: auto;
  min-height: min(800px, 92svh);
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 7%;
  padding-top: 155px;
  padding-bottom: 88px;
}
.hero--christmas .hero-shade {
  display: block;
  /* A feathered reading area follows the centered copy while leaving the edges lighter. */
  background:
    radial-gradient(ellipse at 50% 48%, rgba(35, 11, 25, .83) 0%, rgba(35, 11, 25, .76) 38%, rgba(62, 18, 34, .38) 76%, rgba(62, 18, 34, .22) 100%),
    linear-gradient(180deg, rgba(49, 15, 29, .18), rgba(49, 15, 29, .24));
}
/* A quiet navigation surface and warm, solid lettering stay clear on every photo. */
.site-header {
  background: rgba(35, 14, 25, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 238, 208, .2);
}
.site-header .brand small { color: #f8dfa4; }
.desktop-nav { font-size: .9375rem; }
.hero--christmas .hero-kicker {
  color: #fff0d3;
  font-size: .875rem;
  letter-spacing: .12em;
  line-height: 1.7;
  text-wrap: balance;
}
.hero--christmas .hero-title {
  font-size: clamp(2rem, 13vw, 8.4rem);
  font-weight: 500;
  line-height: .9;
  text-shadow: 0 2px 14px rgba(18, 5, 12, .55);
}
.hero-title-name { display: inline-block; white-space: nowrap; }
.hero--christmas .hero-title em { display: inline; color: #fff8ea; }
.hero--christmas .hero-title small { color: #fff0d3; }
.hero--christmas .hero-copy > p {
  color: #fff;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(18, 5, 12, .65);
  text-wrap: balance;
}
.hero--christmas .hero-cta {
  background: #fff8ea;
  color: #371725;
  border-color: #fff8ea;
  box-shadow: 0 4px 20px rgba(18, 5, 12, .18);
}
.hero--christmas .hero-cta:hover { background: #f8dfa4; border-color: #f8dfa4; }
.hero--christmas .hero-slides img { filter: none; }
.christmas-sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.christmas-sky span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffe6ae;
  box-shadow: 0 0 9px 2px #f5d79560;
  opacity: .35;
  animation: christmasTwinkle 6s ease-in-out var(--delay) infinite;
}
.christmas-sky span:nth-child(3n) { width: 5px; height: 5px; }
.christmas-message {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 100%;
  max-width: 450px;
  text-align: center;
  color: #fff9ed;
}
.christmas-star {
  position: relative;
  width: 84px;
  height: 106px;
  margin: 0 auto 22px;
  pointer-events: none;
  filter: drop-shadow(0 0 12px #f5d795a0);
  animation: christmasStarGlow 6s ease-in-out infinite;
}
.christmas-star::before {
  content: '';
  position: absolute;
  inset: -45px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe2a539, transparent 65%);
}
.christmas-star::after,
.christmas-star span {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #fffaf0, #f5d795 55%, #dca85a);
  clip-path: polygon(50% 0, 57% 40%, 100% 48%, 58% 56%, 50% 100%, 42% 56%, 0 48%, 43% 40%);
}
.christmas-star span { transform: scale(.62) rotate(45deg); opacity: .7; }
.christmas-season {
  display: block;
  color: var(--christmas-gold);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .2em;
  margin-bottom: 15px;
}
.christmas-message h2 {
  font: 500 clamp(2.5rem, 4.2vw, 4rem)/1.12 'Cormorant Garamond', Georgia, serif;
  text-shadow: 0 2px 10px rgba(18, 5, 12, .55);
  letter-spacing: -.025em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.christmas-message h2 strong,
.christmas-message h2 span,
.christmas-message h2 em { display: block; }
.christmas-message h2 strong {
  font-weight: 600;
  font-size: 1.45em;
  color: var(--christmas-gold);
  text-shadow: inherit;
  margin-bottom: 5px;
}
.christmas-message h2 em { font-weight: 500; color: var(--christmas-gold); }
.christmas-message p {
  max-width: 325px;
  margin: 0 auto;
  color: #fff8ef;
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(18, 5, 12, .65);
  line-height: 1.7;
  text-wrap: balance;
}
.christmas-rule {
  display: block;
  height: 1px;
  width: 130px;
  margin: 25px auto 0;
  background: linear-gradient(90deg, transparent, #e9c47d, transparent);
}
.motion-paused .christmas-sky span,
.motion-paused .christmas-star { animation-play-state: paused; }
@keyframes christmasTwinkle {
  0%, 100% { opacity: .2; transform: translateY(4px) scale(.8); }
  50% { opacity: .8; transform: translateY(-4px) scale(1.2); }
}
@keyframes christmasStarGlow {
  0%, 100% { opacity: .78; transform: scale(.97); }
  50% { opacity: 1; transform: scale(1.03); }
}
@media (min-width: 761px) and (max-width: 1150px) {
  .hero.hero--christmas { padding-inline: 5%; gap: 5%; min-height: 720px; }
  .hero--christmas h1 { font-size: clamp(4.5rem, 9vw, 6.5rem); }
  .hero--christmas .hero-kicker { max-width: 300px; }
}
@media (max-width: 760px) {
  .hero--christmas .hero-shade {
    background:
      radial-gradient(ellipse at 50% 50%, rgba(35, 11, 25, .82) 0%, rgba(35, 11, 25, .74) 58%, rgba(62, 18, 34, .35) 100%),
      linear-gradient(180deg, rgba(49, 15, 29, .2), rgba(49, 15, 29, .25));
  }
  .hero.hero--christmas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 115px 25px 85px;
  }
  .christmas-message { order: -1; max-width: 500px; align-self: center; }
  .christmas-star { width: 42px; height: 54px; margin-bottom: 14px; }
  .christmas-season { font-size: .875rem; letter-spacing: .13em; margin-bottom: 10px; }
  .christmas-message h2 { font-size: clamp(2rem, 7.5vw, 3.1rem); line-height: 1.08; margin-bottom: 12px; }
  .christmas-message h2 strong { display: inline; font-size: 1em; font-weight: 600; }
  .christmas-message h2 span { display: inline; }
  .christmas-message p { font-size: 1rem; max-width: 320px; }
  .christmas-rule { margin-top: 22px; width: 100px; }
  .hero--christmas .hero-copy { width: 100%; max-width: 500px; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-sky span, .christmas-star { animation: none; }
}

/* Christmas greeting above the church name on every screen. */
.hero.hero--christmas { display:flex; flex-direction:column; align-items:center; gap:28px; padding-top:120px; min-height:0; }
.hero--christmas .christmas-message { order:0; max-width:900px; }
.hero--christmas .christmas-star { width:38px; height:48px; margin-bottom:10px; }
.hero--christmas .christmas-season { margin-bottom:10px; }
.hero--christmas .christmas-message h2 { font-size:clamp(2rem,4vw,3.5rem); margin-bottom:12px; }
.hero--christmas .christmas-message h2 strong { display:inline; font-size:1em; }
.hero--christmas .christmas-message h2 span,.hero--christmas .christmas-message h2 em { display:inline; }
.hero--christmas .christmas-message p { max-width:600px; }
.hero--christmas .christmas-rule { margin-top:20px; }
.hero--christmas .hero-copy { width:100%; max-width:850px; text-align:center; }
.hero--christmas .hero-copy p,.hero--christmas .hero-kicker { max-width:600px; margin-inline:auto; }
@media(max-width:760px) {
 .hero.hero--christmas { padding-top:105px; gap:26px; }
 .hero--christmas .christmas-message h2 em { display:block; }
}

/* A small trail of light writes each word; the Bethlehem star is the finale. */
.hero--christmas .christmas-message h2 .christmas-word,
.hero--christmas .christmas-message h2 .christmas-letter,
.hero--christmas .christmas-message h2 .christmas-ink {
  display: inline-block;
}
.christmas-word { white-space: nowrap; }
.christmas-letter { position: relative; }
.christmas-ink { vertical-align: top; }
.is-writing .christmas-ink {
  animation: christmasWriteLetter 480ms linear var(--letter-delay) both,
    christmasInkGlow 1100ms ease-out var(--letter-delay) both;
}
.is-writing .christmas-letter::before,
.is-writing .christmas-letter::after {
  content: '';
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: #fff6ce;
  animation: christmasWritingSpark 1000ms ease-out var(--letter-delay) both;
}
.is-writing .christmas-letter::before {
  width: .2em;
  height: .2em;
  top: .24em;
  right: -.03em;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 4px #ffe2a5);
}
.is-writing .christmas-letter::after {
  width: .07em;
  height: .07em;
  top: .8em;
  left: 45%;
  border-radius: 50%;
  box-shadow: 0 0 7px 2px #eac17c80;
  animation-name: christmasWritingDust;
  animation-delay: calc(var(--letter-delay) + 90ms);
}
.is-writing .christmas-star {
  animation: christmasStarArrival 1400ms cubic-bezier(.2,.7,.3,1) var(--star-delay) both;
}
.is-writing .christmas-star::before {
  animation: christmasStarHalo 1400ms ease-out var(--star-delay) both;
}
.motion-paused .christmas-message .christmas-star,
.motion-paused .christmas-message .christmas-star::before,
.motion-paused .christmas-ink,
.motion-paused .christmas-letter::before,
.motion-paused .christmas-letter::after {
  animation-play-state: paused;
}
@keyframes christmasWriteLetter {
  0% { opacity: 0; clip-path: inset(-15% 100% -20% 0); }
  15% { opacity: 1; }
  100% { opacity: 1; clip-path: inset(-15% -15% -20% -15%); }
}
@keyframes christmasInkGlow {
  0% { text-shadow: 0 0 13px #ffe2a5, 0 0 25px #edbd69; }
  100% { text-shadow: 0 0 0 transparent; }
}
@keyframes christmasWritingSpark {
  0% { opacity: 0; transform: translate(-.2em,.1em) scale(.3) rotate(0); }
  22% { opacity: 1; transform: translate(0,0) scale(1.1) rotate(25deg); }
  100% { opacity: 0; transform: translate(var(--spark-drift),-.5em) scale(.2) rotate(90deg); }
}
@keyframes christmasWritingDust {
  0% { opacity: 0; transform: translate(0,-.12em) scale(.3); }
  25% { opacity: .85; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--spark-drift),.45em) scale(.2); }
}
@keyframes christmasStarArrival {
  0% { opacity: 0; transform: translateY(8px) scale(.15) rotate(-20deg); }
  65% { opacity: 1; transform: translateY(0) scale(1.18) rotate(5deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes christmasStarHalo {
  0% { opacity: 0; transform: scale(.3); }
  60% { opacity: 1; transform: scale(1.35); }
  100% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-message .christmas-star,
  .christmas-message .christmas-star::before,
  .christmas-message .christmas-ink { animation: none; }
  .christmas-letter::before,
  .christmas-letter::after { display: none; }
}
