:root {
  --black: #0a0a0a;
  --charcoal: #1a1a1a;
  --grey-dark: #2a2a2a;
  --grey-mid: #666666;
  --grey-light: #999999;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --accent: #dc2626;
  --accent-dark: #991b1b;
  --border: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* Layout Structure */
.page-wrapper {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.portrait-container {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%) contrast(1.05);
}

.sidebar-content {
  padding: 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.field-tag {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 6px 12px;
  margin-bottom: 20px;
}

.name {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0;
}

.position {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.main-role {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.affiliation {
  color: var(--grey-light);
  margin-bottom: 4px;
}

.visiting {
  color: var(--white);
  font-size: 14px;
  font-style: italic;
}

.sidebar-email {
  color: var(--white);
  font-size: 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navigation */
.main-nav {
  background: var(--off-white);
  border-bottom: 2px solid var(--border);
  padding: 0 60px;
  display: flex;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(245, 245, 245, 0.95);
}

.nav-link {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey-mid);
  padding: 20px 24px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--black);
  background: rgba(212, 175, 55, 0.08);
}

.nav-link.active {
  color: var(--black);
  border-bottom-color: var(--accent);
  background: rgba(212, 175, 55, 0.12);
}

.nav-link[href*="CV"] {
  border: 2px solid var(--accent);
  padding: 18px 22px;
}

.nav-link[href*="CV"]:hover {
  background: rgba(220, 38, 38, 0.08);
}

/* Content Area */
.content-area {
  flex: 1;
  padding: 80px 60px;
  max-width: 1100px;
  width: 100%;
}

/* Page Header */
.page-header {
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--border);
}

.page-title {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--black);
}

.page-subtitle {
  font-size: 20px;
  color: var(--grey-mid);
  font-style: italic;
  font-weight: 400;
}

/* Section Titles */
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--black);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* Intro Section */
.intro-section {
  margin-bottom: 70px;
}

.intro-text p {
  margin-bottom: 24px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--charcoal);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* Highlight Section */
.highlight-section {
  margin-bottom: 70px;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.research-item {
  border: 2px solid var(--border);
  padding: 32px 28px;
  background: var(--white);
  transition: all 0.3s ease;
}

.research-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.research-number {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.research-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
}

.research-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-mid);
}

/* CTA Section */
.cta-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid var(--border);
}

.cta-block {
  background: var(--off-white);
  border: 2px solid var(--border);
  padding: 40px;
}

.cta-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--black);
}

.cta-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border: 2px solid var(--border);
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
}

.cta-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateX(4px);
}

.link-arrow {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.cta-link:hover .link-arrow {
  transform: translateX(4px);
}

/* Research Detail Section */
.research-detail-section {
  margin-bottom: 70px;
}

.research-theme {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.research-theme:last-child {
  border-bottom: none;
}

.theme-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.theme-number {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.theme-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
}

.theme-content p {
  margin-bottom: 20px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--charcoal);
}

.theme-content p:last-child {
  margin-bottom: 0;
}

/* Methodology Section */
.methodology-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid var(--border);
}

/* Lab Section */
.lab-section {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 2px solid var(--border);
}

.lab-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 32px;
}

.lab-item {
  background: var(--off-white);
  border: 2px solid var(--border);
  padding: 32px 28px;
}

.lab-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.lab-role {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.lab-item p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
}

/* Awards Section */
.awards-section {
  margin-top: 45px;
  padding-top: 35px;
  border-top: 2px solid var(--border);
}

.awards-content {
  margin-top: 32px;
}

.funding-summary {
  font-size: 19px;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 40px;
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
}

.grants-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 50px;
}

.grant-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.grant-item:last-child {
  border-bottom: none;
}

.grant-year {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.grant-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
  line-height: 1.3;
}

.grant-info {
  font-size: 15px;
  color: var(--grey-mid);
  font-family: 'Archivo', sans-serif;
}

.recognition-block {
  background: var(--off-white);
  border: 2px solid var(--border);
  padding: 32px 28px;
  margin-top: 40px;
}

.recognition-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.recognition-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recognition-list li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.recognition-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.recognition-list li:last-child {
  margin-bottom: 0;
}

/* Methodology Section (existing) */

.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.method-item {
  background: var(--off-white);
  border: 2px solid var(--border);
  padding: 28px 24px;
}

.method-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.method-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-mid);
}

/* Publications Section */
.publications-section {
  margin-bottom: 70px;
}

.pub-note {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin-bottom: 50px;
  font-size: 16px;
  color: var(--grey-dark);
}

.pub-note a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.publication-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.publication-item:last-child {
  border-bottom: none;
}

.pub-year {
  font-family: 'Archivo', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.pub-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pub-title a {
  color: var(--black);
  transition: color 0.2s ease;
}

.pub-title a:hover {
  color: var(--accent-dark);
}

.pub-venue {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-mid);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-abstract {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-mid);
}

/* Scholar CTA */
.scholar-cta {
  margin-top: 60px;
}

.cta-card {
  background: var(--black);
  color: var(--white);
  padding: 50px 40px;
  text-align: center;
}

.cta-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--white);
}

.cta-card p {
  font-size: 17px;
  margin-bottom: 30px;
  color: var(--grey-light);
}

.scholar-button {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--black);
  border: 2px solid var(--accent);
  transition: all 0.2s ease;
}

.scholar-button:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}

/* Teaching Section */
.teaching-section {
  margin-bottom: 70px;
}

.teaching-block {
  margin-bottom: 60px;
}

.block-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--black);
  position: relative;
  display: inline-block;
}

.block-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.course-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.course-item {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.course-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.course-level {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(212, 175, 55, 0.12);
  padding: 4px 10px;
  margin-bottom: 12px;
}

.course-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-mid);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 32px;
}

.philosophy-item {
  background: var(--off-white);
  border: 2px solid var(--border);
  padding: 28px 24px;
}

.philosophy-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.philosophy-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-mid);
}

.advising-content {
  margin-top: 24px;
}

.advising-content p {
  margin-bottom: 20px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--charcoal);
}

.advising-content p:last-child {
  margin-bottom: 0;
}

/* Students Section */
.students-content {
  margin-top: 24px;
}

.students-intro {
  font-size: 19px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.students-section {
  margin-bottom: 32px;
}

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

.students-subtitle {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.students-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.students-list li {
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-left: 20px;
  position: relative;
}

.students-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

.students-list li:last-child {
  margin-bottom: 0;
}

.students-list li em {
  display: block;
  font-size: 15px;
  color: var(--grey-mid);
  margin-top: 4px;
  font-style: italic;
}

.students-list li strong {
  color: var(--black);
}

/* Contact Section */
.contact-section {
  margin-bottom: 70px;
}

.contact-grid-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-item {
  border: 2px solid var(--border);
  padding: 32px;
  background: var(--white);
}

.contact-label {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-value {
  font-size: 19px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.contact-value a {
  color: var(--black);
  font-weight: 600;
  text-decoration: underline;
}

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

.contact-note {
  font-size: 15px;
  color: var(--grey-mid);
  font-style: italic;
  margin-top: 8px;
}

.visiting-note {
  color: var(--accent-dark);
  font-weight: 600;
  font-style: normal;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-link {
  font-family: 'Archivo', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  padding: 12px 16px;
  background: var(--off-white);
  border: 2px solid var(--border);
  transition: all 0.2s ease;
  display: inline-block;
}

.profile-link:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateX(4px);
}

/* Inquiry Section */
.inquiry-section {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 2px solid var(--border);
}

.inquiry-block {
  margin-bottom: 50px;
}

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

.inquiry-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.inquiry-block p {
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--charcoal);
}

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

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--off-white);
  border-top: 2px solid var(--border);
  padding: 30px 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Archivo', sans-serif;
  font-size: 13px;
  color: var(--grey-mid);
}

.copyright {
  font-weight: 600;
}

.footer-note {
  font-weight: 400;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
  }

  .portrait-container {
    aspect-ratio: 16 / 9;
  }

  .content-area {
    padding: 60px 40px;
  }

  .main-nav {
    padding: 0 40px;
  }

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

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 30px 40px;
  }
}

@media (max-width: 768px) {
  .content-area {
    padding: 40px 24px;
  }

  .main-nav {
    padding: 0 24px;
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 16px 16px;
    font-size: 13px;
  }

  .page-title {
    font-size: 38px;
  }

  .name {
    font-size: 32px;
  }

  .section-title {
    font-size: 24px;
  }

  .theme-title {
    font-size: 26px;
  }

  .publication-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer {
    padding: 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
