/* SPARC Solutions index2 – executive-friendly, award-caliber palette */

:root {
  /* Warm, paper-like backgrounds – easy on the eyes */
  --bg: #fafaf9;
  --bg-warm: #f5f4f3;
  --surface: #ffffff;
  --text: #374151;
  --text-muted: #6b7280;
  --border: #eae9e8;
  /* Restrained accent – dignified teal (trustworthy, institutional) */
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-soft: rgba(15, 118, 110, 0.08);
  --secondary: #134e4a;
  --secondary-soft: rgba(19, 78, 74, 0.08);
  --accent: var(--primary);
  --accent-hover: var(--primary-hover);
  --accent-soft: var(--primary-soft);
  --radius: 0.25rem;
  --radius-lg: 0.375rem;
  /* Softer shadows – less harsh */
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.06);
  /* Match logo: geometric sans throughout (angular, clean) */
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "DM Sans", system-ui, sans-serif;
  /* Section backgrounds – minimal contrast, calm variation */
  --section-bg-1: #f8f8f7;
  --section-bg-2: #ffffff;
  --section-bg-3: #f5f6f5;
  --section-bg-4: #fafaf9;
  --section-bg-5: #ffffff;
  --section-bg-cta: #f5f6f5;
  --strip-bg: #334155;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  /* Offset for sticky header only – keeps section start visible */
  scroll-padding-top: 3.5rem;
}

#hero, #approach, #offer, #who, #why, #contact {
  scroll-margin-top: 3.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 0.2s;
  z-index: 1000;
}

.skip-link:focus-visible { transform: translateY(0); }

/* Header – light, sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 2.75rem;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.nav-list a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-list a:hover { color: var(--accent); }

.nav-link-icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.5rem;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-link-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav-list a:hover .nav-link-icon { color: inherit; }

/* Desktop: hide nav and button icons so layout stays clean (icons only in mobile) */
@media (min-width: 48.0625rem) {
  .nav-list .nav-link-icon {
    display: none !important;
    margin: 0;
  }
  .hero-actions .btn-icon,
  .btn--submit .btn-icon,
  .btn--submit-large .btn-icon {
    display: none !important;
    margin: 0;
  }
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav-cta:hover { background: var(--accent-hover) !important; color: white !important; }

/* Nav toggle (mobile only – hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--bg-warm); }
.nav-toggle-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.25rem;
}
.nav-toggle-icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-icon span { transition: none; }
  html { scroll-behavior: auto; }
}

/* Hero – full-bleed image + overlay, 100vh impact */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.88) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin-inline: auto;
  padding: 2rem 2.5rem 2rem;
  text-align: center;
  background: rgba(0,0,0,0.52);
  border-left: 3px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg);
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.hero-logo {
  margin-inline: auto;
  margin-bottom: 0.75rem;
  max-width: 16rem;
  width: 100%;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent !important;
}

.hero-tagline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-title-line {
  width: 4rem;
  height: 2px;
  background: rgba(255,255,255,0.7);
  margin: 0 0 1.5rem;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.25rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-callout {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  font-style: italic;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.hero-callout cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.btn-icon svg {
  display: block;
}

.btn-icon--hero {
  color: rgba(255, 255, 255, 0.95);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.85rem 1.75rem;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
}

.btn-block { width: 100%; }

/* Trust strip – premium proof bar with dividers */
.trust-strip {
  position: relative;
  background: var(--strip-bg);
  color: white;
  padding: 2rem 0;
  overflow: hidden;
}

.trust-strip-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    rgba(255,255,255,0.15) 4px,
    rgba(255,255,255,0.15) 5px
  );
  pointer-events: none;
}

.trust-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 2rem;
  text-align: center;
}

.trust-logo {
  width: 5.5rem;
  flex-shrink: 0;
}

.trust-logo img {
  width: 100%;
  height: auto;
}

.trust-divider {
  display: none;
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

@media (min-width: 48rem) {
  .trust-divider { display: block; }
  /* Single row on desktop: hide logo to avoid awkward line break with long labels */
  .trust-strip .trust-logo,
  .trust-strip .trust-logo + .trust-divider {
    display: none !important;
  }
  .trust-inner {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0 2.5rem;
  }
  .trust-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 18rem;
  }
}

.trust-item {
  padding: 0.5rem 0;
}

.trust-icon {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}

.trust-icon svg {
  display: block;
  margin: 0 auto;
}

.trust-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

@media (max-width: 36rem) {
  .trust-inner { flex-direction: column; gap: 1.5rem; }
  .trust-divider { display: none; }
  .trust-logo { margin: 0 auto; }
}

/* Signature statement – one line, full impact */
.signature-statement {
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--section-bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signature-statement-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

/* Logo trim – reduce empty transparent space with CSS (no image editing) */
.logo-trim {
  display: inline-block;
  overflow: hidden;
  line-height: 0;
}

.logo-trim img {
  display: block;
  transform: scale(1.25);
  transform-origin: center center;
}

.hero-logo.logo-trim img { transform: scale(1.2); }
.trust-logo.logo-trim img { transform: scale(1.15); }
.brand-logo-wrap.logo-trim .brand-mark { transform: scale(1.2); }
.section-divider .logo-trim img { transform: scale(1.2); }
.section-logo.logo-trim img { transform: scale(1.2); }
.section-logo--prominent.logo-trim img { transform: scale(1.2); }
.section-logo--cta.logo-trim img { transform: scale(1.2); }
.footer-logo.logo-trim img { transform: scale(1.15); }

/* Section divider with logo – journey feel */
.section-divider {
  padding: 2rem 1.5rem;
  background: var(--section-bg-1);
  text-align: center;
  border-top: 1px solid var(--border);
}

.section-divider .logo-trim img {
  width: 3.5rem;
  height: auto;
  opacity: 0.85;
  display: block;
}

/* Section logo in headers – brand prominence, larger */
.section-logo {
  margin-bottom: 0.75rem;
}

.section-logo img {
  width: 3rem;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section-header--with-logo .section-logo:first-child { margin-top: 0; }

.section-logo--prominent img {
  width: 4.5rem;
  opacity: 0.95;
}

.section-logo--cta img {
  width: 3.75rem;
  margin-bottom: 0.5rem;
}


/* Section rhythm – 2026 executive scan */
.section {
  padding: 3.5rem 0;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header .section-label {
  margin-bottom: 0.5rem;
}

.section-header .section-title {
  margin: 0 0 1rem;
}

.section-header .section-lead {
  margin-bottom: 0;
}

/* Decorated section headers – accent underline, stronger typography */
.section-header--decorated .section-label {
  letter-spacing: 0.15em;
}

.section-header--decorated .section-title {
  padding-bottom: 0.5rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--accent);
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}

/* Centered section headers: fix alignment of lead paragraph (Approach, Why, etc.) */
.section-header--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--centered .section-lead--center {
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.25vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

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

.section-lead--center {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin: 2.5rem 0 0.75rem;
}

.subsection-title:first-child { margin-top: 0; }

/* Approach – consolidated section with blocks */
.section-approach { background: var(--section-bg-1); }

.approach-block {
  margin-top: 2rem;
}

.approach-block:first-of-type { margin-top: 0; }

.approach-block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3.5rem;
}

.approach-block--split:first-of-type { margin-top: 0; }

.approach-block--reverse {
  direction: rtl;
}

.approach-block--reverse > * { direction: ltr; }

.approach-block-content .section-lead { margin-bottom: 1rem; }

.approach-block-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.approach-block-content p:last-child { margin-bottom: 0; }

.approach-block-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.approach-block-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.approach-block--pillars {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.approach-block--pillars .subsection-title { margin-top: 0; }

.approach-intro {
  margin: 0.75rem 0 1.25rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 52rem) {
  .approach-block--split { grid-template-columns: 1fr; }
  .approach-block--reverse { direction: ltr; }
}

.pillar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pillar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-icon {
  display: block;
  padding: 0.5rem 1.25rem 0;
  color: var(--accent);
}

.pillar-icon svg {
  display: block;
}

.pillar span:not(.pillar-icon) {
  display: block;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
}

@media (max-width: 48rem) {
  .approach-pillars { grid-template-columns: 1fr; }
}

/* Who we work with – distinct teal tint, styled cards + imagery */
.section-who { background: var(--section-bg-3); }

.section-who .section-header { margin-bottom: 2.5rem; }

.who-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.who-partner-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  border-top: 1px solid var(--accent);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.who-partner-card:hover {
  box-shadow: var(--shadow-lg);
}

.who-partner-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.who-partner-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-partner-icon {
  display: block;
  padding: 0.75rem 1.25rem 0;
  color: var(--accent);
}

.who-partner-icon svg {
  display: block;
}

.who-partner-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  padding: 1rem 1.25rem 0.25rem;
}

.who-partner-card p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 52rem) {
  .who-partner-grid { grid-template-columns: 1fr; }
}

/* What we offer */
.section-offer { background: var(--section-bg-2); }

.section-offer .section-header { margin-bottom: 2.5rem; }

.services-hero-image {
  margin: 0 0 2.5rem;
  text-align: center;
}

.services-hero-image img {
  width: 100%;
  max-width: 42rem;
  height: auto;
  display: block;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.services-hero-image figcaption {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-style: italic;
}

.offer-cards {
  display: grid;
  gap: 1rem;
}

.offer-card {
  padding: 1.5rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 1px solid var(--accent);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.offer-card:hover {
  box-shadow: var(--shadow-lg);
}

.offer-card h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}


/* Why SPARC – proof-led, conversion-focused */
.section-why { background: var(--section-bg-4); }

.container--why { max-width: 64rem; }

/* Header: fix alignment – centered block with constrained lead text */
.section-header--why {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header--why .section-label,
.section-header--why .section-title { margin-bottom: 0.5rem; }

.section-lead--why {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-lead--sub {
  margin-bottom: 0;
  font-size: 0.9875rem;
  color: var(--text-muted);
}

/* Why SPARC – intro (text + image) and selected accomplishments */
.why-intro-block {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.why-intro {
  min-width: 0;
}

.why-intro p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.why-intro p:last-child { margin-bottom: 0; }

.why-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-intro-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
}

@media (min-width: 52rem) {
  .why-intro-block {
    grid-template-columns: 1fr minmax(0, 20rem);
    gap: 2.5rem;
  }
}

@media (max-width: 51.99rem) {
  .why-intro-block { grid-template-columns: 1fr; }
  .why-intro-image { max-width: 22rem; margin-inline: auto; }
}

.why-accomplishments {
  margin-top: 2.5rem;
}

.why-accomplishments-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--accent);
  text-align: center;
}

.why-accomplishments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.why-accomplishments-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.why-accomplishments-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--accent);
  transform: rotate(45deg);
}

@media (min-width: 48rem) {
  .why-accomplishments-list { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
}

/* Why SPARC – image slider (where we've delivered) */
.why-gallery-wrap {
  margin-top: 2.5rem;
}

.why-gallery-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.why-gallery-wrap .acc-slider-wrap {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-gallery-wrap .acc-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Grouped blocks with clear hierarchy (legacy) */
.why-group {
  margin-bottom: 2.5rem;
}

.why-group:last-child { margin-bottom: 0; }

.why-group-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.why-group--callouts .why-group-title { margin-bottom: 1.25rem; }

/* Proof strip: credentials at a glance */
.why-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 0;
  padding: 2rem 1.5rem;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.why-proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.why-proof-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.why-proof-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

@media (max-width: 52rem) {
  .why-proof-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 28rem) {
  .why-proof-strip { grid-template-columns: 1fr; }
}

/* Message block: quote + supporting text and image */
.why-message-block {
  margin-bottom: 0;
}

.why-callout {
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.why-message-aside {
  display: grid;
  grid-template-columns: 1fr minmax(0, 20rem);
  gap: 2rem;
  align-items: center;
}

.why-message-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.why-message-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-message-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 52rem) {
  .why-message-aside { grid-template-columns: 1fr; }
  .why-message-image { max-width: 18rem; }
}

/* Slider wrap */
.why-slider-wrap {
  margin-bottom: 0;
}

.why-slider-wrap .acc-slider-wrap { margin: 0; }

/* Proof callouts grid */
.why-callouts {
  margin-top: 0;
}

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

.why-callout-card {
  padding: 1.5rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  border-top: 1px solid var(--accent);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.why-callout-card:hover {
  box-shadow: var(--shadow-lg);
}

.why-callout-card-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.why-callout-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.why-callout-card p strong { color: var(--text); }

@media (max-width: 52rem) {
  .why-callouts-grid { grid-template-columns: 1fr; }
}

/* Accomplishments image slider */
.acc-slider-wrap {
  position: relative;
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.acc-slider {
  overflow: hidden;
}

.acc-slider-track {
  display: flex;
  transition: transform 0.4s ease-out;
}

.acc-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.acc-slide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
}

.acc-slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
}

.acc-slider-controls button {
  pointer-events: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.acc-slider-controls button:hover {
  background: white;
}

.acc-slider-dots {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.acc-slider-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.acc-slider-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.accomplishment-list-wrap {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.accomplishment-list-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.accomplishment-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.accomplishment-list li {
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

.accomplishment-list li strong { color: var(--text); }

@media (max-width: 36rem) {
  .acc-slide img { aspect-ratio: 4 / 3; }
}

/* Contact – climax CTA with subtle depth */
.section-contact {
  position: relative;
  padding: 5.5rem 0;
  background: var(--section-bg-cta);
  border-top: 2px solid var(--accent);
  overflow: hidden;
}

.contact-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(165deg, var(--section-bg-cta) 0%, var(--bg-warm) 50%, var(--section-bg-cta) 100%);
  opacity: 0.7;
}

.container--contact { position: relative; z-index: 1; max-width: 64rem; }

.contact-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.contact-section-header .section-logo--cta {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.contact-section-header .section-logo--cta img {
  margin-bottom: 0;
}

.contact-section-header .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.contact-section-intro {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.contact-form-wrap {
  max-width: 36rem;
  margin-inline: auto;
}

.contact-form-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.contact-form-tagline {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.45;
}

.form-status, .form-errors {
  min-height: 1.125rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-errors { color: #b91c1c; }

.form-status { color: var(--accent); }

.honeypot { position: absolute; left: -9999px; }

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

.form-block {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
}

.form-block:last-of-type { margin-bottom: 0; }

.form-block-legend {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding: 0;
}

.form-row {
  display: grid;
  gap: 0 0.875rem;
  margin-bottom: 0.75rem;
}

.form-row:last-child { margin-bottom: 0; }

.form-row .field-group { margin-bottom: 0; }

.form-row--2 { grid-template-columns: 1fr 1fr; }

@media (max-width: 36rem) {
  .form-row--2 { grid-template-columns: 1fr; }
}

.field-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.required { color: var(--accent); }

.field-group--conditional { margin-top: 0.75rem; }

.inline-annotation { font-weight: 400; color: var(--text-muted); }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.field-error {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: #b91c1c;
}

.form-actions { margin-top: 1rem; }

.btn--submit {
  width: 100%;
  min-height: 2.75rem;
  font-size: 1rem;
}

.btn--submit-large {
  min-height: 3.25rem;
  font-size: 1.1rem;
  padding: 0.9rem 1.75rem;
}

@media (min-width: 30rem) {
  .btn--submit {
    width: auto;
    padding-inline: 1.75rem;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-warm);
  padding: 1.5rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-logo img {
  width: 4rem;
  height: auto;
  display: block;
}

/* ========== Mobile (max-width: 48rem) – desktop layout unchanged ========== */
@media (max-width: 48rem) {
  /* Scroll-to-section: minimal offset so section start is visible */
  html { scroll-padding-top: 2.5rem; }
  #hero, #approach, #offer, #who, #why, #contact { scroll-margin-top: 2.5rem; }

  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    padding-top: max(0.75rem, env(safe-area-inset-top));
  }

  .main-nav {
    width: 100%;
    order: 3;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.2s;
  }

  @media (prefers-reduced-motion: reduce) {
    .main-nav { transition: none; }
  }

  .site-header.nav-open .main-nav {
    max-height: 80vh;
    overflow: auto;
    opacity: 1;
    -webkit-overflow-scrolling: touch;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
  }

  .nav-list li {
    border-bottom: 1px solid var(--border);
  }

  .nav-list li:last-child {
    border-bottom: none;
    border-top: 2px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    padding: 0.875rem 0;
    font-size: 1rem;
    min-height: 2.75rem; /* 44px – WCAG touch target */
  }

  /* Get in touch: full-width primary button (not squished) */
  .nav-list li:last-child a.nav-cta {
    width: 100%;
    min-height: 3rem; /* 48px */
    padding: 0.875rem 1.25rem;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.2);
  }

  .nav-list li:last-child a.nav-cta .nav-link-icon {
    color: rgba(255, 255, 255, 0.95);
  }

  .nav-cta {
    margin: 0;
    padding: 0.875rem 1.25rem;
    text-align: center;
    justify-content: center;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 2.5rem;
    align-items: flex-start;
    padding-top: 1.5rem;
  }

  .hero-inner {
    padding: 1.25rem 1rem 1.5rem;
    margin-inline: 0;
  }

  .hero-logo {
    max-width: 12rem;
    margin-bottom: 0.75rem;
  }

  .hero-tagline {
    font-size: 0.625rem;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .hero-title-line {
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
  }

  .hero-callout {
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 1.25rem;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 2.75rem;
    justify-content: center;
  }

  .trust-strip {
    padding: 1.75rem 0;
  }

  .trust-inner {
    gap: 1rem 1.5rem;
  }

  .trust-logo {
    width: 4rem;
  }

  .trust-value {
    font-size: 1.5rem;
  }

  .trust-label {
    font-size: 0.8125rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: clamp(1.375rem, 5vw, 1.75rem);
  }

  .section-lead {
    font-size: 0.9375rem;
  }

  .subsection-title {
    font-size: 1rem;
    margin-top: 1.5rem;
  }

  .approach-block--split {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .approach-block--pillars {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .approach-pillars {
    gap: 1rem;
  }

  .pillar span:not(.pillar-icon) {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .section-offer .section-header,
  .section-who .section-header {
    margin-bottom: 1.5rem;
  }

  .offer-card {
    padding: 1.25rem 1rem;
  }

  .offer-card h3 {
    font-size: 0.875rem;
  }

  .who-partner-grid {
    gap: 1rem;
  }

  .who-partner-card-title {
    font-size: 0.875rem;
    padding: 0.75rem 1rem 0.25rem;
  }

  .who-partner-card p {
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
  }

  .signature-statement {
    padding: 2rem 1rem;
  }

  .signature-statement-text {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .section-why .section-header--why {
    margin-bottom: 1.5rem;
  }

  .why-intro-block {
    margin-bottom: 1.5rem;
    gap: 1.25rem;
  }

  .why-intro p {
    font-size: 0.9375rem;
  }

  .why-accomplishments {
    margin-top: 1.5rem;
  }

  .why-accomplishments-list li {
    font-size: 0.9rem;
    padding-left: 1.25rem;
  }

  .why-gallery-wrap {
    margin-top: 1.5rem;
  }

  .acc-slider-controls button {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  .acc-slider-dots .dot {
    width: 0.6rem;
    height: 0.6rem;
  }

  .section-contact {
    padding: 2.5rem 0;
  }

  .contact-section-header {
    margin-bottom: 1.5rem;
  }

  .contact-section-header h2 {
    font-size: 1.375rem;
  }

  .contact-form-card {
    padding: 1.25rem 1rem 1.5rem;
  }

  .contact-form-tagline {
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
  }

  .form-block {
    margin-bottom: 1rem;
  }

  .btn--submit-large {
    min-height: 3rem;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .site-footer {
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .footer-logo img {
    width: 3.25rem;
  }

  /* Safe area: keep content above home indicator / notch on modern devices */
  .hero {
    padding-top: max(1.5rem, env(safe-area-inset-top));
  }

  .section-contact {
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }
}
