:root {
  --navy: #2c3e50;
  --teal: #3a7d7d;
  --light-teal: #eef4f4;
  --text: #2d2d2d;
  --muted: #777;
  --border: #e4e8e8;
}

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

body {
  font-family: 'Georgia', serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
}

/* NAV */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

nav .name {
  color: var(--navy);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.03em;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--navy); }

/* HERO */
.hero {
  background: #f7f9f9;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.hero .title {
  font-family: 'Arial', sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero .links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
}

.hero .links a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.hero .links a:hover { color: var(--navy); }

/* MAIN LAYOUT */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}

section {
  margin-bottom: 3rem;
  padding-top: 1rem;
}

h2 {
  font-family: 'Arial', sans-serif;
  font-size: 1.15rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  border-bottom: 2px solid var(--light-teal);
  padding-bottom: 0.4rem;
  margin-bottom: 1.2rem;
}

/* ABOUT */
.about-link {
  color: #C1603A;
  text-decoration: none;
  border-bottom: 1px solid #e8c9bc;
}

.about-link:hover { color: var(--navy); }

.about-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.about-photo {
  width: 130px;
  height: auto;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid var(--border);
  float: right;
  margin: 0.3rem 0 0.8rem 1.5rem;
  display: block;
}

.about-text p {
  margin-bottom: 0.9rem;
  font-size: 1.02rem;
}

@media (max-width: 600px) {
  .about-layout { flex-direction: column; align-items: center; }
  .about-photo { float: none; margin: 0 auto 1rem; }
}

/* SKILLS */
.skills-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.skills-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

/* INTERESTS */
.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background: var(--light-teal);
  color: var(--navy);
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}

/* PUBLICATIONS */
.me { font-weight: 600; color: #475569; text-decoration: none; }

.pub-list {
  list-style: none;
}

.pub-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
}

.pub-list li:last-child { border-bottom: none; }

.pub-list .pub-title {
  font-style: normal;
}

.pub-list .pub-journal {
  color: var(--teal);
  font-weight: bold;
  font-style: italic;
}

.pub-list a {
  color: var(--teal);
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.brief-th { font-size: 1.1rem; line-height: 1.7; }

.pub-list a:hover { color: var(--navy); }

.slide-link {
  color: #C1603A;
  text-decoration: none;
  border-bottom: 1px solid #e8c9bc;
}

.slide-link:hover { color: var(--navy); }

.pub-blurb {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.pub-year {
  font-family: 'Arial', sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: bold;
  margin-right: 0.4rem;
}

/* EMPLOYMENT */
.job {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.job-title { font-weight: bold; }
.job-period {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

.employer {
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: bold;
  margin: 0.9rem 0 0.3rem;
}

.employer:first-child { margin-top: 0; }

/* EDUCATION */
.edu-entry {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}

.edu-entry:last-child { border-bottom: none; }

.edu-degree { font-weight: bold; }
.edu-school { color: var(--muted); font-size: 0.92rem; }
.edu-year {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
}

/* CV BUTTON */
.cv-button {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.cv-button:hover { background: var(--teal); }

/* FOOTER */
footer {
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 2rem;
  border-top: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  nav ul { gap: 0.8rem; }
  .hero h1 { font-size: 1.8rem; }
  .job { flex-direction: column; }
}
