/* ============================================================
   LEMONQUEST VENTURES — DESIGN SYSTEM
   Concept: Grove — Organic Editorial
   ============================================================ */

/* Fonts are loaded via <link> in each page head (preconnect + stylesheet)
   — an @import here would block rendering until the font CSS resolves. */

/* ── Design Tokens ── */
:root {
  /* Colors */
  --cream:        #FFFDF5;
  --cream-alt:    #FAF8EE;
  --sage:         #F0F4E8;
  --sage-mid:     #E2EBD0;
  --lemon:        #C9A227;
  --lemon-light:  #D4E8A0;
  --lemon-bright: #E8D44D;
  --grove:        #6B8C3E;
  --grove-mid:    #4A6A2A;
  --forest:       #2A3D20;
  --forest-deep:  #1A2E12;
  --amber:        #F0A500;
  --text-primary: #2A3D20;
  --text-body:    #4A4A3A;
  --text-muted:   #8B7355;
  --text-light:   #B8AD9E;
  --border:       #E8E0CC;
  --border-light: #F2EDE0;
  --white:        #FFFFFF;

  /* Shadows — layered: tight contact + mid ambient + wide falloff, warmed by a faint grove/lemon stop */
  --shadow-sm:
    0 1px 2px rgba(26, 46, 18, 0.05),
    0 2px 6px rgba(42, 61, 32, 0.05),
    0 6px 16px rgba(42, 61, 32, 0.04);
  --shadow-md:
    0 1px 2px rgba(26, 46, 18, 0.06),
    0 4px 10px rgba(42, 61, 32, 0.07),
    0 12px 28px rgba(42, 61, 32, 0.07),
    0 24px 48px -12px rgba(107, 140, 62, 0.10);
  --shadow-lg:
    0 2px 4px rgba(26, 46, 18, 0.07),
    0 8px 18px rgba(42, 61, 32, 0.08),
    0 20px 44px rgba(42, 61, 32, 0.09),
    0 40px 80px -20px rgba(107, 140, 62, 0.14);
  --shadow-xl:
    0 2px 6px rgba(26, 46, 18, 0.08),
    0 12px 28px rgba(42, 61, 32, 0.10),
    0 32px 64px rgba(42, 61, 32, 0.12),
    0 64px 120px -24px rgba(201, 162, 39, 0.10);
  --glow-lemon: 0 0 32px rgba(201, 162, 39, 0.25);

  /* Rhythm */
  --header-gap: 64px;

  /* Typography */
  --font-headline: 'Bricolage Grotesque', sans-serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;
  --font-label:    'Space Grotesk', sans-serif;

  /* Spacing */
  --section-pad: clamp(64px, 8vw, 120px);
  --container:   1200px;
  --gap-sm:  12px;
  --gap-md:  24px;
  --gap-lg:  48px;
  --gap-xl:  80px;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:  0.18s;
  --dur-mid:   0.35s;
  --dur-slow:  0.6s;

  /* Nav */
  --nav-height: 76px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Film grain — kills the flat-vector feel and gradient banding; felt, not seen ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--lemon); border-radius: 3px; }

/* ── Selection ── */
::selection { background: var(--lemon); color: var(--forest); }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── Section spacing ── */
.section { padding: var(--section-pad) 0; }

/* ── Section label ── */
.section-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lemon);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lemon);
  border-radius: 2px;
}

/* ── Typography ── */
.headline-xl {
  font-family: var(--font-headline);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.headline-lg {
  font-family: var(--font-headline);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.headline-md {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}
.headline-sm {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}
.body-lg  { font-size: 18px; line-height: 1.7; color: var(--text-body); }
.body-md  { font-size: 16px; line-height: 1.65; color: var(--text-body); }
.body-sm  { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.accent   { color: var(--lemon); font-style: italic; }
.accent-green { color: var(--grove); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all var(--dur-mid) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
/* Diagonal light sweep — travels once across the face per hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease-out);
  pointer-events: none;
}
.btn:hover::before { left: 130%; }

.btn-primary {
  background: var(--grove);
  color: var(--cream);
  box-shadow:
    0 1px 2px rgba(26, 46, 18, 0.2),
    0 4px 14px rgba(107, 140, 62, 0.30),
    0 10px 32px -8px rgba(107, 140, 62, 0.35);
}
.btn-primary:hover {
  background: var(--grove-mid);
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(26, 46, 18, 0.22),
    0 8px 20px rgba(107, 140, 62, 0.40),
    0 18px 44px -8px rgba(107, 140, 62, 0.45);
}

.btn-lemon {
  background: var(--lemon);
  color: var(--forest);
  box-shadow:
    0 1px 2px rgba(122, 94, 15, 0.25),
    0 4px 14px rgba(201, 162, 39, 0.32),
    0 10px 36px -6px rgba(201, 162, 39, 0.40);
}
.btn-lemon:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow:
    0 2px 4px rgba(122, 94, 15, 0.28),
    0 8px 22px rgba(201, 162, 39, 0.45),
    0 20px 52px -8px rgba(232, 212, 77, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--lemon);
}
.btn-outline:hover {
  background: var(--lemon);
  color: var(--forest);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--cream);
}

.btn-lg { padding: 18px 36px; font-size: 15px; }
.btn-icon { padding: 14px 14px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Tags / Badges ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--lemon-light);
  color: var(--grove-mid);
}
.tag-forest {
  background: rgba(42, 61, 32, 0.08);
  color: var(--forest);
}

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  /* Always-on glassmorphism */
  background: rgba(255, 253, 245, 0.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6),
    0 4px 32px rgba(42, 61, 32, 0.07),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: background var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease),
              border-color var(--dur-mid) var(--ease),
              backdrop-filter var(--dur-mid) var(--ease);
}
.nav.scrolled {
  background: rgba(255, 253, 245, 0.88);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9),
    0 8px 40px rgba(42, 61, 32, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.95);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-img {
  height: 42px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast), background var(--dur-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--lemon);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--dur-mid) var(--ease-out);
}
.nav-link:hover { color: var(--forest); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--forest); font-weight: 600; }

/* Nav CTA */
.nav-cta { margin-left: 16px; }

/* Mobile Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: all var(--dur-mid) var(--ease-out);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--sage);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.nav-mobile-link {
  font-family: var(--font-headline);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--forest);
  padding: 12px 24px;
  transition: color var(--dur-fast);
}
.nav-mobile-link:hover { color: var(--lemon); }
.nav-mobile-cta { margin-top: 24px; }

/* ══════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: var(--cream);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* ── Melbourne Skyline Slideshow Background ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Ken Burns per-slide — zoom-out that settles at native scale (scale(1))
   so the held frame renders crisp instead of GPU-stretched mid-zoom.
   Duration is shorter than the slide interval so every slide reaches rest. */
.hero-slide:nth-child(1).active img { animation: kb-settle-a 7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.hero-slide:nth-child(2).active img { animation: kb-settle-b 7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }
.hero-slide:nth-child(3).active img { animation: kb-settle-c 7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards; }

/* Gradient overlays — readability scrim on the left, skyline stays vivid center/right */
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Left scrim: holds through the text column, then fades so the skyline dominates */
    linear-gradient(
      to right,
      rgba(255,253,245,0.90) 0%,
      rgba(255,253,245,0.80) 28%,
      rgba(255,253,245,0.50) 52%,
      rgba(255,253,245,0.12) 76%,
      rgba(255,253,245,0.00) 100%
    ),
    /* Gentle top/bottom vignette; bottom melts into the sage wave divider */
    linear-gradient(
      to bottom,
      rgba(255,253,245,0.10) 0%,
      transparent 24%,
      transparent 66%,
      rgba(240,244,232,0.55) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* Dot grid overlay — sits above slideshow */
.hero-dot-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.4;
  background-image:
    radial-gradient(circle, rgba(201,162,39,0.30) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%,
    black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%,
    black 30%, transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 100px;
  width: 100%;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 8px;
  margin-bottom: 28px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lemon);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--lemon);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(52px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 28px;
  /* Soft cream halo keeps dark text crisp over the live skyline */
  text-shadow: 0 1px 1px rgba(255,253,245,0.9), 0 2px 22px rgba(255,253,245,0.65);
}
.hero-title .line-lemon {
  color: var(--lemon);
  font-style: italic;
  display: block;
  text-shadow: 0 1px 2px rgba(42,61,32,0.12), 0 2px 20px rgba(255,253,245,0.55);
}

.hero-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 520px;
  margin-bottom: 40px;
  text-shadow: 0 1px 16px rgba(255,253,245,0.7);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.hero-trust-check {
  width: 18px; height: 18px;
  background: var(--lemon-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--grove);
  font-size: 10px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  width: 100%;
  max-width: 420px;         /* smaller than before */
  aspect-ratio: 4/3.3;
  /* Fully visible, framed feature image — static; entrance + hover are the only motion */
  opacity: 1;
  filter: drop-shadow(0 24px 54px rgba(42,61,32,0.28));
  transition: filter 0.4s ease;
}
.hero-img-wrap:hover {
  filter: drop-shadow(0 30px 62px rgba(42,61,32,0.34)) brightness(1.03);
}

/* Actual image container (overflow hidden for border-radius) */
.hero-img-wrap .hero-img-inner {
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  /* Whisper-soft left edge so the frame nestles into the skyline without going transparent */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0.86) 0%,
    black 10%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0,0,0,0.86) 0%,
    black 10%
  );
}

.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-lg);
}

/* Subtle inner frame */
.hero-img-wrap .hero-img-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0%,
    transparent 50%,
    rgba(201,162,39,0.05) 100%
  );
  pointer-events: none;
  border-radius: var(--radius-lg);
}

/* Corner bracket accents */
.hero-img-bracket {
  position: absolute;
  width: 18px; height: 18px;
  pointer-events: none;
  z-index: 10;
  opacity: 0.6;
}
.hero-img-bracket::before,
.hero-img-bracket::after {
  content: '';
  position: absolute;
  background: var(--lemon);
  border-radius: 1px;
}
.hero-img-bracket--tl { top: -4px; left: -4px; }
.hero-img-bracket--tl::before { width: 2px; height: 100%; top: 0; left: 0; }
.hero-img-bracket--tl::after  { width: 100%; height: 2px; top: 0; left: 0; }

.hero-img-bracket--tr { top: -4px; right: -4px; }
.hero-img-bracket--tr::before { width: 2px; height: 100%; top: 0; right: 0; }
.hero-img-bracket--tr::after  { width: 100%; height: 2px; top: 0; right: 0; }

.hero-img-bracket--bl { bottom: -4px; left: -4px; }
.hero-img-bracket--bl::before { width: 2px; height: 100%; bottom: 0; left: 0; }
.hero-img-bracket--bl::after  { width: 100%; height: 2px; bottom: 0; left: 0; }

.hero-img-bracket--br { bottom: -4px; right: -4px; }
.hero-img-bracket--br::before { width: 2px; height: 100%; bottom: 0; right: 0; }
.hero-img-bracket--br::after  { width: 100%; height: 2px; bottom: 0; right: 0; }

/* Floating stat card — frosted glass so the live skyline reads through it */
.hero-stat-card {
  position: absolute;
  bottom: -24px;
  left: -28px;
  background: linear-gradient(135deg, rgba(255,253,245,0.82) 0%, rgba(255,253,245,0.62) 100%);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 0 0 1.5px rgba(201,162,39,0.35),
    0 4px 12px rgba(26,46,18,0.08),
    0 16px 40px rgba(42,61,32,0.16);
  z-index: 10;
}
@supports not (backdrop-filter: blur(1px)) {
  .hero-stat-card { background: rgba(255,253,245,0.94); }
}
.hero-stat-num {
  font-family: var(--font-label);
  font-size: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--grove);
  background: linear-gradient(170deg, var(--grove) 0%, var(--grove-mid) 55%, var(--lemon) 125%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-label);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  white-space: nowrap;
}

/* Organic wavy divider */
.wave-divider {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.wave-divider svg { display: block; width: 100%; }

/* ══════════════════════════════════════════
   MISSION SECTION
══════════════════════════════════════════ */
.mission {
  background:
    radial-gradient(ellipse 85% 50% at 50% -12%, rgba(255,255,255,0.75) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 105%, rgba(212,232,160,0.35) 0%, transparent 60%),
    var(--sage);
  padding: var(--section-pad) 0;
  position: relative;
  text-align: center;
}
.mission-quote {
  font-family: var(--font-headline);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  font-style: italic;
  color: var(--grove);
  max-width: 800px;
  margin: 0 auto var(--header-gap);
  line-height: 1.5;
}
.mission-quote::before { content: '\201C'; }
.mission-quote::after  { content: '\201D'; }

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}
.mission-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mission-pillar-icon {
  width: 56px; height: 56px;
  background: var(--lemon);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(201,162,39,0.3);
}
.mission-pillar-title {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}
.mission-pillar-sub {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   SERVICES / CAPABILITY CARDS
══════════════════════════════════════════ */
.capabilities {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(240,244,232,0.8) 0%, transparent 55%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.capabilities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: var(--header-gap);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cap-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--lemon);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,162,39,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
}
.cap-card:hover {
  border-color: transparent;
  border-left-color: var(--lemon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cap-card:hover::before { opacity: 1; }

/* Edge-lit gradient ring on hover — follows the radius via mask-composite */
.cap-card::after,
.portfolio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(150deg,
    rgba(232, 212, 77, 0.95) 0%,
    rgba(201, 162, 39, 0.55) 35%,
    rgba(201, 162, 39, 0.12) 60%,
    rgba(107, 140, 62, 0.45) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease);
  pointer-events: none;
}
.cap-card:hover::after,
.portfolio-card:hover::after { opacity: 1; }

.cap-card-icon {
  width: 48px; height: 48px;
  background: rgba(201,162,39,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background var(--dur-mid);
}
.cap-card:hover .cap-card-icon { background: rgba(201,162,39,0.2); }

.cap-card-num {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  color: var(--lemon);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.cap-card-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.cap-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   PROCESS SECTION (dark)
══════════════════════════════════════════ */
.process {
  background:
    radial-gradient(ellipse 90% 60% at 18% -10%, rgba(201,162,39,0.16) 0%, rgba(201,162,39,0.05) 38%, transparent 68%),
    radial-gradient(ellipse 70% 55% at 85% 110%, rgba(107,140,62,0.14) 0%, transparent 60%),
    linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
/* Edge vignette — above the bg image, below content (.process-inner is z-index:2) */
.process::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(10,20,6,0.35) 100%);
}
.process-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
.process-inner { position: relative; z-index: 2; }

.process .section-label { color: var(--lemon); }
.process .section-label::before { background: var(--lemon); }

.process-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--lemon);
  margin-bottom: 72px;
  letter-spacing: -0.02em;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
/* Dim track — the path not yet travelled */
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: rgba(201, 162, 39, 0.18);
  z-index: 0;
}
/* Progress line — draws as the visitor scrolls through the section */
.process-steps::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--lemon), var(--lemon-bright));
  box-shadow: 0 0 12px rgba(232, 212, 77, 0.5);
  transform: scaleX(var(--process-progress, 0));
  transform-origin: left center;
  z-index: 0;
}
/* Steps ignite in sequence as the line reaches them */
.process-steps .process-step.visible:not(.lit) { opacity: 0.35; }
.process-step { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease-out); }
.process-step:not(.lit) .process-step-num { filter: none; }
.process-step.lit .process-step-num { filter: drop-shadow(0 0 18px rgba(201, 162, 39, 0.45)); }

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; }

.process-step-num {
  font-family: var(--font-label);
  font-size: 52px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--lemon);
  background: linear-gradient(180deg, var(--lemon-bright) 0%, var(--lemon) 60%, var(--amber) 120%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(201, 162, 39, 0.35));
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
}
.process-step-num::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 32px; height: 3px;
  background: var(--lemon);
  border-radius: 2px;
}
.process-step-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
  margin-top: 16px;
  line-height: 1.3;
}
.process-step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 253, 245, 0.6);
}

/* ══════════════════════════════════════════
   STATS SECTION
══════════════════════════════════════════ */
.stats {
  background:
    radial-gradient(ellipse 85% 50% at 50% -12%, rgba(255,255,255,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 50% 108%, rgba(226,235,208,0.5) 0%, transparent 60%),
    var(--sage);
  padding: var(--section-pad) 0;
}
.stats-header {
  text-align: center;
  margin-bottom: var(--header-gap);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-item:last-child::after { display: none; }
.stat-num {
  font-family: var(--font-label);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--grove); /* fallback if clip unsupported */
  background: linear-gradient(170deg, var(--grove) 0%, var(--grove-mid) 55%, var(--lemon) 125%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-family: var(--font-label);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   PORTFOLIO / TRUSTED BY
══════════════════════════════════════════ */
.portfolio {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(240,244,232,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 65% 40% at 50% 106%, rgba(107,140,62,0.06) 0%, transparent 60%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: var(--header-gap);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.portfolio-card {
  display: block;
  color: inherit;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--dur-mid) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.portfolio-card:hover {
  border-color: transparent;
  border-left-color: var(--lemon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.portfolio-card-country {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grove-mid);
  background: var(--sage-mid);
  border: 1px solid rgba(107, 140, 62, 0.25);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.portfolio-card-name {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.portfolio-card-sector {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}
.portfolio-card-link {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  color: var(--lemon);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--dur-fast);
}
.portfolio-card-link:hover { gap: 9px; }

/* ══════════════════════════════════════════
   TECH DECOR — one whispered circuit motif per
   alternating section; the others breathe.
══════════════════════════════════════════ */
.mission, .capabilities, .stats, .portfolio {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Keep all real content above the decorative layers */
.mission  > .container,
.capabilities > .container,
.stats    > .container,
.portfolio > .container { position: relative; z-index: 1; }

.capabilities::after,
.stats::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.capabilities::after {
  top: -34px; right: -54px; width: 320px; height: 320px;
  background-image: url(../assets/images/deco-circuit.svg);
  opacity: 0.35;
}
.stats::after {
  top: 34px; right: 2%; width: 340px; height: 190px;
  background-image: url(../assets/images/deco-nodes.svg);
  opacity: 0.35;
}

/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 28%, rgba(232,212,77,0.14) 0%, rgba(201,162,39,0.05) 40%, transparent 70%),
    linear-gradient(180deg, var(--grove) 0%, var(--grove-mid) 55%, var(--forest) 100%);
  text-align: center;
}
.cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  filter: contrast(1.1) brightness(0.9);
}
/* Warm tint + vignette above the image, below .cta-inner (z-index:2) */
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(201,162,39,0.10) 0%, transparent 30%, transparent 70%, rgba(26,46,18,0.45) 100%),
    radial-gradient(ellipse 130% 100% at 50% 50%, transparent 60%, rgba(20,34,12,0.30) 100%);
}
/* The lemon button glows against the darkened band */
.cta-band .btn-lemon { box-shadow: 0 4px 16px rgba(201,162,39,0.35), 0 0 48px rgba(232,212,77,0.25); }
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-band .section-label { color: rgba(255,253,245,0.7); justify-content: center; }
.cta-band .section-label::before { background: rgba(255,253,245,0.5); }

.cta-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,253,245,0.8);
  margin-bottom: 44px;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background:
    radial-gradient(ellipse 70% 26% at 50% 0%, rgba(201,162,39,0.10) 0%, rgba(201,162,39,0.03) 45%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 12% 100%, rgba(107,140,62,0.10) 0%, transparent 60%),
    var(--forest-deep);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
/* Light leaking under a door: the strip blooms downward */
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--grove) 18%, var(--lemon) 50%, var(--grove) 82%, transparent);
  box-shadow: 0 0 18px 2px rgba(201,162,39,0.35), 0 0 60px 8px rgba(201,162,39,0.12);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand {}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo-text {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 700;
  color: var(--cream);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,253,245,0.55);
  max-width: 260px;
  margin-bottom: 28px;
  font-style: italic;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,253,245,0.6);
  margin-bottom: 10px;
}
.footer-contact-item svg { color: var(--lemon); flex-shrink: 0; width: 16px; height: 16px; }

.footer-col-title {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lemon);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  font-size: 14px;
  color: rgba(255,253,245,0.55);
  transition: color var(--dur-fast);
  line-height: 1.4;
}
.footer-link:hover { color: var(--lemon); }

.footer-bottom {
  border-top: 1px solid rgba(255,253,245,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,253,245,0.35);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-link {
  font-size: 13px;
  color: rgba(255,253,245,0.35);
  transition: color var(--dur-fast);
}
.footer-bottom-link:hover { color: rgba(255,253,245,0.7); }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 15% 20%, rgba(255,255,255,0.65) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 90% 110%, rgba(201,162,39,0.09) 0%, transparent 60%),
    var(--sage);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  mix-blend-mode: multiply;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.page-hero-title {
  font-family: var(--font-headline);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 600px;
}

/* ══════════════════════════════════════════
   LEGAL / PROSE PAGES (Privacy, Terms)
══════════════════════════════════════════ */
.legal {
  background:
    radial-gradient(ellipse 80% 40% at 50% -8%, rgba(240,244,232,0.7) 0%, transparent 55%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.legal-inner { max-width: 780px; }
.legal-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.3);
  border-left: 4px solid var(--lemon);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 48px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
.legal-note strong { color: var(--text-primary); }
.legal-updated {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
}
.legal h2 {
  font-family: var(--font-headline);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p { margin-bottom: 16px; color: var(--text-body); }
.legal ul { margin: 0 0 16px; padding-left: 4px; }
.legal ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-body);
  line-height: 1.6;
}
.legal ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 10px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lemon);
}
.legal a { color: var(--grove); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--lemon); }

/* ══════════════════════════════════════════
   ABOUT PAGE SPECIFIC
══════════════════════════════════════════ */
.about-vision {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(240,244,232,0.8) 0%, transparent 55%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.about-split-visual img { width: 100%; height: 100%; object-fit: cover; }

.about-blockquote {
  font-family: var(--font-headline);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  font-style: italic;
  color: var(--grove);
  line-height: 1.5;
  border-left: 4px solid var(--lemon);
  padding-left: 28px;
  margin: 28px 0;
}

.about-purpose {
  background:
    radial-gradient(ellipse 90% 60% at 82% -10%, rgba(201,162,39,0.14) 0%, transparent 62%),
    radial-gradient(ellipse 70% 55% at 10% 110%, rgba(107,140,62,0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.about-purpose-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.about-purpose-inner { position: relative; z-index: 2; max-width: 760px; }
.about-purpose .section-label { color: var(--lemon); }
.about-purpose .section-label::before { background: var(--lemon); }
.about-purpose-text {
  font-family: var(--font-headline);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.about-values {
  background:
    radial-gradient(ellipse 85% 50% at 50% -12%, rgba(255,255,255,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 50% 108%, rgba(226,235,208,0.5) 0%, transparent 60%),
    var(--sage);
  padding: var(--section-pad) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: var(--header-gap);
}
.value-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--dur-mid) var(--ease-out);
}
.value-card:hover {
  border-color: var(--lemon);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon { font-size: 32px; margin-bottom: 16px; }
.value-title {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.value-desc { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

/* ══════════════════════════════════════════
   SERVICES PAGE SPECIFIC
══════════════════════════════════════════ */
.services-pillars {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(240,244,232,0.8) 0%, transparent 55%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.pillar {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  overflow: hidden;
  transition: box-shadow var(--dur-mid) var(--ease);
}
.pillar:hover { box-shadow: var(--shadow-md); }
.pillar.open { box-shadow: var(--shadow-md); border-color: var(--lemon); }

.pillar-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 36px;
  cursor: pointer;
  user-select: none;
  background: var(--cream);
  transition: background var(--dur-fast);
}
.pillar-header:hover { background: rgba(201,162,39,0.04); }
.pillar.open .pillar-header { background: rgba(201,162,39,0.06); border-bottom: 1px solid var(--lemon-light); }

.pillar-icon {
  width: 56px; height: 56px;
  background: rgba(201,162,39,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: background var(--dur-mid);
}
.pillar.open .pillar-icon { background: var(--lemon); }

.pillar-header-text { flex: 1; }
.pillar-num {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 700;
  color: var(--lemon);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pillar-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.pillar-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.pillar-chevron {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-mid) var(--ease-out);
  flex-shrink: 0;
  color: var(--text-muted);
}
.pillar.open .pillar-chevron {
  background: var(--lemon);
  border-color: var(--lemon);
  color: var(--forest);
  transform: rotate(180deg);
}

.pillar-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.pillar.open .pillar-body { max-height: 600px; }

.pillar-content {
  padding: 36px 36px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.pillar-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
}
.pillar-list { display: flex; flex-direction: column; gap: 10px; }
.pillar-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.pillar-list-item::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--lemon);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ══════════════════════════════════════════
   PORTFOLIO PAGE SPECIFIC
══════════════════════════════════════════ */
.portfolio-page {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(240,244,232,0.75) 0%, transparent 55%),
    radial-gradient(ellipse 65% 40% at 50% 106%, rgba(107,140,62,0.06) 0%, transparent 60%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all var(--dur-fast);
  cursor: pointer;
  background: var(--cream);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--lemon);
  border-color: var(--lemon);
  color: var(--forest);
}

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-full-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--lemon);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--dur-mid) var(--ease-out);
}
.portfolio-full-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--lemon);
}
.portfolio-full-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.portfolio-full-card-name {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.portfolio-full-card-flag {
  font-family: var(--font-label);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--grove-mid);
  background: var(--sage-mid);
  border: 1px solid rgba(107, 140, 62, 0.25);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  line-height: 1.4;
  flex-shrink: 0;
}
.portfolio-full-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.portfolio-full-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.portfolio-full-card-link {
  flex-basis: 100%;
  margin-top: 4px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  color: var(--grove);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--dur-fast), gap var(--dur-fast);
}
.portfolio-full-card-link:hover { color: var(--lemon); gap: 9px; }

/* ══════════════════════════════════════════
   CONTACT PAGE SPECIFIC
══════════════════════════════════════════ */
.contact-section {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(240,244,232,0.8) 0%, transparent 55%),
    var(--cream);
  padding: var(--section-pad) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--sage);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text-primary);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--lemon);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}
.form-input.error,
.form-select.error,
.form-textarea.error { border-color: #e05252; box-shadow: 0 0 0 3px rgba(224,82,82,0.1); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { font-size: 12px; color: #e05252; margin-top: 2px; }
.form-success {
  background: rgba(107,140,62,0.1);
  border: 1.5px solid var(--grove);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--grove);
  display: none;
}
.form-success.visible { display: block; }
.form-fail {
  background: rgba(224, 82, 82, 0.08);
  border: 1.5px solid #e05252;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  color: #c04040;
  display: none;
}
.form-fail a { text-decoration: underline; text-underline-offset: 3px; }
.form-fail.visible { display: block; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 14px;
}

/* Contact info */
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-title {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.contact-info-sub { font-size: 16px; color: var(--text-body); line-height: 1.7; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  background: rgba(201,162,39,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-detail-label {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  color: var(--lemon);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Melbourne Skyline Ken Burns animations */
@keyframes kb-settle-a {
  from { transform: scale(1.07) translate(-1.5%, -1%); }
  to   { transform: scale(1)    translate(0%,     0%); }
}
@keyframes kb-settle-b {
  from { transform: scale(1.07) translate(1.5%,  -1%); }
  to   { transform: scale(1)    translate(0%,     0%); }
}
@keyframes kb-settle-c {
  from { transform: scale(1.07) translate(0%,   1.5%); }
  to   { transform: scale(1)    translate(0%,     0%); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slide-right {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll animation classes */
.anim-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}
.anim-fade-in.visible { opacity: 1; }
.anim-scale-in {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.anim-scale-in.visible { opacity: 1; transform: scale(1); }
.anim-slide-right {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.anim-slide-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > * { transition-delay: 0s; }
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ══════════════════════════════════════════
   PARTNER TICKER — the seam between hero and mission
══════════════════════════════════════════ */
.marquee-band {
  position: relative;
  background: var(--sage);
  padding: 20px 0;
  overflow: hidden;
}
/* Edge fades so names dissolve instead of clipping */
.marquee-band::before,
.marquee-band::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 12vw, 160px);
  z-index: 2;
  pointer-events: none;
}
.marquee-band::before { left: 0;  background: linear-gradient(90deg,  var(--sage), rgba(240, 244, 232, 0)); }
.marquee-band::after  { right: 0; background: linear-gradient(270deg, var(--sage), rgba(240, 244, 232, 0)); }

.marquee { display: flex; width: max-content; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
  animation: marquee-scroll 42s linear infinite;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
.marquee-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--lemon);
  opacity: 0.7;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ══════════════════════════════════════════
   HERO HEADLINE — masked line rise on load
══════════════════════════════════════════ */
.hero-title .line-mask {
  display: block;
  overflow: hidden;
  /* keep descenders un-clipped inside the mask */
  padding-block-end: 0.09em;
  margin-block-end: -0.09em;
}
.hero-title .line-inner {
  display: block;
  transform: translateY(112%);
  animation: line-rise 0.9s var(--ease-out) 0.15s forwards;
}
.hero-title .line-mask:nth-child(2) .line-inner { animation-delay: 0.28s; }
@keyframes line-rise { to { transform: translateY(0); } }

/* ══════════════════════════════════════════
   SCROLL PROGRESS — hairline under the top edge
══════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 1200;
  background: linear-gradient(90deg, var(--grove), var(--lemon));
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   SCROLL-DRIVEN PARALLAX — native CSS timelines
   (progressive enhancement; no JS, no library)
══════════════════════════════════════════ */
@supports (animation-timeline: view()) {
  .capabilities::after {
    animation: decor-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .stats::after {
    animation: decor-drift-soft linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  .cta-bg-img {
    animation: cta-settle linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
}
@keyframes decor-drift      { from { transform: translateY(56px); } to { transform: translateY(-56px); } }
@keyframes decor-drift-soft { from { transform: translateY(36px); } to { transform: translateY(-36px); } }
@keyframes cta-settle       { from { transform: scale(1.1); }       to { transform: scale(1); } }

/* ══════════════════════════════════════════
   ICON DELIGHT — icons tilt awake on card hover
══════════════════════════════════════════ */
.cap-card-icon svg, .value-icon svg, .pillar-icon svg, .mission-pillar-icon svg {
  transition: transform var(--dur-mid) var(--ease-spring);
}
.cap-card:hover .cap-card-icon svg,
.value-card:hover .value-icon svg,
.pillar:hover .pillar-icon svg,
.mission-pillar:hover .mission-pillar-icon svg {
  transform: rotate(-8deg) scale(1.12);
}

/* ══════════════════════════════════════════
   COOKIE CONSENT — bottom-left glass card
══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1300;
  max-width: 400px;
  background: linear-gradient(135deg, rgba(255,253,245,0.92) 0%, rgba(255,253,245,0.84) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-lg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 0 0 1.5px rgba(201,162,39,0.22),
    var(--shadow-xl);
  padding: 22px 24px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-banner-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 16px;
}
.cookie-banner-text strong {
  display: block;
  font-family: var(--font-headline);
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cookie-banner-text a {
  color: var(--grove);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-text a:hover { color: var(--lemon); }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 13px; }
@media (max-width: 520px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ══════════════════════════════════════════
   404 — a wrong turn, kept on-brand
══════════════════════════════════════════ */
.not-found {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(255,255,255,0.7) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 110%, rgba(201,162,39,0.08) 0%, transparent 60%),
    var(--sage);
}
.not-found::after {
  content: '';
  position: absolute;
  top: 10%; right: -60px;
  width: 340px; height: 340px;
  background: url(../assets/images/deco-circuit.svg) no-repeat center / contain;
  opacity: 0.3;
  pointer-events: none;
}
.not-found-inner { position: relative; z-index: 1; max-width: 640px; }
.not-found-code {
  font-family: var(--font-label);
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
  background: linear-gradient(170deg, var(--grove) 0%, var(--grove-mid) 55%, var(--lemon) 125%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.not-found-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-wrap: balance;
}
.not-found-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 460px;
}
.not-found-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   GLOBAL CRAFT — typography, a11y, motion guard
══════════════════════════════════════════ */
/* Inline SVG icon set — brand ink, sized per chip */
.mission-pillar-icon svg { width: 24px; height: 24px; }
.cap-card-icon svg, .value-icon svg, .pillar-icon svg, .contact-detail-icon svg { width: 22px; height: 22px; }
.mission-pillar-icon, .cap-card-icon, .value-icon, .pillar-icon, .contact-detail-icon { color: var(--forest); }
.hero-trust-check svg { width: 10px; height: 10px; }

/* Ragged headline lines balance themselves */
.headline-xl, .headline-lg, .headline-md,
.hero-title, .cta-title, .process-title, .page-hero-title {
  text-wrap: balance;
}

/* Keyboard focus — branded, visible, never a default blue ring */
:focus-visible {
  outline: 2px solid var(--lemon);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { outline-offset: 2px; }

/* Reduced motion — the site must be fully usable frozen */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn::before { display: none; }
  /* Scroll-reveal elements appear instantly instead of waiting for JS */
  .anim-fade-up, .anim-fade-in, .anim-scale-in, .anim-slide-right {
    opacity: 1 !important;
    transform: none !important;
  }
  /* Scroll-timeline parallax ignores duration overrides — kill explicitly */
  .capabilities::after, .stats::after, .cta-bg-img { animation: none !important; }
  /* Process steps read fully lit rather than choreographed */
  .process-steps .process-step.visible:not(.lit) { opacity: 1; }
}

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.text-center { text-align: center; }
.text-lemon  { color: var(--lemon); }
.text-grove  { color: var(--grove); }
.text-cream  { color: var(--cream); }
.text-muted  { color: var(--text-muted); }
.italic      { font-style: italic; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }

/* Divider line */
.divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid    { grid-template-columns: repeat(3, 1fr); }
  .footer-main       { grid-template-columns: 1fr 1fr; gap: 36px; }
  .values-grid       { grid-template-columns: repeat(3, 1fr); }
  .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; gap: 48px; padding: 60px 0 80px; }
  .hero-visual       { order: -1; max-width: 500px; margin: 0 auto; }
  .hero-stat-card    { left: -12px; bottom: -16px; }
  /* Stacked layout: text sits below the image, so protect it with a
     bottom-weighted scrim while the upper skyline stays vivid. */
  .hero-slideshow::after {
    background:
      linear-gradient(
        to bottom,
        rgba(255,253,245,0.30) 0%,
        rgba(255,253,245,0.14) 24%,
        rgba(255,253,245,0.55) 48%,
        rgba(255,253,245,0.90) 72%,
        rgba(255,253,245,0.96) 100%
      );
  }
  .about-split       { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid      { grid-template-columns: 1fr; gap: 48px; }
  .process-steps     { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after  { display: none; }
  .mission-pillars   { grid-template-columns: 1fr; gap: 28px; }
  .capabilities-header { flex-direction: column; align-items: flex-start; }
  .pillar-content    { grid-template-columns: 1fr; gap: 24px; }
  .form-row          { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger          { display: flex; }
  .capabilities-grid   { grid-template-columns: 1fr; }
  .portfolio-grid      { grid-template-columns: repeat(2, 1fr); }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .footer-main         { grid-template-columns: 1fr; }
  .values-grid         { grid-template-columns: repeat(2, 1fr); }
  .process-steps       { grid-template-columns: 1fr; }
  .portfolio-header    { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .cta-actions   { flex-direction: column; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .pillar-header { padding: 24px 20px; }
  .pillar-content { padding: 24px 20px 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
