:root {
  --ink: #24313d;
  --heading: #142d45;
  --muted: #64717c;
  --accent: #2d648f;
  --line: #dfe4e8;
  --soft: #f5f7f8;
  --paper: #ffffff;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--heading);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--heading);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell,
.site-header {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.nameplate {
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 1.7rem;
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--heading);
}

.menu-button {
  display: none;
}

.profile {
  padding-block: 5.5rem;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 4.5rem;
  align-items: start;
}

.headshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.profile-copy {
  padding-top: 0.1rem;
}

.role {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--heading);
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.descriptor {
  margin: 1rem 0 2.2rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
}

.biography {
  max-width: 680px;
  font-size: 1.06rem;
}

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

.profile-links {
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  gap: 1.4rem;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.profile-links a {
  text-decoration: none;
}

.profile-links span {
  font-size: 0.78rem;
}

.content-section {
  padding-block: 4.5rem;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 3.5rem;
  border-top: 1px solid var(--line);
}

.section-label h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
  row-gap: 2.5rem;
}

.expertise-list article {
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}

.expertise-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.expertise-list p {
  margin: 0;
  color: var(--muted);
}

.records {
  border-top: 1px solid var(--line);
}

.record {
  padding-block: 1.7rem;
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) 110px minmax(0, 1.2fr);
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.record h3,
.record p {
  margin: 0;
}

.record h3 {
  font-size: 1rem;
}

.record-role,
.record-date {
  color: var(--muted);
  font-size: 0.88rem;
}

.record-description {
  color: var(--muted);
}

.contact {
  padding-bottom: 5.5rem;
}

.contact p {
  max-width: 650px;
  margin: 0;
  font-size: 1.05rem;
}

.site-footer {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 800px) {
  .profile {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2.5rem;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .site-header {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .site-header {
    min-height: 66px;
  }

  .menu-button {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-content: center;
    gap: 4px;
    border: 0;
    background: transparent;
  }

  .menu-button span:not(.sr-only) {
    width: 21px;
    height: 2px;
    background: var(--heading);
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 1rem;
    left: 1rem;
    z-index: 20;
    display: none;
    padding: 1.1rem;
    flex-direction: column;
    gap: 0.85rem;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 12px 30px rgba(20, 45, 69, 0.1);
  }

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

  .profile {
    padding-block: 3.5rem;
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .headshot {
    width: min(72vw, 280px);
  }

  .descriptor {
    line-height: 1.6;
  }

  .profile-links {
    flex-wrap: wrap;
  }

  .content-section {
    padding-block: 3.5rem;
  }

  .expertise-list {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .record {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .site-footer {
    padding-block: 1.5rem;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
