/* ============================================================
   UNROOTABLE Christmas layer — round 5, 19 Nov 2026
   Load AFTER styles.css. Remove this file, christmas.js,
   christmas-lights.js, js/string-lights.esm.js,
   js/string-lights.LICENSE, and every HTML block marked
   BEGIN/END CHRISTMAS on 26 Dec.
   Covers: Santa/elf hats on ticket buttons + shop cards,
   warm string-lights (MIT) on the top banner, larger
   "Stocking fillers sorted" wording. Luckiest Guy is the
   Fanta Pants Shop font.
   ============================================================ */

/* Keep the hero CTA on-screen under the slightly taller banner. */
.hero{min-height:min(calc(100svh - 64px), 940px);overflow:visible}
.hero-inner,.ctas,.sticky,.nav,.nav .wrap{overflow:visible}

/* --- Top banner + warm string-lights (amber rice bulbs) ---------- */
.xmas-banner-wrap{
  position:relative;
  /* Traps the lights (z-index 55) between the sticky nav background
     (30) and the nav content (50) so the string can sit on the blue
     bar without lifting the whole header above, or below, the lights. */
  z-index:40;
  overflow:visible;
}
.xmas-banner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  /* Extra top padding drops the line a little; extra bottom keeps
     breathing room above the lowered roofline. */
  padding:13px 16px 32px;
  background:
    linear-gradient(90deg, #3a0a12 0%, var(--velvet) 18%, #9a1528 50%, var(--velvet) 82%, #3a0a12 100%);
  color:#ffe7a0;
  text-decoration:none;
  font-family:"Cinzel",Georgia,serif;
  font-weight:900;
  font-size:clamp(.78rem, 1.85vw, 1.05rem);
  letter-spacing:.1em;
  text-transform:uppercase;
  text-align:center;
  text-shadow:0 0 6px #ffd080cc, 0 0 14px #e8c66a88, 0 1px 2px #3a0a12cc;
  border-bottom:0;
  box-shadow:inset 0 -1px 0 #0006;
  z-index:1;
  overflow:visible;
}
.xmas-banner:hover,
.xmas-banner:focus-visible{
  color:#fff6d0;
  text-shadow:0 0 8px #ffe7a0dd, 0 0 18px #ffd08099, 0 1px 2px #3a0a12cc;
}
.xmas-banner:focus-visible{outline:2px solid #ffe7a0;outline-offset:-2px}
.xmas-banner__mob{display:none}
.xmas-banner__icon{
  flex:0 0 auto;
  width:1.75em;
  height:1.75em;
  display:block;
  overflow:visible;
  align-self:center;
}
.xmas-banner__icon--gift{width:1.4175em;height:1.4175em;transform:translateY(-5px)}
/* Host for the vendored string-lights SVG. Hangs from the lower edge of
   the velvet onto the blue nav. Lives in .xmas-banner-wrap (z-index 40)
   so it paints ABOVE the sticky nav background (30) and BELOW the nav
   content (50): logo, links, Tickets and its hat sit on top of the
   string. pointer-events stay off. translateY(7px) is the original 3px
   drop plus ~4px more from the twinkle-banner pass. */
.xmas-lights{
  position:absolute;
  left:0; right:0;
  top:auto;
  bottom:-36px;
  width:100%;
  height:76px;
  overflow-x:clip;
  overflow-y:visible;
  pointer-events:none;
  z-index:55;
  display:block;
  transform:translateY(7px);
}
.xmas-lights svg{
  overflow:visible !important;
  pointer-events:none !important;
  /* Stronger bloom so lit bulbs read brighter on the dark nav;
     dim/off bulbs contribute almost no glow because the library
     animates their opacity down to ~0.02. */
  filter:drop-shadow(0 0 5px #ffe9b0) drop-shadow(0 0 11px #ffd080cc) drop-shadow(0 0 18px #ffb45a88);
}
@media(max-width:640px){
  .xmas-banner{padding:10px 12px 30px;letter-spacing:.05em;font-size:.76rem;white-space:nowrap;gap:.4em}
  .xmas-banner__desk{display:none}
  .xmas-banner__mob{display:inline}
  .xmas-banner__icon{width:1.5em;height:1.5em}
  .xmas-banner__icon--gift{width:1.215em;height:1.215em}
  .xmas-lights{height:68px;bottom:-28px}
}
/* Below 360px the shorter mobile line can still overflow once icons
   are added; hide them rather than wrapping the nowrap banner. */
@media(max-width:359px){
  .xmas-banner__icon{display:none}
}


/* Stacking (must keep the hanging logo over the hero valance, like live):
   The hero uses isolation:isolate, so anything with z-index:auto (including
   a z-index:auto sticky nav) paints UNDER the valance. Restoring .nav to
   z-index 50 puts the logo / menu / Tickets / hat above the valance, as on
   the live site. The blue nav bar cannot live on .nav itself (or ::before)
   or it would also cover the lights, which hang from the banner and must
   stay in the banner so they scroll away instead of sticking with the header.

   A zero-height sticky sibling paints the blurred blue bar at z-index 30.
   The banner wrap is z-index 40, so the string sits on top of that bar and
   under the nav content (50). When the banner scrolls off, the sticky bar
   stays behind the sticky nav. */
.xmas-nav-bg{
  position:sticky;
  top:0;
  height:0;
  z-index:30;
  pointer-events:none;
}
.xmas-nav-bg::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:65px;
  box-sizing:border-box;
  background:linear-gradient(180deg,#050b24ee,#050b24aa);
  border-bottom:1px solid #e8c66a33;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.nav{
  z-index:50;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  /* Transparent 1px keeps the live 65px nav box (styles.css border)
     so the hanging logo overlaps the valance by the same amount. */
  border-bottom:1px solid transparent;
}
.nav .wrap{
  position:relative;
  z-index:1;
}

/* --- Hats perched on the top-right corner ------------------------
   The hat cannot be a child of a .btn-gold, because the admit-one
   CSS mask would clip it. JS wraps the button in .xmas-hat-wrap.
   Each hat has its own brim-corner anchor (css vars) so the white
   fur (or elf brim) drapes with its edges on the host's top edge
   and right edge.
   -------------------------------------------------------------- */
.xmas-hat-wrap{
  position:relative;
  display:inline-flex;
  vertical-align:middle;
  overflow:visible;
}
.xmas-hat-wrap > .btn{position:relative;z-index:1}
.xmas-hat{
  position:absolute;
  width:var(--xmas-hat-w, 80px);
  height:auto;
  max-width:none;
  top:var(--xmas-hat-top, -48px);
  right:var(--xmas-hat-right, -40px);
  pointer-events:none;
  z-index:3;
  filter:drop-shadow(0 3px 3px #0008);
  display:block;
}

/* Tour-date rows: keep the Info | Tickets flex layout, and leave
   room above so the hat isn't covered by the row above. */
#tour .dates{overflow:visible;padding-top:28px}
#tour .date{overflow:visible;position:relative}
.date .xmas-hat-wrap{display:inline-flex}
@media(max-width:600px){
  .date>div:last-child .xmas-hat-wrap{flex:1;min-width:0}
  .date>div:last-child .xmas-hat-wrap > .btn{flex:1;width:100%}
}

/* Shop product cards: hat sits on the card's top-right corner.
   Cards clip their images with overflow:hidden, so we open that
   up and restore the rounded top corners on the photo itself. */
#merch .shop-row{
  overflow:visible;
  padding-top:40px;
  padding-left:12px;
  padding-right:36px;
}
#merch .shop-row .card.xmas-card-hat,
#merch .shop-row .xmas-card-hat{
  position:relative;
  overflow:visible;
  z-index:2;
}
#merch .shop-row .card.xmas-card-hat > img:not(.xmas-hat){
  border-radius:var(--r) var(--r) 0 0;
}
#merch .shop-row .card.xmas-card-hat .xmas-hat{
  z-index:5;
}

/* --- Fanta Pants Shop heading: larger stocking line -------------- */
.xmas-shop-line{
  margin:14px 0 0;
  text-align:center;
  color:var(--gold);
  font-family:"Luckiest Guy","Cinzel",cursive;
  font-size:clamp(1.65rem, 4.2vw, 2.45rem);
  letter-spacing:.04em;
  line-height:1.15;
  text-shadow:0 2px 0 #3a2208, 0 6px 14px #0008;
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .xmas-banner{transition:none}
  /* string-lights itself holds a steady glow when reduced-motion is on. */
}

/* Room for a flopped hat on the header TICKETS button (body clips overflow-x). */
@media(max-width:700px){
  .nav .wrap{padding-right:36px}
  .sticky{overflow:visible}
}

/* Give tour-date hats a little more air so tails don't sit on the next row/column. */
@media(min-width:900px){
  #tour .dates{gap:18px 28px}
}
#tour .date{padding-top:20px}


/* --- Hat size/pos must beat site img rules (.nav img, #merch .card img) --- */
.xmas-hat-wrap .xmas-hat,
.nav .xmas-hat-wrap .xmas-hat,
.nav img.xmas-hat,
#merch .shop-row .card img.xmas-hat,
#merch .shop-row .card.xmas-card-hat > img.xmas-hat,
img.xmas-hat,
img.xmas-hat--card{
  position:absolute !important;
  width:var(--xmas-hat-w, 80px) !important;
  height:auto !important;
  max-width:none !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  object-position:center !important;
  overflow:visible !important;
  pointer-events:none !important;
  display:block !important;
  top:var(--xmas-hat-top, -48px);
  right:var(--xmas-hat-right, -40px);
}

/* Room between shop rows so a second-row hat perched on a card corner
   does not sit on the Add to cart of the row above. */
#merch .shop-row{
  row-gap:72px;
}
@media(max-width:699px){
  #merch .shop-row{row-gap:56px}
}
