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

* {
  box-sizing: border-box;
}

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

body {
  background: #0a0b0a;
}

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

.hero__media,
.hero__media::after {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  background: #0a0b0a;
}

.hero__media::after {
  content: "";
  background: rgba(0, 0, 0, 0.18);
}

.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  animation: image-arrival 900ms ease-out both;
}

.hero__mark {
  position: relative;
  width: 38px;
  height: 38px;
}

.hero__mark-ring,
.hero__mark-core {
  position: absolute;
  border-radius: 50%;
}

.hero__mark-ring {
  inset: 0;
  border: 1px solid rgba(221, 184, 105, 0.9);
  box-shadow: inset 0 0 0 6px rgba(10, 11, 10, 0.5);
}

.hero__mark-core {
  inset: 11px;
  border: 1px solid rgba(242, 240, 233, 0.88);
  background: rgba(10, 11, 10, 0.58);
}

.hero__content {
  align-self: center;
  width: min(100%, 640px);
  padding: 64px 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
  animation: content-arrival 700ms 120ms ease-out both;
}

.hero__context,
.hero__footer,
.hero__line {
  margin: 0;
}

.hero__context {
  margin-bottom: 20px;
  color: #d8b66f;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 8ch;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 6rem;
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
}

.hero__line {
  margin-top: 30px;
  max-width: 28rem;
  color: rgba(242, 240, 233, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}

.hero__footer {
  align-self: end;
  color: rgba(242, 240, 233, 0.64);
  font-size: 0.72rem;
  line-height: 1.4;
}

@keyframes image-arrival {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes content-arrival {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .hero {
    padding: 28px 24px 24px;
  }

  .hero__media img {
    object-position: 63% center;
  }

  .hero__media::after {
    background: rgba(0, 0, 0, 0.3);
  }

  .hero__content {
    align-self: end;
    padding: 96px 0 12vh;
  }

  h1 {
    font-size: 4.2rem;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-inline: 20px;
  }

  h1 {
    font-size: 3.55rem;
  }

  .hero__context {
    max-width: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media img,
  .hero__content {
    animation: none;
  }
}
