@font-face {
  font-family: "Inknut Antiqua";
  src: url("fonts/inknut-antiqua-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  background-color: #000;
  color: #e5c99f;
  font-family: "Inknut Antiqua", Georgia, serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-width: 0;
  margin: 0;
}

.apparition {
  min-height: 100vh;
  min-height: 100svh;
}

.composition {
  display: grid;
  grid-template-rows: 55svh auto;
  justify-items: center;
  width: 100%;
  padding-bottom: max(32px, env(safe-area-inset-bottom));
}

.embleme {
  align-self: start;
  width: min(90vw, 480px);
  margin-top: max(3.3svh, env(safe-area-inset-top));
  animation: apparition 1.2s ease-out both;
}

.embleme img {
  display: block;
  width: 100%;
  height: auto;
}

.citation {
  width: calc(100% - 40px);
  max-width: 400px;
  margin: 6svh 0 0;
  text-align: center;
  font-size: clamp(16px, 5vw, 24px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
  animation: apparition 1.6s ease-out 1.2s both;
}

.citation p {
  margin: 0;
}

.citation span {
  display: block;
}

.fonts-pending .embleme,
.fonts-pending .citation {
  opacity: 0;
  animation: none;
}

@keyframes apparition {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .embleme,
  .citation {
    animation: none;
  }
}
