/* ═══════════════════════════════════════════════════════════
   DENZIL FERNANDES · PORTFOLIO
   Design: Dark luxury — obsidian black, warm gold, clean ivory
   Fonts: Playfair Display (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --black:    #0a0a0a;
  --dark:     #111111;
  --card:     #161616;
  --card-2:   #1c1c1c;
  --border:   rgba(255,255,255,0.07);
  --gold:     #c9a84c;
  --gold-lt:  #e8c97a;
  --ivory:    #f5f0e8;
  --white:    #ffffff;
  --muted:    rgba(255,255,255,0.45);
  --body:     rgba(255,255,255,0.75);

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;

  --max-w: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  --trans: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── Hero Avatar ── */
.hero-avatar {
  width: 250px;
  height: 250px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.5);
  box-shadow: 0 0 0 6px rgba(201,168,76,0.08), 0 8px 32px rgba(0,0,0,0.5);
  overflow: hidden;
  background: var(--card);
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}


/* Logo in the NavBar */
.logo-img {
  height: 100px;   /* adjust size */
  width: auto;
  object-fit: contain;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--black);
  color: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--trans), backdrop-filter var(--trans), box-shadow var(--trans);
}
#navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 50px;
}
.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--trans);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,10,10,0.97);
  padding: 1.5rem 2rem;
  gap: 1.25rem;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--trans);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  overflow: hidden;
  background: var(--black);
}

/* Ambient orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite alternate;
}
.orb-1 { width: 600px; height: 600px; background: rgba(201,168,76,0.07); top: -10%; left: -15%; }
.orb-2 { width: 500px; height: 500px; background: rgba(201,168,76,0.05); bottom: -5%; right: -10%; animation-delay: 3s; }
.orb-3 { width: 350px; height: 350px; background: rgba(255,255,255,0.03); top: 40%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.orb-4 { width: 700px; height: 700px; background: rgba(201,168,76,0.06); top: -20%; right: -20%; }

@keyframes float {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-40px) scale(1.05); }
}

/* Grid overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Hero content */
.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--ff-display);
  font-size: clamp(3.8rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero-name em {
  font-style: italic;
  color: var(--gold);
}

.hero-tagline {
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--body);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

/* Buttons */
.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;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: var(--trans);
  cursor: pointer;
  border: none;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-large { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* Metrics strip */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2.5rem;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(8px);
}
.metric { text-align: center; }
.metric-num {
  display: block;
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.metric-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
}
.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: bounce 2s infinite;
  z-index: 1;
}
.scroll-hint svg { width: 24px; height: 24px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ══════════════════════════════════════════
   SECTIONS — shared
══════════════════════════════════════════ */
.section { padding: 7rem 2rem; }
.section-dark { background: var(--dark); }

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

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

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.about-left .section-title { margin-top: 0.5rem; }

.about-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.about-body {
  font-size: 0.97rem;
  color: var(--body);
  margin-bottom: 1rem;
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--body);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.03);
}
.pill svg { width: 13px; height: 13px; color: var(--gold); }

/* ══════════════════════════════════════════
   EXPERIENCE / TIMELINE
══════════════════════════════════════════ */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-left: 2.75rem;
}
.timeline-dot {
  position: absolute;
  left: 8px;
  top: 22px;
  width: 13px; height: 13px;
  background: var(--gold);
  border: 2px solid var(--dark);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: border-color var(--trans), transform var(--trans);
}
.timeline-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-3px);
}

.tc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tc-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.tc-company {
  font-size: 0.88rem;
  color: var(--gold);
  margin-top: 0.2rem;
}
.tc-meta {
  text-align: right;
  flex-shrink: 0;
}
.tc-period {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tc-location {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  justify-content: flex-end;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.tc-location svg { width: 11px; height: 11px; }

.tc-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.tc-bullets li {
  font-size: 0.9rem;
  color: var(--body);
  padding-left: 1.1em;
  position: relative;
}
.tc-bullets li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.25em;
}
.tc-bullets strong { color: var(--white); }

.tc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tc-tags span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 50px;
  padding: 0.2rem 0.65rem;
  background: rgba(201,168,76,0.05);
}

/* ══════════════════════════════════════════
   EDUCATION
══════════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.edu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--trans), transform var(--trans);
  position: relative;
}
.edu-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.edu-featured {
  border-color: rgba(201,168,76,0.35);
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, var(--card) 60%);
}

.edu-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.edu-logo-placeholder {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
.edu-logo-sm { font-size: 1.2rem; }

.edu-degree {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.edu-spec {
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.edu-period {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.edu-period svg { width: 13px; height: 13px; }

.edu-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.edu-courses li {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--body);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.25rem 0.65rem;
  background: rgba(255,255,255,0.03);
}

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--trans), transform var(--trans);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.project-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.project-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}
.project-icon svg { color: var(--gold); width: 22px; height: 22px; }

.project-type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.project-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.project-card p {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.65;
  flex: 1;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.project-tags span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem 0.6rem;
  background: rgba(255,255,255,0.03);
}

/* ══════════════════════════════════════════
   SKILLS
══════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.skill-group {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--trans);
}
.skill-group:hover { border-color: rgba(201,168,76,0.3); }

.skill-group-icon {
  width: 40px; height: 40px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.skill-group-icon svg { color: var(--gold); width: 20px; height: 20px; }

.skill-group h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.skill-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.skill-pills span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--body);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem 0.7rem;
  background: rgba(255,255,255,0.03);
  transition: background var(--trans), border-color var(--trans), color var(--trans);
}
.skill-pills span:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.3);
  color: var(--gold-lt);
}

/* Certs */
.certs { margin-top: 1rem; }
.certs-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.cert-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cert-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  background: var(--card);
  transition: border-color var(--trans);
}
.cert-card:hover { border-color: rgba(201,168,76,0.3); }
.cert-card svg { color: var(--gold); width: 15px; height: 15px; }

/* ══════════════════════════════════════════
   ACHIEVEMENTS
══════════════════════════════════════════ */
.achievements-section { padding: 5rem 2rem; }
.ach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ach-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color var(--trans), transform var(--trans);
}
.ach-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}
.ach-place {
  display: block;
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.gold { color: var(--gold); }
.silver { color: #b0b8c8; }
.ach-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.ach-org { font-size: 0.82rem; color: var(--muted); }

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.contact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.contact-title { text-align: center; }
.contact-sub {
  font-size: 1rem;
  color: var(--body);
  max-width: 500px;
  margin: -1rem auto 0;
}
.contact-links {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  max-width: 860px;
  flex-wrap: wrap;
  justify-content: center;
}
.contact-link {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  transition: border-color var(--trans), transform var(--trans);
}
.contact-link:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
}
.contact-link > svg { color: var(--gold); width: 22px; height: 22px; flex-shrink: 0; }
.cl-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.cl-val {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-top: 0.1rem;
}


/* ══════════════════════════════════════════
   LEADERSHIP
══════════════════════════════════════════ */
.leadership-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lead-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: border-color var(--trans), transform var(--trans);
}
.lead-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateX(4px);
}

.lead-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}
.lead-icon svg { color: var(--gold); width: 20px; height: 20px; }

.lead-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.lead-role {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.lead-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lead-bullets li {
  font-size: 0.88rem;
  color: var(--body);
  padding-left: 1.1em;
  position: relative;
}
.lead-bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.25em;
}
.lead-bullets strong { color: var(--white); }

@media (max-width: 600px) {
  .lead-card { flex-direction: column; gap: 1rem; }
}
/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */

/* Hero reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .two-col { gap: 3rem; }
}

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

  .hero-metrics { padding: 1.25rem 1.5rem; gap: 1.25rem; }
  .metric-divider { display: none; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .edu-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .ach-grid { grid-template-columns: 1fr; }

  .tc-header { flex-direction: column; }
  .tc-meta { text-align: left; }
  .tc-location { justify-content: flex-start; }

  .section { padding: 5rem 1.25rem; }
  .hero-sub .br-desktop { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-metrics { flex-direction: column; gap: 1rem; }
  .metric-divider { display: none; }
}
