:root {
  color-scheme: light;
  --ink: #242321;
  --text: #34413d;
  --muted: #66746f;
  --line: #dce6df;
  --paper: #fbfcf8;
  --panel: rgba(255, 255, 255, 0.8);
  --accent: #27645b;
  --accent-deep: #174941;
  --accent-soft: #e8f2ee;
  --gold: #b8832f;
  --gold-soft: #f4ead8;
  --icon: #5f6864;
  --shadow: 0 22px 60px rgba(23, 33, 31, 0.1);
  font-family: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 12%, rgba(39, 100, 91, 0.13), transparent 27rem),
    radial-gradient(circle at 84% 84%, rgba(184, 131, 47, 0.12), transparent 32rem),
    linear-gradient(135deg, rgba(232, 242, 238, 0.92), rgba(251, 252, 248, 0.92) 50%, rgba(250, 246, 236, 0.94)),
    var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.68;
}

a {
  color: var(--accent-deep);
  text-decoration-color: rgba(39, 100, 91, 0.3);
  text-underline-offset: 0.18em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 230, 223, 0.78);
  background: rgba(251, 252, 248, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 36px));
  min-height: 64px;
  margin: 0 auto;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
}

main {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  gap: 44px;
  align-items: stretch;
  margin: 44px 0 38px;
  padding: 30px 10px 36px;
}

.content {
  border: 1px solid rgba(220, 230, 223, 0.9);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.identity {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 0;
  padding: 14px 12px;
  text-align: center;
}

.hero-photo-wrap {
  position: relative;
  width: min(214px, 70vw);
  margin: 0 auto 24px;
}

.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(23, 33, 31, 0.12);
}

.profile-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

h1 {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: clamp(1.58rem, 2.15vw, 2.08rem);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.pronouns {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.position {
  margin: 0;
  color: var(--gold);
  font-size: 1.14rem;
  font-weight: 800;
}

.institution {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #ece5dc;
  border-radius: 50%;
  background: #ffffff;
  color: var(--icon);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.1);
}

.profile-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.profile-links span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.profile-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.85;
}

.profile-links svg text {
  fill: currentColor;
  stroke: none;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 850;
}

.summary-panel {
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 20px 8px 20px 28px;
}

.welcome {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.76;
  white-space: pre-line;
}

.interests {
  margin-top: 42px;
}

.interest-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.interest-title h2 {
  margin: 0;
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 850;
  line-height: 1.1;
}

.interest-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
}

.interest-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.interest-list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 12px;
}

.interest-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #eee5dc;
  border-radius: 999px;
  background: #fffaf6;
  color: var(--accent-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.content {
  margin: 0 0 72px;
  padding: 40px 46px;
}

.content h2 {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.42rem, 1.9vw, 1.8rem);
  line-height: 1.18;
}

.content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 62px;
  height: 2px;
  background: var(--accent);
}

.content h2:not(:first-child) {
  margin-top: 38px;
}

.content h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.34;
}

.content p {
  margin: 0 0 13px;
}

.content ul,
.content ol {
  margin: 0 0 20px;
  padding-left: 1.35rem;
}

.content li {
  margin-bottom: 8px;
  padding-left: 2px;
}

.content strong {
  color: var(--ink);
  font-weight: 850;
}

.content em {
  color: #2f2d2a;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0 30px;
  }

  .identity,
  .summary-panel {
    min-height: auto;
  }

  .summary-panel {
    padding: 30px 24px;
  }

  .hero-photo-wrap {
    width: 190px;
  }

  .content {
    padding: 30px 22px;
  }
}

@media (max-width: 540px) {
  main,
  .nav {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: clamp(1.42rem, 6.5vw, 1.86rem);
  }

  .profile-links a {
    width: 46px;
    height: 46px;
  }
}

@media print {
  .site-header,
  .profile-links,
  .hero-photo-wrap {
    display: none;
  }

  body {
    background: #ffffff;
  }

  main {
    width: 100%;
  }

  .hero,
  .identity,
  .summary-panel,
  .content {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}
