:root {
  color-scheme: dark;
  background: #080403;
  color: #de4a0a;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body { overflow: hidden; }

main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.artwork {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100vw, 147.65625svh);
  aspect-ratio: 1512 / 1024;
  flex: none;
}

.artwork img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

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

@media (max-width: 600px) and (orientation: portrait) {
  .artwork {
    /* Keep the entire logo and seal legible within 32px side margins. */
    width: calc((100vw - 64px) * 1512 / 729);
    margin-left: calc((100vw - 64px) * -44.5 / 729);
  }
}
