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

:root {
  --charcoal: #3a3a3a;
  --charcoal-deep: #2a2a2a;
  --charcoal-mid: #484848;
  --charcoal-light: #555555;
  --beige: #f2ede6;
  --beige-warm: #ede6db;
  --beige-dark: #d9d0c4;
  --beige-mid: #c8bfb4;
  --beige-pale: #f8f4ef;
  --sand: #b8a99a;
  --amber: #a07040;
  --amber-light: #c09060;
  --amber-pale: #f5efe6;
  --white: #ffffff;
  --text-dark: #1e1e1e;
  --text-mid: #4a4540;
  --text-muted: #8a8078;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(30,20,10,0.07), 0 1px 2px rgba(30,20,10,0.05);
  --shadow-md: 0 4px 16px rgba(30,20,10,0.1), 0 2px 6px rgba(30,20,10,0.07);
  --shadow-lg: 0 12px 40px rgba(30,20,10,0.14), 0 4px 12px rgba(30,20,10,0.09);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--beige);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(242,237,230,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige-dark);
  transition: var(--transition);
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-mid);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--charcoal); background: var(--beige-warm); }
.nav-links .nav-cta {
  background: var(--charcoal);
  color: var(--beige) !important;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1rem;
  font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--charcoal-mid); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; position: relative; z-index: 9999; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--charcoal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
  z-index: 1;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160,112,64,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,112,64,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.7;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(160,112,64,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(192,144,96,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero two-column layout */
.hero-content {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.9s cubic-bezier(0.4,0,0.2,1) both;
}

.hero-left { display: flex; flex-direction: column; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(160,112,64,0.15);
  border: 1px solid rgba(160,112,64,0.3);
  color: #d4a870;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-start;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #d4a870;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-name em {
  font-style: italic;
  color: #d4a870;
}

.hero-tagline {
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.hero-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
  border: 2px solid var(--amber);
}
.btn-primary:hover {
  background: var(--amber-light);
  border-color: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160,112,64,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  gap: 0.75rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #d4a870;
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

/* ===== HERO RIGHT – ACHIEVEMENTS TICKER ===== */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-right-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.25rem;
}

.achievements-ticker {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
}

.ticker-track {
  position: absolute;
  inset: 0;
}

.ticker-slide {
  position: absolute;
  inset: 0;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.ticker-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.ticker-slide.exit {
  opacity: 0;
  transform: translateY(-20px);
}

.ticker-company {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4a870;
  margin-bottom: 0.6rem;
}

.ticker-role {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.ticker-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ticker-points li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.ticker-points li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #d4a870;
  font-size: 0.65rem;
  top: 3px;
}
.ticker-points strong { color: rgba(255,255,255,0.85); font-weight: 500; }

.ticker-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.ticker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.ticker-dot.active {
  background: #d4a870;
  transform: scale(1.3);
}

/* progress bar at bottom of ticker */
.ticker-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  background: #d4a870;
  width: 0%;
  transition: none;
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: scrollHint 2s ease infinite;
}
.scroll-hint span {
  font-size: 0.7rem;
  color: white;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, white, transparent);
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

/* ===== SECTIONS ===== */
.section { padding: 6rem 2rem; }
.section-alt { background: var(--beige-warm); }

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--amber);
}
.section-label.light { color: rgba(255,255,255,0.45); }
.section-label.light::before { background: rgba(255,255,255,0.25); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}
.section-title.light { color: var(--white); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--amber-pale);
  color: var(--amber);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
  border: 1px solid rgba(160,112,64,0.2);
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
}

.profile-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--beige-dark);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.profile-initials img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.profile-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.profile-details {
  border-top: 1px solid var(--beige-dark);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pdetail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-mid);
}
.pdetail svg { color: var(--amber); flex-shrink: 0; }
.pdetail a { color: var(--amber); }
.pdetail a:hover { text-decoration: underline; }

/* ===== TIMELINE ===== */
.timeline { position: relative; }

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.4rem;
}
.tmarker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--beige);
  box-shadow: 0 0 0 2px var(--amber);
  flex-shrink: 0;
  z-index: 1;
}
.tmarker-line {
  flex: 1;
  width: 2px;
  background: var(--beige-dark);
  margin-top: 6px;
  margin-bottom: -8px;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tcard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tcard-company {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 0.25rem;
}

.tcard-role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
}

.tcard-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}
.tcard-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
}
.tcard-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tcard-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tcard-badge.current {
  background: rgba(160,112,64,0.1);
  color: var(--amber);
  border: 1px solid rgba(160,112,64,0.25);
}
.tcard-badge.ey {
  background: var(--amber-pale);
  color: var(--amber);
  border: 1px solid rgba(160,112,64,0.2);
}

.ey-highlight-box {
  background: var(--amber-pale);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.ey-highlight-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.ey-highlight-box p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.tcard-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.tcard-bullets li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.tcard-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.7rem;
  top: 4px;
}
.tcard-bullets strong { color: var(--text-dark); font-weight: 500; }

.tcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--beige-warm);
}
.tcard-tags span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--beige-warm);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Pre-MBA */
.pre-mba { background: var(--beige-pale); }
.pre-mba-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.pre-mba-roles { display: flex; flex-direction: column; gap: 0.75rem; }
.pre-mba-role {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pre-mba-role div { display: flex; flex-direction: column; gap: 2px; }
.pre-mba-role strong { font-size: 0.9rem; color: var(--charcoal); font-weight: 500; }
.pre-mba-role span { font-size: 0.82rem; color: var(--text-muted); }
.pre-mba-role .tcard-date { font-size: 0.78rem; }

/* ===== EDUCATION ===== */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.edu-card {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.edu-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.edu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}

.edu-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.edu-icon {
  width: 48px;
  height: 48px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 1rem;
}
.edu-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.edu-inst {
  font-size: 0.85rem;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.edu-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cert-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.cert-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.cert-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.cert-badge.capm { background: #e8f0fd; color: #2c5aa0; }
.cert-badge.udemy { background: #fce8e8; color: #a21111; }
.cert-badge.coursera { background: #e8edfc; color: #2044c4; }
.cert-info { display: flex; flex-direction: column; gap: 2px; }
.cert-info strong { font-size: 0.88rem; color: var(--charcoal); font-weight: 500; }
.cert-info span { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.skill-category {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.skill-category:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.skill-cat-icon {
  width: 44px;
  height: 44px;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 1rem;
}

.skill-category h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--beige-dark);
  color: var(--text-mid);
  background: var(--beige-pale);
  transition: var(--transition);
}
.pill:hover { background: var(--beige-warm); }
.pill.primary {
  background: var(--amber-pale);
  color: var(--amber);
  border-color: rgba(160,112,64,0.25);
}

/* ===== ACHIEVEMENTS ===== */
.ach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.ach-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ach-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(160,112,64,0.3);
  transform: translateY(-2px);
}

.ach-rank {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
  min-width: 48px;
  text-align: center;
  flex-shrink: 0;
}
.ach-rank sup { font-size: 0.7em; }
.ach-rank svg { color: var(--amber); }

.ach-content { display: flex; flex-direction: column; gap: 4px; }
.ach-content strong { font-size: 0.88rem; color: var(--charcoal); font-weight: 500; line-height: 1.4; }
.ach-content span { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-mid);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.nav-dropdown-btn:hover { color: var(--charcoal); background: var(--beige-warm); }
.nav-dropdown-btn svg { transition: transform 0.25s ease; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 8px;
  background: transparent;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown:hover .nav-dropdown-btn svg { transform: rotate(180deg); }

.nav-dropdown-menu-inner {
  background: var(--white);
  border: 1px solid var(--beige-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  min-width: 230px;
  padding: 0.5rem;
  animation: dropIn 0.2s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-dropdown-menu li a:hover {
  background: var(--beige-warm);
  color: var(--charcoal);
}
.tool-icon { font-size: 1rem; flex-shrink: 0; }

/* ===== BEYOND WORK ===== */
.beyond-section { background: var(--beige-pale); }

.beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.beyond-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.beyond-col-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid var(--beige-dark);
}

.beyond-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  aspect-ratio: 4/3;
}
.beyond-card.beyond-card-tall { aspect-ratio: 3/4; }
.beyond-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 18px 50px rgba(20,14,8,0.2); }

.beyond-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.beyond-card:hover img { transform: scale(1.06); }

.beyond-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,14,8,0.85) 0%, rgba(20,14,8,0.3) 50%, transparent 75%);
}

.beyond-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
}

.beyond-card-tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d4a870;
  margin-bottom: 0.3rem;
}

.beyond-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.beyond-card-sub {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(160,112,64,0.12) 0%, transparent 70%);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-sub {
  color: rgba(255,255,255,0.45);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: var(--transition);
}
.contact-card:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.contact-domain {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #222222;
  padding: 1.5rem 2rem;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.2);
  font-family: var(--font-mono);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }
  .about-card-col { order: -1; }
  .profile-card { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1.25rem; }
  .profile-initials { margin-bottom: 0; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 1.5rem; }
  .stat-divider { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Career Highlights goes BELOW the name on mobile */
  .hero-right { order: 2; }
  .hero-left  { order: 1; }
  .achievements-ticker { height: 300px; }
  .beyond-grid { grid-template-columns: 1fr; }
  .beyond-card.beyond-card-tall { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Slide-down panel directly below navbar */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--beige);
    border-bottom: 2px solid var(--beige-dark);
    box-shadow: 0 8px 32px rgba(30,20,10,0.15);
    padding: 0;
    gap: 0;
    z-index: 9998;
  }

  /* Each list item */
  .nav-links.open > li {
    width: 100%;
    border-bottom: 1px solid var(--beige-dark);
  }
  .nav-links.open > li:last-child { border-bottom: none; }

  /* Nav links */
  .nav-links.open > li > a {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
    padding: 0.95rem 1.5rem;
    border-radius: 0;
    background: none;
    width: 100%;
  }
  .nav-links.open > li > a:active { background: var(--beige-warm); }

  /* Contact CTA */
  .nav-links.open .nav-cta {
    display: block !important;
    text-align: center;
    background: var(--charcoal) !important;
    color: var(--beige) !important;
    border-radius: 0 !important;
    padding: 0.95rem 1.5rem !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    border: none !important;
    width: 100%;
    margin: 0 !important;
  }

  /* Tools I Develop row */
  .nav-links.open .nav-dropdown { width: 100%; }
  .nav-links.open .nav-dropdown-btn {
    width: 100%;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
    padding: 0.95rem 1.5rem;
    justify-content: space-between;
    border-radius: 0;
    background: none;
    font-family: var(--font-body);
  }

  /* Tools submenu */
  .nav-links.open .nav-dropdown-menu {
    position: static !important;
    display: none;
    padding-top: 0 !important;
    background: transparent !important;
  }
  .nav-links.open .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-links.open .nav-dropdown-menu-inner {
    background: var(--beige-warm);
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: unset;
    width: 100%;
    animation: none;
    border-top: 1px solid var(--beige-dark);
  }
  .nav-links.open .nav-dropdown-menu li {
    border-bottom: 1px solid var(--beige-dark);
  }
  .nav-links.open .nav-dropdown-menu li:last-child { border-bottom: none; }
  .nav-links.open .nav-dropdown-menu li a {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    color: var(--text-mid);
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }
  .nav-links.open .nav-dropdown-menu li a:active { background: var(--beige-dark); }

  /* Page layout */
  .section { padding: 4rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 5rem; }
  .hero-name { font-size: 3rem; }
  .hero-stats { padding: 1.25rem; }
  .stat { padding: 0 0.5rem; }
  .tcard-header { flex-direction: column; }
  .tcard-meta { align-items: flex-start; }
  .ach-grid { grid-template-columns: 1fr; }
  .contact-cards { flex-direction: column; align-items: center; }
  .timeline-item { grid-template-columns: 20px 1fr; gap: 1rem; }
  .footer .container { flex-direction: column; text-align: center; }
  .beyond-grid { grid-template-columns: 1fr; }
}
