:root {
  color-scheme: dark;
  --bg: #0c1f1e;
  --white: #fffdf8;
  --lead: rgba(255, 253, 248, 0.78);
  --amber: #f0d6a7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
}

body {
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero-image {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  width: min(66vw, 1000px);
  height: min(92vh, 870px);
  transform: translateY(-50%);
  object-fit: contain;
  object-position: left center;
  opacity: 0.98;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(12, 31, 30, 0.06) 0%, rgba(12, 31, 30, 0.18) 42%, rgba(12, 31, 30, 0.94) 72%, #0c1f1e 100%),
    linear-gradient(180deg, rgba(12, 31, 30, 0.1), rgba(12, 31, 30, 0.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(620px, calc(100% - 40px));
  margin-right: clamp(20px, 7vw, 92px);
  margin-left: auto;
  padding: 78px 0 92px;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(62px, 8vw, 120px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: 0;
}

p {
  margin: 28px 0 0;
  color: var(--lead);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .hero-image {
    top: 44px;
    left: 0;
    width: min(112vw, 760px);
    height: 58vh;
    transform: none;
    object-position: left top;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 31, 30, 0.06) 0%, rgba(12, 31, 30, 0.28) 36%, #0c1f1e 66%, #0c1f1e 100%);
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 18px;
    align-self: end;
    padding-top: 46vh;
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  p {
    font-size: 17px;
  }
}
