/* Gammage seasonal themes. Brand stays: navy/gold/cream, Archivo Black + Inter, same layout.
   Everything here is decoration only: pseudo-elements and absolutely positioned, pointer-events:none layers.
   Nothing is added to the page flow, so there is no layout shift. Each season is one block keyed off
   html.season-<id> (class set in <head> by js/season-config.js). js/season-config.js also drops an empty
   <div class="sdecor"> layer into the hero and footer; each season decides what its slots show. */

/* ---------- shared season plumbing ---------- */
html.season .hd .logo{position:relative}
html.season .hd .logo::after{content:var(--season-badge,none);position:absolute;left:2px;bottom:-12px;white-space:nowrap;
  font:800 .58rem/1 Inter,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;
  background:var(--s-badge-bg,var(--navy));color:var(--s-badge-fg,var(--gold));padding:3px 8px;border-radius:999px;border:2px solid var(--s-badge-bd,var(--gold));pointer-events:none}
html.season .hd::after{content:"";position:absolute;left:0;right:0;bottom:var(--s-lights-b,-44px);height:var(--s-lights-h,46px);pointer-events:none;z-index:1;
  background:var(--season-lights,none) repeat-x 0 0/var(--s-lights-w,420px) var(--s-lights-h,46px);transition:opacity .3s,transform .3s}
html.season.gps-scrolled .hd::after{opacity:0;transform:translateY(-14px)}  /* tuck the lights away once the page scrolls, so they never sit over text */
.sdecor{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}
.sdecor i{position:absolute;display:block}
html.season .hero>.wrap,html.season .ft>.wrap{position:relative;z-index:1}
html.season .ft{position:relative}
@media (max-width:640px){html.season .hd .logo::after{font-size:.52rem;bottom:-10px;padding:2px 6px}}

/* ---------- CHRISTMAS (Nov 15 - Dec 31) ---------- */
html.season-christmas{
  --cane:repeating-linear-gradient(135deg,#D3122F 0 10px,#fff 10px 20px);
  --cane-sm:repeating-linear-gradient(135deg,#D3122F 0 6px,#fff 6px 12px);
  --season-badge:"Merry Christmas";--s-badge-bg:#FFF8EC;--s-badge-fg:#B3122A;--s-badge-bd:#D3122F;
  --season-lights:url(img/seasonal/lights.svg)}
/* C9 string lights (red, green, gold, blue, white) on a dark-green wire under the header, every page.
   v2: each bulb blinks on/off on its own rhythm (CSS inside lights.svg, 420px tile); reduced motion = steady lights-static.svg */
@media (prefers-reduced-motion:reduce){html.season-christmas{--season-lights:url(img/seasonal/lights-static.svg)}}
/* badge under the logo, with a candy cane */
html.season-christmas .hd .logo::after{padding-left:22px;background:url(img/seasonal/candy-cane.svg) no-repeat 6px 45%/11px 17px,#FFF8EC}
/* candy-cane top ribbon bar */
html.season-christmas .topbar{background:var(--cane);animation:none}
/* Get a Quote button in the header: candy-stripe border */
html.season-christmas .hd nav a.btn{border-color:transparent;background:var(--grad-gold,var(--gold)) padding-box,var(--cane-sm) border-box}
/* hero photo frame: candy stripes (same 4px border, so same size) */
html.season-christmas .hero .heroart img{border-color:transparent;background:var(--cane) border-box;box-shadow:12px 12px 0 #B3262E,0 30px 60px rgba(0,0,0,.35)}
/* home hero photo swapped for the sample family photo card (season-config.js also swaps src + alt) */
html.season-christmas .hero .heroart img.photo{content:url(img/seasonal/hero-christmas-card.webp)}
/* hero bottom band + inner-page band: candy stripes */
html.season-christmas .hero::after,
html.season-christmas :is([data-page=about],[data-page=shop],[data-page=catalog],[data-page=services],[data-page=contact],[data-page=guides],[data-page=guide],[data-page=promo],[data-page=product],[data-page=weddings]) main::after{background:var(--cane)}
/* hero: pine garland with red + gold ornaments across the top, holly, crossed candy canes, snow drift */
html.season-christmas .hero .sd-a{left:0;right:0;top:0;height:58px;background:url(img/seasonal/garland.svg) repeat-x 0 -3px/199px 58px}
html.season-christmas .hero .sd-b{bottom:20px;left:max(8px,calc(50% - 712px));width:84px;height:63px;z-index:1;background:url(img/seasonal/holly.svg) no-repeat center/contain}
html.season-christmas .hero .sd-c{top:64px;right:max(14px,calc(50% - 590px));width:124px;height:132px;background:url(img/seasonal/candy-canes.svg) no-repeat center/contain}
html.season-christmas .hero .sd-d{left:0;right:0;bottom:8px;height:40px;background:url(img/seasonal/snowdrift.svg) no-repeat 0 100%/100% 100%}
html.season-christmas .hero::before{content:"";position:absolute;top:74px;right:calc(max(14px,50% - 590px) + 150px);width:240px;height:176px;pointer-events:none;opacity:.22;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 220'%3E%3Cg fill='none' stroke='%23FBCF3A' stroke-width='3' stroke-linecap='round'%3E%3Cg id='f' transform='translate(70 70)'%3E%3Cpath d='M0-40V40M-35-20L35 20M-35 20L35-20M0-40l-8-8M0-40l8-8M0 40l-8 8M0 40l8 8M-35-20l-11 0M-35-20l-4-10M35 20l11 0M35 20l4 10M-35 20l-11 0M-35 20l-4 10M35-20l11 0M35-20l4-10'/%3E%3C/g%3E%3Cuse href='%23f' transform='translate(160 20) scale(.6)'/%3E%3Cuse href='%23f' transform='translate(120 120) scale(.4)'/%3E%3C/g%3E%3C/svg%3E") no-repeat right top/contain}
html.season-christmas .hero .eyebrow::before{content:"";display:inline-block;width:1.15em;height:1em;margin:-2px .45em 0 0;vertical-align:middle;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M11 11C7 13 3 12 1 8c3 0 4-2 4-4 2 2 5 2 6 7zM13 11c4 2 8 1 10-3-3 0-4-2-4-4-2 2-5 2-6 7z' fill='%231F5C3D' stroke='%23fff' stroke-width='.6'/%3E%3Ccircle cx='10' cy='13' r='2.6' fill='%23B3262E'/%3E%3Ccircle cx='14.5' cy='13.5' r='2.6' fill='%23B3262E'/%3E%3Ccircle cx='12.2' cy='16.5' r='2.6' fill='%23B3262E'/%3E%3C/svg%3E") no-repeat center/contain}
html.season-christmas .hero h1 .hl2{text-decoration:underline;text-decoration-color:#D3122F;text-decoration-thickness:.09em;text-underline-offset:.12em}
html.season-christmas .phero img{box-shadow:8px 8px 0 var(--gold),14px 14px 0 #B3262E}
/* footer: candy-cane divider on top, snow resting on it */
html.season-christmas .ft .sd-a{left:0;right:0;top:-5px;height:12px;background:var(--cane)}
html.season-christmas .ft .sd-d{left:0;right:0;top:7px;height:30px;background:url(img/seasonal/snowdrift.svg) no-repeat 0 0/100% 100%;transform:scaleY(-1);opacity:.95}
/* phones: lights + one candy cane (badge) + garland + lighter snow; no holly / crossed canes */
@media (max-width:760px){
  html.season-christmas{--s-lights-w:356px;--s-lights-h:39px;--s-lights-b:-37px}
  html.season-christmas .hero .sd-a{height:34px;background-size:117px 34px;background-position:0 -2px}
  html.season-christmas .hero .sd-b{display:none}
  html.season-christmas .hero .sd-c{top:46px;right:14px;width:34px;height:54px;background-image:url(img/seasonal/candy-cane.svg)}  /* one candy cane on phones */
  html.season-christmas .hero .sd-d{height:22px;opacity:.85}
  html.season-christmas .hero::before{width:120px;height:88px;top:60px;right:56px;opacity:.16}
  html.season-christmas .ft .sd-d{height:18px}
}

/* ---------- clickable Christmas hero card (season-config.js wraps the hero photo in a link; nothing changes size) ---------- */
.s-herolink{display:block;position:relative;cursor:pointer;text-decoration:none;border-radius:22px;-webkit-tap-highlight-color:transparent}
.s-herolink:focus-visible{outline:4px solid var(--gold,#FBCF3A);outline-offset:8px}
.s-herolink:hover img.photo,.s-herolink:focus-visible img.photo{transform:rotate(0) scale(1.02)}
.s-herocta{position:absolute;left:50%;bottom:-18px;transform:translateX(-50%);white-space:nowrap;
  background:var(--grad-gold,#FBCF3A);color:var(--navy,#0F2138);font:800 .98rem/1 Inter,system-ui,sans-serif;padding:12px 20px;border-radius:999px;
  border:3px solid var(--navy,#0F2138);box-shadow:4px 4px 0 #B3262E;transition:transform .15s,box-shadow .15s}
.s-herolink:hover .s-herocta,.s-herolink:focus-visible .s-herocta{transform:translate(calc(-50% - 2px),-2px);box-shadow:6px 6px 0 #B3262E}
@media (max-width:700px){.s-herocta{font-size:.88rem;padding:10px 16px;bottom:-16px}}
@media (prefers-reduced-motion:reduce){.s-herolink:hover img.photo,.s-herolink:focus-visible img.photo{transform:rotate(1.5deg)}.s-herocta{transition:none}}

/* ---------- background snowfall (seasonal.js; behind content, never blocks taps, off for reduced motion) ---------- */
.gps-snow{display:none}
html.season-christmas .gps-snow{display:block;position:fixed;inset:0;pointer-events:none;z-index:0;overflow:hidden;contain:strict}
html.gps-has-snow .gps-up{position:relative;z-index:1}
html.gps-has-snow .gps-upz{z-index:1}
.gps-snow i{position:absolute;top:-14px;width:var(--s,5px);height:var(--s,5px);border-radius:50%;background:#fff;opacity:var(--o,.8);
  box-shadow:0 0 0 1px rgba(43,108,176,.22),0 1px 3px rgba(15,33,56,.22);
  animation:gpsSnow var(--d,16s) linear var(--w,0s) infinite;will-change:transform}
.gps-snow.is-paused i{animation-play-state:paused}
@keyframes gpsSnow{0%{transform:translate3d(0,0,0)}50%{transform:translate3d(var(--x,20px),52vh,0)}100%{transform:translate3d(calc(var(--x,20px) * -.4),104vh,0)}}
@media (prefers-reduced-motion:reduce){.gps-snow{display:none!important}}

/* ---------- seasonal welcome popup ---------- */
.gsp{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:18px;
  background:rgba(15,33,56,.62);opacity:0;transition:opacity .22s ease}
.gsp.is-in{opacity:1}
.gsp-box{position:relative;display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);width:min(860px,100%);max-height:calc(100vh - 36px);overflow:auto;
  background:var(--paper,#FAF8F3);color:var(--navy,#0F2138);border:3px solid var(--navy,#0F2138);border-radius:20px;box-shadow:8px 8px 0 var(--gold,#FBCF3A);
  transform:translateY(10px) scale(.98);transition:transform .25s ease}
.gsp.is-in .gsp-box{transform:none}
.gsp-box::before{content:"";position:absolute;left:0;right:0;top:0;height:7px;z-index:2;border-radius:17px 17px 0 0;background:repeating-linear-gradient(135deg,#D3122F 0 10px,#fff 10px 20px)}
html.season-christmas .gsp-box::after{content:"";position:absolute;left:0;right:0;top:3px;height:46px;z-index:2;pointer-events:none;background:url(img/seasonal/lights.svg) repeat-x 8px 0/420px 46px}
@media (prefers-reduced-motion:reduce){html.season-christmas .gsp-box::after{background-image:url(img/seasonal/lights-static.svg)}}
.gsp-photo{margin:0;position:relative;min-height:100%;display:flex;align-items:center;justify-content:center;padding:56px 26px 38px;border-radius:17px 0 0 17px;
  background:radial-gradient(circle at 80% 10%,rgba(251,207,58,.22),transparent 45%),var(--navy,#0F2138)}
.gsp-photo picture{display:block;width:100%;max-width:290px}
.gsp-photo img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;display:block;border-radius:14px;border:4px solid var(--gold,#FBCF3A);box-shadow:8px 8px 0 #B3262E}
.gsp-photo figcaption{position:absolute;left:14px;bottom:10px;font:600 .62rem/1.2 Inter,sans-serif;color:rgba(255,255,255,.75)}
.gsp-photo figcaption a{color:inherit}
.gsp-body{padding:52px 28px 24px}
.gsp-eyebrow{display:inline-block;font:800 .72rem/1 Inter,sans-serif;letter-spacing:.14em;text-transform:uppercase;background:#B3262E;color:#fff;padding:6px 10px;border-radius:4px;margin:0 0 12px}
.gsp h2{font-family:'Archivo Black',Impact,sans-serif;font-size:clamp(1.45rem,3vw,2rem);line-height:1.06;margin:0 0 8px}
.gsp h2 em{font-style:normal;background:linear-gradient(transparent 62%,var(--gold,#FBCF3A) 62%)}
.gsp-lead{margin:0 0 14px;font-size:.96rem;color:var(--g,#4A5465)}
.gsp-list{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:8px}
.gsp-list a{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;text-decoration:none;background:#fff;border:2px solid var(--navy,#0F2138);border-radius:12px;padding:7px 12px 7px 7px;transition:transform .12s,box-shadow .12s}
.gsp-list a:hover,.gsp-list a:focus-visible{transform:translate(-1px,-1px);box-shadow:3px 3px 0 var(--gold,#FBCF3A)}
.gsp-list img{width:48px;height:48px;border-radius:8px;object-fit:cover}
.gsp-list b{display:block;font-size:.95rem;line-height:1.2}
.gsp-list small{display:block;font-size:.8rem;color:var(--g,#4A5465);line-height:1.3}
.gsp-list .go{font:800 .74rem/1 Inter,sans-serif;white-space:nowrap;color:#B3262E}
.gsp-cta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}
.gsp-cta .btn{margin:0}
.gsp-later{background:none;border:0;padding:6px 2px;font:600 .9rem Inter,sans-serif;color:var(--navy,#0F2138);text-decoration:underline;cursor:pointer}
.gsp-note{margin:12px 0 0;font-size:.8rem;color:var(--g,#4A5465)}
.gsp-credit{display:none;margin:4px 0 0;font-size:.66rem;color:var(--g,#4A5465)}
.gsp-credit a{color:inherit}
.gsp-x{position:absolute;top:44px;right:12px;z-index:3;width:40px;height:40px;border-radius:50%;border:2px solid var(--navy,#0F2138);background:#fff;color:var(--navy,#0F2138);
  font:800 1.3rem/1 Inter,sans-serif;cursor:pointer;display:grid;place-items:center}
.gsp-x:hover{background:var(--gold,#FBCF3A)}
.gsp :focus-visible{outline:3px solid #2B6CB0;outline-offset:2px}
html.gsp-lock{overflow:hidden}
/* phones: compact bottom sheet (well under half the screen) so it is not an intrusive interstitial */
@media (max-width:720px){
  .gsp{align-items:flex-end;padding:0;background:rgba(15,33,56,.45)}
  .gsp-box{display:block;border-radius:18px 18px 0 0;max-height:74vh;box-shadow:none;border-bottom:0;padding:44px 14px 14px}
  .gsp-photo{position:absolute;top:46px;left:14px;width:100px;height:100px;min-height:0;padding:0;border-radius:12px;overflow:hidden;border:2px solid var(--navy,#0F2138);background:#0F2138}
  .gsp-photo picture{max-width:none;height:100%}
  .gsp-photo img{height:100%;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;transform:none}
  .gsp-photo figcaption{display:none}
  .gsp-body{padding:4px 0 0 0}
  .gsp-eyebrow,.gsp h2,.gsp-lead{margin-left:112px}
  .gsp-eyebrow{font-size:.62rem;padding:5px 8px;margin-bottom:6px}
  .gsp h2{font-size:1.18rem;margin-right:40px;min-height:0}
  .gsp-lead{display:none}
  .gsp-list{grid-template-columns:1fr 1fr;gap:6px;margin:26px 0 12px}
  .gsp-list a{grid-template-columns:34px 1fr;gap:8px;padding:5px 8px 5px 5px;border-radius:10px;min-height:46px}
  .gsp-list img{width:34px;height:34px;border-radius:6px}
  .gsp-list b{font-size:.8rem}
  .gsp-list small,.gsp-list .go{display:none}
  .gsp-cta .btn{padding:11px 18px;font-size:.92rem}
  .gsp-note{margin-top:8px;font-size:.74rem}
  .gsp-credit{display:block}
  .gsp-x{top:44px;right:10px;width:36px;height:36px;font-size:1.15rem}
}
@media (prefers-reduced-motion:reduce){.gsp,.gsp-box{transition:none}}
