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

:root {
  /* IB / Finance palette */
  --ink:        #0b0f1a;      /* near-black */
  --dark:       #0f1724;      /* deep sections */
  --dark-mid:   #172032;      /* cards on dark */
  --blue:       #1b4fa8;      /* institutional blue */
  --blue-hover: #2563c7;
  --blue-light: #5b8dd9;
  --silver:     #7a92aa;      /* muted secondary */
  --cream:      #f8f7f4;      /* warm off-white */
  --white:      #ffffff;
  --text:       #0b0f1a;
  --text-muted: #5a6b7d;
  --border:     #e2e5ea;
  --border-d:   rgba(255,255,255,0.09);
  --radius:     6px;
  --transition: 0.22s ease;
  --max-w:      1140px;
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}
.section-label.light { color: var(--blue-light); }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }

.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }

.section-accent {
  background: var(--dark-mid);
  color: var(--white);
}
.section-accent h2, .section-accent h3 { color: var(--white); }
.section-accent p { color: rgba(255,255,255,0.78); }

h2.light, h3.light { color: var(--white); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.78rem 1.9rem;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  border: 1.5px solid rgba(27,79,168,0.35);
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.78rem 1.9rem;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover { border-color: var(--blue); background: rgba(27,79,168,0.06); }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(11,15,26,0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
#nav.scrolled .nav-logo { color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(11,15,26,0.7);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }
#nav.scrolled .nav-links a { color: rgba(255,255,255,0.75); }
#nav.scrolled .nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.38rem 1.05rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-hover) !important; }

.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(--ink); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
#nav.scrolled .nav-toggle span { background: var(--white); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 5rem;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 50%, rgba(27,79,168,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(27,79,168,0.04) 0%, transparent 60%);
  pointer-events: none;
}
/* Thin rule at bottom of hero */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(27,79,168,0.25), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
}

/* Profile photo */
.hero-photo-col { flex-shrink: 0; }
.hero-photo-wrap {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(27,79,168,0.35);
  box-shadow: 0 0 0 8px rgba(27,79,168,0.07), 0 20px 56px rgba(0,0,0,0.13);
  background: var(--border);
  position: relative;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-photo-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-light);
}

.hero-content { flex: 1; }

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
#hero h1 { color: var(--ink); margin-bottom: 1.4rem; }
#hero h1 span { color: var(--blue); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.72;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 32px; background: var(--border); }

.hero-scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.hero-scroll-hint span {
  display: block; width: 1px; height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(27,79,168,0.5));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 5rem;
  align-items: start;
}
.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; font-size: 1rem; line-height: 1.8; }

.about-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 0.65rem;
}
.about-card-icon { font-size: 1.2rem; }
.about-card strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text); }
.about-card span { font-size: 0.77rem; color: var(--text-muted); }

.about-interests { margin-top: 1.25rem; }
.interests-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.65rem; }
.interests-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.interests-tags span {
  font-size: 0.8rem;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── TIMELINE ── */
.timeline { position: relative; margin-top: 3rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.timeline-item { position: relative; padding-left: 2.4rem; margin-bottom: 3.25rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute;
  left: -4px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(91,141,217,0.18);
}
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.2rem;
  flex-wrap: wrap;
}
.timeline-header h3 { color: var(--white); font-size: 1.1rem; }
.timeline-org { font-size: 0.85rem; color: var(--blue-light); margin-top: 0.18rem; }
.timeline-date { font-size: 0.77rem; color: rgba(255,255,255,0.4); white-space: nowrap; padding-top: 0.12rem; }
.timeline-location { font-size: 0.77rem; color: rgba(255,255,255,0.3); margin-bottom: 0.8rem; }
.timeline-bullets { padding-left: 1rem; border-left: 2px solid rgba(27,79,168,0.25); }
.timeline-bullets li {
  font-size: 0.91rem;
  color: rgba(255,255,255,0.68);
  margin-bottom: 0.5rem;
  line-height: 1.65;
}
.timeline-bullets li:last-child { margin-bottom: 0; }
.timeline-bullets strong { color: rgba(255,255,255,0.9); }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.38rem; margin-top: 0.9rem; }
.timeline-tags span {
  font-size: 0.71rem;
  font-weight: 500;
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  background: rgba(27,79,168,0.15);
  color: var(--blue-light);
  border: 1px solid rgba(27,79,168,0.25);
}

/* ── EDUCATION ── */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
  max-width: 720px;
}

.edu-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.edu-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); }
.edu-card-primary { border-top: 3px solid var(--blue); }

.edu-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.edu-logo {
  width: 38px; height: 38px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem; font-weight: 700;
  flex-shrink: 0;
  color: var(--white);
}
.tulane-color { background: #006341; }
.icade-color  { background: #003399; }
.edu-header-text { flex: 1; min-width: 0; }
.edu-header-text h3 { font-size: 1rem; font-weight: 700; color: var(--text); line-height: 1.25; }
.edu-sub { font-size: 0.77rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.4; }
.edu-date { font-size: 0.73rem; color: var(--text-muted); white-space: nowrap; padding-top: 0.12rem; }

/* Degree rows */
.edu-degrees { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.edu-degree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.degree-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  flex-shrink: 0;
  margin-top: 0.12rem;
}
.degree-pill-alt { background: var(--dark-mid); }
.degree-text { font-size: 0.88rem; color: var(--text); line-height: 1.45; }
.degree-text strong { color: var(--ink); }

/* Honors bar */
.edu-honors {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.honor-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  text-align: center;
}
.honor-value {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}
.honor-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
  text-align: center;
}
.honor-divider { width: 1px; background: var(--border); flex-shrink: 0; }

/* Coursework tags (on ICADE card) */
.edu-courses-compact { margin-top: 1.1rem; }
.courses-label-sm {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}
.courses-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.courses-tags span {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* ── RESEARCH ── */
.research-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.research-ticker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.research-text h3 { font-size: 1.55rem; color: var(--white); margin-bottom: 1.1rem; line-height: 1.25; }
.research-text p { font-size: 0.94rem; margin-bottom: 0.95rem; line-height: 1.78; }
.research-meta { margin: 1.6rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.research-meta-item {
  display: flex; flex-direction: column;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.meta-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.38); margin-bottom: 0.18rem; }
.meta-value { font-size: 0.88rem; color: rgba(255,255,255,0.82); font-weight: 500; }

.research-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(27,79,168,0.3);
  border-radius: 10px;
  overflow: hidden;
}
.research-card-top {
  background: rgba(27,79,168,0.15);
  padding: 1.35rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(27,79,168,0.2);
}
.research-company-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--white); }
.research-ticker-badge {
  font-size: 0.77rem; font-weight: 700;
  padding: 0.28rem 0.75rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 5px;
  letter-spacing: 0.05em;
}
.research-card-body { padding: 1.1rem 1.4rem; }
.research-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.research-detail:last-child { border-bottom: none; }
.research-detail span { font-size: 0.77rem; color: rgba(255,255,255,0.4); }
.research-detail strong { font-size: 0.8rem; color: rgba(255,255,255,0.85); font-weight: 600; }
.research-card-footer {
  padding: 1rem 1.4rem;
  border-top: 1px solid rgba(27,79,168,0.18);
}
.burkenroad-badge span { display: block; }
.burkenroad-badge span:first-child { font-size: 0.83rem; font-weight: 600; color: var(--blue-light); }
.burkenroad-sub { font-size: 0.72rem; color: rgba(255,255,255,0.38); margin-top: 0.15rem; }

/* ── SKILLS ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.skill-group {
  background: var(--cream);
  border-radius: 10px;
  padding: 1.6rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.skill-group:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.06); }
.skill-group-icon { font-size: 1.5rem; margin-bottom: 0.85rem; }
.skill-group h3 { font-size: 0.9rem; margin-bottom: 0.9rem; color: var(--text); }
.skill-group ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.32rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.skill-group ul li:last-child { border-bottom: none; }

.certs-row { margin-top: 2.75rem; }
.certs-label { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-bottom: 0.9rem; }
.certs { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.15rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text);
}

/* ── CONTACT ── */
.contact-container { text-align: center; max-width: 560px; }
.contact-container h2 { margin-bottom: 0.9rem; }
.contact-sub { font-size: 0.97rem; color: rgba(255,255,255,0.6); max-width: 440px; margin: 0 auto 2.25rem; line-height: 1.7; }
.contact-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 0.9rem 1.4rem;
  transition: border-color var(--transition), background var(--transition);
  text-align: left;
}
.contact-item:hover { border-color: var(--blue-light); background: rgba(27,79,168,0.08); }
.contact-icon { font-size: 1.1rem; }
.contact-item-label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.38); }
.contact-item-value { font-size: 0.92rem; font-weight: 500; color: var(--white); }

/* ── FOOTER ── */
footer { background: #060810; padding: 1.75rem 1.5rem; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.28);
}
.footer-logo { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: rgba(255,255,255,0.55); }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { transition: color var(--transition); }
.footer-nav a:hover { color: rgba(255,255,255,0.7); }

/* ── ANIMATIONS ── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .about-aside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; align-items: start; }
  .about-interests { grid-column: 1 / -1; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .research-layout { grid-template-columns: 1fr; }
  .research-card { max-width: 320px; }
  .hero-photo-wrap { width: 200px; height: 200px; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 62px 0 0 0;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .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-inner { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-photo-wrap { width: 150px; height: 150px; }
  #hero { min-height: 100svh; padding: 6rem 1.5rem 4rem; }
  .hero-stats { gap: 1.1rem; }

  .skills-grid { grid-template-columns: 1fr; }
  .timeline-header { flex-direction: column; gap: 0.2rem; }
  .timeline-date { color: var(--blue-light); }

  .edu-honors { flex-wrap: wrap; }
  .honor-item { min-width: 45%; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .about-aside { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.7rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
  .hero-photo-wrap { width: 120px; height: 120px; }
}
