/* ============================================================
   HASHMA.ME — styles.css  (Ali Abdaal · Pastel Edition)
   ============================================================ */

/* --- Tokens --- */
:root {
  --bg:           #ffffff;
  --bg-alt:       #fafaf8;
  --text:         #0f0f0f;
  --text-sub:     #4b5563;
  --text-muted:   #9ca3af;
  --border:       #e5e7eb;
  --card:         #ffffff;
  --nav-bg:       rgba(255,255,255,0.90);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-xs:    6px;

  /* Pastels */
  --purple:       #6d28d9;
  --purple-light: #ede9fe;
  --purple-mid:   #ddd6fe;
  --peach-light:  #fff1ec;
  --peach-mid:    #ffe4d6;
  --mint-light:   #ecfdf5;
  --mint-mid:     #d1fae5;
  --yellow-light: #fffbeb;
  --yellow-mid:   #fef3c7;
}

[data-theme="dark"] {
  --bg:           #0c0c0e;
  --bg-alt:       #131316;
  --text:         #f0f0f0;
  --text-sub:     #a1a1aa;
  --text-muted:   #52525b;
  --border:       #27272a;
  --card:         #18181b;
  --nav-bg:       rgba(12,12,14,0.90);
  --shadow-sm:    0 1px 3px rgba(0,0,0,.3);
  --shadow-md:    0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.5);
  --purple-light: #2e1065;
  --purple-mid:   #3b0764;
  --peach-light:  #431407;
  --peach-mid:    #7c2d12;
  --mint-light:   #022c22;
  --mint-mid:     #064e3b;
  --yellow-light: #1c1400;
  --yellow-mid:   #292300;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { font-weight: 600; }

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 900;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo {
  font-size: .95rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--text); flex-shrink: 0;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .6; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  font-size: .85rem; font-weight: 500; color: var(--text-sub);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--purple); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  background: var(--purple); color: #fff;
  font-size: .82rem; font-weight: 600;
  padding: 8px 18px; border-radius: 50px;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: .85; transform: translateY(-1px); }
.theme-toggle {
  background: none; border: 1px solid var(--border);
  border-radius: 8px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-sub);
  transition: border-color .2s, color .2s;
}
.theme-toggle:hover { border-color: var(--text); color: var(--text); }
[data-theme="light"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: none; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.mobile-menu {
  position: fixed; top: 64px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 800;
  transform: translateY(-110%); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text-sub);
  padding: 10px 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:last-of-type:not(.mobile-cta) { border-bottom: none; }
.mobile-menu a:hover { color: var(--text); }
.mobile-cta {
  margin-top: 12px; background: var(--purple); color: #fff !important;
  text-align: center; padding: 12px !important; border-radius: 50px !important;
  border: none !important; font-weight: 600 !important;
}

/* ============================================================
   COMMON
   ============================================================ */
.section {
  padding: 96px 40px;
  max-width: 1100px; margin: 0 auto;
}
.section-alt {
  background: var(--bg-alt);
  max-width: none;
  padding: 96px max(40px, calc((100% - 1100px) / 2));
}
.section-header { margin-bottom: 48px; }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -.035em;
  line-height: 1.1; margin-bottom: 12px;
}
.section-sub {
  font-size: 1rem; color: var(--text-sub); max-width: 520px; line-height: 1.7;
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--purple); color: #fff;
  font-size: .9rem; font-weight: 600;
  padding: 13px 26px; border-radius: 50px;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }
.btn-primary.btn-large { font-size: 1rem; padding: 15px 32px; }
.btn-secondary {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text);
  font-size: .9rem; font-weight: 500;
  padding: 13px 26px; border-radius: 50px;
  border: 1.5px solid var(--border);
  transition: border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--text); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff;
  font-size: .9rem; font-weight: 500;
  padding: 13px 26px; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.7); transform: translateY(-1px); }

/* Placeholders */
.media-placeholder {
  width: 100%; height: 100%; min-height: 160px;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: var(--text-muted); text-align: center; padding: 20px;
}
.media-placeholder span { font-size: .75rem; }
.ph-text { color: var(--text-muted); font-style: italic; font-size: .85rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh; padding: 64px 40px 80px;
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 60px;
}
.hero-text { flex: 1; max-width: 560px; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.badge {
  font-size: .72rem; font-weight: 600;
  padding: 5px 12px; border-radius: 50px;
  letter-spacing: .01em;
}
.badge-purple { background: var(--purple-light); color: var(--purple); }
.badge-peach  { background: var(--peach-light); color: #c2410c; }
.badge-mint   { background: var(--mint-light); color: #065f46; }
[data-theme="dark"] .badge-purple { color: #c4b5fd; }
[data-theme="dark"] .badge-peach  { color: #fb923c; }
[data-theme="dark"] .badge-mint   { color: #34d399; }
.hero-heading {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.05; margin-bottom: 20px; color: var(--text);
}
.hero-heading-sub { color: var(--purple); }
[data-theme="dark"] .hero-heading-sub { color: #a78bfa; }
.hero-body {
  font-size: 1.05rem; color: var(--text-sub);
  line-height: 1.75; margin-bottom: 24px; max-width: 480px;
}
.hero-gsd {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
}
.gsd-badge {
  background: var(--text); color: var(--bg);
  font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 50px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.gsd-sub {
  font-size: .82rem; color: var(--text-muted); font-style: italic;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero photo */
.hero-photo {
  flex-shrink: 0; width: 380px;
}
.hero-photo-inner {
  position: relative;
}
.photo-placeholder-hero {
  width: 100%; aspect-ratio: 4/5;
  background: var(--purple-light);
  border-radius: 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--purple); text-align: center; padding: 32px;
  border: 2px dashed var(--purple-mid);
}
[data-theme="dark"] .photo-placeholder-hero {
  background: var(--purple-light); color: #a78bfa;
  border-color: #3b0764;
}
.photo-placeholder-hero p { font-size: .9rem; font-weight: 500; }
.photo-placeholder-hero span { font-size: .72rem; color: var(--purple); opacity: .7; }
.hero-float-card {
  position: absolute; bottom: -16px; left: -20px;
  background: var(--card); border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 220px;
}
.float-stat strong {
  display: block; font-size: 1.8rem; font-weight: 800;
  letter-spacing: -.03em; color: var(--purple); line-height: 1;
  margin-bottom: 4px;
}
[data-theme="dark"] .float-stat strong { color: #a78bfa; }
.float-stat span { font-size: .72rem; color: var(--text-sub); line-height: 1.4; }

/* ============================================================
   PRESS BAR
   ============================================================ */
.press-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 40px;
  display: flex; align-items: center; gap: 32px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg-alt);
}
.press-bar-label {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
  white-space: nowrap; flex-shrink: 0;
}
.press-logos {
  display: flex; align-items: center; gap: 20px; flex-wrap: nowrap;
}
.press-item {
  font-size: .78rem; color: var(--text-sub); text-align: center;
  line-height: 1.4; white-space: nowrap; flex-shrink: 0;
}
.press-item strong { color: var(--text); display: block; }
.press-divider { color: var(--border); font-size: 1.2rem; flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.service-card {
  border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-purple { background: var(--purple-light); border-color: var(--purple-mid); }
.service-peach  { background: var(--peach-light);  border-color: var(--peach-mid); }
.service-mint   { background: var(--mint-light);   border-color: var(--mint-mid); }
.service-yellow { background: var(--yellow-light); border-color: var(--yellow-mid); }
.service-icon { font-size: 1.6rem; margin-bottom: 14px; }
.service-card h3 {
  font-size: .95rem; font-weight: 700;
  color: var(--text); margin-bottom: 10px; letter-spacing: -.01em;
}
.service-card p { font-size: .85rem; color: var(--text-sub); line-height: 1.7; }

/* Automation section overrides */
.automation-grid { grid-template-columns: repeat(3, 1fr) !important; }
.automation-intro { margin-bottom: 40px; }
.automation-intro p {
  font-size: .975rem; color: var(--text-sub);
  line-height: 1.8; max-width: 680px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.portfolio-card {
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.portfolio-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md);
  border-color: var(--text-muted);
}
.portfolio-card-group { grid-column: span 2; }
.portfolio-card-top { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.portfolio-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.portfolio-tag {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; padding: 3px 10px; border-radius: 50px;
}
.tag-purple { background: var(--purple-light); color: var(--purple); }
.tag-peach  { background: var(--peach-light); color: #c2410c; }
.tag-mint   { background: var(--mint-light); color: #065f46; }
.tag-yellow { background: var(--yellow-light); color: #92400e; }
[data-theme="dark"] .tag-purple { color: #c4b5fd; }
[data-theme="dark"] .tag-peach  { color: #fb923c; }
[data-theme="dark"] .tag-mint   { color: #34d399; }
[data-theme="dark"] .tag-yellow { color: #fbbf24; }
.portfolio-badge {
  font-size: .68rem; font-weight: 600; padding: 3px 10px; border-radius: 50px;
}
.badge-exited { background: #dcfce7; color: #15803d; }
.badge-active { background: #e0f2fe; color: #0369a1; }
[data-theme="dark"] .badge-exited { background: #14532d; color: #86efac; }
[data-theme="dark"] .badge-active { background: #0c4a6e; color: #7dd3fc; }
.portfolio-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  letter-spacing: -.02em; line-height: 1.2;
}
.portfolio-role { font-size: .78rem; color: var(--text-muted); font-weight: 500; }
.portfolio-desc { font-size: .875rem; color: var(--text-sub); line-height: 1.7; flex: 1; }
.portfolio-link {
  font-size: .78rem; font-weight: 500; color: var(--purple);
  margin-top: 4px; transition: opacity .2s;
}
.portfolio-link:hover { opacity: .7; }
[data-theme="dark"] .portfolio-link { color: #a78bfa; }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: var(--purple);
  padding: 72px 40px;
}
.stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: center;
}
.stat {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 10px; padding: 0 16px; text-align: center;
}
.stat-div {
  width: 1px; height: 70px; background: rgba(255,255,255,.2);
  flex-shrink: 0; align-self: center;
}
.stat-num {
  display: block;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.04em;
  color: #fff; line-height: 1;
}
.stat-label {
  font-size: .75rem; color: rgba(255,255,255,.75);
  text-transform: uppercase; letter-spacing: .06em;
  line-height: 1.5; font-weight: 500;
}

/* ============================================================
   STORY
   ============================================================ */
.story-wrap {
  display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start;
}
.story-text h2 { margin-bottom: 24px; }
.story-lead {
  font-size: 1.2rem; font-weight: 600; color: var(--text);
  margin-bottom: 20px; line-height: 1.5; letter-spacing: -.01em;
}
.story-text p {
  font-size: .975rem; color: var(--text-sub); line-height: 1.85;
  margin-bottom: 16px;
}
.story-text p:last-child { margin-bottom: 0; }
.sidebar-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 88px;
}
.sidebar-row { display: flex; flex-direction: column; gap: 3px; }
.sidebar-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
}
.sidebar-val { font-size: .82rem; color: var(--text-sub); line-height: 1.5; }

/* ============================================================
   RECOGNITION
   ============================================================ */
.recognition-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto; gap: 20px; margin-bottom: 32px;
}
.recog-large { grid-row: span 2; }
.recog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.recog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.recog-photo { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.recog-large .recog-photo { aspect-ratio: 3/4; }
.recog-photo-sm { aspect-ratio: 16/7; }
.recog-ph {
  width: 100%; height: 100%; min-height: 120px;
  border-radius: 0; border: none; border-bottom: 1px solid var(--border);
}
.recog-body { padding: 20px; flex: 1; }
.recog-body-only { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.recog-emoji { font-size: 2rem; margin-bottom: 4px; }
.recog-tag {
  display: inline-block;
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: var(--purple);
  background: var(--purple-light); padding: 3px 10px;
  border-radius: 50px; margin-bottom: 8px;
}
[data-theme="dark"] .recog-tag { color: #c4b5fd; }
.recog-body h3 {
  font-size: .95rem; font-weight: 700; color: var(--text);
  margin-bottom: 6px; letter-spacing: -.01em;
}
.recog-body p { font-size: .82rem; color: var(--text-sub); line-height: 1.65; }
.recog-visit {
  display: inline-block; margin-top: 10px;
  font-size: .78rem; font-weight: 500; color: var(--purple);
  transition: opacity .2s;
}
.recog-visit:hover { opacity: .7; }
[data-theme="dark"] .recog-visit { color: #a78bfa; }
a.recog-card { cursor: pointer; }
a.recog-card:hover { border-color: var(--purple); }

/* Wide recognition card (Springer — spans full row) */
.recog-wide {
  grid-column: 1 / -1;
  flex-direction: row !important;
}
.recog-wide-inner {
  flex-direction: row !important;
  align-items: center;
  gap: 28px;
  padding: 24px 28px;
}
.recog-wide-inner .recog-emoji { font-size: 2.4rem; flex-shrink: 0; margin-bottom: 0; }

/* Photo strip */
.photo-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.photo-strip-slot { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
.photo-strip-slot .media-placeholder {
  height: 100%; min-height: unset; border-radius: 0; border: 1px dashed var(--border);
  font-size: .72rem; gap: 6px;
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-wrap { max-width: 760px; margin: 0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--purple-light); border-radius: var(--radius);
  border: 1px solid var(--purple-mid); padding: 40px 44px;
  position: relative;
}
[data-theme="dark"] .testimonial-card { border-color: #3b0764; }
.quote-icon { color: var(--purple); position: absolute; top: 24px; left: 36px; }
[data-theme="dark"] .quote-icon { color: #a78bfa; }
blockquote {
  font-size: 1rem; color: var(--text-sub); line-height: 1.85;
  font-style: italic; margin-bottom: 28px; padding-top: 8px;
}
.testimonial-author { display: flex; align-items: flex-start; gap: 14px; }
.author-info { display: flex; flex-direction: column; gap: 3px; }
.author-info strong { font-size: .9rem; color: var(--text); font-style: normal; }
.author-info span { font-size: .78rem; color: var(--text-muted); font-style: normal; }
.author-context {
  font-size: .75rem !important; color: var(--purple) !important;
  font-weight: 600; font-style: normal;
}
[data-theme="dark"] .author-context { color: #a78bfa !important; }

/* ============================================================
   CONSULTING CTA
   ============================================================ */
.consult-section {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  padding: 100px 40px; text-align: center;
}
.consult-inner { max-width: 660px; margin: 0 auto; }
.consult-eyebrow {
  display: inline-block;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.65);
  margin-bottom: 20px;
}
.consult-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.15; color: #fff; margin-bottom: 20px;
}
.consult-body {
  font-size: 1rem; color: rgba(255,255,255,.8);
  line-height: 1.75; max-width: 520px; margin: 0 auto 40px;
}
.consult-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center;
}
.footer-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.footer-links {
  font-size: .82rem; color: var(--text-muted);
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { flex-direction: column-reverse; align-items: flex-start;
    padding-top: 84px; padding-bottom: 60px; min-height: unset; gap: 36px; }
  .hero-photo { width: 100%; max-width: 420px; }
  .hero-text { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card-group { grid-column: span 1; }
  .recognition-grid { grid-template-columns: 1fr 1fr; }
  .recog-large { grid-row: span 1; }
  .story-wrap { grid-template-columns: 1fr; gap: 40px; }
  .sidebar-card { position: static; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { flex-wrap: wrap; }
  .stat { min-width: 45%; }
  .stat-div { display: none; }
  .section { padding: 64px 24px; }
  .section-alt { padding: 64px 24px; }
  .press-bar { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .footer { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .automation-grid { grid-template-columns: 1fr !important; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .recognition-grid { grid-template-columns: 1fr; }
  .recog-wide { grid-column: auto; flex-direction: column !important; }
  .recog-wide-inner { flex-direction: column !important; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .stat { min-width: 100%; }
  .hero-heading { font-size: 2.6rem; }
  .testimonial-card { padding: 28px 24px; }
  .consult-section { padding: 72px 24px; }

  /* GSD badge fix */
  .hero-gsd {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Button alignment fixes */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    text-align: center;
    justify-content: center;
  }
  .consult-actions {
    flex-direction: column;
    align-items: center;
  }
  .consult-actions .btn-primary,
  .consult-actions .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
  }
}
