:root {
  --maroon: #8B1538;
  --maroon-dark: #6B0F2A;
  --maroon-light: #A8244A;
  --black: #1a1a1a;
  --gray-dark: #2d2d2d;
  --gray: #4a4a4a;
  --gray-mid: #6a6a6a;
  --gray-light: #9a9a9a;
  --border: #d4d4d4;
  --bg: #ffffff;
  --bg-alt: #f8f8f8;
  --shadow: rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--maroon-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px var(--shadow);
}

.header-top {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 13px;
  color: var(--gray);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a {
  color: var(--gray);
  margin-left: 16px;
}

.header-top a:hover {
  color: var(--maroon);
}

.header-main {
  padding: 16px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  /*background: var(--maroon);*/
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 20px;
  letter-spacing: -1px;
}

.logo-mark img {
    width: 100%;
    height: 100%;
}

.logo-text h1 {
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.3px;
}

.logo-text p {
  font-size: 12px;
  color: var(--gray);
  margin-top: -2px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover,
nav a.active {
  border-bottom-color: var(--maroon);
  color: var(--maroon);
}

nav a.active {
  color: var(--maroon);
  font-weight: 600;
  border-bottom: 2px solid var(--maroon);
}


.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  margin-left: auto;
  font-size: 24px;
  color: var(--text);
  z-index: 1000;
}

/* HERO */
.hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: var(--maroon);
  color: white;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--gray);
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--gray);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SECTIONS */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 700px;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--maroon);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.6;
}

/* RESEARCH AREAS */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.area-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.area-card:hover {
  box-shadow: 0 4px 12px var(--shadow);
  border-color: var(--maroon);
}

.area-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 16px;
}

.area-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}

.area-card p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.area-card a {
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* FEATURED PUBLICATION */
.featured-pub {
  background: var(--bg-alt);
  padding: 48px;
  border: 1px solid var(--border);
}

.pub-meta {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-pub h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.3;
}

.featured-pub .abstract {
  font-size: 17px;
  color: var(--gray-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  text-align: justify;
}

.pub-authors {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 8px;
}

.pub-journal {
  font-size: 15px;
  color: var(--gray);
  font-style: italic;
  margin-bottom: 24px;
}

.pub-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--maroon);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--maroon);
  color: white;
}

.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--maroon);
}

.btn-outline:hover {
  background: var(--maroon);
  color: white;
}

/* LEADERSHIP */
.leadership-section {
  margin-bottom: 64px;
}

.leadership-section h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--maroon);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.person-card {
  display: flex;
  flex-direction: column;
}

.person-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 16px;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.person-title {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 4px;
}

.person-dept {
  font-size: 14px;
  color: var(--gray-light);
  font-style: italic;
  margin-bottom: 12px;
}

.person-card p {
  font-size: 15px;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* FOOTER */
footer {
  background: var(--gray-dark);
  color: var(--gray-light);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--gray-light);
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--gray-light);
  margin-left: 16px;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 0;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  nav a {
    display: block;
    padding: 12px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
