/* ============================================
   LEAD STORM — Black & Gold Elegance
   Inspired by madebyshape.co.uk · hyper elegant
   ============================================ */

/* Cursor glow — interactive background */
.cursor-glow {
  position: absolute;
  top: 0; left: 0;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(200,200,200,.08) 0%, rgba(200,200,200,.03) 30%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s ease;
  will-change: transform;
  mix-blend-mode: screen;
}
.cursor-glow.is-visible { opacity: 1; }
[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(100,100,100,.06) 0%, rgba(100,100,100,.02) 30%, transparent 70%);
  mix-blend-mode: multiply;
}
@media (pointer: coarse) { .cursor-glow { display: none; } }

/* Floating particles canvas */
.particles-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Seções ocultas temporariamente — remover para exibir */
.cases, .blog { display: none !important; }

:root {
  /* Brand — DOM HUB */
  --white: #EFEFEB;
  --bone: #e5e5e5;
  --gold: #C9FF58;           /* lima — acento principal */
  --gold-soft: #d4ff7a;      /* lima mais clara */
  --gold-deep: #a8e030;      /* lima mais escura */
  --navy: #161817;
  --navy-2: #111111;
  --black: #000000;
  --ink: #555555;

  /* Theme — DARK (default) */
  --bg: #161817;
  --bg-alt: #a0a0a0;
  --bg-card: #b0b0b0;
  --text: #EFEFEB;
  --text-dim: #979797;
  --line: rgba(85,85,85,.33);
  --accent: var(--gold);
  --logo-color: var(--white);
  --nav-bg-scrolled: rgba(22,24,23,.72);
  --nav-border-scrolled: rgba(239,239,235,.08);

  --ease: cubic-bezier(.135,.9,.15,1);
  --dur: .9s;

  --container: 1320px;
  --pad-x: clamp(1rem, 4vw, 5rem);

  /* Typography — Helvetica */
  --font-sans: "Neue Haas Display", sans-serif;
  --font-display: "Neue Haas Display", sans-serif;

  /* Size scale (tokens) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-1xl: 1.725rem;
  --text-2xl: 2rem;
  --text-2-5xl: 2.25rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;
  --text-6xl: 4.5rem;
  --text-7xl: 5rem;
  --text-8xl: 6rem;
}

/* Theme — LIGHT */
[data-theme="light"] {
  --bg: #fafafa;
  --bg-alt: #f0f0f0;
  --bg-card: #ffffff;
  --text: #161817;
  --text-dim: #5a5a5a;
  --line: rgba(10,10,10,.10);
  --logo-color: var(--ink);
  --nav-bg-scrolled: rgba(250,250,250,.82);
  --nav-border-scrolled: rgba(10,10,10,.10);
}

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

/* ============================================
   PRELOADER — zoom-in text, light bg fades to reveal site
   ============================================ */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  will-change: opacity;
}
.preloader__text {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 9.25vw, 134px);
  line-height: .82;
  letter-spacing: -.075em;
  color: #222;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, color;
  transform-origin: center center;
}
.preloader__text span { display: block; }
.preloader__text em {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.075em;
}
.preloader__credit {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: "Neue Haas Display", sans-serif;
  font-size: 12px;
  color: #999;
}
@media (max-width: 800px) {
  .a-mesa__desktop-break { display: none; }
  .preloader__text { font-size: clamp(50px, 14.8vw, 96px); }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
}
/* Disable native smooth-scroll while Lenis is active (avoids conflict) */
html.lenis { scroll-behavior: auto; }
html.lenis-smooth { scroll-behavior: auto; }
html.lenis-smooth body { -webkit-overflow-scrolling: touch; }

body {
  font-family: "Neue Haas Display", sans-serif;
  background: #979797;
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.55;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
}

/* ============================================
   ANIMATED BACKGROUND — ember aurora
   Tech, smooth, modern — slow morphing blobs
   ============================================ */
.bg-aura {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}
.terrain.webgl {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero,
.clients-section,
.section,
.section--dark,
.video-section,
.marquee-section,
.footer {
  position: relative;
  z-index: 1;
  background: transparent !important;
}
.bg-aura .bg-blob,
.bg-aura .bg-grain,
.bg-aura .bg-grid { display: none !important; }

/* Morphing color blobs */
.bg-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(80px) saturate(1.3);
  mix-blend-mode: screen;
  opacity: .65;
  will-change: transform;
}
[data-theme="light"] .bg-blob {
  mix-blend-mode: multiply;
  opacity: .25;
  filter: blur(80px) saturate(1.6);
}

.bg-blob--1 {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(160,160,160,.15) 0%, transparent 65%);
  animation: blob-drift-1 28s ease-in-out infinite;
}
.bg-blob--2 {
  top: 20%;
  right: -15%;
  background: radial-gradient(circle, rgba(100,100,100,.12) 0%, transparent 65%);
  animation: blob-drift-2 36s ease-in-out infinite;
  opacity: .85;
}
.bg-blob--3 {
  bottom: -15%;
  left: 20%;
  background: radial-gradient(circle, rgba(140,140,140,.1) 0%, transparent 65%);
  animation: blob-drift-3 44s ease-in-out infinite;
  opacity: .55;
}
.bg-blob--4 {
  top: 45%;
  left: 35%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(120,120,120,.1) 0%, transparent 70%);
  animation: blob-drift-4 32s ease-in-out infinite;
  opacity: .7;
}

@keyframes blob-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33%      { transform: translate3d(18vw, 14vh, 0) scale(1.18); }
  66%      { transform: translate3d(-8vw, 28vh, 0) scale(.85); }
}
@keyframes blob-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40%      { transform: translate3d(-16vw, 18vh, 0) scale(1.2); }
  75%      { transform: translate3d(-6vw, -12vh, 0) scale(.9); }
}
@keyframes blob-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  35%      { transform: translate3d(22vw, -10vh, 0) scale(1.1); }
  70%      { transform: translate3d(-12vw, -22vh, 0) scale(1.25); }
}
@keyframes blob-drift-4 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.95); }
  50%      { transform: translate3d(10vw, -16vh, 0) scale(1.3); }
}

/* Subtle film grain */
.bg-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
  animation: grain-shift 8s steps(8) infinite;
}
[data-theme="light"] .bg-grain { opacity: .04; }

@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(2%, 2%); }
  30%  { transform: translate(-1%, 3%); }
  40%  { transform: translate(3%, -1%); }
  50%  { transform: translate(-3%, 1%); }
  60%  { transform: translate(1%, -2%); }
  70%  { transform: translate(-2%, 3%); }
  80%  { transform: translate(2%, -3%); }
  100% { transform: translate(0, 0); }
}

/* Tech grid — slowly drifting orthogonal lines */
.bg-grid {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 20%, transparent 80%);
  opacity: .55;
  animation: grid-drift 80s linear infinite;
}
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(to right, rgba(26,12,8,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,12,8,.06) 1px, transparent 1px);
  opacity: .8;
}

@keyframes grid-drift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(60px, 60px, 0); }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .bg-blob, .bg-grain, .bg-grid { animation: none !important; }
}

::selection { background: var(--gold); color: var(--ink); }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.lazy { opacity: 0; transform: translateY(14px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: .12s; }
.lazy.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================
   NAVBAR — scroll morph (MadeByShape style)
   ============================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 102;
  padding: 28px var(--pad-x) 60px;       /* +bottom padding so logo doesn't crowd "HUB CRIATIVO" */
  pointer-events: none;
  transition: padding .7s var(--ease), transform .5s var(--ease), opacity .5s var(--ease);
}
.nav.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none !important;
}
.nav__inner {
  pointer-events: auto;
  max-width: var(--container);            /* matches hero title container width */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0;                             /* logo flush-left, actions flush-right */
  border-radius: 0;
  background: transparent;
  border: 0;
  transition: max-width .9s var(--ease);
}

/* On scroll: morph into floating pill (centered, narrower, blurred bg) */
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
.nav.is-scrolled .nav__inner {
  max-width: 1180px;
  padding: 10px 14px 10px 24px;
  background: rgba(128,128,128,.35);
  border: 1px solid rgba(250,250,250,.1);
  border-radius: 999px;
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  box-shadow: 0 8px 32px -12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
  transition: max-width .9s var(--ease), padding .7s var(--ease), background .7s var(--ease), border-color .7s var(--ease), border-radius .7s var(--ease), box-shadow .7s var(--ease);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: -.025em;
  color: var(--text);
}

/* Logo rendered via mask-image — recolorable */
.nav__logo-mono {
  display: block;
  width: 0;
  height: 59px;
  background-color: var(--logo-color);
  -webkit-mask-image: url("assets/domhub-monogram.png");
          mask-image: url("assets/domhub-monogram.png");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  opacity: 0;
  overflow: hidden;
  transition: background-color var(--dur) var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .4s var(--ease);
}

.nav__logo-wordmark {
  display: block;
  width: 336px;
  height: 42px;
  background-color: var(--logo-color);
  -webkit-mask-image: url("assets/domhub-wordmark.png");
          mask-image: url("assets/domhub-wordmark.png");
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-mode: alpha;
          mask-mode: alpha;
  transition: background-color var(--dur) var(--ease), opacity .4s var(--ease), width .5s var(--ease), margin .5s var(--ease);
}

.nav.is-scrolled .nav__logo-mono {
  width: 76px;
  opacity: 1;
}

.nav.is-scrolled .nav__logo-wordmark {
  opacity: 0;
  width: 0;
  margin-left: 0;
  overflow: hidden;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;     /* push menu + everything after it to the right edge */
}
.nav__link {
  position: relative;
  padding: 9px 18px;
  font-family: "Neue Haas Display", sans-serif;
  font-size: 13.3px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: 999px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link::before {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::before { transform: scaleX(1); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  cursor: pointer;
}
.nav__burger span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; }

/* Nav actions cluster */
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* ============================================
   MEGAMENU PREVIEW
   ============================================ */
.megamenu {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(880px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  z-index: 101;
  transition: opacity .55s var(--ease), transform .7s var(--ease);
}
.megamenu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.megamenu__inner {
  position: relative;
  border-radius: 28px;
  padding: 26px;
  background: var(--nav-bg-scrolled);
  border: 1px solid var(--nav-border-scrolled);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  overflow: hidden;
  transition: height .55s var(--ease);
}
.megamenu__panel {
  position: absolute;
  top: 26px; left: 26px; right: 26px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.megamenu__panel.is-active {
  position: relative;
  top: auto; left: auto; right: auto;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mm-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.mm-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.mm-list a {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mm-list a strong {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.mm-list a span {
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.mm-list a:hover {
  background: rgba(201,255,88,.08);
  transform: translateX(4px);
}
.mm-list a:hover strong { color: var(--gold); }

.mm-aside {
  border-radius: 18px;
  padding: 20px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
[data-theme="light"] .mm-aside { background: rgba(10,10,10,.04); }
.mm-aside__label {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -.02em;
}
.mm-aside__text {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.55;
}
.mm-thumb {
  margin-top: auto;
  border-radius: 12px;
  aspect-ratio: 16/10;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.mm-thumb::before {
  content: ""; position: absolute; inset: 0;
}
.mm-thumb--svc::before { background: linear-gradient(135deg, #999999, #C9FF58); }
.mm-thumb--cases::before { background: linear-gradient(135deg, #999999, #161817 60%, #d4ff7a); }
.mm-thumb--sobre::before { background: linear-gradient(135deg, #999999, #161817 70%, #C9FF58 130%); }
.mm-thumb--blog::before { background: linear-gradient(135deg, #999999, #999999 60%, #C9FF5899); }
.mm-thumb--contato::before { background: linear-gradient(135deg, #999999, #C9FF58 140%); }
.mm-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.22), transparent 55%);
}

/* Backdrop blur — page-wide */
.megamenu-backdrop {
  position: fixed; inset: 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  background: rgba(5,5,5,.35);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition: opacity .55s var(--ease), backdrop-filter .7s var(--ease), -webkit-backdrop-filter .7s var(--ease);
}
.megamenu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
[data-theme="light"] .megamenu-backdrop { background: rgba(255,255,255,.4); }

/* Active link state while menu open */
.nav__link.is-current { color: var(--gold); }

@media (max-width: 720px) {
  .megamenu { display: none; }
  .mm-cols { grid-template-columns: 1fr; }
}

/* Theme toggle */
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Waving hand */
.wave {
  display: inline-block;
  transform-origin: 70% 80%;
  animation: waving 2.4s ease-in-out infinite;
}
@keyframes waving {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(14deg); }
  20%  { transform: rotate(-8deg); }
  30%  { transform: rotate(14deg); }
  40%  { transform: rotate(-4deg); }
  50%  { transform: rotate(8deg); }
  60%, 100% { transform: rotate(0deg); }
}

/* ============================================
   GOOEY PILL BUTTON
   ============================================ */
.goo-btn {
  display: inline-flex;
  align-items: center;
  filter: url(#goo);
  padding: 0;
  background: transparent;
  cursor: pointer;
  border: 0;
  color: inherit;
}
.goo-btn__pill,
.goo-btn__node {
  background: var(--gold);
  color: #161817;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  letter-spacing: -.01em;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), margin var(--dur) var(--ease);
}
.goo-btn__pill { padding: 0 28px; white-space: nowrap; }
.goo-btn__node {
  width: 52px;
  margin-left: -10px;
}
.goo-btn__node svg { width: 18px; height: 18px; }
.goo-btn:hover .goo-btn__node { margin-left: 4px; transform: rotate(-45deg); }
.goo-btn:hover .goo-btn__pill,
.goo-btn:hover .goo-btn__node { background: var(--gold-soft); }

.goo-btn--lg .goo-btn__pill,
.goo-btn--lg .goo-btn__node { height: 64px; font-size: 17px; }
.goo-btn--lg .goo-btn__pill { padding: 0 36px; }
.goo-btn--lg .goo-btn__node { width: 64px; }
.goo-btn--lg .goo-btn__node svg { width: 22px; height: 22px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  font-weight: 400; font-size: 15.5px;
  background: transparent;
  transition: all var(--dur) var(--ease);
}
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 180px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background: transparent;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .04; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-xs); letter-spacing: .15em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(127,127,127,.04);
  margin-bottom: 28px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); }

.hero__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-5xl), 8vw, var(--text-8xl));
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 14ch;
  color: var(--text);
}

/* ============================================
   HERO GIANT — DOM HUB style: edge-to-edge letters
   Fills exactly one viewport. Pure Inter typography.
   ============================================ */
.hero--giant {
  height: 100svh;
  min-height: 650px;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__clients {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 16px 0;
}
.hero__clients .hero__marquee {
  position: static;
}
.hero__clients .hero__marquee::before {
  background: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero__clients .hero__marquee::after {
  background: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hero__clients .logo-item img {
  filter: grayscale(1) brightness(1.05) contrast(1.08);
  opacity: .72;
}
.hero__clients .marquee__track--logos {
  animation: marquee 17.6s linear infinite;
}
.hero--giant .hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: none;
  gap: clamp(20px, 3vh, 36px);
}
.hero__title--giant {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  font-size: clamp(64px, 9.25vw, 134px);
  line-height: .82;
  letter-spacing: -.075em;
  max-width: none;
  text-transform: none;
  color: #fff;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title--giant em {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.075em;
}
/* Line clip reveal — each line wrapped in .clip > .clip__inner */
.hero__title--giant .clip {
  display: block;
  overflow: hidden;
  padding: 0 .08em .15em;
  margin: 0 -.08em -.15em;
}
.hero__title--giant .clip__inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
[data-theme="light"] .hero__title--giant .clip__inner {
  color: var(--navy);
}
/* Default state for users without GSAP (no FOUC after reveal) */
[data-hero-reveal].is-revealed .clip__inner {
  transform: translateY(0);
}
.hero__title--giant em {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.075em;
  font-size: inherit;
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
}

.eyebrow--hero {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  margin-bottom: 28px;
  font: 400 12px/1.5 "Neue Haas Display", sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  align-self: center;
}

/* Foot: description only (matches reference) */
.hero__foot {
  display: block;
  margin-top: 0;
  max-width: 460px;
  text-align: center;
  align-self: center;
}
.hero__foot .hero__sub {
  margin-top: 0;
  font-family: "Neue Haas Display", sans-serif;
  font-size: clamp(15.6px, 1.2vw, 18px);
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 100%;
}
[data-theme="light"] .hero__foot .hero__sub {
  color: var(--navy);
}

/* Hero showreel video */
.hero__video-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(92%, 1140px);
  height: 70%;
  border-radius: clamp(14px, 2vw, 24px);
  overflow: hidden;
  z-index: 1;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 1;
  pointer-events: none;
}
[data-theme="light"] .hero__video-overlay {
  background: rgba(255,255,255,.65);
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero--giant .hero__content {
  z-index: 2;
}

/* Right edge SCROLL indicator */
.hero__scroll {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  font-family: "Neue Haas Display", sans-serif;
}
.hero__scroll-line {
  width: 1px;
  height: 80px;
  background: currentColor;
  animation: scroll-line 2.6s ease-in-out infinite;
  transform-origin: top;
}
.hero__scroll-text {
  font-size: 10px;
  letter-spacing: .35em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: .6; }
  50%      { transform: scaleY(.4); opacity: 1; }
}

@media (max-width: 720px) {
  .hero--giant { height: 100vh; min-height: 100vh; padding: 0 !important; }
  .hero__title--giant { font-size: clamp(60px, 21vw, 96px); line-height: .84; align-items: center; text-align: center; flex: 0 0 auto; padding: 0 12px; }
  .hero__scroll { display: none; }
}

/* Clients section — standalone after hero */
.clients-section {
  padding: clamp(18px, 2.5vw, 32px) 0;
  position: relative;
  background: #161817;
}
.clients-section .hero__marquee {
  position: static;
  bottom: auto;
}
/* Faster scroll for clients carousel */
.clients-section .marquee__track--logos {
  animation: marquee 17.6s linear infinite;
}
/* Pure B&W (white-ish) treatment on dark bg */
.clients-section .logo-item img {
  filter: grayscale(1) brightness(1.05) contrast(1.08);
  opacity: .72;
  transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.clients-section .logo-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}
.hero__title em {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  font-size: inherit;
  background: none;
  -webkit-background-clip: initial; background-clip: initial; color: inherit;
  -webkit-text-fill-color: currentColor;
}
.hero__sub {
  margin-top: 12px;
  max-width: 58ch;
  font-size: 1.35rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.hero__ctas { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__marquee {
  position: absolute; left: 0; right: 0; bottom: 30px;
  overflow: hidden;
}
/* Blur + fade overlays on horizontal edges */
.hero__marquee::before,
.hero__marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(80px, 14vw, 240px);
  z-index: 2;
  pointer-events: none;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.hero__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 30%, transparent 100%);
          mask-image: linear-gradient(to right, #000 30%, transparent 100%);
}
.hero__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
          mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}
.marquee__track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: "Neue Haas Display", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: rgba(255,255,255,.35);
  font-weight: 300;
}

/* Logo carousel variant */
.marquee__track--logos {
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  animation-duration: 44s;
}
.logo-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-item img {
  height: clamp(88px, 9vw, 132px);
  width: auto;
  object-fit: contain;
  border-radius: 18px;
  opacity: .85;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.logo-item img:hover { opacity: 1; transform: scale(1.04); }
.marquee__track .marquee__sep {
  display: inline-block;
  width: .9em;
  height: .9em;
  vertical-align: -0.08em;
  background-color: var(--gold);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'><path d='M 50 4 A 46 46 0 0 1 96 50 L 96 56 L 64 24 L 72 52 L 50 46 L 4 46 L 4 50 A 46 46 0 0 1 50 4 Z'/><path d='M 50 116 A 46 46 0 0 1 4 70 L 4 64 L 36 96 L 28 68 L 50 74 L 96 74 L 96 70 A 46 46 0 0 1 50 116 Z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'><path d='M 50 4 A 46 46 0 0 1 96 50 L 96 56 L 64 24 L 72 52 L 50 46 L 4 46 L 4 50 A 46 46 0 0 1 50 4 Z'/><path d='M 50 116 A 46 46 0 0 1 4 70 L 4 64 L 36 96 L 28 68 L 50 74 L 96 74 L 96 70 A 46 46 0 0 1 50 116 Z'/></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--dark { background: var(--bg-alt); }

.label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  margin-bottom: 24px;
}
.label::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }

.display {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-2xl), 4.5vw, var(--text-5xl));
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  max-width: 22ch;
}
.display--xl { font-size: clamp(var(--text-4xl), 7vw, var(--text-7xl)); max-width: 16ch; }
.display em { font-style: normal; font-weight: 600; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 60%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { color: var(--text-dim); max-width: 62ch; font-size: 1.05rem; margin-top: 20px; line-height: 1.65; }

.section__head { margin-bottom: 64px; }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.two-col__right .display {
  max-width: 30ch;
  font-size: clamp(var(--text-xl), 2.8vw, var(--text-2-5xl));
  line-height: 1.2;
}

.links-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 400;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--gold); gap: 16px; }

/* ============================================
   CASES — staggered 2-column layout
   ============================================ */
#cases .case__media { cursor: none; }
.cases-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(24px, 4vw, 64px);
  row-gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.cases__head {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
  padding-bottom: clamp(20px, 3vw, 60px);
}
.cases__head .label { margin: 0; padding-left: 0; padding-right: 18px; }
.cases__head .label::before { left: auto; right: 0; }
.cases__head .display {
  text-align: right;
  max-width: 12ch;
}
.cases-col--left {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: flex; flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}
.cases-col--right {
  grid-column: 2;
  grid-row: 2;
  display: flex; flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
}

.case {
  position: relative;
  cursor: none;
  display: block;
}
.case__media {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  background: var(--bg-card);
  transition: transform var(--dur) var(--ease);
}
.case--tall .case__media { aspect-ratio: 4/5; }
.case--short .case__media { aspect-ratio: 5/4; }
.case__media::before {
  content: ""; position: absolute; inset: 0;
  transition: transform var(--dur) var(--ease);
}
.case__media--1::before { background: linear-gradient(135deg, #999999 0%, #999999 50%, #C9FF58 130%); }
.case__media--2::before { background: linear-gradient(135deg, #999999 0%, #999999 50%, #C9FF58 140%); }
.case__media--3::before { background: linear-gradient(135deg, #999999 0%, #161817 60%, #C9FF58 130%); }
.case__media--4::before { background: linear-gradient(135deg, #999999 0%, #161817 50%, #d4ff7a 140%); }
.case__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 50%);
}
.case:hover .case__media::before { transform: scale(1.05); }

/* Service tags revealed on hover */
.case__tags {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 70%;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .55s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.case__tags span {
  background: rgba(10,13,24,.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: -.01em;
  border: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .5s var(--ease), transform .55s var(--ease);
}
[data-theme="light"] .case__tags span { background: rgba(255,255,255,.92); color: var(--navy); border-color: rgba(10,10,10,.06); }
.case:hover .case__tags { opacity: 1; transform: translateY(0); }
.case:hover .case__tags span { opacity: 1; transform: translateY(0); }
.case:hover .case__tags span:nth-child(1) { transition-delay: .04s; }
.case:hover .case__tags span:nth-child(2) { transition-delay: .12s; }
.case:hover .case__tags span:nth-child(3) { transition-delay: .2s; }

.case__info { padding-top: 18px; }
.case__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--text-sm); color: var(--text-dim);
  margin-bottom: 10px;
}
.dot-sep { opacity: .6; }
.case__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-xl), 2.4vw, var(--text-2-5xl));
  letter-spacing: -.025em;
  color: var(--text);
  line-height: 1.15;
  transition: color var(--dur) var(--ease);
}
.case:hover .case__title { color: var(--gold); }

/* CTA — placed below the left column on desktop */
.cases__cta {
  grid-column: 1;
  grid-row: 3;
  margin-top: clamp(20px, 3vw, 40px);
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.cases__cta-title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--text);
  max-width: 11ch;
}
.cases__reviews {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-sm); color: var(--text-dim);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
  align-self: flex-start;
  max-width: 100%;
}
.cases__stars { color: var(--gold); letter-spacing: 3px; white-space: nowrap; flex-shrink: 0; }
.cases__reviews-text { white-space: nowrap; }

@media (max-width: 980px) {
  .cases-layout { grid-template-columns: 1fr; }
  .cases__head { grid-column: 1; text-align: left; align-items: flex-start; }
  .cases__head .label { padding-left: 18px; padding-right: 0; }
  .cases__head .label::before { left: 0; right: auto; }
  .cases__head .display { text-align: left; }
  .cases-col--left, .cases-col--right { grid-column: 1; grid-row: auto; }
}

/* ============================================
   EXPERTISE — 3-col header (MadeByShape style)
   ============================================ */
.expertise__head {
  display: grid;
  grid-template-columns: 1fr 2fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(80px, 10vw, 140px);
}
.expertise__label { padding-top: 14px; }
.expertise__label .label { margin-bottom: 0; }

.expertise__title { padding-top: 4px; }
.expertise__title .display {
  font-size: clamp(var(--text-3xl), 4.2vw, var(--text-5xl));
  max-width: 14ch;
}

.expertise__aside {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 14px;
}
.expertise__aside .lead {
  margin-top: 0;
  font-size: var(--text-md);
  color: var(--text-dim);
  max-width: 32ch;
}

@media (max-width: 980px) {
  .expertise__head { grid-template-columns: 1fr; gap: 24px; }
  .expertise__label, .expertise__title, .expertise__aside { padding-top: 0; }
}

/* ============================================
   SERVICES — Reveal hover (MadeByShape style)
   ============================================ */
#servicos { cursor: none; }
.services {
  list-style: none;
  border-top: 1px solid var(--line);
  /* Aligns the list start with the title column above */
  margin-left: calc((100% / 4.1) + clamp(24px, 4vw, 64px));
}
@media (max-width: 980px) {
  .services { margin-left: 0; }
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 0 40px;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
  cursor: none;
  transition: opacity .7s var(--ease);
  isolation: isolate;
}
.service__num {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--gold);
  letter-spacing: .12em;
  width: 50px;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-4xl), 8vw, var(--text-8xl));
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  will-change: transform;
}
.service__thumb {
  position: absolute;
  left: clamp(70px, 7vw, 110px);
  top: 50%;
  width: clamp(100px, 10vw, 170px);
  height: clamp(70px, 7vw, 115px);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  transform: translateY(-50%) scale(.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  z-index: 2;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
}
.service__thumb::before {
  content: "";
  position: absolute; inset: 0;
}
.service__thumb--1::before { background: linear-gradient(135deg, #999999 0%, #999999 60%, #C9FF58 130%); }
.service__thumb--2::before { background: linear-gradient(135deg, #999999 0%, #161817 50%, #d4ff7a 130%); }
.service__thumb--3::before { background: linear-gradient(135deg, #999999 0%, #161817 60%, #C9FF58 130%); }
.service__thumb--4::before { background: linear-gradient(135deg, #999999 0%, #C9FF58 130%); }
.service__thumb--5::before { background: linear-gradient(135deg, #999999 0%, #999999 60%, #C9FF58 140%); }
.service__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.2), transparent 55%);
}

.service__arrow {
  width: clamp(56px, 6vw, 88px);
  height: clamp(56px, 6vw, 88px);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  opacity: 0;
  transform: scale(.5) rotate(-45deg);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.service__arrow svg { width: 40%; height: 40%; }

.service__desc {
  grid-column: 2 / -1;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--muted);
  padding-left: clamp(140px, 14vw, 240px);
  transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
  margin-top: 0;
}

/* Dim non-hovered items when one is hovered */
.services:hover .service { opacity: .35; }
.services:hover .service:hover { opacity: 1; }

.service:hover .service__title { transform: translateX(clamp(160px, 15vw, 260px)); color: var(--text); }
.service:hover .service__thumb { opacity: 1; transform: translateY(-50%) scale(1); }
.service:hover .service__arrow { opacity: 1; transform: scale(1) rotate(0); }
.service:hover .service__num { color: var(--gold); transform: translateX(-4px); }
.service:hover .service__desc { opacity: 1; max-height: 80px; margin-top: 8px; }

@media (max-width: 720px) {
  .service { padding: 24px 0; flex-wrap: wrap; }
  .service__num { width: 32px; font-size: 11px; }
  .service__thumb { display: none; }
  .service__arrow { width: 44px; height: 44px; }
  .service:hover .service__title { transform: translateX(8px); }
  .service__desc {
    padding-left: 0;
  }
  .service.is-tapped .service__desc {
    opacity: 1;
    max-height: 80px;
    margin-top: 8px;
  }
}

/* ============================================
   VIDEO / TESTIMONIAL PLAYER
   ============================================ */
.video-section {
  padding: clamp(110px, 8vw, 150px) 0;
  background: transparent !important;
}
.video-section__inner {
  width: 100%;
  padding: 0 var(--pad-x);
}
.video-player {
  position: relative;
  width: min(76vw, 1460px);
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 19/8;
  border-radius: clamp(16px, 1.2vw, 20px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-card);
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}
.video-player:hover { transform: translateY(-3px); }

.video-player__poster {
  position: absolute; inset: 0;
  z-index: 0;
}
.video-player__media {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #111;
}
.video-player__cover {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.video-player__poster-img {
  position: absolute; inset: 0;
  z-index: 1;
  display: none;
  filter: none;
}
.video-player__poster-img::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
}
.video-player__shadow {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55) 100%),
              linear-gradient(90deg, rgba(0,0,0,.35) 0%, transparent 50%);
}
.video-player__cover,
.video-player__poster-img,
.video-player__shadow,
.video-quote,
.video-play,
.video-actions { transition: opacity .45s ease, visibility .45s ease; }
.video-player.is-playing .video-player__cover,
.video-player.is-playing .video-player__poster-img,
.video-player.is-playing .video-player__shadow,
.video-player.is-playing .video-quote,
.video-player.is-playing .video-play,
.video-player.is-playing .video-actions {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Quote overlay (top-left) */
.video-quote {
  position: absolute;
  top: clamp(22px, 3.5vw, 56px);
  left: clamp(22px, 3.5vw, 56px);
  max-width: min(72%, 720px);
  z-index: 3;
  color: var(--white);
}
.video-quote__lines {
  display: flex; flex-direction: column;
  gap: 4px;
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 2.7vw, 52px);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: clamp(18px, 2.4vw, 32px);
}
.video-quote__line {
  background: rgba(5,8,16,.78);
  padding: 3px 12px;
  border-radius: 6px;
  align-self: flex-start;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.video-quote__mark {
  color: var(--gold);
  margin-right: 6px;
  font-size: 1.1em;
}
.video-quote__author {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(5,8,16,.78);
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.video-quote__avatar {
  width: 36px; height: 36px;
  border-radius: 7px;
  overflow: hidden;
  background: #232629;
  flex-shrink: 0;
}
.video-quote__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.video-quote__author-info {
  display: flex; flex-direction: column; line-height: 1.2;
}
.video-quote__author-info strong { font-size: var(--text-sm); font-weight: 500; color: var(--white); letter-spacing: -.01em; }
.video-quote__author-info span { font-size: var(--text-xs); color: rgba(245,245,245,.7); }

/* Play button (bottom-left) */
.video-play {
  position: absolute;
  left: clamp(22px, 3.5vw, 56px);
  bottom: clamp(22px, 3.5vw, 56px);
  width: clamp(60px, 4.2vw, 72px);
  height: clamp(60px, 4.2vw, 72px);
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 20px 50px -10px rgba(201,255,88,.5);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.video-play svg { width: 38%; height: 38%; transform: translateX(2px); }
.video-play:hover { transform: scale(1.08); background: var(--gold-soft); }

/* Tab actions (bottom-right) */
.video-actions {
  position: absolute;
  right: clamp(18px, 2.4vw, 36px);
  bottom: clamp(18px, 2.4vw, 36px);
  display: flex;
  gap: 6px;
  z-index: 3;
  padding: 4px;
  border-radius: 999px;
  background: rgba(5,8,16,.6);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
}
.video-actions__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-family: "Neue Haas Display", sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  letter-spacing: -.01em;
}
.video-actions__btn:hover { background: rgba(255,255,255,.08); color: var(--gold); }
.video-actions__btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.video-actions__btn--primary:hover { background: var(--gold-soft); color: var(--ink); }
.video-actions__icon {
  display: grid; place-items: center;
  width: 18px; height: 18px;
}
.video-actions__icon svg { width: 100%; height: 100%; }

@media (max-width: 720px) {
  .video-player { width: 100%; aspect-ratio: 4/5; }
  .video-quote { right: clamp(22px, 4vw, 40px); max-width: none; }
  .video-actions { left: clamp(18px, 4vw, 36px); right: clamp(18px, 4vw, 36px); justify-content: center; }
  .video-actions__btn span:not(.video-actions__icon) { display: none; }
  .video-actions__btn { padding: 12px; }
  .video-play { width: 56px; height: 56px; }
}

/* ============================================
   MARQUEE — "Let's work together"
   ============================================ */
.marquee-section {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--bg);
  overflow: hidden;
}
.marquee-row {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}
.marquee-row + .marquee-row { margin-top: clamp(8px, 1.4vw, 24px); }
.marquee-row__track {
  display: inline-flex;
  gap: clamp(40px, 5vw, 96px);
  will-change: transform;
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-5xl), 13vw, 14rem);
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--text);
}
.marquee-row[data-direction="right"] .marquee-row__track {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}
[data-theme="light"] .marquee-row[data-direction="right"] .marquee-row__track {
  -webkit-text-stroke: 1.5px var(--navy);
}
.testimonial { background: var(--bg-alt); }
.testimonial[hidden] { display: none !important; }
.testimonial__inner { max-width: 880px; margin: 0 auto; text-align: center; padding: 40px 0; }
.testimonial__quote { width: 48px; height: 48px; color: var(--gold); margin: 0 auto 32px; opacity: .85; }
.testimonial blockquote {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--white);
}
.testimonial__author { margin: 28px 0 20px; color: var(--text-dim); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }

/* ============================================
   NARRATIVE — cinematic scroll section
   ============================================ */
/* ============================================
   EXPERTISE — stacked sticky cards (vorszk style)
   ============================================ */
#processo.expertise {
  --card-height: min(702px, 78vh);
  --card-top: max(30px, calc(100vh - var(--card-height) - 30px));
  --card-gap: 75px;
  --intro-height: 666px;
  position: relative;
  z-index: 1;
}

#processo .expertise__top {
  position: sticky;
  top: calc(var(--card-top) - var(--intro-height));
  z-index: 0;
  padding-bottom: calc(var(--card-height) + var(--card-gap));
}

#processo .expertise__top__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(124px, 15.57vw, 280px) 5vw clamp(50px, 7.857vw, 144px);
}

#processo .expertise__label {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  padding: 0;
  letter-spacing: normal;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}

#processo .expertise__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 6.25vw, 120px);
  line-height: 1.1;
  letter-spacing: -.025em;
  padding: 0;
  color: #fff;
  max-width: 100%;
  width: 1000px;
  margin: 0 0 43px;
}

#processo .expertise__title em {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}

#processo .expertise__desc {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.727vw, 30px);
  line-height: 1.4;
  color: #fff;
  max-width: 760px;
  margin: 0;
}

#processo .expertise__navigation {
  position: sticky;
  top: calc(var(--card-top) + var(--card-height) / 2);
  height: 0;
  z-index: 10;
}
#processo .expertise__dots {
  position: absolute;
  left: 0;
  width: 6.25%;
  top: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
#processo .expertise__dot {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .3s ease;
}
#processo .expertise__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
}
#processo .expertise__dot.is-active { border-color: #fff; }
#processo .expertise__dot.is-active::before { background: #fff; }
#processo .expertise__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* --- Cards container --- */
#processo .expertise__cards {
  position: relative;
  margin-top: calc(-1 * (var(--card-height) + var(--card-gap)));
}

#processo .expertise__cards__wrap {
  display: flex;
  flex-direction: column;
}

/* --- Individual card --- */
#processo .expertise__card {
  position: sticky;
  top: var(--card-top);
  height: var(--card-height);
  padding: 0 6.25%;
  margin-bottom: var(--card-gap);
  z-index: 1;
}
#processo .expertise__card[data-card="0"] { z-index: 1; }
#processo .expertise__card[data-card="1"] { z-index: 2; }
#processo .expertise__card[data-card="2"] { z-index: 3; }
#processo .expertise__card[data-card="3"] { z-index: 4; }

#processo .expertise__card__inner {
  position: relative;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0 auto;
  border-radius: 27px;
  overflow: hidden;
  background: #B2B2AF;
  padding: 0;
  transform-origin: 50% 100%;
  will-change: transform, background-color;
}

#processo .expertise__card__face {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #DCDEDA;
  border-radius: 0;
  padding-left: clamp(30px, 3.96vw, 57px);
  overflow: hidden;
}

#processo .expertise__card[data-card="1"] .expertise__card__face { background: #E7E8E5; }
#processo .expertise__card[data-card="2"] .expertise__card__face { background: #EEEEEE; }
#processo .expertise__card[data-card="2"] .expertise__card__inner { background: #DCDEDA; }
#processo .expertise__card[data-card="3"] .expertise__card__face { background: #F5F5F5; }
#processo .expertise__card[data-card="3"] .expertise__card__inner { background: #E7E8E5; }

/* --- Header: giant title + arrow --- */
#processo .expertise__card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  flex: 0 0 auto;
}

#processo .expertise__card__header__info { min-width: 0; flex: 1; padding-right: 20px; }
#processo .expertise__card__header__info h3 {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 2vw, 28px);
  margin: 0;
}

#processo .expertise__card__num {
  font-family: "Neue Haas Display", sans-serif;
  font-size: clamp(16px, 2.1vw, 30px);
  color: rgba(0,0,0,.35);
  font-weight: 400;
}

#processo .expertise__card__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  font-size: clamp(42px, 9.375vw, 135px);
  overflow-wrap: anywhere;
  color: #555;
  line-height: .95;
  letter-spacing: -.03em;
}

/* Arrow button — top right (L-shaped border: left + bottom) */
#processo .expertise__card:not([data-card="0"]) .expertise__card__title { font-size: clamp(42px, 6.25vw, 90px); }

#processo .expertise__card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(80px, 17.7vw, 255px);
  height: clamp(120px, 16.7vw, 240px);
  border-left: 2px solid #CBCBCB;
  border-bottom: 2px solid #CBCBCB;
  border-radius: 0 0 0 30px;
  color: rgba(0,0,0,.35);
  flex-shrink: 0;
  cursor: pointer;
  transition: color .4s ease, background .4s ease;
}
#processo .expertise__card__arrow:hover { background: rgba(0,0,0,.04); color: rgba(0,0,0,.6); }
#processo .expertise__card__arrow svg { width: clamp(20px, 2.4vw, 34px); height: clamp(20px, 2.4vw, 34px); }

/* --- Body: description + explore (L-shaped border: top + left) --- */
#processo .expertise__card__body {
  position: relative;
  flex: 1;
  margin-top: -2px;
  display: flex;
  align-items: flex-end;
  border-top: 2px solid #CBCBCB;
  border-left: 2px solid #CBCBCB;
  border-radius: clamp(18px, 2.3vw, 34px) 0 0 0;
  padding: clamp(20px, 2.3vw, 33px) clamp(16px, 1.5vw, 21px) clamp(20px, 2.3vw, 33px) clamp(28px, 4vw, 57px);
}
#processo .expertise__card__body::before {
  content: "";
  position: absolute;
  top: -6px;
  right: clamp(80px, 17.7vw, 255px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

#processo .expertise__card__body__content {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 35px);
  max-width: 420px;
  padding: 15px 0;
}

#processo .expertise__card__text {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.1vw, 30px);
  line-height: 1.45;
  color: #555;
  margin: 0;
}

#processo .expertise__card__explore {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  height: clamp(56px, 4.9vw, 70px);
  padding: 0 clamp(4px, .35vw, 5px) 0 clamp(25px, 2.1vw, 30px);
  border-radius: 35px;
  background: rgba(255,255,255,.7);
  color: rgba(0,0,0,.55);
  font-family: "Neue Haas Display", sans-serif;
  font-size: clamp(14px, 1.3vw, 20px);
  font-weight: 400;
  text-decoration: none;
  width: fit-content;
  transition: background .4s ease, color .4s ease;
}
#processo .expertise__card__explore:hover { background: rgba(255,255,255,.95); color: rgba(0,0,0,.8); }

#processo .expertise__card__explore span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #DDDEDA;
  font-size: 30px;
}

/* --- Mobile --- */
@media (max-width: 800px) {
  #processo.expertise { --card-height: min(590px, 85svh); --card-top: max(16px, calc(100svh - var(--card-height) - 16px)); --card-gap: 53px; }
  #processo .expertise__top__inner { padding: 124px 16px 50px; }
  #processo .expertise__label { font-size: 12px; margin-bottom: 18px; }
  #processo .expertise__title { font-size: 48px; max-width: 100%; margin-bottom: 20px; }
  #processo .expertise__desc { font-size: 18px; max-width: 100%; padding: 0 30px; }
  #processo .expertise__card {
    padding: 0 16px;
  }
  #processo .expertise__card__inner { max-width: 100%; border-radius: 20px; padding: 0; }
  #processo .expertise__card__face { border-radius: 0; padding-left: 30px; }
  #processo .expertise__card__header { padding-left: 0; }
  #processo .expertise__card__arrow {
    width: 2px;
    overflow: hidden;
    border-radius: 0 0 0 38px;
    height: 120px;
  }
  #processo .expertise__card__arrow svg { display: none; }
  #processo .expertise__card__body {
    padding: 0;
    border-radius: 20px 0 0 0;
  }
  #processo .expertise__card__body__content {
    padding: 30px;
    max-width: 100%;
    gap: 28px;
  }
  #processo .expertise__card__text { font-size: 18px; }
  #processo .expertise__card__num { font-size: 18px; }
  #processo .expertise__card__title { font-size: 46px; }
  #processo .expertise__card:not([data-card="0"]) .expertise__card__title { font-size: clamp(28px, 9.23vw, 36px); }
  #processo .expertise__card__explore {
    height: 56px;
    padding: 0 4px 0 25px;
  }
  #processo .expertise__navigation { display: none; }
  #processo .expertise__card__explore { gap: 16px; font-size: 16px; }
  #processo .expertise__card__explore span { width: 48px; height: 48px; font-size: 26px; }
}

/* ============================================
   BLOG — side title + overflow carousel
   ============================================ */
.blog__layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 2.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  overflow: visible;
}
.blog__side {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  position: sticky;
  top: 140px;
}
.blog__side .display {
  max-width: 14ch;
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
}
.blog__nav { display: flex; gap: 12px; margin-top: 12px; }
.blog__arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.blog__arrow svg { width: 20px; height: 20px; }
.blog__arrow:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.blog__arrow:disabled { opacity: .3; cursor: not-allowed; }

/* Carousel — extends all the way to the right edge of the viewport */
.blog__carousel {
  position: relative;
  /* Cancel the container right padding AND extend past the centered container
     to reach the actual viewport edge */
  margin-right: calc(-1 * (var(--pad-x) + max(0px, (100vw - var(--container)) / 2)));
  overflow: hidden;
}
.blog__track {
  display: flex;
  gap: clamp(20px, 2.4vw, 36px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-right: clamp(40px, 6vw, 120px);
  /* hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.blog__track::-webkit-scrollbar { display: none; }

.post {
  flex: 0 0 clamp(280px, 30vw, 460px);
  scroll-snap-align: start;
  cursor: pointer;
}
.post__media {
  aspect-ratio: 4/3;
  border-radius: 22px;
  margin-bottom: 22px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
}
.post__media::before { content:""; position:absolute; inset:0; transition: transform var(--dur) var(--ease); }
.post__media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%);
}
.post__media--1::before { background: linear-gradient(120deg, #999999, #999999 60%, #C9FF5855); }
.post__media--2::before { background: linear-gradient(120deg, #999999, #999999 60%, #C9FF58aa); }
.post__media--3::before { background: linear-gradient(120deg, #999999, #161817 50%, #C9FF58); }
.post__media--4::before { background: linear-gradient(120deg, #999999, #161817 50%, #d4ff7a 130%); }
.post:hover .post__media::before { transform: scale(1.04); }
.post__meta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-sm); color: var(--text-dim); margin-bottom: 14px;
}
.post__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.post__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-lg), 1.8vw, var(--text-1xl));
  line-height: 1.22;
  letter-spacing: -.025em;
  color: var(--text);
  transition: color var(--dur) var(--ease);
  margin-bottom: 14px;
}
.post:hover .post__title { color: var(--gold); }
.post__excerpt {
  font-size: var(--text-sm);
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 42ch;
}

@media (max-width: 980px) {
  .blog__layout { grid-template-columns: 1fr; }
  .blog__side { position: static; }
  .post { flex: 0 0 80%; }
}
@media (max-width: 720px) {
  .post { flex: 0 0 88%; }
}

.prose p { color: var(--text-dim); font-size: 1.05rem; line-height: 1.7; margin-top: 18px; }
.prose p:first-child { margin-top: 24px; }

/* ============================================
   SPOTLIGHT / BASTIDORES — floating images
   ============================================ */
.spotlight {
  position: relative;
  padding: clamp(120px, 16vw, 200px) 0;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
.spotlight__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.spotlight__inner .eyebrow { margin-bottom: 4px; }
.spotlight__title {
  max-width: 18ch;
  font-size: clamp(var(--text-4xl), 6.4vw, var(--text-7xl));
}
.spotlight__inner .lead {
  text-align: center;
  margin: 0 auto;
  max-width: 56ch;
}
.spotlight__ctas {
  display: flex; flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}

/* Floating image stage */
.spotlight__floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.float-img {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  will-change: transform;
}
.float-img::before {
  content: ""; position: absolute; inset: 0;
}
.float-img::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), transparent 55%);
}

/* Static rotation as a CSS var so JS can compose with translate */
.float-img--1 { top: 6%;  left: 4%;  width: clamp(180px, 22vw, 320px); aspect-ratio: 4/3; --r: -3deg; }
.float-img--1::before { background: linear-gradient(135deg, #999999, #999999 60%, #C9FF5899); }

.float-img--2 { top: 12%; right: 5%; width: clamp(150px, 16vw, 240px); aspect-ratio: 5/6; --r: 2deg; }
.float-img--2::before { background: linear-gradient(135deg, #999999, #161817 60%, #d4ff7a 130%); }

.float-img--3 { bottom: 14%; left: 2%; width: clamp(160px, 18vw, 260px); aspect-ratio: 5/3; --r: 4deg; }
.float-img--3::before { background: linear-gradient(120deg, #999999, #161817 50%, #C9FF58 140%); }

.float-img--4 { bottom: 8%; right: 4%; width: clamp(170px, 19vw, 280px); aspect-ratio: 4/3; --r: -4deg; }
.float-img--4::before { background: linear-gradient(135deg, #999999, #161817 50%, #C9FF58 130%); }

.float-img--5 { top: 46%; left: 8%;  width: clamp(120px, 13vw, 190px); aspect-ratio: 1/1; --r: 6deg; }
.float-img--5::before { background: linear-gradient(135deg, #999999, #161817 70%, #d4ff7a 140%); }

.float-img--6 { top: 50%; right: 9%; width: clamp(130px, 14vw, 200px); aspect-ratio: 5/4; --r: -5deg; }
.float-img--6::before { background: linear-gradient(135deg, #999999, #C9FF58 150%); }

/* Set static initial transform so it renders before JS kicks in */
.float-img { transform: rotate(var(--r, 0deg)); transition: transform .25s var(--ease); }
.float-img.is-anim { transition: none; }

@media (max-width: 720px) {
  .float-img--5, .float-img--6 { display: none; }
  .float-img--1, .float-img--2 { width: 30vw; }
  .float-img--3, .float-img--4 { width: 32vw; }
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(201,255,88,.12) 0%, transparent 60%), var(--bg);
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  pointer-events: none;
}
.cta-final__inner { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; position: relative; }
.cta-final .display { margin: 0 auto; }
.cta-final .lead { text-align: center; margin: 0 auto; }
.rating { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--text-dim); white-space: nowrap; max-width: 100%; }
.rating__stars { color: var(--gold); letter-spacing: 3px; white-space: nowrap; flex-shrink: 0; }
.rating__text { white-space: nowrap; }

/* ---- Metrics: stat cards (same style as process steps) ---- */
.metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0;
  margin-top: clamp(32px, 5vw, 56px);
}
.metrics__card {
  padding: 32px 24px;
  border-radius: 18px;
  background: var(--bg-card);
  color: #161817;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.metrics__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 0;
  transition: width var(--dur) var(--ease);
}
.metrics__card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,255,88,.4);
}
.metrics__card:hover::before { width: 80px; }
.metrics__number {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #161817;
}
.metrics__label {
  font-family: "Neue Haas Display", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #444;
  line-height: 1.4;
}

/* ============================================
   FOOTER — card + giant text + social rail
   ============================================ */
.footer {
  background: var(--bg);
  padding: clamp(60px, 8vw, 110px) 0 30px;
  position: relative;
}
.footer__wrap {
  position: relative;
  width: 100%;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}

/* Vertical social rail */
.footer__socials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 40px;
}
.footer__socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201,255,88,.14);
  color: var(--gold);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer__socials a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}
.footer__socials svg { width: 18px; height: 18px; }

/* Main card */
.footer__card {
  background: #b0b0b0;
  color: #161817;
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(36px, 4.5vw, 72px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250,250,250,.06);
}
[data-theme="light"] .footer__card { background: #b0b0b0; color: #161817; }

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

/* CTA cluster */
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.footer__cta-title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f5f5f5;
  max-width: 11ch;
}
.footer__reviews {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-sm); color: #9aa1ad;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
.footer__reviews span:last-child { white-space: nowrap; }
.footer__stars { color: var(--gold); letter-spacing: 3px; white-space: nowrap; flex-shrink: 0; }

/* Link columns */
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.footer__col h4 {
  font-size: var(--text-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9aa1ad;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer__col a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 0;
  color: #f5f5f5;
  font-size: var(--text-md);
  transition: color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.footer__col a:hover { color: var(--gold); padding-left: 6px; }
.badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  background: var(--gold);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Contact / right column */
.footer__contact { position: relative; }
.footer__msg {
  font-size: var(--text-sm);
  color: #9aa1ad;
  text-align: right;
  margin-bottom: 28px;
}
.footer__msg .wave { transform-origin: 70% 80%; }
.footer__contact h4 {
  font-size: var(--text-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9aa1ad;
  margin-bottom: 22px;
  font-weight: 500;
}
.footer__contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer__contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.footer__contact-list a { color: #f5f5f5; font-size: var(--text-md); transition: color var(--dur) var(--ease); }
.footer__contact-list a:hover { color: var(--gold); }
.footer__address { color: #f5f5f5; font-size: var(--text-md); line-height: 1.5; }
.footer__ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(201,255,88,.14);
  color: var(--gold);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.footer__ico svg { width: 14px; height: 14px; }

/* Giant brand text */
.footer__giant {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 500;
  font-size: clamp(var(--text-2xl), 4.2vw, var(--text-5xl));
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #f5f5f5;
  margin: 0 auto;
  text-align: center;
  max-width: 24ch;
  padding-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__giant em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 60%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Legal row */
.footer__legal {
  margin-top: 30px;
  padding-top: 18px;
  font-size: var(--text-sm);
  color: var(--text-dim);
}
.footer__legal-inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.footer__legal-brand .footer__legal-logo {
  width: 92px; height: 24px; background-color: var(--text);
}
.footer__legal .muted { color: var(--text-dim); }
.footer__legal-spacer { flex: 1; }
.footer__legal a:hover { color: var(--gold); }
.footer__legal .dot-sep { opacity: .5; }

@media (max-width: 980px) {
  .footer__wrap { grid-template-columns: 1fr; }
  .footer__socials {
    flex-direction: row;
    padding-top: 0;
    padding-left: 8px;
  }
  .footer__top { grid-template-columns: 1fr; }
  .footer__msg { text-align: left; }
}
@media (max-width: 720px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__giant { font-size: clamp(var(--text-3xl), 13vw, var(--text-7xl)); }
  .footer__legal-inner { gap: 10px; }
  .footer__legal .dot-sep { display: none; }
}

/* ============================================
   FLOATING CHAT FAB — elegant + animated
   ============================================ */
.chat-fab {
  position: fixed;
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 28px);
  z-index: 90;
  width: 64px; height: 64px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  isolation: isolate;
  --fab-bg: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  --fab-bg-hover: linear-gradient(135deg, #C9FF58 0%, #d4ff7a 100%);
}

/* Pulsing rings */
.chat-fab__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, .35);
  animation: fab-pulse 2.4s var(--ease) infinite;
  z-index: 1;
}
.chat-fab__ring--delay { animation-delay: 1.2s; }
.chat-fab:hover .chat-fab__ring { background: rgba(201,255,88, .4); }
@keyframes fab-pulse {
  0%   { transform: scale(1);    opacity: .8; }
  80%  { transform: scale(1.9);  opacity: 0; }
  100% { transform: scale(1.9);  opacity: 0; }
}

/* Core button */
.chat-fab__core {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fab-bg);
  color: var(--white);
  box-shadow: 0 18px 40px -10px rgba(37, 211, 102, .45), inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background .55s var(--ease), box-shadow .55s var(--ease), transform .55s var(--ease);
  overflow: hidden;
}
.chat-fab:hover .chat-fab__core {
  background: var(--fab-bg-hover);
  box-shadow: 0 22px 50px -10px rgba(201,255,88, .55), inset 0 0 0 1px rgba(255,255,255,.12);
  transform: scale(1.06) rotate(-4deg);
}
.chat-fab:active .chat-fab__core { transform: scale(.96); }

/* Inner ripple */
.chat-fab__pulse {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  opacity: 0;
  animation: fab-inner-ripple 3.2s var(--ease) infinite;
}
@keyframes fab-inner-ripple {
  0%   { transform: scale(.6); opacity: 0; }
  35%  { opacity: .7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Icons */
.chat-fab__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform .55s var(--ease), opacity .45s var(--ease);
}
.chat-fab__icon svg { width: 30px; height: 30px; }
.chat-fab__icon--default { opacity: 1; transform: scale(1) rotate(0); }
.chat-fab__icon--hover {
  opacity: 0;
  transform: scale(.5) rotate(-30deg);
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.chat-fab:hover .chat-fab__icon--default { opacity: 0; transform: scale(.5) rotate(30deg); }
.chat-fab:hover .chat-fab__icon--hover {
  opacity: 1;
  transform: scale(1) rotate(0);
  animation: waving 2.4s ease-in-out infinite .3s;
  transform-origin: 70% 80%;
}

/* Notify badge */
.chat-fab__notify {
  position: absolute;
  top: -4px; right: -4px;
  z-index: 3;
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px; font-weight: 600;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
  box-shadow: 0 4px 12px -2px rgba(0,0,0,.3);
  animation: fab-bounce 2.6s var(--ease) infinite;
}
[data-theme="light"] .chat-fab__notify { border-color: #ffffff; }
@keyframes fab-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  70%           { transform: translateY(-4px); }
  80%           { transform: translateY(0); }
  90%           { transform: translateY(-2px); }
}

/* Speech bubble preview (appears on hover) */
.chat-fab__bubble {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  padding: 12px 18px;
  border-radius: 18px 18px 4px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
  z-index: 1;
}
.chat-fab__bubble::after {
  content: "";
  position: absolute;
  right: -6px; bottom: 6px;
  width: 12px; height: 12px;
  background: var(--ink);
  transform: rotate(45deg);
  border-radius: 0 0 4px 0;
}
.chat-fab__bubble .wave { display: inline-block; margin-left: 2px; }
.chat-fab:hover .chat-fab__bubble {
  opacity: 1;
  transform: translate(0, -50%);
}
[data-theme="light"] .chat-fab__bubble { background: var(--navy); }
[data-theme="light"] .chat-fab__bubble::after { background: var(--navy); }

@media (max-width: 720px) {
  .chat-fab__bubble { display: none; }
}

/* SVG goo filter container */
.goo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============================================
   FLOATING TESTIMONIAL CTA — appears during services
   ============================================ */
.testimonial-cta {
  position: fixed;
  left: clamp(16px, 2.4vw, 32px);
  bottom: clamp(16px, 2.4vw, 32px);
  z-index: 85;
  width: clamp(300px, 28vw, 380px);
  height: 64px;
  border-radius: 999px;
  background: rgba(13, 18, 32, .85);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--white);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(.96);
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
}
.testimonial-cta.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.testimonial-cta__media {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  transition: left .7s var(--ease);
  z-index: 2;
}
.testimonial-cta__avatar {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%),
    linear-gradient(135deg, #C9FF58 0%, #161817 130%);
}
.testimonial-cta__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--white);
  background: rgba(5,8,16,.35);
  transition: background var(--dur) var(--ease);
}
.testimonial-cta__play svg { width: 16px; height: 16px; transform: translateX(1px); }
.testimonial-cta:hover .testimonial-cta__play { background: rgba(5,8,16,.5); }

.testimonial-cta__text {
  position: absolute;
  top: 50%;
  left: 70px;
  right: 22px;
  transform: translateY(-50%);
  transition: left .7s var(--ease), right .7s var(--ease);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  z-index: 1;
}
.testimonial-cta__text strong {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -.01em;
}
.testimonial-cta__text span {
  font-size: var(--text-xs);
  color: rgba(245,245,245,.6);
}

/* Hover: media slides right, text slides left (swap positions) */
.testimonial-cta:hover .testimonial-cta__media { left: calc(100% - 56px); }
.testimonial-cta:hover .testimonial-cta__text { left: 22px; right: 70px; }

[data-theme="light"] .testimonial-cta {
  background: rgba(255,255,255,.92);
  color: var(--navy);
  border-color: rgba(10,10,10,.08);
}
[data-theme="light"] .testimonial-cta__text strong { color: var(--navy); }
[data-theme="light"] .testimonial-cta__text span { color: #5a6275; }

@media (max-width: 720px) {
  .testimonial-cta { width: calc(100% - 32px); }
}

/* ============================================
   CUSTOM CURSOR — orange ball with arrow
   ============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  transition: width .55s var(--ease), height .55s var(--ease), background-color .55s var(--ease), opacity .4s var(--ease), border-radius .55s var(--ease), box-shadow .55s var(--ease);
  display: grid;
  place-items: center;
  color: var(--ink);
  mix-blend-mode: normal;
  opacity: 0;
}
.cursor svg {
  width: 0; height: 0; opacity: 0;
  transition: width .55s var(--ease), height .55s var(--ease), opacity .35s var(--ease) .1s, transform .9s var(--ease);
}
.cursor.is-active { opacity: 1; }
.cursor.is-large {
  width: 96px; height: 96px;
  background: var(--gold);
  box-shadow: 0 18px 60px -10px rgba(201,255,88,.55);
}
.cursor.is-large svg { width: 38%; height: 38%; opacity: 1; }
.cursor.is-large:hover svg { transform: translate(2px,-2px); }
@media (hover: none), (max-width: 980px) { .cursor { display: none !important; } }
body.cursor-section { cursor: none; }

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
[data-theme="light"] .hero__bg {
  background:
    radial-gradient(1100px 600px at 75% -10%, rgba(201,255,88,.18), transparent 60%),
    radial-gradient(900px 700px at 15% 80%, rgba(10,10,10,.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}
[data-theme="light"] .hero__bg::after {
  background-image:
    linear-gradient(rgba(10,10,10,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,10,10,.05) 1px, transparent 1px);
}
[data-theme="light"] .hero__grain { mix-blend-mode: multiply; opacity: .06; }
[data-theme="light"] .section--dark { background: #f5f5f5; }
[data-theme="light"] .testimonial { background: #f5f5f5; }
[data-theme="light"] .footer { background: #ffffff; }
[data-theme="light"] .footer__legal { color: #5a6275; }
[data-theme="light"] .footer__legal-logo { background-color: var(--navy); }
[data-theme="light"] .marquee__track { color: rgba(10,10,10,.35); }
[data-theme="light"] .nav__burger { background: rgba(10,10,10,.04); }
[data-theme="light"] .clients-section { background: #f5f5f5; }
[data-theme="light"] .clients-section .logo-item img {
  filter: grayscale(1) brightness(.2) contrast(1.2);
  opacity: .6;
}
[data-theme="light"] .clients-section .logo-item img:hover {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
}
[data-theme="light"] .hero__marquee::before { background: linear-gradient(to right, #f5f5f5, transparent); }
[data-theme="light"] .hero__marquee::after { background: linear-gradient(to left, #f5f5f5, transparent); }
[data-theme="light"] .nav { background: rgba(245,245,245,.85); backdrop-filter: blur(16px); border-color: rgba(10,10,10,.08); }
[data-theme="light"] .nav.is-scrolled { background: rgba(255,255,255,.92); }
[data-theme="light"] .nav.is-scrolled .nav__inner {
  background: rgba(255,255,255,.82);
  border-color: rgba(10,10,10,.08);
  box-shadow: 0 20px 60px -30px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.6);
}
[data-theme="light"] .nav__link { color: var(--navy); }
[data-theme="light"] .nav__logo-mono { background-color: var(--navy); }
[data-theme="light"] .nav__logo-wordmark { background-color: var(--navy); }
[data-theme="light"] .btn-ghost { color: var(--ink); border-color: rgba(10,10,10,.2); }
[data-theme="light"] .btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
[data-theme="light"] .case__title,
[data-theme="light"] .post h3,
[data-theme="light"] .service h3,
[data-theme="light"] .testimonial blockquote,
[data-theme="light"] .display,
[data-theme="light"] .hero__title { color: var(--navy); }
[data-theme="light"] .cta-final {
  background: radial-gradient(ellipse at center, rgba(201,255,88,.16) 0%, transparent 60%), var(--bg);
}
[data-theme="light"] .case__media,
[data-theme="light"] .post__media { box-shadow: 0 12px 40px -16px rgba(10,10,10,.25); }
[data-theme="light"] .chat-fab__notify { color: var(--navy); }

/* ============================================
   A MESA — Team section (Shape-style cards)
   ============================================ */
.a-mesa {
  --mesa-left-start: clamp(48px, 3.4vw, 64px);
  --mesa-right-start: clamp(150px, 9.6vw, 184px);
  --mesa-shift: calc(var(--mesa-right-start) - var(--mesa-left-start));
  padding: clamp(130px, 12vw, 220px) 0 clamp(140px, 13vw, 240px);
  background: transparent;
  overflow: hidden;
  position: relative;
}
.a-mesa__head {
  width: min(706px, calc((87.5vw - 28px) / 2));
  position: absolute;
  top: clamp(130px, 12vw, 220px);
  right: max(6.25vw, calc((100vw - 1440px) / 2));
  margin: 0;
  padding: 0 0 0 clamp(78px, 6.2vw, 120px);
  text-align: left;
}
.a-mesa__label {
  font-size: clamp(13px, .9vw, 16px);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,.72);
  margin: 0 0 clamp(25px, 2vw, 38px);
}
.a-mesa__label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin-right: 11px;
  vertical-align: middle;
}
.a-mesa__title {
  font-family: "Neue Haas Display", sans-serif;
  font-size: clamp(48px, 3.4vw, 66px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.035em;
  color: #fff;
  max-width: none;
  margin: 0;
}
.a-mesa__title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.a-mesa__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: clamp(78px, 5.2vw, 100px);
  width: min(87.5%, 1440px);
  padding-inline: 0;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}
.a-mesa__card {
  position: relative;
  min-width: 0;
  background: transparent;
  overflow: visible;
}
.a-mesa__card:nth-child(1) { transform: translateY(var(--mesa-left-start)); }
.a-mesa__card:nth-child(2) { grid-column: 2; margin-top: var(--mesa-right-start); }
.a-mesa__card:nth-child(3) {
  grid-column: 1;
  transform: translateY(calc(-1 * var(--mesa-shift)));
}
.a-mesa__card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.32 / 1;
  overflow: hidden;
  border-radius: clamp(16px, 1vw, 20px);
  background: #1a1b1e;
}
/* Mobile (incl. large phones / small tablets, up to the desktop breakpoint):
   team photos in 4:5 portrait. */
@media (max-width: 980px) {
  .a-mesa__card__img { aspect-ratio: 4 / 5; }
}
.a-mesa__card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
  transition: transform .8s cubic-bezier(.22,1,.36,1), filter .5s ease;
}
.a-mesa__card:nth-child(1) .a-mesa__card__img img { object-position: center 30%; }
.a-mesa__card:hover .a-mesa__card__img img { transform: translateX(-1.5%) scale(1.025); }
.a-mesa__card__img::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: 34%;
  height: clamp(38px, 2.35vw, 45px);
  border-radius: 0 0 0 clamp(18px, 1.35vw, 26px);
  background: var(--bg-alt);
  transform: translateY(-105%);
  transition: transform .62s cubic-bezier(.22,1,.36,1);
}
.a-mesa__tags {
  position: absolute;
  z-index: 3;
  top: clamp(5px, .42vw, 8px);
  right: clamp(5px, .42vw, 8px);
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .32s ease, transform .62s cubic-bezier(.22,1,.36,1);
}
.a-mesa__tags span {
  display: inline-flex;
  align-items: center;
  min-height: clamp(29px, 1.72vw, 33px);
  padding: 0 clamp(13px, .82vw, 16px);
  border-radius: 999px;
  background: #202226;
  color: #fff;
  font: 300 clamp(11px, .64vw, 12.5px)/1 "Neue Haas Display", sans-serif;
  white-space: nowrap;
  transform: translateX(18px);
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.a-mesa__tags span:nth-child(2) { transition-delay: .045s; }
.a-mesa__tags span:nth-child(3) { transition-delay: .09s; }
.a-mesa__card:hover .a-mesa__card__img::after { transform: translateY(0); }
.a-mesa__card:hover .a-mesa__tags { opacity: 1; transform: translateX(0); }
.a-mesa__card:hover .a-mesa__tags span { transform: translateX(0); }
.a-mesa__card__arrow {
  position: absolute;
  left: 68%;
  top: 54%;
  width: clamp(72px, 6vw, 108px);
  height: clamp(72px, 6vw, 108px);
  border-radius: 50%;
  background: #baff3c;
  color: #171919;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
  transition: opacity .35s ease, transform .55s cubic-bezier(.22,1,.36,1);
}
.a-mesa__card__arrow::before,
.a-mesa__card__arrow::after { content: ""; position: absolute; }
.a-mesa__card__arrow::before {
  width: 28%; height: 1.5px; left: 36%; top: 50%;
  background: currentColor; transform: rotate(-45deg);
}
.a-mesa__card__arrow::after {
  width: 20%; height: 20%; left: 47%; top: 31%;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
.a-mesa__card:hover .a-mesa__card__arrow { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 981px) {
  .a-mesa__card__img { cursor: none; }
  .a-mesa__card__arrow { display: none; }
}
.cursor.is-large.is-work-card {
  width: 82px;
  height: 82px;
  box-shadow: none;
}
.cursor.is-work-card svg { stroke-width: 1.45; }
.a-mesa__card__info {
  position: static;
  display: flex;
  flex-direction: column;
  padding: clamp(17px, 1.15vw, 22px) 0 0;
  background: none;
}
.a-mesa__card__name {
  font-family: "Neue Haas Display", sans-serif;
  order: 2;
  font-size: clamp(26px, 1.75vw, 34px);
  font-weight: 300;
  color: #fff;
  margin: 0;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.a-mesa__card__role {
  font-family: "Neue Haas Display", sans-serif;
  order: 1;
  font-size: clamp(13px, .95vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,.58);
  margin: 0 0 13px;
  line-height: 1.3;
}

/* Team gallery: equal 4:5 portraits in one horizontal row. */
@media (min-width: 1281px) {
  .a-mesa {
    padding: clamp(120px, 9vw, 170px) 0 clamp(140px, 10vw, 190px);
  }
  .a-mesa__head {
    position: static;
    width: min(87.5%, 1440px);
    margin: 0 auto clamp(58px, 4.5vw, 82px);
    padding: 0;
    text-align: left;
  }
  .a-mesa__title {
    max-width: 12ch;
    font-size: clamp(52px, 4.15vw, 72px);
    line-height: 1.02;
  }
  .a-mesa__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(18px, 1.45vw, 26px);
    row-gap: 0;
    width: min(87.5%, 1440px);
    max-width: 1440px;
  }
  .a-mesa__card:nth-child(1),
  .a-mesa__card:nth-child(2),
  .a-mesa__card:nth-child(3) {
    grid-column: auto;
    margin-top: 0;
    transform: none;
  }
  .a-mesa__card {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #17191a;
  }
  .a-mesa__card__img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: 4 / 5;
    border-radius: inherit;
  }
  .a-mesa__card__img img,
  .a-mesa__card:nth-child(1) .a-mesa__card__img img {
    object-position: 42% 25%;
  }
  .a-mesa__card:hover .a-mesa__card__img img {
    transform: translateX(-2%) scale(1.025);
  }
  .a-mesa__card__img::after {
    width: min(62%, 250px);
    height: 42px;
    border-radius: 0 0 0 23px;
  }
  .a-mesa__tags {
    top: 6px;
    right: 6px;
    gap: 5px;
  }
  .a-mesa__tags span {
    min-height: 30px;
    padding: 0 clamp(9px, .65vw, 12px);
    font-size: clamp(9px, .58vw, 11px);
  }
  .a-mesa__card__info {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 31%;
    justify-content: flex-end;
    padding: 76px 24px 25px;
    background: linear-gradient(to top, rgba(10,11,12,.94) 0%, rgba(10,11,12,.72) 54%, rgba(10,11,12,0) 100%);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    pointer-events: none;
  }
  .a-mesa__card__name {
    order: 1;
    font-size: clamp(25px, 1.65vw, 31px);
    font-weight: 400;
  }
  .a-mesa__card__role {
    order: 2;
    font-size: clamp(12px, .76vw, 14px);
    color: rgba(255,255,255,.68);
    margin: 8px 0 0;
  }
}
@media (max-width: 800px) {
  .a-mesa {
    padding: 112px 0 128px;
  }
  .a-mesa__head {
    position: static;
    width: auto;
    margin: 0 16px 56px;
    padding: 0;
  }
  .a-mesa__label {
    font-size: 12px;
    margin-bottom: 22px;
  }
  .a-mesa__title {
    max-width: 10ch;
    font-size: clamp(44px, 13vw, 56px);
    line-height: 1;
  }
  .a-mesa__grid {
    grid-template-columns: 1fr;
    row-gap: 68px;
    width: auto;
    max-width: none;
    padding-inline: 16px;
  }
  .a-mesa__card:nth-child(1) { transform: none; }
  .a-mesa__card:nth-child(2),
  .a-mesa__card:nth-child(3) { grid-column: 1; transform: none; }
  .a-mesa__card:nth-child(2) { margin-top: 0; }
  .a-mesa__card {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #17191a;
  }
  .a-mesa__card__img {
    position: absolute;
    inset: 0;
    height: 100%;
    aspect-ratio: 4 / 5;
    border-radius: inherit;
  }
  .a-mesa__card__img img,
  .a-mesa__card:nth-child(1) .a-mesa__card__img img { object-position: center 24%; }
  .a-mesa__card__info {
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 29%;
    justify-content: flex-end;
    padding: 64px 86px 22px 20px;
    background: linear-gradient(to top, rgba(10,11,12,.94), rgba(10,11,12,.68) 58%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
  }
  .a-mesa__card__name { order: 1; font-size: 27px; font-weight: 400; }
  .a-mesa__card__role { order: 2; font-size: 12px; margin: 7px 0 0; }
  .a-mesa__card__arrow {
    left: auto; right: 18px; top: auto; bottom: 18px;
    width: 64px; height: 64px; opacity: 1;
    transform: none;
  }
  .a-mesa__card__img::after {
    width: 78%;
    height: 58px;
    transform: translateY(0);
    border-radius: 0 0 0 28px;
  }
  .a-mesa__tags {
    top: 10px;
    right: 10px;
    gap: 4px;
    opacity: 1;
    transform: none;
  }
  .a-mesa__tags span {
    min-height: 36px;
    padding: 0 10px;
    font-size: 10px;
    transform: none;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cases-grid, .posts { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 60px 1fr; }
  .service p { grid-column: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__menu { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .goo-btn .goo-btn__pill { padding: 0 18px; font-size: 14px; }
  .goo-btn .goo-btn__pill, .goo-btn .goo-btn__node { height: 46px; }
  .goo-btn .goo-btn__node { width: 46px; }
  .cases-grid, .posts { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .section__cta { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 140px; }
  .hero__marquee { bottom: 16px; }
}

/* ============================================
   MOBILE — App-like experience (Instagram/Pinterest)
   ============================================ */

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__bg {
  position: absolute; inset: 0;
  background: var(--bg);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  clip-path: circle(0 at 95% 5%);
  transition: clip-path .85s cubic-bezier(.76,0,.24,1);
}
.mobile-menu.is-open .mobile-menu__bg {
  clip-path: circle(150% at 95% 5%);
}
.mobile-menu__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  padding: 20px clamp(20px, 6vw, 40px) 30px;
}
.mobile-menu__close {
  align-self: flex-end;
  width: 48px; height: 48px;
  min-width: 48px; min-height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: grid; place-items: center;
  cursor: pointer;
  margin-bottom: 24px;
  opacity: 0;
  transform: rotate(-90deg) scale(.6);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.mobile-menu.is-open .mobile-menu__close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition-delay: .45s;
}
.mobile-menu__close svg { width: 20px; height: 20px; }
.mobile-menu__close:hover,
.mobile-menu__close:active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  transform: rotate(90deg) scale(1);
}
.mobile-menu__nav {
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
}
.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-family: "Neue Haas Display", sans-serif;
  font-size: clamp(var(--text-3xl), 9vw, var(--text-5xl));
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), color .35s var(--ease);
}
.mobile-menu__link span {
  font-family: "Neue Haas Display", sans-serif;
  font-size: var(--text-xs);
  letter-spacing: .15em;
  color: var(--gold);
  font-weight: 500;
}
.mobile-menu.is-open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: .31s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: .37s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: .43s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: .49s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: .55s; }
.mobile-menu__link:active { color: var(--gold); }

.mobile-menu__foot {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
  /* Reveal with the links (instead of popping in before the menu opens). */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.mobile-menu.is-open .mobile-menu__foot {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .55s;
}
/* Hug the content instead of stretching to the full menu width. */
.mobile-menu__foot .goo-btn { align-self: flex-start; }
.mobile-menu__socials {
  display: flex; gap: 12px;
}
.mobile-menu__socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(201,255,88,.14);
  color: var(--gold);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mobile-menu__socials a:active { background: var(--gold); color: var(--ink); }
.mobile-menu__socials svg { width: 18px; height: 18px; }

/* Bottom tab bar — Instagram style */
.tabbar {
  display: none;
  position: fixed;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 95;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15,15,15,.82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.55);
  justify-content: space-around;
  align-items: center;
  gap: 4px;
}
[data-theme="light"] .tabbar {
  background: rgba(255,255,255,.85);
  border-color: rgba(10,10,10,.08);
}
.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 0;
  color: rgba(245,245,245,.62);
  transition: color var(--dur) var(--ease), transform .25s var(--ease);
}
[data-theme="light"] .tabbar__item { color: rgba(10,10,10,.55); }
.tabbar__item:active { transform: scale(.92); }
.tabbar__icon {
  width: 24px; height: 24px;
  display: grid; place-items: center;
}
.tabbar__icon svg { width: 100%; height: 100%; }
.tabbar__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .02em;
}
.tabbar__item.is-active { color: var(--gold); }
[data-theme="light"] .tabbar__item.is-active { color: var(--gold); }

/* Featured center icon (lightning bolt) */
.tabbar__item--center { flex: 0 0 auto; }
.tabbar__icon--featured {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  margin-top: -22px;
  box-shadow: 0 14px 30px -8px rgba(201,255,88,.55);
  transition: transform var(--dur) var(--ease);
}
.tabbar__icon--featured svg { width: 22px; height: 22px; pointer-events: none; }
.tabbar__icon--featured * { pointer-events: none; }
.tabbar__item--center { border: none; background: none; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; position: relative; z-index: 2; overflow: visible; }
.tabbar__item--center:active .tabbar__icon--featured { transform: scale(.9) rotate(-8deg); }
.tabbar__icon--featured .icon-sun { display: none; }
.tabbar__icon--featured .icon-moon { display: block; color: #fff; }
[data-theme="light"] .tabbar__icon--featured .icon-sun { display: block; color: #fff; }
[data-theme="light"] .tabbar__icon--featured .icon-moon { display: none; }

/* ============================================
   MOBILE BREAKPOINT — comprehensive overrides
   ============================================ */
@media (max-width: 720px) {

  /* show mobile chrome */
  .tabbar { display: flex; }

  /* hide things that don't belong on mobile */
  .cursor, .megamenu { display: none !important; }
  .nav__actions .goo-btn,
  .nav__actions .theme-toggle { display: none; }

  /* room for bottom tabbar */
  body { padding-bottom: 88px; }
  .chat-fab {
    bottom: calc(92px + env(safe-area-inset-bottom));
    right: 14px;
  }
  .testimonial-cta { display: none; }

  /* HERO — tighter, more atmospheric */
  .hero { padding: 120px 0 48px; min-height: auto; display: block; }
  .hero.hero--giant { display: flex !important; padding: 0 !important; min-height: 100svh !important; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.4rem); max-width: 100%; }
  .hero__title.hero__title--giant { font-size: clamp(50px, 14.8vw, 96px) !important; line-height: .84; padding: 0 14px; }
  .hero__sub { font-size: 1.35rem; margin-top: 10px; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 32px; width: 100%; }
  .hero__ctas .goo-btn,
  .hero__ctas .btn-ghost { width: 100%; justify-content: center; }
  .hero__ctas .btn-ghost { height: 56px; }
  /* marquee flows below the CTAs (not absolute) — spaced from button */
  .hero__marquee {
    position: static;
    bottom: auto;
    margin-top: 52px;
  }

  /* SECTIONS */
  .section { padding: 70px 0; }
  .display { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .display--xl { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .lead { font-size: var(--text-md); }

  /* SERVICES — keep big titles but compact */
  .services { padding: 0; margin-left: 0; }
  .service { padding: 22px 0; }
  .service__num { width: 36px; font-size: 11px; }
  .service__title { font-size: clamp(2rem, 9.5vw, 2.8rem); }
  .service:hover .service__title { transform: translateX(8px); }
  .service__thumb,
  .service__arrow { display: none; }
  .services:hover .service { opacity: 1; }
  .services:hover .service:hover { opacity: 1; }

  /* EXPERTISE head — single column */
  .expertise__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 50px; }
  .expertise__aside .lead { max-width: 100%; }

  /* CASES — Pinterest-style 2-column masonry */
  .cases-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 28px;
  }
  .cases__head {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
    padding-bottom: 28px;
  }
  .cases__head .label { padding-left: 18px; padding-right: 0; }
  .cases__head .label::before { left: 0; right: auto; }
  .cases__head .display { text-align: left; }
  .cases-col--left, .cases-col--right {
    grid-row: 2;
    gap: 28px;
  }
  .cases-col--left { grid-column: 1; }
  .cases-col--right { grid-column: 2; padding-top: 32px; }
  .case--tall .case__media { aspect-ratio: 3/4; }
  .case--short .case__media { aspect-ratio: 1/1; }
  .case__media { border-radius: 16px; }
  .case__info { padding-top: 12px; }
  .case__meta { font-size: var(--text-xs); gap: 6px; }
  .case__title { font-size: var(--text-md); }
  .case__tags { top: 8px; right: 8px; }
  .case__tags span { padding: 5px 10px; font-size: 10px; }
  .cases__cta {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 28px;
    align-items: flex-start;
    gap: 18px;
  }
  .cases__cta-title { font-size: clamp(2rem, 9vw, 2.6rem); max-width: 100%; text-align: left; }
  .cases__cta .goo-btn { align-self: flex-start; }

  /* BLOG */
  .blog__layout { gap: 32px; }
  .blog__side { gap: 18px; }
  .blog__side .display { font-size: clamp(1.6rem, 7vw, 2rem); }
  .blog__nav { margin-top: 0; }
  .post__title { font-size: var(--text-md); }
  .post__excerpt { font-size: var(--text-sm); }

  /* SPOTLIGHT */
  .spotlight { padding: 80px 0; }
  .float-img--5, .float-img--6 { display: none; }
  .float-img--1, .float-img--2 { width: 28vw; height: auto; }
  .float-img--3, .float-img--4 { width: 30vw; height: auto; }

  /* VIDEO PLAYER */
  .video-player { aspect-ratio: 4/5; }
  .video-quote { right: 22px; left: 18px; max-width: none; top: 22px; }
  .video-quote__lines { font-size: clamp(1.05rem, 5.5vw, 1.5rem); }
  .video-quote__author { padding: 8px 14px 8px 10px; }
  .video-quote__avatar { width: 30px; height: 30px; }
  .video-play { width: 56px; height: 56px; left: 18px; bottom: 80px; }
  .video-actions { left: 18px; right: 18px; bottom: 18px; }
  .video-actions__btn { padding: 10px 14px; font-size: var(--text-xs); flex: 1; justify-content: center; }

  /* MARQUEE */
  .marquee-row__track { font-size: clamp(2.4rem, 16vw, 4rem); }

  /* LOGO CAROUSEL — mobile */
  .hero__marquee--logos {
    bottom: auto;
    /* edge fade via mask (no dark color band) */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  }
  /* remove the colored gradient overlays that created the dark strip */
  .hero__marquee--logos::before,
  .hero__marquee--logos::after { display: none; }
  .marquee__track--logos { gap: clamp(32px, 10vw, 56px); }
  .logo-item img { height: clamp(76px, 20vw, 108px); border-radius: 16px; }

  /* FOOTER */
  .footer__wrap { grid-template-columns: 1fr; gap: 18px; padding: 0 18px; }
  .footer__socials { flex-direction: row; padding-top: 0; padding-left: 0; }
  .footer__card { padding: 32px 22px; border-radius: 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; padding-bottom: 50px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__msg { text-align: left; }
  .footer__giant { font-size: clamp(1.4rem, 6.5vw, 2rem); max-width: 22ch; padding-top: 30px; }
  .footer__legal-inner { gap: 8px; font-size: var(--text-xs); }
  .footer__legal-inner .dot-sep,
  .footer__legal-inner span:nth-of-type(3) { display: none; }
  .footer__legal-spacer { display: none; }

  /* CTA FINAL */
  .cta-final__inner { gap: 22px; }
  .rating {
    gap: 8px;
    padding: 9px 14px;
    font-size: clamp(11px, 3.2vw, 13px);
  }
  .rating__stars { letter-spacing: 1px; font-size: clamp(11px, 3.2vw, 13px); }
  .metrics {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .metrics__card { padding: 24px 20px; }
  .metrics__number { font-size: 2rem; }

  /* NAV — compact pill at top */
  .nav { padding: 12px var(--pad-x); }
  .nav.is-scrolled { padding: 12px var(--pad-x); }
  .nav__inner { padding: 10px 12px 10px 18px; gap: 14px; }
  .nav.is-scrolled .nav__inner { padding: 10px 12px 10px 18px; }
  .nav__logo-mono { width: 0; height: 34px; opacity: 0; }
  .nav.is-scrolled .nav__logo-mono { width: 42px; opacity: 1; }
  .nav__logo-wordmark { display: block; width: 168px; }
  .nav.is-scrolled .nav__logo-wordmark { display: none; }

  /* TOUCH-FRIENDLY tap targets — min 44px */
  .nav__link, .footer__col a, .mm-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Smooth momentum scrolling */
  * {
    -webkit-tap-highlight-color: transparent;
  }
  html { -webkit-overflow-scrolling: touch; }
}

/* Reveal animation on service tap (touch devices) */
.service.is-tapped .service__title { transform: translateX(clamp(160px, 15vw, 260px)); color: var(--text); }
.service.is-tapped .service__thumb { opacity: 1; transform: translateY(-50%) scale(1); }
.service.is-tapped .service__arrow { opacity: 1; transform: scale(1) rotate(0); }
@media (max-width: 720px) {
  .service.is-tapped .service__title { transform: translateX(8px); }
}

/* ============================================
   SCROLL EFFECTS — word reveals, parallax, distortion
   ============================================ */
[data-split] .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.05;
  padding-bottom: 0.08em;
}
[data-split] .word {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}
[data-parallax] { will-change: transform; }

/* Velocity-driven stretch — applied via --vstretch CSS variable */
.spotlight .float-img,
.case__media,
.post__media {
  transform-origin: center center;
}

/* Velocity stretch — opt-in via class .vstretch (added on elements that distort) */
.vstretch {
  transform: scaleY(calc(1 + var(--vstretch, 0))) scaleX(calc(1 - var(--vstretch, 0) * .35));
  transition: transform .4s var(--ease);
}

/* Pinned horizontal blog (desktop only) */
@media (min-width: 981px) {
  .blog.is-pinned .blog__track {
    overflow: visible !important;
  }
}

/* ============================================
   MOBILE PERFORMANCE — iOS Safari optimizations
   Disable GPU-heavy effects (backdrop-filter, big
   blur, blend-modes, infinite animations) on phones
   ============================================ */
@media (max-width: 920px), (pointer: coarse) {

  /* Animated background: freeze + drop heavy filters/blends.
     Replace with a cheap static ember gradient. */
  .bg-blob,
  .bg-grain,
  .bg-grid { animation: none !important; }
  .bg-blob {
    filter: none !important;
    mix-blend-mode: normal !important;
    opacity: 0 !important;
  }
  .bg-grain { display: none !important; }
  .bg-grid { animation: none !important; opacity: .35; }
  .bg-aura {
    background:
      radial-gradient(1000px 700px at 100% 0%, rgba(201,255,88,.16), transparent 60%),
      radial-gradient(900px 700px at 0% 100%, rgba(10,10,10,.5), transparent 65%);
  }

  /* Mobile nav — blur transparent like desktop */
  .nav.is-scrolled .nav__inner {
    -webkit-backdrop-filter: blur(24px) saturate(120%);
            backdrop-filter: blur(24px) saturate(120%);
    background: rgba(128,128,128,.35);
  }
  [data-theme="light"] .nav.is-scrolled .nav__inner {
    background: rgba(250,250,250,.65);
  }
  .tabbar {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
    background: rgba(15,15,15,.96);
  }
  [data-theme="light"] .tabbar {
    background: rgba(255,255,255,.96);
  }
  [data-theme="light"] .tabbar { background: rgba(255,255,255,.98); }
  .mobile-menu__bg {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
    background: var(--bg);
  }
  .video-actions {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
    background: rgba(5,8,16,.85);
  }
  .video-quote__line,
  .video-quote__author {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
  }
  .case__tags span {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
    background: rgba(10,13,24,.92);
  }

  /* Logo carousel edges: drop the blur overlay, keep a soft fade only */
  .hero__marquee::before,
  .hero__marquee::after {
    -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
  }

  /* Mobile menu reveal: clip-path animation is cheap, but soften load */
  .mobile-menu__bg { transition: clip-path .7s cubic-bezier(.76,0,.24,1); }

  /* Trim will-change to avoid iOS memory pressure */
  .bg-blob, .marquee__track, .marquee-row__track,
  .preloader__word, .float-img { will-change: auto; }

  /* Video poster: remove inner noise filter overlay weight */
  .video-player__poster-img::after { display: none; }

  /* Chat FAB: keep pulse but lighter (single ring) */
  .chat-fab__ring--delay { display: none; }
  .chat-fab__pulse { display: none; }
}

/* Respect reduced motion globally */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   PROCESS — 4 steps grid (DOM HUB)
   ============================================ */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0;
  margin-top: clamp(40px, 6vw, 80px);
}
.process__step {
  padding: 28px 24px;
  border-radius: 18px;
  background: var(--bg-card);
  color: #161817;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.process__step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 2px;
  background: var(--gold);
  border-radius: 0 0 2px 0;
  transition: width var(--dur) var(--ease);
}
.process__step:hover {
  transform: translateY(-4px);
  border-color: rgba(201,255,88,.4);
}
.process__step:hover::before { width: 80px; }
.process__num {
  font-family: "Neue Haas Display", sans-serif;
  font-size: var(--text-xs);
  letter-spacing: .2em;
  color: var(--gold);
  font-weight: 600;
}
.process__title {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 600;
  font-size: clamp(var(--text-md), 1.6vw, var(--text-xl));
  letter-spacing: -.02em;
  color: #161817;
}
.process__text {
  font-size: var(--text-sm);
  color: #444;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
}

/* ============================================
   NUMBERS — quick stats grid below the process
   ============================================ */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(60px, 9vw, 120px);
  padding-top: clamp(40px, 5vw, 60px);
  border-top: 1px solid var(--line);
}
.numbers__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.numbers__value {
  font-family: "Neue Haas Display", sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: .95;
}
.numbers__label {
  font-family: "Neue Haas Display", sans-serif;
  font-size: var(--text-sm);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 22ch;
}
@media (max-width: 720px) {
  .numbers { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; margin-top: 50px; }
}

/* Equal logo groups make the loop boundary identical to its starting frame. */
.hero__clients .marquee__track--logos {
  --logo-gap: clamp(40px, 6vw, 96px);
  width: max-content;
  gap: 0;
}
.marquee__logo-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: var(--logo-gap);
  min-width: 100vw;
  padding-right: var(--logo-gap);
}
.hero__clients .logo-item img {
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: filter .25s ease, transform .25s ease;
}
@media (hover: hover) {
  .hero__clients .marquee__track--logos:has(.logo-item:hover) {
    animation-play-state: paused;
  }
  .hero__clients .logo-item:hover img {
    filter: none;
  }
}
@media (max-width: 720px) {
  .hero__clients .marquee__track--logos {
    --logo-gap: clamp(32px, 10vw, 56px);
  }
}

/* ============================================
   A MESA — infinite horizontal carousel
   ============================================ */
.a-mesa__layout {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, .95fr);
  align-items: start;
  gap: clamp(34px, 3.3vw, 64px);
  width: 100%;
}
.a-mesa__viewport {
  min-width: 0;
  overflow: hidden;
  padding-bottom: 4px;
}
.a-mesa__card.is-revealing {
  animation: team-card-reveal .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes team-card-reveal {
  0% { opacity: .08; filter: blur(7px); transform: scale(.975); }
  55% { opacity: .82; filter: blur(1px); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}
@media (min-width: 1281px) {
  .a-mesa__layout {
    --team-card-width: clamp(351px, 29.25vw, 572px);
    --team-left-peek: clamp(48px, 5vw, 92px);
    --team-card-gap: clamp(18px, 1.35vw, 26px);
    grid-template-columns: minmax(0, calc((var(--team-card-width) * 2) + var(--team-card-gap) + var(--team-left-peek))) minmax(420px, 1fr);
    gap: clamp(26px, 2vw, 40px);
  }
  .a-mesa__viewport {
    width: 100%;
    justify-self: start;
  }
  .a-mesa__grid {
    display: flex;
    align-items: flex-start;
    gap: var(--team-card-gap);
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    will-change: transform;
  }
  .a-mesa__head {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0 clamp(18px, 2vw, 38px) 0 0;
  }
  .a-mesa__title {
    max-width: 14ch;
    font-size: clamp(50px, 3.65vw, 68px);
  }
  .a-mesa__card,
  .a-mesa__card:nth-child(1),
  .a-mesa__card:nth-child(2),
  .a-mesa__card:nth-child(3) {
    flex: 0 0 var(--team-card-width);
    width: var(--team-card-width);
    margin: 0;
    transform: none;
  }
}
.a-mesa__card__bio {
  order: 3;
  max-width: 34ch;
  margin: 13px 0 0;
  color: rgba(255,255,255,.72);
  font: 300 clamp(12px, .78vw, 14px)/1.4 "Neue Haas Display", sans-serif;
}
.a-mesa__socials {
  order: 4;
  display: flex;
  gap: 8px;
  margin-top: 15px;
  pointer-events: auto;
}
.a-mesa__socials a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  color: #fff;
  font: 400 13px/1 "Neue Haas Display", sans-serif;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.a-mesa__socials a:hover { background: #baff3c; border-color: #baff3c; color: #171919; }
.a-mesa__socials svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.a-mesa__controls {
  display: flex;
  gap: 10px;
  margin-top: clamp(32px, 3vw, 54px);
}
.a-mesa__control {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.a-mesa__control:hover { background: #baff3c; color: #171919; }
.a-mesa__pagination {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
}
.a-mesa__pagination span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: width .3s ease, background .3s ease;
}
.a-mesa__pagination span.is-active { width: 22px; border-radius: 8px; background: #baff3c; }
@media (min-width: 1281px) {
  .a-mesa__card__info { min-height: 43%; padding: 92px 22px 23px; }
}
@media (min-width: 801px) and (max-width: 1280px) {
  .a-mesa__layout { display: flex; flex-direction: column; gap: 48px; }
  .a-mesa__head {
    order: 0;
    position: static;
    width: 86%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }
  .a-mesa__title { max-width: 12ch; font-size: clamp(50px, 6vw, 64px); }
  .a-mesa__viewport { order: 1; width: 100%; }
  .a-mesa__grid {
    display: flex;
    grid-template-columns: none;
    gap: 18px;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    will-change: transform;
  }
  .a-mesa__card,
  .a-mesa__card:nth-child(1),
  .a-mesa__card:nth-child(2),
  .a-mesa__card:nth-child(3) {
    flex: 0 0 clamp(360px, 44vw, 470px);
    width: clamp(360px, 44vw, 470px);
    margin: 0;
    transform: none;
  }
  .a-mesa__card__info { min-height: 43%; padding: 82px 22px 22px; }
}
@media (max-width: 800px) {
  .a-mesa__layout { display: flex; flex-direction: column; gap: 48px; }
  .a-mesa__head { order: 0; width: auto; margin: 0 16px; }
  .a-mesa__viewport { order: 1; width: 100%; }
  .a-mesa__grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 0;
    will-change: transform;
  }
  .a-mesa__card,
  .a-mesa__card:nth-child(1),
  .a-mesa__card:nth-child(2),
  .a-mesa__card:nth-child(3) {
    flex: 0 0 calc(100vw - 48px);
    width: calc(100vw - 48px);
    margin: 0;
    transform: none;
  }
  .a-mesa__card__info { min-height: 42%; padding-top: 82px; }
  .a-mesa__card__bio { font-size: 12px; max-width: 31ch; margin-top: 10px; }
  .a-mesa__socials { margin-top: 12px; }
  .a-mesa__socials a { width: 30px; height: 30px; font-size: 12px; }
  .a-mesa__controls { margin-top: 28px; }
  .a-mesa__control { width: 48px; height: 48px; }
  .a-mesa__pagination { margin-top: 18px; }
}

/* The glass is blurred through a gradient mask, avoiding a hard line over faces. */
.a-mesa__card__info {
  background: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.a-mesa__card__info::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -58px 0 0;
  background: linear-gradient(to top, rgba(8,10,10,.96) 0%, rgba(8,10,10,.78) 52%, rgba(8,10,10,.18) 82%, transparent 100%);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.15) 16%, rgba(0,0,0,.7) 42%, #000 62%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.15) 16%, rgba(0,0,0,.7) 42%, #000 62%);
  pointer-events: none;
}
.a-mesa__card__info > * { position: relative; z-index: 1; }

@media (max-width: 800px) {
  .a-mesa__card__img::after {
    width: 70%;
    height: 42px;
    border-radius: 0 0 0 21px;
  }
  .a-mesa__tags {
    top: 7px;
    right: 7px;
    gap: 3px;
  }
  .a-mesa__tags span {
    min-height: 28px;
    padding: 0 8px;
    font-size: 8.5px;
  }
}

.footer__brand-logo {
  width: 160px; height: 44px;
  background-color: #f5f5f5;
  margin-bottom: 20px;
}
[data-theme="light"] .footer__brand-logo { background-color: #f5f5f5; }

/* Render brand assets as images so they also work when index.html is opened directly. */
.nav__logo-mono,
.nav__logo-wordmark {
  background: transparent !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.nav__logo-mono img,
.nav__logo-wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
[data-theme="light"] .nav__logo-mono img,
[data-theme="light"] .nav__logo-wordmark img {
  filter: brightness(0) saturate(100%);
}

.mm-aside__label { color: inherit; text-decoration: none; }
.mm-aside__label:focus-visible { outline: 2px solid #baff3c; outline-offset: 5px; }
.about-mobile__description p { margin: 0 0 12px; }
.about-mobile__description p:last-child { margin-bottom: 0; }

.faq-section { padding-block: clamp(110px, 10vw, 180px); }
.faq-section__layout { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: clamp(54px,8vw,130px); align-items: start; }
.faq-section__intro .display { max-width: 9ch; margin-top: 24px; }
.faq-list { border-top: 1px solid color-mix(in srgb, var(--text) 22%, transparent); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--text) 22%, transparent); }
.faq-item summary { position: relative; padding: 25px 52px 25px 0; cursor: pointer; list-style: none; font: 300 clamp(20px,1.8vw,30px)/1.2 "Neue Haas Display",sans-serif; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content:"+"; position:absolute; right:4px; top:50%; translate:0 -50%; font-size:28px; font-weight:300; transition:rotate .3s ease; }
.faq-item[open] summary::after { rotate:45deg; }
.faq-item p { max-width: 62ch; padding: 0 48px 26px 0; margin: 0; color: var(--muted); font-weight:300; }
.cta-final__diagnostic { display:inline-block; margin-top:24px; color:var(--muted); font-size:14px; text-underline-offset:5px; }
.cta-final__diagnostic:hover { color:var(--text); }
@media(max-width:800px){.faq-section__layout{grid-template-columns:1fr;gap:44px}.faq-section__intro .display{max-width:11ch}.faq-item summary{padding-block:21px;font-size:20px}.faq-item p{padding-right:24px}.cta-final__diagnostic{max-width:29ch;line-height:1.4}}
