/* ===========================================
   KUMKUM PORTFOLIO – style.css  (complete, fixed)
   =========================================== */

/* ---------- Design Tokens ---------- */
:root {
  --bg:        #0a0f1e;
  --surface:   #111827;
  --surface-2: #1c2640;
  --primary:   #06B6D4;
  --accent:    #8B5CF6;
  --text:      #F8FAFC;
  --subtext:   #94A3B8;
  --border:    #1e2d4a;
  --grad:      linear-gradient(135deg, var(--primary), var(--accent));
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(6,182,212,0.08), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(139,92,246,0.08), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(6,182,212,0.04), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }
section { position: relative; z-index: 1; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Cursor Glow (desktop) ---------- */
.cursor-glow {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left .15s ease-out, top .15s ease-out;
  will-change: left, top;
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--primary);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--subtext);
  font-size: 15px;
  max-width: 520px;
  margin-bottom: 48px;
}
.section-pad { padding: 110px 0; }

/* ====== Scroll-progress bar ====== */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px;
  background: var(--grad);
  width: 0%;
  z-index: 1000;
  transition: width .1s;
}

/* ====== Navbar ====== */
header {
  position: fixed; top: 3px; left: 0; right: 0;
  z-index: 999;
  padding: 16px 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(10,15,30,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 19px;
  display: flex; align-items: center; gap: 8px;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: var(--subtext);
}
.nav-links a {
  position: relative;
  transition: color .2s;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--grad);
  transition: width .25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex; align-items: center; gap: 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 0 rgba(6,182,212,0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(6,182,212,0.5);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(6,182,212,0.08);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  transition: transform .3s;
}
.hamburger:hover { transform: scale(1.15); }

/* ====== Mobile Menu Overlay ====== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,15,30,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 997;
  opacity: 0;
  transition: opacity .3s;
}
.mobile-overlay.show { opacity: 1; }

/* ====== Back-to-top ====== */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, border-color .3s;
  z-index: 900;
}
#back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: .08em;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(6,182,212,.15);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(6,182,212,.15); }
  50%      { box-shadow: 0 0 0 10px rgba(6,182,212,.02); }
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.role {
  font-size: 19px;
  color: var(--subtext);
  margin-bottom: 18px;
  font-weight: 500;
}
.hero p.desc {
  font-size: 16px;
  color: var(--subtext);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex; gap: 16px; margin-bottom: 44px; flex-wrap: wrap;
}
.social-row {
  display: flex; gap: 14px;
}
.social-row a {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--subtext);
  transition: all .25s;
}
.social-row a:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -6px rgba(6,182,212,0.3);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;                  /* ← prevents chip overflow */
}
.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(30,45,74,0.5);
  border-radius: 50%;
}
.ring1 { width: 340px; height: 340px; animation: spin 40s linear infinite; }
.ring2 { width: 440px; height: 440px; animation: spin 60s linear infinite reverse; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.avatar-core {
  width: 210px; height: 210px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 80px -10px rgba(6,182,212,.25),
    inset 0 0 40px rgba(6,182,212,.05);
}
.avatar-core .initials {
  font-family: 'Sora', sans-serif;
  font-size: 56px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.floating-chip {
  position: absolute;
  background: rgba(17,24,39,0.88);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 9px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  animation: float 5s ease-in-out infinite;
  z-index: 3;
  white-space: nowrap;
}
.floating-chip i { color: var(--primary); font-size: 14px; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.chip1 { top:  6%; left:  2%;  animation-delay: 0s; }
.chip2 { top: 20%; right: 2%;  animation-delay: .8s; }
.chip3 { bottom: 22%; left: 0%; animation-delay: 1.6s; }
.chip4 { bottom:  4%; right: 4%; animation-delay: 2.4s; }
.chip5 { top: 48%; left: 36%;  animation-delay: 3.2s; }

.scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--subtext);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--primary), transparent);
  animation: scrolldown 1.8s infinite;
}
@keyframes scrolldown {
  0%    { transform: scaleY(0); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: top; }
  50.1% { transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

/* ====== Reveal animation ====== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.3,1),
    transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Glass Card ====== */
.glass-card {
  background: rgba(17,24,39,0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6,182,212,.35);
  box-shadow: 0 20px 50px -20px rgba(6,182,212,.2);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text p {
  color: var(--subtext);
  line-height: 1.85;
  font-size: 15.5px;
  margin-bottom: 20px;
}
.quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.fact-item {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.fact-item i {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(6,182,212,.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill-card { padding: 26px 22px; }
.skill-card .icon-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6,182,212,.15), rgba(139,92,246,.15));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 19px;
}
.skill-card h4 { font-size: 16px; margin-bottom: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--subtext);
  font-family: 'JetBrains Mono', monospace;
  transition: border-color .2s, color .2s;
}
.tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.skill-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--subtext);
  font-style: italic;
}

/* ============================================================
   TIMELINE (Experience)
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 36px;
  border-left: 1px solid var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 6px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -42px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(6,182,212,.12);
}
.timeline-item .exp-card { padding: 28px 30px; }
.exp-role { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.exp-org  { color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.exp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-bottom: 16px; }
.exp-list li {
  font-size: 13.5px; color: var(--subtext);
  display: flex; gap: 8px; align-items: flex-start;
}
.exp-list li i { color: var(--accent); margin-top: 3px; font-size: 9px; }
.skill-pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============================================================
   FEATURED PROJECT
   ============================================================ */
.featured-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.featured-visual {
  background:
    linear-gradient(135deg, rgba(6,182,212,.18), rgba(139,92,246,.18));
  display: flex; align-items: center; justify-content: center;
  padding: 50px;
  position: relative;
  min-height: 340px;
}
.featured-visual .mock-terminal {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.mock-terminal .tbar {
  display: flex; gap: 6px; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.tbar span { width: 10px; height: 10px; border-radius: 50%; }
.tbar span:nth-child(1) { background: #ef4444; }
.tbar span:nth-child(2) { background: #f59e0b; }
.tbar span:nth-child(3) { background: #22c55e; }
.mock-terminal .tbody {
  padding: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--subtext);
  line-height: 1.9;
}
.mock-terminal .tbody .out { color: var(--primary); }
.mock-terminal .tbody .pos { color: #22c55e; }
.featured-body { padding: 44px; }
.featured-body .eyebrow { margin-bottom: 12px; }
.featured-body h3 { font-size: 27px; margin-bottom: 14px; }
.featured-body p { color: var(--subtext); font-size: 14.5px; line-height: 1.75; margin-bottom: 22px; }
.highlight-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.highlight-list span {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(139,92,246,.1);
  color: #c4b5fd;
  border: 1px solid rgba(139,92,246,.25);
  transition: background .2s;
}
.highlight-list span:hover {
  background: rgba(139,92,246,.2);
}
.featured-actions { display: flex; gap: 14px; }

/* ============================================================
   PROJECTS GRID
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.project-card { padding: 30px; }
.project-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.project-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 19px;
}
.project-links { display: flex; gap: 10px; }
.project-links a {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--subtext);
  transition: all .2s;
}
.project-links a:hover { color: var(--primary); border-color: var(--primary); }
.project-card h4 { font-size: 18px; margin-bottom: 12px; }
.project-card ul { margin-bottom: 16px; }
.project-card ul li {
  font-size: 13.5px; color: var(--subtext);
  padding: 4px 0;
  display: flex; gap: 8px;
}
.project-card ul li::before { content: "→"; color: var(--accent); }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cert-card i {
  font-size: 20px; color: var(--accent);
  background: rgba(139,92,246,.1);
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cert-card h4 { font-size: 14.5px; margin-bottom: 4px; }
.cert-card p  { font-size: 12.5px; color: var(--subtext); }

/* ============================================================
   EDUCATION
   ============================================================ */
.edu-grid { display: flex; flex-direction: column; gap: 20px; }
.edu-card {
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.edu-card h4   { font-size: 18px; margin-bottom: 6px; }
.edu-card .deg { color: var(--primary); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.edu-card .field { color: var(--subtext); font-size: 13.5px; }
.edu-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--subtext);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ============================================================
   GITHUB STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.stat-card { padding: 32px; text-align: center; }
.stat-card .num {
  font-family: 'Sora', sans-serif;
  font-size: 40px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-card .lbl {
  color: var(--subtext);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.journey-track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.journey-step {
  flex: 1 1 180px;
  padding: 22px;
  text-align: center;
  font-size: 13.5px;
  color: var(--subtext);
  position: relative;
}
.journey-step .n {
  font-family: 'JetBrains Mono', monospace;
  color: var(--primary);
  font-size: 12px;
  display: block; margin-bottom: 10px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(6,182,212,.12), transparent 60%);
}
.contact-wrap h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; position: relative; }
.contact-wrap p  { color: var(--subtext); max-width: 460px; margin: 0 auto 36px; position: relative; }
.contact-methods {
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
  position: relative;
}
.contact-method {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  transition: all .2s;
}
.contact-method:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px -8px rgba(6,182,212,.25); }
.contact-method i { color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  padding: 50px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 36px;
}
.footer-desc {
  color: var(--subtext); font-size: 13.5px;
  max-width: 340px; line-height: 1.7; margin-top: 14px;
}
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 13px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--subtext); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 13.5px; color: var(--text);
  padding: 5px 0; opacity: .85; transition: opacity .2s, color .2s;
}
.footer-col a:hover { opacity: 1; color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--subtext);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.desc { margin: 0 auto 34px; }
  .hero-actions, .social-row { justify-content: center; }
  .hero-visual { height: 320px; margin-top: 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }

  /* mobile nav */
  .nav-links {
    display: none;           /* hidden by default on mobile */
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px 28px;
    gap: 16px;
    z-index: 998;
    animation: menuSlideIn .3s ease-out;
    box-shadow: 0 20px 50px -12px rgba(0,0,0,.6);
  }
  .hamburger { display: block; }
}

@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(-12px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)  scale(1); }
}

@media (max-width: 560px) {
  .cert-grid { grid-template-columns: 1fr; }
  .quick-facts { grid-template-columns: 1fr; }
  .exp-list { grid-template-columns: 1fr; }
  .section-pad { padding: 80px 0; }
  .featured-body { padding: 28px; }
  .featured-visual { padding: 28px; }
  .contact-wrap { padding: 36px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
