@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Giga";
  src: url("fonts/lexend-giga-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 103.5%;
  ascent-override: 103%;
  descent-override: 29%;
  line-gap-override: 0%;
}

:root {
  --color-limestone: #f5f1e9;
  --color-graphite: #1a2229;
  --color-copper-deep: #8a422a;
  --color-stone: #6e6a64;
  --font-sans: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, sans-serif;
  --font-label: "Lexend Giga", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --focus: var(--color-copper-deep);
  color-scheme: light;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-limestone);
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

canvas[data-chisel-grain] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

main {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
}

h1 {
  margin: 0;
}

.mark {
  display: block;
  width: min(42rem, 92vw);
  height: auto;
}

.soon {
  margin: clamp(1.25rem, 3vw, 2rem) 0 0;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-stone);
}

footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem) 1.25rem;
  font-size: 0.9375rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--color-copper-deep);
  font-weight: 700;
  text-underline-offset: 0.28em;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

footer a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
