:root {
  color-scheme: light;
  --ink: #f7fbfb;
  --soft: rgba(247, 251, 251, 0.78);
  --shadow: rgba(1, 20, 27, 0.42);
  --accent: #f4c7ad;
}

* {
  box-sizing: border-box;
}

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

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

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  z-index: -2;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 35, 44, 0.56), rgba(2, 35, 44, 0.16) 42%, rgba(2, 35, 44, 0.04) 100%),
    linear-gradient(180deg, rgba(2, 35, 44, 0.14), rgba(2, 35, 44, 0.02) 38%, rgba(2, 35, 44, 0.16));
  z-index: -1;
}

.hero__copy {
  width: min(92vw, 780px);
  padding: 64px 0 0 64px;
  text-shadow: 0 3px 18px var(--shadow);
}

.hero__kicker {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 52px;
  line-height: 0.94;
  font-weight: 720;
  letter-spacing: 0;
}

.hero__line {
  max-width: 460px;
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 0;
}

.hero__line::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 3px 16px rgba(244, 199, 173, 0.28);
}

@media (max-width: 760px) {
  .hero__image {
    object-position: 55% 50%;
  }

  .hero__copy {
    width: min(90vw, 560px);
    padding: 34px 0 0 24px;
  }

  .hero__kicker {
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
    line-height: 1;
  }

  .hero__line {
    max-width: 300px;
    font-size: 16px;
  }
}

@media (min-width: 1400px) {
  .hero__copy {
    padding-top: 82px;
    padding-left: 82px;
  }

  h1 {
    font-size: 60px;
  }
}
