:root {
  --ink: #111317;
  --muted: #676a71;
  --line: #e7e7ea;
  --paper: #fbfbfc;
  --violet: #8377ff;
  --cyan: #75dce9;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

.flex {
  flex: 1;
}

.horiz {
  display: flex;
  flex-direction: row;
}

.vert {
  display: flex;
  flex-direction: column;
}

.center {
  align-items: center;
}

.center2 {
  align-items: center;
  justify-content: center;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  min-height: 116px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-name {
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero {
  width: min(100% - 96px, 1320px);
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  margin: 52px auto 0px;
  gap: 40px;
}

h1 {
  font-size: clamp(52px, 6.5vw, 96px);
  line-height: 0.99;
  letter-spacing: -0.065em;
  font-weight: 400;
  margin: 0px;
  text-wrap: balance;
}

.hero-text {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  color: var(--muted);
  margin: 34px 0px 0px;
  text-wrap: pretty;
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  /* No isolation here: the canvas uses mix-blend-mode multiply and must
     blend with the page background to be invisible where there is no ink. */
}

/* Faint dotted paper grid: the rest state of the ink effect, and the
   fallback when WebGL is unavailable or motion is reduced. */
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d7d8de 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 40%, transparent 74%);
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 40%, transparent 74%);
}

.hero-filings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* The fallback dot grid only makes sense when no effect canvas is running. */
.hero-art:has(canvas)::before {
  content: none;
}


@media (max-width: 900px) {
  .site-header {
    width: min(calc(100% - 36px), var(--max));
    grid-template-columns: 1fr auto;
    min-height: 90px;
  }

  .hero {
    width: min(calc(100% - 40px), 1320px);
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .hero-art {
    min-height: 400px;
    order: -1;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}