/* The holding page (templates/coming_soon.html): a typographic poster. Three sizes (the wordmark, 18-20 px
   sans, 12 px mono), two text colours (ink and muted) and one Ember accent, the button.
   Design-system tokens only, never a colour value. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.soon {
  margin: 0;
  min-block-size: 100vh;
  min-block-size: 100svh;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-align: center;
}
/* One centred column, max 720 px, 48 px side margins (24 px on phones); a little above centre. */
.soon__main {
  inline-size: 100%;
  display: grid;
  place-items: center;
  padding-block: clamp(2rem, 6svh, 4rem) clamp(3rem, 12svh, 8rem);
  padding-inline: max(48px, env(safe-area-inset-left)) max(48px, env(safe-area-inset-right));
}
.soon__content {
  inline-size: min(100%, 720px);
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* PERICIA anchors the page (artwork, never typeset). */
.soon__logo { display: block; inline-size: 210px; block-size: auto; }
/* The 12 px mono voice: the category label (the page's one heading), the cities and the email. */
.soon__label, .soon__mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .06em;
  color: var(--muted);
}
.soon__label { margin: var(--space-4) 0 0; text-transform: uppercase; }
.soon__text {
  max-inline-size: 22rem;
  margin: 40px 0 0;
  font-size: clamp(18px, 1rem + .4vw, 20px);
  line-height: 1.4;
  color: var(--ink);
  text-wrap: balance;
}
/* The one Ember accent. Slim, 2 px corners to sit with the sharp wordmark; the text is nudged up a pixel
   so it sits optically centred in the box. */
.soon__action {
  display: inline-flex;
  align-items: center;
  gap: .4em;                          /* flex items drop the space before the arrow */
  min-block-size: var(--hit-target);
  margin-block-start: var(--space-6);
  padding: 11px 22px 13px;
  border-radius: 2px;
  background: var(--accent);
  font-size: 15px;
  font-weight: var(--weight-ui);
  line-height: 1.2;
  transition: background-color var(--duration-fast);
}
.soon a.soon__action { color: var(--on-accent); text-decoration: none; }
.soon a.soon__action:hover { background: var(--accent-dark); color: var(--on-accent); }
/* The footer: 48 px below the button, cities then email, both quiet. */
.soon__footer { margin-block-start: var(--space-7); display: flex; flex-direction: column; align-items: center; }
.soon__footer .soon__mono { margin: 0; }
.soon__footer p.soon__mono { text-transform: uppercase; }
.soon a.soon__email {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--hit-target);  /* a generous tap area; the visible gap to the cities stays small */
  margin-block-start: -6px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
  transition: color var(--duration-fast);
}
.soon a.soon__email:hover { color: var(--accent); }
.soon a:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
@media (max-width: 639px) {
  .soon__main { padding-inline: max(24px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-right)); }
  .soon__logo { inline-size: 140px; }
}
/* Short windows and phone landscape scroll naturally; nothing gets clipped. */
@media (max-height: 480px) {
  .soon__main { padding-block: 2rem; }
}
