/* ============================================================
   hero.css — opening section: eyebrow, headline, countdown
   Minimalist by request: one column, generous white space, the
   countdown is the only loud element on the page.
   ============================================================ */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5) var(--space-3);
  gap: var(--space-4);
  /* pinned white/black, independent of light/dark viewer theme */
  background: var(--hero-bg);
  color: var(--hero-ink);
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 34rem;
}

.hero__title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.hero__title-accent {
  font-style: italic;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--hero-accent);
}

.hero__subtitle {
  margin: var(--space-2) 0 0;
  color: var(--hero-ink-soft);
  font-size: 1.0625rem;
  max-width: 28rem;
}

/* ---------- countdown ---------- */
.countdown {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5ch;
}

.countdown__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2.75rem, 11vw, 6.5rem);
  line-height: 1;
  color: var(--hero-ink);
}

.countdown__value--pulse {
  color: var(--hero-accent);
}

.countdown__label {
  margin-top: var(--space-1);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-ink-soft);
}

.countdown__sep {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--hero-divider);
  transform: translateY(-0.6em); /* optically align with the digits, not the labels */
}

.countdown--done .countdown__value {
  color: var(--sun);
  -webkit-text-stroke: 1px var(--hero-ink);
}

/* ---------- scroll cue ---------- */
.scroll-cue {
  background: none;
  border: 0;
  padding: var(--space-2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: var(--hero-ink-soft);
}

.scroll-cue__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue__arrow {
  width: 1px;
  height: 2.5rem;
  background: var(--hero-ink-soft);
  position: relative;
  animation: scroll-cue-travel 1.8s ease-in-out infinite;
}
.scroll-cue__arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1px solid var(--hero-ink-soft);
  border-bottom: 1px solid var(--hero-ink-soft);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes scroll-cue-travel {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue__arrow {
    animation: none;
    opacity: 0.7;
  }
}
