/* ============================================================
   OLADIMEJI FARRI — Personal Website
   oladimejifarri.com
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy:        #0a1628;
  --navy-mid:    #0d2040;
  --navy-light:  #122654;
  --gold:        #c9a84c;
  --gold-light:  #e8c96c;
  --gold-pale:   #f5e6b8;
  --white:       #ffffff;
  --off-white:   #f8f9fc;
  --text-primary:   #1a2642;
  --text-secondary: #4a5568;
  --text-muted:     #718096;
  --border:      #e2e8f0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.14);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-full: 9999px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:'Playfair Display', Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text-primary); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ---------- Utilities ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.12);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn i { font-size: 0.85rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.logo-dot { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link.active { color: var(--gold-light); }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201,168,76,0.35);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.5);
  background: rgba(255,255,255,0.1) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   LANDING / ABOUT SECTION
   ============================================================ */
.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding-bottom: 0;
}

.landing-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 35%, rgba(201,168,76,0.1) 0%, transparent 55%),
    linear-gradient(135deg, #0a1628 0%, #0d2040 50%, #122654 100%);
}

.landing-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.landing-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  width: 100%;
}

/* --- Left: Content --- */
.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.landing-badge i { font-size: 0.85rem; }

.landing-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.5vw, 5.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.landing-name-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-credentials {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.landing-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.landing-bio {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 560px;
}

.landing-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.landing-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.landing-highlights li i {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.landing-highlights em { color: rgba(255,255,255,0.85); font-style: italic; }

.landing-edu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.edu-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.edu-pill i { color: var(--gold); font-size: 0.8rem; }

.landing-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Right: Photo --- */
.landing-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing-photo-ring {
  position: absolute;
  width: 108%;
  height: 108%;
  border: 2px solid rgba(201,168,76,0.2);
  border-radius: 50% 40% 60% 45% / 50% 55% 45% 50%;
  animation: morphRing 9s ease-in-out infinite;
}

@keyframes morphRing {
  0%, 100% { border-radius: 50% 40% 60% 45% / 50% 55% 45% 50%; }
  33%       { border-radius: 45% 55% 45% 55% / 55% 45% 55% 45%; }
  66%       { border-radius: 55% 45% 55% 45% / 45% 55% 45% 55%; }
}

.landing-photo-frame {
  width: 400px;
  height: 500px;
  border-radius: 50% 40% 55% 40% / 45% 50% 50% 45%;
  overflow: hidden;
  border: 3px solid rgba(201,168,76,0.4);
  box-shadow: 0 0 0 8px rgba(201,168,76,0.08), 0 30px 80px rgba(0,0,0,0.5);
  animation: morphPhoto 9s ease-in-out infinite;
}

@keyframes morphPhoto {
  0%, 100% { border-radius: 50% 40% 55% 40% / 45% 50% 50% 45%; }
  33%       { border-radius: 40% 55% 40% 55% / 55% 40% 55% 40%; }
  66%       { border-radius: 55% 40% 55% 40% / 40% 55% 40% 55%; }
}

.landing-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* --- Stats bar --- */
.landing-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 28px 24px;
  margin-top: auto;
}

.lstat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.lstat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.lstat-plus {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
}

.lstat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 5px;
}

.lstat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.5;
  transition: opacity var(--transition);
  animation: bounce 2.2s ease-in-out infinite;
}

.scroll-indicator:hover { opacity: 1; }

.scroll-mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px; height: 8px;
  background: rgba(255,255,255,0.65);
  border-radius: 2px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   EXPERIENCE — INTERACTIVE TIMELINE
   ============================================================ */
.experience {
  padding: 120px 0;
  background: var(--white);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 28px;
  position: relative;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  flex-shrink: 0;
}

.node-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  border: 2px solid rgba(201,168,76,0.4);
  flex-shrink: 0;
  z-index: 1;
  transition: all var(--transition);
}

.node-dot.active,
.timeline-item:has(.timeline-header.open) .node-dot {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,168,76,0.18);
}

.node-line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(201,168,76,0.15) 100%);
  margin-top: 6px;
}

/* --- Timeline card --- */
.timeline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.timeline-card:has(.timeline-header.open) {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 6px 32px rgba(201,168,76,0.1);
}

/* --- Timeline header (always visible, clickable) --- */
.timeline-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  text-align: left;
  transition: background var(--transition);
}

.timeline-header:hover {
  background: rgba(201,168,76,0.03);
}

.timeline-header.open {
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 100%);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.th-left { flex: 1; }

.th-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.th-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.current-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.th-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.th-company {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.th-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.th-location i { color: var(--gold); font-size: 0.72rem; }

.th-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.th-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
  transition: all var(--transition);
  background: var(--off-white);
}

.th-toggle i {
  font-size: 0.8rem;
  color: var(--gold);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-header.open .th-toggle {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.3);
}

.timeline-header.open .th-toggle i {
  transform: rotate(180deg);
}

/* --- Timeline details (expand/collapse) --- */
.timeline-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

.timeline-details.open {
  max-height: 1400px;
  opacity: 1;
}

.detail-bullets {
  padding: 24px 28px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-bullets li {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.detail-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.detail-bullets strong { color: var(--text-primary); font-weight: 600; }

/* --- Impact row inside timeline --- */
.impact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 28px 24px;
}

.impact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(10,22,40,0.04);
  border: 1px solid rgba(10,22,40,0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.impact-chip.highlight {
  background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, rgba(232,201,108,0.08) 100%);
  border-color: rgba(201,168,76,0.3);
}

.impact-chip i {
  font-size: 0.85rem;
  color: var(--gold);
  width: 16px;
  text-align: center;
}

.impact-chip.highlight i { color: var(--gold); }

.ic-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font-display);
  line-height: 1;
}

.impact-chip.highlight .ic-num { color: var(--gold); }

.ic-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise {
  padding: 120px 0;
  background: var(--off-white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.expertise-card:hover::before { transform: scaleX(1); }

.expertise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(201,168,76,0.2);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.expertise-icon i {
  font-size: 1.2rem;
  color: var(--gold-light);
}

.expertise-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.expertise-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   SCIENTIFIC LEADERSHIP
   ============================================================ */
.science {
  padding: 120px 0;
  background: var(--white);
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.science-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.science-stat-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.science-stat-number {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.science-stat-number span { font-size: 1.8rem; color: var(--gold); }

.science-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}

.science-content { display: flex; flex-direction: column; gap: 40px; }

.science-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.science-heading::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--gold);
}

.publication-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  transition: all var(--transition);
}

.publication-item:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-sm);
}

.pub-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-icon i { font-size: 0.85rem; color: var(--gold-light); }

.pub-title {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.pub-title em { color: var(--navy); font-style: italic; }

.pub-venue {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.reviewer-list { display: flex; flex-wrap: wrap; gap: 8px; }

.reviewer-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: rgba(10,22,40,0.06);
  border: 1px solid rgba(10,22,40,0.1);
  padding: 5px 13px;
  border-radius: var(--radius-full);
}

.scholar-links { display: flex; gap: 10px; flex-wrap: wrap; }

.scholar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: all var(--transition);
}

.scholar-link i { font-size: 0.78rem; }

.scholar-link:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.edu-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.edu-item:last-child { border-bottom: none; }

.edu-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.edu-degree {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.edu-school {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 120px 0; background: var(--off-white); }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--border);
}

.contact-content { padding: 60px; }

.contact-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-items { display: flex; flex-direction: column; gap: 14px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.04);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-item-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon i { font-size: 1rem; color: var(--gold-light); }

.contact-item-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-photo-wrap {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.contact-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 60%);
}

.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0.75;
  mix-blend-mode: luminosity;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); padding: 44px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.08em;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold-light); }

.footer-copy { text-align: right; }

.footer-copy p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-animate="fade-left"]  { transform: translateX(36px); }
[data-animate="fade-right"] { transform: translateX(-36px); }

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .landing-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-top: 110px;
  }

  .landing-highlights { align-items: center; }
  .landing-highlights li { justify-content: center; text-align: left; }
  .landing-edu { justify-content: center; }
  .landing-actions { justify-content: center; }
  .landing-bio { margin: 0 auto 28px; }
  .landing-badge { margin: 0 auto 24px; }

  .landing-photo-wrap { order: -1; }
  .landing-photo-frame { width: 280px; height: 360px; }

  .landing-stats { flex-wrap: wrap; gap: 8px; }
  .lstat-item { min-width: 120px; }
  .lstat-divider { display: none; }

  .science-grid { grid-template-columns: 1fr; }
  .science-stats { flex-direction: row; position: static; }
  .science-stat-card { flex: 1; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-photo-wrap { height: 300px; order: -1; }
  .contact-content { padding: 40px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,22,40,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 999;
  }

  .nav-menu.open { display: flex; }
  .nav-link { font-size: 1.15rem; padding: 12px 32px; }

  .expertise-grid { grid-template-columns: 1fr; }
  .science-stats { flex-direction: column; }

  .timeline-item { grid-template-columns: 28px 1fr; gap: 14px; }
  .timeline-header { padding: 18px 20px; }
  .detail-bullets { padding: 18px 20px 6px; }
  .impact-row { padding: 12px 20px 20px; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .landing-photo-frame { width: 240px; height: 300px; }
  .contact-content { padding: 28px 22px; }
  .science-stats { flex-direction: column; }
}
