:root {
  --bg: #f6f1e8;
  --surface: #fffdf9;
  --ink: #1f2b28;
  --muted: #6d746f;
  --accent: #a45d4b;
  --accent-dark: #7d4336;
  --line: #d9d0c3;
  --soft: #e8dfd1;
  --shadow: 0 24px 60px rgba(63, 54, 45, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 232, 0.88);
  border-bottom: 1px solid rgba(217, 208, 195, 0.7);
}

.brand {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 700;
  letter-spacing: .04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.site-nav a { color: #36413e; }
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.menu-toggle { display: none; }
.section-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 80vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  padding: 90px 0 80px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.contact-section h2 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
  line-height: .98;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.7rem, 9vw, 8.8rem);
  font-weight: 700;
}
.hero h1 span { color: var(--accent); }
.hero-lede {
  max-width: 690px;
  margin: 28px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: #4e5854;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: .2s ease;
}
.button.primary { background: var(--ink); color: white; }
.button.primary:hover { transform: translateY(-2px); background: #101917; }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.button.secondary:hover { border-color: var(--ink); }

.hero-visual {
  width: 100%;
  max-width: 460px;
  justify-self: end;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 38% 50%;
  border-radius: 22px;
}

.about-section,
.experience-section,
.expertise-section,
.education-section {
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading { max-width: 880px; margin-bottom: 52px; }
.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  font-size: 1.15rem;
  color: #4d5652;
}
.about-grid p { margin: 0; }

.timeline { border-top: 1px solid var(--line); }
.timeline-item {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 48px;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-meta { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: .94rem; }
.timeline-meta span:first-child { color: var(--accent); font-weight: 700; }
.timeline-content h3 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
.timeline-content p { margin: 0; color: #56605c; }
.timeline-content p + p { margin-top: 16px; }
.chip-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 9px; }
.chip-list li { padding: 7px 12px; border-radius: 999px; background: var(--soft); font-size: .86rem; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.expertise-card {
  min-height: 300px;
  padding: 28px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.expertise-card span { color: var(--accent); font-weight: 700; }
.expertise-card h3 { margin: 24px 0 12px; font-size: 1.45rem; }
.expertise-card p { color: var(--muted); margin: 0; }

.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.credential-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.35);
}
.credential-type { color: var(--accent); text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; font-weight: 700; }
.credential-grid h3 { margin: 12px 0 8px; font-size: 1.35rem; }
.credential-grid p { margin: 0; color: var(--muted); }

.contact-section {
  margin-top: 80px;
  margin-bottom: 80px;
  padding: clamp(36px, 6vw, 70px);
  border-radius: 30px;
  background: var(--accent);
  color: white;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-end;
}
.contact-section .eyebrow { color: #f8dacc; }
.contact-section h2 { max-width: 850px; font-size: clamp(2.3rem, 4.7vw, 4.7rem); }
.contact-section .button.primary { background: white; color: var(--ink); flex: 0 0 auto; }

.site-footer {
  padding: 30px 0 45px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .88rem;
  border-top: 1px solid var(--line);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-visual { max-width: 420px; justify-self: center; }
  .about-grid, .timeline-item { grid-template-columns: 1fr; gap: 20px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    padding: 8px 12px;
    font: inherit;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    right: 20px;
    width: min(280px, calc(100vw - 40px));
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .expertise-grid, .credential-grid { grid-template-columns: 1fr; }
  .contact-section { align-items: flex-start; flex-direction: column; }
  .site-footer { flex-direction: column; gap: 4px; }
}
