/* countdown.css — the live countdown at the bottom of the invitation page. */

.countdown {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 1.2rem);
  padding-top: 1vh;
  padding-bottom: 1vh;
}

/* The body's bottom padding (base.css) is shared with the index page;
   shrink it here so the countdown sits close to the viewport edge. */
body.page--invitation {
  padding-bottom: 1vh;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.countdown__value {
  font-family: var(--font);
  font-size: clamp(1.2rem, 5vw, 2rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums; /* keeps widths steady as digits tick */
  min-width: 2ch;
}

.countdown__label {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
