/* Lorne — pier / surf-town Christmas.
   Unique objects: festoon-light header, surfboard with a small wreath,
   red-and-white life ring with holly, pier-and-festoon footer.
   Not the main-site, Sunshine, Co-Host or Apollo set. */
html.is-holiday{
  --hol-gold:#E3C56A;
  --hol-gold-hi:#F6E4A8;
  --hol-ember:#C44B2A;
  --hol-forest:#1C3A2E;
  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}

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

/* Festoon drapes the arch photo (not the sticky header, and below the mobile fold). */
.holiday-lights{
  position:absolute;
  left:-10%;
  right:-10%;
  top:-22px;
  width:auto;
  z-index:6;
  pointer-events:none;
  overflow:visible;
  aspect-ratio:1100/243;
  background:url(/assets/holiday/header-swag.webp) no-repeat center / contain;
  filter:drop-shadow(0 6px 12px rgba(28,58,46,.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:2;
}
html.is-holiday .arch{
  position:relative;
  overflow:visible;
  z-index:3;
}
html.is-holiday .holiday-stage{
  position:relative;
  overflow:visible;
}
html.is-holiday .holiday-stage .ph{
  position:relative;
  z-index:1;
  display:block;
}

/* Complete surfboard sits outside the right of the bay photo, clear of the mascot stamp. */
.holiday-surfboard{
  position:absolute;
  right:-14%;
  bottom:-10%;
  width:26%;
  max-width:120px;
  aspect-ratio:520/2122;
  background:url(/assets/holiday/surfboard.webp) no-repeat center / contain;
  z-index:4;
  pointer-events:none;
  filter:drop-shadow(0 10px 16px rgba(28,58,46,.35));
}

/* Life ring hangs at the top-left of the arch, clear of the stamp and the surfboard. */
.holiday-lifering{
  position:absolute;
  left:-10%;
  right:auto;
  top:2%;
  width:30%;
  max-width:124px;
  aspect-ratio:1/1;
  background:url(/assets/holiday/life-ring.webp) no-repeat center / contain;
  z-index:5;
  pointer-events:none;
  filter:drop-shadow(0 8px 14px rgba(28,58,46,.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){
  html.is-holiday .hero{padding-bottom:64px}
  .holiday-lights{
    left:-6%;
    right:-6%;
    top:-18px;
  }
  .holiday-surfboard{
    right:-4%;
    bottom:-10%;
    width:22%;
    max-width:88px;
  }
  .holiday-lifering{
    left:-4%;
    right:auto;
    top:-8%;
    width:26%;
    max-width:100px;
  }
  html.is-holiday .foot{padding-top:120px;padding-bottom:136px}
  .holiday-foot-edge{height:130px;transform:translateY(-36%)}
}
@media (max-width:600px){
  .holiday-lights{left:-4%;right:-4%;top:-16px}
  .holiday-surfboard{max-width:80px;right:-2%;bottom:-12%}
  .holiday-lifering{max-width:92px;left:-2%;right:auto}
}
@media print{
  .holiday-lights,.holiday-deco,.holiday-foot-edge{display:none!important}
}
