/* ========================================
   Bridgework Solutions — Stylesheet
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-navy: #1a1f36;
  --color-blue: #3b82f6;
  --color-blue-hover: #2563eb;
  --color-blue-glow: rgba(59, 130, 246, 0.1);
  --color-blue-border: rgba(59, 130, 246, 0.2);
  --color-white: #ffffff;
  --color-ice: #f0f4f8;
  --color-charcoal: #334155;
  --color-slate: #64748b;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Fluid: 1200px on laptops, grows with the screen up to 1520px so wide
     monitors don't show big empty side margins. */
  --container-max: clamp(1200px, 88vw, 1520px);
  --section-pad: 100px;
  --section-pad-mobile: 60px;
  --card-radius: 12px;
  --btn-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { color: var(--color-blue-hover); }

/* --- Utility --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section-body {
  font-size: 18px;
  color: var(--color-charcoal);
  max-width: 720px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-blue-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue-border);
}

.btn-secondary:hover {
  background: var(--color-blue-glow);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  color: var(--color-navy);
}

/* --- Decorative Shapes --- */
.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--color-blue-glow);
  pointer-events: none;
  z-index: 0;
}

.shape-sq {
  border-radius: var(--card-radius);
  transform: rotate(45deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes float-sq {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-16px); }
}

.shape-float { animation: float 6s ease-in-out infinite; }
.shape-float-sq { animation: float-sq 7s ease-in-out infinite; }
.shape-float-slow { animation: float 9s ease-in-out infinite; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 31, 54, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-white);
}

.nav-logo span {
  color: var(--color-blue);
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-white);
}

.nav-cta {
  background: var(--color-blue);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--color-blue-hover);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 6px 0;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-navy);
  padding: 180px 0 var(--section-pad);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Photo-backed hero (add class="hero hero-photo" to opt a page in).
   Source: Unsplash / Shavr IK — https://unsplash.com/photos/tJh73V0Jzw0 (Unsplash License) */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/hero-plant-wide.jpg"); /* fallback: no image-set support */
  background-image: image-set(
    url("images/hero-plant-wide.webp") type("image/webp"),
    url("images/hero-plant-wide.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: 62% 58%;
  opacity: 0.9;
  transform: scale(1.04);
}

/* Navy scrim: heavy on the left so the headline always clears contrast,
   opening up on the right where the plant floor shows through. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      rgba(26, 31, 54, 0.97) 0%,
      rgba(26, 31, 54, 0.94) 24%,
      rgba(26, 31, 54, 0.8) 46%,
      rgba(26, 31, 54, 0.5) 72%,
      rgba(26, 31, 54, 0.3) 100%
    ),
    linear-gradient(to bottom, rgba(26, 31, 54, 0.9) 0%, rgba(26, 31, 54, 0) 24%),
    linear-gradient(to top, rgba(26, 31, 54, 0.92) 0%, rgba(26, 31, 54, 0) 26%),
    radial-gradient(65% 85% at 80% 48%, rgba(59, 130, 246, 0.22) 0%, rgba(59, 130, 246, 0) 62%);
}

.hero-photo .shape { z-index: 2; }
.hero-photo .hero-content { z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo::before { transform: none; }
}

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

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--color-blue);
}

.hero p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Legal pages (Privacy / Terms / STE Framework body / Blog post) --- */
.legal-pad { padding: 140px 0 80px; background: var(--color-white); }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal-wrap h1 {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 12px;
}
.legal-meta { font-size: 14px; color: var(--color-slate); margin-bottom: 40px; }
.legal-wrap h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-wrap h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal-wrap p, .legal-wrap li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-charcoal);
  margin-bottom: 14px;
}
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; margin-bottom: 14px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap strong { color: var(--color-navy); }

.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255, 255, 255, 0.6); font-size: 14px; }
.footer-legal a:hover { color: var(--color-white); }

/* --- Definition blocks (AEO "What is X?" extraction) --- */
.definition-block {
  background: var(--color-ice);
  border-left: 4px solid var(--color-blue);
  padding: 24px 28px;
  border-radius: var(--card-radius);
  margin: 32px auto;
  max-width: 760px;
}
.definition-block p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin: 0;
}
.definition-block p + p { margin-top: 12px; }
.definition-block strong { color: var(--color-navy); }
.definition-term {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

/* --- Comparison tables (AEO "X vs Y" extraction) --- */
.comparison-table {
  margin: 32px auto;
  max-width: 920px;
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 31, 54, 0.08);
}
.comparison-table caption.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;
}
.comparison-table thead th {
  background: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  letter-spacing: 0.2px;
}
.comparison-table thead th:first-child {
  background: var(--color-charcoal);
  width: 26%;
}
.comparison-table thead th.col-bridgework { background: var(--color-blue); }
.comparison-table tbody td {
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-charcoal);
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}
.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-ice);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody td.col-bridgework { background: rgba(59, 130, 246, 0.06); }
@media (max-width: 720px) {
  .comparison-table thead th, .comparison-table tbody td { padding: 10px 12px; font-size: 13px; }
  .comparison-table caption { font-size: 16px; }
}


.stat-callout {
  background: var(--color-ice);
  border-left: 4px solid var(--color-blue);
  padding: 24px 28px;
  border-radius: 8px;
  margin: 32px auto;
  max-width: 760px;
}
.stat-callout p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-navy);
  margin: 0 0 10px;
  font-weight: 500;
}
.stat-callout .stat-number { color: var(--color-blue); font-weight: 700; }
.stat-callout cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--color-slate);
  letter-spacing: 0.3px;
}
.stat-callout cite a { color: var(--color-blue); text-decoration: none; }
.stat-callout cite a:hover { text-decoration: underline; }

/* --- Sections (alternating bg) --- */
.section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

.section-light {
  background: var(--color-ice);
}

.section-dark {
  background: var(--color-navy);
}

.section-dark .section-label {
  color: var(--color-blue);
}

.section-dark .section-heading {
  color: var(--color-white);
}

.section-dark .section-body {
  color: rgba(255, 255, 255, 0.7);
}

/* --- Problem Cards --- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.problem-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 32px;
  border: 1px solid var(--color-blue-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.problem-card p {
  font-size: 16px;
  color: var(--color-slate);
  line-height: 1.7;
}

.problem-bottom {
  margin-top: 48px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-navy);
}

/* --- Approach Pillars --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.pillar {
  text-align: center;
  padding: 32px;
}

.pillar-icon {
  width: 64px;
  height: 64px;
  background: var(--color-blue-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.pillar p {
  font-size: 16px;
  color: var(--color-slate);
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 40px 32px;
  border: 1px solid var(--color-blue-border);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--color-blue-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.service-card > p {
  font-size: 16px;
  color: var(--color-slate);
  margin-bottom: 24px;
}

.service-card h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  font-size: 15px;
  color: var(--color-slate);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--color-blue);
  border-radius: 50%;
}

/* --- Process Steps --- */
.steps {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: var(--color-blue-glow);
  line-height: 1;
  min-width: 100px;
  color: rgba(59, 130, 246, 0.15);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 17px;
  color: var(--color-slate);
  max-width: 600px;
}

.step-cta {
  margin-top: 48px;
}

/* --- Why Us / Differentiators --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.diff-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.diff-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.diff-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* --- Audit CTA Section --- */
.audit-cta {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-hover));
  padding: var(--section-pad) 0;
  text-align: center;
}

.audit-cta .section-heading {
  color: var(--color-white);
}

.audit-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  max-width: 640px;
  margin: 0 auto 32px;
}

.audit-list {
  list-style: none;
  padding: 0;
  max-width: 520px;
  margin: 0 auto 40px;
  text-align: left;
}

.audit-list li {
  color: var(--color-white);
  font-size: 17px;
  padding: 10px 0;
  padding-left: 32px;
  position: relative;
}

.audit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--color-white);
}

.audit-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-top: 16px;
}

/* --- About --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.about-text p {
  margin-bottom: 24px;
  color: var(--color-charcoal);
}

.values-list {
  list-style: none;
  padding: 0;
}

.values-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-blue-border);
  font-size: 17px;
}

.values-list li strong {
  color: var(--color-navy);
}

.values-list li span {
  color: var(--color-slate);
}

/* --- Footer --- */
.footer {
  background: var(--color-navy);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  margin-top: 16px;
  max-width: 400px;
  line-height: 1.7;
}

.footer-links h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: var(--color-white);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--color-white);
}

/* ========================================
   HERO PILLS
   ======================================== */

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-pill {
  display: inline-block;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ========================================
   CREDIBILITY BAR
   ======================================== */

.cred-bar {
  background: #111827;
  padding: 40px 0;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.cred-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  text-align: center;
}

.cred-stat {
  padding: 0 24px;
}

.cred-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1.2;
  margin-bottom: 6px;
}

.cred-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.cred-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   BEFORE / AFTER
   ======================================== */

.before-after {
  background: var(--color-navy);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.ba-col {
  border-radius: var(--card-radius);
  padding: 36px 32px;
}

.ba-before {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.ba-after {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.ba-col-label {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.ba-label-before { color: #f87171; }
.ba-label-after  { color: var(--color-blue); }

.ba-list {
  list-style: none;
  padding: 0;
}

.ba-list li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.5;
}

.ba-list li:last-child {
  border-bottom: none;
}

.ba-before .ba-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 700;
}

.ba-after .ba-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-weight: 700;
}

/* ========================================
   STE FRAMEWORK
   ======================================== */

.ste-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
}

.ste-card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 40px 36px;
  border: 1px solid var(--color-blue-border);
  transition: box-shadow 0.25s;
}

.ste-card:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.1);
}

.ste-letter {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.15);
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

.ste-content h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.ste-tagline {
  font-size: 16px;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.ste-content > p:not(.ste-tagline) {
  font-size: 16px;
  color: var(--color-charcoal);
  margin-bottom: 20px;
  line-height: 1.7;
}

.ste-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.ste-list li {
  font-size: 15px;
  color: var(--color-slate);
  padding-left: 18px;
  position: relative;
}

.ste-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  background: var(--color-blue);
  border-radius: 50%;
}

/* ========================================
   ENGAGEMENT TIERS
   ======================================== */

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

.tier-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 40px 32px;
  border: 1px solid var(--color-blue-border);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.tier-featured {
  border: 2px solid var(--color-blue);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
}

.tier-badge {
  display: inline-block;
  background: var(--color-blue);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.tier-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.tier-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tier-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-slate);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-blue-border);
}

.tier-card > p {
  font-size: 15px;
  color: var(--color-charcoal);
  margin-bottom: 20px;
  line-height: 1.7;
}

.tier-card h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.tier-card ul li {
  font-size: 14px;
  color: var(--color-slate);
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.tier-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 7px;
  height: 7px;
  background: var(--color-blue);
  border-radius: 50%;
}

.tier-best {
  font-size: 13px;
  color: var(--color-slate);
  font-style: italic;
}

/* ========================================
   DIFF CARDS (updated to 3-col + icon)
   ======================================== */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.diff-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

/* ========================================
   FOUNDER SECTION
   ======================================== */

.founder-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.founder-text p {
  margin-bottom: 20px;
  color: var(--color-charcoal);
  font-size: 17px;
  line-height: 1.8;
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--color-ice);
  border: 2px dashed var(--color-blue-border);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-slate);
  font-size: 15px;
  font-weight: 500;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--card-radius);
  border: 1px solid var(--color-blue-border);
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  transition: background 0.2s;
}

.faq-toggle:hover {
  background: var(--color-blue-glow);
}

.faq-icon {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-blue);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 16px;
  color: var(--color-charcoal);
  line-height: 1.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .section-heading { font-size: 32px; }
  .hero h1 { font-size: 44px; }
  .problem-grid, .pillars-grid, .services-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .founder-layout { grid-template-columns: 1fr; }
  .founder-photo { order: -1; max-width: 320px; }
  .ste-list { grid-template-columns: 1fr; }
  .cred-bar-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cred-divider { display: none; }
}

/* Collapse nav to hamburger below 1200px to prevent crowding */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 140px 0 60px;
    min-height: auto;
  }

  .hero-photo::before {
    background-image: url("images/hero-plant-mobile.jpg");
    background-image: image-set(
      url("images/hero-plant-mobile.webp") type("image/webp"),
      url("images/hero-plant-mobile.jpg") type("image/jpeg")
    );
    background-position: 60% 55%;
    opacity: 0.75;
  }

  .hero-photo::after {
    background:
      linear-gradient(
        160deg,
        rgba(26, 31, 54, 0.95) 0%,
        rgba(26, 31, 54, 0.86) 45%,
        rgba(26, 31, 54, 0.55) 100%
      ),
      linear-gradient(to bottom, rgba(26, 31, 54, 0.9) 0%, rgba(26, 31, 54, 0) 30%);
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-pills {
    flex-direction: column;
  }

  .section-heading {
    font-size: 28px;
  }

  .problem-grid,
  .pillars-grid,
  .services-grid,
  .diff-grid,
  .ba-grid {
    grid-template-columns: 1fr;
  }

  .ste-card {
    flex-direction: column;
    gap: 16px;
  }

  .ste-letter {
    font-size: 48px;
    min-width: auto;
  }

  .step {
    flex-direction: column;
    gap: 16px;
  }

  .step-number {
    font-size: 48px;
    min-width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .cred-bar-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================================
   HOMEPAGE INTAKE FORM (hero, right column)
   ======================================== */

/* Top-anchored so the headline stays put when the intake card drops open;
   the vh padding keeps the collapsed layout roughly centered. */
.hero.hero-photo:has(.hero-split) { align-items: flex-start; padding-top: max(112px, calc(50vh - 250px)); padding-bottom: 64px; }

.hero-content.hero-split {
  width: 100%;
  max-width: var(--container-max);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 48px;
  align-items: start;
}

.hero-split h1 { font-size: 54px; }
.hero-split .hero-copy p { margin-bottom: 0; }

.intake-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 26px 28px 22px;
  box-shadow: 0 24px 60px rgba(10, 14, 30, 0.45);
  scroll-margin-top: 96px;
}

.intake-card h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.hero .intake-card p.intake-sub {
  font-size: 14px;
  color: var(--color-slate);
  line-height: 1.5;
  margin: 0 0 14px;
  max-width: none;
}

/* Collapsed by default: heading + button only. Clicking the card drops the form open. */
.intake-card.is-collapsed { cursor: pointer; }
.intake-toggle { width: 100%; padding: 12px 24px; text-align: center; }
.intake-card:not(.is-collapsed) .intake-toggle { display: none; }

.intake-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s ease;
}
.intake-card.is-collapsed .intake-panel { grid-template-rows: 0fr; }
.intake-panel-inner { overflow: hidden; min-height: 0; }

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

.intake-card .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;
}

.intake-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  margin-bottom: 10px;
}

.intake-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.intake-field input,
.intake-field textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-charcoal);
  background: #fff;
}

.intake-field textarea { resize: vertical; min-height: 46px; }

.intake-field input:focus,
.intake-field textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px var(--color-blue-glow);
}

.intake-submit { width: 100%; margin-top: 12px; padding: 12px 24px; text-align: center; }

.hero .intake-card p.intake-status { font-size: 14px; min-height: 20px; margin: 10px 0 0; max-width: none; color: var(--color-slate); }
.hero .intake-card p.intake-status.error { color: #b91c1c; }
.hero .intake-card p.intake-status.success { color: #047857; }

@media (max-width: 1024px) {
  /* Stack: intro, then the form, then the pills, so the form sits as high as possible. */
  .hero-content.hero-split { grid-template-columns: 1fr; gap: 0; }
  .hero-split .hero-copy { display: contents; }
  .intake-card { max-width: 620px; margin-top: 28px; }
  .hero-split .hero-pills { order: 2; margin-top: 28px; }
}

@media (max-width: 768px) {
  .hero.hero-photo:has(.hero-split) { padding-top: 110px; padding-bottom: 48px; }
  .hero-split h1 { font-size: 34px; }
  .intake-card { padding: 22px 18px 18px; }
}

@media (max-width: 480px) {
  .intake-fields { grid-template-columns: 1fr; }
}

/* Sourced statistic inside a cost card (homepage #cost) */
.cost-stat {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-charcoal);
}
.cost-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1.2;
  margin-bottom: 4px;
}
.cost-stat .stat-mark {
  font-size: 18px;
  vertical-align: super;
  margin-left: 2px;
  color: var(--color-blue);
  text-decoration: none;
}

/* Stat sources at the very bottom of the page (footer) */
.footer-sources {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}
.footer-sources p { color: rgba(255, 255, 255, 0.5); font-size: 12px; margin-bottom: 6px; }
.footer-sources ul { list-style: none; padding: 0; margin: 0; }
.footer-sources strong { color: rgba(255, 255, 255, 0.55); font-weight: 600; }
.footer-sources a { color: rgba(255, 255, 255, 0.45); text-decoration: underline; }
.footer-sources a:hover { color: var(--color-white); }

/* ========================================
   HOMEPAGE WIDE-SCREEN LAYOUT
   Fills the width with layout (two-column
   intros, side-by-side blocks) while keeping
   readable line lengths.
   ======================================== */

/* Below 1200px the guarantee is a single column; keep the old 680px list */
.guarantee-card .audit-list { max-width: 680px; margin: 0 0 32px; }

.founder-aside .values-list li:last-child { border-bottom: none; }

@media (min-width: 1025px) {
  .container { padding: 0 32px; }

  /* Section intro: eyebrow on top, heading left, intro paragraph right */
  .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 80px;
    align-items: start;
  }
  .section-head .section-label { grid-column: 1 / -1; }
  .section-head .section-heading { grid-column: 1; margin-bottom: 0; }
  .section-head .section-body {
    grid-column: 2;
    max-width: 640px;
    margin: 0;
    padding-top: 6px;
  }

  /* About: story left, values card in the right column */
  .founder-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
  }
  .founder-aside {
    background: var(--color-ice);
    border-left: 4px solid var(--color-blue);
    border-radius: var(--card-radius);
    padding: 16px 32px;
  }

  /* Footer: brand left, nav links in columns on the right */
  .footer-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-links ul { columns: 3; column-gap: 56px; }
  .footer-links ul li { break-inside: avoid; }
}

@media (min-width: 1200px) {
  /* How it works: intro stays in view on the left, timeline on the right */
  #how-it-works { overflow: clip; }
  .hiw-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 96px;
    align-items: start;
  }
  .hiw-intro { position: sticky; top: 120px; }
  .hiw-layout .steps { margin-top: 0; }

  /* Guarantee: heading left, milestones card right */
  .guarantee-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 80px;
    align-items: center;
  }
  .guarantee-head .section-heading { margin-bottom: 0; }
  .guarantee-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--card-radius);
    padding: 36px 40px;
  }
  .guarantee-card .section-body { max-width: none; }
  .guarantee-card .section-body:last-child { margin-bottom: 0; }
  .guarantee-card .audit-list { max-width: none; margin: 8px 0 24px; }
}

@media (min-width: 1440px) {
  .section-heading { font-size: 44px; }
}
