/* Christmas 2026 — homepage hero slide (.sr-slide-x26). Enqueued on the front page only while the
 * christmas2026 campaign is live or previewed (novamira-sandbox/xmas26-promotions-connector.php).
 * Same photo, palette and display face as the /promotions/ hero (xmas2026.css), rewritten as x26h-*
 * so it never depends on that file. Every selector is scoped to .stherb-redesign-home .sr-slide-x26
 * except the slider-dot rules, which apply only while this slide is the active one.
 * plan: plans/christmas-2026-promotions-page-2026-11-20.md (§14) */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/instrument-regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(assets/instrument-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.stherb-redesign-home .sr-slide-x26 {
  --x26h-ink: #fff4e5;
  --x26h-muted: #f1dfd7;
  --x26h-gold: #eac291;
  --x26h-berry: #2a0307;
  --x26h-display: 'Instrument Serif', 'Times New Roman', serif;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--x26h-berry);
  color: var(--x26h-ink);
  /* all slides share one grid cell, so this one is stretched to the tallest slide's height:
     the photo covers whatever height that is and the copy stays centred */
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: 64px 0 72px;
}
.stherb-redesign-home .sr-slide-x26 .x26h-media { position: absolute; inset: 0; z-index: -2; }
.stherb-redesign-home .sr-slide-x26 .x26h-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2a0307 0%, rgba(42, 3, 7, .88) 30%, rgba(42, 3, 7, 0) 58%);
}
.stherb-redesign-home .sr-slide-x26 .x26h-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}
.stherb-redesign-home .sr-slide-x26 .x26h-snow { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.stherb-redesign-home .sr-slide-x26 > .x26h-wrap { width: 100%; }

.stherb-redesign-home .sr-slide-x26 .x26h-copy { max-width: 520px; display: grid; gap: 18px; align-content: start; }
.stherb-redesign-home .sr-slide-x26 .x26h-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--x26h-gold);
}
.stherb-redesign-home .sr-slide-x26 .x26h-title {
  margin: 0;
  font: 400 clamp(60px, 7vw, 104px)/.88 var(--x26h-display);
  letter-spacing: -.04em;
  color: var(--x26h-ink);
}
.stherb-redesign-home .sr-slide-x26 .x26h-title em { display: block; font-style: italic; color: var(--x26h-gold); }
.stherb-redesign-home .sr-slide-x26 .x26h-sub { margin: 0; font-size: 17px; line-height: 1.65; color: var(--x26h-muted); max-width: 28em; }
.stherb-redesign-home .sr-slide-x26 .x26h-sub strong { color: #f4cc97; font-weight: 700; }

.stherb-redesign-home .sr-slide-x26 .x26h-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.stherb-redesign-home .sr-slide-x26 .x26h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.stherb-redesign-home .sr-slide-x26 .x26h-btn-cream { background: #fbefe0; color: #3a0710; }
.stherb-redesign-home .sr-slide-x26 .x26h-btn-cream:hover { background: #fff; color: #3a0710; }
.stherb-redesign-home .sr-slide-x26 .x26h-btn-line { border-color: rgba(255, 244, 229, .55); color: var(--x26h-ink); background: transparent; }
.stherb-redesign-home .sr-slide-x26 .x26h-btn-line:hover { border-color: var(--x26h-ink); color: #fff; }

.stherb-redesign-home .sr-slide-x26 .x26h-cd {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(234, 194, 145, .35);
  background: rgba(42, 3, 7, .45);
}
.stherb-redesign-home .sr-slide-x26 .x26h-cd-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--x26h-muted); }
.stherb-redesign-home .sr-slide-x26 .x26h-cd-nums { display: inline-flex; align-items: baseline; gap: 3px; }
.stherb-redesign-home .sr-slide-x26 .x26h-cd-nums b { font: 400 30px/1 var(--x26h-display); color: #f0d1a3; font-variant-numeric: tabular-nums; }
.stherb-redesign-home .sr-slide-x26 .x26h-cd-nums small { font-size: 12px; color: var(--x26h-muted); margin-right: 8px; }
.stherb-redesign-home .sr-slide-x26 .x26h-cd.is-ended { display: none; }

/* slider dots sit on the dark slide while it is active */
.stherb-redesign-home .sr-hero:has(.sr-slide-x26.sr-active) .sr-dot { background: rgba(255, 244, 229, .35); }
.stherb-redesign-home .sr-hero:has(.sr-slide-x26.sr-active) .sr-dot.sr-active { background: #fff4e5; }

/* homepage-redesign.css stacks .sr-hero-grid at 900px — same breakpoint here.
   Phones: copy on top, the photo as a band underneath (as on /promotions/). */
@media (max-width: 900px) {
  .stherb-redesign-home .sr-slide-x26 { justify-content: flex-start; min-height: 0; padding: 36px 0 0; }
  /* margin-top:auto: the slide is stretched to the tallest slide, so the photo sits on the bottom edge
     and any spare height stays as dark sky above it instead of an empty band underneath */
  .stherb-redesign-home .sr-slide-x26 .x26h-wrap { padding-bottom: 24px; }
  .stherb-redesign-home .sr-slide-x26 .x26h-media { position: relative; inset: auto; order: 2; z-index: -2; flex: 0 0 auto; height: clamp(420px, 150vw, 640px); margin-top: 0; }
  .stherb-redesign-home .sr-slide-x26 .x26h-media::after { background: linear-gradient(180deg, #2a0307 0%, rgba(42, 3, 7, 0) 22%, rgba(42, 3, 7, 0) 82%, #2a0307 100%); }
  .stherb-redesign-home .sr-slide-x26 .x26h-media .x26h-img { position: absolute; inset: 0; object-position: 85% 85%; }
  .stherb-redesign-home .sr-slide-x26 .x26h-media::after { background: linear-gradient(180deg, #2a0307 0%, rgba(42, 3, 7, 0) 30%); }
  .stherb-redesign-home .sr-slide-x26 .x26h-img { object-position: 72% center; }
  .stherb-redesign-home .sr-slide-x26 > .x26h-wrap { order: 1; }
  .stherb-redesign-home .sr-slide-x26 .x26h-copy { gap: 14px; max-width: none; }
  .stherb-redesign-home .sr-slide-x26 .x26h-title { font-size: clamp(54px, 13vw, 80px); }
  .stherb-redesign-home .sr-slide-x26 .x26h-sub { font-size: 15px; }
  .stherb-redesign-home .sr-slide-x26 .x26h-cd { padding: 8px 14px; gap: 10px; }
  .stherb-redesign-home .sr-slide-x26 .x26h-cd-nums b { font-size: 24px; }
}
@media (max-width: 560px) {
  .stherb-redesign-home .sr-slide-x26 .x26h-cta .x26h-btn { flex: 1 1 100%; }
  .stherb-redesign-home .sr-slide-x26 .x26h-cd-label { font-size: 10px; }
}
