/* ============================================
   ENGAGE MATE AI — Main Stylesheet
   Brand: #382c24 (dark brown), #807c44 (olive), #e8e4dc (cream)
   ============================================ */

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

:root {
  --brown: #382c24;
  --brown-light: #4a3d33;
  --brown-dark: #2a2019;
  --olive: #807c44;
  --olive-light: #9a965c;
  --olive-dark: #656234;
  --cream: #e8e4dc;
  --cream-light: #f4f2ed;
  --cream-dark: #d9d4c9;
  --white: #ffffff;
  --text: #382c24;
  --text-light: #5a4d42;
  --text-muted: #7a6e62;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(56, 44, 36, 0.06);
  --shadow-md: 0 4px 16px rgba(56, 44, 36, 0.08);
  --shadow-lg: 0 8px 32px rgba(56, 44, 36, 0.1);
  --shadow-xl: 0 16px 48px rgba(56, 44, 36, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  /* CSS scroll-behavior removed (F-08) — script.js handles smooth scroll with nav-height offset. */
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ANIMATIONS ---------- */
/* Default: content is visible. No JS / slow networks / crawlers / reduced-motion users still see the page. */
.fade-up {
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only hide-then-reveal for users who haven't asked for reduced motion AND when JS is present (the script
   adds .js to <html> on load, so non-JS environments never see the hidden state). */
html.js .fade-up:not(.visible) {
  opacity: 0;
  transform: translateY(30px);
}

@media (prefers-reduced-motion: reduce) {
  html.js .fade-up:not(.visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fade-up { transition: none; }
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(244, 242, 237, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}


.logo-engage {
  color: var(--brown);
}

.logo-mate {
  color: var(--olive);
}

.logo-ai {
  color: var(--olive);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75em;
  vertical-align: super;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active {
  color: var(--brown);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  width: 100%;
}

.nav-cta {
  background: var(--brown);
  color: var(--cream-light) !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--brown-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 8px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brown);
  color: var(--cream-light);
  box-shadow: 0 2px 8px rgba(56, 44, 36, 0.2);
}

.btn-primary:hover {
  background: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 44, 36, 0.25);
}

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

.btn-secondary:hover {
  background: var(--brown);
  color: var(--cream-light);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--cream-light) 0%, var(--cream) 50%, var(--cream-dark) 100%);
  padding-top: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(128, 124, 68, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Grain filter removed — see audit F-09 (paint cost + compatibility). */

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 24px;
  line-height: 1.05;
}

.headline-accent {
  color: var(--olive);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

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

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--cream-light));
  pointer-events: none;
}

/* Hero Visual / Graphic */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-graphic {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-graphic::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(128, 124, 68, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-icon-center {
  width: 160px;
  height: 160px;
  background: none;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-icon-center img {
  width: 160px;
  height: 160px;
  object-fit: contain;
}

.pulse-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(128, 124, 68, 0.2);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}

.pulse-ring.delay-ring {
  width: 300px;
  height: 300px;
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--olive);
  border-radius: 50%;
  animation: orbit 8s linear infinite;
}

.orbit-dot.dot-1 {
  animation-delay: 0s;
  --orbit-radius: 130px;
}

.orbit-dot.dot-2 {
  animation-delay: -2.67s;
  --orbit-radius: 130px;
  background: var(--brown);
}

.orbit-dot.dot-3 {
  animation-delay: -5.33s;
  --orbit-radius: 130px;
  background: var(--olive-light);
}

@keyframes orbit {
  0% { transform: rotate(0deg) translateX(var(--orbit-radius)) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(var(--orbit-radius)) rotate(-360deg); }
}

/* ---------- PROBLEMS ---------- */
.problems {
  padding: 100px 0;
  background: var(--cream-light);
}

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

.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(56, 44, 36, 0.06);
  transition: all var(--transition);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(128, 124, 68, 0.15);
}

.problem-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brown);
}

.problem-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.problems-transition {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius-lg);
  font-size: 1.05rem;
  line-height: 1.75;
  box-shadow: var(--shadow-xl);
}

.problems-sources {
  max-width: 720px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  scroll-margin-top: 100px;
}
.problems-sources strong {
  color: var(--text-light);
  font-weight: 600;
}
.problems-sources sup {
  color: var(--olive);
  font-weight: 600;
  margin-right: 2px;
}
.problem-card sup a {
  color: var(--olive);
  text-decoration: none;
  font-weight: 600;
}
.problem-card sup a:hover {
  text-decoration: underline;
}

/* ---------- SERVICES ---------- */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.service-card:hover {
  background: var(--white);
  border-color: rgba(128, 124, 68, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--olive);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
  padding: 100px 0;
  background: var(--cream-light);
}

.steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid rgba(56, 44, 36, 0.06);
  transition: all var(--transition);
}

.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--olive);
  opacity: 0.4;
  flex-shrink: 0;
  line-height: 1;
  min-width: 50px;
}

.step:hover .step-number {
  opacity: 1;
}

.step-content h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- INDUSTRIES ---------- */
.industries {
  padding: 100px 0;
  background: var(--white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.industry-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition);
}

.industry-card:hover {
  background: var(--white);
  border-color: rgba(128, 124, 68, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-icon {
  width: 64px;
  height: 64px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}

.industry-card:hover .industry-icon {
  background: var(--olive);
  transform: scale(1.05);
}

.industry-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- RESULTS ---------- */
.results {
  padding: 100px 0;
  background: var(--brown);
  color: var(--cream);
}

.results .section-tag {
  color: var(--olive-light);
}

.results .section-title {
  color: var(--cream);
}

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

.result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 228, 220, 0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.result-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(128, 124, 68, 0.3);
  transform: translateY(-4px);
}

.result-metric {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--olive-light);
  margin-bottom: 4px;
  line-height: 1.1;
}

.result-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cream);
  margin-bottom: 12px;
  opacity: 0.8;
}

.result-card p {
  font-size: 0.88rem;
  color: var(--cream-dark);
  line-height: 1.65;
  opacity: 0.7;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 100px 0;
  background: var(--cream-light);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-text .section-tag {
  text-align: left;
}

.about-text .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--brown);
}

.value-icon {
  width: 28px;
  height: 28px;
  background: var(--olive);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 14px;
  height: 14px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 20px;
}

.cta-content > p:first-of-type {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--brown-dark);
  color: var(--cream-dark);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand .logo-engage {
  color: var(--cream);
}

.footer-brand .logo-mate {
  color: var(--olive-light);
}

.footer-brand .logo-ai {
  color: var(--olive-light);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
  max-width: 320px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-contact a {
  font-size: 0.9rem;
  opacity: 0.65;
  transition: all var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--olive-light);
}

.footer-bottom {
  border-top: 1px solid rgba(232, 228, 220, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

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

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-graphic {
    width: 280px;
    height: 280px;
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream-light);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .nav-cta {
    text-align: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-headline {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .hero-visual {
    display: none;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

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

  .step:hover {
    transform: translateY(-4px);
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }

  .problems-transition {
    padding: 28px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .problems,
  .services,
  .how-it-works,
  .industries,
  .results,
  .about,
  .final-cta {
    padding: 72px 0;
  }

  .result-metric {
    font-size: 2rem;
  }

  .problem-card,
  .service-card,
  .industry-card {
    padding: 24px 20px;
  }
}

/* ---------- HERO FLOATING CARDS ---------- */
@keyframes cardEnter {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid rgba(56, 44, 36, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(56, 44, 36, 0.1);
  white-space: nowrap;
  animation: cardEnter 0.6s cubic-bezier(0.4, 0, 0.2, 1) both,
             cardFloat 4s ease-in-out infinite;
  z-index: 10;
}

.hero-card.card-1 { top: -24px;  right: -100px; animation-delay: 0.8s,  1.4s; }
.hero-card.card-2 { bottom: 20px; left: -110px; animation-delay: 1.1s, 1.7s; }
.hero-card.card-3 { top: 60px;   left: -120px; animation-delay: 1.4s, 2.0s; }

.card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(128, 124, 68, 0.15);
}

.card-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.card-text strong {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.2;
}

.card-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}

.card-check {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--olive);
  margin-left: 4px;
}

/* ============================================
   FIXES — added per audit Apr-May 2026
   ============================================ */

/* ---------- SKIP LINK (F-15) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--brown);
  color: var(--cream-light);
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

/* ---------- FOCUS STYLES (F-15 — option C: thicker olive, tighter) ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn-primary:focus-visible,
.nav-cta:focus-visible {
  outline-color: var(--olive-light);
  outline-offset: 3px;
}

/* ---------- WORDMARK (F-10 — SVG replaces span lockup) ---------- */
.nav-logo .wordmark {
  display: block;
  height: auto;
  max-height: 30px;
  width: auto;
}
.navbar.scrolled .wordmark { max-height: 26px; }
.footer-brand .wordmark { max-height: 30px; }

/* ---------- HERO ADJUSTMENT ---------- */
.hero-icon-center {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.hero-icon-center img {
  width: 160px;
  height: 160px;
  border-radius: 0;
  object-fit: contain;
}
.hero-graphic {
  margin: 0 auto;
}

/* ---------- CALLER TYPES SECTION (replaces Industries; reuses card pattern) ---------- */
.callers {
  padding: 100px 0;
  background: var(--white);
}
.callers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.callers-grid.callers-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  gap: 32px;
}
.callers-grid-2 .caller-card {
  padding: 44px 32px;
}
.callers-grid-2 .caller-icon {
  width: 72px;
  height: 72px;
}
.caller-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.caller-card:hover {
  background: var(--white);
  border-color: rgba(128, 124, 68, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.caller-icon {
  width: 64px;
  height: 64px;
  background: var(--brown);
  color: var(--cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition);
}
.caller-card:hover .caller-icon {
  background: var(--olive);
  transform: scale(1.05);
}
.caller-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}
.caller-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.callers-footnote {
  text-align: center;
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ---------- DIGEST SECTION (replaces Results) ---------- */
.digest {
  padding: 100px 0;
  background: var(--brown);
  color: var(--cream-light);
  position: relative;
  overflow: hidden;
}
.digest::before {
  content: '';
  position: absolute;
  right: -20%;
  top: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(128, 124, 68, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.digest .section-tag { color: var(--olive-light); }
.digest .section-title { color: var(--cream-light); }
.digest .section-sub { color: rgba(232, 228, 220, 0.75); }

.digest-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--cream-paper, #faf8f3);
  background: #faf8f3;
  color: var(--text);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}
.digest-card-head {
  padding: 28px 32px 24px;
  border-bottom: 1px solid rgba(56, 44, 36, 0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: linear-gradient(to bottom, var(--cream-light), #faf8f3);
}
.dc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--olive);
  background: rgba(128, 124, 68, 0.1);
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.dc-h-l h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 4px;
  font-weight: 700;
}
.dc-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: ui-monospace, 'JetBrains Mono', monospace;
}
.dc-h-r .dc-stat {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.dc-stat-num {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
}
.dc-stat-lab {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 600;
}

.digest-card-body {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
}

.digest-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dgs-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(56, 44, 36, 0.08);
  font-size: 0.92rem;
}
.dgs-row:last-child { border-bottom: none; }
.dgs-l {
  color: var(--text-light);
}
.dgs-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
}
.dgs-r {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brown);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.dgs-pct {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--olive);
  background: rgba(128, 124, 68, 0.12);
  padding: 2px 8px;
  border-radius: 99px;
}

.digest-escalations {
  padding-left: 32px;
  border-left: 1px solid rgba(56, 44, 36, 0.1);
}
.digest-escalations h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 6px;
  font-weight: 700;
}
.dge-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}
.digest-escalations ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.digest-escalations li {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-light);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(56, 44, 36, 0.06);
}
.digest-escalations li:last-child { border-bottom: none; padding-bottom: 0; }
.dge-when {
  display: block;
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--olive);
  margin-bottom: 4px;
  font-weight: 500;
}
.dge-what {
  color: var(--text-light);
}

.digest-card-foot {
  padding: 18px 32px 22px;
  border-top: 1px solid rgba(56, 44, 36, 0.08);
  background: var(--cream-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dcf-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}
.dcf-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  transition: color var(--transition);
}
.dcf-link:hover { color: var(--olive); }

/* ---------- FAQ SECTION (F-05) ---------- */
.faq {
  padding: 100px 0;
  background: var(--cream-light);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(56, 44, 36, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(128, 124, 68, 0.2);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.4;
}
.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1.5px solid var(--olive);
  border-radius: 50%;
  position: relative;
  transition: all var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--olive);
  top: 50%;
  left: 50%;
  transition: transform var(--transition);
}
.faq-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon {
  background: var(--olive);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--cream-light);
}
.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item summary:hover .faq-q {
  color: var(--olive-dark);
}
.faq-a {
  padding: 0 26px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  border-top: 1px solid rgba(56, 44, 36, 0.05);
  padding-top: 18px;
  margin-top: -1px;
}
.faq-a p {
  margin-bottom: 12px;
}
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong {
  color: var(--brown);
  font-weight: 600;
}
.faq-a em {
  color: var(--brown);
  font-style: italic;
}

/* ---------- RESPONSIVE OVERRIDES FOR NEW SECTIONS ---------- */
@media (max-width: 1024px) {
  .callers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .digest-card-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .digest-escalations {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(56, 44, 36, 0.1);
    padding-top: 24px;
  }
}

@media (max-width: 768px) {
  .callers-grid {
    grid-template-columns: 1fr;
  }
  .digest-card-head {
    grid-template-columns: 1fr;
  }
  .dc-h-r .dc-stat {
    align-items: flex-start;
  }
  .dc-h-r {
    border-top: 1px solid rgba(56, 44, 36, 0.08);
    padding-top: 16px;
  }
  .dc-stat-num { font-size: 2.6rem; }
  .digest-card-body { padding: 24px; }
  .digest-card-head { padding: 24px; }
  .digest-card-foot { padding: 16px 24px; }
  .faq-item summary { padding: 18px 20px; }
  .faq-a { padding: 14px 20px 20px; }
}

/* ---------- TRUST / ACCURACY SECTION ---------- */
.trust {
  padding: 100px 0;
  background: var(--cream-light);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}
.trust-card {
  background: var(--white);
  border: 1px solid rgba(56, 44, 36, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.trust-step {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--olive);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.trust-card p {
  color: var(--text-light);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 22px;
}
.trust-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 18px;
  background: var(--cream-light);
  border: 1px dashed rgba(128, 124, 68, 0.35);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-light);
  font-family: var(--font-body);
}
.trust-flow > span {
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 44, 36, 0.08);
  font-weight: 500;
  white-space: nowrap;
}
.trust-flow .trust-arrow {
  background: transparent;
  border: 0;
  padding: 0 2px;
  color: var(--olive);
  font-weight: 600;
}
.trust-flow .trust-flow-final {
  background: var(--brown);
  color: var(--cream-light);
  border-color: var(--brown);
  font-style: italic;
  font-weight: 400;
}
.trust-whisper {
  background: var(--brown);
  color: var(--cream-light);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.trust-whisper-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-light);
  font-weight: 600;
}
.trust-whisper-quote {
  margin-top: 10px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream);
}

/* ---------- OWNER INTELLIGENCE SECTION ---------- */
.owner-intel {
  padding: 100px 0;
  background: var(--cream-light);
}
.oi-card {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(56, 44, 36, 0.08);
  border-radius: var(--radius-lg);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.oi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--olive) 0%, var(--olive-dark) 100%);
}
.oi-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 18px;
}
.oi-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--brown);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 760px;
}
.oi-body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-light);
  max-width: 820px;
  margin-bottom: 32px;
}
.oi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.oi-stat {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid rgba(56, 44, 36, 0.06);
}
.oi-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive-dark);
  margin-bottom: 8px;
}
.oi-stat-body {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.5;
}
.oi-foot {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0;
}

/* ---------- FOUR PILLARS (in About) ---------- */
.pillars {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pillar {
  background: var(--white);
  border: 1px solid rgba(56, 44, 36, 0.08);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: var(--transition);
}
.pillar:hover {
  border-color: rgba(128, 124, 68, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar-num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--olive);
  margin-bottom: 10px;
}
.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ---------- RESPONSIVE: new sections ---------- */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: 1fr; }
  .oi-grid { grid-template-columns: 1fr; }
  .oi-card { padding: 40px 36px; }
  .oi-title { font-size: 2rem; }
}
@media (max-width: 768px) {
  .trust { padding: 72px 0; }
  .owner-intel { padding: 72px 0; }
  .trust-card { padding: 28px 22px; }
  .oi-card { padding: 32px 24px; }
  .oi-title { font-size: 1.7rem; }
  .pillars { grid-template-columns: 1fr; }
  .trust-flow { font-size: 0.78rem; padding: 14px; }
  .trust-flow .trust-flow-final { width: 100%; }
}
