/* ==========================================================================
   Design tokens / theming
   ========================================================================== */
:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --accent: #6366f1;
  --accent-2: #06b6d4;
  --accent-3: #ec4899;

  --bg: #f7f7fb;
  --bg-elevated: #ffffff;
  --bg-soft: #eef0f9;
  --text: #14162b;
  --text-muted: #565a75;
  --border: #e3e5f1;
  --shadow-color: 220 40% 60%;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --header-h: 76px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme='dark'] {
  --bg: #0b0c17;
  --bg-elevated: #12142280;
  --bg-soft: #171a2c;
  --text: #eef0fb;
  --text-muted: #9ca0c2;
  --border: #262a44;
  --shadow-color: 240 60% 3%;
}

* , *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Background decoration
   ========================================================================== */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: float 18s ease-in-out infinite;
}
html[data-theme='dark'] .blob { opacity: 0.28; }

.blob-1 { width: 480px; height: 480px; background: var(--accent); top: -120px; left: -100px; }
.blob-2 { width: 520px; height: 520px; background: var(--accent-2); top: 40%; right: -180px; animation-delay: -6s; }
.blob-3 { width: 400px; height: 400px; background: var(--accent-3); bottom: -160px; left: 30%; animation-delay: -12s; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.08); }
  66% { transform: translate(-20px, 30px) scale(0.96); }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 30px hsl(var(--shadow-color) / 0.12);
}

.navbar {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand-dot { color: var(--accent); }

.nav-menu {
  display: flex;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-link.active { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: transform var(--transition), background var(--transition);
}
.theme-toggle:hover { transform: rotate(-14deg) scale(1.05); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme='dark'] .theme-toggle .icon-sun { display: none; }
html[data-theme='dark'] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 25px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px color-mix(in srgb, var(--accent) 75%, transparent); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); }

.btn-outline {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  margin-top: 12px;
}
.btn-outline:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section {
  position: relative;
  padding: 110px 0;
}
.section-alt { background: var(--bg-soft); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 780px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
  margin-bottom: 40px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 60%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-role {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent-2);
  min-height: 28px;
  margin-bottom: 20px;
}
.role-rotator { display: inline-block; transition: opacity 300ms ease, transform 300ms ease; }
.role-rotator.fading { opacity: 0; transform: translateY(6px); }

.hero-desc {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-number, .stat-suffix {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text);
}
.stat-suffix { color: var(--accent); }
.stat-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 2px; }

.hero-visual { display: flex; justify-content: center; }
.hero-photo-wrap {
  position: relative;
  width: min(100%, 380px);
}
.hero-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 18%, var(--bg-soft)), color-mix(in srgb, var(--accent-2) 14%, var(--bg-soft)));
  box-shadow: 0 30px 60px -20px hsl(var(--shadow-color) / 0.35);
  border: 1px solid var(--border);
}

.badge-floating {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px hsl(var(--shadow-color) / 0.3);
  animation: bob 5s ease-in-out infinite;
}
.badge-1 { top: 10%; left: -14%; animation-delay: -1s; }
.badge-2 { bottom: 8%; right: -10%; animation-delay: -3s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 20px;
  border: 2px solid var(--border);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  animation: scrollcue 1.8s ease infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.about-text p { color: var(--text-muted); margin: 0 0 16px; font-size: 1.02rem; }
.about-text strong { color: var(--text); }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.highlight-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px hsl(var(--shadow-color) / 0.35);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), color-mix(in srgb, var(--accent-2) 20%, transparent));
  color: var(--accent);
  margin-bottom: 14px;
}
.highlight-icon svg { width: 22px; height: 22px; }
.highlight-card h3 { font-size: 1rem; margin: 0 0 8px; }
.highlight-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* ==========================================================================
   Timeline (Experience)
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
}

.timeline-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-card:hover { transform: translateX(4px); box-shadow: 0 16px 34px -20px hsl(var(--shadow-color) / 0.35); }

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.timeline-role { font-size: 1.08rem; font-weight: 700; }
.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-2);
  white-space: nowrap;
}
.timeline-company { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }
.timeline-list { display: grid; gap: 8px; }
.timeline-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

/* ==========================================================================
   Projects
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}

.project-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), opacity var(--transition);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: cardIn 500ms ease forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0) scale(1); } }

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -22px hsl(var(--shadow-color) / 0.4);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.project-card.is-hidden { display: none; }

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.project-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
}
.project-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.project-link:hover { background: var(--accent); color: #fff; border-color: transparent; transform: rotate(45deg); }
.project-link svg { width: 15px; height: 15px; }

.project-title { font-size: 1.08rem; font-weight: 700; margin: 0 0 10px; }
.project-desc { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 18px; flex-grow: 1; }

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Skills
   ========================================================================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.skill-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin: 0 0 16px;
}
.skill-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip {
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
}
.skill-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

/* ==========================================================================
   Certifications
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.cert-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform var(--transition), box-shadow var(--transition);
}
a.cert-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px hsl(var(--shadow-color) / 0.4); }
.cert-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 25%, transparent), color-mix(in srgb, var(--accent-2) 25%, transparent));
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cert-icon svg { width: 24px; height: 24px; }
.cert-card h3 { font-size: 1rem; margin: 0 0 4px; }
.cert-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.cert-link-icon { width: 18px; height: 18px; margin-left: auto; color: var(--text-muted); flex-shrink: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
a.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -22px hsl(var(--shadow-color) / 0.4);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.contact-value { font-weight: 600; word-break: break-word; }

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--bg-elevated)), color-mix(in srgb, var(--accent-2) 14%, var(--bg-elevated)));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.cta-banner h3 { margin: 0 0 6px; font-size: 1.3rem; }
.cta-banner p { margin: 0; color: var(--text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--accent); }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -14px hsl(var(--shadow-color) / 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: transparent; }
.back-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .hero-photo-wrap { width: min(70%, 300px); margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-elevated);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 28px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { display: block; padding: 12px 14px; }
  .nav-actions .btn-sm { display: none; }

  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-stats { gap: 24px; }
  .about-highlights { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -33px; }
}

@media (max-width: 480px) {
  .section { padding: 80px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

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