:root {
  --bg: #050505;
  --fg: #f4f4f4;
  --muted: #777777;
  --muted-hover: #d6d6d6;
}

* {
  box-sizing: border-box;
}

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

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.018), transparent 34rem),
    var(--bg);
  color: var(--fg);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.identity {
  width: min(920px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-2.5vh);
}

.name {
  margin: 0;
  padding-left: .19em;
  font-size: clamp(2.75rem, 5.5vw, 5.4rem);
  line-height: .95;
  font-weight: 400;
  letter-spacing: .19em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  animation: reveal .9s cubic-bezier(.22,.61,.36,1) .08s forwards;
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.15vw, 34px);
  margin-top: clamp(32px, 4.6vw, 56px);
  opacity: 0;
  transform: translateY(8px);
  animation: reveal .9s cubic-bezier(.22,.61,.36,1) .28s forwards;
}

.social-link {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
  outline: none;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.social-link i {
  display: block;
  color: #8a8a8a;
  font-size: 19px;
  line-height: 1;
  opacity: .72;
  transition: color .2s ease, opacity .2s ease, transform .2s ease;
}

.social-link:hover i,
.social-link:focus-visible i {
  color: #d8d8d8;
  opacity: 1;
  transform: translateY(-1px);
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
}

.social-link:focus-visible {
  box-shadow: 0 0 0 1px rgba(255,255,255,.28);
}

.domain {
  position: absolute;
  left: 50%;
  bottom: max(30px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  color: rgba(255,255,255,.38);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .34em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  animation: fade .9s ease .48s forwards;
  transition: color .2s ease;
}

.domain:hover,
.domain:focus-visible {
  color: rgba(255,255,255,.72);
}

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

@keyframes fade {
  to { opacity: 1; }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: 20px;
  }

  .identity {
    transform: translateY(-3vh);
  }

  .name {
    font-size: clamp(2.05rem, 10.5vw, 3.35rem);
    letter-spacing: .15em;
    padding-left: .15em;
  }

  .socials {
    gap: 17px;
    margin-top: 34px;
  }

  .social-link {
    width: 26px;
    height: 26px;
  }

  .social-link i {
    font-size: 18px;
  }

  .domain {
    font-size: 10px;
    letter-spacing: .27em;
  }
}

@media (max-width: 360px) {
  .name {
    font-size: 1.85rem;
  }

  .socials {
    gap: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
