/* Font */
@font-face {
  font-family: "Riottosa VF";
  src: url("./fonts/variable/RiottosaVF.woff2") format("woff2");
  font-weight: 1 1000;
  font-stretch: 50% 200%;
  font-style: normal;
  font-display: swap;
}

/* Base */
:root {
  --yellow: #ffcc00;
  --black: #000000;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--yellow);
  color: var(--black);
}

/* Full-screen typographic hero */
.hero {
  min-height: 100svh;
  display: grid;
  justify-items: stretch;
  align-content: start;
  padding: 100px 100px 0;
}

.hero__word {
  margin: 0;
  color: var(--black);
  font-family:
    "Riottosa VF",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.9;
  text-transform: uppercase;
  font-size: clamp(64px, 16vw, 220px);
  text-align: center;
  width: 100%;
  font-variation-settings: "wght" 900;
}

@supports (font-size: 1cqw) {
  .hero__word {
    font-size: min(22cqw, 240px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__word {
    text-rendering: geometricPrecision;
  }
}
