:root {
  --paper: #f8f8f5;
  --surface: #ffffff;
  --ink: #172337;
  --muted: #566273;
  --accent: #155f50;
  --accent-dark: #0c493e;
  --line: #d8dedb;
  --line-strong: #b9c3be;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

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

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

:focus-visible {
  outline: 3px solid #c78019;
  outline-offset: 4px;
  border-radius: 2px;
}

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

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

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(185, 195, 190, 0.85);
  background: rgba(248, 248, 245, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.desktop-nav ul,
.mobile-nav-panel,
.profile-meta,
.interest-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.desktop-nav a,
.mobile-nav-panel a {
  position: relative;
  display: inline-flex;
  min-height: 2.7rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav-panel a:hover,
.mobile-nav-panel a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: 0.1rem;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
}

.mobile-nav {
  display: none;
}

.mobile-nav summary {
  min-width: 4.4rem;
  min-height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(23, 35, 55, 0.1);
}

.mobile-nav-panel a {
  min-height: 3rem;
  padding-inline: 0.35rem;
  border-bottom: 1px solid var(--line);
}

.site-shell {
  display: grid;
  grid-template-columns: 14rem minmax(0, var(--content));
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: start;
  justify-content: start;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.profile-sidebar {
  position: sticky;
  top: 7rem;
}

.profile-photo {
  width: 10.75rem;
  height: 10.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #d8d6cf;
  box-shadow: 0 12px 32px rgba(23, 35, 55, 0.1);
  object-fit: cover;
  object-position: 50% 29%;
}

.profile-name {
  margin: 1.25rem 0 0.15rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.profile-role {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.profile-meta {
  display: grid;
  gap: 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.profile-meta li {
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  margin-bottom: 0.13rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.content-column {
  min-width: 0;
}

.page-header {
  margin-bottom: 2.8rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
}

h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.45rem, 6vw, 4rem);
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
}

p {
  margin-top: 0;
}

.lead {
  max-width: 62ch;
  color: #344256;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.content-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.content-section > :last-child {
  margin-bottom: 0;
}

.interest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 2rem;
}

.interest-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.interest-list li::before {
  position: absolute;
  top: 1.1rem;
  left: 0;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.topic-list,
.record-list {
  display: grid;
}

.topic,
.record {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
}

.topic:last-child,
.record:last-child {
  border-bottom: 1px solid var(--line);
}

.topic-label,
.record-date {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic p:last-child,
.record p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.status-panel {
  padding: 1.6rem 1.8rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.status-panel h2 {
  font-size: 1.5rem;
}

.status-panel p:last-child {
  margin-bottom: 0;
}

.details-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.details-list > div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.details-list > div:nth-child(odd) {
  padding-right: 1rem;
}

.details-list dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0.15rem 0 0;
}

.contact-block {
  padding: 1.7rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.contact-block p:last-child {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent-dark);
  border-radius: 3px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent);
  color: #fff;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line-strong);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-content: center;
  text-align: center;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .site-shell {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .profile-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0 1.5rem;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-strong);
  }

  .profile-photo {
    width: 8.5rem;
    height: 8.5rem;
    grid-row: 1 / span 3;
  }

  .profile-name {
    margin-top: 0;
  }

  .profile-role {
    margin-bottom: 0.7rem;
  }

  .profile-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1.25rem;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .brand span:last-child {
    display: none;
  }

  .site-shell {
    padding-block: 2.5rem 4rem;
  }

  .profile-sidebar {
    grid-template-columns: 6.75rem minmax(0, 1fr);
    gap: 0 1rem;
  }

  .profile-photo {
    width: 6.75rem;
    height: 6.75rem;
  }

  .profile-meta {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }

  .interest-list,
  .details-list {
    grid-template-columns: 1fr;
  }

  .details-list > div:nth-child(odd) {
    padding-right: 0;
  }

  .topic,
  .record {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  :root {
    --paper: #fff;
    --ink: #000;
    --muted: #333;
  }

  .site-header,
  .site-footer,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 10.5pt;
  }

  .container {
    width: 100%;
  }

  .site-shell {
    grid-template-columns: 11rem 1fr;
    gap: 2rem;
    padding: 0;
  }

  .profile-sidebar {
    position: static;
  }

  .topic,
  .record {
    break-inside: avoid;
  }

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