/* ============================================================
   ADAM HUGHES — Light Theme Redesign
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #ffffff;
  --bg-2:        #f6f6f8;
  --card:        #ffffff;
  --card-hover:  #fbfbfc;
  --border:      rgba(15,15,20,0.09);
  --border-h:    rgba(15,15,20,0.18);

  --accent:      #15803d;
  --accent-dim:  rgba(21,128,61,0.08);
  --accent-glow: rgba(21,128,61,0.22);

  --purple:      #7c3aed;
  --pink:        #db2777;
  --blue:        #2563eb;
  --orange:      #ea580c;
  --teal:        #0d9488;

  --ink:    #111114;
  --text:   rgba(15,15,20,0.82);
  --muted:  rgba(15,15,20,0.56);
  --dim:    rgba(15,15,20,0.38);

  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow:    0 1px 2px rgba(15,15,20,0.04), 0 8px 24px rgba(15,15,20,0.05);
  --shadow-lg: 0 4px 12px rgba(15,15,20,0.05), 0 20px 48px rgba(15,15,20,0.08);
  --transition: 0.2s ease;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Google Sans Flex', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Google Sans Flex', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 500; font-family: 'Google Sans Flex', sans-serif; }

p { color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.5rem; color: var(--muted); }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

/* --- Gradient text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 20%, var(--pink) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section label: bare uppercase eyebrow with a green mark --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- Section header --- */
.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title { margin-bottom: 1rem; }
.section-intro { font-size: 1.05rem; color: var(--muted); margin: 0; }

/* --- Divider --- */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: 'Google Sans Flex', sans-serif;
}

.btn-primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}
.btn-primary:hover { background: #2c2c33; border-color: #2c2c33; color: #ffffff; box-shadow: 0 8px 24px rgba(15,15,20,0.22); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15,15,20,0.16);
}
.btn-outline:hover { border-color: rgba(15,15,20,0.32); color: var(--ink); background: rgba(15,15,20,0.04); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(21,128,61,0.3);
}
.btn-ghost:hover { background: var(--accent-dim); color: var(--accent); }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 600;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* On mobile the nav scrolls away with the page instead of pinning.
   The blur must go too: backdrop-filter creates a stacking context
   that would trap the open menu below the hero. */
@media (max-width: 680px) {
  .nav {
    position: static;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--ink);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}
.nav-links li:last-child a { color: #ffffff; }
.nav-links a.btn.active::after { display: none; }

/* MEGA MENU — desktop */
.nav-has-dropdown { position: relative; }

.nav-dropdown-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-has-dropdown.open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-mega {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(820px, calc(100vw - 3rem));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  pointer-events: none;
  z-index: 500;
  box-shadow: 0 24px 48px rgba(15,15,20,0.12), 0 0 0 1px rgba(15,15,20,0.05);
}

.nav-has-dropdown.open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}

.mega-item:hover {
  background: rgba(21,128,61,0.06);
  border-color: rgba(21,128,61,0.18);
}

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.mega-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  font-family: 'Google Sans Flex', sans-serif;
}

.mega-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.nav-mega-backdrop {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: rgba(246,246,248,0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 450;
  pointer-events: none;
}
.nav-mega-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media (max-width: 960px) {
  .nav-mega-backdrop { display: none; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,15,20,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 0%, #000 40%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 90% at 100% 0%, #000 40%, transparent 75%);
  pointer-events: none;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  pointer-events: none;
  will-change: transform;
}
.orb-1 { width: 650px; height: 650px; background: #7c3aed; top: -200px; right: -150px; }
.orb-2 { width: 450px; height: 450px; background: #0d9488; top: 150px; left: -120px; }
.orb-3 { width: 350px; height: 350px; background: #db2777; bottom: -80px; right: 250px; opacity: 0.12; }
.orb-4 { width: 250px; height: 250px; background: #2563eb; top: 250px; right: 300px; opacity: 0.11; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(21,128,61,0.22);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.75rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; max-width: 780px; }

.hero-content h1 { margin-bottom: 1.25rem; }

.hero-cycle {
  display: inline-block;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-cycle.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
}
@media (max-width: 680px) {
  .hero-cycle--sm { font-size: 9vw; }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.hero-snippet {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats {
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.4), transparent);
  pointer-events: none;
}
.service-card:hover {
  border-color: var(--border-h);
  background: var(--card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15,15,20,0.10);
}

.service-card--featured {
  box-shadow: 0 0 0 1px rgba(15,15,20,0.12), var(--shadow);
}
.service-card--featured:hover {
  box-shadow: 0 0 0 1px rgba(15,15,20,0.2), 0 20px 40px rgba(15,15,20,0.12);
}

.service-badge-pill {
  position: absolute;
  top: -1px; left: 1.5rem;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 0 0 8px 8px;
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.service-card h3 { font-size: 1.05rem; color: var(--ink); margin: 0; }
.service-card p { font-size: 0.88rem; color: var(--muted); margin: 0; flex: 1; }

.card-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.25rem;
}

/* --- Service card colour variants ---
   Neutral light-gray cards; the colour survives only as a subtle
   layer: a tinted icon chip and a matching link. */
.service-card--purple,
.service-card--teal,
.service-card--pink,
.service-card--green {
  background: var(--bg-2);
  border-color: rgba(15,15,20,0.05);
  box-shadow: none;
}
.service-card--purple:hover,
.service-card--teal:hover,
.service-card--pink:hover,
.service-card--green:hover {
  background: #efeff3;
  border-color: rgba(15,15,20,0.1);
  box-shadow: 0 16px 32px rgba(15,15,20,0.07);
}

.service-card--purple .service-icon { background: rgba(124,58,237,0.09); color: var(--purple); }
.service-card--teal   .service-icon { background: rgba(13,148,136,0.09);  color: var(--teal); }
.service-card--pink   .service-icon { background: rgba(219,39,119,0.08);  color: var(--pink); }
.service-card--green  .service-icon { background: rgba(21,128,61,0.09);   color: var(--accent); }

.service-card--purple .card-link { color: var(--purple); }
.service-card--teal   .card-link { color: var(--teal); }
.service-card--pink   .card-link { color: var(--pink); }
.service-card--green  .card-link { color: var(--accent); }

/* ============================================================
   USP GRID
   ============================================================ */
/* Open, borderless layout: black line icon, plain heading, muted copy */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
}

.usp-icon {
  width: 40px;
  height: 40px;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.usp-card h3 { font-size: 1.35rem; font-weight: 400; color: var(--ink); margin-bottom: 1rem; }
.usp-card p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Process section background wash */
#process {
  background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,0.04) 40%, rgba(21,128,61,0.03) 100%);
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.package-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.package-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 12px 32px rgba(15,15,20,0.10);
}

.package-card--featured {
  border-color: rgba(21,128,61,0.3);
  background: linear-gradient(160deg, rgba(21,128,61,0.05) 0%, var(--card) 50%);
  box-shadow: 0 0 0 1px rgba(21,128,61,0.16), var(--shadow);
}
.package-card--featured:hover {
  border-color: rgba(21,128,61,0.5);
  box-shadow: 0 0 0 1px rgba(21,128,61,0.28), 0 16px 40px rgba(21,128,61,0.12);
}

.package-pill {
  position: absolute;
  top: -1px; left: 2rem;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 0 0 8px 8px;
}

.package-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}

.package-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.package-type {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.package-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  font-family: 'Google Sans Flex', sans-serif;
  margin: 0;
}

.package-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.package-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 500;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.package-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.package-for {
  font-size: 0.78rem;
  color: var(--dim);
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   PROCESS STEPS
   Open timeline: hairline connector with green nodes and
   oversized ghost numerals, no boxes.
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.process-step {
  position: relative;
  padding-top: 2.75rem;
}
.process-step::before {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 2px;
}

.process-step-num {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(15,15,20,0.13);
  margin-bottom: 1rem;
  user-select: none;
}
.process-step-num::before { content: '0'; }

/* --- Timeline draw-in ---
   JS tags the container .will-animate on load and .in-view on scroll:
   the line draws across, nodes pop in as it reaches them, then each
   emits one soft ring. Without JS nothing is ever hidden. */
.process-steps.will-animate::before {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
}
.process-steps.will-animate .process-step::before {
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process-steps.in-view::before { transform: none; }
.process-steps.in-view .process-step::before {
  transform: none;
  animation: process-node-ring 0.9s ease-out;
  animation-fill-mode: none;
}
.process-steps.in-view .process-step:nth-child(1)::before { transition-delay: 0.10s; animation-delay: 0.45s; }
.process-steps.in-view .process-step:nth-child(2)::before { transition-delay: 0.45s; animation-delay: 0.80s; }
.process-steps.in-view .process-step:nth-child(3)::before { transition-delay: 0.80s; animation-delay: 1.15s; }

@keyframes process-node-ring {
  from { box-shadow: 0 0 0 0 rgba(21,128,61,0.30); }
  to   { box-shadow: 0 0 0 14px rgba(21,128,61,0); }
}

@media (prefers-reduced-motion: reduce) {
  .process-steps.will-animate::before,
  .process-steps.will-animate .process-step::before {
    transform: none;
    transition: none;
    animation: none;
  }
}

.process-step h3 { color: var(--ink); font-size: 1.05rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ============================================================
   ABOUT GRID
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual { position: relative; }

#about .about-text { margin-bottom: 8rem; }

.photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.photo-real {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  display: block;
  border: 1px solid var(--border);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(124,58,237,0.2);
}

.photo-initials {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.18);
  user-select: none;
}

.photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(17,17,20,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.photo-badge strong { display: block; color: #ffffff; font-size: 0.95rem; margin-bottom: 0.2rem; }
.photo-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.about-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.credential-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.credential-logo {
  height: 48px;
  width: auto;
  filter: brightness(0);
  opacity: 0.42;
  transition: opacity 0.2s ease;
}

.credential-logo:hover { opacity: 0.75; }

.credential-logo--hubspot { height: 56px; }

.about-closing {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

/* ============================================================
   DARK BANNER (case studies advert)
   ============================================================ */
.dark-banner {
  position: relative;
  background: #0b0b0f;
  border-radius: var(--radius-xl);
  padding: 5.5rem 4rem;
  overflow: hidden;
}

.dark-banner-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.dark-banner-content { position: relative; z-index: 1; max-width: 620px; }
.dark-banner h2 { color: #ffffff; margin-bottom: 1rem; }
.dark-banner p {
  color: rgba(255,255,255,0.66);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 2.25rem;
}
.dark-banner-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Line break that only exists on small screens */
.br-mobile { display: none; }
@media (max-width: 680px) {
  .br-mobile { display: inline; }
}

.btn-white { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.btn-white:hover { background: #e6e6ea; border-color: #e6e6ea; color: var(--ink); }

.btn-dark-ghost { background: rgba(255,255,255,0.1); color: #ffffff; border-color: transparent; }
.btn-dark-ghost:hover { background: rgba(255,255,255,0.18); color: #ffffff; }

@media (max-width: 680px) {
  .dark-banner { padding: 3.5rem 1.75rem; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(219,39,119,0.06) 100%);
  border: 1px solid rgba(124,58,237,0.16);
  border-radius: var(--radius-xl);
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: 0.75rem; position: relative; z-index: 1; }
.cta-banner p { color: var(--muted); max-width: 500px; margin: 0 auto 2rem; font-size: 1.05rem; position: relative; z-index: 1; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* --- CTA banner: green accent variant (homepage) --- */
.cta-banner--accent {
  background: linear-gradient(135deg, var(--accent) 0%, #166534 100%);
  border-color: rgba(255,255,255,0.14);
}
.cta-banner--accent::before {
  background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
}
.cta-banner--accent h2 { color: #ffffff; }
.cta-banner--accent p { color: rgba(255,255,255,0.82); }
.cta-banner--accent .btn-primary {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}
.cta-banner--accent .btn-primary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.cta-banner--accent .btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.45);
}
.cta-banner--accent .btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background: var(--bg);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,15,20,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 55% 100% at 100% 0%, #000 30%, transparent 70%);
  mask-image: radial-gradient(ellipse 55% 100% at 100% 0%, #000 30%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { max-width: 780px; margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero--wide h1 { max-width: none; }
.page-hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ============================================================
   SERVICE PAGE (fractional-support et al.)
   ============================================================ */
.svc-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4rem 6rem;
  align-items: start;
}

.svc-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 1.25rem 0 0;
}

.svc-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 2.25rem;
}
.svc-terms {
  font-size: 0.875rem;
  color: var(--dim);
  margin: 0.5rem 0 0;
}

/* Deliverables as a numbered index: green counters, hairline rules */
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: svc;
}
.svc-list li {
  counter-increment: svc;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--text);
  margin: 0;
}
.svc-list li:first-child { padding-top: 0.25rem; }
.svc-list li::before {
  content: counter(svc, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* --- Image module: split band with parallax image window --- */
.img-module {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-2);
}

.img-module-card {
  align-self: center;
  padding: 3.5rem;
}
.img-module-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.img-module-label::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.img-module-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}
.img-module-card p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin: 0; }

.img-module-media {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}
.img-module-media img {
  position: absolute;
  left: 0; top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  will-change: transform;
}

.img-module-pill {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  z-index: 1;
  background: rgba(17,17,20,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .img-module { grid-template-columns: 1fr; }
  .img-module-media { order: -1; min-height: 0; aspect-ratio: 4 / 5; }
  .img-module-card { padding: 1.75rem 1.5rem 2rem; }
  .img-module-pill { top: 1rem; right: 1rem; }
}

/* Who it's for: open grid with green square markers */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.75rem 5rem;
  max-width: 980px;
}
.fit-item { position: relative; padding-left: 1.5rem; }
.fit-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0.42em;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
}
.fit-item h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.fit-item p { font-size: 0.92rem; margin: 0; }

.svc-statement {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.35;
  color: var(--ink);
  text-align: center;
  max-width: 680px;
  margin: 4.5rem auto 0;
  letter-spacing: -0.01em;
}

@media (max-width: 860px) {
  .svc-split { grid-template-columns: 1fr; gap: 3rem; }
  .fit-grid { grid-template-columns: 1fr; gap: 2rem; }
  .svc-statement { margin-top: 3rem; }
}

/* ============================================================
   SERVICE DETAIL (services page)
   ============================================================ */
.service-detail { background: var(--bg-2); }
.service-detail:nth-child(even) { background: var(--bg); }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: flex-start;
}

.service-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(21,128,61,0.22);
  margin-bottom: 0.75rem;
}

.service-lead {
  font-size: 1.1rem;
  color: rgba(15,15,20,0.68);
  font-weight: 500;
  line-height: 1.65;
  margin: 1rem 0 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.service-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
}

.pricing-block {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}
.pricing-from { font-size: 0.85rem; color: var(--muted); }
.pricing-num {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}
.pricing-period { font-size: 0.9rem; color: var(--muted); }

.aside-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.aside-card h4 { color: var(--ink); font-size: 0.9rem; margin-bottom: 0.75rem; }
.aside-card ul { padding-left: 1.25rem; }
.aside-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ============================================================
   SERVICES TABS
   ============================================================ */

.stabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.9rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--muted);
  text-align: left;
  flex: 1;
  min-width: 150px;
}
.stab:hover { border-color: var(--border-h); color: var(--text); }
.stab.active { border-color: var(--accent); background: var(--accent-dim); }

.stab-name {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.stab.active .stab-name,
.stab:hover .stab-name { color: var(--ink); }

.stab-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.spanel { display: none; }
.spanel.active { display: block; }

.spanel-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.spanel-main {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.spanel-main h2 { margin-bottom: 0.75rem; }

.spanel-lead {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.spanel-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.spanel-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text);
  margin: 0;
}
.spanel-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.48em;
}

.spanel-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.spanel-price { display: flex; align-items: baseline; gap: 0.3rem; }
.price-from { font-size: 0.78rem; color: var(--muted); }
.price-num {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.price-period { font-size: 0.82rem; color: var(--muted); }

.spanel-aside {
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spanel-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.spanel-card h4 {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.spanel-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.spanel-card ul li {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  margin: 0;
}
.spanel-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.72rem;
  top: 0.15em;
}
.spanel-card p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.65; }

@media (max-width: 860px) {
  .spanel-inner { grid-template-columns: 1fr; }
  .spanel-aside { border-left: none; border-top: 1px solid var(--border); }
}
@media (max-width: 680px) {
  .stab { flex: 0 0 calc(50% - 0.25rem); min-width: 0; }
  .spanel-main { padding: 1.5rem; }
  .spanel-aside { padding: 1.5rem; }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 1.75rem;
  border-left: 2px solid var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: -2.3rem;
  top: 0.25rem;
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  padding-top: 0.2rem;
  white-space: nowrap;
}
.timeline-content h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* ============================================================
   CREDENTIALS
   ============================================================ */
.bio-credentials { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }

.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cred-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.credential strong { display: block; font-size: 0.875rem; color: var(--ink); margin-bottom: 0.15rem; }
.credential span { font-size: 0.78rem; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: flex-start;
}

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--muted); margin-bottom: 2rem; font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(15,15,20,0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Google Sans Flex', sans-serif;
  color: var(--ink);
  background: var(--card);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(15,15,20,0.45)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(15,15,20,0.32); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(21,128,61,0.45);
  box-shadow: 0 0 0 3px rgba(21,128,61,0.1);
}
.form-group select option { background: var(--card); }
.form-group textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.78rem; color: var(--dim); text-align: center; margin-top: 0.5rem; }

.form-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.success-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid rgba(21,128,61,0.3);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { font-size: 0.9rem; }

.contact-aside { display: flex; flex-direction: column; gap: 1rem; }

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 0.95rem; color: var(--ink); margin-bottom: 0.75rem; font-family: 'Google Sans Flex', sans-serif; }
.contact-info-card p { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.75rem; }
.contact-info-card p:last-child { margin-bottom: 0; }

.expect-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.expect-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.check { color: var(--accent); font-weight: 500; flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.faq-item h3, .faq-item h4 { color: var(--ink); font-size: 0.95rem; margin-bottom: 0.6rem; font-weight: 500; }
.faq-item p { font-size: 0.875rem; color: var(--muted); margin: 0; }

/* ============================================================
   LOGO BAR
   ============================================================ */
.logos-bar {
  background: var(--bg-2);
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.logo-pill {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: 0.85rem;
}
.footer-logo span { color: var(--accent); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 280px;
}

/* The CIM asset is white; invert renders it in ink on light ground */
.footer-cim {
  height: 52px;
  width: auto;
  margin-top: 1.5rem;
  filter: invert(1);
  opacity: 0.65;
}
.credential-logo--cim { filter: invert(1); opacity: 0.7; }

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(15,15,20,0.45);
  margin-bottom: 1rem;
  font-family: 'Google Sans Flex', sans-serif;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--dim); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--muted); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.25rem;
  height: 44px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border-h);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow-lg);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background var(--transition), border-color var(--transition), color var(--transition);
}
.scroll-top:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-label {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .scroll-top {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    bottom: 1.25rem;
    right: 1.25rem;
    border-color: rgba(21,128,61,0.35);
    box-shadow: 0 0 0 1px rgba(21,128,61,0.12), 0 4px 16px rgba(15,15,20,0.12);
  }
  .scroll-top-label { display: none; }
}

/* ============================================================
   SCROLL ANIMATION
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 961px) {
  .about-grid { align-items: start; }
}

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr !important; }
  .about-visual { width: 100%; max-width: 400px; margin: 0 auto; }
  .photo-wrap { width: 100%; }
  #about .about-text { margin-bottom: 0; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 680px) {
  .section { padding: 4rem 0; }
  .hero { padding: 5rem 0 4rem; }
  .page-hero { padding: 4rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Stats collapse into compact hairline-divided rows */
  .hero-stats { flex-direction: column; gap: 0; padding-top: 0.75rem; }
  .hero-stats > div {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats > div:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-stat-num { font-size: 1.35rem; margin-bottom: 0; min-width: 7rem; }
  .hero-stat-label { font-size: 0.9rem; }
  .credential-logos { flex-wrap: wrap; gap: 1.75rem; }
  #services .section-label { display: none; }
  .usp-grid { grid-template-columns: 1fr; }

  /* Homepage process section is desktop-only; service pages keep theirs */
  #process { display: none; }

  /* Process timeline turns vertical */
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-steps::before {
    top: 0.35rem; bottom: 0.35rem;
    left: 4px; right: auto;
    width: 1px; height: auto;
  }
  .process-steps.will-animate::before {
    transform: scaleY(0);
    transform-origin: 50% 0;
  }
  .process-step { padding: 0 0 0 2.25rem; }
  .process-step::before { top: 0.35rem; }
  .process-step-num { font-size: 3.25rem; margin-bottom: 0.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-banner { padding: 2.5rem 1.5rem; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    z-index: 650;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
    backdrop-filter: blur(16px);
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-inner { position: relative; }
  .nav-toggle { display: block; }

  /* Mega menu mobile overrides */
  .nav-has-dropdown { width: 100%; }
  .nav-dropdown-label { justify-content: center; }
  .nav-mega {
    position: static;
    transform: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0.25rem;
    transition: max-height 0.35s ease, opacity 0.25s, visibility 0.25s;
  }
  .nav-has-dropdown.open .nav-mega {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0.5rem 0 0.25rem;
    pointer-events: auto;
  }
  .nav-has-dropdown.open .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
  }
  .mega-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    column-gap: 0.75rem;
    row-gap: 0.1rem;
    padding: 0.55rem 0.75rem;
    text-align: left;
  }
  .mega-icon { grid-row: 1 / 3; width: 32px; height: 32px; margin-bottom: 0; align-self: center; }
  .mega-name { font-size: 0.875rem; align-self: end; }
  .mega-desc { font-size: 0.75rem; align-self: start; }
}

/* ============================================================
   METRICS STRIP (results page)
   ============================================================ */
.metrics-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 3rem;
  flex: 1;
  min-width: 180px;
}
.metric-num {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 160px;
  line-height: 1.5;
}
.metric-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ============================================================
   CASE STUDY CARDS (results page)
   ============================================================ */

/* Image slot — shown when a real <img> is supplied */
.cs-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.cs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.case-study-card:hover .cs-image img { transform: scale(1.04); }

/* Bottom gradient so the header below bleeds in nicely on real images */
.cs-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--card));
  pointer-events: none;
}

/* Placeholder — visible until a real image is supplied */
.cs-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.cs-image-placeholder svg { opacity: 0.25; }
.cs-placeholder-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* Per-card colour themes */
.cs-img-tech         { background: linear-gradient(135deg, #0e1628 0%, #171a45 55%, #0e2035 100%); }
.cs-img-agency       { background: linear-gradient(135deg, #0a1c12 0%, #10291a 55%, #0b1e10 100%); }
.cs-img-consultancy  { background: linear-gradient(135deg, #150c26 0%, #1f0d35 55%, #150c26 100%); }
.cs-img-garden        { background: linear-gradient(135deg, #0a1f12 0%, #14311c 55%, #0a2013 100%); }

.case-study-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.case-study-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 8px 32px rgba(15,15,20,0.10);
}

.cs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(15,15,20,0.015);
}
.cs-meta { display: flex; flex-direction: column; gap: 0.35rem; }
.cs-type {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-service {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}
.cs-tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(15,15,20,0.045);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.cs-tag--featured {
  color: var(--purple);
  background: rgba(124,58,237,0.08);
  border-color: rgba(124,58,237,0.22);
}

.cs-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}
.cs-narrative {
  padding: 2rem;
  border-right: 1px solid var(--border);
}
.cs-narrative h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.4;
}
.cs-narrative h4 {
  font-size: 0.85rem;
  color: var(--ink);
  font-family: 'Google Sans Flex', sans-serif;
  margin: 1.5rem 0 0.75rem;
}
.cs-narrative p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.75rem; }

.cs-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex: 1;
}
.cs-stat:last-child { border-bottom: none; }
.cs-stat-num {
  font-family: 'Google Sans Flex', sans-serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--accent) 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-stat-label { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: border-color var(--transition);
  box-shadow: var(--shadow);
}
.testimonial-card:hover { border-color: var(--border-h); }
.testimonial-quote {
  font-size: 3.5rem;
  font-family: 'Google Sans Flex', sans-serif;
  color: var(--accent);
  line-height: 0.7;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.testimonial-text {
  font-size: 0.95rem;
  color: rgba(15,15,20,0.75);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.875rem; color: var(--ink); }
.testimonial-author span { font-size: 0.78rem; color: var(--muted); }



/* ============================================================
   RESPONSIVE — new components
   ============================================================ */
@media (max-width: 960px) {
  .cs-body { grid-template-columns: 1fr; }
  .cs-narrative { border-right: none; border-bottom: 1px solid var(--border); }
  .cs-stats { flex-direction: row; flex-wrap: wrap; }
  .cs-stat { flex: 1; min-width: 140px; border-right: 1px solid var(--border); border-bottom: none; }
  .cs-stat:last-child { border-right: none; }
}

@media (max-width: 680px) {
  .metrics-row { flex-direction: column; }
  .metric-divider { width: 60px; height: 1px; }
  .metric-item { padding: 1.25rem; }
  .cs-header { flex-direction: column; }
  .cs-stats { flex-direction: column; }
  .cs-stat { border-right: none; border-bottom: 1px solid var(--border); }
}
