/* ==========================================================================
   WHITE LEAF AGRI — EDITORIAL AGRITECH DESIGN SYSTEM
   Inspired by Reference Benchmark: Buruh Tani & Greenstead IoT
   Aesthetic: Clean Modern Editorial, Electric Lime/Chartreuse Accents,
              Oversized Typographic Hero, Inline Floating Thumbnails,
              Giant Architectural Footer Wordmark & Smooth Parallax Motion.
   Elementor Free (Containers) + Novamira Ready | Mobile-First UX
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Syne:wght@600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* ========================================================================
     1. COLOR PALETTE (From Reference Benchmarks)
     ======================================================================== */
  --bg-page: #f8faf8;               /* Clean airy field off-white */
  --bg-white: #ffffff;              /* Pure card white */
  --bg-surface-tint: #f1f4f1;       /* Subtle warm grey/green tint */
  --bg-dark-forest: #09130d;        /* Deep nocturnal botanical dark */
  --bg-dark-card: #111d16;          /* Dark card elevated surface */
  --bg-dark-accent: #17271e;        /* Dark hover card surface */
  
  /* Signature Electric Chartreuse / Lime Accent (From References) */
  --lime-primary: #c6f432;          /* High-visibility pill & button lime */
  --lime-hover: #b4e820;            /* Button hover state */
  --lime-subtle: rgba(198, 244, 50, 0.18); /* Soft highlight tint */
  --lime-glow: rgba(198, 244, 50, 0.4);
  
  /* Text Tones */
  --text-primary: #0f1712;          /* High-contrast charcoal heading */
  --text-secondary: #4a574f;        /* Refined editorial body */
  --text-muted: #79867e;            /* Secondary caption grey */
  --text-on-dark: #f2f5f2;          /* Light heading on dark forest */
  --text-dim-dark: #93a398;         /* Subhead on dark forest */
  
  /* Micro-Borders & Dividers */
  --border-light: rgba(15, 23, 18, 0.08);
  --border-medium: rgba(15, 23, 18, 0.14);
  --border-dark-cad: rgba(255, 255, 255, 0.1);
  --border-lime: rgba(198, 244, 50, 0.4);

  /* Radius (From Reference: Soft Organic Rounded Corners) */
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
  
  /* Typography Stacks */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Motion & Animation (Smooth, elegant luxury timing) */
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fast: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration-reveal: 1150ms;
  --duration-fast: 380ms;
  
  /* Layout Dimensions */
  --container-max: 1360px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  background-color: var(--bg-page);
  color: var(--text-primary);
}

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

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

/* ==========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.display-giant {
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.display-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.display-card-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.text-lead-lg {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-primary);
}

.text-mono {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* Highlight Pill Badges (From Reference 2 - Soft Highlighter Chips) */
.highlight-pill {
  display: inline-block;
  background: var(--lime-primary);
  color: #0c140d;
  font-weight: 700;
  padding: 0.15em 0.55em;
  border-radius: var(--radius-pill);
  line-height: 1.1;
}

/* Subtitle / Kicker Eyebrows */
.kicker-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   ELEMENTOR / NOVAMIRA CONTAINER COMPATIBILITY CLASSES
   ========================================================================== */
.e-con-boxed {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
}

.e-con-full {
  width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
}

.section-spacer {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.section-spacer-lg {
  padding-top: 8.5rem;
  padding-bottom: 8.5rem;
}

/* ==========================================================================
   BUTTONS & PILL CONTROLS (From Reference Images)
   ========================================================================== */
.btn-pill-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--lime-primary);
  color: #09130d;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-fast);
  white-space: nowrap;
}

.btn-pill-lime:hover {
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--lime-subtle);
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: var(--bg-dark-forest);
  color: #ffffff;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-fast);
}

.btn-pill-dark:hover {
  background: #14241a;
  transform: translateY(-2px);
  color: var(--lime-primary);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: transparent;
  color: var(--text-primary);
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-fast);
}

.btn-pill-outline:hover {
  border-color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

/* Round Arrow Action Badge (From Reference Images on Cards) */
.round-arrow-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime-primary);
  color: #09130d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform var(--duration-fast) var(--ease-fast), background var(--duration-fast) ease;
  flex-shrink: 0;
}

.round-arrow-badge.on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Category Pill Tag on Cards */
.card-pill-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
  color: #0c150e;
  backdrop-filter: blur(8px);
}

.card-pill-tag.lime {
  background: var(--lime-primary);
  color: #09130d;
}

/* ==========================================================================
   SITE HEADER & PILL NAVIGATION (From Reference 1 & 2)
   ========================================================================== */
.site-header-pill {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all var(--duration-fast) ease;
}

.header-inner-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(9, 19, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.25rem 0.65rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.site-header-pill.scrolled .header-inner-pill {
  background: rgba(9, 19, 13, 0.95);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.brand-symbol-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-leaf-icon {
  width: 28px;
  height: 28px;
  background: var(--lime-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09130d;
}

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

.nav-pill-item a {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  color: #b7c7be;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--duration-fast) ease;
}

.nav-pill-item a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-pill-item a.active {
  color: #09130d;
  background: #ffffff;
  font-weight: 600;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
}

/* ==========================================================================
   PAGE 1: OVERSIZED HERO SECTION (From Reference 1 "Buruh Tani")
   ========================================================================== */
.hero-buruh-wrapper {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 2rem;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--bg-dark-forest);
}

/* Background Aerial Texture with Parallax Movement */
.hero-aerial-bg {
  position: absolute;
  inset: -15%;
  background-image: url('../assets/images/aerial_texture_rows.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.52;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(9, 19, 13, 0.2) 0%, rgba(9, 19, 13, 0.85) 85%);
  pointer-events: none;
  z-index: 1;
}

/* Hero Top Row */
.hero-top-editorial {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.hero-statement-text {
  max-width: 440px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #c9dbd0;
}

/* GIANT Center Typographic Wordmark (Buruh Tani Style) */
.hero-giant-wordmark-container {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 3rem 0;
}

.hero-giant-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.75rem, 11vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: #ffffff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-giant-wordmark .lime-text {
  color: var(--lime-primary);
}

/* Bottom Category Pills Row (From Reference 1) */
.hero-bottom-pills-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-category-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #b7c7be;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--duration-fast) ease;
}

.hero-category-link:hover {
  color: var(--lime-primary);
}

/* ==========================================================================
   METRIC STATS COUNTER BAR (From Reference 1 & 2)
   ========================================================================== */
.stats-bar-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 0;
}

.stats-grid-deck {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-unit-cell {
  border-right: 1px solid var(--border-light);
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
}

.stat-unit-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-large-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   EDITORIAL MANIFESTO WITH INLINE FLOATING THUMBNAILS (From Reference 1)
   ========================================================================== */
.manifesto-section {
  background: var(--bg-page);
  padding: 7rem 0;
}

.manifesto-paragraph {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.85rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  max-width: 1100px;
}

.manifesto-paragraph .dim-text {
  color: var(--text-muted);
}

/* Inline Floating Thumbnail (Exact Awwwards feature from Buruh Tani) */
.inline-thumb-badge {
  display: inline-block;
  vertical-align: middle;
  width: 72px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0.4rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: rotate(-3deg);
  transition: transform var(--duration-fast) var(--ease-fast);
}

.inline-thumb-badge:hover {
  transform: rotate(0deg) scale(1.1);
}

.inline-thumb-badge.tilt-right {
  transform: rotate(3deg);
}

.inline-thumb-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   CARDS & SOLUTIONS GRID (From Reference 1 & 2)
   ========================================================================== */
.services-section {
  background: var(--bg-white);
  padding: 7rem 0;
}

.services-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.service-cards-deck {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card-item {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--duration-fast) var(--ease-fast), box-shadow var(--duration-fast) ease;
  display: flex;
  flex-direction: column;
}

.service-card-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-reveal);
}

.service-card-item:hover .service-card-media img {
  transform: scale(1.06);
}

.service-card-media .top-arrow-wrap {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.service-card-media .bottom-pills-wrap {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

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

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FULL-WIDTH COLLABORATIVE SPLIT BANNER (From Reference 1)
   ========================================================================== */
.collaborative-split-banner {
  position: relative;
  background-image: url('../assets/images/aerial_texture_rows.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 8rem 0;
}

.collaborative-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 19, 13, 0.78);
  pointer-events: none;
}

.collaborative-content-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.collaborative-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 2px solid rgba(198, 244, 50, 0.4);
  padding-left: 2rem;
}

.collaborative-link-list a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  display: inline-block;
}

.collaborative-link-list a:hover {
  color: var(--lime-primary);
  transform: translateX(8px);
}

/* ==========================================================================
   CASE STUDIES & NEWS GRID (From Reference 1)
   ========================================================================== */
.case-studies-section {
  background: var(--bg-white);
  padding: 7rem 0;
}

.case-grid-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.featured-case-large {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.featured-case-large img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.featured-case-large-content {
  padding: 2.25rem;
}

.stacked-cases-deck {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-stacked-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  align-items: center;
  transition: transform var(--duration-fast) ease;
}

.case-stacked-item:hover {
  transform: translateX(6px);
  border-color: var(--border-medium);
}

.case-stacked-item img {
  width: 100%;
  height: 100px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

/* ==========================================================================
   LUSH CTA BANNER WITH PILL FORM (From Reference 1 & 2)
   ========================================================================== */
.cta-lush-section {
  position: relative;
  background-image: url('../assets/images/aerial_highland_complex.jpg');
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  color: #ffffff;
  text-align: center;
}

.cta-lush-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 19, 13, 0.75);
  pointer-events: none;
}

.cta-lush-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.pill-input-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 0.4rem;
  max-width: 540px;
  margin: 2.5rem auto 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.pill-input-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--text-primary);
}

/* ==========================================================================
   GIANT ARCHITECTURAL FOOTER WORDMARK (From Reference 1 "Buruh Tani")
   ========================================================================== */
.site-footer-editorial {
  background: var(--bg-white);
  padding-top: 6rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--border-light);
}

.footer-giant-wordmark-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  margin-bottom: 4rem;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0 1.75rem 0;
  background: var(--bg-white);
  user-select: none;
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  animation: footerMarquee 32s linear infinite;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .footer-marquee-track:hover {
    animation-play-state: paused;
  }
}

.footer-marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  text-transform: uppercase;
}

.footer-marquee-content .marquee-bullet {
  color: var(--lime-primary);
  font-size: 0.55em;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

@keyframes footerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.footer-columns-deck {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-col-header {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

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

.footer-col-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

.footer-col-links a:hover {
  color: var(--text-primary);
}

.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SMOOTH REVEAL MOTION & PARALLAX SPECIFICATIONS
   "smooth reveal text but not too slow nor too fast when section is on view"
   Duration: 680ms with custom cubic-bezier(0.16, 1, 0.3, 1)
   ========================================================================== */
.reveal-on-view {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--duration-reveal) var(--ease-reveal),
              transform var(--duration-reveal) var(--ease-reveal);
  will-change: opacity, transform;
}

.reveal-on-view.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }

/* Parallax element */
[data-parallax-rate] {
  will-change: transform;
}

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE ADAPTATIONS (User Spec: Mobile View is Priority)
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid-deck {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .stat-unit-cell:nth-child(2) {
    border-right: none;
  }
  
  .service-cards-deck {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .collaborative-content-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-columns-deck {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-pill-menu, .header-cta-pill {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .site-header-pill {
    top: 0.75rem;
  }
  
  .header-inner-pill {
    padding: 0.5rem 1rem;
  }
  
  .hero-top-editorial {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-bottom-pills-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .stats-grid-deck {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stat-unit-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1.5rem;
  }
  
  .services-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
  }
  
  .services-header-split > div:last-child {
    width: 100%;
  }

  .services-header-split .btn-pill-lime {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .footer-giant-wordmark-wrap {
    margin-bottom: 2.5rem;
    padding: 1.1rem 0 1.25rem 0;
  }

  .footer-marquee-track {
    animation-duration: 20s;
  }

  .footer-marquee-content {
    font-size: clamp(2.25rem, 10vw, 3.75rem);
    gap: 1.5rem;
    padding-right: 1.5rem;
  }

  .service-cards-deck {
    grid-template-columns: 1fr;
  }
  
  .case-grid-asymmetric {
    grid-template-columns: 1fr;
  }
  
  .pill-input-form {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 0.75rem;
  }
  
  .pill-input-field {
    width: 100%;
    background: #ffffff;
  }
  
  .pill-input-form .btn-pill-lime {
    width: 100%;
  }
  
  .footer-columns-deck {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-legal-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-dark-forest);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.75rem;
  transform: translateX(100%);
  transition: transform var(--duration-fast) var(--ease-reveal);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.mobile-drawer-links a {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
}

.mobile-drawer-links a.active {
  color: var(--lime-primary);
}
