/* ============================================================
   Z Innovations — brand stylesheet
   Colors: dark green #096a2e · accent lime #8abe53
   Fonts:  Archivo Semi Bold (display) · Rufina (serif accent) · Inter (body)
   ============================================================ */

/* self-hosted Google fonts (Inter, Space Grotesk) */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-greek-ext.woff2') format('woff2');unicode-range:U+1F00-1FFF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-greek-ext.woff2') format('woff2');unicode-range:U+1F00-1FFF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-greek-ext.woff2') format('woff2');unicode-range:U+1F00-1FFF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-greek-ext.woff2') format('woff2');unicode-range:U+1F00-1FFF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-greek.woff2') format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spacegrotesk-500-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spacegrotesk-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spacegrotesk-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spacegrotesk-600-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spacegrotesk-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spacegrotesk-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spacegrotesk-700-vietnamese.woff2') format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spacegrotesk-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spacegrotesk-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/Archivo-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Rufina';
  src: url('../fonts/Rufina-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

:root {
  --green: #096a2e;
  --green-bright: #0b8a3a;
  --lime: #8abe53;
  --lime-soft: rgba(138, 190, 83, 0.12);

  --bg: #060b08;
  --bg-2: #0a110d;
  --surface: #0d1611;
  --surface-2: #101b14;
  --line: rgba(138, 190, 83, 0.10);
  --line-strong: rgba(138, 190, 83, 0.28);

  --text: #eef3ef;
  --text-dim: rgba(238, 243, 239, 0.62);
  --text-faint: rgba(238, 243, 239, 0.40);

  --display: 'Archivo', system-ui, sans-serif;
  --serif: 'Rufina', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;

  --radius: 16px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  /* No overflow-x clamp here: overflow on the scroll ancestor breaks position: sticky.
     Horizontal overflow is contained per-element instead (see .hero, .pin-stage). */
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--lime); color: #06210f; }

/* ---------- Ambient background ---------- */
.bg-field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(9, 106, 46, 0.35), transparent 70%),
    radial-gradient(40% 40% at 85% 10%, rgba(138, 190, 83, 0.10), transparent 70%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(138, 190, 83, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 190, 83, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%);
}

/* ---------- Logo mark ---------- */
.mark { display: block; }
.mark svg, svg.mark { width: 100%; height: 100%; display: block; fill: currentColor; }
.brand-mark { color: var(--lime); filter: drop-shadow(0 0 0 transparent); transition: filter .4s var(--ease); }
.brand:hover .brand-mark { filter: drop-shadow(0 0 10px rgba(138, 190, 83, 0.55)); }
@keyframes shimmer {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(138,190,83,0.15)); }
  50%      { filter: drop-shadow(0 0 12px rgba(138,190,83,0.45)); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0 clamp(1rem, 4vw, 2.5rem); height: 66px;
  background: rgba(6, 11, 8, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.brand .mark { width: 30px; height: 30px; }
.brand-name { font-family: 'Space Grotesk', var(--display); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-name b { color: var(--lime); font-weight: 700; }

.nav-links { display: flex; gap: 2px; }
.nav-link {
  background: none; border: none; color: var(--text-faint);
  font-size: 0.86rem; font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--lime); background: var(--lime-soft); }

.nav-right { display: flex; align-items: center; gap: 0.6rem; }
.lang {
  background: none; border: 1px solid var(--line-strong); color: var(--text-dim);
  font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.7rem; border-radius: 8px;
  transition: all .2s;
}
.lang:hover { color: var(--text); border-color: var(--lime); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  font-weight: 600; font-size: 0.9rem; padding: 0.7rem 1.3rem; border-radius: 10px;
  border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s, background .2s, opacity .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-bright));
  color: #fff; box-shadow: 0 6px 20px -8px rgba(11, 138, 58, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(11, 138, 58, 0.85); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--lime); }
.btn-lime { background: var(--lime); color: #06210f; }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(138,190,83,0.6); }
.nav .btn { padding: 0.55rem 1.05rem; font-size: 0.84rem; }

.nav-burger { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--text); width: 40px; height: 38px; font-size: 1.2rem; }
.nav-only-mobile { display: none; } /* shown only inside the mobile menu */

/* ---------- Pages ---------- */
.page { display: none; }
.page.active { display: block; animation: pageIn .4s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime);
}
.section-title { font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.1; letter-spacing: -0.01em; margin-top: 0.7rem; }
.section-sub { color: var(--text-dim); margin-top: 0.9rem; max-width: 560px; font-size: 1rem; }
.lime { color: var(--lime); }
.serif-accent { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3rem); text-align: center; overflow-x: clip; }
.hero-canvas { position: absolute; inset: -10% 0 0 0; width: 100%; height: 120%; z-index: 0; pointer-events: none; opacity: 0.6; }
/* WebGL Three.js orb hero (text sits inside the sphere) */
.three-hero { overflow: hidden; }
.three-hero .hero-canvas { inset: 0; height: 100%; opacity: 1; }
.three-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 54% 48% at 50% 44%, rgba(6,11,8,0.78), rgba(6,11,8,0.30) 52%, transparent 76%);
}

/* contained brand orb hero (drag to explore) — text sits inside the orb */
.orb-hero { overflow: hidden; }
.orb-hero .hero-canvas { inset: 0; height: 100%; opacity: 0.8; }
/* Front sphere layer: same canvas, but stacked ABOVE .hero-content (z-index 1) so
   the near-hemisphere wireframe drawn here (assets/js/main.js, initOrb) can pass
   in front of the headline/buttons — this is what makes the orb read as a true
   enclosure rather than a backdrop sitting behind a separate text block. */
.hero-canvas.hero-canvas-front { z-index: 2; }
.orb-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 58% 64% at 50% 42%, rgba(6,11,8,0.40), rgba(6,11,8,0.16) 56%, transparent 80%);
}
/* keep the headline sharp over the wireframe without hiding the sphere */
.orb-hero .hero-content h1,
.orb-hero .hero-content .hero-sub,
.orb-hero .hero-content .hero-badge {
  text-shadow: 0 2px 20px rgba(6,11,8,0.95), 0 0 10px rgba(6,11,8,0.85);
}
.orb-hint {
  position: absolute; right: 18px; bottom: 14px; z-index: 1; pointer-events: none;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint);
  background: rgba(13,22,17,0.5); border: 1px solid var(--line); padding: 0.35rem 0.75rem;
  border-radius: 100px; opacity: 0; transition: opacity 0.7s var(--ease);
}
.orb-hint.show { opacity: 1; }

/* immersive "inside the sphere" hero */
.sphere-hero { overflow: hidden; }
.sphere-hero .hero-canvas { inset: 0; height: 100%; opacity: 0.9; }
.sphere-hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 62% 56% at 50% 44%, rgba(6,11,8,0.82), rgba(6,11,8,0.35) 55%, transparent 78%);
}
.orb { position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(46px); will-change: transform; }
.orb-1 { width: 240px; height: 240px; left: 4%; top: 12%; background: radial-gradient(circle, rgba(11,138,58,0.45), transparent 70%); }
.orb-2 { width: 180px; height: 180px; right: 6%; top: 34%; background: radial-gradient(circle, rgba(138,190,83,0.38), transparent 70%); }
.orb-3 { width: 150px; height: 150px; left: 16%; bottom: 14%; background: radial-gradient(circle, rgba(138,190,83,0.28), transparent 70%); }
.hero-content { position: relative; z-index: 1; will-change: transform, opacity; }
.hero-bulb { position: absolute; inset: 0 0 auto 0; height: 64%; z-index: 0; display: grid; place-items: center; pointer-events: none; }
.hero-bulb svg {
  width: min(360px, 56vw); height: auto; color: var(--lime); fill: currentColor;
  opacity: 0.16; filter: drop-shadow(0 0 34px rgba(138, 190, 83, 0.35));
  will-change: transform;
}
.hero::before {
  content: ''; position: absolute; left: 50%; top: -6%; width: 80%; height: 60%; z-index: 0;
  transform: translateX(-50%); pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 138, 58, 0.30), transparent 70%);
  filter: blur(20px); animation: heroGlow 9s ease-in-out infinite;
}
@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-52%) scale(1.12); }
}

/* Entrance stagger */
.intro { animation: introUp 0.9s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes introUp { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 100px; border: 1px solid var(--line-strong);
  background: var(--lime-soft); font-size: 0.74rem; font-weight: 500; color: var(--lime);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -0.02em;
  margin: 1.4rem auto 0; max-width: 14ch;
}
.hero h1 .serif-accent { font-size: 0.92em; }
.hero-sub { margin: 1.3rem auto 0; max-width: 620px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--text-dim); }
.hero-cta { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero-tag { margin-top: 2.2rem; font-family: var(--serif); font-style: italic; color: var(--text-faint); font-size: 1rem; }

/* ---------- AI Analyzer (centerpiece) ---------- */
.analyzer {
  max-width: 860px; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: 22px;
  box-shadow: 0 30px 80px -40px rgba(9, 106, 46, 0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  text-align: left; position: relative; overflow: hidden;
}
.analyzer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 100% 0%, rgba(138,190,83,0.10), transparent 60%);
}
.analyzer-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.3rem; position: relative; }
.analyzer-spark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center;
  background: var(--lime-soft); border: 1px solid var(--line-strong); color: var(--lime); animation: sparkPulse 2.6s ease-in-out infinite; }
.analyzer-spark svg { animation: sparkSpin 12s linear infinite; }
@keyframes sparkPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(138,190,83,0.0); }
  50%      { box-shadow: 0 0 16px 2px rgba(138,190,83,0.45); }
}
@keyframes sparkSpin { to { transform: rotate(360deg); } }
.analyzer-title { font-family: var(--display); font-size: 1.15rem; }
.analyzer-by { font-size: 0.72rem; color: var(--text-faint); margin-left: auto; }
.analyzer-by b { color: var(--lime); font-weight: 600; }
.analyzer-desc { color: var(--text-dim); font-size: 0.92rem; margin: 0.5rem 0 1.1rem; position: relative; }

.analyzer-field { position: relative; }
.analyzer-input {
  width: 100%; min-height: 96px; resize: vertical;
  background: rgba(0,0,0,0.25); border: 1px solid var(--line-strong); border-radius: 14px;
  color: var(--text); font-family: inherit; font-size: 0.95rem; padding: 0.95rem 1.05rem;
  outline: none; transition: border-color .2s, background .2s;
}
.analyzer-input:focus { border-color: var(--lime); background: rgba(138,190,83,0.05); }
.analyzer-input::placeholder { color: var(--text-faint); }

.analyzer-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.85rem 0; position: relative; }
.chip {
  font-size: 0.78rem; padding: 0.4rem 0.8rem; border-radius: 100px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line); color: var(--text-dim);
  transition: all .2s;
}
.chip:hover { border-color: var(--lime); color: var(--text); background: var(--lime-soft); }

.analyzer-actions { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; position: relative; }
.analyzer-actions .btn { padding: 0.8rem 1.5rem; }
.analyzer-hint { font-size: 0.74rem; color: var(--text-faint); }

.analyzer-output { margin-top: 1.2rem; display: none; position: relative; }
.analyzer-output.show { display: block; animation: pageIn .4s var(--ease); }
.analyzer-result {
  background: rgba(0,0,0,0.28); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.2rem; font-size: 0.94rem; line-height: 1.7; color: var(--text);
  white-space: pre-wrap;
}
.analyzer-result h4 { font-family: var(--display); color: var(--lime); font-size: 1rem; margin: 0.9rem 0 0.3rem; }
.analyzer-result h4:first-child { margin-top: 0; }
.analyzer-result strong { color: #fff; }
.analyzer-result ul { margin: 0.3rem 0 0.6rem 1.1rem; }
.analyzer-result li { margin: 0.15rem 0; }
.analyzer-disclaimer { font-size: 0.72rem; color: var(--text-faint); margin-top: 0.7rem; }

.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Metrics strip ---------- */
.metrics { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.metric { background: var(--bg); padding: 1.8rem 1rem; text-align: center; }
.metric-num { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--lime); }
.metric-label { font-size: 0.78rem; color: var(--text-faint); margin-top: 0.3rem; }
/* stats pulled into the hero as a first-screen anchor (sit above the canvas) */
.hero-metrics { position: relative; z-index: 1; margin-top: clamp(2.4rem, 5vw, 3.4rem); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 14px; margin-top: 2.4rem; }
.grid-services { grid-template-columns: repeat(2, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-inds { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .3s var(--ease), border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }

/* 3D cursor-tracking tilt */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt:hover { border-color: var(--line-strong); }
.tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(138,190,83,0.16), transparent 60%);
}
.tilt:hover::after { opacity: 1; }
.tilt > * { position: relative; z-index: 2; }
.card-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: var(--lime-soft); border: 1px solid var(--line-strong); color: var(--lime); margin-bottom: 1rem; }
.card-ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-dim); font-size: 0.9rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag { font-size: 0.72rem; padding: 0.25rem 0.6rem; border-radius: 6px; background: var(--lime-soft); color: var(--lime); border: 1px solid var(--line); }
.card-link { display: inline-block; margin-top: 1rem; color: var(--lime); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: gap .2s; }
.card-link:hover { text-decoration: underline; }

/* industries */
.ind { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1rem;
  text-align: center; transition: all .25s var(--ease); }
.ind:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-3px); }
.ind-ico { font-size: 1.5rem; }
.ind-label { font-size: 0.84rem; color: var(--text-dim); margin-top: 0.4rem; font-weight: 500; }

/* case studies */
.case-tag { font-size: 0.7rem; color: var(--lime); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.case h3 { font-size: 1.02rem; margin: 0.6rem 0 0.5rem; }
.case-metrics { display: flex; gap: 1.4rem; margin-top: 1.1rem; }
.case-metric .n { font-family: var(--display); font-size: 1.25rem; color: var(--lime); }
.case-metric .l { font-size: 0.72rem; color: var(--text-faint); }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 2.4rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--display); font-size: 2rem; color: var(--line-strong); display: block; margin-bottom: 0.6rem; }
.step h3 { font-family: var(--display); font-size: 1rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.86rem; color: var(--text-dim); }

/* ---------- Pinned scrollytelling (How it works) ---------- */
.pin-wrap { position: relative; height: 320vh; }
.pin-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.pin-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.pin-progress { height: 3px; border-radius: 3px; background: var(--line); margin: 1.2rem 0 1.8rem; overflow: hidden; }
.pin-progress span { display: block; height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--green), var(--lime)); transition: width .15s linear; }

.pin-steps { display: flex; flex-direction: column; gap: 0.2rem; }
.pin-step { display: flex; gap: 1rem; align-items: flex-start; text-align: left; width: 100%;
  background: none; border: none; border-left: 2px solid transparent; padding: 0.75rem 0 0.75rem 1.1rem;
  color: inherit; cursor: pointer; opacity: 0.32; transition: opacity .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }
.pin-step.active { opacity: 1; border-left-color: var(--lime); transform: translateX(5px); }
.pin-num { font-family: var(--display); font-size: 0.95rem; color: var(--lime); flex-shrink: 0; padding-top: 2px; }
.pin-step h3 { font-family: var(--display); font-size: 1.15rem; }
.pin-step p { font-size: 0.92rem; color: var(--text-dim); margin-top: 0.25rem; line-height: 1.6; }
/* industries: challenge -> fix framing */
.pin-step .ind-challenge { color: var(--text-faint); font-style: italic; }
.pin-step .ind-fix { color: var(--lime); margin-top: 0.35rem; }
.pin-step .ind-fix::before { content: "→ "; font-weight: 700; }

.pin-visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.pin-big { position: absolute; font-family: var(--display); font-size: clamp(9rem, 22vw, 17rem); line-height: 1;
  color: rgba(138, 190, 83, 0.07); user-select: none; }
.pin-orbit { position: relative; width: 210px; height: 210px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; }
.pin-orbit::before { content: ''; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(138, 190, 83, 0.30); animation: spin 26s linear infinite; }
.pin-orbit::after { content: ''; position: absolute; top: -6px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); transform-origin: 5px 111px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pin-icon { position: absolute; width: 70px; height: 70px; display: grid; place-items: center; color: var(--lime);
  opacity: 0; transform: scale(0.7); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.pin-icon.active { opacity: 1; transform: scale(1); }
.pin-icon svg { width: 46px; height: 46px; }

@media (max-width: 860px) {
  .pin-wrap { height: auto !important; } /* beats the inline height:NNNvh so the section collapses to content */
  .pin-stage { position: static; height: auto; padding: 3.5rem 0; }
  .pin-inner { grid-template-columns: 1fr; }
  .pin-right { display: none; }
  .pin-step { opacity: 1; border-left-color: var(--line); }
}

/* hero pinned variant */
.pin-stage.hero { justify-content: center; padding-block: 0; }
.pin-stage.hero .hero-content { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.hero-headlines { display: grid; }
.hero-line { grid-area: 1 / 1; opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hero-line.active { opacity: 1; transform: none; }

/* case-study panels (pinned right side) */
.pin-panels { position: relative; }
.pin-panel { position: absolute; inset: 0; opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.8rem; }
.pin-panel.active { opacity: 1; transform: none; position: relative; }
.pin-panel p { color: var(--text-dim); font-size: 0.96rem; line-height: 1.7; }
.pin-panel .case-metrics { margin-top: 1.4rem; }

/* emoji industry icons */
.pin-icon.emoji { font-size: 44px; }

/* analyzer as its own section (moved below the pinned hero) */
.analyzer-section { text-align: center; }

/* partners */
.partners { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.pill { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.1rem; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: 0.86rem; font-weight: 500; }
.pill .pd { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; margin-top: 2.5rem; align-items: start; }
.form-info h3 { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
.form-info p { color: var(--text-dim); margin-top: 0.8rem; }
.contacts { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }
.contact-row { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--text-dim); }
.contact-ico { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--lime-soft); border: 1px solid var(--line-strong); color: var(--lime); }
.contact-ico svg { width: 16px; height: 16px; }

.form-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.8rem; }
.field { margin-bottom: 0.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.label { display: block; font-size: 0.76rem; color: var(--text-dim); margin-bottom: 0.4rem; font-weight: 500; }
.input, .textarea, .select {
  width: 100%; background: rgba(0,0,0,0.25); border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 0.92rem; padding: 0.7rem 0.9rem; outline: none;
  transition: border-color .2s, background .2s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--lime); background: rgba(138,190,83,0.05); }
.textarea { resize: vertical; min-height: 90px; }
.select option { background: #0d1611; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 0.7rem; padding: 2.5rem 1rem; }
.form-success.show { display: flex; animation: pageIn .4s var(--ease); }
.success-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime-soft); border: 1px solid var(--line-strong); color: var(--lime); }
/* cookie consent banner */
.cookie-banner {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(20px);
  z-index: 200; display: none; align-items: center; gap: 1.2rem;
  max-width: min(720px, calc(100vw - 32px)); width: max-content;
  padding: 0.9rem 1.1rem; border-radius: 14px;
  background: rgba(13,22,17,0.97); border: 1px solid var(--line-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.cookie-banner.show { display: flex; opacity: 1; transform: translateX(-50%) translateY(0); }
.cookie-text { font-size: 0.86rem; color: var(--text-dim); line-height: 1.5; margin: 0; }
.cookie-actions { display: flex; gap: 0.5rem; flex: none; }
.cookie-btn { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* legal / privacy page */
.legal { max-width: 820px; }
.legal h3 { font-family: var(--display); font-size: 1.2rem; margin: 2rem 0 0.5rem; color: var(--text); }
.legal p { color: var(--text-dim); line-height: 1.75; margin-top: 0.55rem; }
.legal p strong { color: var(--text); }
.legal p em { color: var(--lime); font-style: normal; }
.legal-updated { font-size: 0.9rem; color: var(--text-faint); margin-top: 0.4rem; }
.legal-note { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; font-style: italic; color: var(--text-faint); }

/* breadcrumb (subpages) */
.crumbs { font-size: 0.82rem; color: var(--text-faint); }
.crumbs a { color: var(--lime); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 0.2rem; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; bottom: 10px; }
  .cookie-actions { justify-content: center; }
}
/* honeypot — hidden from real users, catches bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
/* inline form error */
.form-error { display: none; margin-top: 0.9rem; font-size: 0.88rem; color: #e0796b; text-align: center; }

/* resources */
.res-type { font-size: 0.7rem; color: var(--lime); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.res h3 { font-size: 0.98rem; margin: 0.5rem 0; }
.res-date { font-size: 0.76rem; color: var(--text-faint); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 3rem clamp(1rem,4vw,2.5rem) 2rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; max-width: 32ch; }
.footer-tag { font-family: var(--serif); font-style: italic; color: var(--text-faint); margin-top: 0.8rem; font-size: 0.9rem; }
.footer-col h4 { font-family: var(--display); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 0.9rem; }
.footer-col a { display: block; color: var(--text-dim); font-size: 0.9rem; padding: 0.3rem 0; transition: color .2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid var(--line); text-align: center; padding: 1.3rem; font-size: 0.8rem; color: var(--text-faint); }

/* ---------- News (AI-curated) ---------- */
.news-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.7rem; }
.news-by { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--text-faint); }
.news-by b { color: var(--lime); font-weight: 600; }
.news-refresh { background: none; border: 1px solid var(--line-strong); color: var(--text-dim); border-radius: 8px;
  font-size: 0.76rem; padding: 0.3rem 0.6rem; transition: all .2s; }
.news-refresh:hover { color: var(--text); border-color: var(--lime); }
.news-item { display: block; text-align: left; }
.news-item .src { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; color: var(--lime); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.news-item h3 { font-size: 1rem; line-height: 1.35; margin: 0.55rem 0 0.5rem; }
.news-item p { color: var(--text-dim); font-size: 0.88rem; }
.news-item .more { display: inline-block; margin-top: 0.9rem; font-size: 0.82rem; color: var(--lime); font-weight: 600; }
.news-item:hover .more { text-decoration: underline; }
.skeleton { position: relative; overflow: hidden; min-height: 150px; }
.skeleton::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(138,190,83,0.08), transparent);
  transform: translateX(-100%); animation: shimmerSlide 1.3s infinite; }
@keyframes shimmerSlide { to { transform: translateX(100%); } }
.news-error { color: var(--text-dim); font-size: 0.92rem; padding: 1rem 0; }

/* ---------- Scroll reveal (fade-up entrance) ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Continuous scroll-driven 3D depth ---------- */
.grid, .steps, .metrics { will-change: transform; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 66px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6,11,8,0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
    padding: 0.5rem; transform: translateY(-120%); transition: transform .3s var(--ease); }
  .nav-links.open { transform: none; }
  .nav-link { padding: 0.9rem 1rem; text-align: left; }
  .nav-burger { display: grid; place-items: center; }
  /* hide the desktop demo button, but KEEP the language toggle reachable */
  .nav-right .btn-primary { display: none; }
  .nav-only-mobile { display: block; color: var(--lime); }
  .grid-services, .steps, .metrics { grid-template-columns: 1fr 1fr; }
  .form-layout, .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-services, .steps { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
/* ---- Trusted-by client marquee ---- */
.trusted {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.4rem 1.5rem 0.5rem;
}
.trusted-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.3rem;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.4rem;
  align-items: center;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: none;
  display: grid;
  place-items: center;
  height: 72px;
  min-width: 150px;
  padding: 0 24px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.marquee-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.38);
}
.marquee-item img {
  max-height: 40px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
/* white-on-transparent logos (no colored source) rendered dark for the white chip */
.marquee-item img.logo-darken { filter: brightness(0); }
.marquee-item.marquee-text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: #1f1f1f;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 560px) {
  .marquee-item { height: 60px; min-width: 120px; padding: 0 16px; }
  .marquee-item img { max-height: 32px; max-width: 130px; }
  .marquee-item.marquee-text { font-size: 1rem; }
  .marquee-track { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  /* with motion off, show one static row of logos */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; row-gap: 1rem; width: 100%; }
  .marquee-item[aria-hidden="true"] { display: none; }
}
