/* ============================================================
   Makyn – Global Stylesheet
   Aesthetic: Clean B2B SaaS / precision light theme
   Fonts: Inter (display + body)
   Color Scheme:
     Navy:       #0F172A  (deep navy)
     Blue:       #0284C7  (sky blue – no purple bias)
     Teal:       #14B8A6  (accent only)
     Text:       #0F172A / #475569
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─── Variables ──────────────────────────────────────────────── */
:root {
  /* ─── Foundation (Navy System) ─── */
  --navy-900: #0B1220;
  --navy-800: #0F172A;
  --navy-700: #1E293B;
  --navy-600: #334155;

  /* ─── Text ─── */
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #64748B;
  --text-inverse:   #FFFFFF;

  /* ─── Blue (PRIMARY – no purple bias) ─── */
  --blue-600: #0284C7;
  --blue-500: #0EA5E9;
  --blue-400: #38BDF8;
  --blue-100: #E0F2FE;
  /* Text-safe darkened blue: meets 4.5:1 on white, off-white, gray-100 and the blue-100 badge
     background. Used anywhere --blue-600 was previously used as a text/icon color; --blue-600
     itself is retained for borders, backgrounds, and shadows where only 3:1 (or no) contrast
     applies, to preserve the original palette as closely as possible. */
  --blue-700: #0369A1;
  /* Text-safe darkened teal: meets 4.5:1 on white, off-white, and gray-100. --teal-500 itself is
     retained for use on dark navy backgrounds and inside decorative icon circles, where it
     already passes contrast requirements. */
  --teal-700: #0C6E64;

  /* ─── Teal (ACCENT ONLY) ─── */
  --teal-500: #14B8A6;
  --teal-400: #2DD4BF;
  --teal-100: #CCFBF1;

  /* ─── Neutrals ─── */
  --white:      #FFFFFF;
  --off-white:  #F8FAFC;
  --gray-100:   #F1F5F9;
  --gray-200:   #E2E8F0;
  --gray-300:   #CBD5E1;
  /* Accessible form-field border: --gray-300 only reaches ~1.5:1 against white, well under the
     3:1 WCAG 2.2 AA minimum for identifying UI component boundaries. This darker neutral (same
     slate family) reaches ~3.3:1 while staying visually close to the original light border. */
  --border-input: #828F9F;

  /* ─── Shadows ─── */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 6px 20px rgba(2, 6, 23, 0.08);
  --shadow-lg:  0 12px 40px rgba(2, 6, 23, 0.12);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   ACCESSIBILITY: Visually Hidden (screen-reader only) utility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   ACCESSIBILITY: Skip Link
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  background: var(--white);
  color: var(--navy-800);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   ACCESSIBILITY: Global Focus Visibility (WCAG 2.2 AA)
   One consistent keyboard-focus treatment for every interactive
   element on the site. The outline color (--blue-600) has been
   verified to meet at least 3:1 contrast against every background
   used across the site — white, off-white, gray-100, blue-100,
   and both navy tones — so a single treatment works everywhere.
   :focus-visible means the ring appears for keyboard/AT users
   without adding a ring on every mouse click.
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
[contenteditable]:focus-visible {
  outline: 2.5px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Form controls already carry their own border/box-shadow focus treatment;
   layer the same outline on top so the indicator is never solely a box-shadow
   (box-shadow-only indicators disappear under forced-colors/high-contrast modes). */
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible,
.multiselect-toggle:focus-visible,
.calc-input:focus-visible {
  outline: 2.5px solid var(--blue-600);
  outline-offset: 2px;
}

/* ============================================================
   ACCESSIBILITY: Reduced Motion
   Respect the user's OS-level motion preference by removing
   non-essential animation, smooth scrolling, transitions, and
   scroll-reveal effects. Content remains fully visible either way.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Inter', sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.75rem); line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.35; }

p { font-size: 1rem; color: var(--text-secondary); }

/* ─── Utilities ──────────────────────────────────────────────── */
.hidden { display: none !important; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }

.tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}

/* Blue tag — used on dark backgrounds */
.tag--blue {
  background: rgba(2,132,199, 0.12);
  color: var(--blue-400);
  border: 1px solid rgba(2,132,199, 0.25);
}

/* Dark/navy-bg tag — used on light backgrounds */
.tag--dark {
  background: var(--blue-100);
  color: var(--blue-700);
  border: 1px solid rgba(2,132,199, 0.15);
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(2,132,199, 0.25);
}
.btn--primary:hover {
  background: #0369A1;
  box-shadow: 0 10px 28px rgba(2,132,199, 0.35);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
  transform: translateY(-1px);
}

.btn--outline-blue {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-600);
}
.btn--outline-blue:hover {
  background: var(--blue-600);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-group { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── Navigation ─────────────────────────────────────────────── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

#main-nav.scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--teal-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-mobile-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 0.25rem;
  margin: -0.25rem;
}

#mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-700);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}
#mobile-menu.open { display: flex; }

#mobile-menu a {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
#mobile-menu a:hover { color: var(--white); }
#mobile-menu .btn { margin-top: 0.75rem; width: 100%; justify-content: center; }

/* ─── Hero ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  background: var(--navy-800);
  overflow: hidden;
  padding: 7rem 0 6rem;
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.16) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.10) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

#hero h1 {
  color: var(--white);
  margin: 1rem 0 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

#hero h1 .accent { color: var(--teal-500); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-support {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ─── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--navy-800);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
}
.page-hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.16) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 720px; text-align: center; margin: 0 auto; }
.page-hero h1 { color: var(--white); margin: 0.75rem 0 1.25rem; letter-spacing: -0.02em; }
.page-hero .hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin: 0 auto 1.25rem;
  line-height: 1.7;
  max-width: 580px;
}
.page-hero .hero-support {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ─── Problem Section ────────────────────────────────────────── */
#problem {
  background: var(--white);
}

.section-header { margin-bottom: 3.5rem; text-align: center; }
.section-header h2 { color: var(--text-primary); margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; max-width: 600px; color: var(--text-secondary); margin-left: auto; margin-right: auto; }

.work-callout {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-700);
  margin-top: -2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-icon {
  width: 40px;
  height: 40px;
  background: #FEE2E2;
  color: #DC2626;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.problem-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.problem-card p { font-size: 0.9rem; line-height: 1.65; color: var(--text-secondary); }

/* ─── Services (What Makyn Does) ─────────────────────────────── */
#services {
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

#services .section-header h2 { color: var(--white); }
#services .section-header p { color: rgba(255,255,255,0.5); }

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.service-card:hover {
  background: rgba(2,132,199,0.06);
  border-color: rgba(2,132,199,0.25);
}

.service-num {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-500);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.service-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ─── Why Makyn ──────────────────────────────────────────────── */
#why {
  background: var(--gray-100);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.outcome-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.outcome-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.outcome-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.outcome-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.outcome-card p { font-size: 0.875rem; line-height: 1.65; color: var(--text-secondary); }

/* ─── How It Works ───────────────────────────────────────────── */
#how {
  background: var(--gray-100);
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 3rem;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
  opacity: 0.25;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--teal-500);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1.5px solid rgba(20,184,166,0.3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step h3 { color: var(--text-primary); margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text-secondary); }

.step-handoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}
.step-handoff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  padding: 1.75rem;
  border-radius: var(--radius-md);
}
.step-handoff-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.75rem;
}
.step-handoff-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* ─── How Makyn Works — Services link ────────────────────────── */
.process-services-link {
  text-align: center;
  margin: 0 0 3rem;
}
.process-services-link a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.process-services-link a:hover {
  color: var(--blue-600);
  border-bottom-color: currentColor;
}

.how-cta { text-align: center; }

/* ─── ROI Preview ────────────────────────────────────────────── */
#roi {
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}

#roi::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.roi-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

#roi h2 { color: var(--white); margin-bottom: 1rem; }
#roi p { color: rgba(255,255,255,0.5); margin-bottom: 1rem; line-height: 1.75; }

.roi-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.roi-stat {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.roi-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.roi-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.roi-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.roi-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.roi-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
}

/* ─── About Preview ──────────────────────────────────────────── */
#about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 { color: var(--text-primary); margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; line-height: 1.75; color: var(--text-secondary); }

.about-accent {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

.about-quote { position: relative; z-index: 1; }

.quote-mark {
  font-family: 'Inter', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-500);
  opacity: 0.5;
  margin-bottom: -0.75rem;
}

.quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.quote-detail {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* ─── Final CTA ──────────────────────────────────────────────── */
#cta {
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,0.10) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

#cta h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

#cta .cta-body {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

#cta .closing-line {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
}

/* ─── Footer ─────────────────────────────────────────────────── */
#footer {
  background: var(--navy-900);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 3fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Groups the 3 footer link columns (Explore / Get in Touch / Legal) so they
   render as 3 even columns even though they're now wrapped in a single <nav>
   landmark for assistive tech — the <nav> itself is a grid container so its
   3 .footer-col children lay out exactly as the original 3 grid tracks did. */
.footer-nav-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.footer-brand-name span { color: var(--teal-500); }

.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.55); }
.footer-contact-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.footer-contact-row { display: flex; align-items: flex-start; gap: 0.55rem; }
.footer-contact-icon { flex-shrink: 0; margin-top: 0.2rem; color: rgba(255,255,255,0.55); }
.footer-contact-info a,
.phone-reveal { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact-info a:hover,
.phone-reveal:hover { color: var(--white); }
.phone-reveal {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.phone-reveal-link { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.phone-reveal-link:hover { color: var(--white); }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom,
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

/* ─── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Utility Classes ────────────────────────────────────────── */
.nowrap { white-space: nowrap; }
.mt-xs  { margin-top: 0.5rem; }
.mt-sm  { margin-top: 0.75rem; }

.content-narrow { max-width: 780px; }
.content-narrow--centered { max-width: 780px; margin: 0 auto; }
.p-centered { margin: 0 auto; }
.section-header--center { text-align: center; }

/* ─── Nav button sizing ──────────────────────────────────────── */
.btn--nav { padding: 0.55rem 1.25rem; font-size: 0.875rem; }

/* ─── Hero secondary sub ─────────────────────────────────────── */
.hero-sub--secondary { margin-top: 0.75rem; font-size: 1rem; opacity: 0.85; }

/* ─── Credibility Section ────────────────────────────────────── */
#credibility {
  background: var(--gray-100);
  padding: 6rem 0;
}

.body-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}
.body-text.body-text--tight { margin-top: 0.75rem; }

/* ─── Credibility list (index.html) ──────────────────────────── */
.credibility-section { border-bottom: 1px solid rgba(255,255,255,.07); }
.credibility-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.credibility-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.credibility-list li svg { flex-shrink: 0; margin-top: 3px; }
.credibility-callout {
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-primary);
  border-left: 3px solid var(--blue-600);
  padding-left: 1rem;
  margin: 1.5rem 0 1rem;
}

/* ─── How Makyn Works Section ────────────────────────────────── */
#how-makyn-works { background: var(--gray-100); }

.section-note { margin-top: 0.75rem; color: var(--text-secondary); font-size: 0.95rem; }
.steps-row--4col { grid-template-columns: repeat(4, 1fr); }
.steps-row--4col::before { left: calc(12.5% + 28px); right: calc(12.5% + 28px); }
/* ─── Makyn / Pre-Sales Split Model callout ──────────────────────────────── */
.split-model {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}
.split-model--embedded { margin-top: 0; padding-top: 0; border-top: none; }
.split-model-header { text-align: center; max-width: 620px; margin: 0 auto 2rem; }
.split-model-header h3 { font-size: 1.15rem; color: var(--text-primary); margin-bottom: 0.6rem; }
.split-model-header p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.65; }
.split-model-bars {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto;
}
.split-model-col {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-top: 3px solid var(--gray-300);
}
.split-model-col--makyn { border-top-color: var(--blue-600); }
.split-model-col--presales { border-top-color: var(--navy-800, #0b1220); }
.split-model-pct {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
}
.split-model-pct span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}
.split-model-col ul { list-style: none; padding: 0; margin: 0; }
.split-model-col li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.split-model-col li:last-child { border-bottom: none; }
.split-model-col p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }
.split-model-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--blue-700);
  flex-shrink: 0;
}

.problem-sub { margin-top: 0.75rem; font-weight: 600; color: var(--text-primary); }

.problem-result {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.problem-result__label {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.problem-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.problem-tag {
  background: var(--blue-100);
  color: var(--blue-700);
  padding: 0.45rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ─── Cost of Inaction (index.html) ─────────────────────────── */
.cost-section {
  background: rgba(239, 68, 68, .04);
  border-top: 1px solid rgba(239, 68, 68, .15);
  border-bottom: 1px solid rgba(239, 68, 68, .15);
}
.cost-inner { max-width: 640px; }
.cost-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.cost-list-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.cost-closer {
  font-size: 1.1rem;
  font-style: italic;
  color: #ef4444;
  margin-top: 1.25rem;
  font-weight: 500;
}

/* ─── ROI CFO additions (index.html) ────────────────────────── */
.roi-cfo-intro { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 1rem; }
.roi-list--cfo { margin-bottom: .25rem; }
.roi-divider-label {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin: 1.25rem 0 .5rem;
}

/* ─── Before vs After / Transformation (index.html) ─────────── */
.transformation-section { background: rgba(2,132,199, .04); }
.transformation-grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
}
.transformation-col {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.75rem;
}
.transformation-col--before {
  background: var(--white);
  border-color: var(--gray-200);
}
.transformation-col--after {
  border-color: rgba(2,132,199, .3);
  background: rgba(2,132,199, .06);
}
.transformation-col__label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}
.transformation-col__label--blue { color: var(--blue-700); }
.transformation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.transformation-list li { display: flex; align-items: center; gap: .6rem; font-size: .97rem; }
.transformation-divider { display: flex; justify-content: center; align-items: center; }

/* ─── Overview / ICP Section ─────────────────────────────────── */
.overview-section { background: var(--gray-100); }
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.overview-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.overview-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.overview-icon {
  width: 40px; height: 40px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.overview-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.overview-card p  { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── Services Grid ──────────────────────────────────────────── */
.services-grid--3col { grid-template-columns: repeat(3, 1fr); }
.service-num--lg { font-size: 1.5rem; }

/* ─── Why-Not-Internal Section ───────────────────────────────── */
#why-not-internal { background: var(--white); }

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.compare-col {
  padding: 1.5rem 2rem;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
}
.compare-col--with { padding: 1.5rem 2rem; background: var(--blue-100); }
.compare-col__label {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.compare-col__label--blue { color: var(--blue-700); }
.compare-list { display: flex; flex-direction: column; gap: 0.9rem; }
.compare-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.compare-row--positive {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.section-italic-note {
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
}

/* ─── ROI Section ────────────────────────────────────────────── */
.roi-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.roi-list-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
}
.roi-note {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.roi-bar-fill--50 { width: 50%; }
.roi-bar-fill--33 { width: 33%; }
.roi-bar-fill--20 { width: 20%; }
.roi-footnote {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: center;
}
.roi-source {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ─── Services Page ──────────────────────────────────────────── */
.services-intro-section { background: var(--white); padding-bottom: 0; }
.service-block--white   { background: var(--white); }
.service-block--light   { background: var(--white); }
.service-block--off-white { background: var(--white); }
.service-block-desc { color: var(--text-secondary); line-height: 1.75; font-size: 1.05rem; }
.services-who-section { background: var(--gray-100); }

/* ─── Services — Pre-Sales Handoff ───────────────────────────── */
.presales-handoff-section {
  background: var(--white);
  padding: 3rem 0;
}
.presales-handoff {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.presales-handoff-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.75rem;
}
.presales-handoff h2 {
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.presales-handoff p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

/* ─── How It Works Page ──────────────────────────────────────── */
.hiw-process-intro { background: var(--white); padding-bottom: 0; }
.steps-wrapper { background: var(--white); }
.step-block--alt { background: var(--white); }
.step-label { margin-bottom: 0.75rem; }
.step-desc { color: var(--text-secondary); line-height: 1.75; margin-top: 0.75rem; }
.practice-card-title { color: var(--white); margin-bottom: 0.4rem; }
.practice-body { max-width: 560px; }

.hiw-faq-section { background: var(--white); }

/* ─── ROI Calculator Page ────────────────────────────────────── */
.roi-intro-narrow { max-width: 760px; margin-bottom: 2.5rem; }
.calc-header-note { color: rgba(255,255,255,0.5); max-width: 520px; }
.calc-inputs-title--divider {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.calc-output { display: none; flex-direction: column; gap: 1.5rem; }
.calc-bar-fill--init { width: 0%; }
.calc-turnaround-box {
  background: rgba(20,184,166,0.08);
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
}
.calc-turnaround-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-500);
  margin-bottom: 0.3rem;
}
.calc-turnaround-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ─── About Page — Experience Section ───────────────────────── */
.experience-section { background: var(--white); }
.experience-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.experience-header .tag { display: inline-block; }
.experience-body p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}
.experience-body p:last-child { margin-bottom: 0; }

/* ─── Contact Page Additions ─────────────────────────────────── */
.contact-what-cover {
  margin: 1.5rem 0 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.contact-what-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.contact-what-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.contact-what-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 1.1rem;
  position: relative;
}
.contact-what-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue-700);
  font-size: 0.8rem;
}
.contact-subtext { margin-top: 0.75rem; color: var(--text-secondary); }
.contact-closing-line {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

/* ─── Contact Info Section ───────────────────────────────────── */
.contact-info-section { background: var(--gray-100); }
.contact-info-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  justify-content: center;
  gap: 3rem;
}
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.contact-info-value { font-size: 0.95rem; color: var(--text-primary); line-height: 1.6; }
.contact-info-value a { color: var(--blue-700); text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }

/* ─── About Page Sections ────────────────────────────────────── */
.why-section { background: var(--gray-100); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 4rem;
  align-items: start;
}
.why-inner h2 { color: var(--text-primary); }
.why-body p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.why-body p:last-child { margin-bottom: 0; }

.focus-section { background: var(--navy-800); position: relative; overflow: hidden; }
.focus-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.focus-section .section-header h2 { color: var(--white); }
.focus-section .section-header p { color: rgba(255,255,255,0.5); }
.focus-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.focus-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition);
}
.focus-card:hover { background: rgba(2,132,199,0.06); border-color: rgba(2,132,199,0.25); }
.focus-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}
.focus-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.6rem; }
.focus-card p { color: rgba(255,255,255,0.55); font-size: 0.9rem; line-height: 1.65; }

.different-section { background: var(--white); }
.different-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.different-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.different-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.different-icon {
  width: 40px; height: 40px;
  background: var(--teal-100);
  color: var(--teal-500);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.different-card h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.different-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

.who-section { background: var(--gray-100); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.who-grid--3col { grid-template-columns: repeat(3, 1fr); }
.who-grid--5col { grid-template-columns: repeat(5, 1fr); }
.who-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue-600);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}
.who-card:hover { box-shadow: var(--shadow-md); }
.who-card h3 { color: var(--text-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.who-card p { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.65; }

.approach-section { background: var(--navy-800); position: relative; overflow: hidden; }
.approach-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.approach-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.approach-inner h2 { color: var(--white); margin-bottom: 1rem; }
.approach-inner > div > p { color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 1.25rem; }
.approach-priorities { display: flex; flex-direction: column; gap: 0.85rem; }
.approach-priority {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.approach-priority-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); flex-shrink: 0; }
.approach-priority-text { font-size: 0.9rem; color: rgba(255,255,255,0.65); font-weight: 500; }
.approach-priority-vs { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-left: auto; flex-shrink: 0; }

.problem-section { background: var(--white); }
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.problem-inner h2 { color: var(--text-primary); margin-bottom: 1rem; }
.problem-inner > div > p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; }
.problem-list { display: flex; flex-direction: column; gap: 0.85rem; }
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.problem-dot { width: 8px; height: 8px; border-radius: 50%; background: #DC2626; flex-shrink: 0; margin-top: 0.35rem; }
.problem-item p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.55; }
.problem-closing {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy-800);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.ahead-section { background: var(--gray-100); }
.ahead-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.ahead-inner h2 { color: var(--text-primary); }
.ahead-body p { color: var(--text-secondary); line-height: 1.85; margin-bottom: 1.25rem; font-size: 1.05rem; }
.ahead-body p:last-child { margin-bottom: 0; }

/* ─── Contact Page Layout ────────────────────────────────────── */
.contact-section { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { color: var(--text-primary); margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 2rem; }
.contact-reasons { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2.5rem; }
.contact-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.contact-reason-icon {
  width: 36px; height: 36px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-reason h3 { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.2rem; }
.contact-reason p { font-size: 0.8rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
.contact-note {
  background: var(--navy-800);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.contact-note strong { color: rgba(255,255,255,0.8); font-weight: 600; }

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-solo { max-width: 640px; margin: 0 auto; }
.form-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}
.form-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field { margin-bottom: 1.35rem; }
.form-field:last-of-type { margin-bottom: 0; }
.form-label { display: block; font-size: 0.825rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.45rem; }
.form-label .required { color: #DC2626; margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ─── Multi-Select Combobox ──────────────────────────────────── */
.multiselect { position: relative; }
.multiselect-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.multiselect-toggle:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2,132,199,0.12);
}
.multiselect-toggle-text { color: var(--text-muted); }
.multiselect-toggle.has-selection .multiselect-toggle-text { color: var(--text-primary); }
.multiselect-toggle-arrow { color: var(--text-muted); flex-shrink: 0; transition: transform var(--transition); }
.multiselect.open .multiselect-toggle-arrow { transform: rotate(180deg); }
.multiselect-toggle.field-error { border-color: #DC2626; }

.multiselect-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  max-height: 260px;
  overflow-y: auto;
}
.multiselect-dropdown[hidden] { display: none; }
.multiselect-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  line-height: 1.4;
}
.multiselect-option:hover,
.multiselect-option.active { background: var(--gray-100); }
.multiselect-checkbox {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-input);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.multiselect-option[aria-selected="true"] .multiselect-checkbox {
  background: var(--blue-600);
  border-color: var(--blue-600);
  position: relative;
}
.multiselect-option[aria-selected="true"] .multiselect-checkbox::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.form-error { color: #DC2626; font-size: 0.8rem; margin-top: 0.45rem; line-height: 1.5; }
.form-error[hidden] { display: none; }
.submit-btn {
  width: 100%;
  background: var(--blue-600);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(2,132,199,0.3);
  margin-top: 0.5rem;
}
.submit-btn:hover { background: #0369A1; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(2,132,199,0.45); }
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.form-privacy { text-align: center; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.85rem; line-height: 1.5; }
.form-status {
  max-height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 0 1.25rem;
  margin-top: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease, margin-top 0.35s ease;
}
.form-status.success { max-height: 200px; padding: 1rem 1.25rem; margin-top: 1rem; opacity: 1; background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }
.form-status.error   { max-height: 200px; padding: 1rem 1.25rem; margin-top: 1rem; opacity: 1; background: #FEF2F2; border: 1px solid #FECACA; color: #DC2626; }

/* ─── How It Works – Step Blocks ─────────────────────────────── */
.overview-strip {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 6rem 0;
}
.overview-inner { display: block; }
.overview-inner--center { text-align: center; max-width: 700px; margin: 0 auto; }
.overview-inner h2 { color: var(--text-primary); margin-bottom: 1rem; }

.step-block {
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
  position: relative;
}
.step-block:last-child { border-bottom: none; }
.step-block-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.step-left { position: sticky; top: 80px; }
.step-badge { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.25rem; }
.step-num-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--teal-500);
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(20,184,166,0.3);
  flex-shrink: 0;
}
.step-block h2 {
  color: var(--text-primary);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 1rem;
}
.step-block > .container > .step-block-inner > .step-left > p { color: var(--text-secondary); font-size: 1rem; line-height: 1.75; }
.step-body p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; }

.step-includes {
  margin: 1.5rem 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.step-includes-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.step-includes ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.step-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.step-includes li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.step-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
}
.step-outcome-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.25rem;
}
.step-outcome p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

.step-value-note {
  margin-top: 1.25rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--teal-500);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-value-note strong { color: var(--text-primary); }

.step-sequence {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.step-sequence-arrow { color: var(--gray-300); font-weight: 400; }

.steps-wrapper { position: relative; }
.steps-wrapper::before {
  content: '';
  position: absolute;
  left: calc((280px / 2) + 1.5rem - 1px);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gray-300) 5%, var(--gray-300) 95%, transparent);
  pointer-events: none;
}

.practice-section { background: var(--navy-800); }
.practice-section h2 { color: var(--white); }
.practice-section .section-header p { color: rgba(255,255,255,0.5); }
.practice-body { color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 2rem; }
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative; z-index: 1;
}
.practice-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: background var(--transition), border-color var(--transition);
}
.practice-card:hover { background: rgba(2,132,199,0.06); border-color: rgba(2,132,199,0.25); }
.practice-arrow { font-size: 0.78rem; color: var(--teal-500); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.practice-card p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-top: 0.4rem; }
.practice-closing {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  font-style: italic;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Services Page – Full Blocks ────────────────────────────── */
.service-block {
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-block:last-child { border-bottom: none; }
.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.service-block h2 { color: var(--text-primary); margin-bottom: 1rem; font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
.service-block-body p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; }
.service-block-includes { margin: 1.5rem 0; }
.service-block-includes-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.service-block-includes ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.service-block-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.service-block-includes li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.service-outcome {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.service-outcome-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.25rem;
}
.service-outcome p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }
.service-num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--teal-500);
  font-size: 1rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid rgba(20,184,166,0.3);
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}

.who-icon {
  width: 40px; height: 40px;
  background: var(--teal-100);
  color: var(--teal-500);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.who-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

.why-not-section { background: var(--white); }
.why-not-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.why-not-inner h2 { color: var(--text-primary); margin-bottom: 1rem; }
.why-not-inner p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1rem; }
.why-not-points { display: flex; flex-direction: column; gap: 1rem; }
.why-not-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.why-not-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600); flex-shrink: 0; margin-top: 0.35rem; }
.why-not-point p { font-size: 0.9rem; margin: 0; color: var(--text-secondary); }

.engagement-section { background: var(--gray-100); }
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.engagement-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}
.engagement-card:hover { box-shadow: var(--shadow-md); }
.engagement-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.engagement-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }
.engagement-positioning {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

/* ─── ROI Calculator – Full Page ─────────────────────────────── */
.context-section { background: var(--gray-100); }
.context-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.context-inner h2 { color: var(--text-primary); margin-bottom: 1rem; }
.context-inner p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.25rem; }
.context-points { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.context-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.context-point::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.measures-section { background: var(--white); }
.measures-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.measures-inner h2 { color: var(--text-primary); margin-bottom: 1rem; grid-column: 1 / -1; }
.measures-list {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.measures-list-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}
.measures-list ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.measures-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.measures-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.45rem;
}
.measures-note {
  background: var(--blue-100);
  border: 1px solid rgba(2,132,199,0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--blue-700);
  line-height: 1.65;
}
.measures-note strong { font-weight: 700; }

.calculator-section { background: var(--navy-800); position: relative; overflow: hidden; }
.calculator-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.calculator-section h2 { color: var(--white); }
.calculator-section .section-header p { color: rgba(255,255,255,0.5); }

.calc-wrapper {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.calc-inputs {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.calc-inputs-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.75rem;
}
.calc-field { margin-bottom: 1.5rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-label { display: block; font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; }
.calc-sublabel { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; display: block; }
.calc-input-wrap { position: relative; }
.calc-input-prefix {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.calc-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}
.calc-input.has-prefix { padding-left: 1.75rem; }
.calc-input:focus { border-color: var(--blue-600); background: rgba(2,132,199,0.08); }
.calc-input::placeholder { color: rgba(255,255,255,0.55); }
.calc-input[type=range] {
  padding: 0;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 2px;
  cursor: pointer;
}
.calc-input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue-600);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(2,132,199,0.3);
}
.calc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.35rem;
}
.calc-range-value {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-500);
  margin-top: 0.35rem;
}
.calc-btn {
  width: 100%;
  margin-top: 1.75rem;
  background: var(--blue-600);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 20px rgba(2,132,199,0.25);
}
.calc-btn:hover { background: #0369A1; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(2,132,199,0.45); }

.calc-results {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.calc-results-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.75rem;
}
.calc-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  color: rgba(255,255,255,0.55);
}
.calc-placeholder svg { opacity: 0.3; }
.calc-placeholder p { font-size: 0.875rem; }
.calc-result-items { display: flex; flex-direction: column; gap: 1.25rem; }
.calc-result-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 1.25rem;
}
.calc-result-item:last-child { border-bottom: none; padding-bottom: 0; }
.calc-result-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
}
.calc-result-value {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.calc-result-value.accent { color: var(--teal-500); }
.calc-result-sub { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.35rem; }
.calc-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-top: 0.65rem;
  overflow: hidden;
}
.calc-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--teal-500));
  transition: width 0.6s ease;
}
.calc-result-group {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 1.25rem;
}
.calc-result-group:last-child { border-bottom: none; padding-bottom: 0; }
.calc-result-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.calc-footnote {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  font-style: italic;
}

.interpret-section { background: var(--gray-100); }
.interpret-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.interpret-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: box-shadow var(--transition);
}
.interpret-card:hover { box-shadow: var(--shadow-md); }
.interpret-card h3 { color: var(--text-primary); margin-bottom: 0.5rem; font-size: 1rem; }
.interpret-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

.comparison-section { background: var(--navy-800); position: relative; overflow: hidden; }
.comparison-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(2,132,199,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2,132,199,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.comparison-section h2 { color: var(--white); }
.comparison-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.comparison-inner p { color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 1rem; }
.comparison-bullets { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.comparison-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.comparison-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); flex-shrink: 0; margin-top: 0.35rem; }
.comparison-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.comparison-stat-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.comparison-stat-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.comparison-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}
.comparison-stat-value { font-family: 'Inter', sans-serif; font-size: 1.75rem; font-weight: 800; color: var(--white); }
.comparison-stat-note { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 0.3rem; }

.fit-section { background: var(--white); }
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.fit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
}
.fit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.fit-icon {
  width: 40px; height: 40px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fit-card h3 { font-size: 1rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.fit-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

.when-section { background: var(--gray-100); }
.when-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.when-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--teal-500);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}
.when-card:hover { box-shadow: var(--shadow-md); }
.when-card h3 { font-size: 0.95rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.when-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ─── FAQ Accordion ──────────────────────────────────────────── */
.faq-section { background: var(--white); }
#faq.faq-section { background: var(--gray-100); }
.faq-list {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.faq-item:last-child { border-bottom: none; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-trigger:hover { background: var(--gray-100); }
.faq-trigger h3 { font-size: 1rem; color: var(--text-primary); margin: 0; font-weight: 600; }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue-600); color: var(--white); }
.faq-body { display: none; padding: 0 2rem 1.5rem; }
.faq-item.open .faq-body { display: block; }
.faq-body p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ─── Responsive ─────────────────────────────────────────────── */

/* Tablet (≤900px) */
@media (max-width: 900px) {
  .section { padding: 4.5rem 0; }

  /* Core grids */
  .problem-grid,
  .services-grid,
  .outcomes-grid,
  .focus-grid,
  .different-grid,
  .services-grid--3col { grid-template-columns: 1fr; }

  .steps-row { grid-template-columns: 1fr; gap: 2rem; }
  .steps-row::before { display: none; }
  .steps-row--4col { grid-template-columns: repeat(2, 1fr); }

  .roi-inner,
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }

  /* About */
  .why-inner,
  .ahead-inner { grid-template-columns: 1fr; gap: 2rem; }
  .approach-inner,
  .problem-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .experience-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  /* How it works */
  .step-block-inner { grid-template-columns: 1fr; gap: 2rem; }
  .step-left { position: static; }
  .steps-wrapper::before { display: none; }
  .practice-grid { grid-template-columns: 1fr; }

  /* Services */
  .service-block-inner { grid-template-columns: 1fr; gap: 2rem; }
  .engagement-grid { grid-template-columns: 1fr; }
  .why-not-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* ROI Calculator */
  .context-inner { grid-template-columns: 1fr; gap: 2rem; }
  .measures-inner { grid-template-columns: 1fr; }
  .measures-inner h2 { grid-column: 1; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .interpret-grid { grid-template-columns: 1fr; }
  .comparison-inner { grid-template-columns: 1fr; gap: 2rem; }
  .fit-grid { grid-template-columns: 1fr; }
  .when-grid { grid-template-columns: 1fr 1fr; }

  /* ICP / overview */
  .overview-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

/* Navigation breakpoint */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: flex; }
}

/* Mobile (≤640px) */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  #hero { padding: 4rem 0 3rem; }
  .page-hero { padding: 3.5rem 0 3rem; }

  .btn { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  .btn-group { flex-direction: column; align-items: center; }

  /* Grids → 1 col */
  .steps-row--4col,
  .overview-grid,
  .who-grid,
  .when-grid,
  .interpret-grid,
  .fit-grid,
  .compare-table { grid-template-columns: 1fr; }

  .split-model-bars { flex-direction: column; }
  .split-model-arrow { transform: rotate(90deg); padding: 0.25rem 0; }

  /* compare-table stacking */
  .compare-col { border-right: none; border-bottom: 1px solid var(--gray-200); }

  /* Transformation */
  .transformation-grid { grid-template-columns: 1fr; }
  .transformation-divider { transform: rotate(90deg); }

  /* Forms */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 1.5rem; }

  /* ROI calc inputs padding */
  .calc-inputs,
  .calc-results { padding: 1.5rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav-group { grid-template-columns: 1fr; gap: 1.5rem; }

  /* FAQ */
  .faq-trigger { padding: 1.25rem 1.5rem; }
  .faq-body { padding: 0 1.5rem 1.25rem; }
}

/* Very small (≤400px) */
@media (max-width: 400px) {
  h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .container { padding: 0 1rem; }
}

/* ============================================================
   V2 ADDITIONS — Portfolio / Case Study / Demo Journey
   ============================================================ */

/* ─── Portfolio grid (Work hub + homepage Featured Work) ────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.portfolio-card-media {
  aspect-ratio: 16/10;
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.portfolio-card-media--civic { background: linear-gradient(135deg, #0e2038, #132a4c); }
.portfolio-card-media--hcm { background: linear-gradient(135deg, #0d1830, #1b2d5c); }
.portfolio-card-media--retail { background: #111111; }
.portfolio-card-industry {
  position: relative; z-index: 1;
  display: inline-block;
  color: #ffffff;
  background: rgba(11, 18, 32, 0.72);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm, 4px);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.portfolio-card-body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.portfolio-card-body h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.portfolio-card-body p { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.1rem; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.4rem; }
.portfolio-tag {
  font-size: 0.72rem; font-weight: 600; color: var(--blue-700);
  background: var(--blue-100); border: 1px solid rgba(2,132,199,0.15);
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.portfolio-card-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600; color: var(--blue-700);
}
.portfolio-card:hover .portfolio-card-cta { color: var(--blue-700); text-decoration: underline; }

/* ─── Breadth note (categories beyond the three examples) ─────── */
.breadth-note {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}
.breadth-categories {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}
.breadth-categories span { color: var(--text-primary); }
.breadth-statement {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── Demo Journey component ─────────────────────────────────── */
.demo-journey {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 1.75rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.demo-journey--dark { background: var(--navy-800); border-color: rgba(255,255,255,0.08); }
.demo-journey-step {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.demo-journey--dark .demo-journey-step { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--white); }
.demo-journey-arrow { color: var(--blue-700); font-size: 1.25rem; font-weight: 700; line-height: 1; margin: 0 0.15rem; }
.demo-journey--dark .demo-journey-arrow { color: var(--teal-400); }

/* ─── Case study layout ──────────────────────────────────────── */
.case-hero { background: var(--navy-800); position: relative; overflow: hidden; padding: 5rem 0 3.5rem; }
.case-hero-inner { position: relative; z-index: 1; max-width: 820px; text-align: center; margin: 0 auto; }
.case-hero h1 { color: var(--white); margin-top: 0.75rem; }
.case-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin: 1rem auto 0; max-width: 680px; }
.case-meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; justify-content: center; }
.case-meta-pill {
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 0.85rem; border-radius: 100px;
}

.case-block { padding: 3.5rem 0; }
.case-block--gray { background: var(--gray-100); }
.case-block--white { background: var(--white); }
.case-block--gray .demo-journey { background: var(--white); }
.case-block--gray .demo-journey-step { background: var(--gray-100); }
.case-block-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-700); margin-bottom: 0.6rem; display: block;
}
.case-block h2 { margin-bottom: 1.25rem; }
.case-block-body { max-width: 760px; }
.case-block-body p { margin-bottom: 1rem; }

.case-list { display: flex; flex-direction: column; gap: 0.85rem; max-width: 760px; }
.case-list-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6;
}
.case-list-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); flex-shrink: 0; margin-top: 0.4rem; }

.case-cta-band { background: var(--gray-100); padding: 3rem 0; text-align: center; }
.case-cta-band h2 { margin-bottom: 0.75rem; }
.case-cta-band p { max-width: 560px; margin: 0 auto 1.75rem; }
.case-cta-band .case-cta-disclaimer { margin-top: 1.75rem; }

.case-nav-strip { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; }
.case-nav-strip a { font-size: 0.9rem; font-weight: 600; color: var(--blue-700); }

/* ============================================================
   V5 ADDITIONS — Legal Page Prose Lists
   ============================================================ */

.case-block-body h3 { margin: 1.75rem 0 0.75rem; font-size: 1.05rem; color: var(--text-primary); }
.case-block-body ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
.case-block-body ul li { margin-bottom: 0.5rem; color: var(--text-secondary); line-height: 1.7; }
.case-block-body ul li::marker { color: var(--teal-700); }
.case-block-body strong { color: var(--text-primary); }

/* ============================================================
   V4 ADDITIONS — Case Study Centered Section Intros
   ============================================================ */

.case-intro { text-align: center; max-width: 700px; margin: 0 auto 2rem; }
.case-intro .case-block-label { display: inline-block; }
.case-intro h2 { margin-bottom: 1rem; }
.case-intro p { color: var(--text-secondary); margin-bottom: 1rem; }
.case-intro p:last-child { margin-bottom: 0; }

.case-block-body,
.case-list { margin-left: auto; margin-right: auto; }

/* Demo journey — closure/return step */
.demo-journey-step--return {
  background: var(--blue-100);
  border-color: rgba(2,132,199,0.3);
  color: var(--blue-700);
}
.demo-journey--dark .demo-journey-step--return {
  background: rgba(2,132,199,0.14);
  border-color: rgba(2,132,199,0.35);
  color: var(--blue-400);
}
.demo-journey-arrow--return { color: var(--blue-700); font-size: 1.1rem; }
.demo-journey--dark .demo-journey-arrow--return { color: var(--blue-400); }

/* ============================================================
   V3 ADDITIONS — Examples Page Project Showcases
   ============================================================ */

.showcase { padding: 5rem 0; border-bottom: 1px solid var(--gray-200); }
.showcases-wrap .showcase:last-child { border-bottom: none; }

.showcase-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}
.showcase--reverse .showcase-inner { grid-template-columns: 0.95fr 1.05fr; }
.showcase--reverse .showcase-media { order: 2; }
.showcase--reverse .showcase-content { order: 1; }

.showcase-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
}
.showcase-media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 3/2; }

.showcase-content h2 { margin: 0.75rem 0 1rem; }
.showcase-intro { color: var(--text-secondary); line-height: 1.75; margin-bottom: 2rem; font-size: 1.02rem; }

.showcase-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.showcase-journey { margin-bottom: 2rem; }
.showcase-journey .demo-journey { justify-content: flex-start; padding: 1.1rem; gap: 0.5rem; }
.showcase-journey .demo-journey-step { padding: 0.5rem 0.85rem; font-size: 0.78rem; }
.showcase-journey .demo-journey-arrow { font-size: 1.1rem; }

.showcase-built { margin-bottom: 1.75rem; }
.showcase-built .case-list { gap: 0.55rem; max-width: none; }
.showcase-built .case-list-item { font-size: 0.88rem; padding: 0.85rem 1.1rem; }

.showcase-demonstrates {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}
.showcase-demonstrates p { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.6; }

.showcase-cta { font-weight: 600; color: var(--blue-700); display: inline-flex; align-items: center; gap: 0.4rem; }
.showcase-cta:hover { color: var(--blue-700); text-decoration: underline; }

/* ─── "Not templates" formula visual ─────────────────────────── */
.formula-section { background: var(--white); }
.formula-wrap { max-width: 900px; margin: 0 auto; text-align: center; }
.formula-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.formula-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
  white-space: nowrap;
}
.formula-plus { color: var(--text-muted); font-weight: 700; font-size: 1rem; }
.formula-arrow { margin: 0 0 1rem; color: var(--blue-700); font-size: 1.4rem; line-height: 1; }
.formula-result {
  display: inline-block;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  font-weight: 700;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .showcase { padding: 3.5rem 0; }
  .showcase-inner { grid-template-columns: 1fr; gap: 2rem; }
  .showcase--reverse .showcase-media,
  .showcase-media { order: 0; }
  .showcase--reverse .showcase-content,
  .showcase-content { order: 1; }

  .formula-row { flex-direction: column; align-items: center; }
  .formula-pill { width: 100%; max-width: 320px; }
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ─── Horizontal / Vertical solution dimensions ──────────────── */
.who-grid--2col { grid-template-columns: repeat(2, 1fr); }
.solution-dimensions { max-width: 880px; margin: 0 auto; }
.solution-dimension-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.5rem;
}
.solution-dimensions-note {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 1.75rem auto 3.5rem;
  line-height: 1.6;
}
.solution-dimensions-note strong { color: var(--text-primary); }
.solution-dimensions--compact { margin-top: 2.5rem; }
.solution-dimensions-title { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 1.25rem; }
.solution-dimensions--compact .who-card { text-align: left; }
@media (max-width: 640px) {
  .who-grid--2col { grid-template-columns: 1fr; }
}

/* Keep example-card descriptions aligned when solution titles wrap differently */
@media (min-width: 901px) {
  .portfolio-card-body h3 { min-height: 2.7em; }
}
