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

:root {
  --teal: #203731;
  --teal-light: #2f5248;
  --gold: #ffb612;
  --teal-dim: #e8efec;
  --gray: #4a4a4a;
  --gray-dark: #2a2a2a;
  --gray-light: #f5f5f5;
  --border: #e0e0e0;
  --white: #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-dark);
  font-size: 16px;
  line-height: 1.7;
}

/* NAV */
nav {
  background: var(--teal);
  border-bottom: 4px solid var(--gold);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.nav-logo img {
  height: 90px;
  display: block;
  padding: 8px 0;
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links a {
  text-decoration: none;
  color: #c9d6d1;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.4rem 1.2rem;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  display: block;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* PAGE HEADER: plain page title below the single top banner */
.page-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  letter-spacing: 0.05em;
}

/* subtitles hidden; headings are self-explanatory */
.page-header p { display: none; }

.page-header + main { padding-top: 1.5rem; }

/* MAIN CONTENT */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* SECTION LABEL */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/*.section-label::after {
  content: '';
  display: block;
  height: 1px;
  width: 2rem;
  background: var(--teal);
}*/

.section-label::after {
	
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
}

section {
  margin-bottom: 4rem;
}

/* CARDS */
.card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(32,55,49,0.15);
  border-color: var(--teal);
}

/* PUBLICATION */
.pub-card {
  border-left: 4px solid var(--teal);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.2rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pub-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.pub-badge.journal {
  background: var(--teal-dim);
  color: var(--teal);
}

.pub-badge.conference {
  background: #f0f0f0;
  color: var(--gray);
}

.pub-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-dark);
  margin-bottom: 0.3rem;
  line-height: 1.4;
}

.pub-authors {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.pub-authors strong {
  color: var(--teal);
}

.pub-venue {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
}

.pub-links {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.8rem;
}

.pub-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 1px;
}

.pub-links a:hover { opacity: 0.7; }

/* PEOPLE */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.people-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.person-card {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.person-card:hover {
  box-shadow: 0 4px 16px rgba(32,55,49,0.15);
}

.person-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--gray-light);
  display: block;
  max-height: 200px;
}

.person-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  max-height: 200px;
  background: var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
}

.person-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-info {
  padding: 1rem;
}

.person-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin-bottom: 0.2rem;
}

.person-role {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

.person-links {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.person-links a {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--teal);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--gray-light);
  display: block;
}

.gallery-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--teal-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-caption {
  padding: 0.8rem 1rem;
}

.gallery-caption h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.2rem;
}

.gallery-caption p {
  font-size: 0.78rem;
  color: var(--gray);
}

/* RESEARCH AREAS */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}

.research-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  padding: 1.5rem;
  border-radius: 2px;
  transition: box-shadow 0.2s;
}

.research-card:hover {
  box-shadow: 0 4px 16px rgba(32,55,49,0.15);
}

.research-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.research-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* STATS BAR */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--teal);
  margin-bottom: 3rem;
}

.stat-item {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: #c9d6d1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

/* NEWS */
.news-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.news-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  padding-top: 0.15rem;
}

.news-text {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
}

.news-text strong { color: var(--gray-dark); }

/* FOOTER */
footer {
  background: var(--teal);
  color: #c9d6d1;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 3px solid var(--gold);
  font-size: 0.82rem;
}

footer img { height: 40px; }

.footer-right { text-align: right; line-height: 1.6; }

/* COLLABORATOR LOGO */
.collab-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.collab-item {
  text-align: center;
}

.collab-logo-placeholder {
  width: 120px;
  height: 60px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* UTILITY */
.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: var(--teal-dim);
  color: var(--teal);
  border-radius: 2px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}

.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover { background: var(--teal); color: var(--white); }

@media (max-width: 768px) {
  nav { padding: 0 1rem; flex-wrap: wrap; }
  .page-header { padding: 1.5rem 1rem 0; }
  .page-header h1 { font-size: 1.9rem; }
  .nav-links a { padding: 0.8rem 0.6rem; font-size: 0.72rem; }
  main { padding: 2rem 1rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-right { text-align: center; }
}

@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column !important;
    padding: 2rem 1.5rem !important;
    gap: 2rem !important;
  }
  .hero-flex > div {
    flex: 1 1 100% !important;
    min-width: 0 !important;
  }
}

/* LIGHTBOX */
.gallery-img { cursor: pointer; }

#lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

#lightbox.active { display: flex; }

#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border: 2px solid #ffb612;
}

#lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  font-weight: 300;
  line-height: 1;
  z-index: 1001;
}

#lightbox-close:hover { color: #ffb612; }

/* LOGO CAROUSEL */
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 3rem;
  animation: scroll-left 20s linear infinite;
  width: max-content;
}

.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 140px;
}

.carousel-item img {
  height: 100px;
  object-fit: contain;
}

.carousel-item span {
  font-size: 0.72rem;
  color: #4a4a4a;
  text-align: center;
  max-width: 140px;
  line-height: 1.3;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.news-scroll::-webkit-scrollbar { width: 4px; }
.news-scroll::-webkit-scrollbar-track { background: #f5f5f5; }
.news-scroll::-webkit-scrollbar-thumb { background: #203731; border-radius: 2px; }