/* ============================================================
   HSU LAB — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400;1,600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: 'Montserrat', sans-serif; font-weight: 400; color: #333; background: #fff; line-height: 1.7; }
a { color: #2b6cb0; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   HEADER & NAV — giant centered logo, nav below
   ============================================================ */
header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.site-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1a1a1a;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  display: block;
  line-height: 1.1;
  margin-bottom: 8px;
}
.site-logo:hover { text-decoration: none; color: #1a1a1a; }

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

nav ul li a {
  display: block;
  padding: 0 14px;
  line-height: 40px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

nav ul li a:hover { color: #222; text-decoration: none; }
nav ul li a.active { color: #222; font-weight: 700; }

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
  position: relative;
  background-image: url('Wallpaper2018.jpg');
  background-size: cover;
  background-position: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.hero-tagline {
  position: relative;
  font-family: 'Crimson Text', serif;
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 600;
  color: #6b0000;
  max-width: 700px;
  padding: 0 40px;
  line-height: 1.5;
  opacity: 0;
  animation: fadeIn 2.2s ease 0.4s forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  background: #f7f8fa;
  border-bottom: 1px solid #e2e8f0;
  padding: 38px 20px 32px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.site-wrapper { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 60px;
}
.news-section h2 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 32px;
}
.news-month { margin-bottom: 28px; }
.news-month h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 10px;
}
.news-month ul { list-style: disc; padding-left: 20px; }
.news-month ul li { font-size: 0.88rem; color: #333; margin-bottom: 6px; line-height: 1.6; }
.news-month ul li a { color: #2b6cb0; }

/* ============================================================
   PEOPLE PAGE
   ============================================================ */
.people-section { max-width: 900px; margin: 0 auto; padding: 40px 20px 60px; }
.people-section h2 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #888; border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px; margin-bottom: 30px;
}
.pi-block { display: flex; gap: 32px; margin-bottom: 48px; align-items: flex-start; }
.pi-block img { width: 160px; height: 200px; object-fit: cover; flex-shrink: 0; border: 1px solid #e2e8f0; }
.pi-info h3 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.pi-info .pi-title { font-size: 0.8rem; font-style: italic; color: #666; margin-bottom: 12px; }
.pi-info p, .pi-info li { font-size: 0.84rem; color: #444; line-height: 1.65; }
.pi-info ul { padding-left: 18px; margin-top: 8px; }
.pi-links { margin-top: 12px; display: flex; gap: 12px; flex-wrap: wrap; }
.pi-links a {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #2b6cb0; border: 1px solid #2b6cb0; padding: 4px 10px; border-radius: 2px;
  text-decoration: none; transition: background 0.2s, color 0.2s;
}
.pi-links a:hover { background: #2b6cb0; color: #fff; text-decoration: none; }
.group-links { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.group-links a {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: #444; border: 1px solid #ccc; padding: 6px 14px; border-radius: 2px;
  text-decoration: none; transition: background 0.2s;
}
.group-links a:hover { background: #f0f0f0; text-decoration: none; }
.person-group-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #555; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; margin: 36px 0 20px;
}
.person-row { display: flex; gap: 24px; margin-bottom: 28px; align-items: flex-start; }
.person-row img { width: 110px; height: 130px; object-fit: cover; flex-shrink: 0; border: 1px solid #e2e8f0; background: #f7f8fa; }
.person-photo-placeholder { width: 110px; height: 130px; flex-shrink: 0; background: #f0f0f0; border: 1px solid #e2e8f0; }
.person-info h4 { font-size: 0.84rem; font-weight: 700; margin-bottom: 4px; }
.person-info p { font-size: 0.82rem; color: #444; margin-bottom: 2px; line-height: 1.6; }
.person-info a { color: #2b6cb0; }

/* ============================================================
   PUBLICATIONS PAGE
   ============================================================ */
.pubs-section { max-width: 860px; margin: 0 auto; padding: 40px 20px 60px; }
.pubs-intro { font-size: 0.88rem; color: #444; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 2px solid #e2e8f0; }
.pubs-intro a { color: #2b6cb0; }
.pubs-section h2 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #888; margin-bottom: 24px; }
.pub-entry { display: flex; gap: 20px; margin-bottom: 20px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.pub-number { font-size: 0.78rem; font-weight: 700; color: #aaa; min-width: 28px; padding-top: 2px; flex-shrink: 0; text-align: right; }
.pub-content { flex: 1; font-size: 0.84rem; line-height: 1.65; color: #333; }
.pub-content a { color: #2b6cb0; }
.pub-content em { font-style: italic; }
.pub-content strong { font-weight: 700; }
.pub-image { width: 120px; flex-shrink: 0; }
.pub-image img { width: 100%; border: 1px solid #e2e8f0; }
.pubs-section .section-divider { margin: 36px 0 24px; padding-top: 20px; border-top: 2px solid #e2e8f0; }

/* ============================================================
   RESEARCH PAGE
   ============================================================ */
.research-section { max-width: 900px; margin: 0 auto; padding: 40px 20px 60px; }
.research-overview { font-family: 'Crimson Text', serif; font-size: 1.15rem; color: #333; line-height: 1.75; margin-bottom: 44px; padding-bottom: 32px; border-bottom: 1px solid #e2e8f0; }
.research-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.research-area img { width: 100%; border: 1px solid #e2e8f0; margin-bottom: 14px; }
.research-area h3 { font-size: 0.82rem; font-weight: 700; line-height: 1.5; color: #333; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #f7f8fa; border-top: 1px solid #e2e8f0; padding: 28px 20px; text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.footer-nav a { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #555; padding: 0 8px; text-decoration: none; }
.footer-nav a:hover { color: #1a1a1a; }
.footer-nav span { color: #ccc; font-size: 0.7rem; line-height: 1.8; }
.footer-copy { font-size: 0.75rem; color: #888; line-height: 1.7; }
.footer-copy a { color: #555; }
.footer-copy a:hover { color: #1a1a1a; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .site-logo { font-size: 2.2rem; }
  nav ul li a { padding: 0 8px; font-size: 0.6rem; }
  .pi-block { flex-direction: column; }
  .research-areas { grid-template-columns: 1fr; }
  .pub-image { display: none; }
}
