.countdown-section {
  background: linear-gradient(180deg, #151515 0%, #111111 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--parchment);
  padding: var(--s7) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .countdown-section {
    animation: none;
  }
}

.countdown-section .container {
  position: relative;
  z-index: 1;
}

.countdown-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 var(--s3);
}

.countdown-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--parchment);
  margin: 0 0 var(--s5);
  line-height: 1.15;
}

.countdown-heading em {
  font-style: italic;
  color: var(--color-accent);
}

.countdown-placeholder {
  margin: 0 auto var(--s5);
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.countdown-grid {
  display: none;
  justify-content: center;
  gap: var(--s4);
  margin-bottom: var(--s5);
  flex-wrap: wrap;
}

.countdown-section.has-countdown .countdown-grid {
  display: flex;
}

.countdown-section.has-countdown .countdown-placeholder {
  display: none;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 5rem;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  min-width: 2ch;
  text-align: center;
  display: block;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-blue-300);
  /* #9fc0da — ~10:1 on dark navy ✓ AAA (--ash fails on dark bg) */
  margin-top: var(--s1);
}

.countdown-divider {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.25);
  /* decorative separator — intentionally subtle */
  line-height: 1;
  align-self: center;
  margin-bottom: 1.5rem;
  /* align with number visually */
}

/* Expired state */
.countdown-expired {
  display: none;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: var(--s4);
}

.countdown-section.is-expired .countdown-grid,
.countdown-section.is-expired .countdown-divider {
  display: none;
}

.countdown-section.is-expired .countdown-expired {
  display: block;
}

.notify-panel .btn-sweep--light:hover span,
.notify-panel .btn-sweep--light:focus-visible span {
  color: var(--color-accent);
}

/* ── Marquee Strip ───────────────────────────────────────────────────────── */

.marquee-section {
  background: var(--color-accent);
  padding: var(--s3) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
}

/* Duplicate for seamless loop */
.marquee-inner[aria-hidden="true"] {
  animation-delay: -14s;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 var(--s4);
}

.marquee-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.4;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-inner {
    animation: none;
  }
}

/* ── Countdown mobile layout ─────────────────────────────────────────────── */

@media (max-width: 600px) {
  .countdown-grid {
    gap: var(--s3);
  }

  .countdown-divider {
    display: none;
    /* too cluttered on small screens */
  }

  .countdown-unit {
    min-width: 4rem;
  }

  .countdown-actions {
    flex-direction: column;
    align-items: center;
  }
}
