@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Mono:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --bg: #F0E9D6;
  --surface: #E4D9C2;
  --surface2: #D9CEAD;
  --border: rgba(120,95,55,0.2);
  --text: #2A1E0C;
  --muted: #7A6A48;
  --accent: #5E6B35;
  --accent-dim: rgba(94,107,53,0.12);
  --amber: #B8861E;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --mono: 'DM Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(190,175,145,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(165,150,115,0.14) 0%, transparent 55%);
  color: var(--text);
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  border-bottom: 1px solid var(--border);
  background: rgba(240,233,214,0.92);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-resume {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--accent) !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-resume:hover {
  background: var(--accent);
  color: #fff !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent);
}

.hero-name {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-name em {
  font-style: italic;
  color: var(--accent);
}

.hero-bio {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 3rem;
  font-weight: 300;
}
.hero-bio strong { color: var(--text); font-weight: 500; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: rgba(42,30,12,0.3); color: var(--text); }

/* FLOATING DATA POINTS (decorative) */
.hero-decoration {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 320px;
  opacity: 0.4;
  pointer-events: none;
}

/* STATS STRIP */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 3rem;
}
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; gap: 3rem; flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num {
  font-family: var(--mono);
  font-size: 1.75rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SECTIONS */
.section {
  max-width: 900px; margin: 0 auto;
  padding: 6rem 3rem;
}
.section-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--accent); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.about-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
}
.about-text strong { color: var(--text); font-weight: 500; }
.about-text p + p { margin-top: 1rem; }

.about-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.tag-group { display: flex; flex-direction: column; gap: 0.75rem; }
.tag-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 12px;
  font-family: var(--mono);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  border: 1px solid rgba(94,107,53,0.28);
}
.tag.amber {
  background: rgba(184,134,30,0.1);
  color: var(--amber);
  border-color: rgba(184,134,30,0.3);
}

/* CURRENTLY CARD */
.currently-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}
.currently-card .card-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.currently-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 13px;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.currently-item:last-child { border-bottom: none; }
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5rem;
}
.dot.amber { background: var(--amber); }

/* PAGE HERO (sub-pages) */
.page-hero {
  padding: 10rem 3rem 5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-left {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* SCROLL ANIMATION */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 680px) {
  nav { padding: 1rem 1.5rem; }
  .hero, .section, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .stats-strip { padding: 1.5rem; }
  .stats-inner { gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-decoration { display: none; }
  footer { padding: 1.5rem; }
}
