*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #000000;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.3);
  --muted-2: rgba(255, 255, 255, 0.12);
}

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

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg);
  position: relative;
  overflow: clip;
}

.page::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

.page__header {
  display: flex;
  justify-content: center;
  padding: 1.9rem 1.5rem 0;
}

.page__name {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 5rem;
}

.hero__inner {
  width: fit-content;
}

.hero__title {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: baseline;
  gap: 0;
  width: fit-content;
  font-size: clamp(1.5rem, 6.1vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
  user-select: none;
}

.hero__title .word {
  display: inline-block;
  white-space: nowrap;
  will-change: filter, opacity, transform;
}

.title-char {
  display: inline-block;
  will-change: filter, opacity, transform;
}

.hero__title .word + .word {
  margin-left: 0.18em;
}

.page__footer {
  display: flex;
  justify-content: center;
  padding: 0 1.5rem 1.3rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
}

.socials__link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.28em;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease,
    opacity 220ms ease;
}

.socials__link:hover,
.socials__link:focus-visible {
  color: var(--text);
  text-decoration-color: #ffffff;
  outline: none;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 3rem;
  }

  .socials {
    gap: 1.75rem 2rem;
  }
}

@media (max-width: 640px) {
  .page__header {
    padding-top: 1.4rem;
  }

  .page__name,
  .socials__link {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .hero {
    padding: 2rem 1.125rem 4rem;
  }

  .socials {
    width: min(100%, 23rem);
    gap: 0.75rem 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .word {
    will-change: auto;
  }

  .socials__link {
    transition: none;
  }
}
