@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #eceff2;
  --paper-deep: #d7dde4;
  --ink: #14171c;
  --mute: #6b7582;
  --accent: #1f6b63;
}

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

html,
body {
  height: 100%;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  background: var(--paper);
}

.wash {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, #f7f8fa 0%, transparent 62%),
    linear-gradient(180deg, #eef1f4 0%, var(--paper) 42%, var(--paper-deep) 100%);
}

#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  pointer-events: none;
}

.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(3.5rem, 16vw, 9rem);
  letter-spacing: -0.06em;
  line-height: 0.88;
  color: var(--ink);
  animation: rise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.8rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand {
    animation: none;
  }
}
