:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #061a2f;
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  z-index: -2;
  object-fit: cover;
  object-position: center 18%;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 17 35 / 42%) 0%, transparent 42%),
    linear-gradient(0deg, rgb(0 12 28 / 78%) 0%, rgb(0 20 40 / 8%) 65%),
    linear-gradient(90deg, rgb(0 15 32 / 40%) 0%, transparent 58%);
}

.site-header,
.site-footer,
.hero__content {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}

.brand {
  text-decoration: none;
}

.brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero__content {
  align-self: end;
  padding-bottom: clamp(50px, 10vh, 110px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #dceeff;
  font-size: clamp(0.72rem, 1.2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.intro {
  margin: 22px 0 8px;
  color: rgb(255 255 255 / 84%);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

.site-footer {
  padding-bottom: 22px;
  color: rgb(255 255 255 / 62%);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .site-header,
  .site-footer,
  .hero__content {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    padding-block: 20px;
  }

  .hero__image {
    object-position: 50% 28%;
  }

  .hero__content {
    padding-bottom: 56px;
  }

  .intro {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
