:root {
  --bg: #fafafa;
  --ink: #0a0a0a;
  --grey: #666666;
  --grey-light: #999999;
  --line: #e2e2e2;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-inner {
  max-width: 640px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 1.5rem;
}

.name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
}

.bio {
  color: var(--grey);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

.links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.links a:hover {
  color: var(--grey);
}

.links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Scroll hint ---------- */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--grey-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- About ---------- */
.about {
  padding: 8rem 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.about-inner {
  max-width: 560px;
  text-align: center;
}

.about h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.about p {
  color: var(--grey);
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--grey-light);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-hint span {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .links {
    gap: 1.4rem;
  }
  .about {
    padding: 5rem 1.5rem;
  }
}
