*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

#app {
  position: relative;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow: hidden;
  background: #977c47;
}

.interaction {
  /* Keep the brandmark at the scale used in the 400px frame, whose
     diameter covered 950 of the 1024 SVG units. */
  --frame-size: min(400px, calc((100vw - 80px) * 400 / 408));
  --lockup-height: 1400;
  position: relative;
  width: min(100%, calc((100svh - 2rem) * 1024 / var(--lockup-height)), calc(var(--frame-size) * 1024 / 950));
  aspect-ratio: 1024 / var(--lockup-height);
}

.interaction img,
#coming-soon,
#brandmark-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#brandmark-fallback,
#coming-soon,
#ray {
  height: auto;
}

#coming-soon {
  fill: #fff;
  font: 76px Georgia, serif;
  letter-spacing: 3px;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  user-select: none;
}

#ray,
#wordmark {
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

#brandmark-canvas {
  touch-action: none;
  user-select: none;
}

.interaction img[hidden] {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
