:root {
  --ink: #18211f;
  --muted: #65706b;
  --paper: #f7f5ef;
  --white: #ffffff;
  --sage: #48665d;
  --sage-dark: #29443c;
  --line: #dcded8;
  --soft: #ecefe9;
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247,245,239,.88);
  border-bottom: 1px solid rgba(24,33,31,.08);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .93rem;
  font-weight: 650;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
}

.hero {
  padding: 104px 0 86px;
  background:
    radial-gradient(circle at 80% 15%, rgba(72,102,93,.14), transparent 32%),
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 72px;
  align-items: center;
}

.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .74rem;
  font-weight: 800;
  color: var(--sage);
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.25rem);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 0;
  max-width: 8ch;
}

.hero-title {
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  font-weight: 650;
  max-width: 26ch;
  margin: 30px 0 18px;
}

.hero-text {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  transition: .2s ease;
}

.button.primary {
  background: var(--ink);
  color: white;
}

.button.primary:hover { transform: translateY(-2px); background: var(--sage-dark); }

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}

.hero-meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}

.hero-meta span::before {
  content: "•";
  color: var(--sage);
  margin-right: 8px;
}

.profile-card {
  background: var(--white);
  padding: 22px;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(26,38,34,.10);
}

.photo-placeholder {
  aspect-ratio: 4/5;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(72,102,93,.92), rgba(24,33,31,.96));
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 20px;
}

.photo-placeholder span {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -.06em;
}

.profile-label {
  margin: 0 0 6px;
  color: var(--sage);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 800;
}

.profile-focus { margin: 0; font-weight: 600; }

.section { padding: 96px 0; }
.section.alt { background: var(--soft); }

.two-col {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  margin: 0;
  max-width: 13ch;
}

.body-copy {
  font-size: 1.08rem;
  color: var(--muted);
}

.body-copy p:first-child { margin-top: 0; }

.cards {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid rgba(24,33,31,.07);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 230px;
}

.card-number {
  display: block;
  color: var(--sage);
  font-size: .75rem;
  font-weight: 800;
  margin-bottom: 34px;
}

.card h3 {
  font-size: 1.24rem;
  line-height: 1.25;
  margin: 0 0 13px;
}

.card p { color: var(--muted); margin-bottom: 0; }

.timeline {
  margin-top: 52px;
  border-left: 1px solid var(--line);
  margin-left: 9px;
}

.timeline-item {
  position: relative;
  padding: 0 0 48px 44px;
  max-width: 860px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -7px;
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 6px var(--paper);
}

.timeline-meta {
  color: var(--sage);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 6px;
}

.timeline h3 {
  font-size: 1.55rem;
  margin: 0 0 9px;
}

.timeline p:last-child { color: var(--muted); }

.project-card { min-height: 285px; }

.tag {
  display: inline-block;
  color: var(--sage-dark);
  background: #e5ece7;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 36px;
}

.project-status {
  display: inline-block;
  margin-top: 24px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 750;
}

.education-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.education-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.education-item:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.education-item:nth-child(even) { padding-left: 32px; }

.degree {
  font-weight: 800;
  font-size: 1.08rem;
  margin: 0 0 4px;
}

.education-item p:last-child { margin: 0; color: var(--muted); }

.contact-section {
  background: var(--ink);
  color: white;
  padding: 90px 0;
}

.section-kicker.light { color: #a7c1b8; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 70px;
  align-items: center;
}

.contact-section h2 { max-width: none; }

.contact-section p { color: #c6cec9; max-width: 58ch; }

.contact-card {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  padding: 30px;
}

.contact-card > a {
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  font-weight: 780;
  word-break: break-word;
}

.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.contact-links a {
  color: #d7e2dd;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.small-note { font-size: .82rem; margin: 22px 0 0; }

.site-footer {
  background: #111816;
  color: #94a19b;
  padding: 24px 0;
  font-size: .85rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-wrap p { margin: 0; }

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero { padding-top: 72px; }

  .profile-card { max-width: 460px; }

  .cards.four,
  .cards.three { grid-template-columns: repeat(2, 1fr); }

  .two-col h2 { max-width: 16ch; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--max)); }

  .menu-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(24,33,31,.12);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nav-links.open { display: flex; }

  h1 { font-size: clamp(3.1rem, 17vw, 5rem); }

  .section { padding: 72px 0; }

  .cards.four,
  .cards.three,
  .education-grid { grid-template-columns: 1fr; }

  .education-item:nth-child(odd),
  .education-item:nth-child(even) {
    padding: 24px 0;
    border-right: 0;
  }

  .hero-meta { flex-direction: column; gap: 6px; }

  .footer-wrap { flex-direction: column; }
}
