:root {
  --bg: #fafaf9;
  --text: #14181f;
  --muted: #6b7280;
  --accent: #14181f;
  --border: #e5e5e5;
  --cta-bg: #14181f;
  --cta-text: #fafaf9;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "system-ui", sans-serif;
  transition: background-color 0.2s ease, color 0.2s ease;
}

em {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 28px 140px;
}

/* Hero intro */
.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-intro h1 {
  font-size: 58px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -1.4px;
  margin: 0;
  max-width: 720px;
}

.sub-header {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 560px;
  margin: 0;
}

/* Scroll reveal */
.scroll-reveal {
  margin-top: 48px;
}

.reveal-block {
  font-size: 36px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.5px;
  max-width: 720px;
  margin: 0 0 32px;
  color: var(--text);
}

.reveal-block:last-child {
  margin-bottom: 0;
}

.reveal-block .word {
  display: inline-block;
  color: var(--muted);
  opacity: 0.3;
  filter: blur(4px);
  transform: translateY(4px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, filter 0.4s ease-out, color 0.4s ease-out;
}

.reveal-block .word.is-active {
  color: var(--text);
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.term {
  color: var(--muted) !important;
}

/* Identity */
.identity {
  margin-top: 64px;
}

.identity h2 {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.6px;
  margin: 0 0 20px;
}

/* Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 24px;
  margin-top: 88px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-value {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1.1;
  white-space: nowrap;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

/* Experience */
.experience {
  margin-top: 104px;
}

.section-label {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: var(--accent);
  margin: 0 0 40px;
}

.timeline-item {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: 1px solid var(--border);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.timeline-role {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.timeline-date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}

.timeline-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 620px;
}

/* Closure */
.closure {
  margin-top: 120px;
  text-align: center;
}

.cta-headline {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.68px;
  line-height: 1.15;
  margin: 0 0 32px;
}

.cta-btn {
  display: inline-block;
  background: var(--cta-bg);
  color: var(--cta-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.cta-btn:hover {
  opacity: 0.85;
}

.email-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  padding: 6px 10px;
  border: none;
  background: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.email-copy:hover {
  color: var(--text);
}

.email-copy-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .container { padding: 48px 20px 100px; }
  .hero-intro h1 { font-size: 34px; }
  .sub-header { font-size: 16px; }
  .reveal-block { font-size: 22px; margin-bottom: 0; }
  .scroll-reveal { margin-top: 24px; }
  .reveal-slide { margin-bottom: 40px; }
  .reveal-slide:last-child { margin-bottom: 0; }
  .stats { gap: 32px 20px; margin-top: 64px; }
  .stat { flex: 1 1 40%; }
  .stat-value { white-space: normal; }
  .experience { margin-top: 72px; }
  .closure { margin-top: 88px; }
  .cta-headline { font-size: 26px; }
  .timeline-head { flex-direction: column; gap: 4px; }
}
