/* --------------------------------------------------
   INSTITUTIONAL FINANCE PORTFOLIO - PRASHANT KUMAR NANDA
   Theme: High-Conviction Institutional Treasury & Wealth
   Palette: Deep Midnight Navy, Bullion Gold, Mint Profit Green
   -------------------------------------------------- */

:root {
  --bg-primary: #070d18;
  --bg-secondary: #0c172a;
  --bg-card: rgba(16, 28, 50, 0.75);
  --bg-card-hover: rgba(22, 38, 68, 0.85);
  --border-subtle: rgba(212, 175, 55, 0.15);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(212, 175, 55, 0.4);

  --gold-primary: #d4af37;
  --gold-light: #f5da89;
  --gold-dark: #997c1d;
  --gold-glow: rgba(212, 175, 55, 0.25);

  --green-profit: #10b981;
  --green-glow: rgba(16, 185, 129, 0.2);
  --red-loss: #ef4444;
  --blue-accent: #38bdf8;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-card);
  --shadow-gold: 0 12px 30px -5px rgba(212, 175, 55, 0.25);
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography Helpers */
.gold-gradient {
  background: linear-gradient(135deg, #f5da89 0%, #d4af37 50%, #aa8420 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Section Header */
.section-padding {
  padding: 6rem 0;
}

.bg-subtle {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
  border-left: 2px solid var(--gold-primary);
  padding-left: 0.6rem;
}

.section-header.text-center .section-eyebrow {
  border-left: none;
  border-bottom: 2px solid var(--gold-primary);
  padding-left: 0;
  padding-bottom: 0.3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------
   MARKET TICKER
   -------------------------------------------------- */
.market-ticker-wrap {
  display: flex;
  align-items: center;
  background: #040810;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  overflow: hidden;
  height: 38px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ticker-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0e1726;
  padding: 0 1.25rem;
  height: 100%;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  z-index: 2;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-profit);
  box-shadow: 0 0 8px var(--green-profit);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.ticker-scroll-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  padding-left: 2rem;
  animation: tickerSlide 40s linear infinite;
}

.ticker-scroll-track:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-item strong {
  color: #e2e8f0;
}

.trend.up { color: var(--green-profit); }
.trend.down { color: var(--red-loss); }
.trend.flat { color: var(--blue-accent); }

/* --------------------------------------------------
   NAVBAR
   -------------------------------------------------- */
.navbar {
  position: sticky;
  top: 38px;
  background: rgba(7, 13, 24, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-card);
  z-index: 90;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-crest {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text .name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-text .title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  padding: 0.35rem 0;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --------------------------------------------------
   BUTTONS
   -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a, #1e293b);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, #e6bc42, #b88f28);
  color: #060b13;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f5da89, #d4af37);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.35);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
  color: #ffffff;
  border-color: var(--gold-primary);
}

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------
   HERO SECTION
   -------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -150px;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.executive-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.badge-icon svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.hero-subtext {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.tag-pill svg {
  width: 14px;
  height: 14px;
  color: var(--gold-primary);
}

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

/* Executive Terminal / Metric Desk Card */
.executive-terminal-card {
  background: rgba(13, 23, 42, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(6, 12, 22, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.status-indicator.live {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--green-profit);
  color: var(--green-profit);
  border-radius: 3px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-box {
  background: rgba(13, 23, 42, 0.95);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.metric-box.highlighted {
  grid-column: span 2;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(13, 23, 42, 0.95));
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.metric-box.highlighted .metric-value {
  color: var(--gold-light);
  font-size: 2.6rem;
}

.metric-value .unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.metric-delta.positive {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--green-profit);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
}

.metric-delta svg {
  width: 14px;
  height: 14px;
}

.metric-note {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.terminal-footer {
  padding: 0.9rem 1.25rem;
  background: rgba(7, 13, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.footer-status svg {
  width: 13px;
  height: 13px;
  color: var(--gold-primary);
}

.direct-link {
  color: var(--gold-light);
  text-decoration: none;
  font-family: var(--font-mono);
}

.direct-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------
   PILLARS GRID (EXECUTIVE SUMMARY)
   -------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 2.2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.pillar-icon.gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.pillar-icon.blue {
  background: rgba(56, 189, 248, 0.12);
  color: var(--blue-accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.pillar-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-profit);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #ffffff;
}

.pillar-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 1.2rem;
}

.pillar-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.pillar-points li svg {
  width: 15px;
  height: 15px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------
   TRACK RECORD / DEAL SHEET
   -------------------------------------------------- */
.record-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.chart-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.chart-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chart-legend-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
}

.legend-box {
  width: 10px;
  height: 10px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.chart-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.footer-stat-col {
  display: flex;
  flex-direction: column;
}

.fs-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.fs-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.fs-val.gold { color: var(--gold-light); }
.fs-val.green { color: var(--green-profit); }

.deal-metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.deal-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.deal-item:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}

.deal-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.deal-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.deal-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.deal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.deal-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  color: var(--text-secondary);
}

/* --------------------------------------------------
   COMPETENCIES GRID
   -------------------------------------------------- */
.competencies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.comp-card:hover {
  border-color: var(--border-card-hover);
  transform: translateY(-3px);
}

.comp-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  margin-bottom: 1.15rem;
}

.comp-icon svg {
  width: 22px;
  height: 22px;
}

.comp-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.comp-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.skill-bar-wrap {
  margin-top: auto;
}

.skill-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.skill-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  border-radius: 2px;
}

/* --------------------------------------------------
   EXPERIENCE TIMELINE
   -------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-card {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-indicator {
  position: absolute;
  left: -2rem;
  top: 6px;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dot-inner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid var(--bg-primary);
}

.timeline-card.current .dot-inner {
  background: var(--green-profit);
}

.pulse-ring {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--green-profit);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.7); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
}

.timeline-card.current .timeline-content {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.04), var(--bg-card));
}

.timeline-content:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}

.timeline-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.role-scale {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-weight: 600;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.role-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.company-name {
  font-size: 0.95rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.role-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.role-achievements {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.role-achievements li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.role-achievements li::before {
  content: '▪';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.role-achievements li strong {
  color: #e2e8f0;
}

/* --------------------------------------------------
   FX SIMULATOR
   -------------------------------------------------- */
.simulator-box {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.sim-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sim-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sim-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}

.sim-input {
  background: rgba(6, 12, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.sim-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.input-helper {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-wrap input[type="range"] {
  flex-grow: 1;
  accent-color: var(--gold-primary);
}

.range-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--gold-light);
  min-width: 80px;
  text-align: right;
  font-size: 0.88rem;
}

.sim-results {
  background: rgba(6, 12, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.res-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.res-item {
  display: flex;
  flex-direction: column;
}

.res-item.highlighted {
  grid-column: span 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.res-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.res-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
}

.res-val.green { color: var(--green-profit); }
.res-val.gold { color: var(--gold-light); font-size: 1.6rem; }

.res-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
}

/* --------------------------------------------------
   EDUCATION & CREDENTIALS
   -------------------------------------------------- */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.cred-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cred-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cred-icon.gold {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.3);
  color: var(--gold-primary);
}

.cred-icon svg {
  width: 22px;
  height: 22px;
}

.cred-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.cred-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cred-item {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 1.5rem;
}

.cred-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  height: fit-content;
  font-weight: 600;
}

.cred-details h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.cred-details .inst {
  font-weight: 600;
  color: var(--gold-light);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.cred-details .sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cert-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 1.25rem;
  transition: var(--transition-smooth);
  position: relative;
}

.cert-card:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}

.cert-year-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.cert-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.cert-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* --------------------------------------------------
   CONTACT CARD
   -------------------------------------------------- */
.contact-container {
  max-width: 980px;
}

.contact-card {
  background: linear-gradient(135deg, rgba(16, 28, 50, 0.9), rgba(9, 17, 33, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  padding: 3.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.1);
}

.contact-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.contact-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(6, 12, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.c-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-icon svg {
  width: 18px;
  height: 18px;
}

.c-text {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.c-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.c-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
}

.c-value:hover {
  color: var(--gold-light);
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.linkedin-link svg {
  width: 14px;
  height: 14px;
}

.c-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  margin-top: 0.35rem;
  padding: 0;
}

.copy-btn svg {
  width: 12px;
  height: 12px;
}

.copy-btn:hover {
  color: var(--gold-light);
}

.contact-action-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------
   FOOTER
   -------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-name {
  color: #e2e8f0;
  font-weight: 600;
}

.footer-right .sep {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------
   MODAL
   -------------------------------------------------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #0d172a;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  padding: 2.2rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  animation: modalFade 0.25s ease-out;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.modal-header h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.modal-header p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.modal-contact-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.modal-contact-row .label {
  color: var(--text-muted);
}

.modal-contact-row .val {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.modal-contact-row a.val:hover {
  color: var(--gold-light);
}

.modal-actions {
  margin-top: 1.75rem;
}

/* --------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .pillars-grid, .competencies-grid {
    grid-template-columns: 1fr 1fr;
  }
  .record-container, .credentials-grid, .simulator-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .pillars-grid, .competencies-grid, .cert-chips-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-box.highlighted {
    grid-column: span 1;
  }
  .contact-card {
    padding: 2rem 1.5rem;
  }
  .timeline {
    padding-left: 1rem;
  }
  .timeline-card {
    padding-left: 1.25rem;
  }
  .timeline-indicator {
    left: -1rem;
  }
}

/* --------------------------------------------------
   PRINT STYLES FOR EXECUTIVE RESUME DOSSIER
   -------------------------------------------------- */
@media print {
  body {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 11pt;
  }
  .market-ticker-wrap, .navbar, .hero-actions, .sim-controls, .copy-btn, .modal-backdrop, .site-footer {
    display: none !important;
  }
  .section-padding {
    padding: 1.5rem 0 !important;
  }
  .hero-section {
    padding: 1rem 0 !important;
  }
  .gold-gradient {
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
  }
  .hero-title {
    font-size: 18pt !important;
    color: #0f172a !important;
  }
  .pillar-card, .comp-card, .timeline-content, .chart-card, .contact-card, .cred-item, .cert-card, .executive-terminal-card, .metric-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: none !important;
  }
  h1, h2, h3, h4, h5, .role-title, .metric-value, .chart-title {
    color: #0f172a !important;
  }
  .hero-subtext, .section-subtitle, .pillar-card p, .comp-card p, .role-desc, .role-achievements li {
    color: #334155 !important;
  }
  .tag-pill, .role-scale, .cert-year-badge {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
  }
}

