:root {
  --bg: #FAF8F5;
  --text: #2C2C2C;
  --text-secondary: #6B6560;
  --text-muted: #A39E98;
  --accent: #8B7355;
  --accent-hover: #74604A;
  --border: #E8E3DD;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---- 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 2.5rem;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-download {
  color: var(--accent) !important;
}

.nav-download:hover {
  color: var(--accent-hover) !important;
}

/* ---- Intro ---- */

.intro {
  text-align: center;
  padding: 10rem 1.5rem 5rem;
  max-width: 680px;
  margin: 0 auto;
}

.intro-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  filter: contrast(0.97) brightness(1.01);
}

.intro-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-top: 2rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.intro-title {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.intro-location {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.intro-download {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.intro-download:hover {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* ---- Sections ---- */

.section {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  scroll-margin-top: 5rem;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ---- About ---- */

.about-text p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

/* ---- Entries (Experience + Education) ---- */

.entry {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.entry-company {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.3;
}

.entry-role {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.entry-period {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.entry-clients {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

.entry-details {
  list-style: none;
  margin-top: 1rem;
}

.entry-details li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}

.entry-details li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-sep {
  color: var(--text-muted);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .nav-links a:not(.nav-download) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .intro {
    padding: 8rem 1.25rem 3.5rem;
  }

  .intro-photo {
    width: 160px;
    height: 160px;
  }

  .intro-name {
    font-size: 2rem;
    margin-top: 1.5rem;
  }

  .section {
    padding: 0 1.25rem 3.5rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-sep {
    display: none;
  }
}
