:root {
  --bg: #fbfaf7;
  --ink: #171717;
  --muted: #5f5f5f;
  --rule: #e5e0d8;
  --accent: #0d6efd;
  --max-width: 680px;
}

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

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

body {
  position: relative;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image: linear-gradient(180deg, #fdfcf9 0%, #faf8f3 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.07), transparent 24%),
    radial-gradient(circle at 82% 72%, rgba(13, 110, 253, 0.045), transparent 26%);
  animation: ambient-drift 22s ease-in-out infinite alternate;
}

body::after {
  content: none;
}

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

.page {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 120px 24px;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}

.name {
  font-family: "Syne", "Instrument Sans", "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 8ch;
}

.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--rule);
}

.links a {
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 500;
  color: #444444;
  letter-spacing: -0.01em;
  transition: color 0.12s ease, transform 0.12s ease;
}

.link-copy {
  display: block;
}

.link-icon {
  flex: 0 0 auto;
  min-width: 24px;
  color: var(--ink);
  opacity: 0.32;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  letter-spacing: 0;
}

.links a:hover,
.links a:focus-visible {
  color: var(--ink);
  transform: translateX(3px);
}

@keyframes ambient-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(10px, -8px, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .links a {
    transition: none;
  }
}

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

  .stack {
    gap: 32px;
  }
}
