:root {
  --green: #03ef62;
  --black: #0d0d0d;
  --white: #f4f4f1;
  --muted: #858585;
  --line: rgba(255, 255, 255, 0.14);
  font-family: Arial, Helvetica, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--black);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient__glow {
  position: absolute;
  top: -19rem;
  left: 50%;
  width: 43rem;
  height: 43rem;
  opacity: 0.15;
  background: radial-gradient(circle, var(--green) 0, rgba(3,239,98,.33) 24%, transparent 68%);
  filter: blur(22px);
  transform: translateX(-50%);
}

.ambient__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.link-hub {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(42rem, 100%);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(2.4rem, 7vh, 5rem) clamp(1.15rem, 5vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  min-height: 3rem;
  margin-bottom: clamp(2.4rem, 6vh, 4.2rem);
  text-decoration: none;
}

.brand img {
  display: block;
  width: clamp(9rem, 28vw, 12.2rem);
  height: auto;
  filter: grayscale(1) brightness(0) invert(1);
  transition: opacity 180ms ease;
}

.brand:hover img,
.brand:focus-visible img { opacity: .68; }

.brand:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: .5rem;
}

.link-group--secondary {
  margin-top: 2.35rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0 .15rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.section-head span {
  color: #777;
  font-size: .8rem;
}

.link-list {
  border-top: 1px solid var(--line);
}

.link-item {
  --pointer-x: 50%;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2rem 2.75rem minmax(0, 1fr) 2rem;
  align-items: center;
  gap: .85rem;
  min-height: 5.15rem;
  padding: 0 1.1rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 180ms ease;
}

.link-item::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: radial-gradient(19rem circle at var(--pointer-x) 50%, rgba(3,239,98,.13), transparent 62%);
  transition: opacity 220ms ease;
}

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

.link-item:hover,
.link-item:focus-visible {
  border-color: rgba(3,239,98,.58);
  outline: none;
}

.link-item__index {
  color: #686868;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.link-item__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
}

.link-item__icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-item__icon .brand-icon {
  fill: currentColor;
  stroke: none;
}

.link-item__text { min-width: 0; }

.link-item__text strong,
.link-item__text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-item__text strong {
  margin-bottom: .23rem;
  font-size: 1rem;
  font-weight: 650;
  transition: transform 180ms ease;
}

.link-item__text small {
  color: var(--muted);
  font-size: .82rem;
}

.link-item__arrow {
  justify-self: end;
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.link-item:hover .link-item__arrow,
.link-item:focus-visible .link-item__arrow { transform: translate(.18rem, -.18rem); }

.link-item:hover .link-item__text strong,
.link-item:focus-visible .link-item__text strong { transform: translateX(.18rem); }

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js body.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease var(--delay, 0ms), transform 520ms cubic-bezier(.2,.75,.25,1) var(--delay, 0ms);
}

@media (max-width: 430px) {
  .link-hub { justify-content: flex-start; }

  .brand { margin-top: 1.2rem; }

  .link-item {
    grid-template-columns: 1.45rem 2.6rem minmax(0, 1fr) 1.3rem;
    gap: .68rem;
    min-height: 4.85rem;
    padding: 0 .85rem;
  }

  .link-item__icon {
    width: 2.6rem;
    height: 2.6rem;
  }

  .section-head {
    padding: 0 .1rem;
  }
}

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