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

:root {
  --navy:       #0b1728;
  --navy-mid:   #132035;
  --white:      #ffffff;
  --off-white:  #f7f7f5;
  --gold:       #e8a220;
  --gold-light: #f5b942;
  --text:       #1a1a1a;
  --text-mid:   #444444;
  --text-soft:  #777777;
  --border:     #e8e8e4;
  --radius:     14px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  --max-w:      1160px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 3px;
  transition: color var(--transition);
}
.nav.scrolled .nav-logo { color: var(--navy); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  letter-spacing: 0.2px;
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--text-soft); }
.nav.scrolled .nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--navy);
  transition: background var(--transition), transform var(--transition);
  letter-spacing: 0.2px;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 32px 80px;
}

.hero-bg-shape {
  position: absolute;
  top: -200px; right: -300px;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(232,162,32,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content { flex: 1; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 32px;
}

.hero-bio {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 100px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(232,162,32,0.3);
}
.btn-hero-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,162,32,0.4);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Photo */
.hero-photo-col {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  height: 460px;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  border-radius: 200px 200px 200px 200px;
  overflow: hidden;
  border: 3px solid rgba(232,162,32,0.3);
}

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

.hero-photo-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 2px solid rgba(232,162,32,0.2);
  pointer-events: none;
}
.hero-photo-accent::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 2px solid rgba(232,162,32,0.15);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* =============================================
   STATS BAND
   ============================================= */
.stats-band {
  background: var(--gold);
  padding: 32px 0;
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-num sup { font-size: 20px; vertical-align: super; }
.stat-num small { font-size: 22px; }
.stat-lbl {
  font-size: 12px;
  font-weight: 600;
  color: rgba(11,23,40,0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(11,23,40,0.15);
  flex-shrink: 0;
  margin: 0 24px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section { padding: 112px 0; }
.section-alt { background: var(--off-white); }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow.light { color: rgba(232,162,32,0.85); }

.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 56px;
}
.section-heading em {
  font-style: italic;
  color: var(--gold);
}

/* =============================================
   ABOUT
   ============================================= */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-left .section-heading { margin-bottom: 0; }

.about-right p {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-right p:last-of-type { margin-bottom: 32px; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-tags span {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  background: rgba(11,23,40,0.06);
  border: 1px solid rgba(11,23,40,0.1);
  padding: 7px 16px;
  border-radius: 100px;
}

/* =============================================
   EXPERTISE CARDS
   ============================================= */
.expertise-section {
  background: var(--navy);
  padding: 80px 0;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.exp-card {
  padding: 48px 40px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}
.exp-card:hover { background: rgba(255,255,255,0.03); }
.exp-card-icon {
  color: var(--gold);
  margin-bottom: 24px;
}
.exp-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.exp-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* =============================================
   EXPERIENCE / JOBS
   ============================================= */
.jobs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.job {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.job:first-child { border-top: 1px solid var(--border); }

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.job-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}
.job-loc {
  font-size: 13px;
  color: var(--text-soft);
}

.job-org {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 28px;
}

.job-role-block { margin-bottom: 32px; }
.job-role-block:last-child { margin-bottom: 0; }

.job-role-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.job-role-header h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.job-role-header span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-soft);
}

.job-role-block ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.job-role-block ul li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.job-role-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}
.job-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* =============================================
   TECH BENTO
   ============================================= */
.tech-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.tech-block {
  background: var(--white);
  padding: 32px 28px;
  transition: background var(--transition);
}
.tech-block:hover { background: #fafaf7; }
.tech-block-icon {
  color: var(--gold);
  margin-bottom: 16px;
}
.tech-block h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.2px;
}
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-pills span {
  font-size: 12px;
  color: var(--text-mid);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 3px 11px;
  border-radius: 100px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
  background: var(--navy-mid);
  padding: 120px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.contact-heading em { font-style: italic; color: var(--gold); }
.contact-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 380px;
}
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-link:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(232,162,32,0.3);
  transform: translateX(6px);
}
.contact-link-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(232,162,32,0.1);
  border: 1px solid rgba(232,162,32,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-link-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-link-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.contact-link-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--navy);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 3px;
}
.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 860px) {
  .hero-inner { flex-direction: column-reverse; gap: 48px; text-align: center; }
  .hero-photo-col { width: 280px; height: 340px; }
  .hero-bio { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .about-container { grid-template-columns: 1fr; gap: 40px; }
  .job { grid-template-columns: 1fr; gap: 8px; }
  .job-meta { flex-direction: row; gap: 16px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .stats-inner { flex-wrap: wrap; gap: 24px; }
  .stat-divider { display: none; }
  .tech-bento { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
  .hero-name { letter-spacing: -1px; }
}
