:root {
  color-scheme: dark;
  --navy: #020b20;
  --paper: #f7f5ee;
  --cyan: #58e7ef;
  --gold: #f4d98a;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--paper);
  font-family: "Avenir Next", Avenir, "Century Gothic", sans-serif;
}

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

.hero__art,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__art {
  z-index: -2;
  background: var(--navy) url("hero.jpg") center center / cover no-repeat;
  animation: arrive 1.8s cubic-bezier(.2, .75, .2, 1) both;
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 8, 27, .78) 0%, rgba(1, 8, 27, .34) 34%, transparent 58%),
    linear-gradient(0deg, rgba(1, 7, 22, .76) 0%, transparent 31%);
}

.brand {
  position: absolute;
  top: clamp(2.5rem, 6.4vh, 5rem);
  left: clamp(3rem, 7vw, 9rem);
  width: clamp(17.1875rem, 21.5vw, 27.5rem);
  aspect-ratio: 2943 / 532;
  background:
    linear-gradient(
      135deg,
      #74531d 0%,
      #d2a950 18%,
      #e6d49f 38%,
      #c49135 58%,
      #dfc58e 76%,
      #8b6427 100%
    );
  filter:
    drop-shadow(0 0 .35rem rgba(255, 221, 132, .22))
    drop-shadow(0 .12rem .18rem rgba(0, 0, 0, .58));
  -webkit-mask: url("rapid-lightning.svg") center / contain no-repeat;
  mask: url("rapid-lightning.svg") center / contain no-repeat;
  transform: translate(-6px, 8px);
}

.hero__content {
  width: min(42rem, 44vw);
  padding: calc(clamp(12rem, 23vh, 18rem) + 25px) 0 8rem clamp(3rem, 7vw, 9rem);
  animation: reveal .9s .25s cubic-bezier(.2, .75, .2, 1) both;
}

.eyebrow,
.status {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(.72rem, .85vw, .94rem);
  font-weight: 600;
}

.eyebrow {
  color: var(--cyan);
  font-size: clamp(.82rem, .98vw, 1.08rem);
  white-space: nowrap;
}

.eyebrow span {
  color: rgba(247, 245, 238, .68);
  letter-spacing: .07em;
  text-transform: none;
}

h1 {
  width: fit-content;
  margin: 1.1rem 0 1.25rem;
  font-family: Baskerville, "Palatino Linotype", Palatino, serif;
  font-size: clamp(2.64rem, 4.576vw, 5.808rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
  text-align: left;
  text-wrap: balance;
}

h1 strong {
  display: inline-block;
  color: #58bdf5;
  font-size: 1em;
  font-weight: 400;
}

.lede {
  max-width: 31rem;
  margin: 0 0 2rem;
  color: rgba(247, 245, 238, .82);
  font-size: clamp(1rem, 1.35vw, 1.4rem);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--gold);
}

.status::before {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
}

footer {
  position: absolute;
  right: clamp(3rem, 7vw, 9rem);
  bottom: clamp(3rem, 7vw, 9rem);
  left: clamp(3rem, 7vw, 9rem);
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  color: rgba(247, 245, 238, .58);
  font-size: .82rem;
  letter-spacing: .04em;
}

footer a {
  color: rgba(247, 245, 238, .88);
  font-weight: 500;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--cyan);
}

footer span {
  color: rgba(244, 217, 138, .58);
  font-weight: 600;
}

footer a::before {
  margin-right: 1rem;
  color: var(--gold);
  content: "\2022";
}

@keyframes arrive {
  from { opacity: .25; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .hero__art {
    background-position: 60% center;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(1, 8, 27, .22) 0%, rgba(1, 8, 27, .82) 58%, rgba(1, 7, 22, .96) 100%);
  }

  .hero__content {
    position: absolute;
    top: clamp(8rem, 18vh, 10rem);
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    padding: 2rem clamp(1.4rem, 7vw, 3rem);
  }

  .brand {
    top: clamp(1.5rem, 5vh, 3rem);
    left: clamp(1.4rem, 7vw, 3rem);
    width: clamp(14.3rem, 59.4vw, 20.9rem);
  }

  h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .lede {
    max-width: 25rem;
  }

  footer {
    right: clamp(1.4rem, 7vw, 3rem);
    bottom: clamp(1.4rem, 7vw, 3rem);
    left: clamp(1.4rem, 7vw, 3rem);
    font-size: .66rem;
  }
}

@media (max-width: 480px) {
  .eyebrow span {
    display: none;
  }
}

@media (max-width: 640px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }

  footer a {
    order: 1;
  }

  footer span {
    order: 2;
  }

  footer a::before {
    display: none;
  }
}

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