/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark: #0f0e17;
  --bg-card: #1a1926;
  --text-primary: #c8cbd0;
  --text-muted: #8a929a;
  --text-bright: #ffffff;
  --accent: #ff6310;
  --accent-hover: #fd7c47;
  --heading-color: #111518;
  --border-color: #E9EBEC;
  --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-heading: "Albert Sans", sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --max-width: 960px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-system);
  font-weight: 400;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

.page-content a { color: var(--accent); }
.page-content a:hover { color: var(--accent-hover); }
.page-content a.btn-primary { color: var(--text-bright); }
.page-content a.btn-primary:hover { color: var(--text-bright); }

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

/* Stackable-rendered headings (page titles, section titles) */
h1, h2 {
  font-family: var(--font-mono);
  font-weight: 800;
  line-height: 1.3;
}

/* Sub-headings (person names, card titles) */
h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.5;
}

h1 { font-size: 70px; }
h2 { font-size: 40px; margin-bottom: 1rem; }
h3 { font-size: 30px; margin-bottom: 0.75rem; }
h4 { font-size: 25px; margin-bottom: 0.5rem; }
h5 { font-size: 20px; }
h6 { font-size: 16px; font-weight: 700; }

p { margin-bottom: 1rem; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: var(--bg-dark);
  border-bottom-color: transparent;
  box-shadow: 0 10px 20px rgba(67, 71, 79, 0.05);
}

.header-logo img {
  height: 40px;
  width: auto;
}

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

.site-nav a {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icons a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s, transform 0.2s;
}

.social-icons a:hover { transform: scale(1.2); }

.social-icons a:hover { color: var(--accent); }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--text-bright);
  font-weight: 700;
  border-radius: 0 0 4px 4px;
  z-index: 200;
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 0;
  color: var(--text-bright);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: top left;
  background-attachment: fixed;
  padding: 280px 2rem 100px;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 23, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-size: 70px;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero .subtitle a { color: var(--text-primary); }
.hero .subtitle a:hover { color: var(--accent); }

.hero .description {
  text-align: justify;
  max-width: 750px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  padding: 13px 40px;
  background: var(--accent);
  color: var(--text-bright);
  font-size: 1.15em;
  font-weight: 600;
  border-radius: 3px;
  transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-bright);
  transform: scale(1.05);
}

/* Page hero (smaller, for subpages) */
.page-hero {
  background-size: cover;
  background-position: top center;
  background-attachment: fixed;
  padding: 250px 35px 120px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 23, 0.3);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 70px;
  font-weight: 800;
  line-height: 1em;
}

/* ===== FEATURE CARDS ===== */
.feature-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.feature-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  transition: box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}

.feature-card:hover {
  box-shadow: 0 0 40px rgba(255, 99, 16, 0.25), 0 0 80px rgba(255, 99, 16, 0.1);
  color: var(--text-primary);
}

.feature-card img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto 1rem;
  border-radius: 25px;
  background: #ffffff;
  padding: 8px;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent),
              linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent),
                      linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.feature-card h3,
.feature-card-heading {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-card:hover p {
  color: var(--text-primary);
}

/* ===== NEWS SECTION (homepage) ===== */
.news-section {
  max-width: 900px;
  margin: 3rem auto 4rem;
  padding: 0 2rem;
}

.news-section h2 {
  font-size: 50px;
  font-family: var(--font-mono);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Scroll animations */
.slide-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE CONTENT ===== */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-content p {
  text-align: justify;
  line-height: 1.8;
}

.page-content ul,
.page-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content h2 {
  margin-top: 2rem;
  display: inline-block;
  background: linear-gradient(var(--text-primary), var(--text-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s;
}

.page-content h2::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: #E9EBEC;
  transition: width 0.3s;
  margin-bottom: 1rem;
}

.page-content h2:hover {
  background: linear-gradient(#E9EBEC, #E9EBEC);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-content h2:hover::after {
  width: 100%;
}

/* ===== RESEARCH SECTIONS ===== */
.research-section {
  margin-bottom: 3rem;
}

.research-section h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.research-section img {
  max-width: 100%;
  margin: 0 auto 1.5rem;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.5rem;
}

/* ===== PEOPLE ===== */
.people-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.person-card {
  background: transparent;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 250px;
  flex-shrink: 0;
  flex-grow: 0;
}

.person-card .img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 0.5rem;
  border-radius: 25px;
  overflow: hidden;
}

.person-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s;
}

.person-card .img-wrap:hover img {
  filter: brightness(0.4);
}

.person-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
  white-space: nowrap;
}

.person-card .role {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0.1rem;
  white-space: nowrap;
}

.person-card .bio {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  color: var(--text-primary);
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.person-card .img-wrap:hover .bio {
  opacity: 1;
}

.person-card .links {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.person-card .links a {
  color: var(--accent-hover);
  font-size: 1.25rem;
  padding: 0.25rem;
  transition: all 0.2s;
}

.person-card .links a:hover {
  color: var(--accent);
  transform: scale(1.2);
}

/* Alumni — smaller cards, 5 per row */
.alumni-grid {
  max-width: 1200px;
}

.alumni-grid .person-card {
  width: 180px;
  padding: 1rem;
}

.alumni-grid .person-card .img-wrap img {
  filter: sepia(0.4) saturate(0.6);
}

.alumni-grid .person-card h3 {
  font-size: 0.85rem;
}

.alumni-grid .person-card .role {
  font-size: 12px;
}

.alumni-grid .person-card .links a {
  font-size: 1rem;
}

/* ===== PUBLICATIONS ===== */
.pub-timeline {
  position: relative;
  padding-left: 5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pub-timeline::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}

.pub-timeline-item {
  position: relative;
  padding: 0.75rem 0;
}

.pub-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 1.85rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.pub-timeline-year {
  position: absolute;
  left: -4.75rem;
  top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 2rem;
  text-align: right;
}

.pub-card {
  display: block;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: box-shadow 0.3s, transform 0.3s;
}

.pub-card:hover {
  box-shadow: 0 0 40px rgba(255, 99, 16, 0.25), 0 0 80px rgba(255, 99, 16, 0.1);
  transform: translateY(-4px);
  color: var(--text-primary);
}

.pub-card .pub-journal {
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pub-card .pub-title {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0.5rem 0 0.4rem;
  color: var(--text-primary);
}

.pub-card:hover .pub-title {
  color: var(--text-bright);
}

.pub-card .pub-authors {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.pub-card .pub-authors strong {
  color: var(--accent-hover);
}

.pub-card .pub-notes {
  display: none;
  color: var(--accent-hover);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.pub-card:hover .pub-notes {
  display: block;
  animation: fadeIn 0.3s ease;
}

.pub-card .pub-abstract {
  display: none;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.pub-card:hover .pub-abstract {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== TOOLS ===== */
.tool-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.tool-card img {
  width: 100%;
  aspect-ratio: 2.2;
  object-fit: contain;
  margin: 1rem auto;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.5rem;
}

.tool-card h3 {
  color: var(--text-primary);
}

.tool-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tool-links a {
  padding: 0.4rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.tool-links a:hover {
  background: var(--accent);
  color: var(--text-primary);
}

/* ===== ACCORDIONS & CONTENT (shared across all pages) ===== */
.page-content details {
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
}

.page-content summary {
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.page-content summary:hover {
  background: rgba(255,255,255,0.08);
}

.page-content summary::after {
  display: none;
}

.page-content summary::before {
  display: none;
}

.page-content details[open] summary::after {
  transform: rotate(180deg);
}

.page-content details > div,
.page-content details > p {
  padding: 1.25rem 2rem;
  animation: accordionOpen 0.8s ease forwards;
}

@keyframes accordionOpen {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    max-height: 2000px;
    transform: translateY(0);
  }
}

.page-content h4 {
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  table-layout: fixed;
}

.page-content th {
  background: var(--accent);
  color: var(--text-bright);
  padding: 0.5rem 0.75rem;
  text-align: center;
}

.page-content td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.page-content th:first-child,
.page-content td:first-child {
  text-align: left;
}


/* Contact form */
.contact-form {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form button {
  background: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--accent-hover);
}

/* ===== NEWS TIMELINE ===== */
.news-year {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  display: block;
  -webkit-text-fill-color: initial;
  background: none;
}

.news-year::after { display: none; }

.news-timeline {
  position: relative;
  padding-left: 5rem;
}

.news-timeline::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
}

.news-timeline-item {
  position: relative;
  padding: 1rem 0 1.5rem;
}

.news-timeline-item::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 1.65rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.news-timeline-date {
  position: absolute;
  left: -4.75rem;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  width: 2rem;
  text-align: right;
}

.news-timeline-category {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: rgba(255, 99, 16, 0.15);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.news-timeline-content h3 a {
  display: inline-block;
  min-height: 44px;
  line-height: 1.4;
  padding: 4px 0;
}

.news-timeline-content p {
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* ===== SOCIAL EVENTS ===== */
.social-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.social-event {
  border-radius: 8px;
  overflow: hidden;
}

.social-hidden {
  display: none;
}

.social-event-img {
  position: relative;
  overflow: hidden;
}

.social-event-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: filter 0.3s;
}

.social-event-img:hover img {
  filter: brightness(0.3);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-bright);
  text-align: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.photo-overlay strong {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.photo-overlay p {
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.social-event-img:hover .photo-overlay {
  opacity: 1;
}

.social-event-text {
  padding: 1rem 1.25rem;
}

.social-event-text h4 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.social-event-text p {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.btn-show-more {
  display: block;
  margin: 1rem auto;
  padding: 0.6rem 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-show-more:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  padding: 1.5rem 2rem;
  text-align: center;
}

.site-footer.sticky-footer {
  position: sticky;
  bottom: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.site-footer.sticky-footer.visible {
  opacity: 1;
  pointer-events: auto;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.footer-social a {
  color: var(--accent);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(218, 222, 228, 0.3);
  transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--text-bright);
  transform: scale(1.1);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: scale(1.1);
  color: var(--text-bright);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 3px solid var(--accent);
    gap: 0.5rem;
  }

  .site-nav.open { display: flex; }

  .social-icons { display: none; }

  .hero { padding: 140px 1.5rem 60px; }
  .hero h1 { font-size: 50px; }

  .page-hero { padding: 210px 1.5rem 140px; }
  .page-hero h1 { font-size: 50px; }

  h2 { font-size: 30px; }

  .feature-cards {
    flex-direction: column;
    align-items: center;
  }

  .feature-card { max-width: 100%; }

  .person-card {
    width: 100%;
    max-width: 300px;
  }


  .news-timeline,
  .pub-timeline {
    padding-left: 0;
  }

  .news-timeline::before,
  .pub-timeline::before {
    display: none;
  }

  .news-timeline-item::before,
  .pub-timeline-item::before {
    display: none;
  }

  .news-timeline-item,
  .pub-timeline-item {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
  }

  .news-timeline-date {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    font-size: 0.7rem;
    text-align: left;
    margin-bottom: 0.25rem;
  }

  .news-timeline-date::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 0.4rem;
    vertical-align: middle;
  }

  .news-timeline-category {
    display: none;
  }

  .pub-timeline-year {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    font-size: 0.75rem;
    text-align: left;
    margin-bottom: 0.25rem;
  }

  .pub-timeline-year::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 0.4rem;
    vertical-align: middle;
  }


  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-events {
    grid-template-columns: 1fr;
  }

  .news-section h2 { font-size: 2rem; }

  .feature-card:hover,
  .pub-card:hover {
    box-shadow: none;
    transform: none;
  }

  .pub-card:hover .pub-abstract,
  .pub-card:hover .pub-notes {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .page-hero h1 { font-size: 30px; }
}
