:root {
  --bg: #ffffff;
  --ink: #111111;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(1.5rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1.5rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.card {
  width: min(100%, 920px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  opacity: 0;
  transform: translateY(12px);
  animation: in 0.85s var(--ease) forwards;
}

.art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.domain {
  margin: 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  letter-spacing: 0.04em;
  color: #1c1c1c;
}

@keyframes in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .card {
    width: min(100%, 560px);
  }
}

@media (max-height: 480px) and (orientation: landscape) {
  .card {
    width: min(70vw, 640px);
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
