/*
Theme Name: KKRF Tech
Theme URI: https://kkrftech.com/
Author: KKRF Tech
Author URI: https://kkrftech.com/
Description: Engineering the next generation of digital systems. A fully dynamic WordPress conversion of the KKRF Tech site — dynamic blogs with author details, portfolio, careers, and working forms.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kkrf-tech
*/

/* ============================================================
   KKRF TECH — Monochrome Enterprise
   Black / White / Grey only. No color accent.
   ============================================================ */

:root {
  --black: #0a0a0a;
  --black-2: #111112;
  --ink: #141416;
  --white: #ffffff;
  --paper: #f7f7f5;

  --g-50: #fafafa;
  --g-100: #f2f2f1;
  --g-200: #e4e4e3;
  --g-300: #cfcfce;
  --g-400: #a3a3a2;
  --g-500: #777776;
  --g-600: #525251;
  --g-700: #3a3a39;
  --g-800: #242424;
  --g-900: #161616;

  --line: #e6e6e4;
  --line-dark: rgba(255,255,255,.10);

  --green: #0f6e56;
  --green-dark: #0a5341;
  --green-light: #1d9e75;

  --wrap: 1400px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-cine: cubic-bezier(.16,1,.3,1);

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--font-body); background: var(--white); color: var(--ink); line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-cine) var(--d, 0s), transform .9s var(--ease-cine) var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; border-radius: 999px; padding: 12px 22px; cursor: pointer; border: 1.5px solid transparent; transition: all .4s var(--ease-cine); white-space: nowrap; }
.btn span { transition: transform .4s var(--ease-cine); }
.btn--solid { background: var(--green); color: var(--white); box-shadow: 0 2px 12px rgba(15,110,86,0.25); }
.btn--solid:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,110,86,0.35); }
.btn--solid:hover span { transform: translate(3px,-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--g-300); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 15.5px; }
.btn--block { width: 100%; justify-content: center; }

/* on dark backgrounds — keep green for trust consistency */
.hero .btn--solid, .cta .btn--solid { background: var(--green); color: var(--white); }
.hero .btn--solid:hover, .cta .btn--solid:hover { background: var(--green-light); }
.hero .btn--ghost, .cta .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.28); }
.hero .btn--ghost:hover, .cta .btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.05); }

/* ---------- Section heads ---------- */
.eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g-500); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--g-400); }
.section-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 90px); }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 56px); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); }
.section-lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.62; color: var(--g-600); margin-top: 24px; max-width: 620px; }

/* ---------- Nav (floating dark pill) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 900; padding: 14px 40px 0; background: transparent; border-bottom: none; transition: padding .4s var(--ease); }
.nav.scrolled { background: transparent; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none; }
.nav.mega-open { background: transparent; backdrop-filter: none; border-bottom: none; box-shadow: none; }

/* Pill container — transitions for auto dark/light switch */
.nav__inner { height: 62px; display: flex; align-items: center; justify-content: space-between; background: #0d0d0d; border-radius: 999px; padding: 0 8px 0 28px; max-width: calc(var(--wrap) - 80px); margin: 0 auto; box-shadow: 0 4px 32px rgba(0,0,0,.28); transition: background .35s var(--ease), box-shadow .35s var(--ease); }

/* Logo */
.nav__logo { flex-shrink: 0; display: flex; align-items: center; }
.nav__logo-img { height: 38px; width: auto; display: block; filter: brightness(0) invert(1); transition: filter .35s var(--ease); }
/* Switch to dark logo when pill turns light */
.nav.scrolled:not(.on-dark) .nav__logo-img { filter: brightness(0); }

/* Menu — truly centered between logo and button */
.nav__menu { display: flex; gap: 22px; align-items: center; flex: 1; justify-content: center; }
.nav__menu > a, .nav__link { font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .3s var(--ease); white-space: nowrap; }
.nav__menu > a:hover, .nav__link:hover { color: var(--white); }

/* Actions — right slot */
.nav__actions { display: flex; align-items: center; flex-shrink: 0; }
.nav__actions .btn--solid { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.nav__actions .btn--solid:hover { background: var(--white); color: var(--ink); border-color: var(--white); transform: translateY(-1px); }

/* ── AUTO SWITCH: light pill on light-bg sections ──────────────────── */
.nav.scrolled:not(.on-dark) .nav__inner { background: #ffffff; box-shadow: 0 2px 28px rgba(0,0,0,.10); }
.nav.scrolled:not(.on-dark) .nav__logo { color: var(--ink); }
.nav.scrolled:not(.on-dark) .nav__logo span { color: var(--g-500); }
.nav.scrolled:not(.on-dark) .nav__menu > a,
.nav.scrolled:not(.on-dark) .nav__link,
.nav.scrolled:not(.on-dark) .nav__link--mm { color: var(--g-600); }
.nav.scrolled:not(.on-dark) .nav__menu > a:hover,
.nav.scrolled:not(.on-dark) .nav__link:hover,
.nav.scrolled:not(.on-dark) .nav__link--mm:hover { color: var(--ink); }
.nav.scrolled:not(.on-dark) .nav__actions .btn--solid { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav.scrolled:not(.on-dark) .nav__actions .btn--solid:hover { background: var(--g-800); border-color: var(--g-800); }
.nav.scrolled:not(.on-dark) .nav__toggle { background: rgba(0,0,0,.08); }
.nav.scrolled:not(.on-dark) .nav__toggle span { background: var(--ink); }
.nav.scrolled:not(.on-dark) .nav__chevron { color: var(--g-600); }
/* keep mega-open state consistent when on light bg */
.nav.scrolled:not(.on-dark).mega-open .nav__inner { background: #ffffff; }

/* Mega trigger buttons */
.nav__mm-wrapper { display: inline-block; }
.nav__link--mm { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,.75); transition: color .3s var(--ease); padding: 0; white-space: nowrap; }
.nav__link--mm:hover { color: var(--white); }
.nav.scrolled:not(.on-dark) .nav__link--mm { color: var(--g-600); }
.nav.scrolled:not(.on-dark) .nav__link--mm:hover { color: var(--ink); }
.nav__chevron { display: inline-block; font-size: 11px; font-style: normal; transition: transform .35s cubic-bezier(.22,.61,.36,1); }
.nav__mm-wrapper.open .nav__chevron { transform: rotate(180deg); }

/* Mega panel — dark floating card below the pill, centered to match pill width */
.mega { position: absolute; top: 100%; left: 50%; width: calc(100% - 80px); max-width: calc(var(--wrap) - 80px); background: #111112; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 4px 16px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-8px); transition: opacity .32s cubic-bezier(.22,.61,.36,1), visibility .32s cubic-bezier(.22,.61,.36,1), transform .32s cubic-bezier(.22,.61,.36,1); z-index: 950; max-height: calc(100vh - 76px); overflow-y: auto; margin-top: 10px; }
.mega.open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
body.mega-lock { overflow: hidden; }
.mega__inner { padding: 40px 40px 32px; }

/* Service columns */
.mega__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; align-items: start; }
.mega__col-head { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.mega__col-icon { font-size: 12px; color: rgba(255,255,255,.3); }
.mega__item { display: block; width: 100%; text-align: left; padding: 11px 0; color: rgba(255,255,255,.72); text-decoration: none; font-size: 15px; font-family: var(--font-body); border: none; border-bottom: 1px solid rgba(255,255,255,.07); background: none; cursor: pointer; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.mega__item:hover { color: #fff; padding-left: 6px; }
.mega__item--toggle { display: flex; align-items: center; justify-content: space-between; }
.mega__plus { font-size: 18px; font-weight: 400; color: var(--g-400); transition: transform .25s var(--ease); line-height: 1; }
.mega__sub-wrapper.open .mega__item--toggle { color: var(--ink); }
.mega__sub-wrapper.open .mega__plus { transform: rotate(45deg); }

/* Nested sub-list (accordion beside it) */
.mega__sublist { max-height: 0; overflow: hidden; transition: max-height .3s cubic-bezier(.22,.61,.36,1); }
.mega__sub-wrapper.open .mega__sublist { max-height: 240px; }
.mega__subitem { display: block; padding: 9px 0 9px 16px; color: rgba(255,255,255,.55); text-decoration: none; font-size: 14px; font-family: var(--font-body); border-left: 2px solid rgba(255,255,255,.12); margin-left: 2px; transition: color .2s ease, border-color .2s ease; }
.mega__subitem:hover { color: #fff; border-left-color: rgba(255,255,255,.5); }

/* Service footer bar */
.mega__foot { margin-top: 32px; background: rgba(255,255,255,.05); border-radius: 12px; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid rgba(255,255,255,.07); }
.mega__foot p { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.6); margin: 0; }
.mega__foot .btn { flex-shrink: 0; }

/* KKRF AI mega (3-col: left links / center list / right feature) */
.mega__ai-grid { display: grid; grid-template-columns: 280px 1fr 320px; gap: 0; }
.mega__ai-left { padding: 32px 32px 32px 40px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.mega__ai-promo { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--paper); border-radius: 10px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .25s var(--ease); }
.mega__ai-promo:hover { background: var(--g-100); }
.mega__ai-link { display: block; padding: 14px 18px; font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--g-700); text-decoration: none; transition: color .25s var(--ease); }
.mega__ai-link:hover { color: var(--ink); }
.mega__ai-card { margin-top: auto; background: var(--green); border-radius: 14px; padding: 22px; }
.mega__ai-card-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -0.01em; }
.mega__ai-card-sub { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; margin-bottom: 14px; }
.mega__ai-card-link { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease); }
.mega__ai-card-link:hover { gap: 10px; }
.mega__ai-center { padding: 28px 40px; column-count: 2; column-gap: 40px; }
.mega__ai-item { display: block; padding: 11px 0; color: var(--g-700); text-decoration: none; font-size: 15px; font-family: var(--font-body); border-bottom: 1px solid var(--line); break-inside: avoid; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.mega__ai-item:hover { color: var(--ink); padding-left: 6px; }
.mega__ai-right { padding: 32px 40px 32px 32px; background: var(--paper); }

/* Feature panel (shared by AI + About) */
.mega__feature-label { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.mega__feature-img { width: 100%; height: 160px; border-radius: 14px; background: linear-gradient(135deg, var(--green-light), var(--green-dark)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.mega__feature-img span { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.mega__feature-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.4; margin-bottom: 12px; }
.mega__feature-link { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: rgba(255,255,255,.65); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .25s var(--ease), color .25s var(--ease); }
.mega__feature-link:hover { gap: 10px; color: #fff; }

/* About split layout */
.mega__inner--split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
.mega__list { padding: 32px 40px; }
.mega__list-item { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; color: rgba(255,255,255,.82); text-decoration: none; font-family: var(--font-display); font-size: 16px; font-weight: 500; border-radius: 10px; transition: background .25s var(--ease); }
.mega__list-item:hover { background: rgba(255,255,255,.06); }
.mega__arrow { opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); color: rgba(255,255,255,.4); }
.mega__list-item:hover .mega__arrow { opacity: 1; transform: translateX(0); }
.mega__feature { padding: 32px 40px; background: rgba(255,255,255,.04); border-radius: 0 20px 20px 0; }

/* Mobile call CTA button — hidden on desktop, visible on mobile */
.nav__call-cta { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--blue, #1574FF); color: #fff; border-radius: 12px; flex-shrink: 0; margin-right: 6px; transition: background .3s var(--ease), transform .2s var(--ease); }
.nav__call-cta:hover { background: var(--blue-dark, #0a52cc); transform: scale(1.04); }
.nav__call-cta svg { display: block; }

/* Mobile hamburger — rounded square style */
.nav__toggle { display: none; flex-direction: column; gap: 4px; width: 44px; height: 44px; align-items: center; justify-content: center; background: rgba(255,255,255,.1); border: none; border-radius: 12px; cursor: pointer; transition: background .2s ease; }
.nav__toggle:hover { background: rgba(255,255,255,.18); }
.nav__toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); transform-origin: center; }
.nav.on-dark .nav__toggle span { background: var(--white); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* Nav overlay backdrop (mobile) */
.nav__overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 998; opacity: 0; pointer-events: none; transition: opacity .35s ease; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.nav__overlay.open { opacity: 1; pointer-events: auto; }

/* Mobile Drawer — full-screen left-slide dark overlay */
.nav__drawer { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100dvh; background: #0d0d0d; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; transform: translateX(-100%); transition: transform .42s cubic-bezier(.16,1,.3,1); z-index: 999; padding: 0; }
.nav__drawer.open { transform: translateX(0); }

/* Drawer header */
.nav__drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.nav__drawer-logo { display: flex; align-items: center; }
.nav__drawer-logo-img { height: 32px; width: auto; display: block; filter: brightness(0) invert(1); }
.nav__drawer-title { display: none; }
.nav__drawer-close { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,.08); border: none; border-radius: 50%; cursor: pointer; color: #fff; transition: background .2s ease; }
.nav__drawer-close:hover { background: rgba(255,255,255,.14); }

/* Drawer scroll body */
.nav__drawer-body { flex: 1; padding: 8px 24px 0; overflow-y: auto; }

/* Drawer groups / categories */
.nav__drawer-group { border-bottom: 1px solid rgba(255,255,255,.07); }
.nav__drawer-link--dropdown { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 56px; padding: 15px 0; font-family: var(--font-display); font-size: 17px; font-weight: 500; color: rgba(255,255,255,.9); background: none; border: none; cursor: pointer; transition: color .2s ease; }
.nav__drawer-link--dropdown:active { color: rgba(255,255,255,.6); }
.nav__drawer-group.open .nav__drawer-link--dropdown { color: #fff; }
.nav__drawer-group.open .nav__chevron { transform: rotate(180deg); }
.nav__chevron { color: rgba(255,255,255,.4); }

/* Category label with icon */
.nav__drawer-cat { display: flex; align-items: center; gap: 8px; }
.nav__drawer-cat-icon { font-size: 10px; color: rgba(255,255,255,.3); }

/* Submenu */
.nav__drawer-submenu { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.22,.61,.36,1); }
.nav__drawer-group.open .nav__drawer-submenu { max-height: 400px; }
.nav__drawer-subitem { display: flex; align-items: center; min-height: 44px; padding: 10px 0 10px 18px; color: rgba(255,255,255,.55); text-decoration: none; font-size: 15px; font-family: var(--font-body); border-left: 2px solid rgba(255,255,255,.1); transition: color .2s ease, border-color .2s ease; }
.nav__drawer-subitem:hover, .nav__drawer-subitem:active { color: #fff; border-left-color: var(--blue, #1574FF); }

/* Divider & plain links */
.nav__drawer-divider { height: 1px; background: rgba(255,255,255,.07); margin: 4px 0; }
.nav__drawer-link { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: rgba(255,255,255,.9); min-height: 56px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; text-decoration: none; transition: color .2s ease; }
.nav__drawer-link:last-of-type { border-bottom: none; }
.nav__drawer-link:hover { color: #fff; }

/* Drawer footer CTA */
.nav__drawer-footer { padding: 20px 24px 36px; flex-shrink: 0; border-top: 1px solid rgba(255,255,255,.07); margin-top: 8px; }
.nav__drawer-cta { width: 100%; justify-content: center; border-radius: 999px !important; font-size: 16px !important; padding: 15px 28px !important; gap: 10px !important; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--black); color: var(--white); min-height: 100vh; display: flex; align-items: flex-end; padding: 140px 0 64px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(255,255,255,.07), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(255,255,255,.045), transparent 55%),
    linear-gradient(180deg, #0c0c0d 0%, #0a0a0a 60%, #070707 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent 75%); }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 1000px; }
.hero__eyebrow { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--g-400); margin-bottom: 30px; }
.hero__title { font-family: var(--font-display); font-size: clamp(44px, 7vw, 104px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; max-width: 16ch; }
.hero__sub { font-size: clamp(16px, 1.5vw, 20px); line-height: 1.6; color: var(--g-300); max-width: 620px; margin-top: 30px; }
.hero__actions { display: flex; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.hero__awards { display: flex; gap: 0; margin-top: 80px; border-top: 1px solid var(--line-dark); padding-top: 32px; flex-wrap: wrap; }
.award { padding-right: 56px; margin-right: 56px; border-right: 1px solid var(--line-dark); }
.award:last-child { border-right: none; }
.award__tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--g-500); margin-bottom: 7px; font-family: var(--font-display); }
.award__name { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: var(--white); padding: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 56px 40px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--font-display); font-size: clamp(44px, 5vw, 68px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; display: inline; }
.stat__plus { font-family: var(--font-display); font-size: clamp(28px, 3vw, 42px); font-weight: 600; color: var(--g-500); }
.stat__label { font-size: 15px; color: var(--g-400); margin-top: 18px; line-height: 1.45; }

/* ---------- Capabilities ---------- */
.caps { background: var(--black); color: var(--white); padding: clamp(90px, 11vw, 150px) 0; }
.caps .eyebrow { color: var(--g-500); }
.caps .eyebrow::before { background: var(--g-600); }
.caps .section-title { color: var(--white); }
.caps .section-lead { color: var(--g-400); }
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cap { position: relative; padding: 48px 40px 52px; border-top: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; transition: background .5s var(--ease); }
.cap:nth-child(3n) { border-right: none; }
.cap::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-cine); }
.cap:hover { background: rgba(255,255,255,.02); }
.cap:hover::after { transform: scaleX(1); }
.cap__icon { width: 30px; height: 30px; color: var(--white); margin-bottom: 70px; }
.cap__icon svg { width: 100%; height: 100%; }
.cap__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); margin-bottom: 16px; }
.cap__desc { font-size: 15px; line-height: 1.62; color: var(--g-400); flex: 1; }
.cap__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--g-300); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease-cine), transform .45s var(--ease-cine), color .3s; }
.cap__link span { transition: transform .4s var(--ease-cine); }
.cap:hover .cap__link { opacity: 1; transform: none; color: var(--white); }
.cap:hover .cap__link span { transform: translateX(4px); }

/* ---------- Industries ---------- */
.inds { background: var(--white); color: var(--ink); padding: clamp(90px, 11vw, 150px) 0; }
.inds__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { position: relative; padding: 48px 44px 56px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: block; transition: background .5s var(--ease); overflow: hidden; }
.ind::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-cine); }
.ind:hover { background: var(--paper); }
.ind:hover::before { transform: scaleX(1); }
.ind__no { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--g-400); }
.ind h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: -0.02em; margin: 22px 0 14px; transition: transform .5s var(--ease-cine); }
.ind:hover h3 { transform: translateX(6px); }
.ind p { font-size: 15px; line-height: 1.6; color: var(--g-600); }

/* ---------- Work / Case studies ---------- */
.work { background: var(--paper); color: var(--ink); padding: clamp(90px, 11vw, 150px) 0; }
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 44px; display: flex; flex-direction: column; min-height: 300px; transition: transform .55s var(--ease-cine), box-shadow .55s var(--ease-cine), border-color .4s; }
.case:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.09); border-color: var(--g-300); }
.case__top { display: flex; align-items: center; justify-content: space-between; }
.case__sector { font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--g-500); }
.case__arrow { font-size: 20px; color: var(--g-400); transition: transform .45s var(--ease-cine), color .3s; }
.case:hover .case__arrow { transform: translate(4px,-4px); color: var(--ink); }
.case__title { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; margin: 28px 0 auto; max-width: 18ch; }
.case__metrics { display: flex; gap: 48px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.case__metrics strong { display: block; font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.case__metrics span { font-size: 13px; color: var(--g-500); margin-top: 7px; display: block; }

/* ---------- About / Approach ---------- */
.about { background: var(--black); color: var(--white); padding: clamp(90px, 11vw, 150px) 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 110px); }
.about .eyebrow { color: var(--g-500); }
.about .eyebrow::before { background: var(--g-600); }
.about__title { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 52px); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
.about__right > p { font-size: 17px; line-height: 1.68; color: var(--g-300); margin-bottom: 22px; }
.about__points { margin-top: 48px; display: flex; flex-direction: column; gap: 0; }
.point { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.point:last-child { border-bottom: 1px solid var(--line-dark); }
.point__no { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--g-500); padding-top: 3px; }
.point h4 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.point p { font-size: 15px; line-height: 1.58; color: var(--g-400); }

/* ---------- Clients / Logo wall ---------- */
.clients { background: var(--black); color: var(--white); padding: clamp(70px, 9vw, 120px) 0 clamp(90px, 11vw, 150px); }
.clients__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; text-align: center; margin-bottom: clamp(50px, 6vw, 80px); }
.clients__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.logo { display: grid; place-items: center; min-height: 120px; padding: 20px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--g-500); transition: color .4s var(--ease), background .4s var(--ease); text-align: center; }
.logo:hover { color: var(--white); background: rgba(255,255,255,.02); }
.logo__img { max-width: 130px; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .65; transition: opacity .4s var(--ease); }
.logo:hover .logo__img { opacity: 1; }
.clients__note { text-align: center; font-size: 13px; color: var(--g-600); margin-top: 32px; }

/* ---------- CTA ---------- */
/* ── CTA / Contact Section ── */
.cta { background: var(--ink); color: var(--white); padding: clamp(90px, 11vw, 150px) 0; }

/* Card */
.cta__card { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(48px, 6vw, 80px); align-items: start; background: linear-gradient(135deg, #0d1b3e 0%, #1a2f6e 60%, #2040a0 100%); border-radius: 24px; padding: clamp(40px, 5vw, 64px); }

/* Left */
.cta__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #60a5fa; margin-bottom: 16px; }
.cta__title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.cta__sub { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.65); margin-top: 16px; }
.cta__trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.cta__trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.8); }
.cta__trust strong { color: var(--white); }

/* Form */
.cta__form { display: flex; flex-direction: column; gap: 18px; }
.cta__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta__field { display: flex; flex-direction: column; gap: 6px; }
.cta__field--full { grid-column: 1 / -1; }
.cta__field label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75); }
.cta__field input,
.cta__field textarea,
.cta__field select { width: 100%; padding: 12px 0 10px; background: transparent; border: none; border-bottom: 1.5px solid rgba(255,255,255,.25); color: var(--white); font-family: var(--font-body); font-size: 15px; transition: border-color .25s; outline: none; }
.cta__field input::placeholder,
.cta__field textarea::placeholder { color: rgba(255,255,255,.35); }
.cta__field input:focus,
.cta__field textarea:focus,
.cta__field select:focus { border-bottom-color: #60a5fa; }
.cta__field textarea { resize: vertical; min-height: 80px; }
.cta__select-wrap { position: relative; }
.cta__select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.cta__select-wrap select option { background: #1a2f6e; color: var(--white); }
.cta__chevron { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); pointer-events: none; color: rgba(255,255,255,.5); }

/* NDA checkbox */
.cta__nda-check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; color: rgba(255,255,255,.85); user-select: none; }
.cta__nda-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.cta__nda-box { width: 22px; height: 22px; min-width: 22px; border-radius: 6px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); transition: border-color .2s, background .2s; position: relative; }
.cta__nda-check input:checked ~ .cta__nda-box { background: #2563eb; border-color: #2563eb; }
.cta__nda-check input:checked ~ .cta__nda-box::after { content: ''; position: absolute; left: 5px; top: 2px; width: 6px; height: 11px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg); }
.cta__nda-check:hover .cta__nda-box { border-color: #60a5fa; }

/* NDA badge */
.cta__nda-badge { display: flex; align-items: center; gap: 10px; background: rgba(202,138,4,.12); border: 1px solid rgba(202,138,4,.3); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: rgba(255,255,255,.85); }
.cta__nda-badge strong { color: var(--white); }

/* Captcha + submit row */
.cta__captcha-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cta__captcha { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 600; color: var(--white); }
.cta__captcha-sep { color: rgba(255,255,255,.5); }
.cta__captcha-input { width: 72px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25); color: var(--white); font-size: 17px; font-weight: 600; text-align: center; outline: none; transition: border-color .25s; }
.cta__captcha-input:focus { border-color: #60a5fa; }
.cta__captcha-input::-webkit-inner-spin-button,
.cta__captcha-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cta__submit { padding: 14px 40px; border-radius: 999px; background: var(--white); color: #1a2f6e; font-weight: 700; font-size: 15px; border: none; cursor: pointer; transition: background .2s, transform .15s; }
.cta__submit:hover { background: #e0e7ff; transform: translateY(-1px); }
.cta__msg { font-size: 14px; min-height: 18px; }

/* Legacy field fallback */
.field input, .field textarea { width: 100%; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: var(--white); font-family: var(--font-body); font-size: 15px; transition: border-color .35s var(--ease), background .35s var(--ease); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--g-500); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--white); background: rgba(255,255,255,.06); }

/* Responsive */
@media (max-width: 800px) {
  .cta__card { grid-template-columns: 1fr; padding: clamp(24px, 5vw, 40px); }
  .cta__row { grid-template-columns: 1fr; }
  .cta__title { font-size: clamp(20px, 5.5vw, 28px); }
  .cta__sub { font-size: 13px; margin-top: 10px; }
  .cta__eyebrow { font-size: 10px; margin-bottom: 10px; }
  .cta__trust { margin: 16px 0 0; gap: 8px; }
  .cta__trust li { font-size: 12px; }
  .cta__field label { font-size: 11px; }
  .cta__field input,
  .cta__field textarea,
  .cta__field select { font-size: 13px; padding: 9px 0 8px; }
  .cta__field textarea { min-height: 64px; }
  .cta__form { gap: 14px; }
  .cta__nda-check { font-size: 13px; gap: 10px; }
  .cta__nda-box { width: 18px; height: 18px; min-width: 18px; }
  .cta__nda-badge { font-size: 12px; padding: 10px 12px; }
  .cta__captcha { font-size: 15px; }
  .cta__captcha-input { width: 56px; padding: 8px 10px; font-size: 15px; }
  .cta__submit { padding: 11px 28px; font-size: 13px; }
}

/* ---------- Footer ---------- */
/* ─── Footer ─────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════
   FOOTER — Premium agency layout
   ══════════════════════════════════════════════════════════ */
.footer {
  background: #0d0d0d;
  color: var(--white);
}

/* ── ZONE 1: Navigation grid — dark charcoal panel ── */
.footer__top {
  display: grid;
  grid-template-columns: 210px 1fr 170px;
  gap: 48px;
  padding: 60px 0 56px;
  align-items: start;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Brand */
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo-link { display: inline-block; }
.footer__logo-img { height: 38px; width: auto; filter: brightness(0) invert(1); display: block; }
.footer__brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,.3);
  line-height: 1.65;
  max-width: 160px;
}

/* Nav 3-col sub-grid */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 8px;
}
.footer__col { display: flex; flex-direction: column; }
.footer__col-hd {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 18px;
  display: block;
}
.footer__col-links { display: flex; flex-direction: column; gap: 12px; }
.footer__col a,
.footer__col-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .18s;
  line-height: 1.2;
}
.footer__col a:hover,
.footer__col-links a:hover { color: rgba(255,255,255,.95); }

/* Legal col (right, stacked) */
.footer__legal-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  padding-top: 2px;
}
.footer__legal-col a {
  font-size: 12.5px;
  color: rgba(255,255,255,.32);
  text-decoration: none;
  transition: color .18s;
  white-space: nowrap;
}
.footer__legal-col a:hover { color: rgba(255,255,255,.7); }

/* ── ZONE 2: Newsletter + contact — lighter panel ── */
.footer__mid-wrap {
  background: #161616;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer__mid {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 48px;
  padding: 68px 0 56px;
  align-items: center;
}

/* Back to top */
.footer__back-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.65);
  border-radius: 999px;
  padding: 10px 18px 10px 20px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  white-space: nowrap;
  align-self: center;
  justify-self: start;
}
.footer__back-top:hover {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: rgba(255,255,255,.05);
}
.footer__back-top svg { flex-shrink: 0; }

/* Newsletter */
.footer__nl {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer__nl-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -.045em;
  color: #fff;
  line-height: 1.12;
}
.footer__nl-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 360px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  gap: 8px;
  transition: border-color .2s, background .2s;
}
.footer__nl-form:focus-within {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.09);
}
.footer__nl-input {
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  color: #fff;
  font-family: var(--font-body);
  flex: 1;
  min-width: 0;
}
.footer__nl-input::placeholder { color: rgba(255,255,255,.28); }
.footer__nl-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #fff;
  color: #0d0d0d;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .18s;
}
.footer__nl-btn:hover { background: rgba(255,255,255,.86); transform: scale(1.07); }

/* Contact + copyright */
.footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
  align-self: center;
  justify-self: end;
}
.footer__contact-email {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: -.01em;
}
.footer__contact-email:hover { color: #fff; }
.footer__copy {
  font-size: 11.5px;
  color: rgba(255,255,255,.22);
  line-height: 1.75;
}

/* ---------- Industries (scroll-synced) ---------- */
.indsel { position: relative; background: var(--black); color: var(--white); }
.indsel__driver { height: 300vh; }
.indsel__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.indsel__inner { position: relative; display: grid; grid-template-columns: 1fr 480px 360px; gap: 56px; align-items: center; width: 100%; }
.indsel__eyebrow { position: absolute; top: 36px; left: 40px; font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--g-500); }
.indsel__media { position: relative; width: 100%; max-width: 460px; aspect-ratio: 360/280; }
.indsel__img { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; opacity: 0; transform: scale(.95) translateY(14px); transition: opacity .7s var(--ease-cine), transform .7s var(--ease-cine); border: 1px solid var(--line-dark); box-shadow: 0 32px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.05); will-change: opacity, transform; }
.indsel__img svg { width: 100%; height: 100%; display: block; }
.indsel__img.is-active { opacity: 1; transform: scale(1) translateY(0); }
.indsel__list { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 24px); }
.indsel__name { font-family: var(--font-display); font-size: clamp(24px, 3vw, 44px); font-weight: 700; letter-spacing: -0.03em; color: var(--g-700); cursor: pointer; transition: color .5s var(--ease-cine), transform .5s var(--ease-cine); }
.indsel__name.is-active { color: var(--white); transform: translateX(10px); }
.indsel__name.is-active::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--white); vertical-align: middle; margin-right: 16px; }
.indsel__detail { position: relative; min-height: 200px; }
.indsel__desc { font-size: 17px; line-height: 1.7; color: var(--g-400); position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-cine), transform .6s var(--ease-cine); pointer-events: none; }
.indsel__desc strong { color: var(--white); font-weight: 700; }
.indsel__desc.is-active { opacity: 1; transform: none; pointer-events: auto; }
.indsel__cta { margin-top: 90px; color: var(--white); border-color: rgba(255,255,255,.28); }
.indsel__cta:hover { border-color: var(--white); background: rgba(255,255,255,.05); }

/* ---------- Compliance ---------- */
.comp { background: var(--black); color: var(--white); padding: clamp(90px, 11vw, 150px) 0; }
.comp__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: start; }
.comp__badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); color: var(--white); margin-bottom: 30px; }
.comp__badge svg { width: 26px; height: 26px; }
.comp__title { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 24px; }
.comp__lead { font-size: 17px; line-height: 1.65; color: var(--g-400); max-width: 440px; }
.comp__item { border-bottom: 1px solid var(--line-dark); }
.comp__item:first-child { border-top: 1px solid var(--line-dark); }
.comp__q { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 24px 0; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); background: transparent; border: none; cursor: pointer; transition: color .3s var(--ease); }
.comp__q:hover { color: var(--g-100); }
.comp__no { font-size: 12px; font-weight: 600; color: var(--g-500); min-width: 20px; }
.comp__chev { margin-left: auto; font-size: 16px; color: var(--g-400); transition: transform .4s var(--ease-cine); opacity: .6; }
.comp__q:hover .comp__chev { opacity: 1; }
.comp__item.is-open .comp__chev { transform: rotate(180deg); }
.comp__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-cine); }
.comp__item.is-open .comp__a { max-height: 120px; }
.comp__chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 12px 0; }
.comp__chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; transition: background .3s var(--ease), transform .3s var(--ease); }
.comp__chips span:hover { background: var(--white); transform: translateY(-2px); }
.comp__chips span::before { content: "✓"; font-size: 11px; color: var(--g-500); font-weight: 700; }

/* ---------- Strategic Alliances (two-row marquee) ---------- */
.alli { background: var(--black); color: var(--white); padding: clamp(80px, 10vw, 130px) 0 clamp(90px, 11vw, 150px); overflow: hidden; }
.alli__title { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; text-align: center; margin-bottom: clamp(50px, 6vw, 80px); }
.alli__row { overflow: hidden; margin-bottom: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.alli__track { display: flex; gap: 24px; width: max-content; will-change: transform; }
.alli__track--ltr { animation: alliLTR 48s linear infinite; }
.alli__track--rtl { animation: alliRTL 48s linear infinite; }
.alli__row:hover .alli__track { animation-play-state: paused; }
@keyframes alliLTR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes alliRTL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.alli__tile { flex: 0 0 auto; width: 200px; height: 120px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--black-2); transition: background .4s var(--ease), border-color .4s var(--ease); padding: 20px; box-sizing: border-box; }
.alli__tile:hover { background: #18181a; border-color: rgba(255,255,255,.2); }
img.alli__logo { width: auto; height: auto; max-width: 120px; max-height: 44px; object-fit: contain; display: block; opacity: .8; transition: opacity .4s var(--ease); }
.alli__logo--dark { filter: none; }
.alli__tile:hover img.alli__logo { opacity: 1; }
.alli__name { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: rgba(255,255,255,.5); transition: color .4s var(--ease); text-align: center; }
.alli__tile:hover .alli__name { color: var(--white); }
@media (prefers-reduced-motion: reduce) { .alli__track--ltr, .alli__track--rtl { animation: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mega__ai-grid { grid-template-columns: 1fr 300px; }
  .mega__ai-left { display: none; }
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .cap:nth-child(3n) { border-right: 1px solid var(--line-dark); }
  .cap:nth-child(2n) { border-right: none; }
  .inds__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { padding: 40px 28px; }
  .stat:first-child, .stat:nth-child(3) { padding-left: 0; }
  .comp__inner { grid-template-columns: 1fr; gap: 44px; }
  .indsel__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .indsel__detail { grid-column: 1 / -1; }
  .indsel__eyebrow { display: none; }
}
@media (max-width: 1024px) {
  .nav__menu, .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__call-cta { display: flex; margin-left: auto; }
  .nav__overlay { display: block; }
  .nav__drawer { display: flex; }
  .mega { display: none; }
}
/* Mobile nav — full-width solid bar, pill stays tablet/desktop only */
@media (max-width: 768px) {
  .nav { padding: 0; }
  .nav__inner { max-width: none; height: 60px; border-radius: 0; padding: 0 20px; box-shadow: none; }
}
@media (max-width: 480px) {
  .nav__inner { padding: 0 16px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .work__grid { grid-template-columns: 1fr; }
  /* ── Footer mobile layout ── */
  .footer__top {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 36px;
    padding-bottom: 0;
  }

  /* Logo row */
  .footer__brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .footer__brand-desc { display: none; }

  /* Nav: single full-width column, each col is an accordion row */
  .footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Each accordion row — full-width with bottom divider */
  .footer__col:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  /* Accordion heading */
  .footer__col:not(:last-child) .footer__col-hd {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 17px 0;
    font-size: 11px;
    letter-spacing: .14em;
    color: rgba(255,255,255,.45);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: color .2s;
  }
  .footer__col:not(:last-child):hover .footer__col-hd,
  .footer__col.open:not(:last-child) .footer__col-hd {
    color: rgba(255,255,255,.75);
  }

  /* Chevron */
  .footer__col:not(:last-child) .footer__col-hd::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid rgba(255,255,255,.3);
    border-bottom: 1.5px solid rgba(255,255,255,.3);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .25s ease, border-color .2s;
    flex-shrink: 0;
  }
  .footer__col.open:not(:last-child) .footer__col-hd::after {
    transform: rotate(-135deg) translateY(2px);
    border-color: rgba(255,255,255,.55);
  }

  /* Collapsed links */
  .footer__col:not(:last-child) .footer__col-links {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .32s ease, opacity .24s ease, padding .28s ease;
    padding: 0;
  }
  /* Open state */
  .footer__col.open:not(:last-child) .footer__col-links {
    max-height: 500px;
    opacity: 1;
    padding: 4px 0 20px;
  }

  /* Link styles inside accordion */
  .footer__col-hd { margin-bottom: 0; font-size: 10px; }
  .footer__col-links { gap: 0; }
  .footer__col a,
  .footer__col-links a {
    font-size: 15px;
    line-height: 1;
    color: rgba(255,255,255,.55);
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
  }
  .footer__col-links a:last-child { border-bottom: none; }
  .footer__col a:hover,
  .footer__col-links a:hover { color: rgba(255,255,255,.9); }

  /* Follow row — full width, inline, below accordion */
  .footer__col:last-child {
    grid-column: unset;
    flex-direction: row;
    align-items: center;
    gap: 0;
    padding: 20px 0 28px;
  }
  .footer__col:last-child .footer__col-hd {
    margin-bottom: 0;
    margin-right: 16px;
    font-size: 10px;
    letter-spacing: .14em;
    color: rgba(255,255,255,.28);
    white-space: nowrap;
  }
  .footer__col:last-child .footer__col-links {
    flex-direction: row;
    gap: 0;
  }
  .footer__col:last-child .footer__col-links a {
    font-size: 13.5px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    margin-right: 8px;
    border-bottom: 1px solid rgba(255,255,255,.12);
    transition: border-color .2s, color .2s;
    display: inline-flex;
  }
  .footer__col:last-child .footer__col-links a:hover {
    border-color: rgba(255,255,255,.35);
    color: #fff;
  }

  /* Legal links — horizontal, subtle, below the nav */
  .footer__legal-col {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 16px;
    padding: 20px 0 32px;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .footer__legal-col a {
    font-size: 12px;
    color: rgba(255,255,255,.24);
  }
  .footer__legal-col a:hover { color: rgba(255,255,255,.5); }

  /* Bottom zone: stacked, centered */
  .footer__mid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 48px;
    justify-items: center;
    text-align: center;
  }
  .footer__back-top { justify-self: center; margin-top: 12px; }
  .footer__nl { align-items: center; width: 100%; }
  .footer__nl-heading { font-size: clamp(24px, 7vw, 32px); }
  .footer__nl-form { max-width: 100%; }
  .footer__contact-col { text-align: center; justify-self: center; align-items: center; }
  /* clients grid mobile */
  .clients__grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hero { min-height: auto; padding: 120px 0 56px; }
  .hero__awards { gap: 24px 0; }
  .award { padding-right: 28px; margin-right: 28px; }
  /* scroll-sync industries -> simple stacked list on mobile */
  .indsel__driver { height: auto; }
  .indsel__sticky { position: static; height: auto; padding: 80px 0; }
  .indsel__inner { grid-template-columns: 1fr; gap: 28px; }
  .indsel__media { display: none; }
  .indsel__name { color: var(--white); font-size: 30px; }
  .indsel__name::before { display: none; }
  .indsel__name.is-active { transform: none; }
  .indsel__desc { position: static; opacity: 1; transform: none; pointer-events: auto; display: none; }
  .indsel__cta { margin-top: 32px; }
  .alli__tile { width: 180px; height: 120px; }
}
@media (max-width: 540px) {
  .caps__grid { grid-template-columns: 1fr; }
  .cap { border-right: none !important; }
  .inds__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none; padding: 32px 0; border-bottom: 1px solid var(--line-dark); }
  .case__metrics { gap: 32px; }
  .award { border-right: none; padding-right: 0; }
}

/* ============================================================
   HERO VIDEO BACKGROUND — poster image first, video on load
   ============================================================ */
.lhero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.lhero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: opacity 1s ease;
  will-change: opacity;
}
.lhero__poster.video-ready {
  opacity: 0;
  pointer-events: none;
}
.lhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.lhero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 60%,
    rgba(0, 0, 0, 0.52) 100%
  );
}
/* Text colours when bg media is present */
.lhero--has-bg .lhero__crumbs,
.lhero--has-bg .lhero__crumbs a { color: rgba(255,255,255,0.65); }
.lhero--has-bg .lhero__crumbs a:hover { color: #fff; }
.lhero--has-bg .lhero__crumbs span:not(.lhero__here) { color: rgba(255,255,255,0.4); }
.lhero--has-bg .lhero__here { color: #fff; font-weight: 600; }
.lhero--has-bg .leyebrow { color: rgba(255,255,255,0.85); }
.lhero--has-bg .lhero__title { color: #fff; }
.lhero--has-bg .lhero__sub { color: rgba(255,255,255,0.82); }
.lhero--has-bg .lhero__proof { border-color: rgba(255,255,255,0.18); }
.lhero--has-bg .lhero__proof > div { border-color: rgba(255,255,255,0.15); }
.lhero--has-bg .lhero__proof > div:hover { background: rgba(255,255,255,0.08); }
.lhero--has-bg .lhero__proof strong { color: #fff; }
.lhero--has-bg .lhero__proof span { color: rgba(255,255,255,0.72); }
.lhero--has-bg .lhero__in { position: relative; z-index: 3; }
.lhero--has-bg::after { display: none; }

/* ============================================================
   LAZY LOADING — fade-in on load
   ============================================================ */
img.lazy,
iframe.lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img.lazy.lazy-loaded,
iframe.lazy.lazy-loaded {
  opacity: 1;
}

