*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f2ee;
  --surface: #ffffff;
  --text: #1a1814;
  --muted: #7a7570;
  --accent: #2e5c3e;
  --accent-light: #e8f0ea;
  --border: #e2ddd8;
  --link-hover: #1d3d29;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow-x: hidden;
}

/* Subtle background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(46,92,62,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(46,92,62,0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 620px;
  width: 100%;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
  margin-bottom: 3rem;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.1s both;
  border: 2px solid var(--border);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s both;
}

.name {
  font-family: 'Lora', serif;
  font-size: clamp(2.6rem, 8vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.25s both;
}

.tagline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.35s both;
}

/* Divider */
.divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 2.5rem 0;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.45s both;
}

/* Stack */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s both;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.55s both;
}

.tag {
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s both;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.link-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(46,92,62,0.08);
  transform: translateX(4px);
}

.link-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 3px;
  flex-shrink: 0;
}

.link-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

.link-text {
  flex: 1;
}

.link-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  display: block;
}

.link-handle {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
  display: block;
}

.link-arrow {
  color: var(--muted);
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.link-item:hover .link-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* Footer */
.footer {
  margin-top: 3rem;
  font-size: 0.72rem;
  color: var(--border);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.75s both;
}

@media (max-width: 480px) {
  body { padding: 1.5rem 1.25rem; align-items: flex-start; padding-top: 3rem; }
}
