/* ==========================================================================
   Marketyard Foundation - Classic Institutional Design System (v3.0)
   Aesthetic: Prestigious White & Agricultural Emerald, Warm Gold Accents
   Motion Graphics & GSAP ScrollTrigger Parallax Choreography
   Strictly Zero Emojis | Lucide SVG System | 21st.dev Style Micro-Interactions
   ========================================================================== */

/* --- 1. DESIGN TOKENS --- */
:root {
  /* Brand Green Palette */
  --color-primary: #165b33;
  --color-primary-dark: #0e3f22;
  --color-primary-deep: #092a17;
  --color-primary-light: #208349;
  --color-primary-tint: #f0f7f2;
  --color-primary-subtle: #e3efe7;
  
  /* Warm Harvest Gold */
  --color-gold: #c29b38;
  --color-gold-dark: #a27e24;
  --color-gold-light: #dfb752;
  --color-gold-tint: #fbf7ee;
  
  /* Neutral Surfaces (Classic Institutional White & Soft Creams) */
  --bg-body: #ffffff;
  --bg-surface-alt: #f7f9f7;
  --bg-surface-subtle: #f0f4f1;
  --bg-card: #ffffff;
  --bg-card-muted: #f8faf8;
  --bg-footer: #0c2616;
  
  /* Text System (Maximum Readability) */
  --text-title: #0f2b19;
  --text-heading: #173822;
  --text-body: #334155;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --text-inverse-muted: #cbd5e1;
  
  /* Borders & Shadows */
  --border-light: #e2ece5;
  --border-subtle: #e5e9e6;
  --border-primary: rgba(22, 91, 51, 0.25);
  --border-gold: rgba(194, 155, 56, 0.35);
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(15, 43, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 43, 25, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 43, 25, 0.12);
  --shadow-card-hover: 0 14px 36px rgba(22, 91, 51, 0.16);
  
  /* Typography Tokens */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spotlight mouse coords default */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

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

html {
  scroll-behavior: auto; /* Handled smoothly by Lenis */
  font-size: 16px;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  touch-action: pan-y; /* Completely locks side-to-side drift, prevents mobile horizontal wobble */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

body.no-scroll {
  overflow: hidden;
}

img, svg, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
}

/* ==================== TOP SCROLL PROGRESS BAR ==================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3.5px;
  background: linear-gradient(90deg, #165b33 0%, #c29b38 50%, #208349 100%);
  z-index: 100000;
  box-shadow: 0 0 12px rgba(194, 155, 56, 0.7);
  pointer-events: none;
  transition: width 0.05s linear;
}

/* Ambient Motion Background - Optimized Lightweight Non-Blur Foundation */

/* Container System */
.container {
  width: 100%;
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}

/* Section Spacing */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.section-alt {
  background-color: var(--bg-surface-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-dark);
  background: linear-gradient(135deg, rgba(22, 91, 51, 0.08) 0%, rgba(22, 91, 51, 0.14) 100%);
  border: 1px solid rgba(22, 91, 51, 0.22);
  padding: 0.38rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(22, 91, 51, 0.06);
}

/* Institutional Badge (Luxury Forest & Gold Architecture - Anti-AI Aesthetics) */
.institutional-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.15rem;
  background: linear-gradient(135deg, #092a17 0%, #165b33 100%);
  border: 1px solid rgba(223, 183, 82, 0.45);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(9, 42, 23, 0.22);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.institutional-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(9, 42, 23, 0.3);
  border-color: rgba(223, 183, 82, 0.7);
}

.institutional-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold-light);
  box-shadow: 0 0 10px rgba(223, 183, 82, 0.95);
  animation: pulseGoldDot 2s infinite ease-in-out;
}

@keyframes pulseGoldDot {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

.institutional-badge .badge-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f8fafc;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  color: var(--text-title);
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.68;
}

/* ==================== 21ST.DEV SPOTLIGHT & 3D TILT ENGINE ==================== */
.spotlight-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s ease, border-color 0.3s ease;
}

.spotlight-card .card-spotlight-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    550px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(22, 91, 51, 0.12),
    transparent 60%
  );
  z-index: 1;
}

.spotlight-card:hover {
  border-color: rgba(22, 91, 51, 0.45);
  box-shadow: var(--shadow-card-hover);
}

.spotlight-card:hover .card-spotlight-border {
  opacity: 1;
}

/* 3D Perspective Tilt on Interactive Cards */
[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* --- 3. NAVBAR (ANIMATED FROSTED GLASS ON SCROLL) --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  background-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  padding: 1.25rem 0;
  transition: background-color 0.4s var(--ease-smooth),
              backdrop-filter 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease,
              padding 0.35s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 43, 25, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

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

.nav-brand {
  display: inline-flex;
  align-items: center;
}

.brand-svg-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: height 0.3s ease, transform 0.25s ease;
}

.navbar.scrolled .brand-svg-logo {
  height: 44px;
}

@media (max-width: 768px) {
  .brand-svg-logo {
    height: 40px;
  }
  .navbar.scrolled .brand-svg-logo {
    height: 36px;
  }
}

.brand-svg-logo:hover {
  transform: translateY(-1px);
}

.navbar:not(.scrolled) .brand-svg-logo .logo-text-primary {
  fill: #ffffff;
  transition: fill 0.35s ease;
}

.navbar:not(.scrolled) .brand-svg-logo .logo-text-secondary {
  fill: rgba(255, 255, 255, 0.88);
  transition: fill 0.35s ease;
}

.navbar.scrolled .brand-svg-logo .logo-text-primary {
  fill: #173822;
  transition: fill 0.35s ease;
}

.navbar.scrolled .brand-svg-logo .logo-text-secondary {
  fill: #5f6368;
  transition: fill 0.35s ease;
}

.mobile-nav-drawer .brand-svg-logo .logo-text-primary {
  fill: #173822;
}

.mobile-nav-drawer .brand-svg-logo .logo-text-secondary {
  fill: #5f6368;
}

.footer-svg-logo .logo-text-primary {
  fill: #ffffff;
}

.footer-svg-logo .logo-text-secondary {
  fill: rgba(255, 255, 255, 0.85);
}

.nav-menu {
  display: none;
  align-items: center;
  list-style: none;
  gap: 1.85rem;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.navbar .nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: color 0.25s ease;
  position: relative;
  padding: 0.35rem 0;
}

.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold-light);
  transition: width 0.3s var(--ease-smooth);
  border-radius: var(--radius-pill);
}

.navbar .nav-link:hover {
  color: #ffffff;
}

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

.navbar.scrolled .nav-link {
  color: var(--text-heading);
  text-shadow: none;
}

.navbar.scrolled .nav-link::after {
  background: var(--color-primary);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-support-btn {
  display: none !important;
}

@media (min-width: 1024px) {
  .nav-support-btn {
    display: inline-flex !important;
  }
}

/* Button System with Magnetic & Shimmer Micro-interactions */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease-smooth), background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  border: 1px solid transparent;
  min-height: 42px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  user-select: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 91, 51, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 91, 51, 0.35);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(194, 155, 56, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194, 155, 56, 0.45);
}

.btn-white {
  background-color: #ffffff;
  color: var(--color-primary-deep);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #f8faf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* Shimmer Sweep Animation */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.btn-shimmer:hover::after {
  transform: translateX(100%);
}

.btn-glow:hover {
  box-shadow: 0 8px 28px rgba(22, 91, 51, 0.45);
}

/* Mobile Toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.25s ease;
}

.navbar.scrolled .nav-toggle {
  background: var(--bg-surface-subtle);
  border-color: var(--border-light);
}

.navbar.scrolled .nav-toggle span {
  background-color: var(--text-title);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  z-index: 1002;
  padding: 5rem 1.75rem 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  visibility: hidden; /* Critical: eliminates off-screen canvas expansion and horizontal swiping */
  pointer-events: none;
  transition: transform 0.4s var(--ease-smooth), visibility 0.4s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
  border-left: 1px solid var(--border-light);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-item a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-item a:hover {
  color: var(--color-primary);
}

/* --- 4. HERO SECTION (PARALLAX & KINETIC TEXT MOTION) --- */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #081c0f;
  padding: 8.5rem 0 5rem 0;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(56px + 1.25rem);
    padding-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
    align-items: flex-end;
  }
}

.hero-bg-track {
  position: absolute;
  inset: -15% 0 -15% 0; /* Extra height for scrub parallax on desktop */
  width: 100%;
  z-index: 1;
  will-change: transform;
}

@media (max-width: 768px) {
  .hero-bg-track {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: transform, opacity;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-slide.active {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-bg-slide {
    background-position: center 30%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(6, 22, 12, 0.94) 0%,
    rgba(6, 22, 12, 0.82) 50%,
    rgba(6, 22, 12, 0.45) 85%,
    rgba(6, 22, 12, 0.25) 100%
  );
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(6, 22, 12, 0.48) 0%,
      rgba(6, 22, 12, 0.32) 30%,
      rgba(6, 22, 12, 0.68) 65%,
      rgba(6, 22, 12, 0.94) 100%
    );
  }
}

.hero-particle-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-container-box {
  max-width: 880px;
  margin-left: 0;
  margin-right: auto;
}

/* Live Status Badge with Pulsing Radar */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: default;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.7);
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Dynamic Left Titles */
.hero-title-box {
  min-height: 165px;
  position: relative;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-title-box {
    min-height: 175px;
  }
}

@media (max-width: 768px) {
  .hero-title-box {
    min-height: auto;
    margin-bottom: 1.15rem;
  }
}

.hero-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
  z-index: 1;
}

.hero-text-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
  display: block !important;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.2vw, 3.65rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.15rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: clamp(1.65rem, 5.8vw, 2.25rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
  }
}

.hero-description {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.65;
  max-width: 680px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-description {
    font-size: clamp(0.85rem, 2.8vw, 0.98rem);
    line-height: 1.45;
  }
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 640px) {
  .hero-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
  }

  .hero-btn-row .btn:first-child {
    grid-column: 1 / -1;
  }

  .hero-btn-row .btn {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    min-height: 40px;
    justify-content: center;
  }
}

/* Sleek Loading Segmented Progress Line Indicators on Bottom Left */
.hero-dotted-indicators {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hero-dotted-indicators {
    gap: 0.45rem;
  }

  .hero-dot-indicator {
    width: 44px;
    height: 4px;
    padding: 2px 0;
  }

  .hero-bar-track {
    height: 4px;
  }
}

/* Dynamic screen size adaptation: Short height viewports */
@media (max-width: 768px) and (max-height: 720px) {
  .hero {
    padding-top: calc(50px + 0.65rem);
    padding-bottom: 1.15rem;
  }

  .hero-title-box {
    margin-bottom: 0.75rem;
  }

  .hero-headline {
    font-size: clamp(1.4rem, 4.8vw, 1.75rem);
    margin-bottom: 0.45rem;
  }

  .hero-description {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .hero-btn-row {
    gap: 0.45rem;
    margin-bottom: 0.75rem;
  }

  .hero-btn-row .btn {
    padding: 0.5rem 0.75rem;
    min-height: 36px;
    font-size: 0.8rem;
  }

  .hero-dot-indicator {
    width: 36px;
    height: 3px;
  }

  .hero-bar-track {
    height: 3px;
  }
}

/* Extra small mobile widths <= 360px */
@media (max-width: 360px) {
  .hero-headline {
    font-size: 1.45rem;
  }
  .hero-description {
    font-size: 0.8rem;
  }
  .hero-btn-row .btn {
    font-size: 0.78rem;
    padding: 0.45rem 0.6rem;
  }
}

.hero-dot-indicator {
  width: 64px;
  height: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  position: relative;
  outline: none;
}

.hero-bar-track {
  display: block;
  width: 100%;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  overflow: hidden;
  position: relative;
  transition: background-color 0.25s ease;
}

.hero-dot-indicator:hover .hero-bar-track {
  background: rgba(255, 255, 255, 0.55);
}

.hero-bar-fill {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-gold-light);
  box-shadow: 0 0 10px rgba(223, 183, 82, 0.9);
  border-radius: var(--radius-pill);
  will-change: width;
}

/* --- 5. ENHANCED IMPACT STATS SHOWCASE --- */
.impact-metrics-section,
.floating-impact-showcase {
  position: relative;
  z-index: 20;
  padding: 4.5rem 0 4rem 0;
  background-color: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .impact-metrics-section,
  .floating-impact-showcase {
    padding: 1.75rem 0 1.5rem 0;
  }
}

.impact-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .impact-cards-wrapper {
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .impact-cards-wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.65rem;
  }
}

.impact-stat-card {
  padding: 1.15rem 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .impact-stat-card {
    padding: 2.25rem 1.65rem;
    min-height: 230px;
    justify-content: space-between;
    border-radius: var(--radius-md);
  }
}

.impact-stat-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.impact-stat-icon-box svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .impact-stat-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.35rem;
  }

  .impact-stat-icon-box svg {
    width: 24px;
    height: 24px;
  }
}

.impact-stat-card:hover .impact-stat-icon-box {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 91, 51, 0.2);
}

.impact-stat-icon-box.icon-emerald {
  background: #e6f7ec;
  color: #1b834b;
  border-color: rgba(27, 131, 75, 0.25);
}

.impact-stat-icon-box.icon-gold {
  background: var(--color-gold-tint);
  color: var(--color-gold-dark);
  border-color: var(--border-gold);
}

.impact-stat-icon-box.icon-teal {
  background: #e0f6f4;
  color: #0d837a;
  border-color: rgba(13, 131, 122, 0.25);
}

.impact-stat-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.impact-stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.2vw, 1.55rem);
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

@media (min-width: 768px) {
  .impact-stat-num {
    font-size: clamp(2rem, 2.5vw, 2.45rem);
    margin-bottom: 0.35rem;
  }
}

.impact-stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.3rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .impact-stat-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }
}

.impact-stat-highlight {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: block;
}

@media (min-width: 768px) {
  .impact-stat-highlight {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .impact-cards-wrapper {
    gap: 0.5rem;
  }

  .impact-stat-card {
    padding: 0.85rem 0.65rem;
  }

  .impact-stat-icon-box {
    width: 30px;
    height: 30px;
    margin-bottom: 0.45rem;
  }

  .impact-stat-icon-box svg {
    width: 15px;
    height: 15px;
  }

  .impact-stat-num {
    font-size: 1.18rem;
  }

  .impact-stat-title {
    font-size: 0.775rem;
  }

  .impact-stat-highlight {
    font-size: 0.675rem;
  }
}

/* Compliance Strip (Smooth Infinite Ticker) */
.compliance-strip {
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  padding: 0.95rem 0;
  position: relative;
  z-index: 10;
}

.compliance-marquee-track {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.compliance-marquee-inner {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  white-space: nowrap;
  animation: marqueeRoll 32s linear infinite;
  will-change: transform;
}

.compliance-strip:hover .compliance-marquee-inner {
  animation-play-state: paused;
}

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

.compliance-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: 0.02em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}

.compliance-badge-item:hover {
  background: #ffffff;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.compliance-badge-item svg {
  color: var(--color-primary);
}

/* --- 6. ABOUT & ECOSYSTEM SYNERGY --- */
.about-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .about-grid-layout {
    grid-template-columns: 1.14fr 0.86fr;
    gap: 2.75rem;
    margin-bottom: 3.5rem;
    align-items: stretch; /* Stretch both columns so right card height exactly matches left column */
  }

  .about-narrative-col {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .about-mandate-card {
    margin-bottom: 1.25rem;
  }

  .vision-mission-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .vm-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .vm-card .vm-text {
    flex: 1;
  }

  .ecosystem-synergy-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2.25rem;
  }

  .synergy-list {
    margin-top: auto;
    padding-top: 1.25rem;
  }
}

/* Institutional Mandate Card */
.about-mandate-card {
  padding: 1.35rem 1.15rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .about-mandate-card {
    padding: 2rem 1.85rem;
    margin-bottom: 1.5rem;
  }
}

.mandate-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mandate-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid var(--border-primary);
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-pill);
}

.mandate-badge-cert {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--color-gold-dark);
  background: var(--color-gold-tint);
  border: 1px solid var(--border-gold);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .about-mandate-card {
    padding: 1.25rem 1rem;
  }

  .mandate-top-bar {
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }

  .mandate-tag {
    font-size: 0.67rem;
    letter-spacing: 0.03em;
    padding: 0.24rem 0.55rem;
    gap: 0.35rem;
  }

  .mandate-tag svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  .mandate-badge-cert {
    font-size: 0.67rem;
    letter-spacing: 0.015em;
    padding: 0.24rem 0.55rem;
  }
}

@media (max-width: 380px) {
  .mandate-top-bar {
    gap: 0.35rem;
  }

  .mandate-tag {
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.45rem;
  }

  .mandate-badge-cert {
    font-size: 0.62rem;
    padding: 0.2rem 0.45rem;
  }
}

.about-mandate-card .about-lead-p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  border-left: 3px solid var(--color-primary);
  padding-left: 0.85rem;
}

@media (min-width: 768px) {
  .about-mandate-card .about-lead-p {
    font-size: 1.05rem;
    line-height: 1.65;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* Strategic Pillars Matrix */
.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 640px) {
  .about-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

.pillar-mini-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.pillar-mini-card:hover {
  border-color: var(--border-primary);
  background: #ffffff;
}

.pillar-icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(22, 91, 51, 0.4);
}

.pillar-icon-dot.dot-emerald {
  background: #1b834b;
  box-shadow: 0 0 6px rgba(27, 131, 75, 0.4);
}

.pillar-icon-dot.dot-gold {
  background: var(--color-gold);
  box-shadow: 0 0 6px rgba(194, 155, 56, 0.4);
}

.pillar-text-group {
  display: flex;
  flex-direction: column;
}

.pillar-head {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 0.15rem;
}

.pillar-sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Vision & Mission Cards: 2-column compact on mobile */
.vision-mission-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .vision-mission-cards {
    gap: 1.25rem;
  }
}

.vm-card {
  padding: 1.15rem 0.95rem;
  border-radius: var(--radius-sm);
}

@media (min-width: 768px) {
  .vm-card {
    padding: 1.85rem 1.45rem;
    border-radius: var(--radius-md);
  }
}

.vm-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border: 1px solid var(--border-primary);
}

@media (min-width: 768px) {
  .vm-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.15rem;
  }
}

.vm-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.35rem;
}

@media (min-width: 768px) {
  .vm-title {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }
}

.vm-text {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (min-width: 768px) {
  .vm-text {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

/* Ecosystem Synergy Panel */
.ecosystem-synergy-panel {
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, #f4faf6 100%);
  border: 1px solid rgba(22, 91, 51, 0.22);
  border-radius: var(--radius-lg);
  position: relative;
}

.synergy-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-gold-dark);
  background: var(--color-gold-tint);
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.15rem;
}

.synergy-heading {
  font-size: 1.45rem;
  color: var(--text-title);
  margin-bottom: 1rem;
}

.synergy-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Circular Supply Chain Flow Graphic */
.synergy-flow-graphic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 91, 51, 0.04);
  border: 1px dashed rgba(22, 91, 51, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0 1.85rem 0;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .synergy-flow-graphic {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .flow-arrow svg {
    transform: rotate(90deg);
  }
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.flow-node-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(22, 91, 51, 0.5);
  animation: radarPulse 2.2s infinite;
}

.flow-node-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-title);
}

.flow-arrow {
  color: var(--color-gold);
  display: flex;
  align-items: center;
}

.synergy-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.synergy-point {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-title);
  font-weight: 600;
}

.synergy-point svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 768px) {
  .ecosystem-synergy-panel {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .synergy-heading {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }

  .synergy-desc {
    font-size: 0.825rem;
    line-height: 1.5;
    margin-bottom: 1.15rem;
  }

  .synergy-flow-graphic {
    padding: 0.75rem 0.85rem;
    margin: 1rem 0 1.15rem 0;
  }

  .synergy-point {
    font-size: 0.8rem;
    gap: 0.55rem;
    margin-bottom: 0.25rem;
  }
}

/* ==================== 5 STRATEGIC FOCUS PILLARS (RESPONSIVE GRID) ==================== */
.philosophy-integrated-block,
.philosophy-swap-section {
  width: 100%;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.philosophy-header-row {
  text-align: center;
  margin-bottom: 1.5rem;
}

.philosophy-header-row .institutional-badge {
  margin: 0 auto 0.45rem auto;
}

.philosophy-block-heading {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-title);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.philosophy-block-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Master Grid: 5 columns on desktop, 2 columns on mobile/tablet */
.philosophy-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  width: 100%;
}

/* Standard Pillar Cards */
.philosophy-item-card {
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 205px;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  will-change: transform, opacity;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.philosophy-item-card:hover {
  border-color: rgba(22, 91, 51, 0.45);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.phil-number {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
  opacity: 0.95;
  letter-spacing: -0.02em;
}

.phil-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.38;
  margin-bottom: 0.45rem;
}

.phil-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.48;
}

/* Wide Rectangle Card for Pillar 05 */
.philosophy-card-wide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.phil-wide-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
}

.phil-wide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.phil-wide-header .phil-number {
  margin-bottom: 0;
}

.phil-wide-pill {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(22, 91, 51, 0.2);
}

.phil-wide-body .phil-label {
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.phil-wide-body .phil-subtext {
  font-size: 0.78rem;
  line-height: 1.48;
}

/* Mobile & Tablet Screens (< 1024px): 2x2 Square Cards + 1 Wide Rectangle */
@media (max-width: 1023px) {
  #about {
    padding-bottom: 2.5rem !important;
  }

  .about-grid-layout {
    margin-bottom: 1.25rem !important;
  }

  .philosophy-integrated-block,
  .philosophy-swap-section {
    margin-top: 1.25rem;
  }

  .philosophy-header-row {
    margin-bottom: 1.15rem;
  }

  .philosophy-block-heading {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .philosophy-block-desc {
    font-size: 0.775rem;
    line-height: 1.38;
  }

  /* 2x2 Grid for 01-04, 05 spans full width as wide rectangle */
  .philosophy-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* First 4 cards: Square proportions (2 in 2) */
  .philosophy-pillars-grid .philosophy-item-card:not(.philosophy-card-wide) {
    min-height: 175px;
    padding: 1.15rem 0.95rem;
    border-radius: var(--radius-lg);
  }

  .philosophy-pillars-grid .philosophy-item-card:not(.philosophy-card-wide) .phil-number {
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
  }

  .philosophy-pillars-grid .philosophy-item-card:not(.philosophy-card-wide) .phil-label {
    font-size: 0.825rem;
    line-height: 1.32;
    margin-bottom: 0.35rem;
  }

  .philosophy-pillars-grid .philosophy-item-card:not(.philosophy-card-wide) .phil-subtext {
    font-size: 0.72rem;
    line-height: 1.38;
  }

  /* 5th card: Spans across both columns as a sleek wide rectangle */
  .philosophy-pillars-grid .philosophy-card-wide {
    grid-column: 1 / -1;
    min-height: 110px;
    padding: 1.15rem 1.15rem;
    border-radius: var(--radius-lg);
    justify-content: center;
  }

  .phil-wide-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .phil-wide-header {
    margin-bottom: 0.25rem;
  }

  .phil-wide-header .phil-number {
    font-size: 1.4rem;
  }

  .phil-wide-body .phil-label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }

  .phil-wide-body .phil-subtext {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  #programs {
    padding-top: 2.75rem !important;
  }
}

/* Tablet refinement (640px - 1023px) */
@media (min-width: 640px) and (max-width: 1023px) {
  .philosophy-pillars-grid {
    gap: 1.15rem;
  }

  .philosophy-pillars-grid .philosophy-item-card:not(.philosophy-card-wide) {
    min-height: 195px;
    padding: 1.5rem 1.25rem;
  }

  .philosophy-pillars-grid .philosophy-card-wide {
    min-height: 120px;
    padding: 1.5rem 1.35rem;
  }

  .phil-wide-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .phil-wide-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0;
  }
}

/* Desktop Screens (>= 1024px): Panoramic 5-Column Grid */
@media (min-width: 1024px) {
  .about-grid-layout {
    margin-bottom: 2rem;
  }

  .philosophy-integrated-block,
  .philosophy-swap-section {
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .phil-wide-pill {
    display: none; /* Keep 5 cards visually uniform on desktop */
  }

  .philosophy-pillars-grid .philosophy-card-wide {
    grid-column: auto;
  }

  #about {
    padding-bottom: 4rem !important;
  }

  #programs {
    padding-top: 4rem !important;
  }
}

/* --- 7. CORE PROGRAMS (PINNED SPLIT-SCROLL PARALLAX WITH 3D CARD SWAPPING) --- */
.programs-pinned-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.programs-split-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .programs-pinned-section {
    padding-top: 92px; /* Generous clearance so fixed navbar (76px) NEVER obscures heading */
    padding-bottom: 2rem;
    height: 100vh;
    min-height: 700px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  .programs-split-container {
    grid-template-columns: 460px 1fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 110px);
  }
}

@media (min-width: 1280px) {
  .programs-split-container {
    grid-template-columns: 490px 1fr;
    gap: 4.5rem;
  }
}

/* Left Column: Sticky Narrative & Dynamic Tracker Console */
.programs-sticky-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  z-index: 5;
}

.programs-sticky-col .section-header {
  margin-bottom: 0.25rem;
}

.programs-header-title {
  font-size: clamp(1.8rem, 2.2vw, 2.35rem);
  line-height: 1.22;
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

.programs-header-sub {
  font-size: 0.885rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.program-tracker-widget {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.6rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tracker-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.tracker-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.tracker-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(22, 91, 51, 0.5);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 91, 51, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(22, 91, 51, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(22, 91, 51, 0);
  }
}

.tracker-counter-box {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-feature-settings: "tnum";
}

.tracker-counter-current {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.tracker-counter-divider {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tracker-counter-total {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tracker-content-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tracker-category-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
  background: rgba(22, 91, 51, 0.09);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.tracker-active-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.35;
  min-height: 2.7rem;
}

.tracker-active-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 3.8rem;
}

.tracker-metric-highlight {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  margin-top: 0.25rem;
}

.tracker-metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tracker-metric-val {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
}

.tracker-metric-lbl {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Kinetic Step Navigator Track */
.tracker-nav-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.tracker-step-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: all 0.25s var(--ease-smooth);
}

.tracker-step-btn .step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
}

.tracker-step-btn .step-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tracker-step-btn:hover {
  background: rgba(22, 91, 51, 0.06);
  border-color: rgba(22, 91, 51, 0.2);
}

.tracker-step-btn:hover .step-num,
.tracker-step-btn:hover .step-label {
  color: var(--color-primary);
}

.tracker-step-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 4px 10px rgba(22, 91, 51, 0.25);
}

.tracker-step-btn.active .step-num {
  color: #ffffff;
  font-weight: 800;
}

.tracker-step-btn.active .step-label {
  color: #ffffff;
  font-weight: 700;
}

.tracker-footer-actions {
  display: flex;
  align-items: center;
  padding-top: 0.25rem;
}

.tracker-footer-actions .btn {
  width: 100%;
  justify-content: center;
}

/* Right Column: Viewport & 3D Kinetic Card Stack */
.programs-cards-viewport {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

@media (min-width: 1024px) {
  .programs-cards-viewport {
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.programs-cards-stack {
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .programs-cards-stack {
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

.program-swap-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (min-width: 1024px) {
  .program-swap-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

.swap-card-image-wrap {
  height: 240px;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-surface-subtle);
  flex-shrink: 0;
}

.swap-card-image-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.swap-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s var(--ease-smooth);
}

.program-swap-card:hover .swap-card-image-wrap img {
  transform: scale(1.05);
}

.swap-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(15, 43, 25, 0.92);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.swap-card-index-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-title);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-feature-settings: "tnum";
}

.swap-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.swap-card-header-row {
  margin-bottom: 0.65rem;
}

.swap-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
}

.swap-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.swap-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.swap-card-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  background: var(--bg-surface-alt);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.swap-highlight-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--text-heading);
}

.swap-highlight-row svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.swap-chip {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.swap-chip:hover {
  background: rgba(22, 91, 51, 0.08);
  border-color: rgba(22, 91, 51, 0.25);
  color: var(--color-primary);
}

.swap-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
  position: relative;
  z-index: 25;
}

.swap-card-metric-block {
  display: flex;
  flex-direction: column;
}

.swap-metric-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.swap-metric-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
}

.prog-link-btn {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0;
  transition: all 0.25s ease;
  position: relative;
  z-index: 50;
  pointer-events: auto;
}

.prog-link-btn * {
  pointer-events: none;
}

.prog-link-btn:hover {
  color: var(--color-primary-dark);
  gap: 0.7rem;
}

.programs-mobile-eyebrow {
  display: none !important;
}

.programs-title-accent {
  display: inline;
}

/* ==========================================================================
   MOBILE & TABLET ADAPTIVE OVERRIDES (< 1024px)
   ========================================================================== */
@media (max-width: 1023px) {
  .programs-pinned-section {
    padding-top: 76px; /* Optimized clearance below fixed navbar (68px) */
    padding-bottom: 0.65rem;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }

  .programs-split-container {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    padding: 0 0.85rem 0.35rem 0.85rem;
    box-sizing: border-box;
  }

  .programs-sticky-col {
    width: 100%;
    gap: 0;
    margin-bottom: 0.25rem;
    flex-shrink: 0;
  }

  .programs-sticky-col .section-header {
    margin-bottom: 0;
    text-align: center;
  }

  /* Completely eliminate desktop eyebrow badge on mobile */
  .programs-sticky-col .institutional-badge {
    display: none !important;
  }

  /* Mobile Title & Eyebrow Elevation (Anti-AI Classic Architecture) */
  .programs-mobile-eyebrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 0.3rem;
  }

  .programs-eyebrow-line {
    width: 22px;
    height: 1.5px;
    background: var(--color-gold);
    opacity: 0.85;
    border-radius: 1px;
  }

  .programs-eyebrow-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    background: rgba(22, 91, 51, 0.08);
    padding: 0.18rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(22, 91, 51, 0.2);
  }

  .programs-header-title {
    font-size: 1.25rem;
    line-height: 1.24;
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-weight: 800;
    text-align: center;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-title);
  }

  .programs-title-accent {
    background: linear-gradient(135deg, #165b33 0%, #208349 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-weight: 800;
  }

  .programs-header-sub {
    display: none !important;
  }

  /* Completely remove the active intervention mini section (1-6 count tracker) on mobile as requested */
  .program-tracker-widget {
    display: none !important;
  }

  /* Viewport & Card on Mobile: Snug proportions & dynamic scaling eliminate dead space */
  .programs-cards-viewport {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }

  .programs-cards-stack {
    height: 100%;
    width: 100%;
    position: relative;
  }

  .program-swap-card {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 43, 25, 0.08);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-light);
  }

  .swap-card-image-wrap {
    height: clamp(215px, 29vh, 265px) !important;
    min-height: 200px !important;
    max-height: 270px !important;
    flex-shrink: 0 !important; /* Never compresses! Fully visible hero image on mobile */
    position: relative;
    overflow: hidden;
    background-color: var(--bg-surface-subtle);
    border-radius: 17px 17px 0 0;
  }

  .swap-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .swap-card-badge {
    top: 0.6rem;
    left: 0.6rem;
    font-size: 0.68rem;
    padding: 0.22rem 0.6rem;
  }

  .swap-card-index-tag {
    top: 0.6rem;
    right: 0.6rem;
    font-size: 0.68rem;
    padding: 0.22rem 0.55rem;
  }

  .swap-card-body {
    padding: 0.85rem 1.1rem 0.8rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  .swap-card-title {
    font-size: 1.1rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: var(--text-title);
  }

  .swap-card-desc {
    font-size: 0.835rem;
    line-height: 1.46;
    margin-bottom: 0.45rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .swap-card-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    padding: 0.52rem 0.75rem;
    margin-bottom: 0.45rem;
    background: #f8faf8;
    border-radius: 8px;
    border: 1px solid rgba(22, 91, 51, 0.12);
  }

  .swap-highlight-row {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--text-heading);
    font-weight: 500;
  }

  .swap-highlight-row svg {
    width: 13px;
    height: 13px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
  }

  .swap-card-chips {
    margin-bottom: 0.45rem;
    gap: 0.3rem;
  }

  .swap-chip {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
  }

  .swap-card-footer {
    padding-top: 0.5rem;
    margin-top: auto;
    border-top: 1px solid var(--border-light);
  }

  .swap-metric-number {
    font-size: 1.05rem;
    font-weight: 800;
  }

  .swap-metric-label {
    font-size: 0.65rem;
  }

  .prog-link-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0;
  }
}

/* --- 8. PROVEN IMPACT & CASE STUDIES (EDITORIAL SPLIT PARALLAX) --- */
.impact-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.impact-case-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .impact-case-card {
    grid-template-columns: 1fr 1fr;
  }
}

.case-text-content {
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-project-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold-dark);
  margin-bottom: 0.65rem;
}

.case-title {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  color: var(--text-title);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.case-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.case-metrics-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .case-metrics-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-metric-point {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-title);
}

.case-metric-point svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Parallax Media Frame with Floating Stats Badge */
.parallax-media-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  min-height: 340px;
}

@media (min-width: 1024px) {
  .parallax-media-wrap {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    min-height: 400px;
  }
}

.parallax-media-img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  position: absolute;
  top: -9%;
  left: 0;
  will-change: transform;
}

.case-floating-badge {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.15rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  animation: gentleFloat 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 1.5rem;
  right: 1.5rem;
}

.case-floating-badge .badge-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.case-floating-badge .badge-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

@keyframes gentleFloat {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* --- 9. LEADERSHIP & ADVISORY BOARD (STACKED MOTION DECKS - TIGHT SPACING) --- */
.team-stacked-section {
  position: relative;
  z-index: 10;
  overflow: visible;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.deck-group-wrapper {
  position: relative;
  margin-bottom: 2rem;
  padding-top: 0;
}

.deck-group-wrapper:last-child {
  margin-bottom: 0.5rem;
}

/* Category Sub-Header - Compact */
.deck-group-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1.15rem auto;
}

.deck-group-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
}

.deck-group-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-pill);
}

.badge-long-word,
.counter-long-word,
.tab-long-word {
  display: inline;
}

.badge-emerald {
  background: rgba(22, 91, 51, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(22, 91, 51, 0.25);
}

.badge-gold {
  background: rgba(194, 155, 56, 0.14);
  color: #9e7b25;
  border: 1px solid rgba(194, 155, 56, 0.35);
}

.deck-group-counter {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.deck-group-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}

.deck-group-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 auto;
}

/* Deck Viewport & Stage - Tightened Height & Centered */
.deck-viewport {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  min-height: 385px;
  padding-top: 26px; /* Room for peeking stacked tabs */
}

.deck-cards-stage {
  position: relative;
  width: 100%;
  min-height: 385px;
}

/* Individual Motion Card (Stacked Like Deck) */
.motion-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(22, 91, 51, 0.14);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.13), 0 2px 6px rgba(0, 0, 0, 0.03);
  transform-origin: center top;
  will-change: transform, opacity;
  transition: box-shadow 0.3s ease;
  overflow: visible;
}

.motion-card.card-advisory {
  border-color: rgba(194, 155, 56, 0.28);
  box-shadow: 0 16px 40px -12px rgba(194, 155, 56, 0.15), 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Card Peeking Top Tab (Exact Match to User Reference Graphic) */
.card-index-tab {
  position: absolute;
  top: -26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 14px;
  background: #ffffff;
  border: 1px solid rgba(22, 91, 51, 0.14);
  border-bottom: 2px solid #ffffff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.03);
  z-index: 6;
  pointer-events: none;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .motion-card[data-index="0"] .card-index-tab {
    left: 24px;
  }
  .motion-card[data-index="1"] .card-index-tab {
    left: 210px;
  }
  .motion-card[data-index="2"] .card-index-tab {
    left: 440px;
  }
  .motion-card[data-index="3"] .card-index-tab {
    left: 650px;
  }
}

@media (max-width: 768px) {
  .card-index-tab {
    left: 14px;
    top: -22px;
  }
}

.card-advisory .card-index-tab {
  border-color: rgba(194, 155, 56, 0.28);
  border-bottom: 2px solid #ffffff;
}

.card-index-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1;
}

.card-advisory .card-index-num {
  color: #c29b38;
}

.card-index-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Desktop 2-Column Grid Inside Card - Balanced & No Wasted Space */
.card-body-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  padding: 1.6rem 2rem;
  align-items: center;
}

/* Photo Column */
.card-photo-col {
  width: 100%;
}

.card-photo-frame {
  position: relative;
  width: 100%;
  height: 290px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #eef5f1 0%, #dfeae3 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(22, 91, 51, 0.12);
}

.card-advisory .card-photo-frame {
  background: linear-gradient(135deg, #faf7ee 0%, #f3ecd6 100%);
  border-color: rgba(194, 155, 56, 0.22);
}

.card-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease-smooth);
}

.motion-card:hover .card-photo-frame img {
  transform: scale(1.03);
}

/* Member Chips */
.member-chip {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.chip-gold {
  background: rgba(194, 155, 56, 0.95);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(194, 155, 56, 0.35);
}

.chip-emerald {
  background: rgba(22, 91, 51, 0.95);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(22, 91, 51, 0.35);
}

/* Text Column */
.card-text-col {
  display: flex;
  flex-direction: column;
}

.card-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.card-micro-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
  background: rgba(22, 91, 51, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
}

.card-micro-tag.tag-gold {
  color: #9e7b25;
  background: rgba(194, 155, 56, 0.12);
}

.card-order-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.card-leader-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.2;
  margin: 0.25rem 0 0.15rem 0;
}

.card-leader-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.card-leader-role.role-gold {
  color: #c29b38;
}

.card-leader-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 1rem;
}

/* Pill Tags Row */
.card-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-spec-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-title);
  background: #f1f5f3;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(22, 91, 51, 0.08);
}

.card-spec-pill.pill-gold {
  background: #faf6eb;
  border-color: rgba(194, 155, 56, 0.18);
}

/* Controls Strip (Arrows & Indicator Dots) - Compact */
.deck-controls-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.deck-control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-title);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.25s ease;
}

.deck-control-btn:hover:not(:disabled) {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(22, 91, 51, 0.25);
  transform: translateY(-2px);
}

.deck-control-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.deck-progress-indicators {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.deck-indicator-pill {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.deck-indicator-pill.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
}

#advisoryDeckGroup .deck-indicator-pill.active {
  background: #c29b38;
}

/* ==================== MOBILE LAYOUT (PROFESSIONAL, CLEAR PHOTO, ZERO SCROLL FATIGUE) ==================== */
@media (max-width: 768px) {
  .team-stacked-section {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .deck-group-wrapper {
    margin-bottom: 1.75rem;
  }

  /* Compact Header Layout Upper Cards (Tightened Space & Non-Wrapping Badge) */
  .deck-group-header {
    text-align: center;
    max-width: 100%;
    margin: 0 auto 0.5rem auto;
    padding: 0 0.5rem;
  }

  .deck-group-badge-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.28rem;
    flex-wrap: nowrap;
  }

  .deck-group-badge {
    font-size: 0.66rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    white-space: nowrap;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    flex-shrink: 0;
  }

  .badge-long-word,
  .counter-long-word {
    display: none;
  }

  .deck-group-counter {
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-secondary);
  }

  .deck-group-title {
    font-size: 1.05rem;
    line-height: 1.22;
    font-weight: 700;
    margin: 0 auto 0.2rem auto;
    max-width: 320px;
  }

  .deck-group-desc {
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--text-secondary);
    max-width: 310px;
    margin: 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Compact Viewport & Stage for Mobile Stacked Motion Cards */
  .deck-viewport {
    min-height: 275px;
    padding-top: 26px;
  }

  .deck-cards-stage {
    min-height: 275px;
  }

  .motion-card {
    border-radius: 14px;
    box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.11);
  }

  /* Staggered Non-Overlapping Tabs on Mobile (Even at left 8px, Odd at left 142px) */
  .card-index-tab {
    top: -24px;
    padding: 3px 8px;
    border-radius: 8px 8px 0 0;
    gap: 5px;
  }

  .motion-card[data-index="0"] .card-index-tab,
  .motion-card[data-index="2"] .card-index-tab {
    left: 8px;
  }

  .motion-card[data-index="1"] .card-index-tab,
  .motion-card[data-index="3"] .card-index-tab {
    left: 142px;
  }

  .card-index-num {
    font-size: 0.86rem;
  }

  .card-index-title {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    max-width: 114px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tab-long-word {
    display: none;
  }

  /* Professional Compact Card Grid with display: contents */
  .card-body-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    column-gap: 0.8rem;
    row-gap: 0.3rem;
    padding: 1.05rem 1.15rem;
    align-items: start;
  }

  .card-photo-col {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 80px;
    height: 80px;
  }

  .card-photo-frame {
    width: 80px;
    height: 80px;
    border-radius: 11px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }

  .card-photo-frame .member-chip {
    display: none; /* Chip hidden on tiny mobile photo to avoid covering face */
  }

  .card-text-col {
    display: contents;
  }

  .card-badge-row {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0.05rem;
  }

  .card-leader-name {
    grid-column: 2;
    grid-row: 2;
    font-size: 1.12rem;
    margin: 0.05rem 0;
    line-height: 1.2;
  }

  .card-leader-role {
    grid-column: 2;
    grid-row: 3;
    font-size: 0.72rem;
    margin-bottom: 0.2rem;
  }

  .card-leader-bio {
    grid-column: 1 / span 2;
    grid-row: 4;
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.4rem;
  }

  .card-pill-row {
    grid-column: 1 / span 2;
    grid-row: 5;
    gap: 0.3rem;
  }

  .card-spec-pill {
    font-size: 0.65rem;
    padding: 0.18rem 0.5rem;
  }

  .deck-controls-strip {
    margin-top: 0.85rem;
  }
}

/* Reduced Motion Preference Accessibility */
@media (prefers-reduced-motion: reduce) {
  .motion-card,
  .card-photo-frame img,
  .deck-step-tab,
  .deck-indicator-pill {
    transition: none !important;
    animation: none !important;
  }
}

/* --- 10. CSR PARTNERSHIPS & MARQUEE --- */
/* ==================== 9. CSR FRAMEWORK & PARTNER MARQUEE ==================== */
.csr-framework-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .csr-framework-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .csr-framework-cards {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 3.5rem;
  }
}

.csr-pillar-box {
  padding: 1.25rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s var(--ease-smooth), box-shadow 0.28s var(--ease-smooth), border-color 0.28s ease;
}

@media (min-width: 768px) {
  .csr-pillar-box {
    padding: 2.25rem 1.65rem;
    border-radius: var(--radius-md);
  }
}

.csr-box-mobile-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid var(--border-primary);
  padding: 2px 7px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .csr-box-mobile-badge {
    margin-bottom: 0.75rem;
  }
}

.csr-box-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .csr-box-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.35rem;
  }
}

.csr-pillar-box:hover .csr-box-icon {
  transform: scale(1.08) translateY(-2px);
}

.csr-box-title {
  font-size: 0.96875rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .csr-box-title {
    font-size: 1.15rem;
    margin-bottom: 0.65rem;
  }
}

.csr-box-desc {
  font-size: 0.78125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .csr-box-desc {
    font-size: 0.875rem;
    line-height: 1.6;
  }
}

/* Ecosystem Partners Logo Strip (Authentic Colors As Default - Infinite Continuous Marquee) */
@keyframes logoScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo-strip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .partner-logo-strip {
    padding: 2.5rem 1.5rem;
  }
}

.partner-strip-title {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.partner-marquee-container {
  overflow: hidden;
  width: 100%;
}

.partner-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 2.5rem;
  align-items: center;
  animation: logoScroll 22s linear infinite;
  width: max-content;
  will-change: transform;
}

@media (min-width: 768px) {
  .partner-marquee-track {
    gap: 3.75rem;
    animation-duration: 25s;
  }
}

@media (hover: hover) {
  .partner-logo-strip:hover .partner-marquee-track {
    animation-play-state: paused;
  }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 120px;
  padding: 0 0.5rem;
}

@media (min-width: 768px) {
  .partner-logo-item {
    height: 52px;
    min-width: 140px;
  }
}

/* Authentic Default Colors - NO GRAYSCALE */
.partner-logo-item img {
  max-height: 42px;
  max-width: 125px;
  width: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .partner-logo-item img {
    max-height: 46px;
    max-width: 140px;
  }
}

.partner-logo-item:hover img {
  transform: scale(1.08);
}

/* ==================== 10. HORIZONTAL AMOUNT SELECTOR & ONE DETAIL CARD ==================== */
.donation-card-hub {
  padding: 2.25rem 1.25rem;
}

@media (min-width: 768px) {
  .donation-card-hub {
    padding: 3.75rem 2.75rem;
  }
}

.donation-compact-selector-wrapper {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

.donation-selector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding: 0 0.25rem;
}

.selector-sub-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
}

.selector-hint-text {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Six Compact Selectable Amount Buttons Grid */
.amount-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 580px) {
  .amount-buttons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

.amount-btn {
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.75rem;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.amount-btn:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 91, 51, 0.12);
}

.amount-btn.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(22, 91, 51, 0.25);
  transform: translateY(-1px);
}

.amount-btn-check {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.amount-btn.selected .amount-btn-check {
  display: inline-flex;
}

/* Single Dynamic Detail Card */
.tier-detail-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.35rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  text-align: left;
  position: relative;
  transition: border-color 0.3s ease;
}

@media (min-width: 640px) {
  .tier-detail-card {
    padding: 2.25rem 2rem;
  }
}

.tier-detail-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.tier-accent-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid var(--border-primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tier-80g-pill {
  font-size: 0.71875rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  background: var(--color-gold-tint);
  border: 1px solid var(--border-gold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tier-detail-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .tier-detail-title {
    font-size: 1.6rem;
  }
}

.tier-detail-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.35rem;
}

/* Custom Contribution Field Inside Card */
.tier-custom-amount-box {
  background: var(--bg-surface-alt);
  border: 1px dashed var(--border-primary);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1.35rem;
}

.custom-input-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.tier-custom-amount-box .custom-amount-wrap {
  max-width: 100%;
}

/* Tangible Field Impact Box */
.tangible-field-impact-box {
  background: linear-gradient(135deg, #f0f7f2 0%, #eef6f1 100%);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.65rem;
  box-shadow: 0 4px 14px rgba(22, 91, 51, 0.06);
}

.tangible-impact-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.tangible-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tangible-impact-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.tangible-impact-desc {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.5;
  margin: 0;
}

/* Proceed CTA button */
.btn-proceed-donate {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.05rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
}

/* ==================== BANK & SCANNER ENHANCEMENTS ==================== */
.bank-transfer-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.65rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .bank-transfer-box {
    padding: 2.75rem 2.25rem;
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.bank-header-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.btn-view-all-trigger {
  display: none;
}

@media (min-width: 640px) {
  .btn-view-all-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
  }
}

.bank-all-details-mobile-btn-wrap {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .bank-all-details-mobile-btn-wrap {
    display: none;
  }
}

.btn-full-width {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.bank-table-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bank-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.bank-row-label {
  color: var(--text-muted);
}

.bank-row-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-badge-btn {
  background: var(--color-primary-tint);
  border: 1px solid var(--border-primary);
  color: var(--color-primary);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-badge-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.qr-scan-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Mini Scanner in Page Bank Box (Large & Prominent) */
.qr-box-inner {
  background: #ffffff;
  padding: 12px;
  border: 2px solid var(--border-primary);
  border-radius: var(--radius-md);
  margin-bottom: 0.65rem;
  width: 260px;
  height: 260px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(22, 91, 51, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s ease;
}

@media (max-width: 480px) {
  .qr-box-inner {
    width: min(250px, 78vw);
    height: min(250px, 78vw);
    padding: 10px;
  }
}

.qr-box-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.donate-modal-qr-box {
  width: 250px !important;
  height: 250px !important;
  margin: 0 auto 0.75rem auto;
}

@media (max-width: 480px) {
  .donate-modal-qr-box {
    width: min(240px, 76vw) !important;
    height: min(240px, 76vw) !important;
  }
}

.qr-radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, transparent 0%, rgba(32, 131, 73, 0.18) 50%, transparent 100%);
  animation: radarSweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes radarSweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Scanner QR Pop Trigger */
.qr-pop-trigger {
  cursor: pointer;
}

.qr-pop-trigger:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 38px rgba(22, 91, 51, 0.2);
}

.qr-zoom-hover-badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 43, 25, 0.92);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.btn-qr-pop-link {
  background: transparent;
  border: none;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 0.35rem;
  padding: 2px 6px;
  transition: color 0.2s ease;
}

.btn-qr-pop-link:hover {
  color: var(--color-gold-dark);
}

/* ==================== QR SCANNER LIGHTBOX MODAL (LARGE POPUP) ==================== */
.qr-lightbox-dialog {
  max-width: 540px;
  text-align: center;
  padding: 2.75rem 2.25rem;
}

@media (max-width: 480px) {
  .qr-lightbox-dialog {
    padding: 2rem 1.25rem;
    max-width: 95vw;
  }
}

.qr-lightbox-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.35rem;
}

.qr-lightbox-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

/* Large High-Impact Scanner Card in Lightbox */
.qr-large-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 480 / 502;
  margin: 0 auto 1.35rem auto;
  padding: 14px;
  background: #ffffff;
  border: 2.5px solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(22, 91, 51, 0.16);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .qr-large-card {
    max-width: min(330px, 86vw);
    padding: 8px;
  }
}

.qr-large-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.upi-id-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface-alt);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.upi-id-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.upi-id-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-title);
}

.qr-apps-supported {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.qr-apps-supported strong {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 0.2rem;
}

.qr-lightbox-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .qr-lightbox-actions {
    flex-direction: row;
    justify-content: center;
  }
}

/* ==================== ALL BANKING & STATUTORY DETAILS MODAL ==================== */
.all-details-dialog {
  max-width: 660px;
  padding: 2.25rem 1.5rem;
}

@media (min-width: 640px) {
  .all-details-dialog {
    padding: 2.75rem 2.25rem;
  }
}

.all-details-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.all-details-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 0.35rem;
}

.all-details-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.details-section-block {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.15rem;
  text-align: left;
}

.details-section-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.details-data-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.details-data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.details-data-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.data-key {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.data-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-title);
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  word-break: break-all;
}

.data-val.highlight-gold {
  color: var(--color-gold-dark);
  font-family: var(--font-body);
}

.data-val.highlight-green {
  color: var(--color-primary);
  font-family: var(--font-body);
}

.tax-receipt-notice-box {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--color-gold-tint);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.notice-icon {
  color: var(--color-gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-heading);
}

.notice-text strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text-title);
}

.notice-text a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

.all-details-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .all-details-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}

/* --- 12. REGIONAL HUBS & CONTACT (WITH LIVE CLOCKS & FLOATING FORM) --- */
.hubs-three-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.65rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .hubs-three-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hub-info-card {
  padding: 2.25rem 1.65rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-photo-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(22, 91, 51, 0.2);
}

.hub-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-city-title {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.hub-badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.hub-live-clock {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid var(--border-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.hub-phone-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

/* Contact Form Grid */
.contact-duo-layout {
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (min-width: 1024px) {
  .contact-duo-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-green-panel {
  background: linear-gradient(135deg, #0f3d24 0%, #082414 100%);
  padding: 3rem 2.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-white-form {
  padding: 3rem 2.5rem;
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .form-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

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

.input-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 0.45rem;
}

.form-control-input, .form-control-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-surface-alt);
  color: var(--text-title);
  outline: none;
  transition: all 0.25s ease;
}

.form-control-input:focus, .form-control-textarea:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 91, 51, 0.15);
}

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

/* --- 13. INSTITUTIONAL FOOTER --- */
.classic-footer {
  background-color: var(--bg-footer);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 3px solid var(--color-primary);
  position: relative;
  z-index: 2;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-columns-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  }
}

.footer-title-h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title-h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-gold);
}

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

.footer-nav-list a {
  font-size: 0.9375rem;
  color: var(--text-inverse-muted);
  transition: color 0.25s ease;
}

.footer-nav-list a:hover {
  color: var(--color-gold-light);
}

.footer-statutory-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    flex-direction: row;
    text-align: left;
  }
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.back-to-top-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

/* --- 14. MODALS & TOASTS --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s var(--ease-spring);
  box-shadow: var(--shadow-lg);
}

.modal-backdrop.active .modal-dialog-box {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-surface-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--color-primary-tint);
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* Program Details Modal - Elegant Institutional Architecture */
.program-modal-dialog {
  max-width: 580px;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(15, 43, 25, 0.35);
  background: #ffffff;
  position: relative;
  max-height: 88vh;
  overflow-y: auto;
  border: 1px solid rgba(22, 91, 51, 0.15);
}

.modal-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 1rem;
}

.program-modal-dialog .modal-close-btn {
  position: static;
  flex-shrink: 0;
}

.modal-pillar-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border: 1px solid rgba(22, 91, 51, 0.22);
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
}

.modal-prog-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.25;
  margin-bottom: 0.45rem;
}

.modal-prog-summary {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.modal-interventions-card {
  background: var(--bg-surface-alt);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-light);
}

.modal-interventions-headline {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.modal-points-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-points-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.835rem;
  line-height: 1.45;
  color: var(--text-body);
  margin-bottom: 0.55rem;
}

.modal-points-list li:last-child {
  margin-bottom: 0;
}

.modal-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
}

.modal-metric-col {
  display: flex;
  flex-direction: column;
}

.modal-metric-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  font-weight: 600;
}

.modal-metric-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.modal-action-btn {
  font-size: 0.825rem;
  padding: 0.55rem 1.15rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .modal-backdrop {
    padding: 0.75rem;
  }
  .program-modal-dialog {
    padding: 1.15rem 1rem;
    max-width: calc(100vw - 1.5rem);
    max-height: 85vh;
    border-radius: 16px;
  }
  .modal-header-row {
    margin-bottom: 0.6rem;
  }
  .modal-pillar-badge {
    font-size: 0.62rem;
    padding: 0.2rem 0.55rem;
    max-width: 78%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .program-modal-dialog .modal-close-btn {
    width: 32px;
    height: 32px;
  }
  .modal-prog-title {
    font-size: 1.15rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }
  .modal-prog-summary {
    font-size: 0.78rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
  }
  .modal-interventions-card {
    padding: 0.75rem 0.85rem;
    margin-bottom: 0.85rem;
  }
  .modal-interventions-headline {
    font-size: 0.68rem;
    margin-bottom: 0.45rem;
  }
  .modal-points-list li {
    font-size: 0.76rem;
    line-height: 1.35;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
  }
  .modal-footer-row {
    padding-top: 0.75rem;
  }
  .modal-metric-sub {
    font-size: 0.6rem;
  }
  .modal-metric-val {
    font-size: 0.95rem;
  }
  .modal-action-btn {
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }
}

.toast-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: 0.9375rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease-smooth);
}

.toast-pill.show {
  transform: translateY(0);
  opacity: 1;
}

/* Reduced Motion Mode */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
