:root {
  color-scheme: dark;
  --ink: #11110f;
  --coal: #1b1a17;
  --ember: #7d211d;
  --blood: #a8312c;
  --bone: #f0e5d1;
  --parchment: #d6bc8a;
  --gold: #c8913d;
  --shadow: rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  color: var(--bone);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  background: #070706;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100svh;
  padding: clamp(14px, 2.5vw, 28px);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: auto 12% 1% 12%;
  z-index: -1;
  height: 18%;
  content: "";
  background: radial-gradient(ellipse at center, rgba(200, 145, 61, 0.22), transparent 62%);
}

.mascot-stage {
  position: relative;
  width: min(88vw, calc(66.67svh - 19px), 720px);
  aspect-ratio: 2 / 3;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.4));
}

.mascot-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.eye {
  --pupil-x: 0px;
  --pupil-y: 0px;
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  pointer-events: none;
}

.eye-left {
  top: 24.61%;
  left: 39.65%;
  width: 4.69%;
  height: 1.89%;
  transform: rotate(12deg);
}

.eye-right {
  top: 22.46%;
  left: 54.39%;
  width: 4.39%;
  height: 2.28%;
  transform: rotate(-18deg);
}

.eye-third {
  top: 19.21%;
  left: 45.61%;
  width: 5.18%;
  height: 2.28%;
}

.pupil {
  display: block;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 248, 236, 0.95) 0 9%, transparent 10%),
    radial-gradient(circle, #080604 0 62%, #2b1512 66% 100%);
  box-shadow:
    0 0 5px rgba(200, 145, 61, 0.35),
    inset 0 0 8px rgba(0, 0, 0, 0.8);
  transform: translate(var(--pupil-x), var(--pupil-y));
  transition: transform 80ms linear;
}

.eye-third .pupil {
  width: 30%;
}

@media (max-width: 860px) {
  .hero {
    height: 100svh;
    padding: clamp(10px, 3vw, 18px);
  }

  .mascot-stage {
    width: min(94vw, calc(66.67svh - 14px));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
