/* The Maids Surf Coast — Christmas 2026 (themaids.com.au only)
   MOCKUP. All festive chrome is gated on html.is-holiday.
   Remove that class (or this file) to switch the season off.
   Decorations are Canva-made photoreal Christmas objects (presents, baubles,
   wreath, stocking, pine garlands). No Santa-maid character.
   Decorative layers are pointer-events: none and absolutely placed so CLS stays 0.
   Above-the-fold decorations use CSS backgrounds so the hero photo stays LCP. */

html.is-holiday{
  --hol-gold:#C9A44A;
  --hol-gold-hi:#F3E0A8;
  --hol-gold-lo:#8A6A22;
  --hol-cream:#FBF6E8;
  --hol-glow:rgba(243,224,168,.55);
  --hol-pic-mt:0px;
  --hol-pic-mb:88px;
  overflow-x:clip;
}

.holiday-lights,
.holiday-line,
.holiday-wash,
.holiday-deco,
.holiday-foot-edge,
.holiday-signoff{display:none}

html.is-holiday .holiday-lights,
html.is-holiday .holiday-line,
html.is-holiday .holiday-wash,
html.is-holiday .holiday-deco,
html.is-holiday .holiday-foot-edge,
html.is-holiday .holiday-signoff{display:block}

/* ---------- Header / nav edge ---------- */
html.is-holiday .top{
  overflow:visible;
  border-bottom-color:var(--hol-gold);
  box-shadow:0 1px 0 var(--hol-gold-hi), 0 8px 24px rgba(26,26,24,.05);
}
.holiday-lights{
  position:absolute;
  left:0;right:0;
  top:100%;
  height:0;
  z-index:22;
  pointer-events:none;
  overflow:visible;
}
.holiday-lights::after{
  content:"";
  position:absolute;
  left:50%;
  top:10px;
  transform:translateX(-50%);
  width:420px;
  height:118px;
  background:url(/assets/holiday/header-garland.webp) no-repeat center / contain;
  filter:drop-shadow(0 8px 14px rgba(13,20,36,.22));
}

/* ---------- Seasonal line ---------- */
.holiday-line{
  margin:0 0 1em;
  font:700 .98rem/1.45 inherit;
  color:var(--hol-gold-lo);
  letter-spacing:.01em;
  max-width:36em;
}
.holiday-line:before{
  content:"";
  display:inline-block;
  width:.7em;height:.7em;
  margin-right:.45em;
  vertical-align:-.05em;
  background:radial-gradient(circle at 35% 35%,#F6D0D4,#C43B4A 55%,#8E1A20);
  border-radius:50%;
  box-shadow:0 0 0 3px color-mix(in srgb,#C43B4A 22%,transparent);
}

/* ---------- Hero atmosphere (dedicated wash — never hijack .hero::before) ---------- */
.holiday-wash{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(18px 18px at 8% 18%,var(--hol-glow),transparent 70%),
    radial-gradient(12px 12px at 16% 8%,var(--hol-glow),transparent 70%),
    radial-gradient(16px 16px at 92% 14%,var(--hol-glow),transparent 70%),
    radial-gradient(10px 10px at 84% 6%,var(--hol-glow),transparent 70%),
    linear-gradient(180deg,#F6F1E6 0%,#F7F8FA 42%,#fff 100%);
  opacity:.85;
  mix-blend-mode:multiply;
}
html.is-holiday .hero{
  position:relative;
  padding-top:132px;
  padding-bottom:72px;
  overflow:visible;
}
html.is-holiday .art{position:relative;overflow:visible}
/* Stage wraps the photo + cut-out objects so the photo can keep overflow:hidden
   (rounded corners) while complete objects sit at the edges and spill outside. */
html.is-holiday .holiday-stage{
  position:relative;
  overflow:visible;
  margin-top:var(--hol-pic-mt);
  margin-bottom:var(--hol-pic-mb);
}
html.is-holiday .art .pic{
  position:relative;
  box-shadow:0 0 0 2px var(--hol-gold), 0 16px 40px rgba(13,20,36,.12), 0 0 36px var(--hol-glow);
  overflow:hidden;
}
/* Keep the badge on the photo even when the stage has a reserved margin */
html.is-holiday .art .badge{
  z-index:8;
  top:calc(var(--hol-pic-mt) + 12px);
}

/* Hero photo corners — complete cut-out objects, mostly OUTSIDE the frame so
   ~70% of the ocean view stays clear. Positioned on .holiday-stage. */
.holiday-deco{pointer-events:none;z-index:5}
.holiday-gifts{
  position:absolute;
  left:-4%;
  bottom:-36%;
  width:58%;
  max-width:280px;
  aspect-ratio:640/408;
  background:url(/assets/holiday/gifts.webp) no-repeat center / contain;
  z-index:6;
  filter:drop-shadow(0 12px 20px rgba(13,20,36,.38));
}
.holiday-baubles{
  position:absolute;
  right:-6%;
  top:-48%;
  width:22%;
  max-width:118px;
  aspect-ratio:360/686;
  background:url(/assets/holiday/baubles.webp) no-repeat center / contain;
  z-index:6;
  filter:drop-shadow(0 8px 14px rgba(13,20,36,.32));
}
.holiday-wreath{
  position:absolute;
  right:-22%;
  top:-24%;
  width:30%;
  max-width:150px;
  aspect-ratio:280/302;
  background:url(/assets/holiday/wreath.webp) no-repeat center / contain;
  z-index:5;
  filter:drop-shadow(0 10px 16px rgba(13,20,36,.32));
}

/* ---------- Footer garland with presents + stockings ---------- */
/* Extra space under the quote form so the hanging garland does not clip
   "We reply during business hours…" */
html.is-holiday .quote{padding-bottom:140px}
html.is-holiday .foot{
  position:relative;
  overflow:visible;
  padding-top:150px;
}
.holiday-foot-edge{
  position:absolute;
  left:0;right:0;
  top:0;
  height:190px;
  transform:translateY(-36%);
  pointer-events:none;
  z-index:3;
  overflow:visible;
}
.holiday-foot-garland{
  display:block;
  width:100%;
  height:190px;
  object-fit:cover;
  object-position:center center;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));
}
.holiday-stocking{
  position:absolute;
  top:8%;
  height:140px;
  width:auto;
  z-index:4;
  filter:drop-shadow(0 8px 12px rgba(0,0,0,.4));
}
.holiday-stocking-l{left:3%}
.holiday-stocking-r{right:3%;transform:scaleX(-1)}

.holiday-signoff{
  margin:0 0 18px;
  padding:0 0 14px;
  border-bottom:1px solid color-mix(in srgb,var(--hol-gold) 55%,transparent);
}
.holiday-greet{
  margin:0 0 6px;
  font:700 1.05rem/1.4 inherit;
  color:var(--hol-gold-hi);
  letter-spacing:.01em;
}
.holiday-hours{
  margin:0;
  font:400 .9rem/1.5 inherit;
  color:inherit;
  opacity:.92;
}
.holiday-ph{
  display:inline-block;
  margin-right:.35em;
  padding:.05em .45em;
  border:1px solid var(--hol-gold);
  border-radius:999px;
  font:700 .72rem/1.4 inherit;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--hol-gold-hi);
  vertical-align:.12em;
}

/* ---------- Mobile / stacked hero (htxt display:contents from 820px) ---------- */
@media (max-width:960px){
  html.is-holiday .hero{padding-top:128px;padding-bottom:36px}
  .holiday-lights::after{
    height:100px;
    width:min(92vw, 360px);
    top:8px;
  }
  html.is-holiday .hero .holiday-line{order:3}
  html.is-holiday .foot{padding-top:120px}
  html.is-holiday .quote{padding-bottom:112px}
  .holiday-foot-edge{height:128px;transform:translateY(-32%)}
  .holiday-foot-garland{height:128px}
  .holiday-stocking{height:112px;top:6%}
}
@media (max-width:820px){
  /* Reserved gutters around the photo so spilled decorations
     sit outside the frame and do not cover the H1, sub, or CTAs */
  html.is-holiday{
    --hol-pic-mt:72px;
    --hol-pic-mb:96px;
  }
  .holiday-gifts{
    left:-8%;
    bottom:-40%;
    width:58%;
    max-width:210px;
  }
  .holiday-baubles{
    right:0;
    top:-48%;
    width:22%;
    max-width:96px;
  }
  .holiday-wreath{
    right:2%;
    top:-26%;
    width:26%;
    max-width:110px;
  }
}
@media (max-width:600px){
  .holiday-line{font-size:.92rem}
}

@media print{
  .holiday-lights,.holiday-deco,.holiday-foot-edge{display:none!important}
}
