:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --text: #1d2328;
  --muted: #687076;
  --line: #ded9d1;
  --accent: #4c6f70;
  --accent-dark: #243f40;
  --warm: #a76f44;
  --shadow: 0 18px 48px rgba(43, 51, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(76, 111, 112, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf7 0%, #f5f1ea 100%);
  background-size: 28px 28px, auto;
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  line-height: 1.68;
}

a {
  color: var(--accent-dark);
  text-decoration-color: rgba(76, 111, 112, 0.35);
  text-underline-offset: 4px;
}

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

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 28px;
}

.site-title {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--accent-dark);
}

.section {
  scroll-margin-top: 82px;
}

.hero-section {
  padding: 58px 28px 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

.profile-panel {
  position: sticky;
  top: 96px;
  min-height: 330px;
  padding: 34px 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.04)
    );
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 18px 48px rgba(43, 51, 55, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.profile-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.24),
      rgba(255, 255, 255, 0) 46%
    );
  content: "";
}

.profile-photo {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(43, 51, 55, 0.08);
  object-fit: cover;
  object-position: center center;
}

.profile-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.3vw, 26px);
  line-height: 1.16;
  white-space: nowrap;
}

.profile-panel h1 span {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 500;
}

.role,
.affiliation,
.location {
  margin: 11px 0 0;
  color: var(--muted);
}

.affiliation i,
.location i {
  width: 18px;
  margin-right: 8px;
  color: var(--text);
  text-align: center;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pub-links a {
  padding: 6px 10px;
  border: 1px solid rgba(76, 111, 112, 0.25);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pub-links a:hover {
  border-color: rgba(167, 111, 68, 0.55);
  color: var(--warm);
}

.hero-copy {
  padding-top: 20px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h2 {
  max-width: 760px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 600;
}

p {
  max-width: 760px;
  margin: 0 0 14px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.about-links a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(76, 111, 112, 0.3);
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.18)
    );
  box-shadow:
    0 12px 28px rgba(43, 51, 55, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  color: var(--accent-dark);
  text-decoration: none;
  backdrop-filter: blur(16px) saturate(130%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.about-links a span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  display: block;
  margin: 0;
  transition:
    width 300ms ease,
    height 300ms ease,
    margin 300ms ease;
}

.about-links .scholar-link span {
  background: #4285f4;
}

.about-links .github-link span {
  background: #24292f;
}

.about-links .email-link span {
  background: #a76f44;
}

.about-links i {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  color: var(--accent-dark);
  font-size: 24px;
  line-height: 1;
  transform: translate(-50%, -50%);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.about-links .scholar-link i {
  color: #4285f4;
}

.about-links .github-link i {
  color: #24292f;
}

.about-links .email-link i {
  color: #a76f44;
}

.about-links a:hover {
  border-color: transparent;
  box-shadow:
    0 16px 34px rgba(43, 51, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}

.about-links a:hover i {
  color: #ffffff;
  transform: translate(-50%, -50%) rotate(-5deg) scale(1.08);
}

.about-links a:hover span {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 46px 28px;
  border-top: 1px solid var(--line);
}

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

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.2;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.research-grid article {
  padding-top: 18px;
  border-top: 2px solid rgba(76, 111, 112, 0.25);
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.publication-group {
  padding-top: 6px;
}

.publication-group + .publication-group {
  margin-top: 24px;
}

.publication-group > h3 {
  margin: 0 0 6px;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 600;
}

.publication {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.pub-year {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 700;
}

.publication h4 {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.authors,
.venue,
.publication-note {
  color: var(--muted);
}

.pub-title-row {
  max-width: 820px;
  margin-bottom: 5px;
}

.pub-title-row h4 {
  display: inline;
}

.publication .authors {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.55;
}

.publication .venue,
.publication .pub-links {
  margin: 0;
}

.publication .venue {
  display: inline-block;
  margin-left: 18px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.pub-links {
  align-self: start;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.publication-note {
  margin-top: 10px;
  font-size: 15px;
}

.publication-note span {
  display: block;
}

.experience-section {
  padding-bottom: 64px;
}

.experience-item {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.experience-logo {
  display: block;
  width: 164px;
  height: auto;
}

.experience-content p {
  margin: 0 0 4px;
  color: var(--muted);
  text-align: left;
}

.site-footer {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px 34px;
}

.site-footer p {
  max-width: none;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .hero-section {
    padding: 34px 18px 32px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .profile-panel {
    position: static;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h2 {
    font-size: 25px;
  }

  .section-inner {
    padding: 36px 18px;
  }

  .research-grid,
  .publication {
    grid-template-columns: 1fr;
  }

  .publication {
    gap: 8px;
  }

  .publication .pub-links {
    justify-content: flex-start;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .experience-logo {
    width: 148px;
    margin-top: 0;
  }

  .site-footer {
    padding: 0 18px 28px;
  }

}
