/* ==========================================================================
   HOLIDAY 2026 THEME  (Thanksgiving through Dec 31)
   Shared by pbb/ and pss/ (identical file). Loaded from <head> of each page.
   Everything here is seasonal and self-contained. To remove after the offer ends:
   delete this file, holiday.js, the <!-- HOLIDAY --> lines in each page's <head>,
   and the <section data-holiday> block on each homepage. (holiday.js also hides
   everything automatically from Jan 1, 2027.)
   Seasonal accents (gold / cream) are NOT part of the core brand palette.
   ========================================================================== */

:root {
  --hol-red:        #AD1F23;
  --hol-red-deep:   #690D0D;
  --hol-gold:       #B58242;
  --hol-gold-light: #E3C48F;
  --hol-cream:      #F7EDE0;
  --hol-cream-deep: #EFDFCB;
  --hol-ink:        #111111;
  --hol-serif: 'Bodoni Moda', 'Bodoni 72', Georgia, serif;
  --hol-sans:  'AvantGarde', 'Century Gothic', 'Futura', sans-serif;
  --hol-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.hol-expired .hol-bar,
html.hol-expired .hol-snow,
html.hol-expired [data-holiday] { display: none !important; }

/* -------------------------------------------------------------------------
   1. Announcement bar (top of every page)
   ------------------------------------------------------------------------- */
.hol-bar {
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 48px;
  text-align: center;
  color: var(--hol-cream);
  font-family: var(--hol-sans);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.09em;
  background:
    radial-gradient(60% 220% at 15% 0%, rgba(227,196,143,0.22), transparent 60%),
    radial-gradient(50% 220% at 88% 100%, rgba(227,196,143,0.16), transparent 60%),
    linear-gradient(90deg, var(--hol-red-deep), var(--hol-red) 50%, var(--hol-red-deep));
  box-shadow: 0 1px 0 rgba(227,196,143,0.55), 0 6px 18px -8px rgba(105,13,13,0.55);
}
.hol-bar[hidden] { display: none; }
.hol-bar__text { text-transform: uppercase; }
.hol-bar__text strong { font-weight: 600; color: #fff; }
.hol-bar__link {
  color: var(--hol-gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.hol-bar__link:hover { color: #fff; }
.hol-bar__link:focus-visible { outline: 2px solid var(--hol-gold-light); outline-offset: 3px; }
.hol-bar__link:active { opacity: 0.8; }
.hol-bar__orn { width: 14px; height: 14px; flex: none; color: var(--hol-gold-light); opacity: 0.9; }
.hol-bar__close {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-top: -16px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--hol-cream);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.25s var(--hol-spring);
}
.hol-bar__close:hover { opacity: 1; transform: scale(1.12); }
.hol-bar__close:focus-visible { outline: 2px solid var(--hol-gold-light); outline-offset: 2px; opacity: 1; }
.hol-bar__close:active { transform: scale(0.94); }

@media (max-width: 767px) {
  .hol-bar { flex-wrap: wrap; gap: 2px 10px; padding: 10px 44px 10px 16px; font-size: 11px; letter-spacing: 0.06em; }
  .hol-bar__orn { display: none; }
}

/* -------------------------------------------------------------------------
   2. Falling snow (injected into .hero on homepages and into the deal section)
   ------------------------------------------------------------------------- */
.hol-snow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}
.hol-snow i {
  position: absolute;
  top: -14px;
  left: var(--x, 50%);
  width: var(--s, 4px);
  height: var(--s, 4px);
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 6px rgba(255,255,255,0.55);
  opacity: 0;
  will-change: transform, opacity;
  animation: hol-fall var(--t, 12s) linear var(--d, 0s) infinite;
}
.hol-snow--page { position: fixed; z-index: 9500; }  /* above the sign-up popups (z-index 9000); never blocks clicks */
.hol-snow--page i {            /* little six-armed snowflake: white with a soft gold edge so it reads on white and on dark */
  border-radius: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><defs><g id='a'><path d='M12 12V2M9.3 4.6L12 7.2l2.7-2.6M9.8 8.2L12 9.8l2.2-1.6'/></g></defs><g fill='none' stroke-linecap='round' stroke-linejoin='round'><g stroke='%23B58242' stroke-opacity='0.6' stroke-width='3.6'><use href='%23a' transform='rotate(0 12 12)'/><use href='%23a' transform='rotate(60 12 12)'/><use href='%23a' transform='rotate(120 12 12)'/><use href='%23a' transform='rotate(180 12 12)'/><use href='%23a' transform='rotate(240 12 12)'/><use href='%23a' transform='rotate(300 12 12)'/></g><g stroke='white' stroke-width='1.9'><use href='%23a' transform='rotate(0 12 12)'/><use href='%23a' transform='rotate(60 12 12)'/><use href='%23a' transform='rotate(120 12 12)'/><use href='%23a' transform='rotate(180 12 12)'/><use href='%23a' transform='rotate(240 12 12)'/><use href='%23a' transform='rotate(300 12 12)'/></g></g></svg>") center / contain no-repeat;
  box-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(105,13,13,0.22));
}
.hol-snow--off { display: none; }
.hol-snow-toggle {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9600;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--hol-red);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(181,130,66,0.55);
  border-radius: 50%;
  box-shadow: 0 6px 14px -6px rgba(105,13,13,0.4), 0 1px 0 rgba(255,255,255,0.9) inset;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.3s var(--hol-spring);
}
.hol-snow-toggle:hover { opacity: 1; transform: scale(1.08); }
.hol-snow-toggle:focus-visible { outline: 2px solid var(--hol-gold); outline-offset: 3px; opacity: 1; }
.hol-snow-toggle:active { transform: scale(0.94); }
.hol-snow-toggle.is-off { color: rgba(17,17,17,0.45); }
html.hol-expired .hol-snow-toggle { display: none !important; }
.hol-snow--gold i { background: rgba(227,196,143,0.95); box-shadow: 0 0 6px rgba(181,130,66,0.5); }
@keyframes hol-fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: var(--o, 0.8); }
  35%  { transform: translate3d(calc(var(--drift, 30px) * 0.7 + 10px), calc(var(--fall, 640px) * 0.35), 0) rotate(calc(var(--spin, 180deg) * 0.35)); }
  65%  { transform: translate3d(calc(var(--drift, 30px) * 0.4 - 8px), calc(var(--fall, 640px) * 0.65), 0) rotate(calc(var(--spin, 180deg) * 0.65)); }
  92%  { opacity: var(--o, 0.8); }
  100% { transform: translate3d(var(--drift, 30px), var(--fall, 640px), 0) rotate(var(--spin, 180deg)); opacity: 0; }
}

/* -------------------------------------------------------------------------
   3. Gold garland divider (beaded line with a centre ornament)
   ------------------------------------------------------------------------- */
.hol-garland {
  display: block;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  height: 18px;
  background:
    radial-gradient(circle at center, var(--hol-gold) 0 2.5px, transparent 3px) 0 50% / 24px 18px repeat-x,
    linear-gradient(var(--hol-gold-light), var(--hol-gold-light)) 0 50% / 100% 1px no-repeat;
  opacity: 0.85;
}

/* -------------------------------------------------------------------------
   4. Homepage deal section
   ------------------------------------------------------------------------- */
.hol-deal {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 48px 96px;
  background:
    radial-gradient(48% 70% at 8% 12%, rgba(227,196,143,0.40), transparent 62%),
    radial-gradient(44% 60% at 96% 88%, rgba(173,31,35,0.10), transparent 64%),
    radial-gradient(40% 50% at 70% 0%, rgba(255,255,255,0.7), transparent 60%),
    linear-gradient(180deg, var(--hol-cream), var(--hol-cream-deep));
  color: var(--hol-ink);
  scroll-margin-top: 72px;
}
.hol-deal::before {              /* paper grain */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.32  0 0 0 0 0.2  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hol-deal__wrap {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
  padding: 56px 64px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(181,130,66,0.55);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(105,13,13,0.05),
    0 14px 30px -12px rgba(105,13,13,0.18),
    0 40px 70px -30px rgba(181,130,66,0.35);
}
.hol-deal__wrap::before {         /* inner hairline frame */
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(181,130,66,0.28);
  pointer-events: none;
}
.hol-deal__art { position: relative; display: grid; place-items: center; }
.hol-card-art {
  width: 100%;
  max-width: 400px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 24px rgba(105,13,13,0.22)) drop-shadow(0 4px 6px rgba(105,13,13,0.12));
  transform: rotate(-4deg);
  transition: transform 0.6s var(--hol-spring);
}
.hol-deal__art:hover .hol-card-art { transform: rotate(-1.5deg) translateY(-6px); }
.hol-twinkle { animation: hol-twinkle 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hol-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50%      { opacity: 1;    transform: scale(1.1); }
}

.hol-deal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hol-sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hol-red);
  margin-bottom: 18px;
}
.hol-deal__eyebrow svg { width: 14px; height: 14px; color: var(--hol-gold); }
.hol-deal h2 {
  font-family: var(--hol-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--hol-ink);
  margin: 0 0 20px;
}
.hol-deal__sub {
  font-family: var(--hol-sans);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(17,17,17,0.78);
  max-width: 440px;
  margin: 0 0 30px;
}
.hol-deal__steps { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 0; }
.hol-deal__steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(181,130,66,0.4);
}
.hol-deal__steps li:last-child { border-bottom: 1px solid rgba(181,130,66,0.4); }
.hol-step__k {
  font-family: var(--hol-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hol-gold);
}
.hol-step__v {
  text-wrap: balance;
  font-family: var(--hol-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hol-ink);
}
.hol-step__v em { font-style: normal; font-weight: 500; color: var(--hol-red); letter-spacing: 0.01em; }
.hol-deal__cta {
  display: inline-block;
  font-family: var(--hol-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--hol-red);
  padding: 16px 40px;
  box-shadow: 0 10px 20px -10px rgba(105,13,13,0.65), 0 2px 0 var(--hol-red-deep);
  transition: transform 0.35s var(--hol-spring), background-color 0.2s ease, box-shadow 0.3s ease;
}
.hol-deal__cta:hover { background: var(--hol-red-deep); transform: translateY(-2px); box-shadow: 0 16px 26px -12px rgba(105,13,13,0.7), 0 2px 0 var(--hol-red-deep); }
.hol-deal__cta:focus-visible { outline: 2px solid var(--hol-gold); outline-offset: 4px; }
.hol-deal__cta:active { transform: translateY(0) scale(0.98); }
.hol-deal__fine {
  margin: 20px 0 0;
  font-family: var(--hol-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.6);
}
.hol-deal__greeting {
  text-align: center;
  font-family: var(--hol-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.01em;
  color: var(--hol-red);
  max-width: 1080px;
  margin: 0 auto 28px;
}
.hol-deal__greeting .hol-garland { margin-top: 14px; }

@media (max-width: 1023px) {
  .hol-deal { padding: 64px 24px 72px; }
  .hol-deal__wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 44px 28px; }
  .hol-card-art { max-width: 320px; }
  .hol-deal__sub { max-width: none; }
}
@media (max-width: 479px) {
  .hol-deal { padding: 48px 16px 56px; }
  .hol-deal__wrap { padding: 36px 20px; }
  .hol-deal__steps li { grid-template-columns: 52px 1fr; gap: 10px; }
  .hol-deal__cta { display: block; text-align: center; padding: 16px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .hol-snow, .hol-snow-toggle { display: none; }
  .hol-twinkle { animation: none; opacity: 0.8; }
  .hol-card-art, .hol-deal__cta, .hol-bar__close { transition: none; }
}
