:root {
  --navy: #0b2545;
  --teal: #0f8b8d;
  --teal-light: #e6f4f4;
  --ink: #1b1f23;
  --muted: #5b6b79;
  --bg-alt: #f5f8fa;
  --border: #e1e8ec;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
}
.main-nav { display: flex; align-items: center; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--teal); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy), #123a63);
  color: var(--white);
  padding: 72px 0;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-photo-wrap { flex: 0 0 200px; }
.hero-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.25);
  background: var(--white);
}
.hero-text { flex: 1; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: var(--teal-light);
  margin-bottom: 8px;
}
.hero-text h1 {
  font-size: 2.6rem;
  margin: 0 0 12px;
}
.hero-sub {
  color: #cdd9e5;
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.hero-cta { display: flex; gap: 16px; }
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 28px;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
}

.placeholder-text {
  color: var(--muted);
  font-style: italic;
  max-width: 760px;
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  border-radius: 6px;
}

.pub-dense {
  columns: 2;
  column-gap: 40px;
  margin-top: 20px;
}
.pub-dense li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: block;
  padding: 10px 0;
  margin-bottom: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: none;
}
.pub-dense li:last-child { border-bottom: none; }
.pub-dense .pub-title { display: block; font-size: 0.92rem; font-weight: 600; }
.pub-dense .pub-meta { display: block; font-size: 0.8rem; margin-top: 2px; }

@media (max-width: 720px) {
  .pub-dense { columns: 1; }
}

.pub-group-title {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 32px 0 8px;
}
.pub-group-title:first-of-type { margin-top: 8px; }

.list-hint {
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 16px;
}

/* Credentials */
.credentials-grid, .expertise-grid, .apps-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.credential-card, .expertise-card, .app-card, .testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.section-alt .credential-card,
.section-alt .expertise-card { background: var(--white); }

.credential-card h3, .expertise-card h3, .app-card h3 {
  color: var(--navy);
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.credential-card p, .expertise-card p, .app-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.92rem;
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-bottom: 14px;
  font-weight: 700;
}
.app-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Publications */
.publications-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.publications-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.pub-title { font-weight: 600; color: var(--ink); }
.pub-meta { color: var(--muted); font-size: 0.88rem; }
.pub-link {
  margin-left: auto;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-card h3 {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--navy);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.gallery-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--teal-light);
}
.gallery-item p {
  padding: 12px 14px;
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Testimonials */
.testimonial-card .quote {
  font-style: italic;
  color: var(--ink);
  margin: 0 0 12px;
}
.testimonial-card .author {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Contact */
.contact-info p { font-size: 1.05rem; }
.contact-info a { color: var(--teal); text-decoration: none; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cdd9e5;
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    display: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-text h1 { font-size: 2.1rem; }
}
