:root {
  --bg: #0d1a10;
  --surface: #132018;
  --surface2: #192b1e;
  --border: #263d2c;
  --accent: #c8a96e;
  --accent2: #6ec896;
  --text: #e8ede8;
  --text-muted: #8a9e8d;
  --text-dim: #4d6652;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  font-size: 17px;
  min-height: 100vh;
}

/* Background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(ellipse at 20% 10%, rgba(200,169,110,0.07) 0%, transparent 50%),
                    radial-gradient(ellipse at 80% 90%, rgba(110,200,150,0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,26,16,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-contact {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-contact a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-contact a:hover { color: var(--accent); }

.nav-contact svg { width: 18px; height: 18px; }

/* MAIN */
main {
  position: relative;
  z-index: 1;
  max-width: 1265px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

/* HERO */
.hero {
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  max-width: 780px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
}

/* SECTIONS */
section {
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* ABOUT */
.about-text {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
  max-width: 820px;
}

/* EDUCATION */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .edu-grid { grid-template-columns: 1fr; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  main { padding: 100px 20px 60px; }
}

.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
  transition: border-color 0.2s;
}
.edu-card:hover { border-color: var(--accent); }

.edu-card .degree {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.edu-card .school {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
}
.edu-card .details {
  font-size: 13px;
  color: var(--text-muted);
}

/* EXPERIENCE */
.job {
  position: relative;
  padding-left: 24px;
  margin-bottom: 48px;
}

.job::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.job::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 20px;
  width: 1px;
  bottom: -24px;
  background: var(--border);
}

.job:last-child::after { display: none; }

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.job-company {
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  color: var(--text);
}

.job-date {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding-top: 4px;
}

.job-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.job-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.job-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-size: 12px;
  top: 1px;
}

/* SKILLS */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.skill-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
}

.skill-group-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
}

/* CERTS */
.cert-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cert-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, color 0.2s;
}
.cert-badge:hover { border-color: var(--accent); color: var(--accent); }

.cert-badge svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero { animation: fadeUp 0.7s ease both; }
section { animation: fadeUp 0.7s ease both; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.15s; }
section:nth-child(4) { animation-delay: 0.2s; }
section:nth-child(5) { animation-delay: 0.25s; }
