/* ==========================================================================
   Influence Lab — editorial theme (2026-11)
   Reference: agencyagency.ru — wide display type, white / ink sections,
   thin outline cards, creator photo collages. Kept serious: brand blue
   accent instead of pink, no bubble letters.
   Loaded AFTER redesign.css on every public page.
   ========================================================================== */

:root {
  --aa-ink: #0E1116;
  --aa-ink-2: #151A22;
  --aa-paper: #FFFFFF;
  --aa-paper-2: #F5F6F8;
  --aa-text: #111418;
  --aa-muted: #5B6472;
  --aa-line: rgba(14, 17, 22, 0.14);
  --aa-line-strong: rgba(14, 17, 22, 0.85);
  --aa-line-dark: rgba(255, 255, 255, 0.14);
  --aa-accent: #2977E2;
  --aa-accent-2: #5895EE;
  --aa-accent-deep: #034AA6;
  --aa-grad: linear-gradient(120deg, #0B3D91 0%, #2977E2 55%, #5895EE 100%);
  --aa-display: 'Unbounded', 'Montserrat', system-ui, sans-serif;
  --aa-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --aa-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base typography ---------- */
html, body { overflow-x: clip; }
.aa-section, .aa-cta, .aa-hero { overflow: hidden; }
body {
  font-family: var(--aa-body) !important;
  color: var(--aa-text);
  background: var(--aa-paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3,
.aa-display {
  font-family: var(--aa-display) !important;
  letter-spacing: -0.02em;
}
h1 { font-weight: 500 !important; }
h2 { font-weight: 500 !important; }
h3 { font-weight: 500; }

/* The old "serif italic gradient" accent becomes a flat display word in blue */
.il-serif {
  font-family: var(--aa-display) !important;
  font-style: normal !important;
  font-weight: 300 !important;
}
.gradient-text {
  background: none !important;
  -webkit-text-fill-color: var(--aa-accent) !important;
  color: var(--aa-accent) !important;
}

.il-eyebrow,
.aa-eyebrow {
  font-family: var(--aa-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aa-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.aa-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.aa-on-dark .aa-eyebrow,
.aa-on-dark .il-eyebrow { color: rgba(255, 255, 255, 0.6) !important; }

/* Hand-drawn ring around a word (reference: ellipse around headline) */
.aa-ring {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.aa-ring > svg {
  position: absolute;
  left: -6%;
  top: -22%;
  width: 112%;
  height: 144%;
  pointer-events: none;
  overflow: visible;
}
.aa-ring > svg path {
  fill: none;
  stroke: var(--aa-accent);
  stroke-width: 1.5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.4s var(--aa-ease) .2s;
}
.aa-ring.is-in > svg path,
.is-in .aa-ring > svg path { stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.aa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--aa-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--aa-line-strong);
  color: var(--aa-text);
  background: transparent;
  transition: background-color .18s var(--aa-ease), color .18s var(--aa-ease), border-color .18s var(--aa-ease), transform .18s var(--aa-ease);
  cursor: pointer;
  text-decoration: none;
}
.aa-btn:hover { background: var(--aa-ink); color: #fff; border-color: var(--aa-ink); }
.aa-btn:active { transform: scale(.98); }
.aa-btn:focus-visible { outline: 2px solid var(--aa-accent); outline-offset: 3px; }
.aa-btn--primary { background: var(--aa-ink); color: #fff; border-color: var(--aa-ink); }
.aa-btn--primary:hover { background: var(--aa-accent); border-color: var(--aa-accent); }
.aa-btn--light { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.aa-btn--light:hover { background: #fff; color: var(--aa-ink); border-color: #fff; }
.aa-btn svg { width: 18px; height: 18px; }

/* ---------- Header: white, thin line ---------- */
nav.fixed.il-nav-blue {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--aa-line) !important;
  box-shadow: none !important;
  animation: none !important;
}
nav.fixed.il-nav-blue::before,
nav.fixed.il-nav-blue::after { display: none !important; }
nav.fixed.il-nav-blue img { filter: brightness(0) !important; }
nav.fixed.il-nav-blue a[id^="nav-"]:not(#nav-contact) {
  color: var(--aa-muted) !important;
  font-family: var(--aa-body);
  letter-spacing: 0.08em !important;
}
nav.fixed.il-nav-blue a[id^="nav-"]:not(#nav-contact):hover,
nav.fixed.il-nav-blue a.il-nav-active { color: var(--aa-text) !important; }
nav.fixed.il-nav-blue #nav-contact {
  background: var(--aa-ink) !important;
  color: #fff !important;
  border-color: var(--aa-ink) !important;
  border-radius: 999px;
  letter-spacing: 0.08em !important;
}
nav.fixed.il-nav-blue #nav-contact:hover { background: var(--aa-accent) !important; border-color: var(--aa-accent) !important; }
nav.fixed.il-nav-blue #lang-toggle {
  color: var(--aa-text) !important;
  border-color: var(--aa-line) !important;
  background: transparent !important;
  border-radius: 999px;
}
nav.fixed.il-nav-blue #mobile-menu-button { color: var(--aa-text) !important; }
nav.fixed.il-nav-blue .il-msg-btn { color: var(--aa-text); border-color: var(--aa-line); border-radius: 999px; }
nav.fixed.il-nav-blue .il-msg-btn:hover { color: #fff; }
#mobile-menu img { filter: brightness(0) !important; }
#mobile-menu .il-msg-btn { border-radius: 999px; }

/* ---------- Generic section rhythm ---------- */
.aa-section { position: relative; padding: 112px 0; }
.aa-section--tight { padding: 80px 0; }
.aa-dark { background: var(--aa-ink); color: #fff; }
.aa-dark h2, .aa-dark h3 { color: #fff; }
@media (max-width: 767px) {
  .aa-section { padding: 72px 0; }
  .aa-section--tight { padding: 56px 0; }
}
.aa-h2 {
  font-family: var(--aa-display);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.aa-lead { font-size: 16px; line-height: 1.6; color: var(--aa-muted); }
.aa-dark .aa-lead { color: rgba(255, 255, 255, 0.66); }

/* Soft glow blobs for dark sections */
.aa-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  pointer-events: none;
  background: var(--aa-accent);
}

/* ---------- HERO ---------- */
.aa-hero {
  position: relative;
  padding: 136px 0 72px;
  overflow: hidden;
  background: var(--aa-paper);
}
.aa-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) {
  .aa-hero { padding: 152px 0 96px; }
  .aa-hero__grid { grid-template-columns: 7fr 5fr; gap: 64px; }
}
.aa-hero__title {
  font-family: var(--aa-display) !important;
  font-weight: 500 !important;
  font-size: clamp(32px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--aa-text);
  margin: 24px 0 28px;
}
.aa-hero__title .aa-hero__accent {
  display: block;
  font-weight: 300;
  color: var(--aa-accent);
}
.aa-hero__title .aa-hero__end { display: block; }
.aa-hero__lead { max-width: 520px; font-size: 17px; line-height: 1.6; color: var(--aa-muted); margin-bottom: 36px; }
.aa-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Collage: video card + offset creator photos */
.aa-collage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
}
.aa-collage__main {
  position: absolute;
  inset: 0 18% 8% 0;
  overflow: hidden;
  background: #0E1116;
}
.aa-collage__side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 24px 48px -24px rgba(14, 17, 22, 0.35);
}
.aa-collage__side img { width: 100%; height: 100%; object-fit: cover; }
.aa-collage__tag {
  position: absolute;
  left: -16px;
  bottom: 18%;
  background: #fff;
  border: 1px solid var(--aa-line);
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.35;
  box-shadow: 0 16px 32px -20px rgba(14, 17, 22, 0.35);
  z-index: 3;
}
.aa-collage__tag b { display: block; font-family: var(--aa-display); font-weight: 500; font-size: 15px; }
.aa-collage__ring {
  position: absolute;
  top: -8%;
  right: 4%;
  width: 46%;
  aspect-ratio: 1;
  border: 1px solid var(--aa-accent);
  border-radius: 50%;
  transform: rotate(-18deg) scaleY(.55);
  pointer-events: none;
  z-index: 2;
}

.aa-partners { margin-top: 56px; }
.aa-partners .il-partners-bar { border: 1px solid var(--aa-line); background: #fff; }

/* ---------- INTRO (Projects of any level) ---------- */
.aa-intro__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .aa-intro__grid { grid-template-columns: 7fr 5fr; gap: 80px; } }
.aa-monogram {
  font-family: var(--aa-display);
  font-weight: 600;
  font-size: clamp(140px, 22vw, 300px);
  line-height: .8;
  letter-spacing: -0.06em;
  color: var(--aa-text);
  position: relative;
  display: inline-block;
}
.aa-monogram svg {
  position: absolute;
  left: 10%;
  top: 4%;
  width: 92%;
  height: 100%;
  overflow: visible;
}
.aa-monogram svg ellipse {
  fill: none;
  stroke: var(--aa-accent);
  stroke-width: 2;
}
.aa-intro__text p { font-size: 15px; line-height: 1.65; color: var(--aa-muted); margin-bottom: 16px; }
.aa-intro__text p:first-child { color: var(--aa-text); font-weight: 500; font-size: 17px; }

/* ---------- SERVICES: thin outline cards ---------- */
.aa-services {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--aa-line);
  border-left: 1px solid var(--aa-line);
  margin-top: 56px;
}
@media (min-width: 640px) { .aa-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .aa-services { grid-template-columns: repeat(4, 1fr); } }
.aa-service {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  padding: 32px 28px;
  border-right: 1px solid var(--aa-line);
  border-bottom: 1px solid var(--aa-line);
  color: var(--aa-text);
  text-decoration: none;
  transition: background-color .2s var(--aa-ease), color .2s var(--aa-ease);
}
.aa-service__num { font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--aa-muted); }
.aa-service__title { font-family: var(--aa-display); font-weight: 500; font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.aa-service__desc { font-size: 14px; line-height: 1.6; color: var(--aa-muted); }
.aa-service__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.aa-service__more span { transition: transform .2s var(--aa-ease); }
.aa-service:hover { background: var(--aa-ink); color: #fff; }
.aa-service:hover .aa-service__desc,
.aa-service:hover .aa-service__num { color: rgba(255, 255, 255, 0.66); }
.aa-service:hover .aa-service__more span { transform: translateX(4px); }
.aa-service:focus-visible { outline: 2px solid var(--aa-accent); outline-offset: -2px; }

/* ---------- ADVANTAGES: dark, staggered outline boxes ---------- */
.aa-steps { display: grid; gap: 16px; margin-top: 48px; }
.aa-step {
  position: relative;
  border: 1px solid rgba(88, 149, 238, 0.55);
  padding: 24px 28px;
  max-width: 640px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .2s var(--aa-ease), background-color .2s var(--aa-ease);
}
.aa-step:hover { border-color: var(--aa-accent-2); background: rgba(41, 119, 226, 0.06); }
@media (min-width: 1024px) {
  .aa-step:nth-child(2) { margin-left: 12%; }
  .aa-step:nth-child(3) { margin-left: 24%; }
  .aa-step:nth-child(4) { margin-left: 36%; }
}
.aa-step__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.aa-step__num { font-family: var(--aa-display); font-size: 13px; color: var(--aa-accent-2); }
.aa-step__title { font-family: var(--aa-display); font-weight: 500; font-size: 18px; letter-spacing: .02em; color: #fff; }
.aa-step__desc { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); margin-bottom: 16px; }
.aa-step__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--aa-accent-2);
  text-decoration: none;
}
.aa-step__cta:hover { color: #fff; }
.aa-step__cta span:last-child { transition: transform .2s var(--aa-ease); }
.aa-step__cta:hover span:last-child { transform: translateX(4px); }

/* ---------- CREATORS: photo pairs like the reference ---------- */
.aa-creators {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px 48px;
  margin-top: 64px;
}
@media (min-width: 768px) {
  .aa-creators { grid-template-columns: 1fr 1fr; }
  .aa-creator:nth-child(even) { margin-top: 120px; }
}
.aa-creator { position: relative; display: grid; grid-template-columns: 1fr; }
.aa-creator__photos { position: relative; width: 78%; aspect-ratio: 4 / 5; }
.aa-creator__main { position: absolute; inset: 0 22% 12% 0; overflow: hidden; background: var(--aa-ink-2); }
.aa-creator__sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--aa-ink-2);
}
.aa-creator__main img,
.aa-creator__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--aa-ease);
}
.aa-creator:hover .aa-creator__main img { transform: scale(1.04); }
.aa-creator__meta {
  position: absolute;
  top: 0;
  left: calc(78% * 0.78 + 20px);
  right: 0;
}
.aa-creator__cat { font-family: var(--aa-display); font-weight: 500; font-size: 18px; color: #fff; margin-bottom: 6px; }
.aa-creator__reach { font-size: 15px; color: #fff; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.aa-creator__fmt { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 767px) {
  .aa-creator__photos { width: 100%; }
  .aa-creator__meta { position: static; margin-top: 20px; }
}
.aa-creators__note { margin-top: 64px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }

/* ---------- CTA: brand gradient ---------- */
.aa-cta {
  position: relative;
  overflow: hidden;
  background: var(--aa-grad);
  color: #fff;
  text-align: center;
  padding: 128px 0;
}
.aa-cta h2 { color: #fff !important; }
.aa-cta__orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), rgba(88, 149, 238, 0.25) 45%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.aa-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
@media (min-width: 640px) { .aa-cta__actions { flex-direction: row; justify-content: center; } }

/* ---------- Existing sections re-skinned ---------- */
/* Projects: ink frame instead of navy */
.il-projects-frame { background: var(--aa-ink) !important; border-radius: 0; }
.il-projects-frame__corner { border-color: var(--aa-accent) !important; }

/* Dark navy sections across the site -> ink */
.il-section-dark { background: var(--aa-ink) !important; }

/* Blog / FAQ / LED: flatter cards with thin lines */
.il-bcard,
.il-led-card { border-radius: 0 !important; }
.il-faq-section details,
.il-faq-section .il-faq-item { border-color: var(--aa-line) !important; }

/* Footer: ink instead of navy */
footer.bg-brand-blue { background: var(--aa-ink) !important; }
footer .il-msg-btn { border-radius: 999px; }
footer h2.il-serif { font-weight: 300 !important; letter-spacing: -0.03em; }

/* ---------- Reveal on scroll (paired with assets/aa-theme.js) ---------- */
.aa-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--aa-ease), transform .7s var(--aa-ease); }
.aa-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .aa-reveal { opacity: 1 !important; transform: none !important; }
  .aa-ring > svg path { stroke-dashoffset: 0 !important; transition: none !important; }
  .aa-creator__main img { transition: none !important; }
}

/* Grid children must be allowed to shrink (marquee / collage are wide) */
.aa-hero__grid > *,
.aa-intro__grid > * { min-width: 0; }
.aa-partners { min-width: 0; overflow: hidden; }
@media (max-width: 1023px) {
  .aa-collage { max-width: 360px; }
  .aa-collage__tag { left: 0; }
}

/* ==========================================================================
   v2 — more energy: dark hero with live blogger wall, ticker, tinted bands,
   real Uzbek bloggers catalogue with niche filters.
   ========================================================================== */
.aa-tint { background: #EEF3FB; }

/* Dark hero */
.aa-hero--dark {
  background: #0A0D13;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 64px;
}
.aa-hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aa-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
}
.aa-hero__glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.aa-hero__glow--a { width: 640px; height: 640px; left: -220px; top: -180px; background: #2977E2; opacity: .45; animation: aaFloat 14s ease-in-out infinite alternate; }
.aa-hero__glow--b { width: 520px; height: 520px; right: 10%; bottom: -260px; background: #5B3FD9; opacity: .28; animation: aaFloat 18s ease-in-out infinite alternate-reverse; }
@keyframes aaFloat { to { transform: translate3d(80px, 60px, 0) scale(1.1); } }
.aa-hero--dark .aa-hero__title { color: #fff; }
.aa-hero--dark .aa-hero__title .aa-hero__accent {
  background: linear-gradient(90deg, #5895EE, #9EC2FF 60%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aa-hero--dark .aa-hero__lead { color: rgba(255,255,255,.7); }
.aa-eyebrow--light { color: rgba(255,255,255,.6) !important; }
.aa-btn--white { background: #fff; color: #0A0D13; border-color: #fff; }
.aa-btn--white:hover { background: var(--aa-accent); color: #fff; border-color: var(--aa-accent); }
.aa-btn--icon { width: 52px; padding: 0; }
.aa-hero__stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.aa-hero__stats b { display: block; font-family: var(--aa-display); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums; }
.aa-hero__stats span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 639px) { .aa-hero__stats { gap: 24px; } .aa-hero__stats b { font-size: 24px; } }

/* Blogger wall (3 columns scrolling) */
.aa-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: 640px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.aa-wall__col { overflow: hidden; }
.aa-wall__track { display: flex; flex-direction: column; gap: 14px; animation: aaWallUp 38s linear infinite; }
.aa-wall__col--1 .aa-wall__track { animation-name: aaWallDown; animation-duration: 44s; }
.aa-wall__col--2 .aa-wall__track { animation-duration: 34s; }
.aa-wall:hover .aa-wall__track { animation-play-state: paused; }
@keyframes aaWallUp { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7px)); } }
@keyframes aaWallDown { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }
.aa-wall__card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #151A22;
  border: 1px solid rgba(255,255,255,.08);
}
.aa-wall__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s var(--aa-ease); }
.aa-wall__card:hover img { transform: scale(1.06); }
.aa-wall__chip {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(10,13,19,.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1023px) {
  .aa-hero--dark { min-height: 0; padding-top: 112px; }
  .aa-wall { height: 420px; }
}
@media (max-width: 639px) {
  .aa-wall { grid-template-columns: repeat(2, 1fr); height: 380px; }
  .aa-wall__col--2 { display: none; }
}

/* Ticker band */
.aa-ticker { background: var(--aa-grad); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,.15); }
.aa-ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: aaTicker 30s linear infinite; }
.aa-ticker span { font-family: var(--aa-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; }
.aa-ticker i { font-style: normal; opacity: .6; }
@keyframes aaTicker { to { transform: translateX(-50%); } }

/* Clients row */
.aa-clients { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--aa-line); }
.aa-clients__row { display: grid; gap: 20px; align-items: center; }
@media (min-width: 1024px) { .aa-clients__row { grid-template-columns: 220px 1fr; } }
.aa-clients .aa-partners { margin-top: 0; }
.aa-clients .il-partners-bar { border: 0; background: transparent; }

/* Services: livelier hover */
.aa-service:hover { background: var(--aa-grad) !important; }
.aa-service:nth-child(1) { background: var(--aa-ink); color: #fff; }
.aa-service:nth-child(1) .aa-service__desc,
.aa-service:nth-child(1) .aa-service__num { color: rgba(255,255,255,.66); }

/* Bloggers catalogue */
.aa-creators-sec { background: radial-gradient(ellipse at 80% 0%, rgba(41,119,226,.22), transparent 55%), #0A0D13; }
.aa-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.aa-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s var(--aa-ease), color .18s var(--aa-ease), border-color .18s var(--aa-ease);
}
.aa-filter sup { font-size: 10px; opacity: .6; }
.aa-filter:hover { border-color: #fff; color: #fff; }
.aa-filter.is-active { background: #fff; color: #0A0D13; border-color: #fff; }
.aa-filter:focus-visible { outline: 2px solid var(--aa-accent-2); outline-offset: 2px; }

.aa-bloggers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
@media (min-width: 768px) { .aa-bloggers { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .aa-bloggers { grid-template-columns: repeat(4, 1fr); } }
.aa-blogger {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #151A22;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) { .aa-blogger--xl { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }
.aa-blogger img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .6s var(--aa-ease); }
.aa-blogger:hover img { transform: scale(1.05); }
.aa-blogger__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,19,0) 40%, rgba(10,13,19,.92) 100%); }
.aa-blogger__niche {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
}
.aa-blogger__ig {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0A0D13;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s var(--aa-ease), transform .2s var(--aa-ease);
}
.aa-blogger:hover .aa-blogger__ig,
.aa-blogger:focus-visible .aa-blogger__ig { opacity: 1; transform: none; }
.aa-blogger:focus-visible { outline: 2px solid var(--aa-accent-2); outline-offset: 2px; }
.aa-blogger__info { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.aa-blogger__f { font-family: var(--aa-display); font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.aa-blogger__fl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.aa-blogger__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.aa-blogger__handle { font-size: 13px; color: var(--aa-accent-2); }
.aa-blogger--xl .aa-blogger__f { font-size: clamp(36px, 4vw, 56px); }
.aa-blogger--xl .aa-blogger__name { font-size: 20px; }
@media (max-width: 639px) {
  .aa-blogger__f { font-size: 20px; }
  .aa-blogger__name { font-size: 13px; }
  .aa-blogger__info { left: 10px; right: 10px; bottom: 10px; }
}

/* Team + FAQ bands get a touch of tint so the page is not all white */
.il-faq-section { background: #F5F7FB !important; }

@media (prefers-reduced-motion: reduce) {
  .aa-wall__track, .aa-ticker__track, .aa-hero__glow { animation: none !important; }
}

/* ==========================================================================
   v3 — motion & wow layer (paired with assets/aa-motion.js)
   ========================================================================== */
/* Masked headline lines */
.aa-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.aa-line > span { display: block; will-change: transform; }

/* Hero particle canvas */
.aa-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Intro loader */
.aa-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A0D13;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.aa-loader__word { display: flex; gap: .3em; overflow: hidden; font-family: var(--aa-display); font-size: clamp(36px, 7vw, 96px); font-weight: 500; letter-spacing: -0.04em; color: #fff; }
.aa-loader__word span { display: block; }
.aa-loader__word span:last-child { color: var(--aa-accent-2); font-weight: 300; }
.aa-loader__bar { width: min(280px, 60vw); height: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.aa-loader__bar i { display: block; height: 100%; background: var(--aa-grad); transform: scaleX(0); transform-origin: left; }
html:not(.aa-loading) .aa-loader { pointer-events: none; }
html.aa-loading { overflow: hidden; }

/* Custom cursor (pointer: fine only — enabled by JS) */
.aa-cursor { display: none; }
.aa-has-cursor .aa-cursor { display: block; }
.aa-cursor__dot, .aa-cursor__ring { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; border-radius: 50%; }
.aa-cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--aa-accent); mix-blend-mode: difference; }
.aa-cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1px solid rgba(41,119,226,.7);
  display: grid; place-items: center;
  transition: width .25s var(--aa-ease), height .25s var(--aa-ease), margin .25s var(--aa-ease), background-color .25s var(--aa-ease), border-color .25s var(--aa-ease);
}
.aa-cursor__ring em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #0A0D13; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.aa-cursor.is-link .aa-cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(41,119,226,.12); }
.aa-cursor.is-view .aa-cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: #fff; border-color: #fff; }
.aa-cursor.is-view .aa-cursor__ring em { opacity: 1; }
.aa-cursor.is-hidden { opacity: 0; }

/* Floating pill header after scroll (Goat-style) */
nav.fixed.il-nav-blue { transition: top .4s var(--aa-ease), left .4s var(--aa-ease), right .4s var(--aa-ease), width .4s var(--aa-ease), border-radius .4s var(--aa-ease), box-shadow .4s var(--aa-ease); }
@media (min-width: 1024px) {
  nav.fixed.il-nav-blue.aa-pill {
    top: 12px !important;
    left: 50% !important;
    right: auto !important;
    width: min(1240px, calc(100% - 32px)) !important;
    transform: translateX(-50%);
    border-radius: 999px;
    border: 1px solid var(--aa-line) !important;
    box-shadow: 0 16px 40px -20px rgba(10,13,19,.35) !important;
    animation: none !important;
  }
  nav.fixed.il-nav-blue.aa-pill > div > .flex { height: 64px; }
}

/* Ecosystem: phone + orbit */
.aa-eco { background: #fff; }
.aa-eco__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .aa-eco__grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.aa-eco__list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--aa-line); }
.aa-eco__list li { display: flex; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--aa-line); font-size: 15px; }
.aa-eco__list b { font-family: var(--aa-display); font-weight: 500; font-size: 13px; color: var(--aa-accent); min-width: 24px; }
.aa-orbit { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.aa-orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; animation: aaSpin 60s linear infinite; }
.aa-orbit__lines circle { fill: none; stroke: rgba(41,119,226,.35); stroke-width: 1; stroke-dasharray: 4 8; }
@keyframes aaSpin { to { transform: rotate(360deg); } }
.aa-orbit__tag {
  --r: 47cqw;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(var(--a)) translate(var(--r)) rotate(calc(-1 * var(--a)));
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--aa-line);
  box-shadow: 0 12px 28px -16px rgba(10,13,19,.35);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  animation: aaBob 5s ease-in-out infinite;
}
.aa-orbit__tag:nth-of-type(2n) { animation-delay: -2.5s; }
.aa-orbit__tag--accent { background: var(--aa-grad); color: #fff; border-color: transparent; }
@keyframes aaBob { 50% { margin-top: -10px; } }
.aa-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  aspect-ratio: 9 / 18.5;
  transform: translate(-50%, -50%);
  border-radius: 36px;
  padding: 10px;
  background: #0A0D13;
  box-shadow: 0 40px 80px -30px rgba(10,13,19,.6), inset 0 0 0 2px rgba(255,255,255,.08);
  overflow: hidden;
}
.aa-phone__screen { position: absolute; inset: 10px; border-radius: 28px; overflow: hidden; background: #151A22; }
.aa-phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--aa-ease), transform 3.4s linear; }
.aa-phone__screen img.is-on { opacity: 1; transform: scale(1); }
.aa-phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 22%, transparent 70%, rgba(0,0,0,.6)); }
.aa-phone__bars { position: absolute; z-index: 2; top: 22px; left: 22px; right: 22px; display: flex; gap: 4px; }
.aa-phone__bars i { flex: 1; height: 2px; background: rgba(255,255,255,.35); overflow: hidden; border-radius: 2px; }
.aa-phone__bars i b { display: block; height: 100%; width: 0; background: #fff; }
.aa-phone__bars i.is-done b { width: 100%; }
.aa-phone__bars i.is-run b { animation: aaBar 3.2s linear forwards; }
@keyframes aaBar { to { width: 100%; } }
.aa-phone__meta { position: absolute; z-index: 2; top: 34px; left: 22px; right: 22px; display: flex; align-items: center; gap: 8px; color: #fff; }
.aa-phone__meta b { display: block; font-size: 12px; }
.aa-phone__meta small { display: block; font-size: 10px; opacity: .8; }
.aa-phone__ava { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid var(--aa-accent-2); flex: none; }
.aa-phone__ava img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) {
  .aa-orbit__tag { --r: 40cqw; padding: 7px 11px; font-size: 11px; }
  .aa-phone { width: 40%; border-radius: 28px; }
}

/* Stats band */
.aa-stats { background: var(--aa-grad); color: #fff; padding: 72px 0; position: relative; overflow: hidden; }
.aa-stats::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); }
.aa-stats__grid { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
@media (min-width: 1024px) { .aa-stats__grid { grid-template-columns: repeat(4, 1fr); } }
.aa-stat b { display: block; font-family: var(--aa-display); font-weight: 500; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.aa-stat span { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }

/* Kinetic outline rows */
.aa-kinetic { background: #fff; overflow: hidden; padding: 72px 0; }
.aa-kinetic__row { display: flex; align-items: center; gap: 32px; white-space: nowrap; width: max-content; will-change: transform; }
.aa-kinetic__row + .aa-kinetic__row { margin-top: 8px; }
.aa-kinetic__row span { font-family: var(--aa-display); font-weight: 600; font-size: clamp(56px, 10vw, 160px); line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--aa-ink); }
.aa-kinetic__row span.is-fill { color: var(--aa-ink); -webkit-text-stroke: 0; }
.aa-kinetic__row:nth-child(2) span.is-fill { color: var(--aa-accent); }
.aa-kinetic__row i { font-style: normal; font-size: clamp(28px, 4vw, 60px); color: var(--aa-accent); }

/* Blogger cards: glare + tilt */
.aa-blogger { transform-style: preserve-3d; }
.aa-blogger.is-tilt { transition: transform .12s linear, opacity .7s var(--aa-ease); }
.aa-blogger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 45%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.aa-blogger.is-tilt::after { opacity: 1; }

/* Filter buttons were picking up legacy global button styles */
button.aa-filter { background: transparent; border-radius: 999px !important; }
button.aa-filter.is-active { background: #fff !important; }

@media (prefers-reduced-motion: reduce) {
  .aa-orbit__lines, .aa-orbit__tag, .aa-phone__bars i.is-run b { animation: none !important; }
}

/* Lenis needs native smooth scrolling off */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Pill nav: keep links on one line */
nav.fixed.il-nav-blue a[id^="nav-"] { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1365px) {
  nav.fixed.il-nav-blue a[id^="nav-"]:not(#nav-contact) { padding-left: 10px !important; padding-right: 10px !important; font-size: 12px !important; }
}
nav.fixed.il-nav-blue.aa-pill a[id^="nav-"]:not(#nav-contact) { padding-left: 10px !important; padding-right: 10px !important; font-size: 12px !important; }
nav.fixed.il-nav-blue.aa-pill .w-56 { width: 168px !important; }

/* ==========================================================================
   v4 — three separate videos (replaces the single carousel)
   ========================================================================== */
.aa-reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
  padding: 40px 0 56px;
}
.aa-reels::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,119,226,.28), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.aa-reel {
  position: relative;
  z-index: 1;
  margin: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 20px;
  background: #0A0D13;
  box-shadow: 0 30px 60px -30px rgba(10,13,19,.55);
  transition: transform .5s var(--aa-ease), box-shadow .5s var(--aa-ease);
}
.aa-reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.aa-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,13,19,.35), transparent 25%, transparent 70%, rgba(10,13,19,.55));
  pointer-events: none;
}
.aa-reel--1 { transform: rotate(-5deg) translateY(28px); }
.aa-reel--2 { transform: scale(1.12); z-index: 2; }
.aa-reel--3 { transform: rotate(5deg) translateY(28px); }
.aa-reel:hover { transform: rotate(0) translateY(-6px) scale(1.14); z-index: 3; box-shadow: 0 40px 80px -30px rgba(41,119,226,.55); }
.aa-reel figcaption {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}
.aa-reel figcaption b { font-family: var(--aa-display); font-weight: 500; font-size: 13px; opacity: .85; }
.aa-reel__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
}
.aa-reel__live i { width: 6px; height: 6px; border-radius: 50%; background: #FF4D4D; animation: aaPulse 1.4s ease-in-out infinite; }
@keyframes aaPulse { 50% { opacity: .3; } }
.aa-reels__tag {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--aa-line);
  padding: 12px 18px;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  box-shadow: 0 16px 32px -20px rgba(14,17,22,.35);
}
.aa-reels__tag b { display: block; font-family: var(--aa-display); font-weight: 500; font-size: 15px; }
@media (max-width: 639px) {
  .aa-reels { gap: 10px; padding: 24px 0 48px; }
  .aa-reel { border-radius: 14px; }
  .aa-reel figcaption { left: 8px; right: 8px; top: 8px; }
  .aa-reel figcaption b { display: none; }
  .aa-reel__live { font-size: 9px; padding: 3px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .aa-reel__live i { animation: none; }
}
