/* *,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

:root {
  /* ── Shared tokens (used by all sections) ── */
  --G: #50a03c;
  --GD: #2d6b1f;
  --GM: #3d8a2c;
  --GL: #e8f5e3;
  --GP: #f2faf0;
  --R: #dc283c;
  --RL: #fff0f1;
  --BK: #0d0d0d;
  --CH: #1c1c1c;
  --DK: #2a2a2a;
  --GR: #6b6b6b;
  --GRL: #9b9b9b;
  --BD: #e8e8e8;
  --BG: #ffffff;
  --BG2: #f8f7f4;
  --BG3: #f0eee9;
  --GOLD: #dc283c;
  --FD: "Cormorant Garamond", serif;
  --FB: "DM Sans", sans-serif;
  --FH: "Bebas Neue", sans-serif;

  /* ── Hero-specific tokens (lowercase) ── */
  --g: #50a03c;
  --gd: #2d6b1f;
  --gl: #e8f5e3;
  --gp: #f2faf0;
  --r: #dc283c;
  --au: #2d6b1f;
  --bk: #0c0c0c;
  --gy: #6b6b6b;
  --lb: #9b9b9b;
  --bd: #e2dfda;
  --w: #ffffff;
  --f1: #faf9f6;
  --fd: "Cormorant Garamond", serif;
  --fb: "DM Sans", sans-serif;
  --fh: "Bebas Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--FB);
  background: var(--BG);
  color: var(--DK);
  overflow-x: hidden;
  cursor: none;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   PRELOADER — ISOMETRIC CITY BLOCK
   Buildings assemble block-by-block on a diamond grid.
   Ground tiles first → perimeter buildings →
   flagship centre tower rises floor by floor →
   windows flicker on → flag unfurls → city is alive.
   Pure 2D isometric projection. No canvas. No 3D.
═══════════════════════════════════════════════════════ */
#pre {
  position: fixed;
  inset: 0;
  background: #060d06;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0.9s ease;
  overflow: hidden;
}

/* Blueprint dot grid behind the scene */
#pre::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(80, 160, 60, 0.18) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
}

#pre.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── SVG wrapper ── */
.pre-iso-wrap {
  width: 400px;
  height: 310px;
  position: relative;
  flex-shrink: 0;
}

.pre-iso-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Ground tiles — filled diamond, very subtle */
.iso-g {
  fill: rgba(80, 160, 60, 0.07);
  stroke: rgba(80, 160, 60, 0.28);
  stroke-width: 0.7;
  stroke-linejoin: round;
  opacity: 0;
}

/* Building left face — darkest (shadow side) */
.iso-fl {
  fill: #0b1e0b;
  stroke: rgba(80, 160, 60, 0.45);
  stroke-width: 0.8;
  stroke-linejoin: round;
  opacity: 0;
}

/* Building right face — slightly lighter */
.iso-fr {
  fill: #0e250e;
  stroke: rgba(80, 160, 60, 0.45);
  stroke-width: 0.8;
  stroke-linejoin: round;
  opacity: 0;
}

/* Building top face — lit (green tint) */
.iso-ft {
  fill: rgba(80, 160, 60, 0.15);
  stroke: rgba(80, 160, 60, 0.65);
  stroke-width: 0.9;
  stroke-linejoin: round;
  opacity: 0;
}

/* Flagship centre tower — slightly brighter faces */
.iso-fc {
  fill: #0f2810;
}
.iso-ft-flagship {
  fill: rgba(80, 160, 60, 0.28);
}

/* Penthouse cap on flagship */
.iso-ph {
  fill: #0c1e0c;
  stroke: rgba(220, 40, 60, 0.5);
}
.iso-ph-top {
  fill: rgba(220, 40, 60, 0.18);
  stroke: rgba(220, 40, 60, 0.7);
}

/* Window lines (horizontal iso-face lines) */
.iso-win {
  stroke: rgba(80, 160, 60, 0.2);
  stroke-width: 0.6;
  opacity: 0;
}

/* Lit window squares — gold squares on faces */
.iso-win-sq {
  fill: rgba(220, 40, 60, 0);
  stroke: none;
  rx: 0.5;
  opacity: 0;
}

/* Detail lines (antenna etc) */
.iso-detail {
  stroke: rgba(80, 160, 60, 0.5);
  stroke-width: 0.8;
  stroke-linecap: round;
  opacity: 0;
}

.iso-orb {
  fill: rgba(80, 160, 60, 0.6);
  stroke: none;
  opacity: 0;
}

/* Flag pole */
.iso-flagpole {
  stroke: rgba(220, 40, 60, 0.8);
  stroke-width: 1;
  stroke-linecap: round;
  opacity: 0;
}

/* Flag triangle */
.iso-flag {
  fill: rgba(220, 40, 60, 0.85);
  stroke: rgba(220, 40, 60, 0.5);
  stroke-width: 0.5;
  opacity: 0;
}

/* Ground glow rings */
.iso-glow {
  fill: none;
  stroke: rgba(80, 160, 60, 0);
  stroke-width: 1;
  opacity: 0;
}

/* ─────────────────────────────────
   KEYFRAMES
───────────────────────────────── */

/* Blocks pop into place — translate up from slightly below */
@keyframes blockPop {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floors RISE — each floor appears and translates up */
@keyframes floorRise {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Windows flicker on like a light switch */
@keyframes winOn {
  0% {
    opacity: 0;
    fill: rgba(220, 40, 60, 0);
  }
  20% {
    opacity: 1;
    fill: rgba(220, 40, 60, 0.9);
  }
  45% {
    opacity: 0.5;
    fill: rgba(220, 40, 60, 0.4);
  }
  100% {
    opacity: 1;
    fill: rgba(220, 40, 60, 0.7);
  }
}

/* Window lines appear */
@keyframes winLine {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Ground tile pop */
@keyframes tilePop {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Glow pulse after build */
@keyframes glowPulse {
  0%,
  100% {
    opacity: 0;
    stroke: rgba(80, 160, 60, 0);
  }
  50% {
    opacity: 1;
    stroke: rgba(80, 160, 60, 0.18);
  }
}

/* Flag unfurl */
@keyframes flagUp {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: 220px 56px;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: 220px 56px;
  }
}

/* ─────────────────────────────────
   ANIMATION SEQUENCE — TIMELINE
   0.05–0.55s  Ground tiles materialise (front→back)
   0.6–1.0s    Perimeter buildings pop in (D,E,F,G,A,B)
   1.1–2.6s    Flagship C rises floor 1→6
   2.6–3.0s    All windows flicker on
   3.0–3.3s    Penthouse, pole, flag, glow
   3.5s+       Label, sub, progress bar
───────────────────────────────── */

/* GROUND TILES — front row first, sweep back */
.iso-g00 {
  animation: tilePop 0.18s ease 0.05s forwards;
}
.iso-g01 {
  animation: tilePop 0.18s ease 0.08s forwards;
}
.iso-g02 {
  animation: tilePop 0.18s ease 0.08s forwards;
}
.iso-g03 {
  animation: tilePop 0.18s ease 0.1s forwards;
}
.iso-g10 {
  animation: tilePop 0.18s ease 0.12s forwards;
}
.iso-g11 {
  animation: tilePop 0.18s ease 0.15s forwards;
}
.iso-g12 {
  animation: tilePop 0.18s ease 0.15s forwards;
}
.iso-g13 {
  animation: tilePop 0.18s ease 0.18s forwards;
}
.iso-g14 {
  animation: tilePop 0.18s ease 0.2s forwards;
}
.iso-g20 {
  animation: tilePop 0.18s ease 0.22s forwards;
}
.iso-g21 {
  animation: tilePop 0.18s ease 0.25s forwards;
}
.iso-g22 {
  animation: tilePop 0.18s ease 0.25s forwards;
}
.iso-g23 {
  animation: tilePop 0.18s ease 0.28s forwards;
}
.iso-g24 {
  animation: tilePop 0.18s ease 0.3s forwards;
}
.iso-g30 {
  animation: tilePop 0.18s ease 0.33s forwards;
}
.iso-g31 {
  animation: tilePop 0.18s ease 0.36s forwards;
}
.iso-g32 {
  animation: tilePop 0.18s ease 0.36s forwards;
}
.iso-g33 {
  animation: tilePop 0.18s ease 0.39s forwards;
}
.iso-g40 {
  animation: tilePop 0.18s ease 0.42s forwards;
}
.iso-g41 {
  animation: tilePop 0.18s ease 0.45s forwards;
}
.iso-g42 {
  animation: tilePop 0.18s ease 0.48s forwards;
}

/* PERIMETER BUILDINGS — pop in as single units */
/* Building D (left) */
.iso-bD-fl1L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}
.iso-bD-fl1R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}
.iso-bD-fl1T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}
.iso-bD-fl2L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.68s forwards;
}
.iso-bD-fl2R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.68s forwards;
}
.iso-bD-fl2T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.68s forwards;
}

/* Building E (right) */
.iso-bE-fl1L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s forwards;
}
.iso-bE-fl1R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s forwards;
}
.iso-bE-fl1T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.65s forwards;
}
.iso-bE-fl2L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.73s forwards;
}
.iso-bE-fl2R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.73s forwards;
}
.iso-bE-fl2T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.73s forwards;
}

/* Building F (front-left) */
.iso-bF-fl1L {
  animation: blockPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}
.iso-bF-fl1R {
  animation: blockPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}
.iso-bF-fl1T {
  animation: blockPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s forwards;
}

/* Building G (front-right) */
.iso-bG-fl1L {
  animation: blockPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}
.iso-bG-fl1R {
  animation: blockPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}
.iso-bG-fl1T {
  animation: blockPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.75s forwards;
}

/* Building A (back-left) */
.iso-bA-fl1L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.78s forwards;
}
.iso-bA-fl1R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.78s forwards;
}
.iso-bA-fl1T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.78s forwards;
}
.iso-bA-fl2L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.86s forwards;
}
.iso-bA-fl2R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.86s forwards;
}
.iso-bA-fl2T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.86s forwards;
}
.iso-bA-det {
  animation: tilePop 0.2s ease 1s forwards;
}

/* Building B (back-right) */
.iso-bB-fl1L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.82s forwards;
}
.iso-bB-fl1R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.82s forwards;
}
.iso-bB-fl1T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.82s forwards;
}
.iso-bB-fl2L {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}
.iso-bB-fl2R {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}
.iso-bB-fl2T {
  animation: blockPop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
}
.iso-bB-det {
  animation: tilePop 0.2s ease 1.05s forwards;
}
.iso-bB-orb {
  animation: tilePop 0.2s ease 1.15s forwards;
}

/* ── FLAGSHIP C — each floor rises individually, bottom-up ── */
.iso-C-fl1L {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
.iso-C-fl1R {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}
.iso-C-fl1T {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards;
}

.iso-C-fl2L {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.28s forwards;
}
.iso-C-fl2R {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.28s forwards;
}
.iso-C-fl2T {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.33s forwards;
}

.iso-C-fl3L {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.46s forwards;
}
.iso-C-fl3R {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.46s forwards;
}
.iso-C-fl3T {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.51s forwards;
}

.iso-C-fl4L {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.64s forwards;
}
.iso-C-fl4R {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.64s forwards;
}
.iso-C-fl4T {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.69s forwards;
}

.iso-C-fl5L {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.82s forwards;
}
.iso-C-fl5R {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.82s forwards;
}
.iso-C-fl5T {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 1.87s forwards;
}

.iso-C-fl6L {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards;
}
.iso-C-fl6R {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 2s forwards;
}
.iso-C-fl6T {
  animation: floorRise 0.3s cubic-bezier(0.22, 1, 0.36, 1) 2.05s forwards;
}

/* Penthouse cap */
.iso-C-phL {
  animation: floorRise 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 2.22s forwards;
}
.iso-C-phR {
  animation: floorRise 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 2.22s forwards;
}
.iso-C-phT {
  animation: floorRise 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 2.27s forwards;
}

/* Window lines on flagship — appear subtly with faces */
.iso-C-w1,
.iso-C-w4,
.iso-C-w7,
.iso-C-w10 {
  animation: winLine 0.2s ease 1.18s forwards;
}
.iso-C-w2,
.iso-C-w5,
.iso-C-w8,
.iso-C-w11 {
  animation: winLine 0.2s ease 1.36s forwards;
}
.iso-C-w3,
.iso-C-w6,
.iso-C-w9,
.iso-C-w12 {
  animation: winLine 0.2s ease 1.54s forwards;
}

/* ── WINDOWS FLICKER ON — city lights switching on ── */
/* Flagship gold window squares */
.iso-C-wsq1 {
  animation: winOn 0.25s ease 2.5s forwards;
}
.iso-C-wsq2 {
  animation: winOn 0.25s ease 2.55s forwards;
}
.iso-C-wsq3 {
  animation: winOn 0.25s ease 2.58s forwards;
}
.iso-C-wsq4 {
  animation: winOn 0.25s ease 2.62s forwards;
}
.iso-C-wsq5 {
  animation: winOn 0.25s ease 2.52s forwards;
}
.iso-C-wsq6 {
  animation: winOn 0.25s ease 2.57s forwards;
}
.iso-C-wsq7 {
  animation: winOn 0.25s ease 2.6s forwards;
}
.iso-C-wsq8 {
  animation: winOn 0.25s ease 2.65s forwards;
}

/* Side building windows */
.iso-bA-win1 {
  animation: winOn 0.22s ease 2.68s forwards;
}
.iso-bA-win2 {
  animation: winOn 0.22s ease 2.72s forwards;
}
.iso-bA-win3 {
  animation: winOn 0.22s ease 2.75s forwards;
}
.iso-bA-win4 {
  animation: winOn 0.22s ease 2.7s forwards;
}
.iso-bB-win1 {
  animation: winOn 0.22s ease 2.73s forwards;
}
.iso-bB-win2 {
  animation: winOn 0.22s ease 2.77s forwards;
}
.iso-bB-win3 {
  animation: winOn 0.22s ease 2.8s forwards;
}
.iso-bB-win4 {
  animation: winOn 0.22s ease 2.75s forwards;
}
.iso-bD-win1 {
  animation: winOn 0.22s ease 2.82s forwards;
}
.iso-bD-win2 {
  animation: winOn 0.22s ease 2.85s forwards;
}
.iso-bE-win1 {
  animation: winOn 0.22s ease 2.83s forwards;
}
.iso-bE-win2 {
  animation: winOn 0.22s ease 2.87s forwards;
}

/* After fully lit — windows pulse gently (city alive) */
.iso-C-wsq1,
.iso-C-wsq2,
.iso-C-wsq3,
.iso-C-wsq4,
.iso-C-wsq5,
.iso-C-wsq6,
.iso-C-wsq7,
.iso-C-wsq8 {
  animation:
    winOn 0.25s ease var(--d, 2.5s) forwards,
    winBlink 4s ease-in-out 3.2s infinite;
}

@keyframes winBlink {
  0%,
  100% {
    fill: rgba(220, 40, 60, 0.7);
  }
  50% {
    fill: rgba(220, 40, 60, 0.35);
  }
}

/* FLAG POLE + FLAG */
.iso-C-pole {
  animation: tilePop 0.25s ease 3s forwards;
}
.iso-C-flag {
  animation: flagUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 3.1s forwards;
}

@keyframes flagUp {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0% 0 0);
  }
}

/* GROUND GLOW — radiates after city is complete */
.iso-glow1 {
  animation: glowPulse 2.5s ease-in-out 3.4s infinite;
}
.iso-glow2 {
  animation: glowPulse 2.5s ease-in-out 3.7s infinite;
}

/* ── LABEL, SUB, PROGRESS — stamp in after city built ── */
.pre-lbl {
  font-family: var(--FH);
  font-size: 2.4rem;
  letter-spacing: 0.42em;
  color: #fff;
  margin-top: 8px;
  margin-bottom: 5px;
  opacity: 0;
  animation: isoStamp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 3.35s forwards;
}

@keyframes isoStamp {
  from {
    opacity: 0;
    transform: scale(1.2) translateY(-6px);
    letter-spacing: 0.7em;
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    letter-spacing: 0.42em;
  }
}

.pre-sub {
  font-family: var(--FB);
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  color: var(--G);
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: isoSubIn 0.5s ease 3.62s forwards;
}

@keyframes isoSubIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pre-track {
  width: 240px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.pre-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--G), var(--GL));
  width: 0;
  animation: isoLoad 3.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
}

.pre-fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--GL);
  box-shadow: 0 0 8px var(--GL);
}

@keyframes isoLoad {
  0% {
    width: 0;
  }
  10% {
    width: 14%;
  }
  25% {
    width: 36%;
  }
  48% {
    width: 58%;
  }
  68% {
    width: 76%;
  }
  86% {
    width: 93%;
  }
  100% {
    width: 100%;
  }
}

@keyframes drawStroke {
  to {
    stroke-dashoffset: 0;
  }
}

/* @keyframes pLoad {
  0% {
    width: 0;
  }

  25% {
    width: 30%;
  }

  55% {
    width: 65%;
  }

  80% {
    width: 85%;
  }

  100% {
    width: 100%;
  }
} */

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 6%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s ease;
}

nav.sc {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 var(--BD),
    0 4px 30px rgba(0, 0, 0, 0.06);
  height: 64px;
}

.n-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.n-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--G), var(--GD));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--FH);
  font-size: 1.1rem;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.n-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: rotate(45deg) translateX(-200%);
  transition: transform 0.5s;
}

.n-logo:hover .n-box::after {
  transform: rotate(45deg) translateX(200%);
}

.n-name {
  font-family: var(--FH);
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--BK);
  line-height: 1;
}

.n-name small {
  display: block;
  font-family: var(--FB);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--G);
  font-weight: 500;
  text-transform: uppercase;
}

.n-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.n-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  transition: all 0.22s;
}

nav.sc .n-links a {
  color: var(--DK);
}

.n-links a:hover {
  color: var(--G);
  background: var(--GL);
}

.n-realtor {
  border: 1.5px solid var(--G) !important;
  color: var(--G) !important;
  border-radius: 6px;
}

.n-realtor:hover {
  background: var(--GL) !important;
}

.n-book {
  background: var(--G) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 6px;
  font-weight: 600 !important;
}

.n-book:hover {
  background: var(--GD) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(80, 160, 60, 0.35);
}

.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.hbg span {
  width: 22px;
  height: 2px;
  background: var(--BK);
  border-radius: 2px;
  transition: all 0.3s;
}

nav.sc .hbg span,
.hbg span {
  background: var(--BK);
}

.hbg-white span {
  background: #fff !important;
}

/* ─────────────────────────────────────────
   CURSOR
───────────────────────────────────────── */
#cur {
  width: 12px;
  height: 12px;
  background: var(--G);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s var(--ease),
    background 0.25s,
    width 0.2s,
    height 0.2s;
  mix-blend-mode: multiply;
}

#cur-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(80, 160, 60, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.22s ease;
}

/* ─────────────────────────────────────────
   NAV  (always-white — no .sc scroll state)
───────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  height: 72px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--bd);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-mark {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--G), var(--GD));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--FH);
  font-size: 1.15rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(80, 160, 60, 0.3);
}

.nav-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transform: rotate(45deg) translateX(-200%);
  transition: transform 0.55s;
}

.nav-logo:hover .nav-mark::after {
  transform: rotate(45deg) translateX(200%);
}

.nav-wordmark {
  font-family: var(--FH);
  font-size: 1.3rem;
  letter-spacing: 0.09em;
  color: var(--BK);
  line-height: 1;
}

.nav-wordmark small {
  display: block;
  font-family: var(--FB);
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  color: var(--G);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--GR);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--G);
  background: var(--GL);
}

.nav-pill {
  border: 1.5px solid var(--G) !important;
  color: var(--G) !important;
}

.nav-pill:hover {
  background: var(--GL) !important;
}

.nav-cta {
  background: var(--G) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 7px;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(80, 160, 60, 0.28);
}

.nav-cta:hover {
  background: var(--GD) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(80, 160, 60, 0.38);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border: none;
  background: none;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--BK);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── NAV DROPDOWN ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--GR);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 7px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--FB);
  letter-spacing: 0.01em;
}
.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: var(--G);
  background: var(--GL);
}
.nav-dropdown-toggle i.chevron {
  font-size: 0.55rem;
  transition: transform 0.22s;
}
.nav-dropdown:hover .nav-dropdown-toggle i.chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--BD);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--DK);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.18s;
}
.nav-dropdown-item:hover {
  background: var(--GL);
  color: var(--G);
}
.nav-dropdown-item i {
  width: 18px;
  text-align: center;
  color: var(--G);
  font-size: 0.78rem;
  flex-shrink: 0;
}
.nav-dropdown-item .item-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--GRL);
  margin-top: 1px;
  font-weight: 400;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--BD);
  margin: 6px 4px;
}

/* Mobile drawer (replaces old .mnav) */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 20%;
  background: var(--BG);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  padding: 32px 9% 50px;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  border-left: 1px solid var(--BD);
  box-shadow: -10px 0 60px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
}

.drawer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    to bottom,
    transparent 5%,
    var(--G) 35%,
    var(--GD) 65%,
    transparent 95%
  );
  pointer-events: none;
}

.drawer-title {
  font-family: var(--FH);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--GRL);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--BD);
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-title::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--G);
  border-radius: 2px;
  flex-shrink: 0;
}

.drawer.open {
  transform: translateX(0);
}

.drawer a {
  font-family: var(--FD);
  font-size: 2.2rem;
  color: rgba(0, 0, 0, 0.55);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--BD);
  transition: color 0.2s;
}

.drawer a:hover {
  color: var(--G);
}

.drawer-projects {
  border-bottom: 1px solid var(--BD);
  padding: 0;
}

.drawer-projects summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--FD);
  font-size: 2.2rem;
  color: rgba(0, 0, 0, 0.55);
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.drawer-projects summary::-webkit-details-marker {
  display: none;
}

.drawer-projects summary:hover {
  color: var(--G);
}

.drawer-projects summary::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 34px;
  height: 34px;
  border: 1px solid var(--GL);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: var(--G);
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}

.drawer-projects[open] summary::after {
  transform: rotate(180deg);
  background: var(--GL);
  border-color: rgba(227, 230, 228, 0.2);
}

.drawer-projects a {
  font-family: var(--FB);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--DK);
  padding: 11px 14px;
  margin: 0 0 8px 18px;
  background: var(--BG2);
  border: 1px solid var(--BD);
  border-radius: 8px;
  border-bottom: 0;
  display: flex;
  align-items: center;
}

.drawer-projects a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--GM);
  margin-right: 10px;
  flex-shrink: 0;
}

.drawer-projects a:hover {
  background: var(--GL);
  border-color: rgba(40, 220, 94, 0.2);
  color: var(--G);
}

.drawer-close {
  position: absolute;
  top: 22px;
  right: 5%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--BD);
  background: var(--BG);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--BK);
}

/* ─────────────────────────────────────────
   HERO — SPLIT LAYOUT
───────────────────────────────────────── */
/* ═══════════════════════════════════════════
   HERO  —  Dark Immersive + Blob Clip Design
═══════════════════════════════════════════ */

#hero {
  position: relative;
  min-height: 100vh;
  padding-top: 72px;
  display: grid;
  grid-template-columns: 52% 48%;
  background: var(--slide-left-bg, #f0f7ed);
  overflow: hidden;
  transition: background 0.7s ease;
  --sa: #50a03c;
  --sa-dim: #2d6b1f;
  --slide-left-bg: #f0f7ed;
  --blob-morph: 0s;
}

/* ── Animated diagonal grid pattern ── */
#hero::before {
  content: "";
  position: absolute;
  inset: -60%;
  background-image:
    linear-gradient(45deg, rgba(80, 160, 60, 0.07) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(80, 160, 60, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  animation: patternDrift 28s linear infinite;
  will-change: transform;
}

/* ── Slow-breathing radial wash ── */
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 30% 50%,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(240, 247, 237, 0.45) 45%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  animation: breatheWash 9s ease-in-out infinite alternate;
}

@keyframes patternDrift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(48px, 48px) rotate(0deg);
  }
}

@keyframes breatheWash {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ════════════════════════════════
   LEFT PANEL
════════════════════════════════ */
.hl {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 6% 90px 8%;
  z-index: 8;
  overflow: visible;
}

/* Subtle radial glow behind content */
.hl::after {
  content: "";
  position: absolute;
  width: 600px;
  height: fit-content;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(80, 160, 60, 0.13) 0%,
    transparent 65%
  );
  top: 50%;
  left: -10%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: background 0.8s ease;
}

/* Eyebrow */
.l-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease) 0.15s forwards;
}

.l-eyebrow-bar {
  width: 28px;
  height: 1.5px;
  background: var(--sa);
  border-radius: 2px;
  transition: background 0.5s ease;
}

.l-eyebrow-txt {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sa);
  transition: color 0.5s ease;
}

/* ── Headline ── */
.l-head-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 22px;
  /* min-height: clamp(200px, 68vw, 290px); */
}

.l-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(52px) skewY(2deg);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
  pointer-events: none;
  will-change: transform, opacity;
}

.l-head.is-active {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
  position: relative;
  pointer-events: auto;
}

.l-head.is-out {
  opacity: 0;
  transform: translateY(-52px) skewY(-2deg);
  position: absolute;
  pointer-events: none;
}

.l-head-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--FH);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.l-head-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sa);
  transition: background 0.5s;
}

.l-h1 {
  font-family: var(--fd);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 600;
  line-height: 1.02;
  color: #0f1a0d;
  letter-spacing: -0.01em;
}

.l-h1 em {
  font-style: italic;
  color: var(--sa);
  display: block;
  transition: color 0.5s;
}

.l-h1 .ghost {
  -webkit-text-stroke: 0.8px rgba(0, 0, 0, 0.603);
  color: transparent;
  display: block;
}

/* ── Sub-copy ── */
.l-sub-wrap {
  position: relative;
  overflow: hidden;
  min-height: 74px;
  margin-bottom: 42px;
}

.l-sub {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.9;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s var(--ease) 0.09s,
    transform 0.55s var(--ease) 0.09s;
  pointer-events: none;
}

.l-sub.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.l-sub.is-out {
  opacity: 0;
  transform: translateY(-20px);
  position: absolute;
}

/* ── CTAs ── */
.l-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

/* Per-slide CTA sets */
.l-ctas-wrap {
  position: relative;
  min-height: 54px;
  margin-bottom: 42px;
}

.l-ctas-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s var(--ease) 0.1s,
    transform 0.5s var(--ease) 0.1s;
  pointer-events: none;
  margin-bottom: 0;
}

.l-ctas-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
  animation: none;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--sa);
  color: #fff;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(80, 160, 60, 0.35);
}

.btn-solid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sa-dim);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-solid > * {
  position: relative;
  z-index: 1;
}
.btn-solid:hover::after {
  opacity: 1;
}
.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(80, 160, 60, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  padding: 13px 24px;
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(0, 0, 0, 0.16);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--sa);
  color: var(--sa);
  background: rgba(80, 160, 60, 0.08);
  transform: translateY(-2px);
}

/* ── Dots + fraction ── */
.l-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: heroFadeUp 0.75s var(--ease) 0.55s forwards;
}

.l-dots {
  display: flex;
  gap: 6px;
}

.ldot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  border: none;
  background: rgba(0, 0, 0, 0.15);
  transition: all 0.45s var(--ease);
  cursor: pointer;
  padding: 0;
}

.ldot.on {
  width: 26px;
  background: var(--sa);
}

.ldot:not(.on):hover {
  background: rgba(0, 0, 0, 0.28);
}

.l-fraction {
  margin-left: auto;
  font-family: var(--FH);
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.28);
  letter-spacing: 0.1em;
}

.l-fraction span {
  color: var(--sa);
  font-size: 1.3rem;
  vertical-align: middle;
  transition: color 0.5s ease;
}

/* Progress bar */
.l-progress {
  position: absolute;
  bottom: 0;
  left: 8%;
  right: 52%;
  height: 1.5px;
  background: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.l-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sa), var(--R));
  transition: background 0.5s ease;
}

/* Scroll hint */
.l-scroll {
  position: absolute;
  bottom: 32px;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease) 0.9s forwards;
}

.scroll-pill {
  width: 22px;
  height: 36px;
  border-radius: 11px;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  position: relative;
  /* overflow: hidden removed — was clipping the dot */
}

.scroll-pill::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  background: var(--sa);
  border-radius: 2px;
  /* Use translateX + translateY together in one property — no conflict */
  animation: bob 1.9s ease-in-out infinite;
  transition: background 0.5s ease;
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0px);
    opacity: 1;
  }
  55% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.2;
  }
}
.scroll-txt {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.3);
}

/* Counter tab on divider */
.l-tab {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.l-tab-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--FH);
  font-size: 1.1rem;
  border: 3px solid #f0f7ed;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
  transition: background 0.5s var(--ease);
}

.l-tab-of {
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.28);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

/* ── Divider ── */
.hl-divider {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 5%,
    rgba(0, 0, 0, 0.1) 25%,
    var(--sa) 50%,
    rgba(0, 0, 0, 0.1) 75%,
    transparent 95%
  );
  z-index: 5;
  transition: background 0.7s ease;
}

/* ════════════════════════════════
   RIGHT PANEL
════════════════════════════════ */
.hr {
  position: relative;
  overflow: hidden;
  background: var(--slide-left-bg, #e8f2e4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.7s ease;
}

/* Accent strip */
.hr-strip {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  z-index: 2;
  transition: background 0.7s ease;
  background: var(--sa);
}

/* Rotated side label */
.hr-side-txt {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--FH);
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  color: rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  pointer-events: none;
  z-index: 6;
}

/* ── Slide container — card stack ── */
.rs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Default: hidden behind stack */
  opacity: 0;
  z-index: 1;
  transform: translateX(110%) rotate(6deg) scale(0.88);
  transition:
    transform 0.72s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.55s cubic-bezier(0.32, 0.72, 0, 1),
    z-index 0s linear 0.72s;
}

/* The card sitting immediately BEHIND the active one */
.rs.is-behind-1 {
  opacity: 1;
  z-index: 2;
  pointer-events: none;
  transform: translateX(5%) rotate(3deg) scale(0.94);
  transition:
    transform 0.72s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Second card behind */
.rs.is-behind-2 {
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  transform: translateX(9%) rotate(5.5deg) scale(0.88);
  transition:
    transform 0.72s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

/* The active (front) card */
.rs.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
  transform: translateX(0) rotate(0deg) scale(1);
  transition:
    transform 0.72s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Card being swiped OUT to the left */
.rs.is-out {
  opacity: 0;
  z-index: 9;
  pointer-events: none;
  transform: translateX(-112%) rotate(-7deg) scale(0.88);
  transition:
    transform 0.65s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}

/* ── BLOB image wrapper ── */
.rs-blob {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Each slide gets a different clip-path blob shape */
.rs-blob-inner {
  position: absolute;
  inset: 8% 10%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.28),
    0 8px 24px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.06);
  transition:
    border-radius 0.5s ease,
    box-shadow 0.72s ease;
}

/* Active card gets lifted shadow — card popping to front feel */
.rs.is-active .rs-blob-inner {
  border-radius: 20px;
  box-shadow:
    0 56px 120px rgba(0, 0, 0, 0.32),
    0 16px 40px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.06);
}

/* Full photo inside blob */
.rs-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 9s ease;
  will-change: transform;
}

.rs.is-active .rs-photo {
  transform: scale(1.08);
}

/* Dark gradient overlay inside blob */
.rs-photo-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6, 20, 6, 0.55) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

/* Accent colour tint — changes per slide via inline style */
.rs-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.12;
  transition: background 0.8s ease;
}

/* Corner accent brackets on blob */
.rs-blob-inner::before,
.rs-blob-inner::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--sa);
  border-style: solid;
  z-index: 5;
  transition: border-color 0.5s ease;
  pointer-events: none;
}
.rs-blob-inner::before {
  top: 14px;
  left: 14px;
  border-width: 2px 0 0 2px;
}
.rs-blob-inner::after {
  bottom: 14px;
  right: 14px;
  border-width: 0 2px 2px 0;
}

/* ── Floating stat chips ── */
.rs-chip {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.rs.is-active .rs-chip {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.rs.is-active .rs-chip.c2 {
  transition-delay: 0.13s;
}
.rs.is-active .rs-chip.c3 {
  transition-delay: 0.22s;
}

/* Chip positions — asymmetric */
.rs-chip.c1 {
  top: 13%;
  right: 8%;
}
.rs-chip.c2 {
  bottom: 14%;
  left: 10%;
}
.rs-chip.c3 {
  top: 52%;
  right: 6%;
}

.rc-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
}

.ico-g {
  background: rgba(80, 160, 60, 0.25);
  color: #7fd463;
}
.ico-a {
  background: rgba(220, 40, 60, 0.22);
  color: #e8c96a;
}
.ico-r {
  background: rgba(220, 40, 60, 0.2);
  color: #f06070;
}

.rc-big {
  font-family: var(--FH);
  font-size: 1.3rem;
  color: #0f1a0d;
  line-height: 1;
}

.rc-sm {
  font-size: 0.6rem;
  color: rgba(0, 0, 0, 0.48);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* ── Diagonal ticker tape (decorative) ── */
.rs-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  height: 36px;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(100%);
  transition:
    opacity 0.6s var(--ease) 0.28s,
    transform 0.6s var(--ease) 0.28s;
}

.rs.is-active .rs-ticker {
  opacity: 1;
  transform: translateY(0);
}

/* Global ribbon — lives outside .hr, always visible */
.rs-ticker--global {
  position: relative;
  opacity: 1;
  transform: none;
  transition: none;
}

.rs-ticker-track {
  display: flex;
  gap: 0;
  animation: tickerScroll 22s linear infinite;
  white-space: nowrap;
}

.rs-ticker-item {
  font-family: var(--FH);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: rgba(0, 0, 0, 0.35);
  padding: 0 28px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rs-ticker-item span {
  color: var(--sa);
  margin: 0 10px;
  transition: color 0.5s ease;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ── Slide category label ── */
.rs-cat-pill {
  position: absolute;
  top: 8%;
  left: 10%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-family: var(--FH);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.55s var(--ease) 0.05s,
    transform 0.55s var(--ease) 0.05s;
}

.rs.is-active .rs-cat-pill {
  opacity: 1;
  transform: translateX(0);
}

.rs-cat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Card stack perspective on .hr ── */
.hr {
  perspective: 1400px;
  perspective-origin: 40% 50%;
  transform-style: preserve-3d;
}

/* Subtle depth stripe on the right edge of behind-cards — mimics card edge */
.rs.is-behind-1::after,
.rs.is-behind-2::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 10%;
  bottom: 10%;
  width: 6px;
  background: rgba(0, 0, 0, 0.09);
  border-radius: 0 4px 4px 0;
  z-index: 20;
  pointer-events: none;
}

/* ─────────────────────────────────────────
   HERO KEYFRAMES
───────────────────────────────────────── */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Explicit green override for about section button */
.about .btn-solid {
  background: var(--G);
  color: #fff;
  box-shadow: 0 6px 22px rgba(80, 160, 60, 0.3);
}

/* ─────────────────────────────────────────
   SCROLL REVEAL SYSTEM
───────────────────────────────────────── */
/* Initial hidden states */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rvl {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.rvr {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Revealed state — JS adds .on via IntersectionObserver */
.rv.on,
.rvl.on,
.rvr.on {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children when a parent has .rv-group */
.rv-group .rv:nth-child(1) {
  transition-delay: 0.05s;
}
.rv-group .rv:nth-child(2) {
  transition-delay: 0.15s;
}
.rv-group .rv:nth-child(3) {
  transition-delay: 0.25s;
}
.rv-group .rv:nth-child(4) {
  transition-delay: 0.35s;
}
.rv-group .rv:nth-child(5) {
  transition-delay: 0.45s;
}

/* ─────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--BD);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.t-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  border-right: 1px solid var(--BD);
  transition: background 0.25s;
}

.t-item:last-child {
  border-right: none;
}

.t-item:hover {
  background: var(--GP);
}

.t-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--GL);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--G);
  flex-shrink: 0;
  transition: all 0.3s;
}

.t-item:hover .t-icon {
  background: var(--G);
  color: #fff;
}

.t-num {
  font-family: var(--FH);
  font-size: 2rem;
  color: var(--G);
  line-height: 1;
}

.t-lbl {
  font-size: 0.73rem;
  color: var(--GR);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   SHARED UTILITIES
───────────────────────────────────────── */
.ew {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: 16px;
}

.ew::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--G);
  border-radius: 2px;
}

.sh2 {
  font-family: var(--FD);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--BK);
}

.sh2 span {
  color: var(--G);
  font-style: italic;
}

.sp {
  font-size: 0.92rem;
  color: var(--GR);
  line-height: 1.85;
}

.btn-od {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--DK);
  padding: 13px 26px;
  border-radius: 6px;
  border: 1.5px solid var(--BD);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-od:hover {
  border-color: var(--G);
  color: var(--G);
  background: var(--GP);
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about {
  padding: 110px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
  background: #fff;
}

.a-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 30px 0 38px;
}

.a-qc {
  background: var(--GP);
  border: 1px solid rgba(80, 160, 60, 0.15);
  border-radius: 10px;
  padding: 20px 18px;
}

.a-qc h5 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: 8px;
}

.a-qc p {
  font-family: var(--FD);
  font-size: 0.95rem;
  color: var(--DK);
  line-height: 1.55;
}

.a-vis {
  position: relative;
}

.a-img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  position: relative;
  background: linear-gradient(145deg, #c8e8c0, #7cc56a);
}

.a-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.a-flt {
  position: absolute;
  background: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 16px 20px;
}

.a-flt1 {
  bottom: -22px;
  left: -22px;
}

.a-flt2 {
  top: 36px;
  right: -22px;
}

.a-flt .fn {
  font-family: var(--FH);
  font-size: 2rem;
  color: var(--G);
  line-height: 1;
}

.a-flt .fl {
  font-size: 0.68rem;
  color: var(--GR);
  margin-top: 2px;
}

.a-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--G);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services {
  padding: 110px 6%;
  background: var(--BG2);
}

.svc-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

/* ── Desktop: plain 3-column grid ── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--BD);
  overflow: hidden;
  position: relative;
  transition: all 0.38s ease;
  cursor: pointer;
}

.svc:hover {
  border-color: var(--G);
  transform: translateY(-7px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.1);
}

/* Slider states — only active on mobile via JS */
.svc.svc-visible {
  opacity: 1;
  pointer-events: auto;
  transform: rotateY(0deg) scale(1);
}

.svc.svc-exit {
  opacity: 0;
  pointer-events: none;
  transform: rotateY(-90deg) scale(0.92);
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Service slider controls — hidden on desktop ── */
.svc-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--BD);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.svc-dot.active {
  background: var(--G);
  width: 24px;
  border-radius: 4px;
}

.svc-slide-label {
  display: none;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--GR);
  margin-top: 14px;
  font-family: var(--FB);
}

.svc-top {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Photo background layer */
.svc-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.svc:hover .svc-top::before {
  opacity: 0.38;
}

.svc:nth-child(1) .svc-top {
  background: linear-gradient(140deg, #082808, #165a16);
}

.svc:nth-child(1) .svc-top::before {
  background-image: url("../images/optimized/assetsService.webp");
}

.svc:nth-child(2) .svc-top {
  background: linear-gradient(140deg, #1a1208, #3a2e10);
}

.svc:nth-child(2) .svc-top::before {
  background-image: url("../images/optimized/johrep_aboutsall.webp");
}

.svc:nth-child(3) .svc-top {
  background: linear-gradient(140deg, #081800, #1e4800);
}

.svc:nth-child(3) .svc-top::before {
  background-image: url("../images/optimized/hero_agric.webp");
}

.svc-svg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.18;
  transition: opacity 0.4s;
  z-index: 1;
}

.svc:hover .svc-svg {
  opacity: 0.32;
}

.svc-ico {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #fff;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
  transition: all 0.38s;
}

.svc:hover .svc-ico {
  background: var(--G);
  border-color: var(--G);
  transform: scale(1.08);
}

.svc-n {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--FH);
  font-size: 3.8rem;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  z-index: 1;
}

.svc-body {
  padding: 28px 28px 32px;
}

.svc-body h3 {
  font-family: var(--FD);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--BK);
  margin-bottom: 10px;
}

.svc-body p {
  font-size: 0.85rem;
  color: var(--GR);
  line-height: 1.75;
  margin-bottom: 20px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.svc-tag {
  background: var(--GL);
  color: var(--GD);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.svc-lnk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--G);
  text-decoration: none;
  transition: gap 0.25s;
}

.svc:hover .svc-lnk {
  gap: 14px;
}

/* ─────────────────────────────────────────
   PROJECTS
───────────────────────────────────────── */
.projects {
  padding: 110px 6%;
  /* background: var(--BG2); */
}

.prj-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.prj-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ── Card shell ── */
.home-prj-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--BG);
  border: 1px solid var(--BD);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.38s var(--ease),
    box-shadow 0.38s var(--ease),
    border-color 0.38s var(--ease);
}

.home-prj-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

.prj-grid--loading .home-prj-card--placeholder {
  pointer-events: none;
}

.home-prj-card--placeholder .home-prj-media {
  background:
    linear-gradient(160deg, rgba(80, 160, 60, 0.14), rgba(17, 35, 17, 0.88)),
    linear-gradient(135deg, #112311, #1f4f1f);
}

.home-prj-card--placeholder .home-prj-title,
.home-prj-card--placeholder .home-prj-doc-title {
  color: var(--BK);
}

/* ── Media ── */
.home-prj-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(160deg, #112311, #1f4f1f);
  flex-shrink: 0;
}

.home-prj-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-prj-card:hover .home-prj-media img {
  transform: scale(1.07);
}

.home-prj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.12) 44%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* ── Top badge row ── */
.home-prj-topline {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  z-index: 2;
}

.home-prj-status,
.home-prj-flagship {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--BK);
}

.home-prj-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.home-prj-flagship {
  background: rgba(80, 160, 60, 0.94);
  color: #fff;
}

/* ── Expand icon button (bottom-right of image) ── */
.home-prj-view {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(13, 13, 13, 0.45);
  color: #fff;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.home-prj-card:hover .home-prj-view {
  background: var(--G);
  border-color: var(--G);
  transform: scale(1.1);
}

/* ── Body ── */
.home-prj-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
}

.home-prj-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 16px;
  flex: 1;
}

/* ── Title ── */
.home-prj-title {
  font-family: var(--FD);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--BK);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ── Summary text ── */
.home-prj-summary {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--GR);
}

/* ── Document badge block ── */
.home-prj-doc-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.home-prj-doc-title {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--G);
}

.home-prj-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.home-prj-doc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--GP);
  border: 1px solid rgba(80, 160, 60, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--BK);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.home-prj-doc:hover {
  background: var(--GL);
  border-color: rgba(80, 160, 60, 0.4);
}

.home-prj-doc i {
  color: var(--G);
  font-size: 0.62rem;
}

/* ── Key facts row (location + size chips) ── */
.home-prj-keyfacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
}

.home-prj-keyfact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--GR);
  background: var(--BG2);
  border: 1px solid var(--BD);
  border-radius: 8px;
  padding: 5px 11px;
  line-height: 1;
}

.home-prj-keyfact--location::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6rem;
  color: var(--G);
}

.home-prj-keyfact--size::before {
  content: "\f0b2";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.6rem;
  color: var(--R);
}

/* ── Meta items (legacy) ── */
.home-prj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.home-prj-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.home-prj-tag--re {
  background: var(--GL);
  color: var(--G);
}

.home-prj-tag--con {
  background: var(--RL);
  color: var(--R);
}

.home-prj-tag--ag {
  background: #fdf8ed;
  color: #9a7a28;
}

.home-prj-meta {
  display: grid;
  gap: 9px;
}

.home-prj-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--GR);
}

.home-prj-meta-item.location {
  font-size: 0.94rem;
  color: var(--BK);
  font-weight: 600;
}

.home-prj-meta-item i {
  width: 15px;
  text-align: center;
  color: var(--G);
  font-size: 0.72rem;
  flex-shrink: 0;
}

.home-prj-meta-item.price {
  font-size: 0.97rem;
  color: var(--BK);
  font-weight: 600;
}

.home-prj-meta-item.price i {
  color: var(--R);
}

/* ── Progress bar ── */
.home-prj-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-prj-progress-bar {
  height: 5px;
  background: var(--GL);
  border-radius: 999px;
  overflow: hidden;
}

.home-prj-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--G), var(--R));
}

.home-prj-progress-note {
  font-size: 0.72rem;
  color: var(--GRL);
}

/* ── Action footer ── */
.home-prj-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 20px;
  border-top: 1px solid var(--BD);
  margin-top: auto;
  background: var(--BG);
}

.home-prj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
  white-space: nowrap;
  flex: 1;
  border: none;
  text-decoration: none;
}

.home-prj-btn--primary {
  background: var(--G);
  color: #fff;
}

.home-prj-btn--primary:hover {
  background: var(--GD);
  transform: translateY(-1px);
}

.home-prj-btn--ghost {
  background: transparent;
  color: #25d366;
  border: 1.5px solid rgba(37, 211, 102, 0.3);
  flex: 0 0 auto;
}

.home-prj-btn--ghost:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25d366;
  transform: translateY(-1px);
}

/* ── CTA ── */
.prj-cta {
  text-align: center;
  margin-top: 52px;
}

/* ─────────────────────────────────────────
   PROJECTS — mobile slider dots & label
   (mirrors the .svc-dots / .svc-slide-label
   pattern but scoped to .prj-*)
───────────────────────────────────────── */
.prj-mobile-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.prj-mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--BD);
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    width 0.3s ease,
    border-radius 0.3s ease;
}

.prj-mobile-dot.active {
  background: var(--G);
  width: 24px;
  border-radius: 4px;
}

.prj-slide-label {
  display: none;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--GR);
  margin-top: 14px;
  font-family: var(--FB);
}

.wa-modal-open {
  overflow: hidden;
}

.wa-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.wa-lead-modal.open {
  display: block;
}

.wa-lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.68);
  backdrop-filter: blur(6px);
}

.wa-lead-dialog {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  margin: 16px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  z-index: 1;
}

.wa-lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--BD);
  background: rgba(255, 255, 255, 0.94);
  color: var(--BK);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wa-lead-head {
  padding: 28px 28px 16px;
  border-bottom: 1px solid var(--BD);
}

.wa-lead-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--G);
  margin-bottom: 10px;
}

.wa-lead-head h2 {
  font-family: var(--FD);
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  line-height: 1.1;
  color: var(--BK);
  margin-bottom: 10px;
}

.wa-lead-head p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--GR);
}

.wa-lead-form {
  padding: 24px 28px 28px;
}

.wa-lead-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.wa-lead-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.wa-lead-field span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--GRL);
}

.wa-lead-field input,
.wa-lead-field select,
.wa-lead-field textarea {
  width: 100%;
  border: 1px solid var(--BD);
  border-radius: 12px;
  padding: 14px 15px;
  font-size: 0.92rem;
  color: var(--BK);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.wa-lead-field input:focus,
.wa-lead-field select:focus,
.wa-lead-field textarea:focus {
  outline: none;
  border-color: var(--G);
  box-shadow: 0 0 0 3px rgba(80, 160, 60, 0.12);
}

.wa-lead-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 6px;
}

.wa-lead-primary,
.wa-lead-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.wa-lead-primary {
  background: #25d366;
  color: #fff;
}

.wa-lead-secondary {
  background: #fff;
  color: var(--BK);
  border: 1px solid var(--BD);
}

/* ─────────────────────────────────────────
   FOUNDER
───────────────────────────────────────── */
.founder {
  padding: 110px 6%;
  background: var(--BG2);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.f-wrap {
  position: relative;
}

.f-img {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  background: linear-gradient(150deg, #c8e8c0, #8dcc7a, #50a03c);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.f-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f-img .f-ph {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.25);
}

.f-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 60%;
  bottom: 60%;
  border-top: 2.5px solid var(--G);
  border-left: 2.5px solid var(--G);
  border-radius: 12px 0 0 0;
  z-index: 2;
}

.f-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 60%;
  top: 60%;
  border-bottom: 2.5px solid var(--G);
  border-right: 2.5px solid var(--G);
  border-radius: 0 0 12px 0;
  z-index: 2;
}

.f-badge {
  position: absolute;
  bottom: 28px;
  right: -18px;
  background: var(--G);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(80, 160, 60, 0.4);
}

.f-badge strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.f-badge span {
  font-size: 0.62rem;
  opacity: 0.8;
}

.f-name {
  font-family: var(--FD);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--BK);
  margin-bottom: 4px;
}

.f-role {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--G);
  font-weight: 600;
  margin-bottom: 28px;
}

.f-quote {
  font-family: var(--FD);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--DK);
  line-height: 1.65;
  border-left: 3px solid var(--G);
  padding-left: 22px;
  margin-bottom: 24px;
}

.f-body {
  font-size: 0.88rem;
  color: var(--GR);
  line-height: 1.85;
}

/* ─────────────────────────────────────────
   BOOK BAND
───────────────────────────────────────── */
.book {
  padding: 100px 6%;
  text-align: center;
  background: linear-gradient(135deg, var(--GD) 0%, #1e5a10 50%, #0a2a0a 100%);
  position: relative;
  overflow: hidden;
}

/* Photo layer behind gradient */
.book::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/optimized/hero_1.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.018) 50px,
    rgba(255, 255, 255, 0.018) 51px
  );
  z-index: 1;
}

.book-ico,
.book h2,
.book p,
.btn-w {
  position: relative;
  z-index: 2;
}

.book-ico {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.18);
  margin-bottom: 18px;
}

.book h2 {
  font-family: var(--FD);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.book p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 460px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.btn-w {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--GD);
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.btn-w:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

/* ─────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────── */
.testi {
  padding: 110px 6%;
  background: #fff;
}

.testi-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}

.t-orbit {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

.o-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(80, 160, 60, 0.22);
  border-radius: 50%;
  animation: spO 18s linear infinite;
}

.o-ring2 {
  position: absolute;
  inset: 30px;
  border: 1px dashed rgba(80, 160, 60, 0.12);
  border-radius: 50%;
  animation: spO 24s linear infinite reverse;
}

@keyframes spO {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.o-ctr {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--GL);
  border: 3px solid var(--G);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--FD);
  font-size: 4.5rem;
  font-style: italic;
  color: var(--G);
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 0 0 8px rgba(80, 160, 60, 0.07);
}

.o-av {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.3s;
}

.o-av:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.o-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.o-av .aph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.oa1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.oa2 {
  bottom: 14px;
  left: 2px;
}

.oa3 {
  bottom: 14px;
  right: 2px;
}

.o-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--G);
}

.od1 {
  top: 12px;
  right: 58px;
}

.od2 {
  bottom: 42px;
  left: 18px;
  opacity: 0.45;
}

.t-slides {
  position: relative;
  overflow: hidden;
  min-height: 290px;
}

.t-sl {
  display: none;
}

.t-sl.on {
  display: block;
  animation: tIn 0.5s ease;
}

@keyframes tIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.t-qm {
  font-family: var(--FD);
  font-size: 5rem;
  color: var(--GL);
  line-height: 0.8;
  margin-bottom: 10px;
  display: block;
}

.t-txt {
  font-family: var(--FD);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--DK);
  line-height: 1.75;
  margin-bottom: 26px;
}

.t-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.t-stars i {
  color: #ffd700;
  font-size: 0.85rem;
}

.t-auth {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.t-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-av .aph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.t-aname {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--BK);
}

.t-arole {
  font-size: 0.72rem;
  color: var(--GRL);
  margin-top: 2px;
}

.t-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.td {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--BD);
  transition: all 0.35s;
  cursor: pointer;
}

.td.on {
  width: 24px;
  background: var(--G);
}

.t-arrows {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.tarr {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--BD);
  background: #fff;
  color: var(--GR);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.tarr:hover {
  border-color: var(--G);
  color: var(--G);
  background: var(--GP);
}

/* ─────────────────────────────────────────
   JOIN STRIP
───────────────────────────────────────── */
.join {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.j-card {
  padding: 80px 8%;
  position: relative;
  overflow: hidden;
}

.j-card:nth-child(1) {
  background: linear-gradient(135deg, #061a06, #0f3a0f);
}

.j-card:nth-child(2) {
  background: linear-gradient(135deg, #1a1506, #3a2e0a);
}

.j-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 50px,
    rgba(255, 255, 255, 0.02) 50px,
    rgba(255, 255, 255, 0.02) 51px
  );
}

.j-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  position: relative;
}

.j-card h3 {
  font-family: var(--FD);
  font-size: 2.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  position: relative;
}

.j-card p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 28px;
  position: relative;
}

.j-feats {
  list-style: none;
  margin-bottom: 30px;
  position: relative;
}

.j-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}

.j-feats li i {
  color: var(--G);
  font-size: 0.75rem;
}

.btn-gh {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  padding: 12px 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.btn-gh:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.07);
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--BK);
  border-top: 1px solid rgba(80, 160, 60, 0.12);
  padding: 80px 6% 36px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 54px;
}

.ft-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.8;
  margin: 18px 0 26px;
  max-width: 280px;
}

.ft-soc {
  display: flex;
  gap: 8px;
}

.ft-soc a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.25s;
}

.ft-soc a:hover {
  border-color: var(--G);
  color: var(--G);
  background: rgba(80, 160, 60, 0.1);
}

.ft-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.ft-col ul {
  list-style: none;
  padding: 0;
}

.ft-col li {
  margin-bottom: 10px;
}

.ft-col a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.ft-col a i {
  color: var(--G);
  font-size: 0.65rem;
  opacity: 0;
  transition: opacity 0.25s;
}

.ft-col a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.ft-col a:hover i {
  opacity: 1;
}

.ft-cr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.ft-ci {
  color: var(--G);
  font-size: 0.9rem;
  margin-top: 1px;
}

.ft-ct {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.5;
}

.ft-btm {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.2);
}

.ft-btm a {
  color: var(--G);
  text-decoration: none;
}

/* ─────────────────────────────────────────
   WHATSAPP FAB
───────────────────────────────────────── */
.wafab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: fabP 2s ease-in-out 5s infinite;
}

.wafab:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 45px rgba(37, 211, 102, 0.55);
}

@keyframes fabP {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  #hero {
    grid-template-columns: 1fr;
    min-height: unset;
    height: auto;
  }

  #hero {
    padding-bottom: 0;
  }

  .hr {
    display: none;
  }

  .hl {
    padding: 50px 6% 80px;
    min-height: calc(100vh - 72px);
  }

  .hl-divider,
  .l-tab,
  .hr-side-txt {
    display: none;
  }

  .rs-ticker--global {
    display: flex;
  }
}

@media (max-width: 1100px) {
  .about,
  .founder {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .a-vis,
  .f-wrap {
    order: -1;
  }

  .prj-grid {
    grid-template-columns: 1fr;
  }

  .testi-wrap {
    grid-template-columns: 1fr;
  }

  .t-orbit {
    display: none;
  }

  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .svc-grid {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 480px;
  }

  .svc {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: rotateY(90deg) scale(0.92);
    transform-origin: center center;
    transform-style: preserve-3d;
    transition:
      opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotateY(90deg) scale(0.92);
  }

  .svc:hover {
    transform: rotateY(90deg) scale(0.92);
    box-shadow: none;
  }

  .svc.svc-visible {
    opacity: 1;
    pointer-events: auto;
    transform: rotateY(0deg) scale(1) !important;
  }

  .svc.svc-exit {
    opacity: 0;
    pointer-events: none;
    transform: rotateY(-90deg) scale(0.92) !important;
  }

  .svc-dots {
    display: flex;
  }

  .svc-slide-label {
    display: block;
  }

  .prj-grid {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .home-prj-card {
    /*position: absolute;*/
    /*inset: 0;*/
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(32px) scale(0.97);
    transform-origin: center center;
    transition:
      opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .home-prj-card:hover {
    transform: translateX(32px) scale(0.97);
    box-shadow: none;
  }

  .home-prj-card.prj-visible {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1) !important;
  }

  .home-prj-card.prj-exit {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-32px) scale(0.97) !important;
  }

  .prj-mobile-dots {
    display: flex;
  }

  .prj-slide-label {
    display: block;
  }
}

@media (max-width: 768px) {
  .svc-hdr,
  .prj-hdr {
    grid-template-columns: 1fr;
  }

  .wa-lead-grid {
    grid-template-columns: 1fr;
  }

  .wa-lead-head,
  .wa-lead-form {
    padding-inline: 20px;
  }

  .wa-lead-actions {
    flex-direction: column;
  }

  /* keep project card buttons side-by-side on mobile */
  .home-prj-actions {
    flex-direction: row;
  }

  .join {
    grid-template-columns: 1fr;
  }

  .ft-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    grid-template-columns: 1fr 1fr;
  }

  .t-item {
    border-right: none;
    border-bottom: 1px solid var(--BD);
  }

  .t-icon {
    display: none;
  }

  /* ── Mobile service slider ── */
  .svc-grid {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 580px;
  }

  .svc {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: rotateY(90deg) scale(0.92);
    transform-origin: center center;
    transform-style: preserve-3d;
    transition:
      opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    /* reset desktop hover lift */
    transform: rotateY(90deg) scale(0.92);
  }

  .svc:hover {
    transform: rotateY(90deg) scale(0.92);
    box-shadow: none;
  }

  .svc.svc-visible {
    opacity: 1;
    pointer-events: auto;
    transform: rotateY(0deg) scale(1) !important;
  }

  .svc.svc-exit {
    opacity: 0;
    pointer-events: none;
    transform: rotateY(-90deg) scale(0.92) !important;
  }

  .svc-dots {
    display: flex;
  }

  .svc-slide-label {
    display: block;
  }

  /* ── Mobile project slider ── */
  .prj-grid {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .home-prj-card {
    /*position: absolute;*/
    /*inset: 0;*/
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(32px) scale(0.97);
    transform-origin: center center;
    transition:
      opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .home-prj-card:hover {
    transform: translateX(32px) scale(0.97);
    box-shadow: none;
  }

  .home-prj-card.prj-visible {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1) !important;
  }

  .home-prj-card.prj-exit {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-32px) scale(0.97) !important;
  }

  .prj-mobile-dots {
    display: flex;
  }

  .prj-slide-label {
    display: block;
  }
}

@media (max-width: 600px) {
  .l-ctas,
  .l-ctas-slide {
    flex-direction: column;
  }

  .btn-solid,
  .btn-ghost {
    justify-content: center;
  }
}

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(80, 160, 60, 0.35);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(80, 160, 60, 0.6);
}
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(80, 160, 60, 0.35) transparent;
}
