/* ==========================================================================
   CLEAR-VU LIGHTING — Shared Stylesheet
   Engineering Light for Every Environment | Est. 1957
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Brand Colors */
  --color-primary: #00843F;
  --color-primary-dark: #054322;
  --color-primary-bright: #00A950;
  --color-slate: #465660;
  --color-light-gray: #E6E8EA;

  /* Neutral Scale */
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FA;
  --color-gray-100: #F1F3F5;
  --color-gray-200: #E6E8EA;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #465660;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
  --color-black: #0A0A0A;

  /* Semantic */
  --color-success: #059669;
  --color-warning: #D97706;
  --color-error: #DC2626;
  --color-info: #2563EB;

  /* Surface & Text (light mode defaults) */
  --bg-primary: var(--color-white);
  --bg-secondary: var(--color-off-white);
  --bg-tertiary: var(--color-gray-100);
  --bg-inverse: var(--color-gray-900);
  --text-primary: var(--color-gray-900);
  --text-secondary: var(--color-gray-600);
  --text-tertiary: var(--color-gray-400);
  --text-inverse: var(--color-white);
  --text-on-primary: var(--color-white);
  --border-color: var(--color-gray-200);
  --border-color-strong: var(--color-gray-300);

  /* Typography */
  --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Type Scale (modular — 1.25 ratio) */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md: 1.125rem;    /* 18px */
  --text-lg: 1.25rem;     /* 20px */
  --text-xl: 1.5rem;      /* 24px */
  --text-2xl: 1.875rem;   /* 30px */
  --text-3xl: 2.25rem;    /* 36px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 3.75rem;    /* 60px */
  --text-hero: 4.5rem;    /* 72px */

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-caps: 0.08em;

  /* Spacing Scale */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --duration-hero: 1000ms;

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --header-height: 88px;
  --header-height-shrunk: 64px;
}

/* ==========================================================================
   2. Dark Mode
   ========================================================================== */
[data-theme="dark"] {
  --bg-primary: #0F1117;
  --bg-secondary: #161921;
  --bg-tertiary: #1E2130;
  --bg-inverse: var(--color-white);
  --text-primary: #F1F3F5;
  --text-secondary: #9CA3AF;
  --text-tertiary: #6B7280;
  --text-inverse: var(--color-gray-900);
  --border-color: #2A2D3A;
  --border-color-strong: #3A3D4A;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .section--light {
  --bg-primary: #161921;
}

/* In dark mode, .section--dark keeps its dark identity instead of inverting.
   All child styles (titles, .value-prop__text, .section__label, .section--dark p)
   assume white text on a dark surface, so we hold --bg-inverse dark and
   --text-inverse white inside this scope. Without this, the "Why Clear-Vu"
   section (and similar dark sections) renders white text on a white background. */
[data-theme="dark"] .section--dark {
  --bg-inverse: #0A0B10;
  --text-inverse: var(--color-white);
}

[data-theme="dark"] .site-header {
  background: rgba(15, 17, 23, 0.95);
  border-bottom-color: var(--border-color);
}

[data-theme="dark"] .mega-dropdown {
  background: #1E2130;
  border-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu {
  background: #0F1117;
}

[data-theme="dark"] .market-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .resource-card {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .trust-bar {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}

[data-theme="dark"] .spec-table th {
  background: var(--bg-tertiary);
}

[data-theme="dark"] .spec-table td {
  border-color: var(--border-color);
}

[data-theme="dark"] .site-footer {
  background: #080A0F;
}

[data-theme="dark"] .footer__bottom {
  border-top-color: #1E2130;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .btn--outline {
  border-color: var(--border-color-strong);
  color: var(--text-primary);
}

[data-theme="dark"] .breadcrumb a {
  color: var(--text-secondary);
}

[data-theme="dark"] .page-hero {
  background-color: #0F1117;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--duration-slow) var(--ease-out),
              color var(--duration-slow) var(--ease-out);
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-primary-bright);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

p {
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

p + p { margin-top: var(--space-4); }

strong { font-weight: 600; }

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  color: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Selection */
::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  z-index: var(--z-toast);
  font-weight: 600;
}
.skip-link:focus {
  top: var(--space-4);
}

/* ==========================================================================
   4. Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

.section--sm {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.section--lg {
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
}

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

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

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

.section--green {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--green p {
  color: rgba(255, 255, 255, 0.85);
}

.section--green h2,
.section--green h3 {
  color: var(--color-white);
}

/* Section headers */
.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section--dark .section__label,
.section--green .section__label {
  color: var(--color-primary-bright);
}

.section__title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
}

.section__header {
  margin-bottom: var(--space-12);
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-8);
}

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

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

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

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border: 2px solid var(--border-color-strong);
}

.btn--secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid transparent;
  padding: 0.5rem 1rem;
}

.btn--ghost:hover {
  background: var(--bg-tertiary);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-white);
}

.btn--white:hover {
  background: transparent;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   6. Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--duration-normal) var(--ease-out);
  height: var(--header-height);
}

.site-header.is-shrunk {
  height: var(--header-height-shrunk);
  box-shadow: var(--shadow-sm);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo-main {
  height: 44px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-out);
}

.is-shrunk .header__logo-main {
  height: 36px;
}

/* Paired logo lockup: Clear-Vu | Lamar LED */
.header__logo--paired {
  gap: var(--space-3);
}

.header__logo-divider {
  display: block;
  width: 1px;
  height: 32px;
  background: var(--border-color);
  flex-shrink: 0;
  transition: height var(--duration-normal) var(--ease-out);
}

.is-shrunk .header__logo-divider {
  height: 26px;
}

.header__logo-lamar {
  height: 30px;
  width: auto;
  transition: height var(--duration-normal) var(--ease-out);
  /* Subtle de-emphasis so Clear-Vu reads as primary */
  opacity: 0.92;
}

.is-shrunk .header__logo-lamar {
  height: 24px;
}

/* In dark theme, ensure Lamar logo stays legible */
[data-theme="dark"] .header__logo-lamar {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Mobile/tablet: shrink the Lamar logo so it still fits beside Clear-Vu */
@media (max-width: 900px) {
  .header__logo--paired {
    gap: var(--space-2);
  }
  .header__logo-main {
    height: 36px;
  }
  .header__logo-divider {
    height: 26px;
  }
  .header__logo-lamar {
    height: 24px;
  }
}

/* Small phones: keep paired lockup but go even more compact */
@media (max-width: 480px) {
  .header__inner {
    padding: 0 var(--space-4);
  }
  .header__logo--paired {
    gap: 8px;
  }
  .header__logo-main {
    height: 30px;
  }
  .header__logo-divider {
    height: 22px;
  }
  .header__logo-lamar {
    height: 20px;
  }
}

/* Fixture Finder accent nav link */
.nav__link--accent {
  color: var(--color-brand-green, #00843F);
  font-weight: 600;
}
.nav__link--accent:hover,
.nav__link--accent:focus {
  color: var(--color-brand-green-dark, #054322);
}

/* Legacy classes kept as no-ops in case other pages reference them */
.header__logo-sub { display: none; }
.header__logo-sub-text,
.header__logo-sub-brand { display: none; }

/* About page — Brand lockup */
.about-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin: var(--space-10) auto 0;
  padding: var(--space-6) var(--space-8);
  max-width: 760px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.about-brand-lockup img {
  height: 44px;
  width: auto;
}

.about-brand-lockup__plus {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 200;
  color: var(--text-tertiary);
  line-height: 1;
}

.about-brand-lockup__caption {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin: var(--space-3) auto 0;
  max-width: 760px;
  letter-spacing: var(--tracking-wide);
}

@media (max-width: 600px) {
  .about-brand-lockup {
    gap: var(--space-3);
    padding: var(--space-4);
  }
  .about-brand-lockup img {
    height: 28px;
  }
  .about-brand-lockup__plus {
    font-size: 1.5rem;
  }
}

/* Brand story — Two Pioneers section */
.brand-story {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.brand-story__grid {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.brand-story__lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 760px;
  margin: var(--space-4) auto var(--space-10);
  line-height: 1.6;
}

.brand-story__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  text-align: left;
}

.brand-story__brand {
  position: relative;
  padding: var(--space-8);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--color-primary);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

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

.brand-story__brand--lamar {
  border-top-color: var(--color-slate, #465660);
}

.brand-story__logo {
  height: 44px;
  width: auto;
  margin-bottom: var(--space-5);
  display: block;
}

.brand-story__logo--lamar {
  height: 36px;
}

.brand-story__brand-text {
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.brand-story__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-4);
}

.brand-story__list li {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  padding: var(--space-2) 0;
  font-weight: 500;
}

.brand-story__cta-row {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .brand-story__columns {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .brand-story__brand {
    padding: var(--space-6);
  }
  .brand-story__lead {
    font-size: var(--text-base);
    margin-bottom: var(--space-7);
  }
}

/* Hero dual-brand logo lockup — white card matching the
   brand-story cards used elsewhere on the site:
   --radius-lg, subtle border, colored top accent stripe. */
.hero__brand-lockup {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  gap: var(--space-7);
  margin-bottom: var(--space-6);
  padding: var(--space-4) var(--space-7);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--color-primary, #00843F);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18), 0 2px 6px rgba(0, 0, 0, 0.10);
}

.hero__brand-lockup img {
  height: 40px;
  width: auto;
}

.hero__brand-lockup .hero__brand-x {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 300;
  color: rgba(70, 86, 96, 0.40);
  line-height: 1;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .hero__brand-lockup {
    gap: var(--space-4);
    padding: var(--space-3) var(--space-5);
  }
  .hero__brand-lockup img {
    height: 32px;
  }
}

/* Navigation */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav__item:hover .nav__link svg,
.nav__item.is-open .nav__link svg {
  transform: rotate(180deg);
}

/* Mega Dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out),
              visibility var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
  z-index: var(--z-dropdown);
  /* Margin-top creates visible breathing room without leaving a hover-dead gap. */
  margin-top: var(--space-2);
}

/* Invisible hover-bridge over the gap between the trigger pill and the panel.
   Without this, moving the cursor down from the nav link breaks :hover and
   the dropdown disappears before the user can click an item. */
.mega-dropdown::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--space-2) - 4px);
  left: 0;
  right: 0;
  height: calc(var(--space-2) + 8px);
  background: transparent;
}

.nav__item:hover .mega-dropdown,
.nav__item:focus-within .mega-dropdown,
.nav__item.is-open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Reserve the same hover hit area on the trigger so the cursor never
   passes through a no-hover zone on the way to the panel. */
.nav__item.has-dropdown {
  padding-bottom: var(--space-2);
  margin-bottom: calc(-1 * var(--space-2));
}

.mega-dropdown__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-out);
}

.mega-dropdown__item:hover {
  background: var(--bg-tertiary);
}

.mega-dropdown__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  flex-shrink: 0;
}

.mega-dropdown__icon svg,
.mega-dropdown__icon img {
  width: 20px;
  height: 20px;
}

.mega-dropdown__text {
  display: flex;
  flex-direction: column;
}

.mega-dropdown__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: var(--leading-snug);
}

.mega-dropdown__desc {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: var(--leading-snug);
  margin-top: 2px;
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-primary);
}

.header__phone svg {
  width: 16px;
  height: 16px;
}

.header__cta {
  padding: 0.6rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Dark mode toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }

[data-theme="dark"] .theme-toggle__sun { display: block; }
[data-theme="dark"] .theme-toggle__moon { display: none; }

/* Hamburger — persistent at all viewports (V1 behavior).
   Filled dark button so it reads as a clear menu affordance
   on the white header. */
.hamburger {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  background: var(--brand-dark, #054322);
  border: 1px solid var(--brand-dark, #054322);
  margin-left: var(--space-3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.hamburger:hover {
  background: var(--brand-primary, #00843F);
  border-color: var(--brand-primary, #00843F);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 132, 63, 0.25);
}

.hamburger:focus-visible {
  outline: 2px solid var(--brand-primary, #00843F);
  outline-offset: 2px;
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.hamburger__line::before,
.hamburger__line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.hamburger__line::before { top: -7px; }
.hamburger__line::after { bottom: -7px; }

.hamburger.is-active .hamburger__line {
  background: transparent;
}

.hamburger.is-active .hamburger__line::before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger__line::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   7. Mobile Menu
   ========================================================================== */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: var(--z-overlay);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.is-shrunk ~ .mobile-menu,
.is-shrunk + .mobile-menu {
  top: var(--header-height-shrunk);
}

.mobile-menu__inner {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav__item {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
}

.mobile-nav__link svg {
  width: 20px;
  height: 20px;
  transition: transform var(--duration-fast) var(--ease-out);
  color: var(--text-tertiary);
}

.mobile-nav__item.is-open .mobile-nav__link svg {
  transform: rotate(180deg);
}

.mobile-nav__sub {
  display: none;
  padding-bottom: var(--space-4);
}

.mobile-nav__item.is-open .mobile-nav__sub {
  display: block;
}

.mobile-nav__sub a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
}

.mobile-nav__sub a:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.mobile-menu__cta {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-menu__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   8. Hero Section (Homepage Slideshow)
   ========================================================================== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration-hero) var(--ease-in-out);
}

.hero__slide.is-active {
  opacity: 1;
}

/* <picture> wraps photos for WebP delivery. Make it transparent to layout. */
.hero__slide > picture,
.market-card > picture,
.project-card__media > picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Generic fallback: any <picture> renders as a block so width/height inheritance works. */
picture {
  display: block;
}
picture img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 8s var(--ease-in-out) infinite alternate;
}

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.12) translate(-1.5%, -1.5%);
  }
}

/* Staggered start so adjacent slides aren't synchronized */
.hero__slide:nth-child(2) .hero__slide-img { animation-delay: -1.5s; }
.hero__slide:nth-child(3) .hero__slide-img { animation-delay: -3s; }
.hero__slide:nth-child(4) .hero__slide-img { animation-delay: -4.5s; }
.hero__slide:nth-child(5) .hero__slide-img { animation-delay: -6s; }
.hero__slide:nth-child(6) .hero__slide-img { animation-delay: -7.5s; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 67, 34, 0.85) 0%,
    rgba(0, 132, 63, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  color: var(--color-white);
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary-bright);
  margin-bottom: var(--space-6);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
  background: rgba(0,0,0,0.25);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-primary-bright);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: var(--leading-none);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  max-width: 720px;
  margin-bottom: var(--space-6);
}

.hero__text {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__indicators {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 3;
}

.hero__indicator {
  width: 32px;
  height: 3px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  /* Expand clickable area to meet WCAG 2.5.5 (44x44 touch target) */
  position: relative;
  border: none;
  padding: 0;
}

.hero__indicator::before {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: 0;
  right: 0;
}

.hero__indicator.is-active {
  width: 48px;
  background: var(--color-white);
}

/* ==========================================================================
   9. Page Hero (Interior Pages)
   ========================================================================== */
.page-hero {
  position: relative;
  margin-top: var(--header-height);
  padding: var(--space-24) 0 var(--space-16);
  background-color: var(--color-gray-900);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 67, 34, 0.55) 0%,
    rgba(0, 132, 63, 0.30) 40%,
    rgba(17, 24, 39, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero__title {
  font-size: var(--text-4xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
}

/* Product brand attribution badge */
.product-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  margin-bottom: var(--space-4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-brand-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.product-brand-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.product-brand-badge--clearvu .product-brand-badge__dot {
  background: var(--color-primary, #00843F);
  box-shadow: 0 0 0 3px rgba(0, 169, 80, 0.18);
}

.product-brand-badge--lamar .product-brand-badge__dot {
  background: #8895A0;
  box-shadow: 0 0 0 3px rgba(70, 86, 96, 0.28);
}

.product-brand-badge__brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}

.product-brand-badge__by {
  opacity: 0.65;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   10. Breadcrumb Navigation
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb__sep {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.breadcrumb__current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Page hero breadcrumb (white) */
.page-hero .breadcrumb {
  margin-bottom: var(--space-6);
}

/* AEO answer block — short Q&A immediately after page hero, optimized for
   extraction by AI search engines (Perplexity, ChatGPT, Google AI Overviews). */
.aeo-block {
  background: var(--bg-tertiary, #f5f5f5);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg, 12px);
  padding: var(--space-6, 1.5rem) var(--space-8, 2rem);
  margin: 0 auto;
  max-width: 880px;
}
.aeo-block__label {
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  letter-spacing: var(--tracking-wide, 0.05em);
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 var(--space-2, 0.5rem);
}
.aeo-block__question {
  font-size: var(--text-xl, 1.25rem);
  font-weight: 700;
  line-height: var(--leading-snug, 1.3);
  color: var(--text-primary);
  margin: 0 0 var(--space-3, 0.75rem);
}
.aeo-block__answer {
  font-size: var(--text-base, 1rem);
  line-height: var(--leading-relaxed, 1.625);
  color: var(--text-secondary);
  margin: 0;
}
[data-theme="dark"] .aeo-block {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--color-primary-bright, var(--color-primary));
}
.section--aeo {
  padding: var(--space-8, 2rem) 0;
}
@media (max-width: 640px) {
  .aeo-block { padding: var(--space-5, 1.25rem); }
  .aeo-block__question { font-size: var(--text-lg, 1.125rem); }
}

.page-hero .breadcrumb,
.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a:hover {
  color: var(--color-white);
}

.page-hero .breadcrumb__current {
  color: var(--color-white);
}

.page-hero .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   11. Trust Bar / Client Logo Ticker
   ========================================================================== */
.trust-bar {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-6) 0;
  background: var(--bg-primary);
  overflow: hidden;
}

.trust-bar__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
}

.trust-bar__track {
  display: flex;
  width: max-content;
  animation: ticker 70s linear infinite;
}

.trust-bar__track:hover {
  animation-play-state: paused;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0 var(--space-8);
  height: 64px;
  width: 180px;
  color: var(--text-tertiary);
  transition: transform var(--duration-normal) var(--ease-out);
}

.trust-bar__item:hover {
  transform: scale(1.05);
}

.trust-bar__item span {
  font-size: var(--text-sm);
  font-weight: 600;
  color: inherit;
  white-space: nowrap;
  letter-spacing: var(--tracking-wide);
}

.trust-bar__item img,
.trust-bar__item svg {
  max-height: 44px;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Per-logo aspect-ratio tuning so brand marks read at
   consistent visual weight. Each logo has a different intrinsic
   shape (square crest vs. wide wordmark) and needs its own scale. */
.trust-bar__item img[alt="Disney"],
.trust-bar__item img[alt="Walgreens"],
.trust-bar__item img[alt="Caesars Palace"] {
  max-height: 36px;
}
.trust-bar__item img[alt="Columbia University"],
.trust-bar__item img[alt="Port Authority"],
.trust-bar__item img[alt="NYCHA"],
.trust-bar__item img[alt="BWI Airport"],
.trust-bar__item img[alt="Barclays Center"] {
  max-height: 52px;
}
.trust-bar__item img[alt="Nike"],
.trust-bar__item img[alt="Verizon"] {
  max-height: 26px;
}
.trust-bar__item img[alt="Hilton Hotels"],
.trust-bar__item img[alt="Merck"] {
  max-height: 30px;
}
.trust-bar__item img[alt="MTA/NYC Transit"] {
  max-height: 42px;
}
.trust-bar__item img[alt="Prada"],
.trust-bar__item img[alt="GSA"],
.trust-bar__item img[alt="ConEdison"] {
  max-height: 34px;
}

/* Dark mode — invert pure-black wordmarks so they read on dark bg.
   Color logos (Disney blue, Verizon red, etc.) are left alone. */
[data-theme="dark"] .trust-bar__item img[alt="Nike"],
[data-theme="dark"] .trust-bar__item img[alt="Prada"],
[data-theme="dark"] .trust-bar__item img[alt="Hilton Hotels"],
[data-theme="dark"] .trust-bar__item img[alt="Merck"],
[data-theme="dark"] .trust-bar__item img[alt="GSA"] {
  filter: invert(1);
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   12. Market Cards
   ========================================================================== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.market-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.market-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.market-card:hover .market-card__img {
  transform: scale(1.08);
}

.market-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  transition: background var(--duration-normal) var(--ease-out);
}

.market-card:hover .market-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 132, 63, 0.85) 0%,
    rgba(0, 132, 63, 0.3) 60%,
    transparent 100%
  );
}

.market-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-3);
}

.market-card__icon img {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
}

.market-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.market-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.market-card:hover .market-card__desc {
  opacity: 1;
  max-height: 60px;
  margin-top: var(--space-2);
}

.market-card__arrow {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: var(--color-white);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all var(--duration-normal) var(--ease-out);
}

.market-card:hover .market-card__arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.market-card__arrow svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   13. Product Cards / Filterable Catalog
   ========================================================================== */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.catalog-filter {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.catalog-filter:hover {
  color: var(--text-primary);
  background: var(--bg-primary);
  border-color: var(--border-color-strong);
}

.catalog-filter.is-active {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-out);
}

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

.product-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.product-card__tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.product-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.product-card:hover .product-card__link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   14. Why Clear-Vu / Value Propositions
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.value-prop {
  text-align: center;
}

.value-prop__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  border-radius: var(--radius-xl);
  background: rgba(0, 132, 63, 0.08);
  color: var(--color-primary);
}

.section--dark .value-prop__icon {
  background: rgba(0, 169, 80, 0.15);
  color: var(--color-primary-bright);
}

.value-prop__icon svg {
  width: 28px;
  height: 28px;
}

.value-prop__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.value-prop__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.section--dark .value-prop__text {
  color: rgba(255, 255, 255, 0.65);
}

/* Stat counter variant */
.stat-counter {
  text-align: center;
}

.stat-counter__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: var(--leading-none);
  margin-bottom: var(--space-2);
}

.section--dark .stat-counter__number,
.section--green .stat-counter__number {
  color: var(--color-white);
}

.stat-counter__label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: var(--tracking-wide);
}

.section--dark .stat-counter__label {
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   15. Case Study Feature Block
   ========================================================================== */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.case-study--reverse {
  direction: rtl;
}

.case-study--reverse > * {
  direction: ltr;
}

.case-study__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.case-study__image img {
  width: 100%;
  height: auto;
  display: block;
}

.case-study__content {}

.case-study__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.case-study__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.case-study__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.case-study__stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-6);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.case-study__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
}

.case-study__stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

/* ==========================================================================
   16. Spec Table
   ========================================================================== */
.spec-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.spec-table th {
  background: var(--bg-tertiary);
  font-weight: 600;
  text-align: left;
  padding: var(--space-3) var(--space-4);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.spec-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
}

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

.spec-table tr:hover td {
  background: var(--bg-secondary);
}

.spec-table__highlight {
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   17. Feature / Benefit Lists
   ========================================================================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.feature-list__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.feature-list__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: rgba(0, 132, 63, 0.08);
  color: var(--color-primary);
}

.feature-list__icon svg {
  width: 20px;
  height: 20px;
}

.feature-list__content {}

.feature-list__title {
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

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

.section--dark .feature-list__text {
  color: rgba(255, 255, 255, 0.65);
}

.section--dark .feature-list__icon {
  background: rgba(0, 169, 80, 0.15);
  color: var(--color-primary-bright);
}

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

.feature-list__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Checkmark variant */
.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-8);
}

.benefit-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.benefit-list__check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(0, 132, 63, 0.1);
  color: var(--color-primary);
}

.benefit-list__check svg {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   18. Resource Cards
   ========================================================================== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.resource-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-normal) var(--ease-out);
}

.resource-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.resource-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  width: fit-content;
}

.resource-card__badge--guide {
  background: rgba(0, 132, 63, 0.1);
  color: var(--color-primary);
}

.resource-card__badge--spec {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-info);
}

.resource-card__badge--video {
  background: rgba(217, 119, 6, 0.1);
  color: var(--color-warning);
}

.resource-card__badge--whitepaper {
  background: rgba(107, 114, 128, 0.1);
  color: var(--color-gray-600);
}

.resource-card__badge--case-study {
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-success);
}

.resource-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  flex: 1;
}

.resource-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}

.resource-card__action {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}

.resource-card__action svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   19. Rep Finder
   ========================================================================== */
.rep-finder {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  transition: max-width var(--duration-base) var(--ease-out);
}

/* Allow the rep-finder card to widen when displaying a two-rep pair */
.rep-finder:has(.rep-finder__result--pair) {
  max-width: 1040px;
}

.rep-finder__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.rep-finder__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.rep-finder__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  max-width: 420px;
  margin: 0 auto;
}

.rep-finder__input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1.25rem;
  font-size: var(--text-base);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-out);
  outline: none;
}

/* On narrow viewports, stack the button under the input so it never
   overflows when the placeholder/label is long. */
@media (max-width: 480px) {
  .rep-finder__form .btn {
    flex: 1 1 100%;
    width: 100%;
  }
}

.rep-finder__input::placeholder {
  color: var(--text-tertiary);
}

.rep-finder__input:focus {
  border-color: var(--color-primary);
}

.rep-finder__result {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  display: none;
}

.rep-finder__result.is-visible {
  display: block;
}

/* Side-by-side pair layout when both Lamar and Clear-Vu reps match a ZIP.
   Lamar is rendered first (left); Clear-Vu second (right). Stacks under 720px. */
.rep-result-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: stretch;
}

.rep-result-pair > .rep-result {
  height: 100%;
}

@media (max-width: 720px) {
  .rep-result-pair {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Clear-Vu factory-direct note shown beneath a Lamar-only rep result when
   no Clear-Vu rep covers the searched area. */
.rep-finder__clearvu-note {
  margin: var(--space-5) 0 0;
  padding: var(--space-4) var(--space-5);
  background: var(--bg-primary);
  border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  overflow-wrap: anywhere;
}

.rep-finder__clearvu-note strong {
  color: var(--text-primary);
  font-weight: 700;
}

.rep-finder__clearvu-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.rep-finder__clearvu-note a:hover,
.rep-finder__clearvu-note a:focus {
  text-decoration: underline;
}

/* ==========================================================================
   20. Contact Form
   ========================================================================== */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.form-label span {
  color: var(--color-error);
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 132, 63, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error .form-select {
  border-color: var(--color-error);
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-8);
  display: none;
}

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: rgba(0, 132, 63, 0.1);
  color: var(--color-primary);
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   21. Timeline (Horizontal — About Page)
   ========================================================================== */
.timeline {
  position: relative;
  padding: var(--space-12) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.timeline__track {
  display: flex;
  gap: var(--space-12);
  position: relative;
  min-width: max-content;
  padding: var(--space-8) var(--space-6);
}

.timeline__track::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-color);
  transform: translateY(-50%);
}

.timeline__item {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}

.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.timeline__content {
  padding-top: calc(50% + var(--space-8));
}

.timeline__item:nth-child(even) .timeline__content {
  padding-top: 0;
  padding-bottom: calc(50% + var(--space-8));
  position: relative;
  top: -100%;
  transform: translateY(-var(--space-8));
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.timeline__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* Simplified timeline variant */
.timeline-simple {
  position: relative;
  padding-left: var(--space-8);
}

.timeline-simple::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-simple__item {
  position: relative;
  padding-bottom: var(--space-10);
  padding-left: var(--space-6);
}

.timeline-simple__item:last-child {
  padding-bottom: 0;
}

.timeline-simple__dot {
  position: absolute;
  left: calc(-1 * var(--space-8) - 1px);
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.timeline-simple__year {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.timeline-simple__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   22. Compliance Badges
   ========================================================================== */
.compliance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: var(--space-8) 0;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.compliance-badge__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.compliance-badge__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compliance-badge__text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.compliance-badge__sub {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 400;
}

/* ==========================================================================
   23. Footer
   ========================================================================== */
.site-footer {
  background: var(--color-gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-16);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 0.85fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.footer__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__brand-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__brand-logo--lamar {
  height: 28px;
  opacity: 0.92;
}

.footer__brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.footer__tagline {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer__heritage {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
  /* Mobile tap target: padding adds clickable area without changing visual rhythm */
  display: inline-block;
  padding: 6px 0;
  min-height: 32px;
  line-height: 1.4;
}

.footer__link:hover {
  color: var(--color-primary-bright);
}

/* Newsletter */
.footer__newsletter {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-8) 0;
}

.footer__newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.footer__newsletter-text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
}

.footer__newsletter-text strong {
  display: block;
  font-size: var(--text-base);
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

.footer__newsletter-input {
  padding: 0.7rem 1rem;
  font-size: var(--text-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--color-white);
  min-width: 260px;
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer__newsletter-input:focus {
  border-color: var(--color-primary);
}

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer__attribution {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__attribution a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.footer__attribution a:hover {
  color: var(--color-primary-bright);
}

/* ==========================================================================
   24. Scroll Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 100ms; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 200ms; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 300ms; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 400ms; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 500ms; }

/* ==========================================================================
   25. Back to Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: var(--z-sticky);
  border: none;
}

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

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   26. Miscellaneous Components
   ========================================================================== */

/* Badge / Tag */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.2rem 0.65rem;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(0, 132, 63, 0.1);
  color: var(--color-primary);
}

.badge--dark {
  background: var(--color-gray-900);
  color: var(--color-white);
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: var(--space-12) 0;
}

/* Quote block */
.quote-block {
  position: relative;
  padding: var(--space-8) var(--space-8) var(--space-8) var(--space-10);
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-primary);
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--color-primary);
  line-height: 1;
  opacity: 0.3;
}

.quote-block__text {
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--text-primary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.quote-block__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-16);
  text-align: center;
  color: var(--color-white);
}

.cta-banner__title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-banner__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto var(--space-8);
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ==========================================================================
   27. Responsive Design — Mobile First
   ========================================================================== */

/* Small phones (480px) */
@media (max-width: 480px) {
  :root {
    --text-hero: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.875rem;
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
  }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  .hero {
    height: 80vh;
    min-height: 500px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__text {
    font-size: var(--text-base);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner {
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
  }

  .cta-banner__title {
    font-size: var(--text-2xl);
  }

  .cta-banner__actions {
    flex-direction: column;
  }

  .cta-banner__actions .btn {
    width: 100%;
  }
}

/* Tablets and below (768px) */
@media (max-width: 768px) {
  .header__nav,
  .header__phone {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header__cta {
    display: none;
  }

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

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

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

  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .case-study {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .case-study--reverse {
    direction: ltr;
  }

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

  .benefit-list {
    grid-template-columns: 1fr;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .footer__newsletter-input {
    min-width: auto;
    width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .page-hero {
    padding: var(--space-16) 0 var(--space-12);
  }

  .page-hero__title {
    font-size: var(--text-3xl);
  }

  .compliance-row {
    gap: var(--space-4);
  }

  .compliance-badge {
    flex: 0 0 calc(50% - var(--space-2));
    justify-content: center;
  }
}

/* Small tablets (up to 1024px) */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Desktop (1280px+) */
@media (min-width: 1281px) {
  .header__nav {
    display: flex;
  }

  /* Hamburger remains visible on desktop — V1 behavior */
  .hamburger {
    display: flex;
  }
}

/* Large desktop adjustments */
@media (min-width: 1024px) and (max-width: 1280px) {
  .nav__link {
    font-size: var(--text-xs);
    padding: var(--space-2);
  }

  .header__cta {
    padding: 0.5rem 1rem;
    font-size: var(--text-xs);
  }

  .header__phone {
    font-size: var(--text-xs);
  }
}

/* Mobile only: stacked market cards */
@media (max-width: 600px) {
  .market-grid {
    grid-template-columns: 1fr;
  }

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

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

  .catalog-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--space-2);
    -webkit-overflow-scrolling: touch;
  }

  .catalog-filter {
    flex-shrink: 0;
  }
}

/* Touch device adjustments */
@media (hover: none) {
  .market-card__desc {
    opacity: 1;
    max-height: none;
    margin-top: var(--space-2);
  }

  .market-card__arrow {
    opacity: 1;
    transform: none;
  }

  .nav__item:hover .mega-dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav__item.is-open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .back-to-top,
  .mobile-menu {
    display: none !important;
  }

  .hero {
    margin-top: 0;
    height: auto;
    min-height: auto;
  }

  .page-hero {
    margin-top: 0;
  }

  .section {
    padding: 1rem 0;
  }

  body {
    color: #000;
    background: #fff;
  }
}

/* ==========================================================================
   28. Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   Marquee Product Pages — Featured Projects Showcase
   ========================================================================== */
.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card__media img {
  transform: scale(1.04);
}

.project-card__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.project-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}

.project-card__meta {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-4);
  flex: 1;
}

.project-card__metric {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
  .project-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .project-showcase { grid-template-columns: 1fr; }
}

/* ===================================================================
   GATED DOWNLOAD MODAL — Whitepaper lead-capture form
   =================================================================== */

.gd-modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: var(--space-4);
  background: rgba(5, 67, 34, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  animation: gdFadeIn .18s ease-out;
}
.gd-modal.is-open { display: flex; }
@keyframes gdFadeIn { from { opacity:0 } to { opacity:1 } }

.gd-modal__panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - var(--space-8));
  overflow-y: auto;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0,0,0,.35);
  padding: var(--space-10) var(--space-8) var(--space-8);
  animation: gdSlideUp .22s cubic-bezier(.2,.8,.2,1);
}
@media (max-width: 540px) {
  .gd-modal__panel {
    padding: var(--space-8) var(--space-5) var(--space-6);
    max-height: calc(100vh - var(--space-4));
    border-radius: var(--radius-md);
  }
}
@keyframes gdSlideUp { from { transform: translateY(12px); opacity:0 } to { transform: translateY(0); opacity:1 } }

.gd-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--text-secondary); border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
}
.gd-modal__close:hover { background: var(--bg-secondary); color: var(--text-primary); }

.gd-modal__eyebrow {
  display: inline-block;
  background: rgba(0,132,63,.10);
  color: var(--color-primary);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}
.gd-modal__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.2;
}
.gd-modal__sub {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-6);
  line-height: 1.55;
}

.gd-form { display: grid; gap: var(--space-4); }
.gd-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 540px) { .gd-form__row { grid-template-columns: 1fr; } }
.gd-form__field { display: flex; flex-direction: column; }
.gd-form__label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gd-form__input,
.gd-form__select {
  width: 100%;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.gd-form__input:focus,
.gd-form__select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,132,63,.15);
}
.gd-form__input--invalid,
.gd-form__input--invalid:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.10);
}
.gd-form__error {
  display: none;
  margin-top: 6px;
  color: #B91C1C;
  font-size: var(--text-xs);
  line-height: 1.4;
}
.gd-form__error.is-visible { display: block; }
.gd-form__hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; pointer-events: none; }

.gd-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.5;
}
.gd-form__consent input { margin-top: 3px; flex-shrink: 0; }

.gd-form__submit {
  width: 100%;
  margin-top: var(--space-2);
  padding: 14px 24px;
  font-weight: 600;
  font-size: var(--text-base);
  color: #fff;
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.gd-form__submit:hover:not(:disabled) { background: var(--color-primary-dark); }
.gd-form__submit:active:not(:disabled) { transform: translateY(1px); }
.gd-form__submit:disabled { opacity: .55; cursor: wait; }

.gd-modal__success {
  text-align: center;
  padding: var(--space-4) 0 0;
}
.gd-modal__success-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: rgba(0,132,63,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
}
.gd-modal__success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
}
.gd-modal__success p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0 0 var(--space-5);
}

/* Whitepaper card — gated style refinements */
.wp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
  overflow: hidden;
}
.wp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.12);
  border-color: var(--color-primary);
}
.wp-card__locked {
  position: absolute; top: 14px; right: 14px;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,132,63,.10);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 14px;
}
.wp-card__type {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.wp-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
  line-height: 1.3;
}
.wp-card__sub {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  margin: 0 0 var(--space-4);
  line-height: 1.55;
  flex: 1;
}
.wp-card__meta {
  display: flex; gap: var(--space-3); align-items: center;
  font-size: var(--text-xs); color: var(--text-tertiary);
  border-top: 1px solid var(--border-color);
  padding-top: var(--space-3);
  margin-bottom: var(--space-3);
}
.wp-card__meta span + span::before { content: "·"; margin-right: var(--space-3); color: var(--text-tertiary); }
.wp-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}
.wp-card__cta svg { width: 16px; height: 16px; transition: transform .15s; }
.wp-card:hover .wp-card__cta svg { transform: translateX(3px); }

[data-theme="dark"] .gd-modal { background: rgba(0,0,0,.65); }
[data-theme="dark"] .gd-modal__panel { background: var(--bg-secondary); }
[data-theme="dark"] .gd-modal__eyebrow { background: rgba(0,132,63,.18); color: #4DB57E; }

/* =============================================================================
   PR I — Product Sticky CTA (mobile-only)
   ============================================================================= */
.product-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: none;
  align-items: stretch;
  gap: var(--space-2);
  padding: var(--space-2);
  background: var(--surface-elevated, #fff);
  border-top: 1px solid var(--border-subtle, rgba(0,0,0,0.08));
  box-shadow: 0 -8px 24px rgba(0,0,0,0.10);
}
@media (max-width: 768px) {
  .product-sticky-cta { display: flex; }
  /* Push the footer up a touch so it isn't covered when the bar is sticky */
  body { padding-bottom: 72px; }
}
.product-sticky-cta__primary {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-primary, #00843F);
  color: #fff;
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  font-size: var(--text-base, 1rem);
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  padding: 14px 16px;
  min-height: 48px;
  letter-spacing: 0.01em;
}
.product-sticky-cta__primary:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--color-primary, #00843F);
}
.product-sticky-cta__primary svg { width: 18px; height: 18px; }
.product-sticky-cta__phone {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-primary, #00843F);
  font-family: var(--font-heading, inherit);
  font-weight: 700;
  font-size: var(--text-base, 1rem);
  text-decoration: none;
  border: 2px solid var(--color-primary, #00843F);
  border-radius: var(--radius-md, 8px);
  padding: 12px 14px;
  min-height: 48px;
  min-width: 64px;
}
.product-sticky-cta__phone:focus-visible {
  outline: 3px solid var(--color-primary, #00843F);
  outline-offset: 2px;
}
.product-sticky-cta__phone svg { width: 18px; height: 18px; }
.product-sticky-cta__phone-text { font-weight: 700; }
[data-theme="dark"] .product-sticky-cta {
  background: var(--surface-elevated, #1a1a1a);
  border-top-color: rgba(255,255,255,0.10);
}

/* =============================================================================
   PR K — Standardized compliance badge component
   ============================================================================= */
.cv-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0,132,63,0.08);
  color: var(--color-primary, #00843F);
  border: 1px solid rgba(0,132,63,0.20);
  border-radius: var(--radius-full, 999px);
  font-family: var(--font-heading, inherit);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.cv-badge svg { width: 14px; height: 14px; flex: 0 0 auto; }
.cv-badge--baba { background: rgba(0,132,63,0.10); }
.cv-badge--baa  { background: rgba(0,132,63,0.10); }
.cv-badge--ul   { background: rgba(220,53,69,0.08); color: #B02A37; border-color: rgba(176,42,55,0.20); }
.cv-badge--dlc  { background: rgba(13,110,253,0.08); color: #0D6EFD; border-color: rgba(13,110,253,0.20); }
.cv-badge--nsf  { background: rgba(255,153,0,0.08); color: #B66A00; border-color: rgba(182,106,0,0.20); }
.cv-badge--iso  { background: rgba(108,117,125,0.10); color: #4A5258; border-color: rgba(108,117,125,0.25); }
.cv-badge--nfpa { background: rgba(220,53,69,0.08); color: #B02A37; border-color: rgba(176,42,55,0.20); }
.cv-badge--osha { background: rgba(255,193,7,0.12); color: #806000; border-color: rgba(255,193,7,0.30); }
[data-theme="dark"] .cv-badge {
  background: rgba(0,132,63,0.18);
  color: #4FCB7F;
  border-color: rgba(79,203,127,0.30);
}
[data-theme="dark"] .cv-badge--ul  { background: rgba(220,53,69,0.18); color: #FF7A86; border-color: rgba(255,122,134,0.30); }
[data-theme="dark"] .cv-badge--dlc { background: rgba(77,166,255,0.18); color: #77B8FF; border-color: rgba(119,184,255,0.30); }
[data-theme="dark"] .cv-badge--nsf { background: rgba(255,153,0,0.18); color: #FFC069; border-color: rgba(255,192,105,0.30); }
[data-theme="dark"] .cv-badge--iso { background: rgba(170,180,190,0.15); color: #C9D0D6; border-color: rgba(201,208,214,0.30); }
[data-theme="dark"] .cv-badge--nfpa{ background: rgba(220,53,69,0.18); color: #FF7A86; border-color: rgba(255,122,134,0.30); }
[data-theme="dark"] .cv-badge--osha{ background: rgba(255,193,7,0.18); color: #FFD867; border-color: rgba(255,216,103,0.30); }
