:root {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

::selection {
  background: rgba(23, 107, 135, 0.18);
}

.nav-link {
  position: relative;
  transition: color 160ms ease;
}

.nav-link::after {
  background: #176b87;
  bottom: -8px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.nav-link:hover {
  color: #176b87;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.hero-band {
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.94), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at 14% 20%, rgba(74, 168, 140, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #eef5f3 100%);
}

.eyebrow {
  color: #176b87;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-band {
  padding: 5.5rem 0;
}

.section-title {
  color: #17212b;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  margin-top: 0.85rem;
}

.section-lead {
  color: #52616f;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-top: 1rem;
}

.btn-primary,
.btn-secondary,
.btn-light,
.btn-outline-light {
  align-items: center;
  border-radius: 0.375rem;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.1rem;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease, color 160ms ease;
}

.btn-primary {
  background: #176b87;
  color: #fff;
}

.btn-primary:hover,
.btn-light:hover {
  background: #17212b;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border: 1px solid #dbe3ea;
  color: #17212b;
}

.btn-secondary:hover {
  border-color: #176b87;
  color: #176b87;
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: #17212b;
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.metric {
  border-left: 3px solid #4aa88c;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.85rem 0.9rem;
}

.metric dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.metric dd {
  color: #17212b;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0.2rem;
}

.profile-panel {
  aspect-ratio: 4 / 4.35;
  background: #17212b;
  border-radius: 0.5rem;
  box-shadow: 0 28px 80px rgba(23, 33, 43, 0.18);
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.profile-image {
  filter: saturate(0.95) contrast(1.04);
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.profile-caption {
  background: linear-gradient(180deg, transparent, rgba(23, 33, 43, 0.88));
  bottom: 0;
  left: 0;
  padding: 5rem 1.5rem 1.4rem;
  position: absolute;
  right: 0;
}

.info-tile,
.research-card,
.service-item {
  border: 1px solid #dbe3ea;
  background: #fff;
  border-radius: 0.5rem;
}

.info-tile {
  align-items: center;
  display: flex;
  font-weight: 700;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 1rem;
}

.research-card {
  min-height: 15rem;
  padding: 1.35rem;
}

.research-card h3 {
  color: #17212b;
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 1.1rem;
}

.research-card p {
  color: #52616f;
  line-height: 1.75;
  margin-top: 0.65rem;
}

.publication-list {
  counter-reset: pub-counter;
}

.publication-list li {
  border-bottom: 1px solid #edf1f5;
  color: #334155;
  counter-increment: pub-counter;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 2.6rem 1fr;
  line-height: 1.75;
  padding: 1rem 1.2rem;
}

.publication-list li::before {
  color: #176b87;
  content: counter(pub-counter, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 800;
  padding-top: 0.15rem;
}

.publication-list li:last-child {
  border-bottom: 0;
}

.timeline {
  border-left: 2px solid #dbe3ea;
  padding-left: 1.5rem;
}

.timeline article {
  margin-bottom: 1.65rem;
  position: relative;
}

.timeline article::before {
  background: #4aa88c;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #dbe3ea;
  content: "";
  height: 1rem;
  left: -2.05rem;
  position: absolute;
  top: 0.2rem;
  width: 1rem;
}

.timeline span {
  color: #176b87;
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.timeline h3 {
  color: #17212b;
  font-size: 1.1rem;
  font-weight: 800;
}

.timeline p {
  color: #52616f;
  line-height: 1.75;
  margin-top: 0.45rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 8.5rem;
  padding: 1.25rem;
}

.service-item strong {
  color: #17212b;
  font-size: 1.1rem;
}

.service-item span {
  color: #64748b;
  font-weight: 700;
}

.contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  padding: 1.4rem;
}

.contact-box p {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.84);
  display: flex;
  gap: 0.75rem;
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.contact-box svg {
  color: #4aa88c;
  flex: 0 0 auto;
  height: 1.1rem;
  margin-top: 0.35rem;
  width: 1.1rem;
}

.contact-box a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

@media (max-width: 767px) {
  .section-band {
    padding: 4rem 0;
  }

  .profile-panel {
    aspect-ratio: 1 / 1;
    min-height: 280px;
  }

  .publication-list li {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}
