/* Aireys Inlet — lighthouse Christmas.
   Unique objects: red-and-white lighthouse-stripe ribbon swag; brass lighthouse-style
   lantern with a red-and-white ribbon bow (not Apollo's ship lantern); gold star/beacon;
   lantern, ribbon and star footer. Keep the Split Point lighthouse, especially the
   red lantern, clearly visible. Not the main-site, Sunshine, Co-Host, Apollo, Lorne
   or Anglesea set. */
html.is-holiday{
  --hol-gold:#E8C36A;
  --hol-gold-hi:#F7E7C2;
  --hol-red:#B8232B;
  --hol-ink:#1C2327;
  --hol-lime:#F6F0E4;
  overflow-x:clip;
  scrollbar-gutter:auto;
}
.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-deco,
html.is-holiday .holiday-foot-edge,
html.is-holiday .holiday-signoff{display:block}

html.is-holiday .top{
  overflow:hidden;
  border-bottom-color:var(--hol-gold);
}

/* Ribbon hangs from the top of the hero, over the lime field / sky, clear of the
   headline, CTAs and the lighthouse (especially the red lantern). */
.holiday-lights{
  position:absolute;
  left:auto;
  right:max(8px, calc((100vw - 1200px)/2 + 8px));
  top:10px;
  width:min(44vw, 500px);
  z-index:2;
  pointer-events:none;
  overflow:visible;
  aspect-ratio:900/181;
  background:url(/assets/holiday/header-swag.webp) no-repeat center / contain;
  filter:drop-shadow(0 8px 14px rgba(28,35,39,.28));
}
.holiday-lights img{display:none!important}

html.is-holiday .holiday-wash{display:none}
html.is-holiday .hero{
  position:relative;
  overflow:visible;
}
html.is-holiday .hero .wrap{position:relative;z-index:3}

html.is-holiday .tower,
html.is-holiday .holiday-stage{
  position:relative;
  overflow:visible;
  z-index:4;
}

/* Lantern hangs off the lower-left of the tower frame, slight edge overlap only.
   Hidden until lantern.webp is on disk (empty background is a no-op). */
.holiday-lantern{
  position:absolute;
  left:-12%;
  bottom:14%;
  width:22%;
  max-width:72px;
  aspect-ratio:480/1311;
  background:url(/assets/holiday/lantern.webp) no-repeat center / contain;
  z-index:5;
  pointer-events:none;
  filter:drop-shadow(0 10px 16px rgba(28,35,39,.35));
}

/* Star hangs off the top-right corner of the frame, in the sky, slight edge overlap only,
   not on the lighthouse or its red lantern. */
.holiday-star{
  position:absolute;
  right:-16%;
  top:6%;
  width:20%;
  max-width:84px;
  aspect-ratio:640/773;
  background:url(/assets/holiday/star.webp) no-repeat center / contain;
  z-index:5;
  pointer-events:none;
  filter:drop-shadow(0 8px 14px rgba(28,35,39,.3));
}

html.is-holiday .foot{
  position:relative;
  overflow:visible;
  padding-top:140px;
}
.holiday-foot-edge{
  position:absolute;
  left:0;right:0;
  top:0;
  height:170px;
  transform:translateY(-40%);
  pointer-events:none;
  z-index:3;
  overflow:visible;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));
}
html.is-holiday .holiday-foot-garland{display:block!important;width:100%;height:100%;object-fit:contain;object-position:center}

html.is-holiday .foot .holiday-greet{
  margin:0 0 6px;
  font:700 1.05rem/1.4 inherit;
  color:var(--hol-gold-hi);
  letter-spacing:.01em;
}
.holiday-signoff{
  margin:0 0 18px;
  padding:0 0 14px;
  border-bottom:1px solid color-mix(in srgb, var(--hol-gold) 45%, transparent);
}
html.is-holiday .foot .holiday-hours{
  margin:0;
  font:400 .9rem/1.5 inherit;
  color:inherit;
  opacity:.92;
}
html.is-holiday .foot .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;
}

@media (max-width:980px){
  /* Ribbon above the tag, not over the headline. Tower sits below the copy. */
  html.is-holiday .hero{padding-top:120px}
  html.is-holiday .hero .wrap{padding-top:8px}
  .holiday-lights{
    left:50%;
    right:auto;
    transform:translateX(-50%);
    width:min(88vw, 360px);
    top:10px;
  }
  .holiday-lantern{
    left:-8%;
    bottom:12%;
    width:20%;
    max-width:58px;
  }
  .holiday-star{
    right:-14%;
    top:4%;
    width:18%;
    max-width:70px;
  }
  html.is-holiday .foot{padding-top:120px;padding-bottom:136px}
  .holiday-foot-edge{height:130px;transform:translateY(-36%)}
}
@media (max-width:600px){
  html.is-holiday .hero{padding-top:112px}
  .holiday-lights{width:min(92vw, 340px);top:8px}
  .holiday-lantern{max-width:54px;left:-8%}
  .holiday-star{max-width:64px;right:-12%}
}
@media print{
  .holiday-lights,.holiday-deco,.holiday-foot-edge{display:none!important}
}
@media (prefers-reduced-motion:reduce){
  .holiday-lights,
  .holiday-lantern,
  .holiday-star,
  .holiday-foot-edge{filter:none}
}
