/* ===========================================================
   Power Quality & Resilience Lab — Revamp
   Shared stylesheet
   =========================================================== */

:root {
  --navy: #0b1f3a;
  --navy-2: #12294b;
  --blue: #1a4d8f;
  --blue-bright: #2f6fd0;
  --accent: #f4a531;      /* electric amber */
  --accent-2: #22b8cf;    /* teal */
  --ink: #1a2230;
  --muted: #5a6577;
  --line: #e3e8ef;
  --bg: #f6f8fb;
  --card: #ffffff;
  --cream: #fdf9d8;        /* OU cream — logo panel background */
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, 0.16);
  --maxw: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ffcf7a);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(244,165,49,0.35);
}
.brand .brand-txt small {
  display: block;
  font-weight: 500;
  font-size: 11.5px;
  color: #9fb4d4;
  letter-spacing: 0.4px;
}
.brand .brand-txt strong { font-size: 15px; }

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.menu a {
  color: #d7e2f2;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.menu a:hover { background: rgba(255,255,255,0.08); color: #fff; text-decoration: none; }
.menu a.active { color: var(--navy); background: var(--accent); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 6px 8px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu {
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 10px 14px 16px;
    gap: 2px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .menu.open { display: flex; }
  .menu a { padding: 12px 14px; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(47,111,208,0.45), transparent 60%),
    radial-gradient(900px 500px at 0% 120%, rgba(34,184,207,0.25), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0a1830 100%);
  overflow: hidden;
}
.hero::after, .page-head::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.085) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(1100px 560px at 80% -10%, #000 42%, transparent 88%);
  mask-image: radial-gradient(1100px 560px at 80% -10%, #000 42%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}
/* Subtle lightning in the hero — occasional, irregular flashes */
.hero-lightning { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-lightning svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-flash {
  position: absolute; inset: 0;
  background: radial-gradient(680px 460px at 70% 4%, rgba(150,190,255,0.55), transparent 70%);
  mix-blend-mode: screen; opacity: 0;
  animation: hero-sheet 9s ease-out infinite;
}
.bolt {
  fill: none; stroke: #eaf2ff; stroke-width: 2.2;
  stroke-linejoin: round; stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(140,190,255,0.9)) drop-shadow(0 0 16px rgba(90,150,255,0.55));
}
.bolt-1 { animation: hero-strike-1 9s ease-out infinite; }
.bolt-2 { animation: hero-strike-2 13s ease-out infinite; }
/* Flashes occupy a tiny slice of a long cycle → present but not distracting.
   Double-flicker mimics a real strike; coprime durations keep it irregular. */
@keyframes hero-sheet {
  0%, 100% { opacity: 0; }
  1.4% { opacity: 0.42; } 2.6% { opacity: 0.05; } 3.6% { opacity: 0.28; } 5.2% { opacity: 0; }
}
@keyframes hero-strike-1 {
  0%, 100% { opacity: 0; }
  1.4% { opacity: 0.72; } 2.6% { opacity: 0.07; } 3.6% { opacity: 0.55; } 5.2% { opacity: 0; }
}
@keyframes hero-strike-2 {
  0%, 100% { opacity: 0; }
  2.2% { opacity: 0.42; } 3.2% { opacity: 0.04; } 4.0% { opacity: 0.3; } 5.4% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-flash, .bolt { animation: none; opacity: 0; }
}
.hero-inner { position: relative; z-index: 1; padding: 74px 0 82px; }
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 18ch;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hero p.lead {
  font-size: clamp(16px, 2.1vw, 19px);
  max-width: 62ch;
  color: #cfdcf0;
  margin: 0 0 30px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s;
}
.btn-primary { background: var(--accent); color: var(--navy); }
.btn-primary:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(244,165,49,0.35); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { text-decoration: none; background: rgba(255,255,255,0.14); }

/* ---------------- Page header (interior) ---------------- */
.page-head {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 380px at 85% -30%, rgba(47,111,208,0.5), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  padding: 52px 0 46px;
}
.page-head .container { position: relative; z-index: 1; }
.page-head .eyebrow { margin-bottom: 10px; }
.page-head h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.5px; }
.page-head p { color: #cfdcf0; max-width: 66ch; margin: 14px 0 0; font-size: 16.5px; }

/* Logo on the right side of a banner (hero + page-head). Desktop only so it
   never crowds the text; kept modest so it doesn't cover much of the lightning. */
.banner-logo {
  position: absolute;
  top: 50%;
  right: max(22px, calc(50vw - 538px));
  transform: translateY(-50%);
  z-index: 1;
  background: var(--cream);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.28);
}
.banner-logo img { display: block; height: 58px; width: auto; }
@media (max-width: 1040px) { .banner-logo { display: none; } }

/* ---------------- Sections ---------------- */
.section { padding: 62px 0; }
.section.tight { padding: 44px 0; }
.section-alt { background: #fff; }

.section-title {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin: 0 0 8px;
}
.section h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.section .sub { color: var(--muted); max-width: 68ch; margin: 0 0 30px; }

.prose { max-width: 74ch; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin: 6px 0; }

/* ---------------- News article pages (news/<slug>.html) ---------------- */
.news-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cfdcf0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.news-back:hover { color: #fff; text-decoration: none; }
.news-post-meta { color: var(--muted); font-size: 14.5px; margin: 0 0 28px; }

.prose img { border-radius: var(--radius); margin: 6px 0 22px; }
.prose figure { margin: 0 0 22px; }
.prose figure img { margin: 0 0 8px; }
.prose figcaption { font-size: 13px; color: var(--muted); }
.prose blockquote {
  margin: 0 0 20px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--line);
  color: var(--muted);
  font-style: italic;
}
.prose h1 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 4px 0 18px; }
.prose h2, .prose h3 { margin: 30px 0 14px; font-weight: 800; color: var(--navy); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.prose .wp-block-gallery .blocks-gallery-grid,
.prose ul.blocks-gallery-grid {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.prose .blocks-gallery-item { margin: 0; }
.prose .blocks-gallery-item figure { margin: 0; }

.prose .wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: center;
  margin: 0 0 22px;
}
.prose .wp-block-media-text__media { margin: 0; }
.prose .wp-block-media-text__media img { margin: 0; }
@media (max-width: 700px) {
  .prose .wp-block-media-text { grid-template-columns: 1fr; }
}

.divider { height: 1px; background: var(--line); border: 0; margin: 40px 0; }

/* Group / subsection heading with rule */
.group-head {
  display: flex; align-items: center; gap: 16px;
  margin: 46px 0 22px;
}
.group-head:first-of-type { margin-top: 6px; }
.group-head h3 {
  margin: 0; font-size: 21px; font-weight: 800; color: var(--navy);
  white-space: nowrap;
}
.group-head .count {
  font-size: 12.5px; font-weight: 700; color: var(--blue);
  background: #eaf1fb; padding: 3px 10px; border-radius: 20px;
}
.group-head .rule { flex: 1; height: 1px; background: var(--line); }

/* ---------------- Cards grid ---------------- */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

/* Member card */
.member {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .14s, box-shadow .14s, border-color .14s;
}
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfd9e8; }
.member.featured {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(244,165,49,0.18);
}
.member .top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar {
  width: 56px; height: 56px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 19px; color: #fff;
  letter-spacing: .5px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.5);
  position: relative; overflow: hidden;
}
.avatar-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  border-radius: 50%;
}
.avatar.has-photo { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.85); }
.member.featured .avatar { width: 72px; height: 72px; font-size: 24px; }
.member h4 { margin: 0; font-size: 17px; font-weight: 700; }
.member .role { margin: 2px 0 0; font-size: 13px; color: var(--blue); font-weight: 600; }
.member .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  background: #f0f3f8; border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 20px;
}
.chip.pi { color: var(--navy); background: #fdf0d8; border-color: #f6d99a; }
.bio { font-size: 14.2px; color: #3b4657; margin: 0; }

/* Read more */
.collapsible { position: relative; }
.collapsible .more { display: none; }
.collapsible.open .more { display: block; }
.readmore-btn {
  margin-top: 12px;
  align-self: flex-start;
  background: none;
  border: 0;
  color: var(--blue-bright);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex; align-items: center; gap: 5px;
}
.readmore-btn:hover { text-decoration: underline; }
.readmore-btn .arw { transition: transform .15s; }
.collapsible.open .readmore-btn .arw { transform: rotate(180deg); }

.research-note {
  margin-top: 12px;
  padding: 12px 14px;
  background: #f7fafe;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-2);
  border-radius: 8px;
  font-size: 13.4px;
  color: #46525f;
}
.research-note strong { color: var(--navy); display: block; margin-bottom: 3px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------------- News ---------------- */
.news-list {
  display: flex; flex-direction: column; gap: 12px;
  max-height: 464px;            /* ~5 items; the rest scroll */
  overflow-y: auto; overflow-x: hidden;
  padding: 2px 10px 2px 2px;    /* room so cards clear the scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #c3d0e2 transparent;
}
.news-list::-webkit-scrollbar { width: 8px; }
.news-list::-webkit-scrollbar-track { background: transparent; }
.news-list::-webkit-scrollbar-thumb { background: #c3d0e2; border-radius: 8px; }
.news-list::-webkit-scrollbar-thumb:hover { background: #a6b7d0; }
.news-item {
  display: flex; gap: 16px; align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  transition: transform .12s, box-shadow .12s, border-color .12s;
  text-decoration: none; color: inherit;
}
.news-item:hover { transform: translateX(3px); box-shadow: var(--shadow-lg); border-color: #c7d7ee; }
.news-date {
  flex: none;
  width: 92px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  background: #eaf1fb;
  border-radius: 8px;
  padding: 8px 6px;
  line-height: 1.3;
}
.news-item p { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); flex: 1; }
.news-arrow {
  flex: none; color: var(--blue); font-weight: 700; font-size: 18px;
  opacity: .55; transition: opacity .12s, transform .12s;
}
.news-item:hover .news-arrow { opacity: 1; transform: translateX(2px); }
@media (max-width: 520px) {
  .news-item { flex-wrap: wrap; gap: 8px 12px; }
  .news-date { width: auto; align-self: flex-start; }
  .news-arrow { display: none; }
}

/* News article pages */
.article { max-width: 760px; }
.back-link {
  display: inline-block; margin-bottom: 22px;
  font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.post-meta { color: var(--muted); font-size: 14.5px; font-weight: 600; margin: 6px 0 0; }
.article-body p { font-size: 16.5px; line-height: 1.72; color: #26313f; margin: 0 0 20px; }
.article-figure { margin: 8px 0 26px; }
.article-figure img {
  width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef2f7;
}
.article-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
.news-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 8px 0 26px; }
.news-gallery img {
  width: 100%; height: 220px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef2f7;
}

/* ---------------- Research areas ---------------- */
.area {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .14s, box-shadow .14s;
  display: flex; flex-direction: column;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.area-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #dbe4f0, #c4d2e6);
}
.area-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area .num {
  position: absolute; top: 12px; left: 12px;
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  color: #fff; font-weight: 800; font-size: 15px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(11,31,58,0.35);
}
.area-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.area h4 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.32; }
.area .bio { margin: 0; font-size: 13px; }

/* Sponsor logo carousel — horizontal scroll strip with a thin scrollbar (~5 at a time) */
.sponsor-carousel {
  overflow-x: auto; overflow-y: hidden;
  padding: 4px 2px 2px;
  scrollbar-width: none;               /* native bar hidden; custom one shown below */
}
.sponsor-carousel::-webkit-scrollbar { display: none; }
/* Custom always-visible mini scrollbar (native overlay bars auto-hide) */
.sponsor-scrollbar {
  position: relative; height: 8px; margin: 14px auto 0;
  max-width: 340px; background: #e7ecf3; border-radius: 8px;
}
.sponsor-scrollbar-thumb {
  position: absolute; top: 0; left: 0; height: 100%; min-width: 40px;
  background: #9fb0c9; border-radius: 8px; cursor: grab; touch-action: none;
}
.sponsor-scrollbar-thumb:hover { background: #8598b6; }
.sponsor-scrollbar-thumb:active { background: #7f93b3; cursor: grabbing; }
.sponsor-track { display: flex; gap: 18px; width: max-content; }
.sponsor {
  flex: 0 0 auto; width: 200px; height: 100px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); display: grid; place-items: center; padding: 18px 24px;
}
.sponsor img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
@media (max-width: 620px) { .sponsor { width: 158px; height: 88px; padding: 14px 18px; } }

.facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2,1fr); } }
.fact {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px; text-align: center; box-shadow: var(--shadow);
}
.fact .big { font-size: 26px; font-weight: 800; color: var(--navy); }
.fact .lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.spec-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); height: 100%;
}
.spec-card h4 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.spec-card p { margin: 0; font-size: 14.4px; color: #3b4657; }

.tool-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-tags span {
  font-size: 13px; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 8px; box-shadow: var(--shadow);
}

/* ---------------- Faculty ---------------- */
.faculty-top { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
@media (max-width: 760px) { .faculty-top { grid-template-columns: 1fr; } }
.faculty-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.faculty-photo {
  height: 220px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: grid; place-items: center;
  color: #fff; font-size: 60px; font-weight: 800;
  position: relative; overflow: hidden;
}
.faculty-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%;
}
.faculty-card .info { padding: 18px; }
.faculty-card .info h3 { margin: 0 0 3px; font-size: 19px; }
.faculty-card .info .title { color: var(--blue); font-weight: 600; font-size: 13.5px; margin: 0 0 14px; }
.faculty-card .info .row { font-size: 13.5px; color: #46525f; margin: 6px 0; display: flex; gap: 8px; }
.faculty-card .info .row b { color: var(--navy); flex: none; }

.subcard {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 18px;
}
.subcard h3 { margin: 0 0 14px; font-size: 18px; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.subcard h3 .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.4px; }
.timeline li:last-child { border-bottom: 0; }
.timeline li b { color: var(--navy); }
.timeline li span { display: block; color: var(--muted); font-size: 13px; }

.pill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pill-list li { font-size: 14.2px; padding-left: 20px; position: relative; color: #3b4657; }
.pill-list li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }

/* ---------------- Publications ---------------- */
.pub {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 22px; margin-bottom: 18px;
  border-left: 4px solid var(--blue-bright);
  transition: transform .12s, box-shadow .12s;
}
.pub:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pub .meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.pub .year { font-weight: 800; color: #fff; background: var(--blue); padding: 2px 10px; border-radius: 6px; font-size: 12.5px; }
.pub .venue { font-size: 12.5px; font-weight: 600; color: var(--accent-2); background: #e9fbfd; padding: 3px 10px; border-radius: 20px; }
.pub h4 { margin: 0 0 8px; font-size: 17.5px; line-height: 1.35; }
.pub .authors { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.pub .authors b { color: var(--navy); }
.pub .abs { font-size: 14.2px; color: #3b4657; margin: 0 0 12px; }
.pub .links a { font-size: 13.5px; font-weight: 700; margin-right: 16px; }

.callout {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius); padding: 26px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.callout h3 { margin: 0 0 4px; font-size: 19px; }
.callout p { margin: 0; color: #cfdcf0; font-size: 14.5px; }

/* ---------------- Videos (coming soon) ---------------- */
.coming-soon {
  text-align: center;
  padding: 70px 24px;
  background: var(--card);
  border: 2px dashed #cdd8e6;
  border-radius: var(--radius);
}
.coming-soon .ico { font-size: 54px; margin-bottom: 10px; }
.coming-soon h3 { margin: 0 0 8px; font-size: 24px; color: var(--navy); }
.coming-soon p { color: var(--muted); max-width: 52ch; margin: 0 auto; }
.video-skeletons { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 34px; }
@media (max-width: 720px) { .video-skeletons { grid-template-columns: 1fr; } }
.vskel {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: linear-gradient(110deg, #eef2f7 30%, #f7fafd 50%, #eef2f7 70%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite linear;
  display: grid; place-items: center;
  color: #b5c1d1; font-size: 34px;
  border: 1px solid var(--line);
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy);
  color: #b9c6da;
  padding: 42px 0 26px;
  margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.footer-logo {
  display: inline-block;
  background: var(--cream);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.footer-logo:hover { text-decoration: none; }
.footer-logo img { display: block; height: 44px; width: auto; }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 12px; }
.site-footer a { color: #b9c6da; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.footer-bottom {
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12.5px; color: #8798b3;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
}

.video-section { padding: 0; margin-top: 0; }
.video-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  aspect-ratio: 16 / 9;
  max-height: 560px;
  width: 100%;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .video-frame video { display: none; }
}

/* draft banner */
