:root {
  color-scheme: dark;
  --ink: #fffaf1;
  --muted: #eadfcb;
  --accent: #ffd36f;
  --accent-ink: #1f2119;
  --shade: rgba(16, 23, 20, 0.74);
}

* {
  box-sizing: border-box;
}

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

body {
  height: 100vh;
  background: #17231f;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(11, 18, 16, 0.88) 0%, rgba(11, 18, 16, 0.64) 42%, rgba(11, 18, 16, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 18, 16, 0.45), rgba(11, 18, 16, 0.08));
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}

.hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 56% 50%;
}

.hero__content {
  align-self: center;
  block-size: fit-content;
  width: min(92vw, 740px);
  padding: clamp(22px, 5vw, 56px);
}

.hero__kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: clamp(0.78rem, 1.4vw, 0.95rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 55ch;
  margin: clamp(18px, 3vw, 28px) 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  line-height: 1.55;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: clamp(24px, 4vw, 34px);
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.hero__cta:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  body {
    overflow: hidden;
  }

  .hero {
    align-items: end;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(9, 15, 13, 0.9) 0%, rgba(9, 15, 13, 0.7) 48%, rgba(9, 15, 13, 0.2) 100%),
      linear-gradient(90deg, rgba(9, 15, 13, 0.55), rgba(9, 15, 13, 0.1));
  }

  .hero__media img {
    object-position: 58% 50%;
  }

  .hero__content {
    align-self: end;
    width: 100%;
    padding: 24px max(20px, env(safe-area-inset-left)) max(24px, env(safe-area-inset-bottom));
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .hero__copy {
    max-width: 34ch;
    font-size: clamp(0.95rem, 4vw, 1.08rem);
    line-height: 1.45;
  }
}

@media (max-height: 620px) {
  .hero__content {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero__kicker {
    margin-bottom: 8px;
  }

  h1 {
    font-size: clamp(2rem, 11vh, 4.6rem);
  }

  .hero__copy {
    margin-top: 12px;
    line-height: 1.35;
  }

  .hero__cta {
    min-height: 42px;
    margin-top: 16px;
  }
}
