@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  background: #0a0a0b;
  color: #edecec;
  font-family: "Jost", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  width: 100%;
  min-width: 320px;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #0a0a0b;
}

body {
  min-height: 100svh;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #c9a227;
  text-decoration: none;
}

a:hover {
  color: #eed27f;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #eed27f;
  outline-offset: 4px;
}

.hero-stage {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-stage__world {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  transform-origin: 0 0;
  will-change: transform;
  backface-visibility: hidden;
}

.hero-stage__skip {
  position: fixed;
  left: 30px;
  bottom: 26px;
  z-index: 4;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #c9a227;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.hero-stage__skip:hover {
  color: #eed27f !important;
  border-color: rgba(238, 210, 127, 0.7) !important;
  background: rgba(201, 162, 39, 0.06) !important;
}

.noscript {
  display: grid;
  align-content: start;
  gap: 1.4rem;
  width: min(48rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: max(1.5rem, env(safe-area-inset-top)) 0 3rem;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.noscript img {
  width: 12rem;
  max-width: 58vw;
  height: auto;
  margin-bottom: min(20vh, 10rem);
}

.noscript p {
  margin: 0;
}

.noscript a {
  font-family: "Jost", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 759px) {
  .hero-stage {
    height: 100dvh;
  }

  .hero-stage__skip {
    left: 24px !important;
    bottom: calc(22px + env(safe-area-inset-bottom)) !important;
    min-width: 44px;
    min-height: 44px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .hero-stage__world {
    will-change: auto;
  }

  .hero-stage__skip {
    transition: none;
  }
}
