/* ==========================================================================
   EverGlass holiday theme
   Only active while js/holiday.js adds the "holiday" class to the page
   (Nov 1 through Jan 5). After that the site looks exactly as normal.
   ========================================================================== */

/* ---------- String of lights hanging under the header ---------- */
.holiday .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: 140px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='24' viewBox='0 0 140 24'%3E%3Cpath d='M0 3 Q17.5 10 35 3 T70 3 T105 3 T140 3' fill='none' stroke='%23163a2a' stroke-width='1.6'/%3E%3Cg%3E%3Crect x='15.5' y='5.2' width='4' height='3.4' rx='1' fill='%23163a2a'/%3E%3Cellipse cx='17.5' cy='13.5' rx='3.6' ry='5.4' fill='%23E5383B'/%3E%3Cellipse cx='16.3' cy='12' rx='1' ry='1.8' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3Cg%3E%3Crect x='50.5' y='5.2' width='4' height='3.4' rx='1' fill='%23163a2a'/%3E%3Cellipse cx='52.5' cy='13.5' rx='3.6' ry='5.4' fill='%23F5B93B'/%3E%3Cellipse cx='51.3' cy='12' rx='1' ry='1.8' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3Cg%3E%3Crect x='85.5' y='5.2' width='4' height='3.4' rx='1' fill='%23163a2a'/%3E%3Cellipse cx='87.5' cy='13.5' rx='3.6' ry='5.4' fill='%2322A45D'/%3E%3Cellipse cx='86.3' cy='12' rx='1' ry='1.8' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3Cg%3E%3Crect x='120.5' y='5.2' width='4' height='3.4' rx='1' fill='%23163a2a'/%3E%3Cellipse cx='122.5' cy='13.5' rx='3.6' ry='5.4' fill='%234FC0FC'/%3E%3Cellipse cx='121.3' cy='12' rx='1' ry='1.8' fill='%23fff' opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 4px rgba(255, 210, 120, 0.45));
  animation: holiday-twinkle 2.8s ease-in-out infinite alternate;
}
@keyframes holiday-twinkle {
  from { filter: drop-shadow(0 2px 3px rgba(255, 210, 120, 0.25)) brightness(0.95); }
  to   { filter: drop-shadow(0 2px 7px rgba(255, 210, 120, 0.6)) brightness(1.08); }
}

/* ---------- Holiday line above the headline ---------- */
.holiday-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px 7px 11px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
.holiday-pill svg { width: 16px; height: 16px; color: var(--blue-300); flex-shrink: 0; }

/* ---------- Falling snow in the top section ---------- */
.holiday-snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Bottom call-to-action gets a little snow glow ---------- */
.holiday .final-cta::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}

@media (max-width: 700px) {
  .holiday .site-header::after { height: 20px; background-size: 116px 20px; }
  .holiday-pill { font-size: 0.8rem; margin-bottom: 14px; padding: 6px 12px 6px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .holiday .site-header::after { animation: none; }
  .holiday-snow { display: none; }
}
