/* festive.css — THE SEASONAL PHOTO LAYER (brief 182 → brief 183, Kori 11-22-2026).
   ⚠ EVERY RULE WAITS FOR html.festive (+ html.fx-christmas / fx-newyear /
     fx-winter for the photos). The one-line script in each page's <head> and
     festive.js add them; with the season off, none of this applies.
   ⚠ Nothing here may sit on top of text or a button: the strip and the scene
     are blocks in the page flow, and the snow layer lets every tap through.
   ⚠ Every photo is in img/ as WebP, a wide one for computers and a smaller
     "-phone" one (≤640px). No people in any of them (Kori, brief 183). */

/* ── the photo strip under the header, on every page ──────────────────── */
html.festive .fx-strip{position:relative;height:86px;overflow:hidden;pointer-events:none;
  background:#1B3354 center 50%/cover no-repeat;border-bottom:3px solid #C9A24A}
html.festive .fx-strip::after{content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0) 70%,rgba(0,0,0,.18) 100%)}
html.fx-christmas .fx-strip{background-image:url("img/xmas-strip.webp");background-position:center 38%}
html.fx-newyear .fx-strip{background-color:#0B1428;background-image:url("img/ny-strip.webp");background-position:center 45%}
html.fx-winter .fx-strip{background-color:#6FA3DA;background-image:url("img/win-strip.webp");background-position:center 62%}

/* ── the home page's big photo (the .hero slides) takes the season's photos.
   !important beats the slides' own inline picture; the words, buttons and
   links on top are untouched. A slightly deeper shade keeps the white words
   readable over snow. ─────────────────────────────────────────────────── */
html.fx-christmas .hero .slide:nth-child(1){background-image:url("img/xmas-hero-fireplace.webp")!important}
html.fx-christmas .hero .slide:nth-child(2){background-image:url("img/xmas-hero-storefront.webp")!important}
html.fx-christmas .hero .slide:nth-child(3){background-image:url("img/xmas-hero-cocoa.webp")!important}
html.fx-newyear .hero .slide:nth-child(1){background-image:url("img/ny-hero-fireworks.webp")!important}
html.fx-newyear .hero .slide:nth-child(2){background-image:url("img/ny-hero-sparklers.webp")!important}
html.fx-newyear .hero .slide:nth-child(3){background-image:url("img/ny-hero-gazebo.webp")!important}
html.fx-winter .hero .slide:nth-child(1){background-image:url("img/win-hero-storefront.webp")!important}
html.fx-winter .hero .slide:nth-child(2){background-image:url("img/win-hero-frost.webp")!important}
html.fx-winter .hero .slide:nth-child(3){background-image:url("img/win-hero-latte.webp")!important}
html.festive .hero::after{background:linear-gradient(180deg,rgba(18,12,8,.40) 0%,rgba(18,12,8,.50) 60%,rgba(18,12,8,.64) 100%)}
html.fx-winter .hero::after{background:linear-gradient(180deg,rgba(10,22,40,.40) 0%,rgba(10,22,40,.50) 60%,rgba(10,22,40,.66) 100%)}

/* ── the photo scene above the footer ─────────────────────────────────── */
html.festive .fx-scene{position:relative;overflow:hidden;height:clamp(230px,30vw,420px);
  background:#1E2A22;border-top:6px solid #C9A24A}
html.fx-newyear .fx-scene{background:#0B1428}
html.fx-winter .fx-scene{background:#6FA3DA}
html.festive .fx-art,html.festive .fx-art picture{position:absolute;inset:0;display:block}
html.festive .fx-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
html.fx-christmas .fx-photo{object-position:55% 60%}
html.fx-winter .fx-photo{object-position:50% 70%}
html.festive .fx-art::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.42) 0%,rgba(0,0,0,.14) 38%,rgba(0,0,0,0) 60%)}
html.festive .fx-greet{position:absolute;left:0;right:0;top:clamp(.8rem,3vw,2rem);z-index:1;
  display:flex;flex-direction:column;align-items:center;padding:0 1rem;text-align:center;
  font-family:'Yeseva One',Georgia,serif;color:#F7E1A8;line-height:1.05;
  text-shadow:0 2px 3px rgba(0,0,0,.55),0 0 18px rgba(0,0,0,.45)}
html.festive .fx-greet1{font-size:clamp(1.6rem,4.2vw,3rem);letter-spacing:.01em}
html.festive .fx-greet2{font-size:clamp(2.2rem,6.4vw,4.6rem);color:#F2C14E;margin-top:.15em;letter-spacing:.04em}
html.fx-winter .fx-greet{color:#FFFFFF;text-shadow:0 2px 4px rgba(8,30,60,.6),0 0 20px rgba(8,30,60,.5)}
html.festive .fx-snowbtn{position:absolute;bottom:10px;right:clamp(.6rem,3vw,2rem);z-index:2;
  font-family:'Archivo Narrow',Arial,sans-serif;font-weight:600;font-size:.82rem;letter-spacing:.06em;
  min-height:32px;padding:.3rem .8rem;border-radius:999px;cursor:pointer;
  background:rgba(255,253,248,.94);color:#2E2119;border:1px solid #E3D6C2}
html.festive .fx-snowbtn:hover{background:#fff}
html.festive .fx-snowbtn:focus-visible{outline:3px solid #C98A2E;outline-offset:2px}
html.festive .fx-snowbtn[hidden]{display:none}

/* ── the snow: over the page, never in the way ────────────────────────── */
html.festive .fx-snow{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:60}
html.no-snow .fx-snow{display:none !important}

/* ── phones: smaller photos, a shorter strip ──────────────────────────── */
@media (max-width:640px){
  html.festive .fx-strip{height:62px}
  html.fx-christmas .fx-strip{background-image:url("img/xmas-strip-phone.webp")}
  html.fx-newyear .fx-strip{background-image:url("img/ny-strip-phone.webp")}
  html.fx-winter .fx-strip{background-image:url("img/win-strip-phone.webp")}
  html.fx-christmas .hero .slide:nth-child(1){background-image:url("img/xmas-hero-fireplace-phone.webp")!important}
  html.fx-christmas .hero .slide:nth-child(2){background-image:url("img/xmas-hero-storefront-phone.webp")!important}
  html.fx-christmas .hero .slide:nth-child(3){background-image:url("img/xmas-hero-cocoa-phone.webp")!important}
  html.fx-newyear .hero .slide:nth-child(1){background-image:url("img/ny-hero-fireworks-phone.webp")!important}
  html.fx-newyear .hero .slide:nth-child(2){background-image:url("img/ny-hero-sparklers-phone.webp")!important}
  html.fx-newyear .hero .slide:nth-child(3){background-image:url("img/ny-hero-gazebo-phone.webp")!important}
  html.fx-winter .hero .slide:nth-child(1){background-image:url("img/win-hero-storefront-phone.webp")!important}
  html.fx-winter .hero .slide:nth-child(2){background-image:url("img/win-hero-frost-phone.webp")!important}
  html.fx-winter .hero .slide:nth-child(3){background-image:url("img/win-hero-latte-phone.webp")!important}
  html.festive .fx-scene{height:240px}
}

/* ── reduced motion: no snow (the slides already stand still: index.html) ─ */
@media (prefers-reduced-motion: reduce){
  html.festive .fx-snow{display:none !important}
}

/* printing a page prints the page, not the decorations */
@media print{
  html.festive .fx-strip,html.festive .fx-scene,html.festive .fx-snow{display:none !important}
}
