/* ==========================================================================
   Veronica Zora Kirin — Modernized Production Stylesheet
   Art Direction: Editorial Authority (Variant A) / Dover, DE / Executive B2B
   Palette & Tokens from design_brief.json
   ========================================================================== */

:root {
  /* Exact Brand Palette from design_brief.json */
  --palette-background: #fcfbf7;
  --palette-surface: #ffffff;
  --palette-text: #192211;
  --palette-muted: #55634e;
  --palette-primary: #8bba34;
  --palette-primary-text: #121a08;
  --palette-accent: #c88218;
  --palette-accent-text: #8c5508; /* Accessible burnished brass for light backgrounds (6.14:1 vs white, 5.93:1 vs #fcfbf7) */
  --palette-dark: #121a08;
  --palette-dark-text: #f2f7ec;
  --palette-hero-bg: #1e2b0c;
  --palette-hero-text: #ffffff;

  /* Typography */
  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing Scale */
  --space-2xs: clamp(0.25rem, 0.5vw, 0.375rem);
  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 1.5vw, 1rem);
  --space-md: clamp(1rem, 2vw, 1.5rem);
  --space-lg: clamp(1.5rem, 3vw, 2.25rem);
  --space-xl: clamp(2.25rem, 4.5vw, 3.5rem);
  --space-2xl: clamp(3.5rem, 7vw, 5.5rem);

  /* Container & Breakpoints */
  --container-max: 1240px;
  --header-height: 72px;
  --header-height-mobile: 60px;
  --topbar-height: 38px;
  --topbar-height-mobile: 34px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Elevation & Shadows */
  --shadow-subtle: 0 2px 8px rgba(18, 26, 8, 0.05);
  --shadow-card: 0 4px 20px rgba(18, 26, 8, 0.08);
  --shadow-elevated: 0 12px 36px rgba(18, 26, 8, 0.12);
  --shadow-dark: 0 12px 40px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.65;
  color: var(--palette-text);
  background-color: var(--palette-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Headings with Newsreader */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.85rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  line-height: 1.18;
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
  margin-bottom: var(--space-xs);
}

h4 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}

p {
  margin-bottom: var(--space-md);
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--palette-accent-text);
}

.bg-dark a:hover,
.bg-hero a:hover {
  color: var(--palette-primary);
}

img, svg, picture, video, iframe {
  max-width: 100%;
  display: block;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  background: var(--palette-primary);
  color: var(--palette-primary-text);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

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

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: 860px;
}

.container-wide {
  max-width: 1400px;
}

/* Alternating Section Bands */
.section {
  padding-block: var(--space-xl);
  position: relative;
}

.section-lg {
  padding-block: var(--space-2xl);
}

.section-sm {
  padding-block: var(--space-lg);
}

/* Palette Variations for Section Rhythm */
.bg-canvas {
  background-color: var(--palette-background);
  color: var(--palette-text);
}

.bg-surface {
  background-color: var(--palette-surface);
  color: var(--palette-text);
  border-block: 1px solid rgba(85, 99, 78, 0.12);
}

.bg-dark {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
}

.bg-dark h1, .bg-dark h2, .bg-dark h3 {
  color: #ffffff;
}

.bg-dark .text-muted {
  color: #a8b89e;
}

.bg-hero {
  background-color: var(--palette-hero-bg);
  color: var(--palette-hero-text);
}

.bg-hero h1, .bg-hero h2, .bg-hero h3 {
  color: #ffffff;
}

.bg-hero .text-muted {
  color: #d1ded0;
}

.bg-brand-tint {
  background-color: #f3f7eb;
  color: var(--palette-text);
  border-block: 1px solid rgba(139, 186, 52, 0.25);
}

/* Text & Accent Utility */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--palette-accent-text);
  margin-bottom: var(--space-sm);
}

.bg-dark .eyebrow,
.bg-hero .eyebrow {
  color: var(--palette-primary);
}

.text-muted {
  color: var(--palette-muted);
}

.lead {
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  line-height: 1.55;
  color: inherit;
}

.section-header {
  margin-bottom: var(--space-xl);
}

.section-header.text-center {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */

.btn-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.75rem 1.625rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--palette-primary);
  color: var(--palette-primary-text);
  border-color: var(--palette-primary);
  box-shadow: 0 2px 10px rgba(139, 186, 52, 0.35);
}

.btn-primary:hover {
  background-color: #9ecc3b;
  border-color: #9ecc3b;
  color: var(--palette-primary-text);
  box-shadow: 0 4px 16px rgba(139, 186, 52, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--palette-primary);
}

.bg-canvas .btn-secondary,
.bg-surface .btn-secondary {
  border-color: rgba(85, 99, 78, 0.35);
  color: var(--palette-text);
}

.bg-canvas .btn-secondary:hover,
.bg-surface .btn-secondary:hover {
  background-color: rgba(85, 99, 78, 0.06);
  border-color: var(--palette-text);
  color: var(--palette-text);
}

.btn-accent {
  background-color: var(--palette-accent-text);
  color: #ffffff;
  border-color: var(--palette-accent-text);
}

.btn-accent:hover {
  background-color: #6d4204;
  color: #ffffff;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 54px;
  padding: 0.875rem 2rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Top Utility Bar (Non-Sticky, Strictly <= 36px on Phones)
   ========================================================================== */

.top-bar {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--topbar-height);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: #d1ded0;
  font-weight: 500;
}

.top-bar-item:hover {
  color: var(--palette-primary);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--palette-accent);
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .top-bar .container {
    height: var(--topbar-height-mobile);
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .top-bar-badge {
    display: none; /* Hide affiliations & sentences on mobile per spec */
  }
  .top-bar-links {
    gap: var(--space-sm);
    width: 100%;
    justify-content: space-around;
  }
  .top-bar-item span.full-text {
    display: none; /* Show one-word label only on phones */
  }
}

/* ==========================================================================
   Header & Sticky Navigation (Pinned on All Viewports)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--palette-surface);
  border-bottom: 1px solid rgba(85, 99, 78, 0.15);
  box-shadow: var(--shadow-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}

/* Brand Logo (Links to index.html with brand aria-label) */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-logo-img {
  height: clamp(32px, 9vw, 44px);
  width: auto;
  max-width: min(60vw, 200px);
  object-fit: contain;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--palette-text);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.brand-wordmark .tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--palette-muted);
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--palette-text);
  text-decoration: none;
  padding: 0.375rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background-color: var(--palette-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--palette-text);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile Menu Button & Icon Action */
.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(85, 99, 78, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--palette-text);
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background-color: rgba(85, 99, 78, 0.08);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-mobile-action {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  align-items: center;
  justify-content: center;
  color: var(--palette-text);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(85, 99, 78, 0.2);
  text-decoration: none;
  padding: 0;
  flex-shrink: 0;
}

.header-mobile-action:hover {
  background-color: rgba(85, 99, 78, 0.08);
}

.header-mobile-action svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile Drawer (Below Header) */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--palette-surface);
  z-index: 999;
  padding: var(--space-lg) clamp(1rem, 5vw, 2rem);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth), visibility var(--transition-smooth);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid rgba(85, 99, 78, 0.15);
}

.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.mobile-drawer-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--palette-text);
  text-decoration: none;
  padding-block: 0.5rem;
  display: block;
  border-bottom: 1px solid rgba(85, 99, 78, 0.1);
}

.mobile-drawer-link.active {
  color: var(--palette-accent-text);
  border-bottom-color: var(--palette-accent-text);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (max-width: 767px) {
  .site-header {
    height: var(--header-height-mobile);
  }
  .site-header .container {
    gap: 8px;
    padding-inline: 16px;
  }
  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }
  .site-header .brand-wordmark {
    display: none;
  }
  .site-header .brand-link {
    max-width: min(60vw, 200px);
    flex: 0 0 auto;
  }
  .site-header .brand-logo-img {
    height: clamp(32px, 9vw, 44px);
    max-width: min(60vw, 200px);
    width: auto;
    object-fit: contain;
  }
  .header-mobile-action {
    display: inline-flex;
    margin-inline-start: auto;
  }
  .menu-toggle {
    display: inline-flex;
    margin-inline-start: 0;
  }
  .site-header .brand-link + .menu-toggle {
    margin-inline-start: auto;
  }
  .mobile-drawer {
    top: var(--header-height-mobile);
  }
}

/* ==========================================================================
   Hero Section (Strictly Brand-Coloured #1e2b0c with Photo-Overlay)
   ========================================================================== */

.hero {
  position: relative;
  background-color: var(--palette-hero-bg);
  color: var(--palette-hero-text);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
}

/* Full-bleed Photo Under 75% Forest Overlay */
.hero-media-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-media-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) saturate(1.1);
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 43, 12, 0.92) 0%,
    rgba(30, 43, 12, 0.82) 50%,
    rgba(18, 26, 8, 0.94) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 920px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(139, 186, 52, 0.15);
  border: 1px solid rgba(139, 186, 52, 0.4);
  color: var(--palette-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: var(--space-md);
  font-size: clamp(2.35rem, 5.2vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
}

.hero-lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  color: #e4eee0;
  margin-bottom: var(--space-xl);
  max-width: 820px;
}

/* Hero Proof Strip */
.hero-proof-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: var(--space-xl);
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f2f7ec;
}

.proof-pill svg {
  width: 16px;
  height: 16px;
  fill: var(--palette-accent);
}

.proof-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(200, 130, 24, 0.2);
  border: 1px solid rgba(200, 130, 24, 0.45);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: #ffd077;
  font-weight: 700;
}

/* ==========================================================================
   Section 1: Client Proof & Media Credibility Strip
   ========================================================================== */

.proof-strip-section {
  padding-block: var(--space-lg);
  background-color: var(--palette-surface);
  border-bottom: 1px solid rgba(85, 99, 78, 0.12);
}

.proof-strip-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.proof-strip-header p {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--palette-muted);
  margin: 0;
}

.logo-wall {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  opacity: 0.78;
  filter: grayscale(100%);
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-item img {
  max-height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

/* ==========================================================================
   Section 2: Strategic Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background-color: var(--palette-surface);
  border: 1px solid rgba(85, 99, 78, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--palette-primary);
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--palette-accent-text);
  margin-bottom: var(--space-xs);
}

.bg-dark .service-tag,
.bg-hero .service-tag {
  color: var(--palette-accent);
}

.service-card h3 {
  font-size: 1.45rem;
  margin-bottom: var(--space-xs);
}

.service-card p {
  color: var(--palette-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--palette-primary);
  margin-top: 2px;
}

/* ==========================================================================
   Section 3: Quantified Results Band (Full-Width High-Contrast Dark Band)
   ========================================================================== */

.results-band {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  padding-block: var(--space-2xl);
  border-top: 1px solid rgba(139, 186, 52, 0.2);
  border-bottom: 1px solid rgba(139, 186, 52, 0.2);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--palette-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f2f7ec;
  margin-bottom: 0.25rem;
}

.stat-subtext {
  font-size: 0.8125rem;
  color: #a8b89e;
  max-width: 200px;
}

/* ==========================================================================
   Section 4: The 4-Pillar Anthropological Framework
   ========================================================================== */

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.framework-pillar {
  background-color: var(--palette-surface);
  border: 1px solid rgba(85, 99, 78, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.framework-pillar:hover {
  transform: translateY(-3px);
  border-color: var(--palette-primary);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(139, 186, 52, 0.35);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pillar-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--palette-accent-text);
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.bg-dark .pillar-tag,
.bg-hero .pillar-tag {
  color: var(--palette-accent);
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--palette-muted);
}

/* ==========================================================================
   Section 5: Signature Moment — Editorial Case Study Band
   (Valens Global CEO Pull-Quote + Big Metrics)
   ========================================================================== */

.signature-case-study {
  background-color: var(--palette-hero-bg);
  color: #ffffff;
  padding-block: var(--space-2xl);
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--palette-accent);
  border-bottom: 2px solid var(--palette-accent);
}

.signature-case-study::before {
  content: '“';
  position: absolute;
  top: -60px;
  inset-inline-start: 5%;
  font-family: var(--font-display);
  font-size: clamp(140px, 20vw, 280px);
  color: rgba(200, 130, 24, 0.08);
  line-height: 1;
  pointer-events: none;
}

.case-study-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .case-study-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
  }
}

.case-study-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  line-height: 1.35;
  font-style: italic;
  color: #ffffff;
  margin-bottom: var(--space-md);
}

.case-study-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.case-study-author-meta h4 {
  color: var(--palette-primary);
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.case-study-author-meta p {
  color: #d1ded0;
  font-size: 0.875rem;
  margin: 0;
}

.case-study-metrics {
  background-color: rgba(18, 26, 8, 0.7);
  border: 1px solid rgba(200, 130, 24, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.metric-callout {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--space-sm);
}

.metric-callout:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-big {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--palette-accent);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.metric-desc {
  font-size: 0.875rem;
  color: #f2f7ec;
  font-weight: 500;
}

/* ==========================================================================
   Section 6: Credentials & Multidisciplinary Rigor
   ========================================================================== */

.credentials-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 900px) {
  .credentials-split {
    grid-template-columns: 1fr 1fr;
  }
}

.credentials-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.credentials-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: cover;
}

.credential-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.badge-card {
  background-color: var(--palette-surface);
  border: 1px solid rgba(85, 99, 78, 0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
}

.badge-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--palette-accent-text);
}

.bg-dark .badge-year,
.bg-hero .badge-year {
  color: var(--palette-accent);
}

.badge-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 2px;
}

/* ==========================================================================
   Section 7: Verified Client Reviews Band (Dark Brand #121a08)
   ========================================================================== */

.reviews-band {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  padding-block: var(--space-2xl);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.review-card {
  background-color: rgba(30, 43, 12, 0.6);
  border: 1px solid rgba(139, 186, 52, 0.25);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--palette-primary);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--palette-accent);
  margin-bottom: var(--space-sm);
}

.review-quote {
  font-size: 0.975rem;
  line-height: 1.6;
  color: #e4eee0;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-sm);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
}

.review-source-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a8b89e;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Section 8: FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background-color: var(--palette-surface);
  border: 1px solid rgba(85, 99, 78, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--palette-primary);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--palette-text);
  text-align: start;
  cursor: pointer;
}

.faq-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--palette-muted);
  transition: transform var(--transition-fast);
}

.faq-item.is-active .faq-trigger svg {
  transform: rotate(180deg);
  fill: var(--palette-primary);
}

.faq-content {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--palette-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Section 9: Closing CTA Band (Full-Width Brand Color)
   ========================================================================== */

.closing-cta {
  background-color: var(--palette-hero-bg);
  color: #ffffff;
  padding-block: var(--space-2xl);
  text-align: center;
  border-top: 1px solid rgba(139, 186, 52, 0.3);
}

.closing-cta-card {
  max-width: 820px;
  margin-inline: auto;
}

.closing-cta h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

.closing-cta p {
  color: #d1ded0;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  margin-bottom: var(--space-xl);
}

.closing-cta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  font-size: 0.875rem;
  color: #a8b89e;
}

/* ==========================================================================
   Multi-Column Footer (Dark Band #121a08)
   ========================================================================== */

.site-footer {
  background-color: var(--palette-dark);
  color: var(--palette-dark-text);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

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

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

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--palette-primary);
  margin-bottom: var(--space-md);
}

.footer-bio p {
  color: #a8b89e;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  color: #d1ded0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--palette-primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #a8b89e;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: var(--palette-accent);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: #8c9c84;
}

.footer-credits {
  font-size: 0.75rem;
  color: #8c9c84;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  color: #f2f7ec;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--palette-primary);
  color: var(--palette-primary-text);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ==========================================================================
   Back-to-Top Floating Button
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--palette-dark);
  color: var(--palette-primary);
  border: 1px solid rgba(139, 186, 52, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated);
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth), visibility var(--transition-smooth), background-color var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--palette-primary);
  color: var(--palette-primary-text);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ==========================================================================
   Subtle Reveal Animations
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fallback: visible without JavaScript */
.no-js .reveal-on-scroll {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   Tables, Lists & Form Elements for Sub-Pages
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(85, 99, 78, 0.15);
  border-radius: var(--radius-md);
  margin-block: var(--space-md);
  background-color: var(--palette-surface);
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 0.9375rem;
}

.table-custom th,
.table-custom td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(85, 99, 78, 0.12);
}

.table-custom th {
  background-color: #f3f7eb;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--palette-text);
}

.table-custom tr:last-child td {
  border-bottom: none;
}

.table-custom tr:hover td {
  background-color: rgba(139, 186, 52, 0.05);
}

/* Form Styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--palette-text);
}

.form-control {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(85, 99, 78, 0.25);
  border-radius: var(--radius-sm);
  background-color: var(--palette-surface);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--palette-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--palette-accent);
  box-shadow: 0 0 0 3px rgba(200, 130, 24, 0.18);
  outline: none;
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.form-status {
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: none;
  font-size: 0.9375rem;
}

.form-status.is-success {
  display: block;
  background-color: #e9f5d3;
  color: #27400d;
  border: 1px solid #8bba34;
}
