@font-face {
  font-family: "Playfair Display";
  src: url("./assets/playfair-display.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("./assets/plus-jakarta-sans.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Brand values from client/tailwind.config.js. */
  color-scheme: light;
  --porcelain: #fafaf9;
  --indigo: #1e1b4b;
  --amber: #f59e0b;
  --stone: #78716c;
  --hairline: #e7e5e4;
  background: var(--porcelain);
  color: var(--indigo);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; min-height: 100svh; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(24px, 4.8vw, 76px) 0;
}
.wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .26em;
}
.launch-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--stone);
  font-size: 11px;
  letter-spacing: .21em;
  text-transform: uppercase;
}
.launch-status::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 50%;
  flex-shrink: 0;
}
main { text-align: center; }
.threshold {
  position: relative;
  width: min(820px, 88vw);
  height: clamp(360px, 64svh, 680px);
  margin: 2px auto 0;
}
.threshold img, .threshold canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.threshold canvas { visibility: hidden; }
.threshold[data-rendered] canvas { visibility: visible; }
.threshold[data-rendered] img { visibility: hidden; }
.announcement { padding: 0 24px; }
h1 {
  margin: 0;
  font: 500 clamp(52px, 6.5vw, 94px)/1.15 "Playfair Display", Georgia, serif;
  letter-spacing: -.035em;
}
.announcement p {
  margin: 16px 0 0;
  color: var(--stone);
  font-size: 13px;
  letter-spacing: .3em;
}
.colophon {
  position: relative;
  margin: 40px auto 0;
  padding: 22px 24px 18px;
  text-align: center;
}
.colophon::before {
  position: absolute;
  top: 0;
  left: calc(50% - 12px);
  width: 24px;
  border-top: 1px solid var(--hairline);
  content: "";
}
.colophon .wordmark { font-size: 15px; }
.colophon p {
  margin: 11px 0 0;
  color: var(--stone);
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: .26em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .masthead { padding-top: 24px; }
  .masthead .wordmark { font-size: 19px; }
  .launch-status { font-size: 9px; letter-spacing: .12em; gap: 8px; }
  .launch-status::before { width: 7px; height: 7px; }
  .threshold { width: 100%; height: clamp(360px, 54svh, 500px); margin-top: 24px; }
  h1 { font-size: clamp(43px, 12vw, 64px); }
  .announcement p { font-size: 11px; margin-top: 15px; }
  .colophon { margin-top: 40px; }
  .colophon p { font-size: 8px; letter-spacing: .2em; }
}
