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

:root {
  --navy: #0f1f3d;
  --navy-light: #1a3160;
  --teal: #0d7c66;
  --teal-light: #12a085;
  --teal-pale: #e1f5ee;
  --teal-mid: #9fe1cb;
  --gold: #c9922a;
  --gold-pale: #fef3e2;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --light-grey: #f0eeeb;
  --mid-grey: #e2dfd9;
  --text-dark: #0f1f3d;
  --text-mid: #3d4f6e;
  --text-muted: #7a8ba3;
  --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(15,31,61,0.07), 0 1px 2px rgba(15,31,61,0.05);
  --shadow-md: 0 4px 16px rgba(15,31,61,0.09), 0 2px 6px rgba(15,31,61,0.06);
  --shadow-lg: 0 12px 40px rgba(15,31,61,0.12), 0 4px 12px rgba(15,31,61,0.08);
  --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(--white);
  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: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid-grey);
  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(--navy);
  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(--navy); background: var(--light-grey); }
.nav-links .nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1rem;
  font-weight: 500;
}
.nav-links .nav-cta:hover { background: var(--navy-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

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

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 124, 102, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 124, 102, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(13,124,102,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(18,160,133,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.9s cubic-bezier(0.4,0,0.2,1) both;
}

@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(13,124,102,0.18);
  border: 1px solid rgba(13,124,102,0.3);
  color: #5dcaa5;
  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;
}

.badge-dot {
  width: 6px; height: 6px;
  background: #5dcaa5;
  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(3.5rem, 9vw, 7.5rem);
  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: #5dcaa5;
}

.hero-tagline {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

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

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.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(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,124,102,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  gap: 1rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 1.5rem;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #5dcaa5;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
}

.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(--off-white); }

.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(--teal);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}
.section-label.light { color: rgba(255,255,255,0.5); }
.section-label.light::before { background: rgba(255,255,255,0.3); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  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(--teal-pale);
  color: var(--teal);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
  border: 1px solid var(--teal-mid);
}

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

.profile-initials {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.profile-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  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(--mid-grey);
  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(--teal); flex-shrink: 0; }
.pdetail a { color: var(--teal); }
.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(--teal);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
  flex-shrink: 0;
  z-index: 1;
}
.tmarker-line {
  flex: 1;
  width: 2px;
  background: var(--mid-grey);
  margin-top: 6px;
  margin-bottom: -8px;
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--mid-grey);
  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(--teal);
  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(--navy);
}

.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(13,124,102,0.1);
  color: var(--teal);
  border: 1px solid rgba(13,124,102,0.2);
}
.tcard-badge.ey {
  background: var(--gold-pale);
  color: var(--gold);
  border: 1px solid rgba(201,146,42,0.2);
}

.ey-highlight-box {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  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(--teal);
  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(--teal);
  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(--light-grey);
}
.tcard-tags span {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--light-grey);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

/* Pre-MBA */
.pre-mba { background: var(--off-white); }
.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(--navy); 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(--mid-grey);
  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(--teal), var(--teal-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(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
}
.edu-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.edu-inst {
  font-size: 0.85rem;
  color: var(--teal);
  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(--navy);
  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(--mid-grey);
  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: #e8f4fd; color: #1a6fa8; }
.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(--navy); 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(--mid-grey);
  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(--teal-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1rem;
}

.skill-category h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  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(--mid-grey);
  color: var(--text-mid);
  background: var(--off-white);
  transition: var(--transition);
}
.pill:hover { background: var(--light-grey); }
.pill.primary {
  background: var(--teal-pale);
  color: var(--teal);
  border-color: var(--teal-mid);
}

/* ===== 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(--mid-grey);
  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: var(--teal-mid);
  transform: translateY(-2px);
}

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

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

/* ===== CONTACT ===== */
.contact-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(13,124,102,0.15) 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.5);
  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.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  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.12);
  color: white;
  border-color: rgba(255,255,255,0.25);
  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.3);
  margin-top: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #080f1e;
  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.25);
  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; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 64px 0 0 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    padding: 2rem;
    gap: 0.25rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.1rem; padding: 0.75rem 1rem; }
  .hamburger { display: flex; }

  .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; }
}

/* ===== HERO PHOTO LAYOUT ===== */
.hero-layout {
  max-width: 1120px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
}

.hero-content {
  text-align: left;
  animation: heroFadeUp 0.9s cubic-bezier(0.4,0,0.2,1) both;
}

.hero-content .hero-actions {
  justify-content: flex-start;
}

.hero-photo-col {
  display: flex;
  justify-content: center;
  animation: heroFadeUp 1.1s cubic-bezier(0.4,0,0.2,1) both;
}

.hero-photo-frame {
  position: relative;
  width: 280px;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1.5px solid rgba(13,124,102,0.4);
  border-radius: 16px;
  z-index: 0;
}

.hero-photo {
  width: 280px;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  display: block;
  position: relative;
  z-index: 1;
  filter: grayscale(8%) contrast(1.04);
}

.hero-photo-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(13,124,102,0.4);
}

.hero-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  gap: 1rem;
  max-width: 1120px;
  width: 100%;
  position: relative;
  z-index: 1;
  margin-top: 1rem;
}

/* ===== PROFILE CARD PHOTO ===== */
.profile-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--teal-mid);
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ===== PERSONAL SECTION ===== */
.personal-section {
  background: var(--off-white);
}

.personal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.personal-photo-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid var(--mid-grey);
  transition: var(--transition);
}

.personal-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.personal-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.personal-photo-card:hover .personal-photo {
  transform: scale(1.03);
}

.personal-photo-caption {
  padding: 1.25rem 1.5rem;
}

.personal-photo-caption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  display: block;
  margin-bottom: 0.4rem;
}

.personal-photo-caption p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== RESPONSIVE PHOTO ===== */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
    padding-bottom: 2rem;
  }
  .hero-content { text-align: center; }
  .hero-content .hero-actions { justify-content: center; }
  .hero-photo-col { order: -1; }
  .hero-photo-frame { width: 200px; }
  .hero-photo { width: 200px; height: 270px; }
  .personal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-photo-frame { width: 160px; }
  .hero-photo { width: 160px; height: 216px; }
  .personal-photo { height: 260px; }
}
