:root {
  color-scheme: dark;
  font-family: "DM Sans", sans-serif;
  background: #073b3c;
  color: #fffaf0;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
}

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

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

.hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: 62% center;
  animation: reveal 1.4s ease-out both;
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 35, 37, 0.9) 0%, rgba(3, 35, 37, 0.66) 38%, rgba(3, 35, 37, 0.12) 72%),
    linear-gradient(0deg, rgba(2, 26, 28, 0.66) 0%, transparent 40%, rgba(2, 26, 28, 0.18) 100%);
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
}

.header {
  border-bottom: 1px solid rgba(255, 250, 240, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  width: 2.25rem;
  fill: #e7c98a;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Italiana", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.brand small,
.header__status,
.eyebrow,
.note,
.footer {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.brand small {
  margin-top: 0.15rem;
  color: #e7c98a;
  font-size: 0.66rem;
}

.header__status {
  font-size: 0.75rem;
}

.hero__content {
  align-self: center;
  max-width: 57rem;
  padding: 5rem clamp(1.5rem, 8vw, 9rem);
}

.eyebrow {
  margin: 0 0 1.35rem;
  color: #e7c98a;
  font-size: 0.78rem;
  font-weight: 500;
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: "Italiana", serif;
  font-size: clamp(3.6rem, 8.5vw, 8.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.intro {
  max-width: 32rem;
  margin: 2rem 0 0;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
}

.rule {
  width: 4rem;
  height: 1px;
  margin: 2.25rem 0 1.25rem;
  background: #e7c98a;
}

.note {
  margin: 0;
  font-size: 0.72rem;
}

.footer {
  color: rgba(255, 250, 240, 0.74);
  font-size: 0.68rem;
  border-top: 1px solid rgba(255, 250, 240, 0.16);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 680px) {
  .hero__image {
    object-position: 68% center;
  }

  .hero__veil {
    background:
      linear-gradient(90deg, rgba(3, 35, 37, 0.84), rgba(3, 35, 37, 0.2)),
      linear-gradient(0deg, rgba(2, 26, 28, 0.8), rgba(2, 26, 28, 0.12) 75%);
  }

  .header {
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .header__status {
    max-width: 8rem;
    text-align: right;
    line-height: 1.5;
  }

  .hero__content {
    align-self: end;
    padding-bottom: 3.5rem;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.8rem);
  }

  .footer span:first-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image {
    animation: none;
  }
}
