:root {
  --paper: #f6f4f1;
  --ink: #0a0a0a;
  --ink-soft: #514a43;
  --ink-faint: #8a827a;
  --brand: #2c1602;
  --rule: #e2ddd6;

  --font-sans: 'Space Grotesk', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--ink); }

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 40px 32px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Starfield + orbital rings, painted behind everything. */
.field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Mono rails at the top and bottom of the page. */
.meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.meta--footer {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 64px 0;
}

.logo {
  width: min(420px, 72vw);
  height: auto;
  display: block;
}

.lede {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  text-align: center;
}

.lede h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

.lede p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 44ch;
  text-wrap: pretty;
}

.countdown {
  display: flex;
  gap: clamp(20px, 5vw, 56px);
  align-items: flex-start;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 64px;
}

.unit-value {
  font-size: clamp(38px, 7vw, 68px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.unit-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.unit[hidden] { display: none; }

/* Short viewports: compress the vertical rhythm so the page still resolves in
   one screen. The design's own proportions apply untouched above 900px tall. */
@media (max-height: 900px) and (min-width: 600px) {
  .page { padding: 28px 32px; }
  .stage { gap: clamp(24px, 4.5vh, 56px); padding: clamp(20px, 4vh, 64px) 0; }
  .logo { width: min(420px, 72vw, 42vh); }
}

@media (max-width: 420px) {
  .page { padding: 32px 20px; }
  .stage { gap: 40px; padding: 40px 0; }
}
