@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("../assets/fonts/Satoshi-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/Newsreader-VariableFont_opsz_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/Newsreader-Italic-VariableFont_opsz_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/GeistMono-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --parchment: #f5f0eb;
  --ink: #1e2d3d;
  --stone: #5f5751;
  --muted: #81766d;
  --border: #d5cdc4;
  --fire: #c64600;
  --fire-hover: #a83b00;
  --inverse: #fffaf4;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--parchment);
  color: var(--ink);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.landing {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--parchment);
}

.dot-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.landing::before,
.landing::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing::before {
  opacity: 0.26;
  background-image: radial-gradient(circle, rgba(198, 70, 0, 0.7) 0 1.5px, transparent 1.8px);
  background-size: 32px 32px;
}

.landing.has-dot-field::before,
.landing.has-dot-field::after {
  display: none;
}

.masthead {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 34px 64px 0;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.brand-wordmark {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.brand-wordmark em {
  color: var(--muted);
  font-style: italic;
  font-weight: 400;
}

.hero {
  width: 100%;
  max-width: 1440px;
  min-height: calc(100vh - 70px);
  margin: 0 auto;
  padding: 42px 64px 56px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px;
  color: var(--muted);
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--border);
}

h1 {
  width: 100%;
  max-width: 1120px;
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-size: 76px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-wrap: balance;
}

h1 em {
  color: var(--fire);
  font-style: italic;
  font-weight: 300;
}

h1 .hero-line {
  display: block;
}

.intro-line {
  display: inline;
}

h1 > .intro-line {
  color: var(--ink);
  font-weight: 400;
}

h1 > span {
  display: block;
  color: var(--stone);
  font-weight: 300;
}

.closing-line span {
  display: inline;
}

.mission {
  width: 100%;
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--stone);
  font-family: "Newsreader", Georgia, serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.mission strong {
  color: var(--ink);
  font-weight: 500;
}

.primary-action {
  min-height: 48px;
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border: 1px solid var(--fire);
  border-radius: 8px;
  background: var(--fire);
  color: var(--inverse);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: var(--fire-hover);
  border-color: var(--fire-hover);
  outline: 2px solid rgba(198, 70, 0, 0.2);
  outline-offset: 4px;
}

@media (min-width: 1400px) {
  h1 {
    font-size: 96px;
  }
}

@media (max-width: 980px) {
  .masthead,
  .hero {
    padding-left: 42px;
    padding-right: 42px;
  }

  h1 {
    font-size: 64px;
  }
}

@media (max-width: 720px) {
  .masthead {
    padding: 24px 22px 0;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    min-height: calc(100svh - 52px);
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 22px 28px;
    text-align: left;
  }

  .eyebrow {
    max-width: 100%;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 10px;
  }

  .eyebrow::before {
    width: 22px;
    margin-top: 7px;
  }

  .eyebrow::after {
    display: none;
  }

  h1 {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    font-size: 55px;
    line-height: 0.94;
    text-wrap: auto;
  }

  .closing-line span {
    display: block;
  }

  .intro-line {
    display: block;
  }

  .mission {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.38;
  }

  .primary-action {
    margin-top: 22px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 44px;
  }

  .mission {
    margin-top: 18px;
    font-size: 17px;
  }

  .primary-action {
    width: 100%;
    margin-top: 20px;
  }
}
