/* Brochure artwork is served at display size. Dates and times stay as live text. */
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
:root {--gold:#f0cb8d;--line:#344b4e;--muted:#ccd7d7}
.site-header {background:#081a20;min-height:60px;border-bottom-color:#354241}
.site-header a:hover {text-decoration:underline;text-underline-offset:.28em}
.christmas-hero {
  position:relative; isolation:isolate; display:flex; flex-direction:column;
  justify-content:center; align-items:center; gap:0; min-height:0;
  padding:clamp(2.3rem,4.5vw,4.8rem) 1rem clamp(3.1rem,5vw,5.3rem); text-align:center;
  background-color:#0b232c;
  background-image:radial-gradient(ellipse at 50% 16%,#29454b 0%,transparent 67%),
                   linear-gradient(150deg,#10303a 0%,#102a32 53%,#091c26 100%);
  background-size:100% 100%; background-repeat:no-repeat;
}
.christmas-hero::before {
  position:absolute; content:""; z-index:-1; pointer-events:none; inset:auto 0 0;
  height:clamp(8rem,16vw,18rem);
  background:url(evergreen.webp) center bottom / cover no-repeat;
  mask-image:linear-gradient(to bottom,transparent 0%,rgb(0 0 0 / .08) 19%,rgb(0 0 0 / .45) 50%,#000 100%);
}
.christmas-hero .hero-meta {
  font:600 clamp(1rem,1.55vw,1.25rem)/1.35 var(--sans);
  letter-spacing:.13em; text-transform:uppercase; color:#f4dbaa;
}
.christmas-hero h1 {margin:0 0 .25rem;width:min(88vw,40.6rem);font-size:inherit;line-height:1}
.christmas-hero h1 img {width:100%;height:auto;mask-image:linear-gradient(to bottom,transparent,#000 5%,#000 96%,transparent),linear-gradient(to right,transparent,#000 2%,#000 98%,transparent);mask-composite:intersect}
.christmas-hero .hero-intro {max-width:48ch;color:#f4eee4;font-size:clamp(1rem,1.7vw,1.21rem);line-height:1.53;text-wrap:balance}
.christmas-hero .button-row {justify-content:center;margin-top:1.3rem;gap:.65rem}
.christmas-hero .button {border-radius:100px;font-size:1rem;min-height:46px;padding-inline:1.5rem}
.christmas-hero .button.secondary {background:#071820d9;border-color:#ad936b;color:#fff2d7}

/* The brochure concentrates its flecks at opposite corners of the cover. */
.hero-embers {display:none}
@media (prefers-reduced-motion: no-preference) {
  .hero-embers {
    display:block; position:absolute; inset:0; z-index:-1; pointer-events:none;
    overflow:hidden;
  }
  .hero-embers i {
    position:absolute; left:var(--x); top:var(--y);
    width:var(--size,3px); height:var(--size,3px); border-radius:50%;
    background:#ffe2a1; box-shadow:0 0 4px 1px rgb(236 166 71 / .5);
    opacity:0; animation:ember-drift var(--cycle,9s) ease-in-out var(--delay) infinite;
  }
  .hero-embers i:nth-child(1) {--x:4%;  --y:97%; --delay:-2s; --cycle:8s}
  .hero-embers i:nth-child(2) {--x:10%; --y:94%; --delay:-6s; --size:2px}
  .hero-embers i:nth-child(3) {--x:16%; --y:91%; --delay:-4s; --cycle:11s}
  .hero-embers i:nth-child(4) {--x:23%; --y:95%; --delay:-8s; --size:2px}
  .hero-embers i:nth-child(5) {--x:76%; --y:20%; --delay:-3s; --size:2px}
  .hero-embers i:nth-child(6) {--x:82%; --y:16%; --delay:-7s; --cycle:10s}
  .hero-embers i:nth-child(7) {--x:88%; --y:12%; --delay:-1s; --cycle:11s; --size:2px}
  .hero-embers i:nth-child(8) {--x:92%; --y:11%; --delay:-5s; --size:2px}
  @keyframes ember-drift {
    0%, 16% {opacity:0; transform:translate(0,0) scale(.7)}
    43% {opacity:.85}
    72%, 100% {opacity:0; transform:translate(10px,-16px) scale(.88)}
  }
}

.footer-motion-control {display:none}
@media (prefers-reduced-motion: no-preference) {
  .footer-motion-control {display:inline-flex; align-items:center; gap:.5rem; min-height:44px; color:var(--muted); cursor:pointer}
  .footer-motion-control input {margin:0; width:1rem; height:1rem; accent-color:var(--gold)}
  .footer-motion-control input:focus-visible {outline:2px solid var(--gold); outline-offset:3px}
  body:has(#christmas-pause-motion:checked) .hero-embers i,
  body:has(#christmas-pause-motion:checked) .accent-active::after {animation-play-state:paused}
}

#schedule {background:linear-gradient(180deg,#0b2029,#07161c)}
#schedule .section-heading {display:flex;align-items:baseline;justify-content:space-between;gap:.6rem 1.5rem;flex-wrap:wrap;margin-bottom:1.7rem}
#schedule .section-heading h2 {margin:0}
#schedule .event-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,1.7vw,1.45rem)}
#schedule .event-card {position:relative;isolation:isolate;overflow:hidden;min-width:0;border:1px solid #947a4d86;border-radius:12px;background:#0f2830;color:#fff5df}
#schedule .date {font-size:.89rem;line-height:1.4;letter-spacing:.08em;color:#f6d49d;margin:0 0 .65rem}
#schedule .event-title {line-height:1;margin:0}
.event-title img {width:auto;height:auto;max-width:100%;object-fit:contain;object-position:left center}
#schedule .wide-event {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.48fr) minmax(0,.85fr);align-items:center;gap:clamp(1.15rem,3vw,3.2rem);grid-column:1/-1;padding:clamp(1.4rem,3.3vw,3rem)}
#schedule .tree-lighting {background:radial-gradient(ellipse at 16% 14%,#32594b80,transparent 57%),linear-gradient(105deg,#102b30ed,#0d262bee),url(night-sky.webp) center/600px auto}
#schedule .candlelight {background:radial-gradient(ellipse at 87% 36%,#71452865,transparent 42%),linear-gradient(110deg,#192528,#1d1a19)}
.wide-heading .event-title img {width:min(100%,17rem)}
.wide-heading .event-title {margin-top:.35rem}
#schedule .wide-event .event-times {list-style:none;margin:0;padding:0;color:#fff5e5;font-size:1rem;line-height:1.52}
#schedule .tree-lighting .event-times li {padding-block:.4rem;border-bottom:1px solid #edc48335}
#schedule .tree-lighting .event-times li:first-child {padding-top:0}
#schedule .event-times time {font-weight:700;color:#ffe1a9}
#schedule .wide-details a {margin-top:.9rem;font-weight:650;text-decoration-thickness:1px}
#schedule .candlelight .event-times {font:600 clamp(1.5rem,2.6vw,2.35rem)/1.25 var(--serif);color:#ffdea2}
.wide-details p + p {margin-top:.45rem}
.snapshots {position:relative;width:100%;height:clamp(10.5rem,15vw,13.8rem);max-width:16rem;justify-self:center}
.print-photo {object-fit:cover;height:auto;border:1px solid #e6be77;border-radius:6px;box-shadow:0 7px 19px #0006}
.snapshots .snap-one {position:absolute;width:61%;top:0;right:0;transform:rotate(3deg)}
.snapshots .snap-two {position:absolute;width:69%;bottom:0;left:0;transform:rotate(-4deg)}
.candlelight .snap-one {width:auto;height:96%}
.candlelight .snap-two {width:59%}
#schedule .weekend {display:flex;flex-direction:column;padding:0;background:linear-gradient(145deg,#19333a,#0c212a 70%)}
#schedule .spirit {background:linear-gradient(145deg,#2f3c35,#122a29 72%)}
#schedule .glory {background:linear-gradient(145deg,#272f43,#11232b 72%)}
.week-top {padding:clamp(1.25rem,2.2vw,2rem)}
#schedule .weekend .event-title {height:clamp(5rem,7vw,6.4rem);margin:1.05rem 0}
.weekend .event-title img {height:100%;width:auto}
.weekend .event-times {color:#fff3dc;font-weight:600;margin-bottom:.2rem}
.artist {display:flex;align-items:center;gap:1rem;margin-top:1.15rem}
.artist-img {width:4.25rem;height:4.8rem;object-position:center 20%}
.spirit .artist-img {width:5.75rem}
.artist p {display:grid;gap:.15rem;line-height:1.28}
.artist p span {color:var(--muted);font-size:.9rem}
.artist strong {color:#ffe6bd;font:600 1.4rem/1.08 var(--serif)}
.devotional {display:flex;align-items:center;gap:.72rem;margin-top:1.1rem}
.devotional img {width:2.7rem;height:auto;flex:none;border-radius:2px}
.devotional p {font-size:1rem;line-height:1.45}
#schedule .event-detail {display:grid;grid-template-columns:minmax(0,4.9rem) minmax(0,1fr);align-items:center;gap:.95rem;margin:auto 0 0;padding:1.1rem clamp(1.25rem,2.2vw,2rem);border-color:#c8a76d55;background:#071b22}
.event-detail .feature-art {width:100%;height:auto;border-radius:3px;box-shadow:0 3px 10px #0006}
#schedule .spirit-feature {background:linear-gradient(112deg,#522a21,#301b1b)}
#schedule .event-detail h4 {color:#ffdead;margin:0 0 .42rem;font:600 1.32rem/1.06 var(--serif)}
#schedule .event-detail p {font-size:1rem;line-height:1.45}
#schedule .glory-feature {display:flex;flex-direction:column;align-items:stretch;gap:.7rem;padding-top:.9rem}
.glory-feature .feature-art {width:100%;aspect-ratio:3.8;object-fit:cover}
#kids {isolation:isolate;position:relative;overflow:hidden;background:radial-gradient(ellipse at 17% 48%,#254856 0,transparent 43%),linear-gradient(115deg,#102c38,#0e2732 58%,#182e36)}
#kids::before,#kids::after {content:"";position:absolute;z-index:-1;pointer-events:none}
#kids::before {top:-1.3rem;left:-1rem;width:22rem;height:4.2rem;border-bottom:1px solid #e8cc805d;transform:rotate(-8deg);background:repeating-conic-gradient(from 140deg at 50% 0%,#66c29760 0deg 78deg,transparent 79deg 360deg) 0 100%/2.65rem 1rem repeat-x;opacity:.52}
#kids::after {inset:0;background:radial-gradient(circle at 93% 85%,transparent 8px,#c7edf032 9px,transparent 11px),radial-gradient(circle at 95% 83%,#eaf8f01e 0 4px,transparent 5px),radial-gradient(circle at 5% 78%,#bceef530 0 5px,transparent 6px),radial-gradient(circle at 7% 75%,transparent 8px,#c7edf038 9px,transparent 11px)}
.kids-wordmark {justify-self:center;width:min(100%,22rem)}
.kids-wordmark img {mask-image:none;filter:drop-shadow(0 .8rem 1rem #04161d66)}
#visit {background:linear-gradient(160deg,#10272c,#0a1a21)}
#visit .visit-grid > article {border:0;border-top:1px solid #bda16b80;border-radius:0;padding:1.3rem 0;background:transparent}
.visit-grid {column-gap:clamp(2rem,5vw,6rem)}
footer a[href^="tel:"] {white-space:nowrap}
@media (max-width:30rem) {
  footer .contact-divider {display:none}
  footer a[href^="tel:"] {display:block;width:fit-content}
}
footer .review-note {float:right;margin:.2rem 0 0;font-size:.86rem}

@media (prefers-reduced-motion: no-preference) {
  .accent-active::after {
    content:""; position:absolute; pointer-events:none;
  }
  .tree-lighting.accent-active::after, .candlelight.accent-active::after {
    inset:0; z-index:-1; opacity:0;
    animation:section-glow 2.6s ease-in-out;
  }
  .tree-lighting.accent-active::after {
    background:radial-gradient(ellipse at 14% 20%, #ffd88b48, transparent 41%);
  }
  .candlelight.accent-active::after {
    background:radial-gradient(ellipse at 84% 52%, #f7ae615c, transparent 48%);
  }
  .weekend.accent-active::after {
    top:0; left:0; width:45%; height:2px; opacity:0;
    background:linear-gradient(90deg,transparent,#f6d7a1,transparent);
    animation:section-gilt 1.7s ease-out;
  }
  .spirit.accent-active::after {animation-delay:.18s}
  .glory.accent-active::after {animation-delay:.35s}
  #kids.accent-active::after {animation:section-snow 1.8s ease-in-out}
  #visit-title {position:relative}
  #visit-title.accent-active::after {
    left:0; bottom:-.13em; width:3.8rem; height:1px; opacity:0;
    background:linear-gradient(90deg,#f1c884,transparent); transform-origin:left;
    animation:section-underline 1.6s ease-out;
  }
  @keyframes section-glow {0%,100% {opacity:0} 45% {opacity:1}}
  @keyframes section-gilt {
    0% {opacity:0; transform:translateX(-70%)}
    40% {opacity:.78}
    100% {opacity:0; transform:translateX(210%)}
  }
  @keyframes section-snow {
    0%,100% {transform:translate(0,0); opacity:1}
    48% {transform:translate(5px,-7px); opacity:.72}
  }
  @keyframes section-underline {
    0% {opacity:0; transform:scaleX(.2)}
    55% {opacity:.85; transform:scaleX(1)}
    100% {opacity:0; transform:scaleX(1)}
  }
}

@media (max-width:990px) {
 #schedule .event-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 #schedule .wide-event {grid-template-columns:1fr 1.45fr;gap:1.4rem}
 .wide-event .snapshots {grid-column:1;grid-row:2;max-width:12rem;height:8rem;justify-self:start}
 .wide-event .wide-details {grid-column:2;grid-row:1/span 2}
 .wide-heading .event-title img {width:min(100%,13rem)}
 #schedule .glory {grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
 #schedule .glory-feature {margin:0;justify-content:center}
}
@media (max-width:660px) {
 #schedule .event-grid {grid-template-columns:1fr}
 #schedule .wide-event {grid-template-columns:minmax(0,1fr) minmax(6rem,.64fr);align-items:center;gap:1rem;padding:1.25rem}
 .wide-event .snapshots {grid-column:2;grid-row:1;justify-self:end;height:7.6rem;max-width:9rem}
 .wide-event .wide-details {grid-row:2;grid-column:1/-1}
 #schedule .event-title img {max-width:100%}
 #schedule .glory {grid-column:auto;display:flex}
 #schedule .glory-feature {margin-top:auto}
 #schedule .weekend .event-title {height:5.2rem}
 .week-top {padding:1.35rem}
 #schedule .weekend .artist {margin-top:1rem}
 #kids .kids-wordmark {width:min(70vw,19rem)}
 .christmas-hero {padding-block:2.5rem 3.6rem}
 footer .review-note {float:none;display:block;margin:0 0 .6rem}
}
@media (forced-colors:active) {
 .event-title img,.christmas-hero h1 img {display:none}
 .event-title .sr-only,.christmas-hero h1 .sr-only {position:static;clip-path:none;width:auto;height:auto;font:600 2rem/1.2 Georgia,serif;white-space:normal}
}
