/* The pre-launch page. One ruled column, one heading size, ink on paper.
   Uses the site's tokens from styles.css; no inline styles (CSP). */

.launch-body {
  background: var(--paper);
  color: var(--ink);
}

.launch-wrap,
.launch-mast,
.launch-hero,
.launch-facts,
.launch-timer,
.launch-body-grid,
.launch-people,
.launch-foot {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* Masthead */
.launch-mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--ink);
}

.launch-brand {
  margin: 0;
  display: block;
  color: var(--ink);
  line-height: 0;
}

.launch-logo {
  height: 88px;
  width: auto;
  display: block;
}

.launch-brand-sub {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Shared type */
.launch-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.22;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.launch-p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

.launch-p-small {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--muted);
}

.launch-body .eyebrow {
  margin: 0;
}

/* Hero */
.launch-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
}

.launch-hero-copy {
  display: grid;
  gap: var(--space-5);
}

.launch-hero-copy h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-3);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.launch-hero-copy .lede {
  margin: 0;
  max-width: 58ch;
}

.launch-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

/* The facts */
.launch-facts {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: var(--space-6);
}

.launch-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
}

.launch-fact {
  display: grid;
  gap: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink);
  align-content: start;
}

.launch-fact b {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.launch-fact p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--ink);
}

.launch-fact span {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Countdown: ink on paper, ruled */
.launch-timer {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: var(--space-5);
}

.launch-timer-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.launch-count {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 32px);
}

.launch-unit {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--ink);
}

.launch-unit b {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.launch-unit:first-child b {
  color: var(--accent);
}

.launch-unit span {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.launch-timer-note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
}

.launch-count.is-launched .launch-unit b {
  color: var(--accent);
}

/* Register and the leaflet */
.launch-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
  align-items: start;
}

.launch-register,
.launch-leaflet {
  display: grid;
  gap: var(--space-5);
  align-content: start;
}

/* The form without its card */
.launch-register .contact-form {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  gap: var(--space-4);
  max-width: 520px;
}

.launch-register .contact-form .form-note {
  margin: 0;
  font-size: var(--step--1);
  color: var(--muted);
}

.launch-leaflet-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
}

.launch-leaflet .button {
  justify-self: start;
}

/* People */
.launch-people {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
  align-items: baseline;
}

.launch-people .eyebrow {
  grid-column: 1 / -1;
}

.launch-people a,
.launch-foot a {
  color: var(--ink);
}

/* Footer */
.launch-foot {
  padding-top: var(--space-4);
  padding-bottom: var(--space-7);
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.launch-foot p {
  margin: 0;
}

.launch-foot b {
  color: var(--ink);
  font-weight: 500;
}

.launch-foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

@media print {
  .launch-unit b,
  .launch-unit:first-child b {
    color: var(--ink);
  }
}

@media (max-width: 760px) {
  .launch-hero,
  .launch-body-grid,
  .launch-people {
    grid-template-columns: 1fr;
  }

  .launch-hero {
    align-items: start;
  }

  .launch-hero-img {
    aspect-ratio: 4 / 3;
  }

  .launch-count {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-fact-grid {
    grid-template-columns: 1fr;
  }

  .launch-leaflet-img {
    max-width: 240px;
  }
}
