/* ============================================================
   EZLIVE — Digital Marketing Agency
   Design System: Cinematic Dark / Premium Motion
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --bg-deep: #04040a;
  --bg: #07070f;
  --bg-2: #0b0b16;
  --bg-3: #101020;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);

  /* ink */
  --text: #f2f2f7;
  --muted: #a3a4b8;
  --faint: #62637a;

  /* lines */
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* accent — overridden per page theme */
  --a1: #d4ff4f;
  --a1-rgb: 212, 255, 79;
  --a1-ink: #0a0f00;
  --a2: #7c5cff;
  --a2-rgb: 124, 92, 255;

  /* type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* rhythm */
  --radius: 18px;
  --radius-lg: 28px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-pad: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* z-scale */
  --z-nav: 100;
  --z-menu: 200;
  --z-loader: 400;
  --z-cursor: 500;
}

/* per-page accent themes */
.theme-lime    { --a1: #d4ff4f; --a1-rgb: 212,255,79;  --a1-ink: #0a0f00; --a2: #7c5cff; --a2-rgb: 124,92,255; }
.theme-pink    { --a1: #ff5c9d; --a1-rgb: 255,92,157;  --a1-ink: #1a0009; --a2: #ffb547; --a2-rgb: 255,181,71; }
.theme-amber   { --a1: #ffb547; --a1-rgb: 255,181,71;  --a1-ink: #1a0e00; --a2: #4d9fff; --a2-rgb: 77,159,255; }
.theme-blue    { --a1: #5aa2ff; --a1-rgb: 90,162,255;  --a1-ink: #00101f; --a2: #ff5c9d; --a2-rgb: 255,92,157; }
.theme-green   { --a1: #46e394; --a1-rgb: 70,227,148;  --a1-ink: #001a0c; --a2: #5aa2ff; --a2-rgb: 90,162,255; }
.theme-cyan    { --a1: #45e6e6; --a1-rgb: 69,230,230;  --a1-ink: #001a1a; --a2: #a06bff; --a2-rgb: 160,107,255; }
.theme-violet  { --a1: #a685ff; --a1-rgb: 166,133,255; --a1-ink: #0e0022; --a2: #45e6e6; --a2-rgb: 69,230,230; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--a1); color: var(--a1-ink); }

:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; border-radius: 4px; }

/* ---------- Grain + ambient ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
}
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
/* NOTE: soft glow comes from radial gradients, NOT filter: blur() — blur on
   large GSAP-animated elements re-rasterizes every frame and freezes the
   renderer at desktop sizes (same reason stickers bake their outline). */
.ambient .orb {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.ambient .orb-1 {
  width: 60vw; height: 60vw; top: -22%; left: -16%;
  background: radial-gradient(circle, rgba(var(--a2-rgb), 0.17), transparent 62%);
}
.ambient .orb-2 {
  width: 50vw; height: 50vw; bottom: -24%; right: -14%;
  background: radial-gradient(circle, rgba(var(--a1-rgb), 0.11), transparent 62%);
}

main { position: relative; z-index: 2; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: var(--z-loader);
  background: var(--bg-deep);
  display: flex; align-items: center; justify-content: center;
}
.loader-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 5vw, 44px); letter-spacing: -0.02em;
  display: flex; overflow: hidden;
}
.loader-mark span { display: inline-block; transform: translateY(110%); }
.loader-mark .dot { color: var(--a1); }

/* ---------- Cursor glow (desktop only) ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: var(--z-cursor);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--a1); pointer-events: none;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: var(--z-cursor);
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid rgba(var(--a1-rgb), 0.5);
  pointer-events: none; transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}
.cursor-ring.is-hover { width: 64px; height: 64px; border-color: rgba(var(--a1-rgb), 0.9); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 7, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.02em; line-height: 1;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-img { width: 40px; height: 40px; flex: none; }
.footer .nav-logo-img { width: 46px; height: 46px; }
.nav-logo .dot { color: var(--a1); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 99px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); background: var(--surface); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--a1); transform: translateX(-50%);
}
.nav-link .chev { transition: transform 0.25s var(--ease); }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 620px; padding: 10px;
  background: rgba(12, 12, 22, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.dropdown.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px; border-radius: 16px;
  transition: background 0.2s;
}
.dropdown-item:hover { background: var(--surface-2); }
.dropdown-item .icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(var(--hue, var(--a1-rgb)), 0.12);
  color: rgb(var(--hue, var(--a1-rgb)));
}
.dropdown-item .icon svg { width: 20px; height: 20px; }
.dropdown-item h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dropdown-item p { font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

.nav-cta { display: inline-flex; }

/* burger */
.nav-burger {
  display: none; position: relative; z-index: calc(var(--z-menu) + 1);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  place-items: center;
}
.nav-burger span {
  display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-burger span + span { margin-top: 5px; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgba(5, 5, 12, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 110px var(--gutter) 48px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu a { min-height: 44px; display: flex; align-items: center; }
.mm-link {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.02em;
  padding: 8px 0; color: var(--text);
}
.mm-group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(30px, 8vw, 44px); letter-spacing: -0.02em;
  padding: 8px 0; text-align: left; min-height: 44px;
}
.mm-group-toggle .chev { transition: transform 0.3s var(--ease); }
.mm-group-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.mm-sub {
  overflow: hidden; max-height: 0;
  transition: max-height 0.5s var(--ease);
}
.mm-sub a { font-size: 17px; color: var(--muted); padding: 6px 0 6px 18px; border-left: 1px solid var(--border); }
.mm-sub a:hover { color: var(--text); }
.mm-foot { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }

@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  /* keep the CTA but compact — .nav prefix outranks the later .btn rules */
  .nav-inner { gap: 12px; }
  .nav .nav-cta { padding: 10px 16px; font-size: 13px; }
  .nav .nav-cta svg { display: none; }
}
@media (max-width: 359px) {
  /* tiny phones: logo icon only, wordmark hidden so nothing clips */
  .nav .nav-logo > span { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 99px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  letter-spacing: 0.01em; white-space: nowrap;
  cursor: pointer; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--a1); color: var(--a1-ink);
  box-shadow: 0 0 0 0 rgba(var(--a1-rgb), 0.4);
}
.btn-primary:hover { box-shadow: 0 10px 42px -8px rgba(var(--a1-rgb), 0.55); }
.btn-ghost {
  border: 1px solid var(--border-strong); color: var(--text);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface); border-color: rgba(var(--a1-rgb), 0.5); }
.btn-sm { padding: 11px 22px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--a1);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Layout primitives ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; position: relative; }
.section-tight { padding: calc(var(--section-pad) * 0.6) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--a1);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--a1); border-radius: 2px;
}

.h-display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 8.4vw, 116px);
  line-height: 0.98; letter-spacing: -0.03em;
}
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -0.02em; }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.2; letter-spacing: -0.015em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.7; max-width: 60ch; }
.accent { color: var(--a1); }
.outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28);
}

.split-lines .line-wrap { display: block; overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px 0 80px; overflow: clip;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--muted);
  margin-bottom: 30px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--a1);
  box-shadow: 0 0 0 0 rgba(var(--a1-rgb), 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--a1-rgb), 0.55); }
  70% { box-shadow: 0 0 0 11px rgba(var(--a1-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--a1-rgb), 0); }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 34px; border-top: 1px solid var(--border);
}
.hero-meta .m { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .m b { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.hero-meta .m span { font-size: 13px; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Hero cutout stickers ---------- */
.hero .container-wide, .hero .container { position: relative; z-index: 2; }
.hero-stickers {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: visible;
}
/* NOTE: no CSS filters here on purpose — drop-shadow on large animated images
   re-rasterizes every frame and can freeze the renderer. The white sticker
   outline is baked into the PNGs (see README); placeholder.svg has its own. */
.hero-sticker {
  position: absolute;
  right: clamp(10px, 6vw, 120px);
  bottom: 14%;
  width: clamp(180px, 24vw, 400px);
  will-change: transform;
}
/* home trio cluster */
.hero-sticker.s2 {
  width: clamp(130px, 16vw, 280px);
  right: clamp(180px, 27vw, 500px);
  bottom: 6%;
}
.hero-sticker.s3 {
  width: clamp(104px, 12vw, 210px);
  right: clamp(40px, 9vw, 170px);
  bottom: 56%;
}
.js .hero-sticker { opacity: 0; transform: translateY(70px) rotate(7deg) scale(0.82); }
@media (max-width: 899px) {
  /* beside the caption, in the whitespace right of the headline —
     not over the stats or body copy */
  .hero-sticker {
    top: 30svh; bottom: auto; right: 2vw;
    width: clamp(92px, 23vw, 150px);
  }
  /* one sticker is charming on a phone; three is a crowd */
  .hero-sticker.s2, .hero-sticker.s3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-sticker { opacity: 1 !important; transform: none !important; }
}

.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--faint);
}
.scroll-hint .bar {
  width: 1.5px; height: 42px; background: var(--border-strong);
  position: relative; overflow: hidden; border-radius: 2px;
}
.scroll-hint .bar::after {
  content: ''; position: absolute; inset: 0;
  background: var(--a1); transform-origin: top;
  animation: scrollhint 2s var(--ease) infinite;
}
@keyframes scrollhint {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}
@media (max-width: 899px) {
  /* on phones the hero content can be taller than the viewport, so an
     absolutely-pinned hint overlaps the stats — let it flow below instead */
  .scroll-hint { position: static; transform: none; align-self: center; margin: 44px auto 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative;
}
.marquee-track { display: inline-flex; gap: 0; will-change: transform; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px); letter-spacing: -0.01em;
  color: var(--faint);
}
.marquee-item .star { color: var(--a1); font-size: 0.8em; }
.marquee-big .marquee-item {
  font-size: clamp(48px, 8vw, 110px); font-weight: 700; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.22);
}
.marquee-big { border: 0; padding: 10px 0; }

/* ---------- Cards ---------- */
.card {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.015));
  padding: clamp(26px, 3vw, 40px);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(var(--a1-rgb), 0.35); }
.card .card-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 20%), rgba(var(--a1-rgb), 0.09), transparent 65%);
  transition: opacity 0.35s;
}
.card:hover .card-glow { opacity: 1; }

.icon-chip {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(var(--hue, var(--a1-rgb)), 0.12);
  border: 1px solid rgba(var(--hue, var(--a1-rgb)), 0.25);
  color: rgb(var(--hue, var(--a1-rgb)));
}
.icon-chip svg { width: 24px; height: 24px; }

/* services grid (home) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { min-height: 300px; display: flex; flex-direction: column; }
.svc-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.svc-card .num {
  position: absolute; top: 26px; right: 28px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--faint);
}
.svc-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: -0.015em; margin-bottom: 12px; }
.svc-card .link-arrow { margin-top: 24px; font-size: 14px; color: var(--text); }
.svc-card:hover .link-arrow { color: rgb(var(--hue, var(--a1-rgb))); }
@media (max-width: 1023px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.stat {
  padding: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface);
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 4.6vw, 62px); letter-spacing: -0.03em; line-height: 1;
  color: var(--a1);
}
.stat b sup { font-size: 0.5em; top: -0.6em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 1023px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .stats-band { grid-template-columns: 1fr; } }

/* ---------- Steps / process ---------- */
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(28px, 3.6vw, 46px) 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step .n {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px); color: var(--a1);
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.015em; }
.step p { color: var(--muted); font-size: 15.5px; max-width: 52ch; }
@media (max-width: 767px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Split feature rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(72px, 9vw, 130px); }
.feature-row.flip .feature-visual { order: 2; }
.feature-visual {
  position: relative; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  aspect-ratio: 5 / 4;
  display: grid; place-items: center;
}
@media (max-width: 899px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.flip .feature-visual { order: 0; }
}

/* checklist */
.ticks { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.ticks li svg { flex: none; width: 20px; height: 20px; color: var(--a1); margin-top: 2px; }
.ticks li b { color: var(--text); font-weight: 600; }

/* ---------- Quote / testimonial ---------- */
.quote-card {
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--surface); padding: clamp(28px, 3vw, 42px);
  display: flex; flex-direction: column; gap: 22px;
}
.quote-card .qmark { color: var(--a1); }
.quote-card .qmark svg { width: 34px; height: 34px; }
.quote-card p { font-size: 16.5px; line-height: 1.7; color: var(--text); flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 14px; }
.quote-card .who .av {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: rgba(var(--a1-rgb), 0.14); color: var(--a1);
  border: 1px solid rgba(var(--a1-rgb), 0.3);
}
.quote-card .who b { display: block; font-size: 14.5px; }
.quote-card .who span { font-size: 13px; color: var(--faint); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1023px) { .quotes-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--a1); }
.faq-q .fx {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.faq-q[aria-expanded="true"] .fx { transform: rotate(45deg); background: var(--a1); color: var(--a1-ink); border-color: var(--a1); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { padding: 0 4px 28px; color: var(--muted); max-width: 72ch; }

/* ---------- Big CTA ---------- */
.cta-final {
  position: relative; text-align: center;
  padding: clamp(90px, 13vw, 180px) 0;
  overflow: clip;
}
.cta-final .halo {
  position: absolute; left: 50%; top: 50%;
  width: min(880px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--a1-rgb), 0.13), transparent 60%);
  pointer-events: none;
}
.cta-final h2 { position: relative; }
.cta-final .btn { margin-top: 44px; }

/* ---------- Footer ---------- */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: clamp(56px, 7vw, 96px) 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(32px, 4vw, 64px);
}
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 34ch; }
.footer h5 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--a1); }
.footer-bottom {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--faint);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.socials a:hover { color: var(--a1); border-color: rgba(var(--a1-rgb), 0.5); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 539px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Service page: story blocks ---------- */
.story-intro {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px);
}
.story-intro .big-p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.35; letter-spacing: -0.015em;
}
.story-intro .big-p .accent { color: var(--a1); }
.story-intro aside { display: flex; flex-direction: column; gap: 24px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 899px) { .story-intro { grid-template-columns: 1fr; } }

/* pinned chapter numbers */
.chapter-tag {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--faint);
}

/* deliverables grid */
.deliv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliv {
  padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.deliv:hover { border-color: rgba(var(--a1-rgb), 0.4); transform: translateY(-4px); }
.deliv h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.deliv p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.deliv svg { width: 22px; height: 22px; color: var(--a1); margin-bottom: 16px; }
@media (max-width: 899px) { .deliv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559px) { .deliv-grid { grid-template-columns: 1fr; } }

/* platform pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 20px; border-radius: 99px;
  border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.pill:hover { color: var(--text); border-color: rgba(var(--a1-rgb), 0.5); background: rgba(var(--a1-rgb), 0.06); }
.pill svg { width: 15px; height: 15px; color: var(--a1); }

/* ---------- Visual motifs (pure CSS/SVG scenes) ---------- */
.scene { position: relative; width: 100%; height: 100%; min-height: 300px; }

/* floating chips scene (influencer) */
.float-chip {
  position: absolute; padding: 12px 18px; border-radius: 14px;
  background: rgba(18, 18, 32, 0.85); border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 9px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
  will-change: transform;
}
.float-chip .dot-av {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: rgba(var(--a1-rgb), 0.2); color: var(--a1);
}
.float-chip small { display: block; font-weight: 400; color: var(--faint); font-size: 11px; }

/* browser / dashboard mock */
.mockup {
  width: min(88%, 560px); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #0d0d1a;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5);
}
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mockup-bar i:first-child { background: rgba(var(--a1-rgb), 0.7); }
.mockup-bar .url {
  margin-left: 10px; flex: 1; height: 22px; border-radius: 6px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; padding: 0 12px;
  font-size: 10.5px; color: var(--faint); font-family: monospace;
}
.mockup-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.sk-line { height: 10px; border-radius: 5px; background: rgba(255,255,255,0.07); }
.sk-line.w40 { width: 40%; } .sk-line.w60 { width: 60%; } .sk-line.w80 { width: 80%; }
.sk-line.hl { background: rgba(var(--a1-rgb), 0.5); }
.sk-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 8px; }
.sk-bars i {
  flex: 1; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(to top, rgba(var(--a1-rgb), 0.25), rgba(var(--a1-rgb), 0.75));
  transform-origin: bottom;
}

/* chat scene (AI employee) */
.chat-scene { display: flex; flex-direction: column; gap: 12px; width: min(86%, 480px); }
.bubble {
  max-width: 82%; padding: 13px 18px; border-radius: 18px;
  font-size: 13.5px; line-height: 1.5;
  border: 1px solid var(--border);
  will-change: transform;
}
.bubble.in { align-self: flex-start; background: rgba(255,255,255,0.05); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: rgba(var(--a1-rgb), 0.13); border: 1px solid rgba(var(--a1-rgb), 0.3); border-bottom-right-radius: 6px; }
.bubble .tag { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }

/* live pulse scene */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #e02d2d; color: #fff;
  padding: 7px 14px; border-radius: 8px;
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em;
}
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.1s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* ranking rows (SEO) */
.rank-row {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  font-size: 13.5px; will-change: transform;
}
.rank-row .pos { font-family: var(--font-display); font-weight: 700; color: var(--a1); width: 30px; }
.rank-row .up { margin-left: auto; color: #46e394; font-weight: 600; font-size: 12px; display: flex; align-items: center; gap: 4px; }
.rank-row .up svg { width: 13px; height: 13px; }

/* ---------- Case study cards (work page) ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.case-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px; padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background:
    radial-gradient(600px circle at 80% 0%, rgba(var(--hue, var(--a1-rgb)), 0.16), transparent 60%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.case-card:hover { transform: translateY(-6px); border-color: rgba(var(--hue, var(--a1-rgb)), 0.45); }
.case-card .tag {
  position: absolute; top: 26px; left: 26px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgb(var(--hue, var(--a1-rgb)));
  padding: 7px 14px; border-radius: 99px;
  border: 1px solid rgba(var(--hue, var(--a1-rgb)), 0.4);
  background: rgba(var(--hue, var(--a1-rgb)), 0.08);
}
.case-card h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -0.015em; margin-bottom: 10px; }
.case-card p { color: var(--muted); font-size: 14.5px; max-width: 46ch; }
.case-card .kpis { display: flex; gap: 28px; margin-top: 24px; }
.case-card .kpis b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; color: rgb(var(--hue, var(--a1-rgb))); letter-spacing: -0.02em; }
.case-card .kpis span { font-size: 12px; color: var(--faint); }
@media (max-width: 899px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Values / team (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 899px) { .values-grid { grid-template-columns: 1fr; } }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.team-card { text-align: center; padding: 34px 20px; }
.team-card .av {
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  background: rgba(var(--a1-rgb), 0.12); color: var(--a1);
  border: 1px solid rgba(var(--a1-rgb), 0.3);
}
.team-card b { display: block; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.team-card span { font-size: 13px; color: var(--faint); }
@media (max-width: 899px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.form-field label { font-size: 13.5px; font-weight: 600; letter-spacing: 0.02em; }
.form-field label .req { color: var(--a1); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 13px; padding: 15px 18px; font-size: 15px;
  color: var(--text); transition: border-color 0.2s, background 0.2s;
  width: 100%; min-height: 44px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--a1); background: rgba(var(--a1-rgb), 0.04);
}
.form-field select { background-color: var(--bg-2); }
.form-field select option {
  background: var(--bg-2); color: var(--text);
}
.form-field .hint { font-size: 12.5px; color: var(--faint); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 559px) { .form-row { grid-template-columns: 1fr; } }

.contact-line {
  display: flex; align-items: center; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.contact-line .icon-chip { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-line b { display: block; font-size: 15px; }
.contact-line span, .contact-line a.val { font-size: 14px; color: var(--muted); }
.contact-line a.val:hover { color: var(--a1); }

/* ---------- Reveal defaults (JS adds motion; keep visible without JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(0.92); }

/* page enter veil */
.page-veil {
  position: fixed; inset: 0; z-index: calc(var(--z-loader) - 1);
  background: var(--bg-deep); pointer-events: none;
  transform-origin: top;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 767px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
