/* /mnt/data/style.css */
/* ======================================
   Design Tokens
   ====================================== */
:root{
  --brand-teal: #159aa3;
  --brand-teal-600: #11808a;
  --ink: #1f2426;
  --muted: #f4f6f8;
  --card: #ffffff;
  --border: #e7eaee;
  --focus: 0 0 0 3px rgba(21,154,163,.3);
}

/* ======================================
   Base
   ====================================== */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Source Sans Pro',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{
  color:var(--brand-teal);
  text-decoration:none;
}
a:hover{ text-decoration:underline; }
a:focus-visible{ outline: var(--focus); border-radius:6px }

/* Layout helpers */
.container{ max-width: 1000px; margin-inline:auto; padding: 24px }
.stack > * + *{ margin-top: 12px }

/* ======================================
   Navigation
   ====================================== */
.site-nav{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 20px;
  background:#fff;
  border-bottom:1px solid var(--border);
}

.logo{
  display:flex; align-items:center; gap:10px; font-weight:700; color:var(--ink);
}
/* Bigger logo (why: requested larger brand presence) */
.logo img{height:72px;width:auto;display:block}
.logo .logo-text{display:none}

/* Larger tap target still optional */
.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background:#fff;
  padding:8px 12px;
  border-radius:10px;
  font-weight:600;
}

.nav-links{ list-style:none; display:flex; gap:22px; margin:0; padding:0 }
.nav-links a{
  color:var(--ink);
  font-weight:600;
  padding:8px 2px;
  border-bottom:2px solid transparent;
}
.nav-links a:hover{ border-color:var(--brand-teal-600) }
.nav-links a.is-active{ border-color:var(--brand-teal) }

/* Mobile nav */
@media (max-width: 720px){
  .nav-toggle{ display:inline-block }
  .nav-links{
    position:absolute; left:0; right:0; top:88px; /* increased to clear taller logo */
    display:none; flex-direction:column; gap:0;
    background:#fff; border-bottom:1px solid var(--border);
    padding:8px 20px 16px;
  }
  .nav-links.open{ display:flex }
}

/* ======================================
   Hero
   ====================================== */
.hero{
  background: radial-gradient(1200px 400px at 10% -10%, rgba(21,154,163,.12), transparent),
              radial-gradient(900px 300px at 90% 0%, rgba(21,154,163,.08), transparent),
              var(--muted);
  padding: 72px 0 60px;
  text-align:center;
}
.hero-title{
  margin:0;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing:.2px;
}
.hero-subtitle{
  margin: 10px auto 24px;
  max-width: 760px;
  font-size: clamp(16px, 1.9vw, 20px);
  color:#465055;
}
.hero-ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap }

/* Buttons */
.btn{
  display:inline-block;
  font-weight:700;
  padding:12px 18px;
  border-radius:12px;
  border:2px solid var(--brand-teal);
  background:var(--brand-teal);
  color:#fff;
  transition:transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,.06); text-decoration:none }
.btn:focus-visible{ outline:var(--focus) }

.btn-outline{
  background:#fff;
  color:var(--brand-teal);
}
.btn-outline:hover{ background:#f7fafa }

.btn-quiet{
  border-color:transparent;
  background:transparent;
  color:var(--brand-teal);
}
.btn-quiet:hover{ background:#eff6f7 }

/* ======================================
   Sections
   ====================================== */
h2{
  margin: 32px 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

/* Card grid */
.card-grid{
  list-style:none; padding:0; margin:16px 0 0;
  display:grid; grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  gap:16px;
}
.card{
  display:block;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}
.card h3{
  text-align:center;
}
.card p{
  text-align:center;
  color: #465055;
}

/* Five cards in one row on desktop */
.card-grid{
  list-style:none; padding:0; margin:16px 0 0;
  display:grid;
  grid-template-columns: repeat(5, 1fr); /* exactly five columns */
  gap:16px;
}

/* nicer wrapping on smaller screens */
@media (max-width: 900px){
  .card-grid{
    grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  }
}

/* ======================================
   Research Page (simple editorial layout)
   ====================================== */

.research-page{
  max-width: 980px;
}

.research-intro p{
  margin-top: 8px;
  max-width: 78ch;
  color:#465055;
}

.research-projects{
  margin-top: 8px;
}

.research-project{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items:center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.research-project:first-of-type{
  margin-top: 4px;
}

.research-project:last-child{
  border-bottom: none;
}

.research-project--reverse .research-project-text{
  order: 2;
}
.research-project--reverse .research-project-media{
  order: 1;
}

.research-project-text h3{
  margin: 0 0 8px;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height:1.25;
}

.research-project-text p{
  margin:0;
  color:#465055;
  max-width: 62ch;
}

.research-project-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#f4f6f8;
}

/* Mobile */
@media (max-width: 800px){
  .research-project,
  .research-project--reverse{
    grid-template-columns: 1fr;
    gap: 14px;
    align-items:start;
  }

  .research-project--reverse .research-project-text,
  .research-project--reverse .research-project-media{
    order: initial;
  }

  .research-project-media img{
    aspect-ratio: 16 / 10;
  }
}

/* ======================================
   Members
   ====================================== */
/* ========== People Cards — cleaned visuals ========== */

/* Grid: multiple members on the same horizontal line */
.people-list{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
  margin-top:12px;
}

/* Card base: vertical layout for members */
.person-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:12px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
  transition:box-shadow .12s ease, border-color .12s ease, transform .08s ease;
  cursor:pointer;
}
.person-card:hover{ transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,0,0,.06); border-color:#dbe2e6 }
.person-card:focus-visible{ outline:var(--focus) }
.person-card[aria-expanded="true"]{ border-color:#cfe7ea }

/* PI: forced horizontal layout (image left, text right) */
.person-card--pi{
  grid-column: 1 / -1;                 /* PI spans full width of grid */
  flex-direction:row;
  align-items:flex-start;
  text-align:left;
  cursor:default;
  border:1px solid #dfe7ea;
  box-shadow:0 6px 22px rgba(0,0,0,.05);
}

/* Media */
.person-media{ width:100%; max-width:240px }
.person-card--pi .person-media{ width:140px; min-width:140px; margin-right:18px }

.person-photo{
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  border-radius:14px;
  display:block;
}

/* Text */
.person-body{ width:100%; max-width:90ch }
.person-header{ margin:0 0 6px; padding:0 0 6px; border-bottom:1px solid #eef2f4 }
.person-header--pi{ margin-bottom:8px }
.person-name{ margin:0; font-size: clamp(20px, 2.6vw, 28px); font-weight:800 }
.person-card--pi .person-name{ font-size: clamp(22px, 3vw, 34px) }
.person-role{ margin:4px 0 6px; font-weight:700; color:#374047 }
.person-meta{
  display:flex; flex-wrap:wrap; gap:8px 12px; margin:0; padding:0; list-style:none;
  color:#556169; font-size:.98rem; justify-content:center;
}
.person-card--pi .person-meta{ justify-content:flex-start }
.person-meta li{ background:#f3f7f8; border:1px solid #e4ecee; padding:4px 8px; border-radius:999px }

/* Bio: expands vertically inside each card */
.person-bio{
  overflow:hidden;
  max-height:0;
  opacity:0;
  transform:translateY(-4px);
  transition:max-height .28s ease, opacity .22s ease, transform .22s ease;
  color:#2b3337;
}
.person-card:hover .person-bio,
.person-card:focus-within .person-bio,
.person-card.is-open .person-bio{
  max-height:500px;  /* adjust if longer bios */
  opacity:1;
  transform:none;
}
.person-card--pi .person-bio{ max-height:none; opacity:1; transform:none } /* PI always open */

/* Responsive tweak: PI stacks on small screens */
@media (max-width:700px){
  .person-card--pi{ flex-direction:column; text-align:center; align-items:center }
  .person-card--pi .person-media{ width:100%; min-width:0; margin:0 0 12px }
  .person-card--pi .person-meta{ justify-content:center }
}



/* Helper text style */
.muted-note{ color:#556169; margin:0 0 8px }

/* Alumni style */
.alumni-list{ margin-top:8px }

/* Keep previously provided global styles (logo size, nav, etc.) */


/* Footer */
.site-footer{
  background:#111;
  color:#fff;
  text-align:center;
  padding:18px;
  margin-top:60px;
}

/* ======================================
   Publications Page
   ====================================== */

/* Featured publication cards */
.featured-pubs{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
  margin-top:16px;
}

.featured-pub{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
  transition: box-shadow .12s ease, border-color .12s ease, transform .08s ease;
}

.featured-pub:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  border-color:#dbe2e6;
}

.featured-pub-title{
  margin:0 0 8px;
  font-size:1.15rem;
  line-height:1.35;
}

.featured-pub-title a{
  color:var(--ink);
  text-decoration:none;
}

.featured-pub-title a:hover{
  color:var(--brand-teal);
  text-decoration:underline;
}

.featured-pub-citation{
  margin:0 0 10px;
  color:#465055;
  font-size:.98rem;
}

.featured-pub-blurb{
  margin:0;
  color:#2f373b;
}

.featured-pub-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 0;
  padding:0;
  list-style:none;
}

.featured-pub-tags li{
  background:#f3f7f8;
  border:1px solid #e4ecee;
  color:#465055;
  padding:4px 8px;
  border-radius:999px;
  font-size:.9rem;
}

/* Regular publications (by year) */
.pubs-by-year{
  margin-top:24px;
}

.pub-year-block{
  margin-top:20px;
}

.pub-year{
  margin:0 0 10px;
  font-size:1.2rem;
  font-weight:800;
  color:var(--ink);
  border-bottom:1px solid var(--border);
  padding-bottom:6px;
}

.pub-year-list{
  list-style:none;
  padding:0;
  margin:0;
}

.pub-year-list li{
  margin:0 0 12px;
  padding:0 0 12px;
  border-bottom:1px dashed #e8ecef;
  color:#2f373b;
  line-height:1.55;
}

.pub-year-list li:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.pub-meta-link{
  display:inline-block;
  margin-top:6px;
  font-weight:600;
}

/* Optional: slightly narrower reading width for publication text */
.pub-reading-width{
  max-width: 900px;
}


/* Back-compat with older markup (why: other pages still use old class names) */
nav .logo img{ height:72px } /* keep older selector aligned with new size */
.hero p{ max-width: 760px; margin-left:auto; margin-right:auto }
.container{ max-width:1000px; margin:0 auto; padding:24px }


/* ======================================
   Contact Us Page 
   ====================================== */
.contact-simple{
  display:flex;
  justify-content:center;
  margin-top:24px;
}
.contact-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:24px;
  max-width:720px;
  width:100%;
  text-align:center;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.contact-card h2{ margin-top:0 }
.big-email{
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight:700;
  margin:8px 0 10px;
}
.big-email a{ text-decoration:underline }
.contact-note{ color:#56636a; margin:0 0 12px }
.contact-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap }

/* /mnt/data/style.css — append these styles for the opening */

/* Existing .contact-simple/.contact-card styles stay as added previously */

.position-wrap{
  margin-top:24px;
}

.position-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:22px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}

.position-header{
  border-bottom:1px solid #eef2f4;
  margin:0 0 12px;
  padding:0 0 10px;
}
.position-title{
  margin:0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing:.2px;
}
.position-subtitle{
  margin:6px 0 0;
  color:#556169;
}

.position-body h3{
  margin:16px 0 8px;
  font-size:1.05rem;
}
.position-body p{ margin:0 0 10px }
.position-body ul{ margin:0 0 12px 18px }

.position-actions{
  display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 6px;
}

.position-eeo{
  margin:8px 0 0;
  color:#56636a;
  font-size:.95rem;
}


/* ======================================
   GALLERY
   ====================================== */
   

.gallery-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create two equal columns that sits next to each other */
.gallery-column {
  flex: 50%;
  max-width: 50%;
  padding: 0 4px;
}

.gallery-column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}
