/* ================================================================
   Dr. Folorunsho Bright Omage — v3 — Full Interactive Design
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #050810;
  --bg2:       #080d1a;
  --bg3:       #0d1526;
  --surface:   #111827;
  --surface2:  #1a2540;
  --border:    rgba(255,255,255,.07);
  --border2:   rgba(255,255,255,.12);
  --text:      #f0f4ff;
  --text2:     rgba(240,244,255,.7);
  --text3:     rgba(240,244,255,.4);
  --gold:      #d4a017;
  --gold2:     #f0c84a;
  --blue:      #3b82f6;
  --blue2:     #60a5fa;
  --purple:    #8b5cf6;
  --green:     #10b981;
  --light-bg:  #f8faff;
  --light-text:#0d1526;
  --light-sub: #4a5568;
  --light-bdr: #e2e8f0;
  --max:       1160px;
  --r:         14px;
  --r2:        20px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--text); }

/* ── LOADER ────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-dna {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.dna-strand {
  width: 60px;
  height: 60px;
  border: 3px solid transparent;
  border-top-color: var(--gold);
  border-right-color: var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.dna-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: .85rem;
  color: var(--text3);
  letter-spacing: .1em;
}

.dots::after {
  content: '';
  animation: dotdot 1.5s steps(4, end) infinite;
}
@keyframes dotdot {
  0%   { content: ''; }
  25%  { content: '.'; }
  50%  { content: '..'; }
  75%  { content: '...'; }
  100% { content: ''; }
}

/* ── CANVAS ────────────────────────────────── */
#mol-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* ── NAVBAR ────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  background: rgba(5,8,16,.0);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: all .3s;
}

#navbar.scrolled {
  background: rgba(5,8,16,.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
}
.nav-dot { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text3);
  letter-spacing: .03em;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

/* ── HERO ──────────────────────────────────── */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 80px;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
  color: #6ee7b7;
  margin-bottom: 24px;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

/* Name */
.hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.05;
  margin-bottom: 14px;
}
.name-first {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--text);
}
.name-last {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold2) 50%, var(--blue2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: 1rem;
  color: var(--text3);
  font-weight: 400;
  letter-spacing: .04em;
  margin-bottom: 36px;
  text-transform: uppercase;
  font-size: .82rem;
}

/* Affiliation items */
.hero-affiliations { margin-bottom: 40px; display: flex; flex-direction: column; gap: 10px; }

.ha-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  transition: border-color .2s, background .2s;
}
.ha-item:hover {
  border-color: var(--border2);
  background: rgba(255,255,255,.04);
}

.ha-icon { font-size: 1.3rem; }

.ha-role {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.ha-inst {
  font-size: .8rem;
  color: var(--text3);
  line-height: 1.3;
}

.ha-primary { border-color: rgba(212,160,23,.2); background: rgba(212,160,23,.04); }
.ha-secondary { border-color: rgba(59,130,246,.2); background: rgba(59,130,246,.04); }
.ha-tertiary { border-color: rgba(139,92,246,.2); background: rgba(139,92,246,.04); }

/* Buttons */
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: linear-gradient(135deg, var(--gold) 0%, #e8b82a 100%);
  color: #000;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  transition: all .2s;
  box-shadow: 0 4px 24px rgba(212,160,23,.3);
}
.btn-primary svg { width: 16px; height: 16px; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,160,23,.45);
  text-decoration: none;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text2);
  transition: all .2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold2);
  text-decoration: none;
}

/* Photo frame */
.photo-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.photo-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,160,23,.25) 0%, rgba(59,130,246,.15) 50%, transparent 70%);
  border-radius: 50%;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.photo-ring {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 50%, var(--purple) 100%);
  z-index: 1;
  animation: ring-rotate 8s linear infinite;
}

@keyframes ring-rotate {
  to { background-position: 200% center; }
}

.hero-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.photo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
}

/* Orbiting dots */
.photo-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.12);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.orbit-1 { width: 300px; height: 300px; animation: orbit 12s linear infinite; }
.orbit-2 { width: 360px; height: 360px; animation: orbit 18s linear infinite reverse; }
.orbit-3 { width: 420px; height: 420px; animation: orbit 24s linear infinite; }

@keyframes orbit { to { transform: rotate(360deg); } }

.orbit-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  margin-top: -5px;
}
.orbit-dot.dna  { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.orbit-dot.mol  { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.orbit-dot.ai   { background: var(--purple); box-shadow: 0 0 8px var(--purple); }

/* Stat cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 12px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}
.stat-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: .72rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.scroll-hint span {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text3);
}

/* ── SECTIONS ──────────────────────────────── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 48px;
}

.section-dark { background: var(--bg2); }
.section-muted { background: var(--light-bg); color: var(--light-text); }
.section-muted .section-tag { color: var(--blue); }
.section-muted .section-title { color: var(--light-text); }
.section-muted .section-sub { color: var(--light-sub); }
.section-muted a { color: var(--blue); }

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

.section-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-tag.light { color: var(--gold2); }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-title.light { color: var(--text); }

.section-sub {
  font-size: 1.02rem;
  color: var(--text2);
  max-width: 600px;
  margin-bottom: 56px;
  line-height: 1.75;
}
.section-sub.light { color: var(--text2); }
.section-sub a { color: var(--blue2); }

/* ── ABOUT ─────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--text2);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-text p:last-of-type { margin-bottom: 24px; }
.about-text strong { color: var(--text); }

.orcid-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(166,206,57,.08);
  border: 1px solid rgba(166,206,57,.2);
  border-radius: 8px;
  font-size: .85rem;
  color: #a6ce39;
  transition: all .2s;
}
.orcid-link a:hover {
  background: rgba(166,206,57,.14);
  text-decoration: none;
}
.orcid-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #a6ce39;
  color: #000;
  font-size: .65rem;
  font-weight: 700;
  border-radius: 50%;
}

.about-cards { display: flex; flex-direction: column; gap: 14px; }

.acard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.acard:hover {
  border-color: var(--border2);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.acard-flag {
  width: 5px;
  flex-shrink: 0;
}
.flag-br { background: linear-gradient(to bottom, #009c3b 33%, #ffdf00 33%, #ffdf00 66%, #009c3b 66%); }
.flag-uk { background: linear-gradient(to bottom, #012169 33%, #C8102E 33%, #C8102E 66%, #012169 66%); }

.acard-body { padding: 16px 18px; }

.acard-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text3);
  margin-bottom: 6px;
}
.acard-role {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.acard-inst {
  font-size: .88rem;
  color: var(--text2);
}
.acard-dept {
  font-size: .82rem;
  color: var(--text3);
}
.acard-sup {
  font-size: .78rem;
  color: var(--gold);
  margin-top: 6px;
}

/* ── RESEARCH ──────────────────────────────── */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rcard {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px;
  transition: all .25s;
  cursor: default;
}
.rcard:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.rcard-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.rcard-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text3);
}

.rcard-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--ic) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--ic) 30%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ic);
}
.rcard-icon svg { width: 20px; height: 20px; }

.rcard h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.rcard p {
  font-size: .88rem;
  color: var(--text3);
  line-height: 1.65;
  margin-bottom: 20px;
}

.rcard-bar {
  height: 3px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.rcard-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 100%);
  border-radius: 2px;
  transition: width 1.2s ease;
}
.rcard.in-view .rcard-bar::after { width: var(--progress); }

/* ── PUBLICATIONS ──────────────────────────── */
.pub-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 20px;
}

.pub-entry {
  display: grid;
  grid-template-columns: 60px 40px 1fr;
  gap: 0;
  align-items: start;
}

.pub-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  padding-top: 20px;
  text-align: right;
  padding-right: 12px;
}

.pub-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
}

.pub-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pub-dot.dimmed {
  background: var(--surface2);
  box-shadow: none;
  border: 2px solid var(--border2);
}
.pub-connector::after {
  content: '';
  flex: 1;
  width: 1px;
  background: var(--border2);
  min-height: 32px;
}
.pub-entry:last-child .pub-connector::after { display: none; }

.pub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 24px;
  margin: 12px 0 24px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.pub-card:hover {
  border-color: var(--border2);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.pub-journal {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue2);
  margin-bottom: 8px;
}

.pub-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 10px;
}

.pub-meta {
  font-size: .84rem;
  color: var(--text3);
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
}

.pub-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  transition: color .2s;
}
.pub-link:hover { color: var(--gold2); text-decoration: none; }

.pub-more .pub-card {
  background: transparent;
  border-style: dashed;
}
.pub-more .pub-card p {
  color: var(--text3);
  font-size: .9rem;
}
.pub-more .pub-card a { color: var(--blue2); }

/* ── SKILLS ────────────────────────────────── */
.section-muted .skill-block {
  background: #fff;
  border: 1px solid var(--light-bdr);
  box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.section-muted .sb-item span { color: var(--light-sub); }
.section-muted .sb-bar { background: #e2e8f0; }
.section-muted .skill-block h3 { color: var(--light-text); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.skill-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.skill-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}

.sb-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  margin-bottom: 16px;
}
.sb-icon svg { width: 22px; height: 22px; }

.skill-block h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.skill-bars { display: flex; flex-direction: column; gap: 12px; }

.sb-item { display: flex; flex-direction: column; gap: 5px; }
.sb-item span {
  font-size: .8rem;
  color: var(--text3);
  font-weight: 500;
}
.sb-bar {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
}
.sb-bar div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--blue) 100%);
  border-radius: 3px;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.skill-block.in-view .sb-bar div { /* width is inline */ }

/* ── CONTACT ───────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px 22px;
  text-align: center;
  transition: all .25s;
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(212,160,23,.15);
}

.cc-icon { font-size: 2rem; margin-bottom: 14px; display: block; }

.contact-card h3 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text3);
  margin-bottom: 10px;
}

.contact-card a, .contact-card p {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.6;
  word-break: break-word;
}
.contact-card a:hover { color: var(--gold2); text-decoration: none; }

/* ── FOOTER ────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 44px 48px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.footer-logo span { color: var(--gold); }
.footer-brand p {
  font-size: .82rem;
  color: var(--text3);
  line-height: 1.7;
}

.footer-copy {
  text-align: right;
}
.footer-copy p {
  font-size: .82rem;
  color: var(--text3);
  line-height: 1.7;
}
.footer-copy a { color: var(--text3); transition: color .2s; }
.footer-copy a:hover { color: var(--gold); text-decoration: none; }

/* ── REVEAL ANIMATIONS ─────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: flex; flex-direction: column; align-items: center; }
  .research-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  #hero, .section { padding-left: 24px; padding-right: 24px; }
  #navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .research-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .orbit-2, .orbit-3 { display: none; }
  footer { padding: 32px 24px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 480px) {
  .stat-cards { grid-template-columns: repeat(3, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .pub-entry { grid-template-columns: 48px 30px 1fr; }
}

/* ── EXTRA: pub citation badge ─── */
.pub-cite {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.25);
  border-radius: 999px;
  font-size: .75rem;
  color: var(--gold2);
  font-weight: 600;
}

/* ── EXTRA: 6-col skills grid ─── */
.skills-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
}
