:root {
  color-scheme: light;
  --ink: #17130f;
  --white: #fffdf8;
  --shadow-strong: drop-shadow(0 8px 22px rgba(26, 16, 10, 0.52))
    drop-shadow(0 3px 7px rgba(26, 16, 10, 0.42))
    drop-shadow(0 1px 1px rgba(26, 16, 10, 0.48));
  --text-shadow:
    0 8px 24px rgba(26, 16, 10, 0.58),
    0 3px 8px rgba(26, 16, 10, 0.48),
    0 1px 2px rgba(26, 16, 10, 0.58);
}

@font-face {
  font-family: "EightyEight";
  src: url("/assets/fonts/88regular-tnum.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EightyEight";
  src: url("/assets/fonts/88bold-tnum.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow: hidden;
  background: #f3d6cb;
  color: var(--ink);
  font-family:
    "EightyEight",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

.landing {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.landing::before,
.landing::after {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
}

.landing::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(63, 42, 29, 0.18), transparent 36%);
}

.landing::after {
  box-shadow: inset 0 0 140px rgba(36, 24, 16, 0.18);
}

.landing__media {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  background: #f3d6cb url("/assets/ChainzyLanding.webp") center / cover no-repeat;
}

.landing__audio {
  display: none;
}

.topbar,
.social-link {
  position: fixed;
  z-index: 2;
}

.topbar {
  top: 24px;
  left: clamp(168px, 15vw, 288px);
  display: grid;
  min-height: 54px;
  place-items: center;
}

.topbar__logo {
  width: min(258px, calc(100vw - 48px));
  height: auto;
  display: block;
  filter: brightness(0) invert(1) var(--shadow-strong);
}

.social-link {
  right: clamp(168px, 15vw, 288px);
  top: 28px;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 13px;
  color: var(--white);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.social-link:active {
  transform: translateY(0) scale(0.985);
}

.social-link:focus-visible {
  outline: 2px solid rgba(23, 19, 15, 0.7);
  outline-offset: 4px;
}

.social-link__text {
  font-family: "EightyEight", ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: var(--text-shadow);
  white-space: nowrap;
}

.social-link__icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.social-link__icon img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1) var(--shadow-strong);
}

@media (max-width: 760px) {
  .landing__media {
    object-position: 28% center;
    background-position: 25% center;
  }

  .topbar {
    top: 14px;
    left: 14px;
    min-height: 42px;
  }

  .topbar__logo {
    width: min(146px, 42vw);
  }

  .social-link {
    right: 14px;
    top: 14px;
    min-height: 42px;
    gap: 8px;
  }

  .social-link__text {
    font-size: 14px;
  }

  .social-link__icon,
  .social-link__icon img {
    width: 17px;
    height: 17px;
  }
}
