/* ============================================================
   JOSEPH AMEGASHIE — PORTFOLIO STYLESHEET
   Design: Dark Finance Aesthetic | Bloomberg / Institutional
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-primary:    #0A0E1A;
  --bg-secondary:  #111827;
  --bg-card:       #1C2333;
  --bg-card-hover: #222d42;
  --gold:          #D4A843;
  --gold-light:    #e8c06a;
  --gold-dim:      rgba(212,168,67,0.12);
  --teal:          #00C9A7;
  --teal-dim:      rgba(0,201,167,0.12);
  --text:          #F0F4FF;
  --text-muted:    #8892A4;
  --border:        #1E2D40;
  --border-light:  #263347;
  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'Inter', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', 'Courier New', monospace;
  --radius:        12px;
  --radius-sm:     6px;
  --shadow:        0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold:   0 2px 16px rgba(212,168,67,0.10);
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

/* ---- SECTION BASE ---- */
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--text);
}
.section-title .accent { color: var(--gold); }
.section-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,14,26,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-monogram {
  width: 38px; height: 38px;
  background: var(--gold);
  color: var(--bg-primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text);
  background: var(--bg-card);
}
.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--bg-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: var(--transition);
}
.btn-cv:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--teal);
  margin-bottom: 24px;
  width: fit-content;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}
.headline-accent { color: var(--gold); display: block; }
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.8;
}
.hero-school {
  color: var(--text);
  font-weight: 500;
}
.hero-cfa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.hero-cfa i { font-size: 0.85rem; }
.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Chart */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.chart-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow);
}
.hero-chart { width: 100%; height: auto; }
.chart-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2.2s ease forwards 0.5s;
}
.chart-line-teal {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: drawLine 2.5s ease forwards 0.8s;
}
.chart-area {
  opacity: 0;
  animation: fadeIn 1s ease forwards 2s;
}
.chart-area-teal {
  opacity: 0;
  animation: fadeIn 1s ease forwards 2.2s;
}
.chart-dot {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards 2.5s;
}
.chart-dot-active {
  animation: fadeIn 0.4s ease forwards 2.5s, dotPulse 2s infinite 3s;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes dotPulse {
  0%, 100% { r: 5; }
  50% { r: 7; }
}
.chart-legend {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  justify-content: flex-end;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.legend-dot {
  width: 10px; height: 3px;
  border-radius: 2px;
}
.legend-dot.gold { background: var(--gold); }
.legend-dot.teal { background: var(--teal); }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-secondary); }
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.about-photo-col { display: flex; flex-direction: column; gap: 20px; }
.photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
}
.profile-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(10%) contrast(1.05);
  transition: var(--transition);
}
.photo-frame:hover .profile-photo { filter: grayscale(0%) contrast(1); }
.photo-badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(10,14,26,0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.pill:hover { border-color: var(--gold); color: var(--gold); }
.pill i { font-size: 0.7rem; color: var(--gold); }

.about-currently {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px !important;
  width: fit-content;
}
.about-currently i { font-size: 0.65rem; }
.about-text-col p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.97rem;
  line-height: 1.8;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.stat-item:hover { border-color: var(--gold); transform: translateY(-2px); }
.stat-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-unit {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.stat-context {
  display: block;
  font-size: 0.7rem;
  color: var(--teal);
  margin-top: 3px;
  font-family: var(--font-mono);
  opacity: 0.85;
}

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.experience { background: var(--bg-primary); }
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--teal), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-dot {
  position: absolute;
  left: -39px; top: 20px;
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: var(--transition);
}
.timeline-card:hover {
  border-color: var(--gold);
  transform: translateX(3px);
  box-shadow: 0 2px 12px rgba(212,168,67,0.08);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.timeline-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.timeline-org {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 500;
}
.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.timeline-points { margin-bottom: 16px; }
.timeline-points li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0 4px 16px;
  position: relative;
  line-height: 1.7;
}
.timeline-points li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ============================================================
   ANALYST TOOLKIT
   ============================================================ */
.toolkit { background: var(--bg-secondary); }
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.toolkit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}
.toolkit-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 2px 12px rgba(212,168,67,0.08);
}
.toolkit-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.toolkit-icon.teal {
  background: var(--teal-dim);
  border-color: rgba(0,201,167,0.3);
  color: var(--teal);
}
.toolkit-icon.gold { /* already default */ }
.toolkit-category {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}
/* Skill bars removed — replaced with tag chips */
.toolkit-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-tag {
  display: inline-block;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 100px;
  transition: var(--transition);
}
.skill-tag:hover { border-color: var(--teal); color: var(--teal); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { background: var(--bg-primary); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.project-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 2px 12px rgba(212,168,67,0.08);
}
.project-card:hover::before { opacity: 1; }
.project-card.featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212,168,67,0.05) 100%);
}
.project-card.featured::before { opacity: 1; }
.project-card.coming-soon { opacity: 0.75; }
.project-card.coming-soon:hover { opacity: 1; }
.project-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-icon {
  width: 40px; height: 40px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
}
.project-icon.teal {
  background: var(--teal-dim);
  border-color: rgba(0,201,167,0.3);
  color: var(--teal);
}
.project-icon.gold { /* default */ }
.project-status {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 500;
}
.project-status.live { background: rgba(0,201,167,0.15); color: var(--teal); border: 1px solid rgba(0,201,167,0.3); }
.project-status.research { background: rgba(212,168,67,0.12); color: var(--gold); border: 1px solid rgba(212,168,67,0.3); }
.project-status.building { background: rgba(139,92,246,0.12); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.project-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 3px;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  transition: var(--transition);
  margin-top: auto;
}
.project-link:hover { gap: 10px; }
.project-link.disabled { color: var(--text-muted); cursor: default; }

/* ============================================================
   MARKETRISE FEATURE
   ============================================================ */
.marketrise {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marketrise-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.marketrise-logo-text {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.mrc-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
}
.marketrise-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.marketrise-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.marketrise-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
/* Problem / Solution / Role blocks */
.mrc-psr {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.mrc-psr-item {
  border-left: 2px solid var(--border-light);
  padding-left: 16px;
}
.mrc-psr-item:first-child { border-left-color: var(--gold); }
.mrc-psr-item:nth-child(2) { border-left-color: var(--teal); }
.mrc-psr-item:nth-child(3) { border-left-color: #a78bfa; }
.mrc-psr-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mrc-psr-item:first-child .mrc-psr-label { color: var(--gold); }
.mrc-psr-item:nth-child(2) .mrc-psr-label { color: var(--teal); }
.mrc-psr-item:nth-child(3) .mrc-psr-label { color: #a78bfa; }
.mrc-psr-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.marketrise-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: var(--transition);
}
.pillar:hover { border-color: var(--border-light); transform: translateY(-2px); }
.pillar-icon {
  width: 36px; height: 36px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.pillar-icon.teal {
  background: var(--teal-dim);
  border-color: rgba(0,201,167,0.3);
  color: var(--teal);
}
.pillar-icon.gold { /* default */ }
.pillar h4 { font-size: 0.88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.pillar p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }

/* MarketRise Visual Card */
.marketrise-visual { display: flex; justify-content: center; }
.mrc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow);
}
.mrc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.mrc-card-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mrc-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal);
}
.status-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.mrc-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mrc-metric:last-of-type { border-bottom: none; }
.mrc-metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.mrc-metric-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}
.mrc-metric-value.gold { color: var(--gold); }
.mrc-metric-value.teal { color: var(--teal); }
.mrc-metric-sub { font-size: 0.72rem; color: var(--text-muted); }
.mrc-bar-section { margin-top: 16px; }
.mrc-bar-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mrc-bar {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mrc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.mrc-fill.teal { background: linear-gradient(90deg, var(--teal), #00e5c0); }

/* ============================================================
   RESEARCH
   ============================================================ */
.research { background: var(--bg-primary); }
.research-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.research-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 2px 12px rgba(212,168,67,0.08); }
.featured-research {
  grid-column: span 2;
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212,168,67,0.04) 100%);
}
.placeholder-research { opacity: 0.75; }
.placeholder-research:hover { opacity: 1; }
.research-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.research-type {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 3px 10px;
  border-radius: 4px;
}
.research-year {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.research-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
}
.research-abstract {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.research-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rtag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 3px;
}
.research-outcome {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--teal);
  font-weight: 500;
}
.research-coming {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a78bfa;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.3);
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

/* ============================================================
   EDUCATION
   ============================================================ */
.education { background: var(--bg-secondary); }
.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
  height: 100%;
}
.edu-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 2px 12px rgba(212,168,67,0.08); }
.primary-edu { border-color: var(--gold); }
.edu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.edu-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
}
.edu-icon.teal {
  background: var(--teal-dim);
  border-color: rgba(0,201,167,0.3);
  color: var(--teal);
}
.edu-badge-wrap { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
.edu-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
}
.edu-badge.stem { background: rgba(0,201,167,0.12); color: var(--teal); border: 1px solid rgba(0,201,167,0.3); }
.edu-badge.opt { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(212,168,67,0.3); }
.edu-school {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.edu-school-sub {
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 10px;
  font-weight: 500;
}
.edu-degree {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.edu-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.courses-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.courses-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ctag {
  font-size: 0.72rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 4px;
}
.cert-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
  margin-top: 16px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-primary); }
.contact-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 520px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-links { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--transition);
  text-decoration: none;
}
.contact-item:hover { border-color: var(--gold); transform: translateX(3px); box-shadow: 0 2px 12px rgba(212,168,67,0.08); }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gold-dim);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-icon.teal {
  background: var(--teal-dim);
  border-color: rgba(0,201,167,0.3);
  color: var(--teal);
}
.contact-icon.gold { /* default */ }
.contact-text { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.contact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}
.contact-card-sig {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--gold);
}
.contact-card-sig strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}
.contact-card-sig span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); }
.ticker-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.ticker-track span { padding: 0 4px; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.footer-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-monogram {
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--bg-primary);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-name { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.footer-sub { font-size: 0.75rem; color: var(--text-muted); }
.footer-center { text-align: center; }
.footer-availability {
  font-size: 0.78rem;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.footer-mrc { font-size: 0.78rem; color: var(--text-muted); }
.footer-mrc a { color: var(--gold); font-weight: 500; }
.footer-mrc a:hover { text-decoration: underline; }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .chart-wrapper { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo-col { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .photo-frame { width: 240px; flex-shrink: 0; }
  .profile-photo { height: 280px; }
  .toolkit-grid { grid-template-columns: 1fr 1fr; }
  .toolkit-card:last-child { grid-column: span 2; }
  .marketrise-grid { grid-template-columns: 1fr; gap: 40px; }
  .marketrise-visual { justify-content: flex-start; }
  .research-grid { grid-template-columns: 1fr; }
  .featured-research { grid-column: span 1; }
  .education-grid { grid-template-columns: 1fr 1fr; }
  .edu-card:last-child { grid-column: span 2; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,14,26,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; padding: 10px 20px; }
  .btn-cv { font-size: 1rem; padding: 12px 24px; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-headline { font-size: 1.9rem; }
  .about-photo-col { flex-direction: column; }
  .photo-frame { width: 100%; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .toolkit-grid { grid-template-columns: 1fr; }
  .toolkit-card:last-child { grid-column: span 1; }
  .projects-grid { grid-template-columns: 1fr; }
  .marketrise-pillars { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .edu-card:last-child { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; text-align: center; }
  .footer-left { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr; }
  .timeline { padding-left: 20px; }
  .timeline-dot { left: -27px; }
  .timeline-card { padding: 20px 18px; }
  .timeline-header { flex-direction: column; gap: 8px; }
}
