body { min-height: 100vh; display: flex; flex-direction: column; }

main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 48px 80px;
}

h1 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 10vw, 120px);
  text-transform: uppercase;
  line-height: 0.92;
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 0.8s var(--ease) forwards;
  animation-delay: 0.15s;
}

h1 .accent-dot { color: var(--clay-bright); }

.links {
  margin-top: 56px;
  max-width: 720px;
}

.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s var(--ease) forwards;
}

.links .link-row:first-child { border-top: 1px solid var(--hairline); }

/* staggered entrance per row */
.link-row:nth-child(1) { animation-delay: 0.45s; }
.link-row:nth-child(2) { animation-delay: 0.52s; }
.link-row:nth-child(3) { animation-delay: 0.59s; }
.link-row:nth-child(4) { animation-delay: 0.66s; }
.link-row:nth-child(5) { animation-delay: 0.73s; }
.link-row:nth-child(6) { animation-delay: 0.80s; }
.link-row:nth-child(7) { animation-delay: 0.87s; }

/* brush-stroke fill that wipes in behind the row on hover */
.link-row::before {
  content: '';
  position: absolute;
  left: -100%; top: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(63,162,139,0.1), transparent);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.link-row:hover::before { left: 100%; }

.link-row .index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray);
  width: 28px;
  flex-shrink: 0;
}

.link-row .label {
  font-family: 'Anton', sans-serif;
  font-size: clamp(20px, 3.6vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color 0.25s, transform 0.3s var(--ease);
  z-index: 1;
  flex: 1;
}

.link-row .handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--gray);
  z-index: 1;
  transition: color 0.25s;
}

.link-row .arrow {
  position: relative;
  margin-left: 18px;
  font-size: 20px;
  color: var(--clay-bright);
  transform: translateX(14px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
  flex-shrink: 0;
}

.link-row:hover .label { color: var(--clay-bright); transform: translateX(4px); }
.link-row:hover .handle { color: var(--moss); }
.link-row:hover .arrow { transform: translateX(0); opacity: 1; }

.back {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--gray);
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1s;
  transition: color 0.2s, gap 0.3s;
}
.back:hover { color: var(--bone); gap: 12px; }
.back::before { content: '←'; }

@media (max-width: 760px) {
  main { padding: 120px 24px 60px; }
  .link-row .handle { display: none; }
  .link-row .index { width: 20px; }
}
