/* Coming soon (150:590). Desktop 1440 x 1024: the 932-wide logo artwork
   (388–512) and the 40/1.25 note (550–600) form one group whose middle sits 18
   above the screen's. Phone 440 x 956: logo artwork 378 wide (417–467), the
   20/1.25 note 30 under it, group 8.5 above centre. */

@font-face {
  font-family: 'Dawning of a New Day';
  src: url('/assets/fonts/dawning-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --u: clamp(.5px, calc(100vw / 1440), 1.4px);
  --paper: #faf9f5;
  --blue: #244b80;
  --script: 'Dawning of a New Day', 'Segoe Script', 'Brush Script MT', cursive;
  /* Dawning of a New Day sets ~20% narrower than Adobe Handwriting Ernie. */
  --script-scale: 1.22;
}
.adobe-fonts {
  --script: 'adobe-handwriting-ernie', 'Dawning of a New Day', cursive;
  --script-scale: 1;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--paper); color: var(--blue); -webkit-font-smoothing: antialiased; }
h1, p { margin: 0; font: inherit; }
img { display: block; max-width: 100%; height: auto; }

.soon {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

/* Lift the group as the frame does: twice the offset as extra bottom padding. */
.soon { padding-bottom: calc(24px + 36 * var(--u)); }

.soon__logo { width: min(calc(932 * var(--u)), 100%); }
.soon__note {
  margin-top: calc(38 * var(--u));
  font-family: var(--script);
  font-size: calc(40 * var(--u) * var(--script-scale));
  line-height: calc(50 * var(--u));
}

@media (max-width: 760px) {
  :root { --u: calc(100vw / 440); }
  .soon { padding: 16px 16px calc(16px + 17 * var(--u)); }
  .soon__logo { width: calc(378 * var(--u)); }
  .soon__note {
    margin-top: calc(30 * var(--u));
    font-size: calc(20 * var(--u) * var(--script-scale));
    line-height: calc(25 * var(--u));
  }
}
