/* Seasonal greeting strip (OPS-1357). pages.mjs links this file, and renders the strip between
   the header and the page, only while an entry in SEASONAL_BANNERS is active; outside every
   window neither is in the document, so nothing moves.
   The artwork is decorative and carries the CamCore logo at its left. The image box is never
   wider than 2.8 times its height and shows the right of the artwork, so the logo is always
   cropped out whole (it ends at 20.5% of the width; the box starts at 30% or later) and never
   cut through. The greeting is real text over the plain ground. No animation. */

.seasonal-banner{
  --seasonal-height:clamp(112px,10vw,152px);
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:var(--seasonal-height);
  padding:14px max(clamp(16px,3vw,40px),calc((100vw - 1400px)/2));
  overflow:hidden;
  border-bottom:1px solid #2a3843;
  background:#0a0f14;
  color:#f6efe6;
  font-family:Inter,system-ui,sans-serif
}
.seasonal-banner-art{
  position:absolute;
  z-index:-1;
  top:0;
  right:0;
  width:min(100%,calc(var(--seasonal-height) * 2.8));
  max-width:none;
  height:100%;
  object-fit:cover;
  object-position:right center;
  /* Fades the artwork into the ground, so its left edge never shows. */
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);
  mask-image:linear-gradient(90deg,transparent 0,#000 30%)
}
.seasonal-banner-copy{display:grid;gap:6px;max-width:640px}
.seasonal-banner-title{margin:0;font-family:'Bricolage Grotesque',Inter,sans-serif;font-size:clamp(28px,3vw,44px);font-weight:800;line-height:.98;letter-spacing:-0.035em;color:#f6efe6}
.seasonal-banner-title .c{color:#ff7a59}
.seasonal-banner-note{margin:0;font-size:clamp(14px,1.2vw,17px);font-weight:500;line-height:1.4;color:#f6efe6}
/* 30 November 2026: the Christmas closure under the greeting (holiday-closure.mjs). Plain
   ground behind it, so Coral Light on #0a0f14 keeps its contrast. */
.seasonal-banner-hours{margin:2px 0 0;font-size:14px;font-weight:600;line-height:1.45;color:#f6efe6}
.seasonal-banner-hours a{color:#ffb09d;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.seasonal-banner-hours a:hover{color:#fff}
.seasonal-banner-hours a:focus-visible{outline:2px solid #ffb09d;outline-offset:2px;border-radius:4px}

/* Phones: the greeting takes two lines, as on the printed kit, and the artwork fades in later
   so the text always sits on the plain ground. */
@media (max-width:640px){
  .seasonal-banner-title .c{display:block}
  .seasonal-banner-art{
    -webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 48%,#000 88%);
    mask-image:linear-gradient(90deg,transparent 0,transparent 48%,#000 88%)
  }
  /* The closure line runs the full width on a phone; a soft ground-coloured shadow keeps it
     clear of the ornaments it passes over. */
  .seasonal-banner-copy{text-shadow:0 0 6px #0a0f14,0 0 12px #0a0f14}
}

@media print{.seasonal-banner{display:none}}
