:root {
  --background: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --subtle: #475569;
  --border: #e2e8f0;
  --primary: #8b0000;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --max-width: 1100px;
}

/* RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.7;
}

/* GLOBAL */

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

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

a:hover {
  opacity: 0.8;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid var(--border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 18px 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
}

/* HERO */

.hero {
  padding: 100px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-description {
  margin-top: 20px;
  color: var(--subtle);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 30px;
}

.profile-image {
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* BUTTONS */

.btn {
  display: inline-block;

  padding: 12px 22px;
  border-radius: 12px;

  font-weight: 600;

  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

/* RESEARCH */

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.research-card h3 {
  margin-bottom: 14px;
}

.research-card p {
  color: var(--subtle);
}

/* PUBLICATIONS */

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

.publication {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

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

.publication-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.publication-authors {
  color: var(--subtle);
  font-size: 0.95rem;
}

.publication-venue {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* NEWS */

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

.news-item {
  display: flex;
  gap: 24px;
}

.news-date {
  min-width: 70px;
  font-weight: 700;
  color: var(--primary);
}

/* FOOTER */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);

  text-align: center;
  color: var(--subtle);
}

/* RESPONSIVE */

@media (max-width: 900px) {

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

  .hero {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    display: flex;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.7rem;
  }
}

/* TEXT HIGHLIGHT */

.highlight {
  background: linear-gradient(
    transparent 65%,
    rgba(139, 0, 0, 0.18) 65%
  );

  padding: 0 4px;
  font-weight: 600;
}

@media (max-width: 700px) {

  .nav-content {
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .card {
    padding: 24px;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.team-member {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}

.nav-links a.active {
  color: var(--primary);
}