:root {
  color-scheme: dark;
  --ink: #f5efe3;
  --muted: #c9c2b4;
  --night: #10120f;
  --ochre: #d99a4b;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  padding: 24px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(9, 11, 10, 0.9), rgba(9, 11, 10, 0));
}

.brand {
  font-weight: 780;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.95) 0%, rgba(7, 9, 8, 0.72) 36%, rgba(7, 9, 8, 0.12) 76%),
    linear-gradient(0deg, rgba(16, 18, 15, 0.9) 0%, rgba(16, 18, 15, 0) 34%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.6) 0%, rgba(7, 9, 8, 0) 24%);
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  padding: 132px 0 clamp(64px, 10vh, 112px) clamp(18px, 6vw, 84px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ochre);
  font-size: 0.77rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: 7rem;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 740;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ochre);
  color: #14100a;
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    min-height: 64px;
    padding: 20px 24px;
  }

  .hero-image {
    object-position: 73% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(9, 11, 9, 0.98) 0%, rgba(9, 11, 9, 0.86) 42%, rgba(9, 11, 9, 0.18) 76%),
      linear-gradient(180deg, rgba(7, 9, 8, 0.58) 0%, rgba(7, 9, 8, 0) 24%);
  }

  .hero-content {
    width: min(100%, 680px);
    padding: 116px 24px max(44px, env(safe-area-inset-bottom));
  }

  h1 {
    font-size: 4.25rem;
  }

  .hero-copy {
    font-size: 1.1rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 20px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .hero-content {
    padding-inline: 20px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  h1 {
    font-size: 3.25rem;
    line-height: 1;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .button {
    width: auto;
    min-width: 176px;
    margin-top: 26px;
  }
}

@media (max-width: 390px), (max-width: 560px) and (max-height: 700px) {
  .hero-content {
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }

  h1 {
    font-size: 2.9rem;
  }

  .hero-copy {
    margin-top: 16px;
  }

  .button {
    margin-top: 22px;
  }
}
