:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --radius:18px;
  --fiu-blue:#081E3F;
  --fiu-gold:#B6862C;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Proxima Nova","Helvetica Neue",Helvetica,Arial,system-ui,-apple-system,"Segoe UI",Roboto,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{color:var(--link); text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%; height:auto}

.container{
  width:min(var(--maxw), calc(100% - 32px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(246, 247, 251, 0.92);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{display:flex; flex-direction:column; gap:2px}
.brand-link{
  font-weight:700;
  letter-spacing:0.2px;
  color:var(--text);
  font-size:18px;
}
.brand-sub{color:var(--muted); font-size:13px}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
}
.home .nav{justify-content:center}
.nav-link{
  display:inline-block;
  padding:8px 10px;
  border-radius:10px;
  color:var(--muted);
  font-size:14px;
  border:1px solid transparent;
}
.nav-link:hover{
  text-decoration:none;
  color:var(--text);
  background:rgba(15, 23, 42, 0.04);
  border-color:rgba(15, 23, 42, 0.06);
}
.nav-link.active{
  color:var(--text);
  background:rgba(11, 95, 255, 0.08);
  border-color:rgba(11, 95, 255, 0.18);
}

/* Hero */
.hero{
  padding:26px 0 8px;
}
.hero-inner{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:calc(var(--radius) + 4px);
  box-shadow:var(--shadow);
  padding:26px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  text-align:center;
}
.hero-media{
  width:min(520px, 100%);
  height:220px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#e5e7eb;
}
.hero-img{
  width:100%;
  height:auto;
  display:block;
}
.hero-media .hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.hero-title{
  position:absolute;
  top:10px;
  left:50%;
  transform:translateX(-50%);
  padding:6px 12px;
  border-radius:999px;
  background:rgba(15, 23, 42, 0.55);
  color:#fff;
  font-weight:700;
  letter-spacing:0.02em;
  font-size:5.5rem;
  line-height:1;
  text-shadow:0 1px 2px rgba(0,0,0,0.35);
  pointer-events:none;
}

/* Main theme tagline */
.hero-tagline{
  margin:0;
  font-size:1.65rem;
  font-weight:600;
  letter-spacing:-0.2px;
  line-height:1.35;
  color:var(--text);
  max-width:900px;
}

/* Legacy subtitle (kept for other pages) */
.subtitle{
  margin:8px 0 0;
  color:var(--muted);
  font-size:15px;
  max-width:900px;
  text-align:center;
}

/* Main layout */
.main{padding:18px 0 34px}
.grid-2{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:18px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 8px 24px rgba(2, 6, 23, 0.06);
  padding:18px 18px;
}
.card h2{
  margin:0 0 10px;
  font-size:18px;
}
.card p{margin:10px 0; color:var(--text)}
.muted{color:var(--muted)}

/* Members */
.member-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}
.member{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--card);
  box-shadow:0 8px 24px rgba(2, 6, 23, 0.05);
}
.member img{
  width:72px;
  height:72px;
  border-radius:14px;
  object-fit:cover;
  object-position:center;
  border:1px solid var(--border);
  flex:0 0 auto;
  background:#e5e7eb;
}
.member .info{min-width:0}
.member .name{
  font-weight:700;
  margin:0;
  font-size:15px;
}
.member .details{
  margin-top:6px;
  color:var(--muted);
  font-size:13px;
}

/* Tables (legacy pages) */
table{
  width:100%;
  border-collapse:collapse;
}
td, th{
  padding:10px 10px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}
th{ text-align:left; color:var(--text); font-weight:700; background:rgba(15, 23, 42, 0.02) }

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:var(--muted);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer-right{font-size:13px}

/* Responsive */
@media (max-width: 900px){
  .grid-2{grid-template-columns:1fr}
  .member-list{grid-template-columns:1fr}
  .header-inner{flex-direction:column; align-items:flex-start}
  .nav{justify-content:flex-start;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.focus-list li{
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(255,255,255,0.6);
}
.focus-list strong{
  font-size:1.05rem;
}



/* --- FIU brand accents (colors per FIU Brand Style Guide) --- */
.site-header{
  background: var(--card);
  border-bottom: 3px solid var(--fiu-gold);
}
.nav{
  justify-content:flex-start;
}
.nav-link{
  color: var(--fiu-blue);
  font-weight: 600;
}
.nav-link:hover{
  color: var(--fiu-blue);
}
.nav-link.active{
  border-bottom-color: var(--fiu-gold);
}

/* Homepage hero */
.hero-inner{
  display:flex;
  gap:28px;
  align-items:flex-start;
  justify-content:center;
}
.hero-media{
  flex:0 0 auto;
}
.hero-img{
  width: 190px;
  height: 190px;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  border: 4px solid rgba(8,30,63,.10);
  box-shadow: var(--shadow);
  display:block;
}
.hero-text{
  max-width: 720px;
  padding-top: 6px; /* aligns title to top of image */
}
.hero-title{
  font-size: 2.1rem;
  line-height: 1.1;
  color: var(--fiu-blue);
  margin: 0 0 10px 0;
  letter-spacing: .2px;
}
.hero-tagline{
  font-size: 2.8rem;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  max-width: 44rem;
}

/* Focus links + news list */
.focus-link{
  color: var(--fiu-blue);
  text-decoration: none;
}
.focus-link:hover{
  text-decoration: underline;
  text-decoration-color: var(--fiu-gold);
  text-underline-offset: 3px;
}
.news-list{
  margin: 0;
  padding-left: 1.1rem;
}
.news-list li{
  margin: .35rem 0;
}

/* Make focus list sections in Research page readable */
.focus-list > li{
  margin: .5rem 0 .7rem 0;
}
.focus-list > li > h2{
  margin: 0 0 .35rem 0;
  color: var(--fiu-blue);
}

/* Responsive */
@media (max-width: 860px){
  .hero-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-text{
    padding-top: 0;
  }
  .hero-tagline{
    margin-top: 4px;
  }
}


/* Hero (Home) — centered layout */
.hero-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:14px;
}
.hero-labname{
  font-weight:800;
  letter-spacing:0.2px;
  font-size:2.6rem;
  margin:0;
  color:var(--text);
}
.hero-center .hero-media{
  width:min(520px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 999px;
}
.hero-center .hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
.contact-line{margin:6px 0;}
@media (max-width: 720px){
  .hero-labname{font-size:2.6rem;}
  .hero-center .hero-media{aspect-ratio: 4 / 3;}
}

/* Override: homepage lab name size */
.hero-labname{font-size:56px !important; line-height:1.05;}


/* Alumni list formatting */
.simple-list{list-style:none; padding-left:0; margin:0;}
.simple-list li{margin:0 0 12px 0;}
.simple-list li strong{font-weight:700;}

