:root {
  --black: #030303;
  --ink: #121212;
  --muted: #747474;
  --line: rgba(0, 0, 0, .08);
  --paper: #ffffff;
  --glass: rgba(255, 255, 255, .78);
  --font: "Inter", Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #f5f5f5;
}

body {
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
  background:
    radial-gradient(circle at 50% 5%, rgba(255,255,255,.98) 0 14%, rgba(255,255,255,0) 34%),
    linear-gradient(135deg, rgba(0,0,0,.035), rgba(255,255,255,.6) 38%, rgba(0,0,0,.07)),
    #f3f3f3;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

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

img {
  display: block;
  max-width: 100%;
}

.bio-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(20px, 4.5vw, 52px) 18px;
}

.bio-card {
  position: relative;
  width: min(100%, 560px);
  padding: 0 0 18px;
}

.logo-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, .09),
    0 1px 0 rgba(255, 255, 255, .9) inset,
    0 0 0 10px rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
}

.logo-mark img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.bio-head {
  position: relative;
  z-index: 1;
  margin: 0 0 30px;
  text-align: center;
}

.bio-head h1 {
  margin: 0;
}

.bio-head h1 {
  font-family: var(--display);
  color: #070707;
  font-size: clamp(2rem, 6.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.02;
}

.link-list {
  display: grid;
  gap: 14px;
}

.link-item {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 76px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,247,247,.92)),
    var(--paper);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, .08),
    inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.link-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(135deg, #111, #3a3a3a);
  transition: opacity .22s ease;
}

.link-item:hover,
.link-item:focus-visible,
.link-item.is-opening {
  border-color: rgba(0,0,0,.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255,255,255,.42);
  color: white;
  outline: none;
  transform: translateY(-2px);
}

.link-item:hover::before,
.link-item:focus-visible::before,
.link-item.is-opening::before {
  opacity: 1;
}

.link-logo {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.link-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.link-copy {
  display: grid;
  min-width: 0;
  justify-items: center;
  padding-right: 12px;
  text-align: center;
}

.link-copy strong {
  overflow: hidden;
  max-width: 100%;
  font-size: clamp(1rem, 3.5vw, 1.12rem);
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity .22s ease, transform .22s ease, color .22s ease;
}

.link-item:hover .link-copy small,
.link-item:focus-visible .link-copy small,
.link-item.is-opening .link-copy small {
  color: rgba(255,255,255,.68);
  opacity: 1;
  transform: translateY(0);
}

.link-action {
  position: relative;
  display: grid;
  width: 32px;
  height: 42px;
  place-items: center;
}

.link-action::before,
.link-action::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 9px 0 currentColor, 0 18px 0 currentColor;
  opacity: .52;
}

.link-action::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: translateX(-3px) rotate(45deg);
  transition: opacity .22s ease, transform .22s ease;
}

.link-item:hover .link-action::before,
.link-item:focus-visible .link-action::before,
.link-item.is-opening .link-action::before {
  opacity: 0;
}

.link-item:hover .link-action::after,
.link-item:focus-visible .link-action::after,
.link-item.is-opening .link-action::after {
  opacity: .9;
  transform: translateX(0) rotate(45deg);
}

@media (max-width: 520px) {
  .bio-shell {
    align-items: start;
    min-height: 100dvh;
    padding: 24px 14px 28px;
  }

  .bio-card {
    padding-top: 2px;
  }

  .logo-mark {
    width: 96px;
    height: 96px;
    margin-bottom: 18px;
    box-shadow:
      0 14px 36px rgba(0, 0, 0, .09),
      0 1px 0 rgba(255, 255, 255, .9) inset,
      0 0 0 7px rgba(255,255,255,.24);
  }

  .logo-mark img {
    width: 58px;
    height: 58px;
  }

  .bio-head {
    margin-bottom: 24px;
  }

  .bio-head h1 {
    max-width: 320px;
    margin-inline: auto;
    font-size: clamp(1.95rem, 10vw, 2.45rem);
    line-height: 1.04;
  }

  .link-item {
    grid-template-columns: 56px minmax(0, 1fr) 30px;
    min-height: 70px;
    padding: 9px 10px;
  }

  .link-logo {
    width: 40px;
    height: 40px;
  }

  .link-logo img {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 380px) {
  .bio-shell {
    padding-inline: 10px;
  }

  .bio-head h1 {
    font-size: clamp(1.75rem, 9vw, 2.1rem);
  }

  .link-list {
    gap: 11px;
  }

  .link-item {
    grid-template-columns: 48px minmax(0, 1fr) 26px;
    min-height: 66px;
  }

  .link-copy {
    padding-right: 6px;
  }
}
