/* ═══════════════════════════════════════════════════════
   SMART INSTALLERS - Premium Design System
   Fonts: DM Serif Display (display) + Plus Jakarta Sans (body) + JetBrains Mono (mono)
   ═══════════════════════════════════════════════════════ */

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

:root {
  --light: #F7F6F3;
  --light-2: #EFEEE9;
  --light-3: #E4E3DC;
  --dark: #142747;
  --dark-2: #0E1E38;
  --dark-3: #1E3558;
  --ember: #C4841F;
  --ember-2: #D4943A;
  --ember-light: #E8B86A;
  --sage: #0D9668;
  --sage-light: #10B981;
  --grey: #2E3440;
  --grey-light: #4B5563;
  --white: #FFFFFF;
  --text-primary: #0A0F1C;
  --text-secondary: #374151;
  --text-muted: #6B7280;
  --border: rgba(10,15,28,0.06);
  --border-strong: rgba(10,15,28,0.12);
  --shadow-sm: 0 1px 2px rgba(10,15,28,0.05), 0 1px 3px rgba(10,15,28,0.03);
  --shadow-md: 0 4px 12px rgba(10,15,28,0.07), 0 2px 4px rgba(10,15,28,0.04);
  --shadow-lg: 0 20px 60px rgba(10,15,28,0.10), 0 8px 20px rgba(10,15,28,0.06);
  --shadow-xl: 0 32px 80px rgba(10,15,28,0.14), 0 12px 32px rgba(10,15,28,0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-accent: 'Archivo', system-ui, sans-serif;
  --font-mono: var(--font-accent);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-emphasized: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 520ms;
  --dur-hero: 720ms;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--light);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'ss02';
}

/* ── UTILITIES ── */
.mono { font-family: var(--font-accent); }

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}
.grain-light { mix-blend-mode: multiply; }
.grain-dark { mix-blend-mode: overlay; }

hr.section-rule {
  border: none;
  height: 1px;
  background: rgba(13,150,104,0.2);
  width: 100%;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 12px 2rem 0;
  display: flex; align-items: center; justify-content: center;
  transition: padding 0.4s var(--ease-out);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  height: 56px;
  padding: 0 8px 0 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(247,246,243,0.12);
  background: rgba(247,246,243,0.06);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 8px rgba(12,20,37,0.05);
  transition: background 0s, border-color 0s, box-shadow 0s;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
/* [G-027] Nav logo mark: spring rotation on hover */
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--sage);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: background 0.3s var(--ease-out), transform 0.4s var(--ease-spring);
}
.nav-logo:hover .nav-logo-mark {
  background: var(--sage-light);
  transform: rotate(8deg);
}
.nav-logo-mark img {
  width: 20px; height: 20px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}
.nav-logo-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--light);
  transition: color 0.3s;
}
.nav-logo-text span { color: rgba(247,246,243,0.6); transition: color 0.3s; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none;
  background: rgba(247,246,243,0.08);
  border-radius: var(--radius-full);
  padding: 4px;
  transition: background 0.3s;
}
.nav-links > li > a {
  display: block;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(247,246,243,0.75); /* [G-002] contrast fix: was 0.55, now ~5.5:1 */
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}
.nav-links > li > a:hover {
  color: var(--white);
  background: rgba(247,246,243,0.1);
}
.nav-links > li > a.active {
  color: var(--white);
  font-weight: 500;
  background: rgba(247,246,243,0.12);
}
nav.nav-light .nav-inner {
  background: rgba(255,253,249,0.82);
  border-color: rgba(12,20,37,0.06);
  box-shadow: 0 2px 12px rgba(12,20,37,0.06);
}
nav.nav-light .nav-logo-text { color: var(--dark); }
nav.nav-light .nav-logo-text span { color: var(--sage); }
nav.nav-light .nav-links { background: rgba(12,20,37,0.04); }
nav.nav-light .nav-links > li > a { color: var(--grey-light); }
nav.nav-light .nav-links > li > a:hover { color: var(--dark); background: rgba(12,20,37,0.05); }
nav.nav-light .nav-links > li > a.active { color: var(--dark); font-weight: 500; background: rgba(12,20,37,0.06); }
nav.nav-light .btn-ghost { color: var(--dark); border-color: rgba(12,20,37,0.12); }
nav.nav-light .btn-ghost:hover { color: var(--dark); background: rgba(12,20,37,0.03); border-color: rgba(12,20,37,0.25); }
/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex !important; align-items: center; gap: 5px; }
.nav-dropdown > a > svg { width: 10px; height: 10px; flex-shrink: 0; transition: transform 0.2s; }
.nav-dropdown:hover > a > svg { transform: rotate(180deg); }
/* Invisible bridge so mouse can travel from trigger to menu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  display: none;
}
.nav-dropdown:hover::after { display: block; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  padding: 6px;
  background: rgba(7,11,20,0.95);
  border: 1px solid rgba(247,246,243,0.1);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s, visibility 0.15s;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* [G-003] Keyboard-accessible dropdown */
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* [G-019] Dropdown staggered item entry */
.nav-dropdown-menu a {
  display: block !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(247,246,243,0.75) !important; /* [G-002] contrast fix: was 0.65 */
  text-decoration: none !important;
  border-radius: 6px !important;
  background: transparent !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
  transition: color 0.15s, background 0.15s !important;
}
@media (prefers-reduced-motion: no-preference) {
  .nav-dropdown-menu a {
    opacity: 0;
    transform: translateY(-4px);
    animation: dropdown-item-in 0.18s var(--ease-out) forwards;
    animation-play-state: paused;
  }
  .nav-dropdown:hover .nav-dropdown-menu a,
  .nav-dropdown:focus-within .nav-dropdown-menu a {
    animation-play-state: running;
  }
  .nav-dropdown-menu a:nth-child(1) { animation-delay: 0.00s; }
  .nav-dropdown-menu a:nth-child(2) { animation-delay: 0.03s; }
  .nav-dropdown-menu a:nth-child(3) { animation-delay: 0.03s; }
  .nav-dropdown-menu a:nth-child(4) { animation-delay: 0.06s; }
  .nav-dropdown-menu a:nth-child(5) { animation-delay: 0.09s; }
  .nav-dropdown-menu a:nth-child(6) { animation-delay: 0.12s; }
  @keyframes dropdown-item-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
.nav-dropdown-menu a:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
}
nav.nav-light .nav-dropdown-menu {
  background: rgba(255,255,255,0.97);
  border-color: rgba(10,15,28,0.1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
nav.nav-light .nav-dropdown-menu a { color: var(--grey-light) !important; }
nav.nav-light .nav-dropdown-menu a:hover { color: var(--dark) !important; background: rgba(10,15,28,0.04) !important; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ── BUTTONS ── */
.btn-ghost {
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: rgba(247,246,243,0.7);
  background: transparent;
  border: 1.5px solid rgba(247,246,243,0.18);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  letter-spacing: -0.01em;
}
.btn-ghost:hover { color: var(--white); background: rgba(247,246,243,0.06); border-color: rgba(247,246,243,0.4); }
.btn-primary {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  color: var(--white);
  background: var(--sage);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  letter-spacing: -0.01em;
  box-shadow: 0 2px 8px rgba(13,150,104,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover { background: var(--sage-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,150,104,0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-amber {
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  color: var(--white);
  background: var(--sage);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 14px rgba(13,150,104,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-amber:hover { background: var(--sage-light); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(13,150,104,0.4), inset 0 1px 0 rgba(255,255,255,0.15); }
.btn-outline-light {
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  color: rgba(247,246,243,0.9);
  background: transparent;
  border: 1.5px solid rgba(247,246,243,0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  letter-spacing: -0.02em;
}
.btn-outline-light:hover { color: var(--white); background: rgba(247,246,243,0.06); border-color: rgba(247,246,243,0.45); }
.btn-outline-dark {
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  color: var(--dark);
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease-out);
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-outline-dark:hover { border-color: var(--dark); background: rgba(10,15,28,0.03); transform: translateY(-1px); }

/* ── SECTION SHARED ── */
section { position: relative; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
  padding: 5px 12px;
  background: rgba(13,150,104,0.06);
  border: 1px solid rgba(13,150,104,0.12);
  border-radius: var(--radius-full);
}
h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
h2.section-title em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-light) 60%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.12em;
  margin: 0 -0.08em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
h2.section-title.light { color: var(--white); }
h2.section-title.light em {
  background: linear-gradient(135deg, var(--sage-light) 0%, #34D399 50%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 8px;
}
.section-body.light { color: rgba(247,246,243,0.70); } /* [G-002] contrast fix */

/* ── PAGE HERO (dark bg, used on sub-pages) ── */
.page-hero {
  min-height: 100vh;
  padding: 120px 2rem 80px;
  background: var(--dark);
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.page-hero .hero-mesh {
  position: absolute; inset: 0 0 120px 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 20%, rgba(13,150,104,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 75%, rgba(196,132,31,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(20,39,71,0.9) 0%, transparent 100%);
  animation: mesh-shift 14s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}
.page-hero .hero-grid {
  position: absolute; inset: 0 0 120px 0;
  background-image: radial-gradient(circle, rgba(247,246,243,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}
.page-hero .grain-overlay,
.grain-overlay {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 0;
}
.page-hero .grain-overlay {
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
/* [G-025] Hero eyebrow: inner glow treatment */
.page-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.22);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  color: var(--sage-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 36px;
  box-shadow:
    inset 0 1px 0 rgba(16,185,129,0.15),
    inset 0 0 12px rgba(16,185,129,0.08),
    0 0 20px rgba(16,185,129,0.06);
}
.page-hero .hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--sage-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 67px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 28px;
  padding: 0 0.15em;
}
.page-hero-title em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, #10B981 0%, #34D399 40%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 0.12em;
  margin: 0 -0.08em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.page-hero-sub {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(247,246,243,0.75); /* [G-002] contrast fix: was 0.55, now ~5.5:1 */
  max-width: 720px;
  margin: 0 auto 48px;
  letter-spacing: -0.01em;
}
.page-hero-actions {
  display: flex; align-items: center; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Subtle line separator under hero */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13,150,104,0.3), transparent);
}

/* ── SECTION DIVIDER (hero-to-content SVG transition) ── */
.section-divider {
  height: 60px;
  overflow: hidden;
  position: relative;
  margin-top: -1px;
  line-height: 0;
}
.section-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ── STAGGERED DIVISION CARDS ── */
.divisions-grid .division-card:nth-child(2) { margin-top: 24px; }
.divisions-grid .division-card:nth-child(3) { margin-top: 12px; }
.divisions-grid .division-card:nth-child(4) { margin-top: 32px; }
.divisions-grid .division-card:nth-child(5) { margin-top: 16px; }
@media (max-width: 768px) {
  .divisions-grid .division-card:nth-child(n) { margin-top: 0; }
}

/* ── STAGGERED PROCESS CARDS ── */
.process-grid .process-card:nth-child(2) { margin-top: 20px; }
.process-grid .process-card:nth-child(3) { margin-top: 8px; }
.process-grid .process-card:nth-child(4) { margin-top: 28px; }
@media (max-width: 768px) {
  .process-grid .process-card:nth-child(n) { margin-top: 0; }
}

/* ── PROVIDER GHOST TEXT ── */
.provider-ghost {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(247,246,243,0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

/* ── DARK GREEN ACCENT SECTION ── */
.section-accent-green {
  background: #1d4a3a !important;
}
.section-accent-green h2,
.section-accent-green h3 {
  color: var(--light) !important;
}
.section-accent-green p,
.section-accent-green .section-body {
  color: rgba(247,246,243,0.70) !important;
}
.section-accent-green .eyebrow {
  color: var(--sage-light) !important;
}

/* ── DECORATIVE BACKGROUND TEXT ── */
.deco-text {
  position: absolute;
  font-family: var(--font-mono);
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 500;
  color: rgba(13,150,104,0.07);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}
@media (max-width: 768px) {
  .deco-text { display: none; }
}

/* ── STATS BAND ── */
.stats-band {
  padding: 80px 0;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stat-item { text-align: left; padding: 0 40px; border-left: 1px solid rgba(247,246,243,0.1); }
.stat-item:first-child { border-left: none; }
/* [G-009] Stats: tighter glow + green bar accent */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 400;
  color: var(--sage-light);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  text-shadow:
    0 0 20px rgba(16,185,129,0.25),
    0 0 60px rgba(16,185,129,0.08);
}
.stat-item::after {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--sage), var(--sage-light));
  border-radius: 2px;
  margin-top: 16px;
  opacity: 0.6;
}
.stat-label {
  font-size: 13px;
  color: rgba(247,246,243,0.65); /* [G-002] contrast fix: was 0.45, now ~4.9:1 */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

/* ── CONTENT CARDS ── */
/* [G-001] [G-006] [G-028] Content cards: gradient border, shadow expansion, no translateY */
.content-card {
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, rgba(13,150,104,0.18) 0%, rgba(10,15,28,0.06) 50%, rgba(13,150,104,0.08) 100%) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out);
  box-shadow:
    0 1px 2px rgba(10,15,28,0.04),
    0 4px 16px rgba(10,15,28,0.05),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.content-card:hover {
  box-shadow:
    0 2px 4px rgba(10,15,28,0.05),
    0 12px 40px rgba(10,15,28,0.10),
    0 0 0 1px rgba(13,150,104,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.content-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(13,150,104,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  margin-bottom: 20px;
  transition: all 0.3s var(--ease-out);
}
.content-card:hover .content-card-icon {
  background: var(--sage);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}
.content-card-icon svg { width: 24px; height: 24px; }
.content-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.content-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── FEATURE GRID (icon + text rows) ── */
.feature-row {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  border-left: 2px solid transparent;
  transition: background 0.25s var(--ease-out), border-color 0.25s, box-shadow 0.25s;
}
/* [G-026] Feature row: left-bar reveal, no translateX */
.feature-row:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 2px solid var(--sage);
}
.feature-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(13,150,104,0.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  border: 1px solid rgba(13,150,104,0.12);
  transition: all 0.3s var(--ease-out);
}
.feature-icon-wrap svg { width: 20px; height: 20px; }
/* [G-026] Feature icon: clean fill, no rotate */
.feature-row:hover .feature-icon-wrap {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}
.feature-text h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.feature-text p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── SPLIT SECTION (text + visual) ── */
.split-section {
  padding: 100px 0;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-grid.reverse {
  grid-template-columns: 1fr 1fr;
}
.split-grid.reverse > *:first-child { order: 2; }
.split-grid.reverse > *:last-child { order: 1; }

/* ── AUDIENCE ICONS ROW ── */
.audience-section {
  padding: 80px 0;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.audience-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(247,246,243,0.06);
  background: rgba(247,246,243,0.03);
  transition: all 0.3s var(--ease-out);
}
/* [G-001] Audience item: floor glow, no translateY */
.audience-item:hover {
  background: rgba(247,246,243,0.06);
  border-color: rgba(247,246,243,0.14);
}
.audience-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(13,150,104,0.18);
  filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s, width 0.4s, height 0.4s;
}
.audience-item:hover::after {
  opacity: 1;
  width: 80px; height: 80px;
}
.audience-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(13,150,104,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-light);
  transition: all 0.3s var(--ease-out);
}
.audience-item:hover .audience-icon {
  background: var(--sage);
  color: var(--white);
  transform: scale(1.1);
}
.audience-icon svg { width: 26px; height: 26px; }
.audience-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(247,246,243,0.8);
  letter-spacing: -0.01em;
}

/* ── PROCESS / HOW IT WORKS ── */
.process-section {
  padding: 100px 0;
  background: var(--light-2);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}
/* [G-028] Process card: inset highlight */
.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s;
  box-shadow: 0 2px 8px rgba(12,20,37,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}
/* [G-001] Process card: outline glow, no translateY */
.process-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(13,150,104,0.2);
}
/* [G-008] Connecting lines between process cards */
.process-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%; right: -13px;
  width: 24px; height: 1px;
  background: linear-gradient(90deg, rgba(13,150,104,0.25), rgba(13,150,104,0.08));
  pointer-events: none;
  z-index: 1;
}
/* [G-008] Process step numbers → oversized ghost outlines */
.process-num {
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1px rgba(13,150,104,0.14);
  line-height: 0.85;
  margin-bottom: -16px;
  letter-spacing: -0.04em;
  transition: -webkit-text-stroke-color 0.3s var(--ease-out);
  user-select: none;
}
.process-card:hover .process-num { -webkit-text-stroke-color: rgba(13,150,104,0.35); }
.process-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.process-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── DETAIL LIST (bullet content sections) ── */
.detail-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.detail-section:first-of-type { border-top: none; padding-top: 100px; }
.detail-section:nth-child(even) {
  background: var(--light-2);
  border-top-color: transparent;
}
.detail-block {
  max-width: 960px;
  margin: 0 auto;
}
.detail-block h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.detail-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 24px;
}
.detail-list {
  list-style: none;
  margin: 32px 0;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
  transition: padding-left 0.2s var(--ease-out);
}
/* [G-029] Detail list: visible left bar hover */
.detail-list li { border-left: 2px solid transparent; transition: border-left-color 0.2s var(--ease-out), padding-left 0.2s var(--ease-out); }
.detail-list li:hover { border-left-color: var(--sage); padding-left: 12px; }
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '';
  width: 8px; height: 8px;
  margin-top: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(13,150,104,0.12);
}

/* ── DIVISIONS / COMPANY CARDS ── */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.divisions-grid .division-card { padding: 28px 18px; }
/* [G-028] Division card: inset highlight */
.division-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.35s var(--ease-out), border-color 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(12,20,37,0.04), inset 0 1px 0 rgba(255,255,255,0.9);
}
/* [G-001] Division card: bottom bloom replaces top bar + translateY */
.division-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center bottom;
  width: 80%; height: 120px;
  background: radial-gradient(ellipse 100% 100% at 50% 100%, rgba(13,150,104,0.12) 0%, transparent 70%);
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
  opacity: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  pointer-events: none;
}
.division-card:hover::before {
  transform: translateX(-50%) scaleX(1);
  opacity: 1;
}
.division-card:hover {
  box-shadow:
    0 8px 32px rgba(10,15,28,0.09),
    0 0 0 1px rgba(13,150,104,0.15);
  border-color: transparent;
}
.division-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: rgba(13,150,104,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
  transition: all 0.3s;
}
.division-card:hover .division-icon {
  background: var(--sage);
  color: var(--white);
}
.division-icon svg { width: 24px; height: 24px; }

/* Per-brand icon tints */
.division-card[data-brand="installers"] .division-icon { background: rgba(13,150,104,0.10); color: #0D9668; }
.division-card[data-brand="installers"]:hover .division-icon { background: #0D9668; color: var(--white); }
.division-card[data-brand="remedials"] .division-icon { background: rgba(194,106,64,0.12); color: #C26A40; }
.division-card[data-brand="remedials"]:hover .division-icon { background: #C26A40; color: var(--white); }
.division-card[data-brand="void"] .division-icon { background: rgba(61,106,155,0.12); color: #3D6A9B; }
.division-card[data-brand="void"]:hover .division-icon { background: #3D6A9B; color: var(--white); }
.division-card[data-brand="tecc"] .division-icon { background: rgba(168,109,174,0.14); color: #8F5AA3; }
.division-card[data-brand="tecc"]:hover .division-icon { background: #8F5AA3; color: var(--white); }
.division-card[data-brand="education"] .division-icon { background: rgba(30,58,95,0.12); color: #1E3A5F; }
.division-card[data-brand="education"]:hover .division-icon { background: #1E3A5F; color: var(--white); }
.division-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.division-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ── BROWSER MOCKUP ── */
.browser-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(12,20,37,0.12);
  background: var(--white);
}
.browser-bar {
  background: var(--dark);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(247,246,243,0.06);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-dot-r { background: #FF5F57; }
.browser-dot-y { background: #FEBC2E; }
.browser-dot-g { background: #28C840; }
.browser-url {
  margin-left: 8px;
  background: rgba(247,246,243,0.05);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(247,246,243,0.3);
  font-family: var(--font-mono);
  flex: 1; max-width: 320px;
}
.browser-frame img {
  width: 100%;
  display: block;
}
/* [G-012] Browser frame: inner vignette + perspective tilt */
.browser-frame {
  position: relative;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  transition: transform 0.4s var(--ease-out);
}
.browser-frame::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10,15,28,0.08), inset 0 -2px 8px rgba(10,15,28,0.06);
  pointer-events: none;
  z-index: 2;
}
.browser-frame:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg);
}

/* ── LOGOS STRIP ── */
/* [G-013] Logos strip: edge fades + pause on hover */
.logos-strip {
  padding: 40px 0;
  background: var(--light-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.logos-strip:hover .logos-track { animation-play-state: paused; }
.logos-strip-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.logos-track {
  display: flex; gap: 60px;
  animation: logos-scroll 30s linear infinite;
  width: max-content;
  align-items: center;
}
@keyframes logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.7;
  display: flex; align-items: center; gap: 10px;
}
.logo-item img {
  height: 28px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* ── CTA SECTION ── */
/* [G-007] CTA section → framed floating card */
.cta-section {
  padding: 60px 0 80px;
  background: var(--dark);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(13,150,104,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(232,151,74,0.05) 0%, transparent 60%);
}
.cta-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 80px;
  background: linear-gradient(135deg, rgba(13,150,104,0.08) 0%, transparent 50%) var(--dark-3);
  border: 1px solid rgba(247,246,243,0.08);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(13,150,104,0.08),
    0 40px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(247,246,243,0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 100%, rgba(13,150,104,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 80% 0%, rgba(232,151,74,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.cta-card .grain-overlay,
.cta-card > .grain {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  mix-blend-mode: overlay;
}
@media (max-width: 768px) {
  .cta-card { padding: 48px 28px; margin: 0 1rem; }
}
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--sage-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.cta-title em { font-style: italic; color: var(--sage-light); font-weight: 400; }
.cta-sub {
  font-size: 17px; font-weight: 400;
  color: rgba(247,246,243,0.70); /* [G-002] contrast fix: was 0.5 */
  max-width: 520px;
  margin: 0 auto 56px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}
.cta-actions {
  display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-2);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(247,246,243,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 13px; line-height: 1.7;
  color: rgba(247,246,243,0.60); /* [G-002] contrast fix: was 0.35 */
  font-weight: 400;
  margin-top: 14px;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--light);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(247,246,243,0.70); /* [G-002] contrast fix: was 0.5 */
  text-decoration: none;
  letter-spacing: -0.01em;
  font-weight: 400;
  /* [G-017] Underline draw on hover */
  background-image: linear-gradient(90deg, rgba(247,246,243,0.5), rgba(247,246,243,0.5));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  padding-bottom: 1px;
  transition: color 0.2s, background-size 0.2s var(--ease-out);
}
.footer-col ul li a:hover { color: var(--light); background-size: 100% 1px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(247,246,243,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12px; color: rgba(247,246,243,0.55); } /* [G-002] contrast fix: was 0.25 */
.footer-accreditations {
  display: flex; gap: 16px; align-items: center;
}
.accred-badge {
  padding: 6px 10px;
  background: rgba(255,253,249,0.08);
  border: 1px solid rgba(255,253,249,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 0;
}
.accred-badge img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

/* ── CERT BADGES ── */
.cert-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.cert-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  transition: all 0.2s var(--ease-out);
}
/* [G-001] Cert badge: background fill, no translateY */
.cert-badge:hover { background: rgba(13,150,104,0.04); border-color: rgba(13,150,104,0.18); }
.cert-badge-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.cert-badge-icon img { width: 22px; height: 22px; object-fit: contain; }
.cert-badge-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* ── ONE PROVIDER BAND ── */
/* [G-014] Provider band: typographic texture */
.provider-band {
  padding: 60px 0;
  background: var(--dark-3);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.provider-band mark {
  background: transparent;
  color: inherit;
  position: relative;
}
.provider-band mark::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 6px;
  background: rgba(13,150,104,0.15);
  border-radius: 2px;
  z-index: -1;
}
.provider-band::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 50%, rgba(13,150,104,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(232,151,74,0.06) 0%, transparent 60%);
}
.provider-band h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}
.provider-band p {
  font-size: 16px;
  color: rgba(247,246,243,0.5);
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
  position: relative;
}

/* ── ANIMATIONS ── */
@keyframes mesh-shift {
  0% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0.8; transform: scale(1.05) rotate(1deg); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.reverse { direction: ltr; }
  .divisions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stat-item { padding: 20px 0; border-left: none; border-bottom: 1px solid rgba(247,246,243,0.1); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .divisions-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } /* 2x2 instead of single column */
  .process-grid { grid-template-columns: 1fr; }
  .process-card:not(:last-child)::after { display: none; } /* hide connectors on mobile */
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .stats-grid .stat-item { text-align: center; padding: 16px 8px; min-width: 0; }
  .stats-grid .stat-item::after { margin-left: auto; margin-right: auto; }
  .stats-grid .stat-num { font-size: clamp(48px, 14vw, 80px) !important; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cert-row { flex-direction: row; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; justify-content: flex-start; padding: 0 2rem; }
  .cert-row::-webkit-scrollbar { display: none; }
  .cert-badge { flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 1.25rem 60px; }
  .audience-item { padding: 24px 12px; }
  /* [G-024] Mobile hero line-height fix */
  .page-hero-title,
  .hero-title { line-height: 1.1; letter-spacing: -0.025em; }
}

/* ── MOBILE NAV DRAWER ── [G-010] */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 300px; max-width: 85vw;
  background: var(--dark-2);
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.nav-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.nav-drawer-close {
  align-self: flex-end;
  background: none; border: none;
  color: rgba(247,246,243,0.7);
  cursor: pointer;
  padding: 8px;
  margin-bottom: 16px;
}
.nav-drawer-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-drawer-links a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(247,246,243,0.75);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-drawer-links a:hover,
.nav-drawer-links a.active {
  color: var(--white);
  background: rgba(247,246,243,0.06);
}
.nav-drawer-actions {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(247,246,243,0.06);
  display: flex; flex-direction: column; gap: 12px;
}

/* ── BACK LINK (on dark hero) ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--sage-light);
  text-decoration: none;
  margin-bottom: 24px;
  transition: gap 0.2s, color 0.2s;
}
.back-link:hover { gap: 12px; color: var(--white); }
.back-link svg { width: 16px; height: 16px; }

/* ── MOBILE MENU ── */
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(247,246,243,0.7);
  cursor: pointer;
  padding: 8px;
}
nav.nav-light .nav-mobile-toggle { color: var(--dark); }
@media (max-width: 768px) {
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
}

/* ── GLOBAL FOCUS STYLES ── [G-003] */
:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.page-hero :focus-visible,
.hero :focus-visible,
.cta-section :focus-visible,
.stats-band :focus-visible,
.audience-section :focus-visible,
footer :focus-visible {
  outline-color: var(--sage-light);
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-amber:focus-visible,
.btn-outline-light:focus-visible,
.btn-outline-dark:focus-visible,
.nav-links > li > a:focus-visible {
  border-radius: var(--radius-full);
  outline-offset: 4px;
}

/* ── SELECTION COLOR ── [G-016] */
::selection {
  background: rgba(13, 150, 104, 0.25);
  color: inherit;
}
.hero ::selection,
.page-hero ::selection,
.cta-section ::selection,
.stats-band ::selection,
footer ::selection {
  background: rgba(16, 185, 129, 0.35);
}

/* ── CUSTOM SCROLLBAR ── [G-015] */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-2); }
::-webkit-scrollbar-thumb { background: var(--light-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(13, 150, 104, 0.4); }
html { scrollbar-width: thin; scrollbar-color: var(--light-3) var(--light-2); }

/* ── SCROLL-TRIGGERED ENTRANCES ── [G-004] */
@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  h2.section-title,
  .content-card,
  .division-card,
  .process-card,
  .audience-item,
  .stat-item,
  .feature-row,
  .contact-info-card,
  .cert-badge {
    animation: fadeUp 0.6s var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
  }
  .content-card:nth-child(2),
  .division-card:nth-child(2),
  .process-card:nth-child(2) { animation-delay: 80ms; }
  .content-card:nth-child(3),
  .division-card:nth-child(3),
  .process-card:nth-child(3) { animation-delay: 160ms; }
  .content-card:nth-child(4),
  .division-card:nth-child(4),
  .process-card:nth-child(4) { animation-delay: 240ms; }
}

/* ── BUTTON SHIMMER ── [G-020] */
@media (prefers-reduced-motion: no-preference) {
  .btn-amber,
  .btn-sage {
    position: relative;
    overflow: hidden;
  }
  .btn-amber::after,
  .btn-sage::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    animation: btn-shimmer 3.5s ease-in-out infinite;
    animation-delay: 2s;
    pointer-events: none;
  }
  @keyframes btn-shimmer {
    0%, 100% { left: -100%; }
    50%       { left: 160%; }
  }
}

/* ── GRAIN DRIFT ── [G-018] */
@media (prefers-reduced-motion: no-preference) {
  .grain-dark {
    animation: grain-drift 8s steps(1) infinite;
  }
  @keyframes grain-drift {
    0%   { background-position: 0px 0px; }
    10%  { background-position: -50px -100px; }
    20%  { background-position: -100px 50px; }
    30%  { background-position: 50px -50px; }
    40%  { background-position: -150px 100px; }
    50%  { background-position: 100px -150px; }
    60%  { background-position: -100px 0px; }
    70%  { background-position: 0px 100px; }
    80%  { background-position: -50px -100px; }
    90%  { background-position: 100px 50px; }
    100% { background-position: 0px 0px; }
  }
}

/* ── REDUCED MOTION ── [G-021] */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── MOBILE POLISH (≤768px only - desktop unaffected) ── */
@media (max-width: 768px) {
  /* Bump small mono labels up to readable 12px */
  .eyebrow,
  .section-label,
  .cta-eyebrow,
  .footer-col h4,
  .ta-consult-badge,
  .void-compare-tag,
  .void-compare-items li {
    font-size: 12px !important;
  }

  /* Larger tap targets for footer links (were ~19px tall) */
  .footer-col ul li a {
    display: inline-block;
    padding: 8px 0;
    font-size: 15px;
  }
  .footer-col ul { gap: 4px; }

  /* Hide top-nav CTAs on mobile - they live in the drawer instead */
  nav .nav-actions > .btn-ghost,
  nav .nav-actions > .btn-primary,
  nav .nav-actions > .btn-sage,
  nav .nav-actions > .btn-amber {
    display: none;
  }
  nav .nav-actions { gap: 0; }

  /* Nav drawer links - already 16px / 14px pad, confirm comfortable tap */
  .nav-drawer-links > li > a,
  .nav-drawer-links > li > details > summary { padding: 14px 16px; font-size: 16px; }
  .nav-drawer-group details { width: 100%; }
  .nav-drawer-group summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: rgba(247,246,243,0.75);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
  }
  .nav-drawer-group summary::-webkit-details-marker { display: none; }
  .nav-drawer-group summary:hover { color: var(--white); background: rgba(247,246,243,0.06); }
  .nav-drawer-group .drawer-arrow {
    width: 10px; height: 10px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s var(--ease-out);
    margin-right: 4px;
  }
  .nav-drawer-group details[open] .drawer-arrow { transform: rotate(-135deg); margin-top: 4px; }
  .nav-drawer-group summary.is-active-parent { color: var(--white); }
  .nav-drawer-group ul {
    list-style: none;
    padding: 4px 0 8px 12px;
    margin: 0;
    display: flex; flex-direction: column; gap: 2px;
    border-left: 1px solid rgba(247,246,243,0.1);
    margin-left: 20px;
  }
  .nav-drawer-group ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(247,246,243,0.65);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
  }
  .nav-drawer-group ul li a:hover,
  .nav-drawer-group ul li a.active {
    color: var(--white);
    background: rgba(247,246,243,0.06);
  }

  /* Footer bottom row stacks cleanly on narrow screens */
  .footer-bottom { justify-content: flex-start; }
  .footer-bottom p { font-size: 12px; }

  /* Belt-and-braces against any decorative element creating an 8–40px overflow */
  html, body { overflow-x: clip; }

  /* Nav logo — tap target was 32px tall, well below the 44px minimum */
  .nav-logo { min-height: 44px; padding: 4px 0; }
  .nav-logo-mark { width: 36px; height: 36px; }

  /* Footer links: min tap width so very short labels ("Void") still hit 44px */
  .footer-col ul li a { min-width: 44px; }

  /* Section number eyebrows — small mono labels (/01, TR-01, 01) used as
     section dividers were rendering at 10–11px. Lift to readable 12px. */
  .cert-row-num,
  .delivery-step-num,
  .division-index,
  .about-card-num,
  .sr-list-num,
  .sr-step-dot span,
  .sr-compliance-list-num,
  .ta-module-code,
  .ta-mode-num span,
  [class$="-num"] {
    font-size: 12px !important;
  }
  /* …but the big "stat" / "hero metric" numbers on mobile were getting
     hit by [class$="-num"] OR clamping down to ~48–64 px floors. Force
     them back up to a hero-scale 80–96 px so they read as headline figures. */
  .stat-num,
  .void-stat-num,
  .sr-stat-num,
  .ta-stat-num,
  .md-stat-num,
  .stat-number {
    font-size: clamp(72px, 18vw, 104px) !important;
  }
}

/* ══════════════════════════════════════════════════════════
   MOTION SYSTEM - JS-driven reveals, micro-interactions, signatures
   Tiers: 1 entrance · 3 micro · 2 signature
   ══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {

  /* ── TIER 1: [data-reveal] JS-observer reveals ── */
  [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity var(--dur-slow) var(--ease-emphasized),
      transform var(--dur-slow) var(--ease-emphasized),
      filter var(--dur-slow) var(--ease-emphasized);
    transition-delay: calc(var(--reveal-i, 0) * 70ms);
    will-change: opacity, transform;
  }
  [data-reveal="fade"]       { transform: none; }
  [data-reveal="up-soft"]    { transform: translateY(12px); }
  [data-reveal="up-blur"]    { transform: translateY(20px); filter: blur(6px); }
  [data-reveal="left"]       { transform: translateX(-24px); }
  [data-reveal="right"]      { transform: translateX(24px); }
  [data-reveal="scale"]      { transform: scale(0.96); }

  [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* Hero title word split (JS wraps words in .rw) */
  .rw {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    transition:
      opacity var(--dur-hero) var(--ease-emphasized),
      transform var(--dur-hero) var(--ease-emphasized),
      filter var(--dur-hero) var(--ease-emphasized);
    transition-delay: calc(var(--rw-i, 0) * 55ms + 60ms);
    will-change: opacity, transform;
  }
  .rw-space { display: inline-block; width: 0.28em; }
  [data-reveal="words"].is-revealed .rw {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* Stat counter underline wipe - paired with existing counter JS */
  .stat-item .stat-num,
  .stat-number {
    position: relative;
  }
  .stat-item.is-revealed .stat-num::after,
  .is-revealed > .stat-number::after {
    transform: scaleX(1);
  }

  /* ── TIER 3: Micro-interactions ── */

  /* Button press state - all primary CTAs */
  .btn-amber, .btn-sage, .btn-primary, .btn-ghost {
    transition:
      background 0.25s var(--ease-out),
      border-color 0.25s var(--ease-out),
      color 0.25s var(--ease-out),
      transform 0.18s var(--ease-spring),
      box-shadow 0.25s var(--ease-out);
  }
  .btn-amber:active, .btn-sage:active,
  .btn-primary:active, .btn-ghost:active {
    transform: scale(0.97);
    transition-duration: 80ms;
  }

  /* Nav link underline wipe */
  .nav-links a,
  .nav-links > li > a {
    position: relative;
  }
  .nav-links a::after,
  .nav-links > li > a::after {
    content: '';
    position: absolute;
    left: 12px; right: 12px; bottom: 6px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ease-emphasized);
    opacity: 0.7;
    pointer-events: none;
  }
  .nav-links a:hover::after,
  .nav-links a.active::after,
  .nav-links > li > a:hover::after,
  .nav-links > li > a.active::after {
    transform: scaleX(1);
  }

  /* Row hover arrow slide-in - applies to common row patterns */
  .cap-row, .cert-row, .sr-step, .ta-module,
  .void-services-row, .platform-feat-row,
  .delivery-step, .audience-item {
    position: relative;
  }
  .cap-row::before, .cert-row::before, .sr-step::before,
  .ta-module::before, .void-services-row::before,
  .platform-feat-row::before {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(-8px, -50%);
    opacity: 0;
    color: var(--sage);
    font-size: 18px;
    font-weight: 300;
    transition:
      transform 0.35s var(--ease-emphasized),
      opacity 0.35s var(--ease-out);
    pointer-events: none;
    z-index: 2;
  }
  .cap-row:hover::before, .cert-row:hover::before,
  .sr-step:hover::before, .ta-module:hover::before,
  .void-services-row:hover::before, .platform-feat-row:hover::before {
    transform: translate(0, -50%);
    opacity: 1;
  }

  /* Form float labels (contact form) */
  .form-field {
    position: relative;
  }
  .form-field input,
  .form-field textarea,
  .form-field select {
    transition:
      border-color 0.25s var(--ease-out),
      background 0.25s var(--ease-out),
      box-shadow 0.25s var(--ease-out);
  }
  .form-field input:focus,
  .form-field textarea:focus,
  .form-field select:focus {
    box-shadow: 0 0 0 3px rgba(13,150,104,0.12);
  }
  .form-field label {
    transition:
      color 0.25s var(--ease-out),
      transform 0.25s var(--ease-emphasized);
  }
  .form-field:focus-within label {
    color: var(--sage);
    transform: translateY(-2px);
  }

  /* Card spring settle on mouseleave - already transitions, just sharpen */
  .content-card, .division-card, .process-card,
  .audience-item, .contact-info-card {
    transition-timing-function: var(--ease-emphasized);
  }

  /* Nav logo one-shot flip on page load */
  .nav-logo-mark {
    animation: logo-flip-in 720ms var(--ease-emphasized) 120ms both;
  }
  @keyframes logo-flip-in {
    from { transform: rotateY(-180deg); opacity: 0; }
    to   { transform: rotateY(0);       opacity: 1; }
  }

  /* ── TIER 2: Signature moments ── */

  /* Process timeline active-step highlight - scroll-driven via JS class */
  .sr-step.is-active-step {
    transform: translateY(-3px);
  }
  .sr-step.is-active-step::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    box-shadow: 0 0 0 2px rgba(13,150,104,0.4), 0 12px 40px rgba(13,150,104,0.18);
    pointer-events: none;
    animation: step-glow 1.2s var(--ease-out);
  }
  @keyframes step-glow {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* Hero mesh subtle parallax - JS sets --p (0..1) based on scroll */
  .hero-mesh {
    transform: translate3d(0, calc(var(--p, 0) * 40px), 0);
    will-change: transform;
  }

}

/* ── SG-EXPLORE: cross-page navigation block within a Smart Installers sister site ── */
.sg-explore {
  position: relative;
  padding: 80px 32px;
  background: var(--light);
  border-top: 1px solid var(--border);
}
.sg-explore-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.sg-explore-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.sg-explore-head .eyebrow {
  font-family: var(--font-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sg-explore-head .eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--sage);
}
.sg-explore-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 8px 0 0;
  font-weight: 500;
}
.sg-explore-head h2 em {
  font-style: italic;
  color: var(--sage);
  font-weight: 400;
}
.sg-explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.sg-explore-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.sg-explore-card:hover {
  border-color: rgba(13,150,104,0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(12,20,37,0.16);
}
.sg-explore-card .arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--sage);
  transition: transform 0.25s var(--ease-out);
}
.sg-explore-card:hover .arrow {
  transform: translateX(3px);
}
@media (max-width: 720px) {
  .sg-explore { padding: 56px 20px; }
  .sg-explore-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sg-explore-card { padding: 14px 16px; font-size: 13px; }
}
@media (max-width: 420px) {
  .sg-explore-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   LEGAL PAGES — footer legal links, cookie banner, prose
   ══════════════════════════════════════════════════ */

/* Footer legal links row */
.footer-legal { display: flex; flex-direction: column; gap: 10px; }
.footer-legal-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
}
.footer-legal-links li { display: flex; align-items: center; }
.footer-legal-links li:not(:last-child)::after {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(247,246,243,0.3); margin: 0 12px;
}
.footer-legal-links a {
  font-size: 12px; color: rgba(247,246,243,0.55);
  text-decoration: none; transition: color var(--dur-fast) var(--ease-out);
}
.footer-legal-links a:hover { color: var(--light); }

/* Shorter hero for legal/utility pages */
.page-hero.page-hero-compact { min-height: 52vh; padding: 140px 2rem 70px; }
/* In the short compact hero, let the mesh/grid span the full height so they
   fade smoothly to the divider instead of cutting off ~120px up (visible seam). */
.page-hero-compact .hero-mesh,
.page-hero-compact .hero-grid { inset: 0; }

/* Legal prose layout */
.legal-section { padding: 80px 0 110px; background: var(--light-2); }
.legal-wrap { max-width: 820px; margin: 0 auto; }
.legal-meta {
  font-family: var(--font-accent); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin: 0 0 36px;
}
.legal-prose { color: var(--text-secondary); font-size: 16px; line-height: 1.75; }
.legal-prose h2 {
  font-family: var(--font-display); font-weight: 400;
  color: var(--text-primary); font-size: 26px; line-height: 1.25;
  margin: 48px 0 14px; scroll-margin-top: 100px;
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 {
  font-family: var(--font-body); font-weight: 700;
  color: var(--text-primary); font-size: 18px; margin: 30px 0 10px;
}
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 16px; padding-left: 22px; }
.legal-prose li { margin: 0 0 8px; }
.legal-prose a { color: var(--sage); text-decoration: underline; text-underline-offset: 2px; }
.legal-prose a:hover { color: var(--sage-light); }
.legal-prose strong { color: var(--text-primary); font-weight: 700; }
.legal-prose hr { border: none; border-top: 1px solid var(--border-strong); margin: 40px 0; }
.legal-prose table {
  width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 14.5px;
}
.legal-prose th, .legal-prose td {
  text-align: left; padding: 12px 14px; border: 1px solid var(--border-strong);
  vertical-align: top;
}
.legal-prose th { background: var(--light-3); font-weight: 700; color: var(--text-primary); }
.legal-callout {
  background: var(--white); border: 1px solid var(--border-strong);
  border-left: 3px solid var(--sage); border-radius: var(--radius-sm);
  padding: 20px 22px; margin: 0 0 28px; font-size: 15px;
}
.legal-callout p:last-child { margin-bottom: 0; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  z-index: 1000; width: min(680px, calc(100vw - 32px));
  background: var(--dark); color: var(--light);
  border: 1px solid rgba(247,246,243,0.12); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px;
  opacity: 0; visibility: hidden;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.cookie-banner.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.cookie-banner__text { flex: 1 1 320px; font-size: 13.5px; line-height: 1.6; color: rgba(247,246,243,0.78); }
.cookie-banner__text strong { display: block; color: var(--light); font-size: 15px; margin-bottom: 4px; font-family: var(--font-body); }
.cookie-banner__text a { color: var(--sage-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btn {
  font-family: var(--font-accent); font-size: 13px; font-weight: 600;
  padding: 11px 18px; border-radius: var(--radius-full); cursor: pointer;
  border: 1px solid transparent; transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.cookie-btn--accept { background: var(--sage); color: #fff; }
.cookie-btn--accept:hover { background: var(--sage-light); transform: translateY(-1px); }
.cookie-btn--reject {
  background: transparent; color: rgba(247,246,243,0.85);
  border-color: rgba(247,246,243,0.22);
}
.cookie-btn--reject:hover { border-color: rgba(247,246,243,0.5); color: var(--light); }

@media (max-width: 560px) {
  .cookie-banner { left: 16px; right: 16px; transform: translateY(140%); width: auto; padding: 18px 18px; }
  .cookie-banner.is-visible { transform: translateY(0); }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
  .footer-legal-links { gap: 4px 0; }
}
