/* ============================================
   DESIGN SYSTEM — Premium AI Consultant Portfolio
   Optimized for recruiter conversion at 50-60 LPA tier
   ============================================ */

:root {
  /* Colors */
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --text-main: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  --text-inverted: #ffffff;
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --accent-green: #10b981;
  --accent-green-bg: #ecfdf5;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-blue: 0 8px 30px rgba(37, 99, 235, 0.18);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-width: 72rem;
  --container-narrow: 56rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-base: 0.25s var(--ease-out);
  --transition-slow: 0.4s var(--ease-out);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { color: var(--text-main); font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ============================================
   COMMON ELEMENTS
   ============================================ */

/* Badges */
.badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}
.badge-light {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* Section headers */
.section-header { margin-bottom: 3rem; }
.section-header-center { text-align: center; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-top: 0.75rem; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); margin-top: 0.75rem; max-width: 36rem; line-height: 1.7; }
.section-header-center .section-sub { margin-left: auto; margin-right: auto; }
.section-sub-light { color: rgba(255, 255, 255, 0.5); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-lg { padding: 0.9rem 1.75rem; font-size: 0.95rem; }
.btn-primary {
  background: var(--primary);
  color: var(--text-inverted);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.25);
}
.btn-secondary {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-medium);
}
.btn:active { transform: translateY(0); }

/* Status dot */
.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 4rem;
  display: flex;
  align-items: center;
  transition: all 0.3s;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
}
.nav-desktop { display: none; gap: 2rem; }
@media (min-width: 768px) { .nav-desktop { display: flex; } }
.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.nav-link:hover { color: var(--text-main); }
.btn-header-cta {
  display: none;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}
.btn-header-cta:hover { background: var(--primary-hover); }
@media (min-width: 768px) { .btn-header-cta { display: inline-flex; align-items: center; gap: 0.4rem; } }
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
  font-size: 1.25rem;
}
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-nav {
  position: fixed;
  top: 4rem;
  left: 0;
  width: 100%;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 49;
}
.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { font-size: 1.05rem; font-weight: 600; color: var(--text-main); }
.mobile-resume-btn { margin-top: 0.5rem; }

/* ============================================
   HERO
   ============================================ */
.hero-section {
  padding: 4rem 0 3rem;
}
@media (min-width: 768px) { .hero-section { padding: 5rem 0 4rem; } }
.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-grid {
    flex-direction: row;
    text-align: left;
    gap: 4rem;
  }
}
.hero-content { flex: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  background: var(--accent-green-bg);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.12;
}
.hero-accent {
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 34rem;
}
@media (max-width: 767px) { .hero-sub { margin-left: auto; margin-right: auto; } }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  justify-content: center;
}
@media (min-width: 768px) { .hero-ctas { justify-content: flex-start; } }
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  justify-content: center;
}
@media (min-width: 768px) { .hero-credentials { justify-content: flex-start; } }
.hero-credentials span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-credentials i { font-size: 0.7rem; color: var(--primary); }
.hero-image { flex-shrink: 0; }
.hero-img-wrapper {
  position: relative;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--bg-body);
  box-shadow: var(--shadow-2xl), 0 0 0 1px var(--border-light);
  transition: transform var(--transition-slow);
}
@media (min-width: 768px) {
  .hero-img-wrapper { width: 19rem; height: 19rem; }
}
.hero-img-wrapper::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, var(--primary), #7c3aed, #06b6d4);
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(20px);
  z-index: -1;
}
.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-img-wrapper:hover { transform: scale(1.02); }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}
.trust-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .trust-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-bottom: 1.5rem;
  }
}
.trust-metric { text-align: center; }
@media (min-width: 768px) { .trust-metric { padding: 0 2.5rem; } }
.trust-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.trust-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  font-weight: 500;
}
.trust-divider {
  display: none;
  width: 1px;
  height: 2.5rem;
  background: var(--border-light);
}
@media (min-width: 768px) { .trust-divider { display: block; } }
.trust-logos {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.trust-logo-label { font-weight: 500; margin-right: 0.5rem; }
.trust-logo-text { font-weight: 700; color: var(--text-body); }
.trust-logo-sep { margin: 0 0.5rem; color: var(--border-medium); }

/* ============================================
   VIDEO
   ============================================ */
.video-section {
  padding: 5rem 0;
}
.video-container {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  background: var(--bg-dark);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-studies-section {
  padding: 5rem 0;
  background: var(--bg-subtle);
}
.case-study-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-body);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  margin-bottom: 2rem;
  transition: all var(--transition-base);
}
.case-study-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}
.case-study-card:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .case-study-card { grid-template-columns: 2fr 3fr; }
  .case-study-card-reverse { direction: rtl; }
  .case-study-card-reverse > * { direction: ltr; }
}
.case-study-visual {
  position: relative;
  min-height: 14rem;
  overflow: hidden;
}
.case-study-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.case-study-company {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.case-study-body {
  padding: 2rem;
}
@media (min-width: 768px) { .case-study-body { padding: 2.5rem; } }
.case-study-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.case-study-tagline {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.case-study-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.case-study-block h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.case-study-block p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-body);
}
.impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.impact-metric { text-align: center; }
.impact-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.impact-desc {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.3;
}

/* ============================================
   APPROACH
   ============================================ */
.approach-section {
  background: var(--bg-dark);
  color: var(--text-inverted);
  padding: 5rem 0;
}
.approach-header h2 { color: #fff; }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
@media (min-width: 768px) { .approach-grid { grid-template-columns: repeat(3, 1fr); } }
.approach-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
}
.approach-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}
.approach-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}
.approach-card h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #60a5fa;
  margin-bottom: 0.75rem;
}
.approach-card p {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-section {
  padding: 5rem 0;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  background: var(--bg-body);
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary);
}
.project-img {
  height: 12rem;
  overflow: hidden;
  background: var(--bg-muted);
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-card:hover .project-img img { transform: scale(1.05); }
.project-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.project-body p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
  transition: gap var(--transition-fast);
}
.project-card:hover .project-link { gap: 0.65rem; }

/* ============================================
   WRITING
   ============================================ */
.writing-section {
  padding: 5rem 0;
  background: var(--bg-subtle);
}
.writing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) { .writing-grid { grid-template-columns: repeat(3, 1fr); } }
.article-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}
.article-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}
.article-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}
.article-excerpt {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.article-dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
}
.article-meta i { font-size: 0.65rem; margin-left: 0.25rem; }

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
  padding: 5rem 0;
}
.cta-card {
  background: var(--bg-dark);
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-card { padding: 4rem 3rem; } }
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 36rem; margin: 0 auto; }
.cta-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-inverted);
  margin-bottom: 1rem;
}
.cta-content p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-blue);
}
.btn-cta-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  padding: 4rem 0 2rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-main {}
.footer-brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 22rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.footer-email {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: color var(--transition-fast);
}
.footer-email:hover { color: var(--primary-hover); text-decoration: underline; }
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--bg-body);
  color: var(--text-main);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.footer-nav h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}
.footer-nav a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--text-main); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent-green);
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-blue), var(--shadow-lg);
  z-index: 100;
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.floating-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.35), var(--shadow-xl);
}
.floating-cta i { font-size: 1rem; }
@media (max-width: 640px) {
  .floating-cta {
    padding: 0.85rem;
    border-radius: 50%;
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .floating-cta span { display: none; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   DOMAIN PILLS
   ============================================ */
.domain-pill {
  display: inline-block;
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  z-index: 2;
}
.domain-consumer { background: #d1fae5; color: #065f46; }
.domain-voice    { background: #dbeafe; color: #1e40af; }
.domain-cv       { background: #ede9fe; color: #5b21b6; }
.domain-risk     { background: #fef3c7; color: #92400e; }

.case-study-visual { position: relative; }

/* ============================================
   EXPERIENCE TIMELINE
   ============================================ */
.experience-section {
  padding: 5rem 0;
  background: var(--bg-subtle);
}
.timeline {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border-light);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -1.625rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-subtle);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.timeline-content {
  background: var(--bg-body);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  transition: box-shadow var(--transition-base);
}
.timeline-content:hover { box-shadow: var(--shadow-md); }
.timeline-meta {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.timeline-company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}
.timeline-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.timeline-detail {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}
@media (min-width: 768px) {
  .timeline { padding-left: 2.5rem; }
  .timeline::before { left: 0.75rem; }
  .timeline-dot { left: -1.875rem; }
}

/* ============================================
   APPROACH 4-COLUMN GRID
   ============================================ */
.approach-grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .approach-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .approach-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================
   MUTED PROJECTS SECTION
   ============================================ */
.projects-section-muted {
  background: var(--bg-body);
  border-top: 1px solid var(--border-light);
}
.section-sub-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.project-card-muted {
  opacity: 0.75;
  transition: opacity var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}
.project-card-muted:hover {
  opacity: 1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
