:root {
  --cover-bg: #171b10;
  --cover-title: #f0ecdf;
  --cover-gold: #d5aa3a;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cover-bg);
  color: var(--cover-title);
  font-family: "Roboto", Arial, sans-serif;
}

.cover {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(32px, 6vw, 80px);
}

.cover-wordmark {
  align-self: center;
  width: min(100%, 1100px);
  margin: 0 auto;
  text-align: center;
  transform: translateY(-3vh);
}

.cover-entry {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.cover-entry h1 {
  margin: 0;
  color: var(--cover-title);
  font-size: clamp(4.2rem, 8.8vw, 10rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.cover-entry:hover h1,
.cover-entry:focus-visible h1 {
  color: #fffdf4;
  transform: translateY(-2px);
}

.cover-entry:focus-visible {
  outline: 2px solid var(--cover-gold);
  outline-offset: 10px;
}

.cover-divider {
  width: 91%;
  height: 4px;
  margin: clamp(28px, 4vw, 48px) auto clamp(24px, 3vw, 38px);
  border-radius: 999px;
  background: var(--cover-gold);
}

.cover-wordmark p {
  margin: 0;
  color: var(--cover-gold);
  font-size: clamp(1.8rem, 3.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.015em;
}

.cover-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 36px;
}

.cover-socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  opacity: 0.78;
  transition: background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.cover-socials a:hover,
.cover-socials a:focus-visible {
  background: rgb(213 170 58 / 14%);
  opacity: 1;
  transform: translateY(-2px);
}

.cover-socials a:focus-visible {
  outline: 2px solid var(--cover-gold);
  outline-offset: 3px;
}

.cover-socials img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: invert(95%) sepia(8%) saturate(385%) hue-rotate(350deg) brightness(101%);
}

@media (max-width: 620px) {
  .cover {
    padding: 28px 22px 30px;
  }

  .cover-entry h1 {
    font-size: clamp(3.3rem, 14.5vw, 5.5rem);
    line-height: 1.02;
  }

  .cover-divider {
    width: 100%;
    height: 3px;
  }

  .cover-wordmark p {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cover-entry h1,
  .cover-socials a {
    transition: none;
  }
}
