:root {
  --ink: #F5E8D8;
  --muted: #b85046;
  --rule: #b85046;
  --paper: #1C1C1C;
  --accent: #FF6F61;
  --accent-dark: #FF4500;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

.professional-bio {
  max-width: 60rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
}

header {
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--ink);
}

header.with-photo {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.headshot {
  flex: 0 0 auto;
  width: 8rem;
  aspect-ratio: 1/1;
  background: #ebe8df;
  border: 1px solid var(--rule);
}

.headshot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 0 0 0.4rem;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.affiliation {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

h2 {
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

p { margin: 0 0 1rem; }

ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; }
li::marker { color: var(--accent); }

ul.links { list-style: none; padding: 0; margin-bottom: 0; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(122, 31, 43, 0.4);
}

a:hover, a:focus-visible {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

a.button {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--paper);
  background: var(--accent);
  border-radius: 2px;
}

a.button:hover, a.button:focus-visible {
  color: var(--paper);
  background: var(--accent-dark);
}

@media (max-width: 600px) {
  html { font-size: 17px; }
  .professional-bio { padding: 2.5rem 1.25rem 3rem; }
  h1 { font-size: 2rem; }
  .headshot { width: 6rem; }
}
