/*
 * Coming-soon page.
 *
 * Deliberately bare, per the design: header, one large heading, one line of
 * copy, footer. The countdown sits beneath the copy and is the only addition
 * to what was drawn.
 */

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-md);
    padding: clamp(4rem, 2rem + 12vw, 10rem) var(--space-md);
}

.coming-soon__title {
    font-family: var(--font-display);
    font-weight: var(--weight-black);
    font-size: var(--text-5xl);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-ink);
    margin: 0;
}

.coming-soon__subtext {
    font-family: var(--font-ui);
    font-weight: var(--weight-light);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-ink-muted);
    max-width: var(--measure);
    margin: 0;
}

/*
 * Inspiration line. Deliberately quieter than the subtext above it — it is a
 * diversion while waiting, not the point of the page — but the links
 * themselves are crimson and underlined so they read as links against it.
 */
.coming-soon__inspiration {
    font-family: var(--font-ui);
    font-weight: var(--weight-light);
    font-size: var(--text-xs);
    line-height: var(--leading-relaxed);
    color: var(--color-ink-soft);
    max-width: var(--measure);
    margin: var(--space-md) 0 0;
}

.coming-soon__inspiration a {
    color: var(--color-crimson);
    font-weight: var(--weight-medium);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.coming-soon__inspiration a:hover,
.coming-soon__inspiration a:focus-visible {
    color: var(--color-crimson-dark);
}

/* --- Countdown ----------------------------------------------------------- */

/*
 * Four fixed columns rather than a wrapping flex row: at 375px a flex row runs
 * just wide enough to drop "Seconds" onto a line of its own, which reads like
 * a mistake. A grid keeps all four abreast at every width.
 */
.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.5rem, 0.25rem + 2vw, 3rem);
    width: 100%;
    max-width: 32rem;
    margin-top: var(--space-sm);
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3xs);
    min-width: 0;
}

.countdown__value {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: var(--text-3xl);
    line-height: 1;
    color: var(--color-crimson);
    /* Tabular figures stop the row jittering as the seconds tick over. */
    font-variant-numeric: tabular-nums;
}

.countdown__label {
    font-family: var(--font-ui);
    font-weight: var(--weight-medium);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-ink-soft);
}
