:root {
  color-scheme: dark;
  --night: #040b13;
  --white: #f2f8ff;
  --muted: #c5d6e0;
  --blue: #a8e5ff;
  --button-ink: #092332;
  --gutter: clamp(1.25rem, 6.3vw, 6rem);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font: 1.0625rem/1.64 system-ui, sans-serif;
}

.cover {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
}

.cover-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #040b13;
  pointer-events: none;
}

.cover-video {
  position: absolute;
  inset: 0 0 0 auto;
  display: block;
  width: 63%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: brightness(1.14);
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.cover-background::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #040b13 4%, rgba(4, 11, 19, .98) 34%, rgba(4, 11, 19, .66) 56%, rgba(4, 11, 19, .03) 89%),
    linear-gradient(0deg, rgba(4, 11, 19, .72), transparent 27%);
  content: "";
}

.cover-content {
  width: min(79rem, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(4.25rem, 8vw, 7rem);
}

.cover-name {
  margin: 0 0 clamp(1.15rem, 3vw, 2.05rem);
  color: var(--blue);
  font-size: .94rem;
  font-weight: 760;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 48rem;
  margin: 0;
}

.cover-title {
  display: block;
  font: 700 clamp(3.65rem, 7.4vw, 7.3rem)/.91 Georgia, "Times New Roman", serif;
  letter-spacing: -.063em;
  text-wrap: balance;
}

.cover-subtitle {
  display: block;
  margin-top: 1.05rem;
  color: var(--white);
  font-size: clamp(1.12rem, 2.05vw, 1.65rem);
  font-weight: 550;
  line-height: 1.36;
}

.cover-subtitle strong {
  display: block;
  color: var(--blue);
  font-weight: 750;
}

.cover-intro {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.55vw, 1.22rem);
}

.cover-link {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  margin-top: 1.6rem;
  padding: .68rem 1.35rem;
  border-radius: .24rem;
  background: var(--blue);
  color: var(--button-ink);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}

.cover-link:hover {
  background: #d2f2ff;
}

.cover-motion {
  position: absolute;
  right: clamp(.9rem, 3vw, 2rem);
  bottom: clamp(.8rem, 2.5vw, 1.7rem);
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border: 1px solid #5e8799;
  border-radius: .25rem;
  background: rgba(4, 11, 19, .88);
  color: var(--white);
  cursor: pointer;
  font: 650 .875rem/1.25 system-ui, sans-serif;
}

.cover-motion:hover {
  background: #122e3e;
}

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

@media (max-width: 47rem) {
  .cover {
    align-items: end;
  }

  .cover-video {
    width: 100%;
    height: 77%;
    object-position: center 4%;
    mask-image: linear-gradient(#000 52%, transparent 100%);
  }

  .cover-background::after {
    background: linear-gradient(
      rgba(4, 11, 19, .04) 0%,
      rgba(4, 11, 19, .14) 19%,
      rgba(4, 11, 19, .76) 47%,
      #040b13 77%
    );
  }

  .cover-content {
    padding-block: clamp(8.25rem, 31svh, 15rem) 4.75rem;
  }

  .cover-title {
    font-size: clamp(3.1rem, 12.4vw, 5.35rem);
  }

  .cover-intro {
    margin-top: 1rem;
  }

  .cover-link {
    margin-top: 1.25rem;
  }
}

@media (max-width: 23rem) {
  .cover-content {
    padding-block: clamp(6.75rem, 25svh, 11rem) 4rem;
  }

  .cover-name {
    margin-bottom: .75rem;
  }

  .cover-title {
    font-size: clamp(2.3rem, 11.6vw, 3rem);
  }

  .cover-subtitle {
    margin-top: .75rem;
    font-size: 1.055rem;
  }

  .cover-intro {
    margin-top: .85rem;
    font-size: 1rem;
    line-height: 1.48;
  }

  .cover-link {
    min-height: 2.75rem;
    margin-top: 1rem;
  }
}
