/* ============================================================
   CSS Custom Properties — Dark (default) & Light themes
   ============================================================ */
:root {
  --bg:           #0a0a0f;
  --bg-card:      #12121a;
  --bg-card-alt:  #16161f;
  --text:         #ffffff;
  --text-muted:   #9ca3af;
  --text-faint:   #6b7280;
  --accent-y:     #e8ff47;
  --accent-g:     #47ffa7;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);
  --shadow-y:     rgba(232,255,71,0.08);
  --shadow-g:     rgba(71,255,167,0.08);
  --nav-bg:       rgba(10,10,15,0.85);
}

[data-theme="light"] {
  --bg:           #f5f5f7;
  --bg-card:      #ffffff;
  --bg-card-alt:  #f0f0f4;
  --text:         #0a0a0f;
  --text-muted:   #374151;
  --text-faint:   #6b7280;
  --accent-y:     #b8cc00;
  --accent-g:     #00a060;
  --border:       rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.18);
  --shadow-y:     rgba(184,204,0,0.12);
  --shadow-g:     rgba(0,160,96,0.10);
  --nav-bg:       rgba(245,245,247,0.88);
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   Typography helpers
   ============================================================ */
.font-heading { font-family: 'Syne', sans-serif; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-y), var(--accent-g));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-y);
  font-weight: 600;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 1.5rem; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.glow-dot {
  width: 8px; height: 8px;
  background: var(--accent-y);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-y);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.theme-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.theme-btn:hover { border-color: var(--border-hover); color: var(--text); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  background: var(--accent-y);
  color: #0a0a0f;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 0 20px var(--shadow-y); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.btn-outline:hover { border-color: var(--border-hover); transform: scale(1.02); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 99;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 0.65rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); }
.mobile-nav .btn-primary {
  display: inline-flex;
  width: fit-content;
  margin-top: 1rem;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 420px; height: 420px;
  top: 5%; left: -10%;
  background: radial-gradient(circle, rgba(232,255,71,0.15) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: 0; right: -8%;
  background: radial-gradient(circle, rgba(71,255,167,0.10) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-y);
  margin-bottom: 1.5rem;
}
.hero-h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.rotating-wrap {
  min-height: 2rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.rotating-text {
  font-size: 1.05rem;
  color: var(--accent-g);
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s;
}
.rotating-text.visible { opacity: 1; transform: none; }
.hero-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.hero-sub {
  font-size: 0.95rem;
  color: var(--text-faint);
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-cta-primary {
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--accent-y);
  color: #0a0a0f;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta-primary:hover { transform: scale(1.04); box-shadow: 0 0 28px var(--shadow-y); }

/* Photo card */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-y), var(--accent-g), transparent, var(--accent-y));
  animation: spin 8s linear infinite;
  opacity: 0.6;
}
.hero-photo-inner {
  position: relative;
  width: 340px; height: 380px;
  border-radius: 2rem;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-card);
}
.hero-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-photo-badge {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  color: var(--text);
}

/* ============================================================
   Stats bar
   ============================================================ */
.stats-bar {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ============================================================
   Section headings
   ============================================================ */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-y);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 3rem;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px var(--shadow-y);
  border-color: var(--border-hover);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.tag-y { background: rgba(232,255,71,0.12); color: var(--accent-y); }
.tag-g { background: rgba(71,255,167,0.12); color: var(--accent-g); }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.about-story { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }
.about-story p + p { margin-top: 1rem; }
.about-pillars { display: flex; flex-direction: column; gap: 1rem; }
.about-pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
}
.about-pillar-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-y);
  margin-bottom: 0.35rem;
}
.about-pillar-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   Focus (What I Do) — 3-col grid
   ============================================================ */
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.focus-card .outcomes { list-style: none; margin-top: 0.85rem; }
.focus-card .outcomes li {
  font-size: 0.82rem;
  color: var(--text-faint);
  padding: 0.2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.focus-card .outcomes li::before {
  content: '→';
  color: var(--accent-g);
  font-size: 0.75rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ============================================================
   Experience
   ============================================================ */
.exp-list { display: flex; flex-direction: column; gap: 0; }
.exp-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.exp-item:last-child { border-bottom: none; }
.exp-meta { padding-top: 0.15rem; }
.exp-role {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.exp-company { font-size: 0.85rem; color: var(--accent-y); font-weight: 600; margin-bottom: 0.5rem; }
.exp-date { font-size: 0.8rem; color: var(--text-faint); }
.exp-bullets { list-style: none; }
.exp-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  display: flex;
  gap: 0.6rem;
  line-height: 1.55;
}
.exp-bullets li::before { content: '—'; color: var(--accent-g); flex-shrink: 0; }

/* ============================================================
   Services
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card .for-tag {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.service-card .outcome {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--accent-g);
  font-weight: 600;
}

/* ============================================================
   Projects
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.project-card .project-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.project-tool {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.73rem;
  border: 1px solid var(--border);
  color: var(--text-faint);
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-g);
  transition: opacity 0.2s;
}
.project-link:hover { opacity: 0.7; }

/* ============================================================
   Timeline
   ============================================================ */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
.timeline-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
}
.timeline-era {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.era-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timeline-items { list-style: none; }
.timeline-items li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.timeline-items li:last-child { border-bottom: none; }

/* ============================================================
   Skills
   ============================================================ */
.skills-groups { display: flex; flex-direction: column; gap: 1.75rem; }
.skill-group-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.65rem;
}
.skill-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-chip {
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.83rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.skill-chip:hover {
  border-color: var(--accent-y);
  color: var(--accent-y);
  background: rgba(232,255,71,0.05);
}

/* ============================================================
   Certifications
   ============================================================ */
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px var(--shadow-y); }
.cert-icon {
  width: 40px; height: 40px;
  border-radius: 0.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.cert-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.35;
}
.cert-issuer { font-size: 0.78rem; color: var(--text-faint); margin-top: 0.2rem; }

.recognition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.rec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-g);
  border-radius: 0 1rem 1rem 0;
  padding: 1.25rem 1.5rem;
}
.rec-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--text); }
.rec-sub { font-size: 0.82rem; color: var(--text-faint); margin-top: 0.2rem; }

/* ============================================================
   Content & Insights
   ============================================================ */
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.content-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px var(--shadow-g); }
.content-platform {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.content-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.35;
}
.content-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.content-cta {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-g);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s;
}
.content-cta:hover { opacity: 0.7; }

/* ============================================================
   Cloud Core Hub Banner
   ============================================================ */
.cch-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cch-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71,255,167,0.12), transparent 70%);
  pointer-events: none;
}
.cch-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
  margin: 0.5rem 0 1rem;
}
.cch-body { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 560px; }

/* ============================================================
   Publications
   ============================================================ */
.pub-list { display: flex; flex-direction: column; gap: 1rem; }
.pub-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.pub-item:hover { border-color: var(--border-hover); }
.pub-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.4;
}
.pub-authors { font-size: 0.82rem; color: var(--text-faint); margin-top: 0.35rem; line-height: 1.5; }
.pub-links { display: flex; gap: 1rem; margin-top: 0.75rem; }
.pub-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-y);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: opacity 0.2s;
}
.pub-link:hover { opacity: 0.7; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info { }
.contact-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.contact-sub { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-direct { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--text); }
.contact-link-icon {
  width: 38px; height: 38px;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
}
.form-wrap iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  display: block;
  background: transparent;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.82rem; color: var(--text-faint); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  transition: all 0.2s;
}
.footer-social:hover { border-color: var(--accent-y); color: var(--accent-y); }

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   Animations
   ============================================================ */
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.anim-fade-up   { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.25s; }
.anim-d3 { animation-delay: 0.4s; }
.anim-d4 { animation-delay: 0.55s; }
.anim-d5 { animation-delay: 0.7s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner      { grid-template-columns: 1fr; }
  .hero-photo-wrap { order: -1; }
  .hero-photo-inner { width: 260px; height: 290px; margin: 0 auto; }
  .hero-photo-ring { display: none; }
  .hero-ctas       { justify-content: center; }
  .hero-h1, .hero-intro, .hero-sub, .hero-badge { text-align: center; }
  .about-grid      { grid-template-columns: 1fr; }
  .focus-grid      { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .projects-grid   { grid-template-columns: 1fr; }
  .timeline-grid   { grid-template-columns: 1fr; }
  .certs-grid      { grid-template-columns: repeat(2, 1fr); }
  .recognition-grid { grid-template-columns: 1fr; }
  .content-grid    { grid-template-columns: 1fr; }
  .cch-banner      { grid-template-columns: 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .stats-inner     { grid-template-columns: repeat(2, 1fr); }
  .exp-item        { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 640px) {
  section { padding: 3.5rem 1rem; }
  .nav-links, .theme-btn, .btn-primary { display: none; }
  .hamburger { display: flex; }
  .focus-grid    { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .certs-grid    { grid-template-columns: 1fr; }
  .hero-photo-inner { width: 220px; height: 250px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; transition: none; }
}
