:root {
  --bg: #f5f0e6;
  --bg-glow: rgba(223, 208, 183, 0.42);
  --paper: rgba(255, 252, 246, 0.88);
  --surface: #f9f5ed;
  --surface-strong: #fffdfa;
  --line: #dccfbe;
  --line-strong: #c6b79f;
  --text: #1c2730;
  --muted: #5b6770;
  --accent: #1a5e63;
  --accent-strong: #11464b;
  --accent-soft: #e4eff0;
  --warm-soft: #efe1c8;
  --shadow-soft: 0 18px 38px rgba(28, 39, 48, 0.08);
  --content-width: 1100px;
  --reading-width: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--bg-glow), transparent 28rem),
    radial-gradient(circle at 90% 15%, rgba(26, 94, 99, 0.08), transparent 22rem),
    linear-gradient(180deg, #faf7f1 0%, var(--bg) 100%);
  line-height: 1.65;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

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

p,
ul,
dl {
  margin-top: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
}

.skip-link:focus {
  top: 1rem;
}

.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;
}

.site-shell {
  width: min(var(--content-width), calc(100% - 2rem));
  margin-inline: auto;
}

.reading-shell {
  width: min(var(--reading-width), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 207, 190, 0.9);
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand--mark-only {
  gap: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(198, 183, 159, 0.95);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 8px 20px rgba(28, 39, 48, 0.05);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.15rem;
}

.brand-mark svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.15rem;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

main {
  padding-bottom: 3rem;
}

.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.1rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

h3 {
  font-size: 1.35rem;
}

.home-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 380px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding: 4.25rem 0 3rem;
}

.home-intro::before {
  content: "";
  position: absolute;
  inset: 1.8rem 0 0 12%;
  border: 1px solid rgba(220, 207, 190, 0.95);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(239, 225, 200, 0.4));
  box-shadow: var(--shadow-soft);
  z-index: -1;
}

.home-intro__visual {
  position: relative;
  padding: 1.25rem 1.25rem 0 0;
}

.home-intro__visual::before {
  content: "";
  position: absolute;
  inset: -0.7rem 2.6rem 2.6rem -0.7rem;
  border-radius: 28px;
  background: rgba(26, 94, 99, 0.08);
  z-index: -2;
}

.home-intro__frame {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(220, 207, 190, 0.95);
  background: rgba(255, 253, 249, 0.96);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.home-intro__frame::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(198, 183, 159, 0.9);
  border-radius: 30px;
  z-index: -1;
}

.home-intro__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: #e1ddd5;
}

.home-intro__caption {
  margin: 1.25rem 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.home-intro__name {
  margin-bottom: 0.75rem;
  max-width: none;
}

.home-intro__role {
  margin-bottom: 1rem;
  font-size: 1.18rem;
  color: var(--text);
}

.profile-meta,
.action-links,
.link-row,
.interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem;
}

.profile-meta {
  margin: 1.15rem 0 1.35rem;
}

.profile-meta span,
.profile-meta a {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 207, 190, 0.96);
  background: rgba(255, 253, 249, 0.82);
  color: var(--text);
  font-size: 0.95rem;
}

.home-intro__summary {
  max-width: 50rem;
}

.home-intro__summary p {
  margin-bottom: 0.95rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.home-intro--minimal {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  padding-bottom: 4.5rem;
}

.home-intro--minimal .home-intro__visual {
  max-width: 420px;
  margin-inline: auto;
}

.home-intro--minimal .home-intro__content {
  padding-block: 0.5rem;
}

.home-intro--minimal .home-intro__frame {
  max-width: 295px;
  margin-inline: auto;
}

.home-intro__summary--compact {
  max-width: 42rem;
}

.action-links--compact {
  margin-top: 1.6rem;
}

.profile-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(0.06rem, 0.18vw, 0.14rem);
  width: fit-content;
  max-width: 100%;
  margin: 1rem auto 0;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(2.02rem, 2.7vw, 2.55rem);
  min-height: clamp(2.02rem, 2.7vw, 2.55rem);
  color: var(--text);
  font-size: clamp(1.7rem, 2.25vw, 2.1rem);
  line-height: 1;
  flex: 0 0 auto;
}

.profile-link:hover {
  color: var(--accent);
}

.profile-link svg {
  width: clamp(1.62rem, 2.05vw, 1.98rem);
  height: clamp(1.62rem, 2.05vw, 1.98rem);
  display: block;
}

.profile-link--label {
  min-width: auto;
  font-size: clamp(0.98rem, 1.24vw, 1.16rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-link i {
  display: block;
}

.home-intro__email {
  margin: 0.75rem 0 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

.home-intro__email-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-intro__email a {
  color: var(--text);
}

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

.interest-tags {
  margin: 1.3rem 0 1.6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
}

.action-links a {
  color: var(--text);
  font-weight: 700;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid transparent;
}

.action-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}

.section-block,
.content-section {
  padding-top: 1.9rem;
  border-top: 1px solid rgba(220, 207, 190, 0.96);
}

.content-section:first-child {
  padding-top: 0;
  border-top: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-heading h2,
.note-panel h2,
.content-section h2 {
  font-size: 2rem;
}

.section-heading p,
.content-section > p,
.page-header p,
.note-panel p,
.pub-note,
.timeline-meta,
.detail-copy,
.footer-inner {
  color: var(--muted);
}

.research-grid,
.split-grid,
.detail-grid {
  display: grid;
  gap: 1.2rem;
}

.research-grid,
.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-item,
.note-panel {
  border: 1px solid rgba(220, 207, 190, 0.95);
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.78);
}

.research-item {
  padding: 1.15rem 1.15rem 1.2rem;
}

.research-item p,
.note-panel p,
.note-panel li,
.prose p,
.pub-entry p,
.selected-summary,
.selected-authors,
.detail-copy,
.timeline-item p,
.list-plain li {
  color: var(--muted);
}

.research-item h3 {
  margin-bottom: 0.45rem;
}

.research-item p {
  margin-bottom: 0;
}

.selected-list,
.timeline,
.pub-year {
  display: grid;
}

.selected-item,
.pub-entry,
.timeline-item,
.detail-item {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(220, 207, 190, 0.95);
}

.selected-item:first-child,
.pub-entry:first-child,
.timeline-item:first-child,
.detail-item:first-child {
  padding-top: 0;
  border-top: none;
}

.selected-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
}

.selected-meta,
.year-label,
.detail-label {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.selected-item h3,
.pub-entry h3 {
  margin-bottom: 0.45rem;
}

.selected-authors {
  margin-bottom: 0.45rem;
}

.selected-summary {
  margin-bottom: 0;
  max-width: 40rem;
}

.selected-links,
.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-content: flex-start;
}

.selected-links {
  justify-content: flex-end;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(220, 207, 190, 0.96);
  background: rgba(255, 253, 249, 0.92);
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
}

.link-chip:hover {
  border-color: rgba(26, 94, 99, 0.85);
  color: var(--accent);
}

.note-panel {
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: 0 12px 28px rgba(28, 39, 48, 0.05);
}

.note-panel--accent {
  background: linear-gradient(135deg, rgba(228, 239, 240, 0.9), rgba(255, 253, 249, 0.98));
}

.note-panel--warm {
  background: linear-gradient(135deg, rgba(239, 225, 200, 0.5), rgba(255, 253, 249, 0.96));
}

.list-plain {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.list-plain li + li {
  margin-top: 0.65rem;
}

.page-header {
  padding: 3.25rem 0 1.25rem;
  border-bottom: 1px solid rgba(220, 207, 190, 0.96);
}

.page-header__text {
  max-width: 46rem;
}

.page-header h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.page-layout {
  padding: 2rem 0 3rem;
}

.page-stack {
  display: grid;
  gap: 2.35rem;
}

.prose {
  max-width: 44rem;
}

.prose p {
  margin-bottom: 1rem;
}

.timeline {
  gap: 0;
}

.timeline-meta {
  margin-bottom: 0.45rem;
  font-size: 0.97rem;
}

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

.detail-item {
  display: grid;
  gap: 0.18rem;
}

.detail-grid .detail-item:nth-child(-n + 2) {
  padding-top: 0;
  border-top: none;
}

.detail-value {
  color: var(--text);
  font-weight: 600;
}

.detail-value a {
  color: inherit;
}

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

.pub-year {
  gap: 0;
}

.pub-note {
  margin-bottom: 0;
}

.footer {
  padding: 1rem 0 2.75rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(220, 207, 190, 0.96);
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 600;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 980px) {
  .home-intro,
  .home-grid,
  .split-grid,
  .research-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .home-intro--minimal .home-intro__visual {
    max-width: 320px;
  }

  .detail-grid .detail-item:nth-child(2) {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(220, 207, 190, 0.95);
  }

  .home-intro {
    padding-top: 3rem;
  }

  .home-intro::before {
    inset: 1rem 0 0 0;
  }

  .selected-item {
    grid-template-columns: 1fr;
  }

  .selected-links {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
  }

  .home-intro__visual {
    padding-right: 0;
  }

  .home-intro__frame::after {
    inset: 10px -10px -10px 10px;
  }
}

@media (max-width: 600px) {
  .site-shell,
  .reading-shell {
    width: min(var(--content-width), calc(100% - 1rem));
  }

  .home-intro {
    gap: 1.75rem;
    padding: 2.4rem 0 2rem;
  }

  .note-panel,
  .research-item {
    padding: 1.1rem;
  }

  .home-intro__name {
    max-width: none;
  }

  .profile-link {
    min-width: 1.66rem;
    min-height: 1.66rem;
    font-size: 1.36rem;
  }

  .profile-link svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  .profile-link--label {
    font-size: 0.9rem;
  }

  .profile-links {
    gap: 0.06rem;
  }

}

