:root {
  --bg-deep: #081a2b;
  --bg-mid: #10304a;
  --bg-soft: #edf3f8;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --accent: #d4a540;
  --accent-dark: #b1801c;
  --ink: #12202d;
  --muted: #617287;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 60px rgba(10, 27, 43, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(212, 165, 64, 0.16), transparent 30%),
    linear-gradient(180deg, #f7fafc 0%, #edf3f8 100%);
}

a {
  text-decoration: none;
}

#mainNav {
  padding: 1rem 0;
  background: rgba(8, 26, 43, 0.62);
  backdrop-filter: blur(18px);
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#mainNav.navbar-scrolled {
  padding: 0.65rem 0;
  background: rgba(8, 26, 43, 0.9);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  font-weight: 700;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #fff;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #f2d28b);
  color: var(--bg-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-text {
  max-width: 260px;
  line-height: 1.1;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-left: 0.75rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 26, 43, 0.96), rgba(16, 48, 74, 0.84)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  color: #fff;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 165, 64, 0.35), transparent 22%),
    radial-gradient(circle at 85% 25%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(8, 26, 43, 0.08), rgba(8, 26, 43, 0.35));
}

.eyebrow,
.section-tag,
.panel-kicker,
.leader-badge {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
}

.eyebrow,
.section-tag {
  color: var(--accent);
}

.hero-section h1,
.section-heading h2,
.section-intro h2,
.leader-card h2,
.opportunity-panel h2 {
  font-family: "Playfair Display", serif;
}

.hero-section h1 {
  max-width: 760px;
  margin: 1rem 0 1.25rem;
  line-height: 0.98;
}

.hero-copy {
  max-width: 640px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #f0c669);
  border: none;
  color: var(--bg-deep);
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(212, 165, 64, 0.3);
}

.btn-accent:hover,
.btn-accent:focus {
  background: linear-gradient(135deg, #e0b456, #f4d48a);
  color: var(--bg-deep);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat-card,
.hero-panel,
.research-card,
.leader-card,
.opportunity-panel,
.contact-panel,
.contact-card,
.info-card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.hero-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.hero-panel h2 {
  font-size: 2rem;
  margin: 0.75rem 0 1rem;
}

.hero-panel p {
  color: #43556a;
}

.panel-kicker {
  color: var(--accent-dark);
}

.panel-list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
}

.panel-list li {
  margin-bottom: 0.75rem;
  color: #43556a;
}

.section-block {
  position: relative;
  padding: 6rem 0;
}

.section-light {
  background: transparent;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(8, 26, 43, 0.98), rgba(12, 38, 58, 0.97)),
    linear-gradient(135deg, rgba(212, 165, 64, 0.05), transparent 40%);
  color: #fff;
}

.section-accent {
  background:
    linear-gradient(135deg, rgba(212, 165, 64, 0.12), rgba(255, 255, 255, 0.65)),
    linear-gradient(180deg, #f7fbff, #edf3f8);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading p,
.section-intro p,
.contact-note {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-dark .section-heading p,
.section-dark .section-intro p,
.section-dark .contact-note {
  color: rgba(255, 255, 255, 0.74);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card {
  height: 100%;
  padding: 1.6rem;
  background: var(--surface-strong);
  border: 1px solid rgba(8, 26, 43, 0.05);
}

.info-card h3,
.research-card h3,
.timeline-item h3,
.contact-panel h3,
.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.info-card p,
.research-card p,
.timeline-item p,
.contact-panel p,
.contact-card p {
  margin-bottom: 0;
  color: #55687c;
}

.research-card {
  height: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.research-card p {
  color: rgba(255, 255, 255, 0.76);
}

.research-index {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.leader-card {
  padding: 2.2rem;
  background:
    linear-gradient(160deg, rgba(8, 26, 43, 0.96), rgba(17, 53, 81, 0.92));
  color: #fff;
}

.leader-role,
.leader-dept,
.leader-school {
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
}

.leader-badge {
  color: #f7d484;
}

.opportunity-panel,
.contact-panel,
.contact-card {
  height: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.92);
}

.timeline-list {
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 1.5rem 1.4rem;
  border-left: 2px solid rgba(212, 165, 64, 0.45);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.contact-section .section-intro p {
  font-size: 1.08rem;
}

.site-footer {
  padding: 1.4rem 0;
  background: #061420;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(8, 26, 43, 0.92);
  }

  .nav-link {
    margin-left: 0;
    padding: 0.8rem 0;
  }

  .hero-section h1 {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }

  .hero-stats,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .brand-text {
    max-width: 190px;
    font-size: 0.95rem;
  }
}

@media (max-width: 767.98px) {
  .section-block {
    padding: 4.5rem 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel,
  .leader-card,
  .opportunity-panel,
  .contact-panel,
  .contact-card,
  .research-card,
  .info-card {
    padding: 1.5rem;
  }
}
