/*
  Coming Soon page. Loaded after Bootstrap 5.3 and tokens.css.
  Uses semantic --lb-* tokens only (DESIGN.md §1, §2, §5).
*/

/* Bootstrap base, pointed at the brand tokens */
:root {
  --bs-body-font-family: var(--lb-family-karla);
  --bs-body-font-size: var(--lb-size-body);
  --bs-body-line-height: var(--lb-line-height-body);
  --bs-body-color: var(--lb-text-default);
  --bs-body-bg: var(--lb-bg-brand);
}

.coming-soon {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-inline: var(--lb-layout-page-x);
  text-align: center;
}

.coming-soon__main {
  /* Logo sizes. The SVGs include clear space around the artwork (measured
     from the files): the mark's artwork fills 69% of its width with 14.4%
     empty above and below; the wordmark's fills 81% of its width with
     25.7% empty above and 24.4% below. The ratios below come from those. */
  --mark-w: clamp(6.5rem, 16vw, 10.5rem);
  --word-w: min(100%, 34rem);

  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: var(--lb-spacing-3xl) var(--lb-spacing-2xl);
}

/* Logo: the supplied mark and wordmark SVGs, stacked as on the business card.
   Stand-in until the stacked lockup listed in BRAND.md exists. */
.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0;
}

.lockup__mark {
  width: var(--mark-w);
  height: auto;
}

.lockup__wordmark {
  width: var(--word-w);
  height: auto;
  /* Overlap the two clear-space margins so the visible gap is spacing-md */
  margin-top: calc(var(--lb-spacing-md) - 0.0947 * var(--word-w) - 0.1536 * var(--mark-w));
}

.coming-soon__rule {
  width: calc(0.81 * var(--word-w)); /* matches the wordmark's visible width */
  margin: calc(var(--lb-spacing-lg) - 0.0898 * var(--word-w)) 0 var(--lb-spacing-lg);
  border: 0;
  border-top: 2px solid var(--lb-text-heading); /* Deep Rose, as on the card */
  opacity: 1;
}

/* brand/tagline: Lora Regular, as on the business card */
.coming-soon__tagline {
  max-width: 30rem;
  margin: 0 0 var(--lb-spacing-2xl);
  color: var(--lb-text-heading);
  font-family: var(--lb-family-lora);
  font-weight: var(--lb-weight-regular);
  font-size: var(--lb-size-tagline);
  line-height: var(--lb-line-height-tagline);
  text-wrap: balance;
}

.coming-soon__note {
  max-width: var(--lb-layout-measure);
  margin: 0 0 var(--lb-spacing-xl);
  text-wrap: balance;
}

/* Phone and email, centred under the note and set close as one pair. Their
   32px touch targets are the stacked-link exception in DESIGN.md §5. */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--lb-spacing-xl); /* 32px, see .contact */
  color: var(--lb-link-default);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: color 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__link:hover {
  color: var(--lb-link-hover);
}

.contact__link:focus-visible {
  outline: 3px solid var(--lb-border-focus);
  outline-offset: 2px;
  border-radius: var(--lb-radius-sm);
}

.coming-soon__footer {
  padding-block: var(--lb-spacing-lg);
  color: var(--lb-text-muted);
  font-size: var(--lb-size-sm);
  line-height: var(--lb-line-height-sm);
}

.coming-soon__footer p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .contact__link {
    transition: none;
  }
}
