/* ============================================================
   CUCO AGENCY — REBRAND  ·  experiential / cinematic / vibrant
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --void: #021620;
  --ink: #00223e;
  --ink-2: #073052;
  --ink-3: #0d3d63;
  --paper: #eaf1fb;
  --paper-2: #9fb1cb;
  --line: rgba(234, 241, 251, 0.15);
  --line-2: rgba(234, 241, 251, 0.08);
  --a1: #2f6bff;
  --a2: #34cdef;
  --a3: #6e8cff;
  --brand: #00223e;
  --maxw: 1480px;
  --gutter: clamp(18px, 4vw, 64px);
  --font-d: 'Poppins', sans-serif;
  --font-b: 'Space Grotesk', sans-serif;
  --font-m: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--a1); color: #000; }

.mono { font-family: var(--font-m); letter-spacing: 0.02em; }

/* ---------- shared utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-m); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--paper-2);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a1); flex: 0 0 auto; }

.accent-a1 { color: var(--a1); }
.accent-a2 { color: var(--a2); }
.accent-a3 { color: var(--a3); }
.accent-outline {
  color: transparent;
  -webkit-text-stroke: 1.4px var(--paper);
  text-stroke: 1.4px var(--paper);
}

.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-b); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .35s cubic-bezier(.2,.8,.2,1), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn-arrow { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-solid { background: var(--a1); color: var(--paper); }
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { border-color: var(--line); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: var(--paper); color: #0a0a0a; }
.btn-lg { padding: 18px 30px; font-size: 17px; }

.chip {
  font-family: var(--font-m); font-size: 11px; letter-spacing: 0.06em;
  padding: 5px 11px; border: 1px solid var(--line); border-radius: 100px; color: var(--paper-2);
  text-transform: uppercase;
}

/* reveal — base is the VISIBLE end-state; hidden state only applies when
   [data-anim="on"] (set by JS when the page is actually visible + motion ok).
   Frozen/offscreen/reduced-motion contexts therefore render the final state. */
.reveal { transition: opacity .95s cubic-bezier(.2,.7,.2,1), transform .95s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rv-delay, 0ms); }
[data-anim="on"] .reveal { opacity: 0; transform: translateY(var(--rv-y, 28px)); }
[data-anim="on"] .reveal.in { opacity: 1; transform: none; }

/* word reveal (hero) — ALWAYS visible; only a soft non-clipping rise when animating */
.word-mask { display: inline-block; vertical-align: top; line-height: 0.96; }
.word { display: inline-block; white-space: nowrap; }
[data-anim="on"] .word { animation: wordUp 1s cubic-bezier(.2,.78,.18,1) forwards;
  animation-delay: calc(var(--wi) * 55ms + 180ms); }
@keyframes wordUp { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: translateY(0); } }

/* marquee */
.marquee { overflow: hidden; display: flex; width: 100%; }
.marquee-track { display: flex; flex: 0 0 auto; width: max-content; animation: marq linear infinite; }
.marquee-group { display: flex; align-items: center; flex: 0 0 auto; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* section frame */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 11vw, 170px) var(--gutter); }
.sec-head { margin-bottom: clamp(40px, 6vw, 76px); }
.sec-title {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(34px, 6vw, 76px);
  line-height: 0.98; letter-spacing: -0.02em; margin-top: 18px; max-width: 16ch; text-wrap: balance;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(2,16,26,0.88) 0%, rgba(2,16,26,0) 100%);
  pointer-events: none;
}
.nav-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-link {
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; color: var(--paper);
  position: relative; padding: 4px 0; opacity: 0.85; transition: opacity .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--a1); transition: width .35s cubic-bezier(.2,.8,.2,1);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; font-family: var(--font-m); font-size: 13px; }
.lang-toggle button { background: none; border: none; color: var(--paper-2); cursor: pointer; font: inherit; padding: 2px; transition: color .2s; }
.lang-toggle button.on { color: var(--a1); }
.lang-sep { color: var(--line); }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 30px; height: 22px; background: none; border: none; cursor: pointer; justify-content: center; }
.nav-burger span { display: block; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.x span:nth-child(2) { opacity: 0; }
.nav-burger.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO — shared
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; overflow: hidden; }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 4px 4px; mix-blend-mode: screen; }
.hero-sub { font-size: clamp(15px, 1.4vw, 19px); line-height: 1.45; color: var(--paper-2); max-width: 44ch; }
.hero-cue { position: absolute; bottom: 24px; left: var(--gutter); display: flex; align-items: center; gap: 12px;
  font-family: var(--font-m); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper-2); z-index: 5; }
.hero-cue-line { width: 40px; height: 1px; background: var(--paper-2); position: relative; overflow: hidden; }
.hero-cue-line::after { content: ""; position: absolute; inset: 0; background: var(--a1); animation: cueSlide 2.4s ease-in-out infinite; }
@keyframes cueSlide { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* 01 MANIFESTO */
.hero-manifesto { background: radial-gradient(120% 90% at 80% -10%, rgba(47,107,255,0.20), transparent 55%), var(--void); align-items: center; }
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background: #06121d url("https://static.wixstatic.com/media/12102d_14055cb56c744960a438016b44690949f000.jpg/v1/fill/w_1058,h_597,al_c,q_85,usm_0.33_1.00_0.00,enc_avif,quality_auto/12102d_14055cb56c744960a438016b44690949f000.jpg") center / cover no-repeat; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video-scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,16,26,0.62) 0%, rgba(2,16,26,0.48) 38%, rgba(2,16,26,0.66) 72%, var(--void) 100%); }
.hero-manifesto .hero-man-inner, .hero-manifesto .hero-grain { position: relative; z-index: 1; }
.hero-man-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(92px,12vh,116px) var(--gutter) clamp(40px,7vh,72px); width: 100%; }
.hero-man-title {
  font-family: var(--font-d); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 6vw, 82px); line-height: 0.96; letter-spacing: -0.02em;
  margin: clamp(14px,2vh,22px) 0 clamp(18px,3vh,30px); text-wrap: balance;
}
.hero-man-top { display: contents; }
.hero-man-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; width: 100%; }
.hero-ask { display: flex; align-items: center; gap: 8px; width: min(560px, 100%); flex: 1 1 360px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); border-radius: 100px;
  padding: 7px 7px 7px 22px; backdrop-filter: blur(10px); transition: border-color .3s, background .3s, box-shadow .3s; }
.hero-ask:focus-within { border-color: var(--a1); background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--a1) 22%, transparent); }
.hero-ask-input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff;
  font-family: var(--font-b); font-size: clamp(15px, 1.3vw, 17px); padding: 12px 0; }
.hero-ask-input::placeholder { color: rgba(255,255,255,0.6); }
.hero-ask-send { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--a1); color: #fff; display: grid; place-items: center; font-size: 18px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), filter .3s; }
.hero-ask-send:hover { transform: scale(1.06); filter: brightness(1.08); }
.hero-ask-send:hover .btn-arrow { transform: translateX(3px); }
.hero-man-marquee { position: absolute; bottom: 52px; left: 0; right: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 13px 0; opacity: 0.5; }
.hero-client { font-family: var(--font-d); font-weight: 700; font-size: 20px; text-transform: uppercase; padding: 0 22px; letter-spacing: 0.01em; }
.hero-man-marquee .marquee-sep { color: var(--a1); padding: 0 4px; }

/* 02 REEL */
.hero-reel { background: var(--void); align-items: center; }
.hero-reel-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 6px; padding: 6px; }
.hero-reel-cell { overflow: hidden; }
.hero-reel-cell img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: reelDrift 18s ease-in-out infinite alternate; animation-delay: calc(var(--ci) * -2.4s); filter: saturate(1.05); }
@keyframes reelDrift { from { transform: scale(1.08) translateY(-1.5%); } to { transform: scale(1.16) translateY(1.5%); } }
.hero-reel-scrim { position: absolute; inset: 0; background: radial-gradient(95% 80% at 50% 50%, rgba(2,16,26,0.6) 0%, rgba(2,16,26,0.85) 70%, var(--void) 100%); }
.hero-reel-inner { position: relative; z-index: 4; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero-reel-title { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 6.6vw, 104px); line-height: 0.9; letter-spacing: -0.025em; display: flex; flex-direction: column; max-width: 100%; }
.hero-reel-title .accent-outline { -webkit-text-stroke-width: 2px; }

/* 03 MARQUEE */
.hero-mq { background: var(--void); flex-direction: column; justify-content: center; gap: clamp(40px, 6vw, 80px); padding-top: 110px; }
.hero-mq-top { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; display: flex; flex-direction: column; gap: 22px; }
.hero-mq-title { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: clamp(38px, 7.5vw, 124px); line-height: 0.9; letter-spacing: -0.025em; max-width: 18ch; }
.hero-mq-title em { font-style: italic; }
.hero-mq-strip { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.hero-mq-track { display: flex; gap: 16px; width: max-content; animation: marq 48s linear infinite; padding: 0 8px; }
.hero-mq-card { position: relative; width: clamp(220px, 24vw, 320px); aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; flex: 0 0 auto; }
.hero-mq-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.hero-mq-card:hover img { transform: scale(1.06); }
.hero-mq-cap { position: absolute; left: 12px; bottom: 12px; right: 12px; font-size: 13px; line-height: 1.3; text-shadow: 0 1px 8px rgba(0,0,0,0.7); }
.hero-mq-cap b { color: var(--a2); }

/* 04 SPLIT */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; }
.hero-split-left { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 120px var(--gutter) 80px; min-width: 0; }
.hero-split-title { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; font-size: clamp(32px, 4vw, 68px); line-height: 0.94; letter-spacing: -0.02em; }
.hero-split-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 8px 0; max-width: 540px; }
.hero-split-right { position: relative; overflow: hidden; min-width: 0; }
.hero-split-left > .btn { align-self: flex-start; }
.hero-split-imgwrap { position: absolute; inset: 0; }
.hero-split-imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-split-tag { position: absolute; left: 22px; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 4px; background: rgba(2,16,26,0.5); backdrop-filter: blur(8px); padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; }
.hero-split-tag .mono { font-size: 11px; color: var(--a2); text-transform: uppercase; letter-spacing: 0.12em; }
.hero-split-tag-t { font-family: var(--font-d); font-weight: 700; font-size: 18px; }

/* stat block */
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-n { font-family: var(--font-d); font-weight: 800; font-size: clamp(30px, 3vw, 46px); line-height: 1; }
.stat-l { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper-2); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--void); }
.svc-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px); }
.svc-head .sec-title { margin-top: 16px; }
.svc-intro { color: var(--paper-2); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.55; max-width: 52ch; }
/* cinematic scroll process — pinned stage, one step per screen */
.section-process { position: relative; height: 400vh; background: var(--void); }
.proc-stage { position: sticky; top: 0; height: 100vh; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(86px,12vh,130px) var(--gutter) clamp(70px,9vh,100px); display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; }
.proc-top { position: absolute; top: clamp(40px,7vh,70px); left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; z-index: 3; }
.proc-count { font-size: 14px; letter-spacing: 0.12em; color: var(--paper); }
.proc-count i { color: var(--line); font-style: normal; margin: 0 8px; }
.proc-glow { position: absolute; width: 75vw; height: 75vw; max-width: 820px; max-height: 820px; border-radius: 50%;
  right: -14%; top: 50%; transform: translateY(-50%); pointer-events: none; filter: blur(50px); opacity: 0.45;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 55%, transparent) 0%, transparent 62%);
  transition: background .6s ease, opacity .6s ease; }

.proc-steps { position: relative; flex: 1; display: flex; align-items: center; }
.proc-step { position: absolute; inset: 0; display: flex; align-items: center; gap: clamp(16px,3vw,52px);
  opacity: 0; transform: translateY(46px); pointer-events: none;
  transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1); }
.proc-step.on { opacity: 1; transform: none; pointer-events: auto; }
.proc-step.past { opacity: 0; transform: translateY(-46px); }
.proc-bignum { flex: 0 0 auto; font-family: var(--font-d); font-weight: 800; letter-spacing: -0.04em; line-height: 0.78;
  font-size: clamp(130px, 24vw, 340px); color: transparent;
  -webkit-text-stroke: 2px color-mix(in oklab, var(--pc) 72%, transparent); }
.proc-content { max-width: 48ch; }
.proc-punch { font-family: var(--font-m); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pc); }
.proc-title { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em;
  font-size: clamp(32px, 4.6vw, 68px); margin: 16px 0 22px; text-wrap: balance; }
.proc-desc { color: var(--paper-2); font-size: clamp(16px,1.5vw,21px); line-height: 1.55; margin-bottom: 24px; max-width: 44ch; }
.proc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.proc-step .chip { border-color: color-mix(in oklab, var(--pc) 45%, var(--line)); }

.proc-rail { position: absolute; bottom: clamp(40px,7vh,68px); left: var(--gutter); right: var(--gutter);
  display: flex; align-items: center; gap: clamp(10px,2vw,26px); z-index: 3; }
.proc-tick { display: flex; align-items: center; gap: 10px; background: none; border: none; cursor: pointer;
  padding: 6px 0; opacity: 0.4; transition: opacity .35s; flex: 0 0 auto; }
.proc-tick.on, .proc-tick.done { opacity: 1; }
.proc-tick-n { font-size: 13px; color: var(--paper); letter-spacing: 0.08em; }
.proc-tick.on .proc-tick-n { color: var(--pc); }
.proc-tick-l { font-family: var(--font-b); font-size: 13px; color: var(--paper-2); white-space: nowrap; max-width: 0;
  overflow: hidden; opacity: 0; transition: max-width .45s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.proc-tick.on .proc-tick-l { max-width: 220px; opacity: 1; }
.proc-rail-line { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--line-2); overflow: hidden; }
.proc-rail-line span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0);
  transition: transform .15s linear, background .6s ease; }
@media (prefers-reduced-motion: reduce) { .proc-step { transition: none; } }

/* cinematic featured cases — pinned, images cross-fade on scroll */
.section-feature { position: relative; background: var(--void); }
.feat-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.feat-bg { position: absolute; inset: 0; z-index: 1; }
.feat-layer { position: absolute; inset: 0; will-change: opacity, transform; transform-origin: center; }
.feat-layer img, .feat-layer image-slot { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-scrim2 { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,16,26,0.5) 0%, rgba(2,16,26,0.2) 30%, rgba(2,16,26,0.55) 58%, rgba(2,16,26,0.96) 100%); }
.feat-fore { position: absolute; inset: 0; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); pointer-events: none; }
.feat-fore > .eyebrow { position: absolute; top: clamp(92px,13vh,140px); left: var(--gutter); pointer-events: auto;
  background: rgba(2,16,26,0.55); backdrop-filter: blur(10px); padding: 9px 16px 9px 14px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.14); color: #fff; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.feat-info-wrap { position: absolute; left: var(--gutter); right: clamp(60px,8vw,140px); bottom: clamp(74px,11vh,130px); }
.feat-info { position: absolute; left: 0; right: 0; bottom: 0; display: block; text-decoration: none; opacity: 0;
  transform: translateY(28px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
  pointer-events: none; }
.feat-info.on { opacity: 1; transform: none; pointer-events: auto; }
.feat-cat { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.feat-cat::before { content: ""; width: 30px; height: 3px; border-radius: 2px; background: var(--a1); transition: background .55s ease; }
.feat-brand-t { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; letter-spacing: -0.025em;
  line-height: 0.88; font-size: clamp(44px,9vw,128px); margin: 16px 0 20px; text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.feat-brand-t .b { color: #fff; display: block; }
.feat-link { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6); border-bottom: 2px solid var(--a1); padding-bottom: 3px; transition: gap .3s, border-color .55s ease; }
.feat-info:hover .feat-link { gap: 12px; border-color: #fff; }
.feat-dots { position: absolute; right: var(--gutter); bottom: clamp(74px,11vh,130px); display: flex; flex-direction: column;
  gap: 12px; z-index: 4; }
.feat-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.32); border: none; cursor: pointer;
  padding: 0; transition: background .5s ease, transform .3s; }
.feat-dot.on { background: var(--a1); transform: scale(1.35); }
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 80px minmax(220px, 1.1fr) 1.4fr auto 40px;
  gap: 28px; align-items: center; padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line); position: relative; transition: padding-left .4s cubic-bezier(.2,.8,.2,1);
}
.svc-row::before { content: ""; position: absolute; left: -100%; top: 0; bottom: 0; width: 100%; background: linear-gradient(90deg, transparent, rgba(47,107,255,0.08)); transition: left .5s; pointer-events: none; }
.svc-row.active::before { left: 0; }
.svc-row.active { padding-left: 18px; }
.svc-num { font-size: 14px; color: var(--paper-2); }
.svc-row.active .svc-num { color: var(--a1); }
.svc-title { font-family: var(--font-d); font-weight: 700; font-size: clamp(20px, 2vw, 30px); line-height: 1.05; letter-spacing: -0.01em; }
.svc-desc { color: var(--paper-2); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.svc-mark { font-size: 22px; color: var(--paper-2); transition: transform .4s cubic-bezier(.2,.8,.2,1), color .3s; }
.svc-row.active .svc-mark { color: var(--a1); transform: translate(4px, -4px); }

/* (removed dead "Destaques bento" + Work-gallery styles — those sections no longer exist) */


/* ============================================================
   WORK GALLERY
   ============================================================ */
.work { background: var(--ink); max-width: none; }
.work > .sec-head, .work > .work-filters { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; padding: 0 var(--gutter); }
.filter { font-family: var(--font-b); font-size: 14px; font-weight: 500; color: var(--paper-2);
  background: none; border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; cursor: pointer;
  transition: all .3s; display: inline-flex; align-items: center; gap: 4px; }
.filter sup { font-family: var(--font-m); font-size: 9px; opacity: 0.7; }
.filter:hover { border-color: var(--paper-2); color: var(--paper); }
.filter.on { background: var(--a1); border-color: var(--a1); color: #0a0a0a; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 var(--gutter); max-width: 1760px; margin: 0 auto; }
.case { position: relative; display: flex; flex-direction: column; background: var(--ink-2); overflow: hidden; border-radius: 4px; }
[data-anim="on"] .case { animation: caseIn .6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--di, 0) * 1ms); }
@keyframes caseIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.case-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s; }
.case:hover .case-media img { transform: scale(1.06); filter: brightness(0.7); }
.case-cat { position: absolute; top: 12px; left: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  background: rgba(2,16,26,0.55); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 100px; color: var(--paper); }
.case-view { position: absolute; bottom: 14px; left: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--a2); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.case:hover .case-view { opacity: 1; transform: none; }
.case-info { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 3px; }
.case-brand { font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.case-title { font-size: 14px; color: var(--paper-2); }
.case-meta { font-size: 11px; color: rgba(242,238,228,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ============================================================
   CASES DECK / BARALHO
   ============================================================ */
.work .work-filters { justify-content: center; }
.deck-stage { display: flex; flex-direction: column; align-items: center; gap: clamp(22px, 3vw, 34px); }
.deck { position: relative; width: clamp(290px, 33vw, 420px); height: clamp(380px, 44vw, 558px);
  margin-top: 6px; touch-action: pan-y; }
.deck-card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; background: var(--ink-2);
  box-shadow: 0 36px 70px -28px rgba(0,0,0,.85), 0 0 0 1px var(--line-2) inset; will-change: transform; }
.deck-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none; pointer-events: none; }
.deck-card.is-top { cursor: grab; }
.deck-card.is-top:active { cursor: grabbing; }
.deck-flying { cursor: grabbing; }
.deck-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,16,26,0) 40%, rgba(2,16,26,0.5) 70%, rgba(2,16,26,0.93) 100%); }
.deck-cat { position: absolute; top: 16px; left: 16px; font-family: var(--font-m); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper); background: rgba(2,16,26,0.5);
  backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 100px; pointer-events: none; }
.deck-cardinfo { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px);
  display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.deck-brand { font-family: var(--font-d); font-weight: 800; font-size: clamp(26px, 2.6vw, 40px);
  line-height: 0.98; letter-spacing: -0.01em; }
.deck-title { font-size: 15px; color: var(--paper); opacity: 0.85; }
.deck-meta { font-size: 11px; color: var(--paper-2); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.deck-controls { display: flex; align-items: center; gap: 22px; }
.deck-nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--paper); font-size: 19px; cursor: pointer; display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .3s; }
.deck-nav:hover { background: var(--a1); border-color: var(--a1); transform: translateY(-2px); }
.deck-counter { font-size: 15px; color: var(--paper-2); letter-spacing: 0.12em; min-width: 92px; text-align: center; }
.deck-counter b { color: var(--paper); font-size: 18px; }
.deck-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.deck-hint { font-size: 11px; color: var(--paper-2); text-transform: uppercase; letter-spacing: 0.12em; }
.deck-link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--a2); font-size: 15px; }
.deck-link:hover { color: var(--paper); }

/* ============================================================
   CASES GRID (square cards, reveal on scroll)
   ============================================================ */
.work .work-filters { justify-content: flex-start; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.gcase { position: relative; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden;
  background: var(--ink-2); display: block; text-decoration: none; }
.gcase img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s; }
.gcase:hover img { transform: scale(1.06); filter: brightness(0.58); }
.gcase-scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(2,16,26,0) 44%, rgba(2,16,26,0.55) 72%, rgba(2,16,26,0.92) 100%); }
.gcase-cat { position: absolute; top: 14px; left: 14px; font-family: var(--font-m); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--paper); background: rgba(2,16,26,0.5);
  backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 100px; pointer-events: none; }
.gcase-view { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--a1); color: var(--paper); display: grid; place-items: center; font-size: 15px;
  opacity: 0; transform: translateY(-6px) rotate(-8deg); transition: opacity .35s, transform .35s; }
.gcase:hover .gcase-view { opacity: 1; transform: none; }
.gcase-info { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(14px, 1.5vw, 24px);
  display: flex; flex-direction: column; gap: 3px; pointer-events: none; }
.gcase-brand { font-family: var(--font-d); font-weight: 800; font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1; letter-spacing: -0.01em; }
.gcase-title { font-size: 14px; color: var(--paper); opacity: 0.85; }
.gcase-meta { font-size: 11px; color: var(--paper-2); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }
.gcase image-slot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gcase-slot { background: linear-gradient(150deg, var(--ink-3), var(--ink)); }
.gcase-slot .gcase-info { z-index: 3; }
.work-allcta { display: flex; justify-content: center; margin-top: clamp(34px, 4vw, 56px); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--void); }
.about-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-body { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--paper); max-width: 52ch; margin: 8px 0 40px; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 24px; max-width: 440px; }
.about-media { position: relative; aspect-ratio: 4/5; }
.about-img { position: absolute; overflow: hidden; border-radius: 6px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img.a { inset: 0 14% 18% 0; }
.about-img.a .parallax-inner { width: 100%; height: 120%; }
.about-img.a .parallax-inner img { width: 100%; height: 100%; object-fit: cover; }
.about-img.b { width: 46%; aspect-ratio: 5/4; right: 0; bottom: 0; border: 4px solid var(--void); }
.about-badge { position: absolute; top: 6%; right: 2%; display: flex; flex-direction: column; align-items: center;
  background: var(--a1); color: #0a0a0a; border-radius: 50%; width: clamp(86px, 9vw, 124px); aspect-ratio: 1;
  justify-content: center; line-height: 1; box-shadow: 0 14px 40px rgba(47,107,255,0.4); }
.about-badge-n { font-family: var(--font-d); font-weight: 800; font-size: clamp(32px, 3.4vw, 50px); }
.about-badge .mono { font-size: 10px; letter-spacing: 0.16em; margin-top: 2px; }

/* ============================================================
   TESTIMONIAL — vivid slab
   ============================================================ */
.testimonial { background: var(--a1); color: #fff; max-width: none; position: relative; overflow: hidden; }
.test-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.testimonial .eyebrow { color: rgba(255,255,255,0.85); }
.testimonial .eyebrow-dot { background: #fff; }
.test-head { margin-bottom: clamp(36px, 5vw, 64px); }

.test-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.test-card { margin: 0; position: relative; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.24);
  border-radius: 18px; padding: clamp(24px, 2.4vw, 40px); backdrop-filter: blur(6px); transform: rotate(var(--rot, 0deg));
  animation: cardFloat var(--fdur, 8s) ease-in-out var(--fd, 0s) infinite; box-shadow: 0 24px 50px -28px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; }
.test-card:nth-child(even) { margin-top: clamp(18px, 3vw, 44px); }
.test-logo { height: 44px; flex: 0 0 auto; }
.test-logo image-slot { width: 118px; height: 44px; display: block; --is-radius: 0; filter: drop-shadow(0 1px 6px rgba(0,0,0,0.25)); }
.test-logo-img { width: auto; max-width: 124px; height: 44px; object-fit: contain; border-radius: 8px; display: block; }
.test-card .test-mark { font-family: var(--font-d); font-weight: 800; font-size: clamp(40px, 4vw, 60px); line-height: 0.6;
  color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.test-card blockquote { margin: 0 0 22px; font-family: var(--font-d); font-weight: 700; font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.32; letter-spacing: -0.01em; color: #fff; text-wrap: pretty; }
.test-card figcaption { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; margin-top: auto; }
.test-by { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.test-name { font-family: var(--font-d); font-weight: 700; font-size: clamp(16px, 1.2vw, 19px); color: #fff; }
.test-role { font-size: 12px; color: rgba(255,255,255,0.78); text-transform: uppercase; letter-spacing: 0.06em; }
@keyframes cardFloat { 0%, 100% { transform: rotate(var(--rot,0deg)) translateY(0); } 50% { transform: rotate(var(--rot,0deg)) translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .test-card { animation: none; } }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--ink); max-width: none; padding-left: 0; padding-right: 0; display: flex; flex-direction: column; gap: 26px; }
.clients-head { max-width: var(--maxw); margin: 0 auto 14px; padding: 0 var(--gutter); width: 100%; }
.client-word { font-family: var(--font-d); font-weight: 700; font-size: clamp(30px, 4vw, 64px); text-transform: uppercase;
  padding: 0 30px; color: var(--paper); transition: color .3s; letter-spacing: -0.01em; }
.client-word:hover { color: var(--a1); }
.clients .marquee-sep { color: var(--a2); font-size: 18px; }

/* ============================================================
   FLOATING CHAT BUTTON (appears on scroll past hero input)
   ============================================================ */
.chat-fab { position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 80;
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 100px; cursor: pointer;
  background: var(--a1); color: #fff; border: none; font-family: var(--font-b); font-weight: 600; font-size: 13px;
  box-shadow: 0 16px 40px -12px color-mix(in oklab, var(--a1) 70%, black);
  transform-origin: right center;
  transform: translateY(150%) scaleX(2.1); opacity: 0; pointer-events: none;
  transition: transform .62s cubic-bezier(.22,.9,.24,1), opacity .4s ease, filter .3s; }
.chat-fab.in { transform: none; opacity: 1; pointer-events: auto; }
.chat-fab:hover { filter: brightness(1.07); }
.chat-fab:hover .chat-fab-ic { transform: translateX(3px); }
.chat-fab-label { max-width: 40ch; white-space: nowrap; overflow: hidden;
  transition: max-width .55s cubic-bezier(.22,.9,.24,1), opacity .4s ease; }
.chat-fab-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.22); font-size: 14px; flex: 0 0 auto; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
@media (max-width: 560px) {
  .chat-fab-label { display: none; }
  .chat-fab { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .chat-fab-ic { width: 30px; height: 30px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .chat-fab { transition: opacity .3s; transform: none; } }

/* ============================================================
   FAQ (accordion + FAQPage schema)
   ============================================================ */
.faq { background: var(--ink); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(34px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; color: var(--paper); text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(22px, 2.4vw, 30px) 0; font-family: var(--font-d); font-weight: 700;
  font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.01em; transition: color .3s; }
.faq-q:hover { color: var(--a2); }
.faq-item.open .faq-q { color: var(--a1); }
.faq-ic { position: relative; flex: 0 0 auto; width: 20px; height: 20px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: currentColor; border-radius: 2px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.faq-ic::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-ic::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq-item.open .faq-ic::after { transform: scaleY(0); opacity: 0; }
.faq-a-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.2,.8,.2,1); }
.faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a { overflow: hidden; margin: 0; color: var(--paper-2); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.6;
  max-width: 60ch; }
.faq-item.open .faq-a { padding-bottom: clamp(22px, 2.4vw, 30px); }

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--void); }
.contact-top { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(50px, 7vw, 90px); }
.contact-title { font-family: var(--font-d); font-weight: 800; font-size: clamp(30px, 6.4vw, 100px); line-height: 0.94; letter-spacing: -0.02em; text-transform: uppercase; max-width: 16ch; text-wrap: balance; }
.contact-sub { font-size: clamp(17px, 1.6vw, 22px); color: var(--paper-2); max-width: 46ch; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(24px, 4vw, 40px); border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 44px); }
.office { display: flex; flex-direction: column; gap: 8px; }
.office-city { font-family: var(--font-d); font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); }
.office-country { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--a1); }
.office-addr { white-space: pre-line; color: var(--paper-2); font-size: 15px; line-height: 1.5; margin-top: 6px; }
.office-phone { font-family: var(--font-m); font-size: 15px; margin-top: 4px; border-bottom: 1px solid var(--line); padding-bottom: 2px; width: fit-content; transition: border-color .3s; }
.office-phone:hover { border-color: var(--a1); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); padding: clamp(50px, 6vw, 80px) var(--gutter) 30px; max-width: none; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; }
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); }
.footer-social { display: flex; gap: 22px; }
.footer-social a { font-size: 15px; color: var(--paper-2); position: relative; transition: color .3s; }
.footer-social a:hover { color: var(--a1); }
.footer-big { font-family: var(--font-d); font-weight: 800; font-size: clamp(80px, 26vw, 420px); line-height: 0.8;
  text-align: center; letter-spacing: -0.04em; margin: clamp(20px, 4vw, 50px) 0 10px;
  background: linear-gradient(180deg, var(--ink-3), var(--ink)); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1px var(--line); user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--paper-2);
  border-top: 1px solid var(--line); padding-top: 22px; max-width: var(--maxw); margin: 0 auto; }

/* ============================================================
   CHAT TAKEOVER — letter throw + overlay
   ============================================================ */
.ltr { display: inline-block; will-change: transform; }

/* manifesto: throw each letter off to the left, staggered */
.app.chat-active .hero-man-title .ltr {
  animation: throwLeft .64s cubic-bezier(.55,0,.78,.2) forwards;
  animation-delay: calc(var(--li) * 17ms);
}
.app.chat-closing .hero-man-title .ltr {
  animation: throwBack .5s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: calc(var(--li) * 10ms);
}
@keyframes throwLeft {
  0% { transform: translateX(0) rotate(0); opacity: 1; }
  100% { transform: translateX(-118vw) rotate(-16deg); opacity: 0; }
}
@keyframes throwBack {
  0% { transform: translateX(-118vw) rotate(-16deg); opacity: 0; }
  100% { transform: translateX(0) rotate(0); opacity: 1; }
}

/* fade the rest of the hero away to the left while chat takes over */
.app.chat-active .hero-man-foot,
.app.chat-active .hero-manifesto > .hero-man-inner > .eyebrow,
.app.chat-active .hero-man-marquee,
.app.chat-active .hero-cue,
.app.chat-active .hero-reel-inner,
.app.chat-active .hero-mq-top,
.app.chat-active .hero-mq-strip,
.app.chat-active .hero-split-left,
.app.chat-active .hero-split-right {
  opacity: 0; transform: translateX(-46px);
  transition: opacity .42s ease, transform .55s cubic-bezier(.55,0,.78,.2);
}
/* non-manifesto titles: throw the whole title block left */
.app.chat-active .hero-reel-title,
.app.chat-active .hero-mq-title,
.app.chat-active .hero-split-title {
  transform: translateX(-118vw) rotate(-10deg); opacity: 0;
  transition: transform .6s cubic-bezier(.55,0,.78,.2), opacity .5s;
}

.app.chat-active .hero-manifesto { background: var(--void); }

.chat-overlay {
  position: fixed; inset: 0; z-index: 120; background: var(--void);
  display: flex; flex-direction: column; opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility .5s;
}
.chat-overlay.in { opacity: 1; visibility: visible; }
.chat-aura { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 0%, color-mix(in oklab, var(--a3) 26%, transparent), transparent 70%),
    radial-gradient(55% 45% at 100% 100%, color-mix(in oklab, var(--a1) 22%, transparent), transparent 70%); }

.chat-head { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 18px var(--gutter); border-bottom: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--void) 78%, transparent); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(-12px); transition: opacity .5s ease .12s, transform .5s ease .12s; }
.chat-overlay.in .chat-head { opacity: 1; transform: none; }
.chat-id { display: flex; align-items: center; gap: 13px; }
.chat-logo { height: 30px; width: auto; filter: brightness(0) invert(1); }
.chat-id-text { display: flex; flex-direction: column; gap: 2px; }
.chat-name { font-family: var(--font-d); font-weight: 700; font-size: 17px; }
.chat-status { font-size: 11px; color: var(--paper-2); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 7px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #36d399; box-shadow: 0 0 0 0 rgba(54,211,153,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(54,211,153,.5); } 70% { box-shadow: 0 0 0 7px rgba(54,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(54,211,153,0); } }
.chat-close { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-b); font-weight: 600; font-size: 14px; white-space: nowrap;
  color: #0a0a0a; background: #fff; border: 1px solid #fff; border-radius: 100px; padding: 11px 18px; cursor: pointer;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.5); transition: transform .3s, box-shadow .3s, background .3s; }
.chat-close .chat-close-ic { font-size: 16px; line-height: 1; }
.chat-close:hover { transform: translateY(-1px); background: var(--paper); box-shadow: 0 10px 26px -8px rgba(0,0,0,0.6); }

.chat-scroll { position: relative; z-index: 1; flex: 1; overflow-y: auto; }
.chat-thread { max-width: 780px; margin: 0 auto; padding: 30px var(--gutter) 16px; display: flex; flex-direction: column; gap: 16px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease .2s, transform .5s ease .2s; }
.chat-overlay.in .chat-thread { opacity: 1; transform: none; }
.bubble { max-width: 82%; display: flex; flex-direction: column; animation: bubbleIn .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.bubble-assistant { align-self: flex-start; }
.bubble-user { align-self: flex-end; align-items: flex-end; }
.bubble-tag { font-size: 10px; letter-spacing: 0.14em; color: var(--a2); margin: 0 0 5px 4px; }
.bubble p { margin: 0; padding: 14px 18px; line-height: 1.5; font-size: 15.5px; border-radius: 16px; text-wrap: pretty; }
.bubble p .msg-line { display: block; }
.bubble p .msg-line + .msg-line { margin-top: 7px; }
.bubble p strong { font-weight: 700; color: #fff; }
.bubble-assistant p { background: var(--ink-2); border: 1px solid var(--line-2); border-top-left-radius: 5px; }
.bubble-user p { background: var(--a1); color: #fff; border-top-right-radius: 5px; }
.typing { display: inline-flex !important; gap: 5px; align-items: center; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--paper-2); display: inline-block; animation: typingDot 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .18s; } .typing span:nth-child(3) { animation-delay: .36s; }
@keyframes typingDot { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-foot { position: relative; z-index: 2; max-width: 780px; width: 100%; margin: 0 auto; padding: 8px var(--gutter) 22px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s ease .28s, transform .5s ease .28s; }
.chat-overlay.in .chat-foot { opacity: 1; transform: none; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 12px; }
.chat-chip { font-family: var(--font-b); font-size: 13.5px; color: var(--paper); background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 100px; padding: 9px 15px; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.chat-chip:hover { background: var(--ink-3); border-color: var(--a1); transform: translateY(-1px); }
.chat-inputbar { display: flex; align-items: flex-end; gap: 10px; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 18px; padding: 8px 8px 8px 18px; transition: border-color .3s; }
.chat-inputbar:focus-within { border-color: var(--a1); }
.chat-input { flex: 1; background: none; border: none; outline: none; color: var(--paper); font-family: var(--font-b); font-size: 16px;
  line-height: 1.5; resize: none; max-height: 140px; padding: 9px 0; }
.chat-input::placeholder { color: var(--paper-2); }
.chat-send { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; border: none; background: var(--a1); color: #fff;
  font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: filter .25s, transform .25s, opacity .25s; }
.chat-send:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.chat-send:disabled { opacity: 0.4; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  .app.chat-active .hero-man-title .ltr,
  .app.chat-closing .hero-man-title .ltr { animation: none; opacity: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(200px, 32vw, 280px) clamp(200px, 32vw, 280px) clamp(200px, 32vw, 280px); }
  .feat-lead { grid-column: 1 / -1; grid-row: auto; }
  .feat-lead .feat-brand { font-size: clamp(28px, 5vw, 44px); }
  .svc-row { grid-template-columns: 54px 1fr; grid-template-areas: "num title" "desc desc" "tags mark"; gap: 10px 18px; }
  .svc-num { grid-area: num; } .svc-title { grid-area: title; } .svc-desc { grid-area: desc; } .svc-tags { grid-area: tags; justify-content: flex-start; } .svc-mark { grid-area: mark; justify-self: end; }
}
@media (max-width: 860px) {
  .feat-info-wrap { right: var(--gutter); }
  .feat-dots { display: none; }
  .test-cards { grid-template-columns: 1fr; }
  .test-card:nth-child(even) { margin-top: 0; }
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; background: var(--ink); padding: 90px 32px 40px; gap: 4px;
    transform: translateY(-100%); transition: transform .45s cubic-bezier(.2,.8,.2,1); height: 100svh; justify-content: center; align-items: flex-start; }
  .nav-links.open { transform: none; }
  .nav-link { font-size: 34px; font-family: var(--font-d); font-weight: 700; }
  .nav-burger { display: flex; z-index: 95; }
  .nav-cta { display: none; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-split-right { min-height: 56svh; }
  .hero-split-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: none; width: 100%; margin: 0; aspect-ratio: 4 / 3.4; }
  .about-stats { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .feat-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: clamp(220px, 56vw, 300px); }
  .feat-lead { grid-column: 1; }
  .hero-reel-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-man-marquee { display: none; }
  .footer-top { justify-content: center; text-align: center; }
  .about-body { max-width: none; }
  .about-stats { gap: 24px 16px; }
}
