:root {
  --bg: #0f172a;
  --bg-alt: #111827;
  --surface: #1f2937;
  --accent: #d4af37;
  --text: #f9fafb;
  --muted: #cbd5f5;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Compact Header */
.header {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  padding: 2rem 6vw 1.5rem;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.profile-info h1 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.profile-info .title {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.profile-info .affiliation {
  color: var(--muted);
  font-size: 0.85rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.nav a {
  opacity: 0.8;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Consulting Tagline */
.consulting-tagline {
  padding: 0.75rem 0;
  margin-bottom: 1rem;
}

.consulting-tagline p {
  font-size: 0.85rem;
  color: var(--muted);
}

.consulting-tagline a {
  color: var(--accent);
  border-bottom: 1px dotted var(--accent);
  transition: opacity 0.2s ease;
}

.consulting-tagline a:hover {
  opacity: 0.8;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.button.primary {
  background: var(--accent);
  color: #111827;
}

.button.ghost {
  background: transparent;
  color: var(--accent);
}

/* Main Content */
main {
  padding: 0 6vw 4rem;
}

.section {
  padding: 3rem 0;
}

.section.alt {
  background: var(--bg-alt);
  border-radius: 1.25rem;
  padding: 3rem 2.5rem;
  margin: 0 -2.5rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
}

/* Research Categories */
.research-category {
  margin-bottom: 2.5rem;
}

.research-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Publication List */
.publication-list {
  display: grid;
  gap: 1rem;
}

.publication-list.compact {
  gap: 0.75rem;
}

.publication-list article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.publication-list article:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.publication-list.compact article {
  padding: 1rem;
}

.publication-list h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.publication-list.compact h4 {
  font-size: 0.95rem;
}

.highlight-paper {
  border-color: var(--accent) !important;
  background: rgba(212, 175, 55, 0.08) !important;
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.meta strong {
  color: var(--accent);
}

.text-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.85rem;
  transition: opacity 0.2s ease;
}

.text-link:hover {
  opacity: 0.8;
}

.section-footer {
  margin-top: 1.5rem;
  text-align: center;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.media-column h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.media-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.media-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.media-list li:last-child {
  border-bottom: none;
}

.media-list strong {
  color: var(--accent);
}

.coauthor {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.highlight-card h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contact-grid h3 {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.contact-grid a {
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.contact-grid a:hover {
  opacity: 0.8;
}

.contact-grid p {
  font-size: 0.9rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 6vw;
  color: var(--muted);
  font-size: 0.85rem;
  background: #0b1120;
}

/* Responsive Design */
@media (max-width: 968px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .profile-photo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }

  .profile-info {
    text-align: center;
  }

  .profile-info h1 {
    font-size: 1.5rem;
  }

  .nav {
    gap: 1rem;
    justify-content: center;
  }

  .consulting-tagline {
    text-align: center;
  }

  .section.alt {
    margin: 0;
    padding: 2rem 1.25rem;
    border-radius: 0.75rem;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .button {
    flex: 1;
    text-align: center;
  }
}