:root {
  --ink: #1d2521;
  --muted: #657069;
  --line: #dfe5df;
  --paper: #fbfcf9;
  --accent: #185d43;
  --accent-soft: #e9f1ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 252, 249, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav, main, footer {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

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

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 18px;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: #4f5953; font-size: 14px; }
.nav-links a:hover { color: var(--accent); }

.hero {
  min-height: 510px;
  padding: 72px 24px 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 72px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

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

h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

h1 { font-size: clamp(48px, 7vw, 70px); line-height: 1.05; }
.role { margin: 10px 0 28px; color: var(--muted); font-size: 20px; }
.lead { max-width: 610px; margin: 0; font-size: 18px; line-height: 1.8; }
.lead a { color: var(--accent); border-bottom: 1px solid #a9c9b8; }
.lead a:hover { border-color: var(--accent); }

.link-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; }
.link-row a { color: var(--accent); font-size: 14px; font-weight: 650; }
.link-row a span { display: inline-block; margin-left: 3px; transition: transform .18s ease; }
.link-row a:hover span { transform: translate(2px, -2px); }

.profile-card {
  margin-top: 8px;
  padding: 15px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 45px rgba(28, 56, 43, .07);
}

.monogram {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  letter-spacing: -.06em;
}

.profile-meta { display: grid; padding: 18px 4px 14px; }
.profile-meta strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.profile-meta span { color: var(--muted); font-size: 13px; }
.profile-meta a { margin-top: 7px; color: var(--accent); font-size: 12px; }
.profile-meta a:hover { text-decoration: underline; }
.status { padding: 12px 4px 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #3a9b68; }

.section {
  padding: 76px 24px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.section-number { color: #91a097; font-family: Georgia, "Times New Roman", serif; font-size: 14px; }
.section-content h2 { font-size: 34px; }
.section-content > p { max-width: 720px; margin: 18px 0 0; color: #414a45; font-size: 17px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tags span { padding: 6px 12px; border: 1px solid #cedbd3; border-radius: 999px; color: var(--accent); background: #f4f8f5; font-size: 12px; }

.experience-item {
  margin-top: 24px;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience-item h3 { margin: 0; font-size: 17px; }
.experience-item p, .experience-item time { margin: 3px 0 0; color: var(--muted); font-size: 14px; }

.contact { padding: 82px 24px 90px; text-align: center; }
.contact h2 { font-size: clamp(36px, 6vw, 56px); }
.contact > p:not(.eyebrow) { margin: 16px auto 0; color: var(--muted); }
.contact-link { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 700; }
.contact-link span { display: inline-block; transition: transform .18s ease; }
.contact-link:hover span { transform: translate(2px, -2px); }

footer {
  min-height: 94px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

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

@media (max-width: 760px) {
  .nav, main, footer { width: min(100% - 28px, 980px); }
  .nav-links { gap: 16px; }
  .nav-links a:nth-child(3) { display: none; }
  .hero { min-height: auto; padding: 52px 8px; grid-template-columns: 1fr; gap: 42px; }
  .profile-card { width: min(100%, 300px); }
  .section { padding: 58px 8px; grid-template-columns: 1fr; gap: 8px; }
  .contact { padding: 64px 8px 72px; }
  footer { padding: 0 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
