:root {
  --holiday-height: 44px;
  --nav-height: 98px;
}

html {
  scroll-padding-top: calc(var(--holiday-height) + var(--nav-height) + 12px);
}

.holiday-ribbon {
  position: sticky;
  top: 0;
  z-index: 60;
  color: #182d45;
  background: #ffcf64;
  font-size: 14px;
  line-height: 1.3;
}

.holiday-link {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  min-height: 44px;
  padding-inline: clamp(10px, 2vw, 32px);
  color: inherit;
  text-decoration: none;
}

.site-header {
  top: var(--holiday-height);
}

/* The viewport already allows for both bars when an anchor receives focus. */
main :is(.who-we-are, .policy-section, .comparison-section)[id] {
  scroll-margin-top: 0;
}

.holiday-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.holiday-track {
  display: flex;
  width: max-content;
  animation: holiday-marquee 46s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  html .holiday-ribbon .holiday-track { animation: holiday-marquee 120s linear infinite !important; }
}

.holiday-group {
  display: flex;
  flex: none;
  min-width: 100vw;
  justify-content: space-around;
}

.holiday-copy {
  display: inline-block;
  white-space: nowrap;
  padding-block: 6px;
}

.holiday-copy strong { font-weight: 800; }
.holiday-copy::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-inline: clamp(16px, 2.5vw, 38px);
  vertical-align: middle;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

@keyframes holiday-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.holiday-enquire {
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  font-weight: 750;
}
.holiday-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}

@media (max-width: 950px) {
  :root { --nav-height: 80px; }
  .site-header nav {
    top: 100%;
    max-height: calc(100dvh - var(--holiday-height) - var(--nav-height));
  }
}
@media (max-width: 600px) {
  .holiday-ribbon { font-size: 12px; }
  .holiday-link { gap: 7px; padding-inline: 10px; }
  .holiday-enquire { font-size: 12px; }
}
@media print {
  .holiday-ribbon { display: none; }
}
