:root {
  --bg: #f6f4ef;
  --bg-soft: #fbfaf7;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --ink: #1f2937;
  --muted: #667085;
  --line: rgba(25, 40, 72, 0.1);
  --shadow: 0 22px 60px rgba(31, 41, 55, 0.08);
  --shadow-soft: 0 12px 36px rgba(31, 41, 55, 0.05);
  --navy: #223a5e;
  --blue: #5d84d7;
  --teal: #2fa18f;
  --gold: #d89d46;
  --rose: #e88ba7;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(93, 132, 215, 0.16), transparent 26rem),
    radial-gradient(circle at 100% 8%, rgba(216, 157, 70, 0.13), transparent 24rem),
    radial-gradient(circle at 80% 88%, rgba(47, 161, 143, 0.14), transparent 26rem),
    linear-gradient(180deg, #f4f1e9 0%, #f8f7f2 22%, #f6f4ef 100%);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 244, 239, 0.78);
  border-bottom: 1px solid rgba(31, 41, 55, 0.06);
}

.site-header__inner,
.section,
.hero,
.site-footer {
  width: min(var(--max-width), calc(100vw - 64px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(33, 62, 103, 0.18);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-nav a {
  position: relative;
  padding: 10px 2px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  background: linear-gradient(90deg, var(--navy), var(--blue));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 44px;
  padding: 72px 0 40px;
  align-items: center;
}

.hero__eyebrow,
.section-kicker,
.mini-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero__eyebrow,
.section-kicker {
  color: var(--navy);
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 5.5rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.42rem;
}

.hero__lead {
  margin: 0 0 16px;
  font-size: clamp(1.22rem, 2vw, 1.5rem);
  line-height: 1.55;
  color: #2c3d54;
}

.hero__summary,
.section-note,
.focus-card p,
.publication-summary,
.timeline-item__body p,
.honor-card p,
.contact-note,
.about-card p,
.detail-list {
  color: var(--muted);
  line-height: 1.75;
}

.hero__summary {
  max-width: 62ch;
  margin: 0 0 26px;
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #304e80);
  box-shadow: 0 16px 32px rgba(34, 58, 94, 0.18);
}

.button--secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
}

.hero__meta li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(31, 41, 55, 0.08);
}

.hero__card,
.about-card,
.focus-card,
.publication-card,
.honor-card,
.contact-panel {
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
}

.hero__card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: auto -60px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 132, 215, 0.16), transparent 70%);
}

.avatar-orb {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 2px auto 24px;
}

.avatar-orb__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.avatar-orb__ring--outer {
  border: 1px dashed rgba(34, 58, 94, 0.24);
}

.avatar-orb__ring--inner {
  inset: 14px;
  border: 1px solid rgba(34, 58, 94, 0.18);
}

.avatar-orb__core {
  position: absolute;
  inset: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6)),
    linear-gradient(135deg, rgba(93, 132, 215, 0.35), rgba(47, 161, 143, 0.35));
  color: var(--navy);
  font-family: "Iowan Old Style", "Baskerville", serif;
  font-size: 3rem;
  font-weight: 700;
}

.avatar-orb__photo {
  position: absolute;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 16px 34px rgba(31, 41, 55, 0.14);
}

.hero-card__block + .hero-card__block {
  margin-top: 20px;
}

.mini-label {
  display: inline-block;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-card__block p {
  margin: 0;
  line-height: 1.72;
}

.section {
  padding: 54px 0;
}

.section--tint {
  position: relative;
}

.section--tint::before {
  content: "";
  position: absolute;
  inset: 16px -24px;
  z-index: -1;
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(246, 243, 236, 0.9));
  box-shadow: var(--shadow-soft);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-top: 4px;
}

.section-note {
  max-width: 64ch;
  margin: 14px 0 0;
}

.about-grid,
.focus-grid,
.honors-grid {
  display: grid;
  gap: 20px;
}

.about-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.about-card {
  padding: 24px 24px 22px;
}

.about-card--large {
  padding: 30px 30px 28px;
}

.detail-list {
  padding-left: 18px;
  margin: 0;
}

.focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-card {
  padding: 24px;
}

.focus-card h3 {
  margin-bottom: 12px;
}

.publication-list {
  display: grid;
  gap: 18px;
}

.publication-card {
  padding: 24px 24px 22px;
}

.publication-card--featured {
  padding: 28px 28px 24px;
  border-color: rgba(34, 58, 94, 0.14);
}

.publication-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pub-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pub-badge--preprint {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), #44689e);
}

.pub-badge--submitted {
  color: #fff;
  background: linear-gradient(135deg, #35558a, #5d84d7);
}

.pub-badge--review {
  color: #7b4a00;
  background: rgba(216, 157, 70, 0.18);
}

.pub-badge--published {
  color: #0f6c5f;
  background: rgba(47, 161, 143, 0.16);
}

.pub-year {
  color: var(--muted);
  font-weight: 700;
}

.publication-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.publication-authors {
  margin: 0 0 10px;
  color: #2c3d54;
  font-style: italic;
  line-height: 1.65;
}

.publication-summary {
  margin: 0;
}

.publication-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.publication-note a {
  color: var(--navy);
  border-bottom: 1px solid rgba(34, 58, 94, 0.22);
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.publication-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.publication-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(31, 41, 55, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 126px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(34, 58, 94, 0.16);
}

.timeline-item {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.timeline-item__date {
  position: relative;
  padding-top: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.timeline-item__date::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  box-shadow: 0 0 0 6px rgba(93, 132, 215, 0.12);
}

.timeline-item__body {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 41, 55, 0.08);
  box-shadow: var(--shadow-soft);
}

.timeline-item__body h3 {
  margin-bottom: 8px;
}

.timeline-item__body p {
  margin: 0;
}

.honors-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.honor-card {
  padding: 22px;
}

.honor-year {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 800;
}

.honor-card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.section--contact {
  padding-bottom: 80px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px;
}

.contact-line {
  margin: 0 0 12px;
  color: #2c3d54;
}

.contact-line a {
  color: var(--navy);
  border-bottom: 1px solid rgba(34, 58, 94, 0.22);
}

.contact-note {
  margin: 0;
  max-width: 42ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 36px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .focus-grid,
  .honors-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 38px;
  }

  .timeline-item__date::after {
    left: -24px;
    right: auto;
  }
}

@media (max-width: 760px) {
  .site-header__inner,
  .section,
  .hero,
  .site-footer {
    width: min(var(--max-width), calc(100vw - 32px));
  }

  .site-header__inner {
    padding: 10px 0;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    padding-top: 42px;
    gap: 28px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .publication-card,
  .publication-card--featured,
  .about-card,
  .about-card--large,
  .focus-card,
  .hero__card,
  .honor-card,
  .contact-panel {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 26px;
  }
}
