/* ==========================================================================
   Jamtech — styles
   Tokens → base → layout → components → sections → utilities
   ========================================================================== */

:root {
  /* Brand (from logo) */
  --blue: #1B6CA8;
  --cyan: #4BBFD0;
  --green: #6FC043;
  --green-dark: #4E9A2B;
  --accent: var(--green);

  /* Neutrals */
  --bg: #F4F5F7;
  --surface: #FFFFFF;
  --ink: #0B0F14;
  --ink-2: #2A313A;
  --muted: #5B6470;
  --line: #E1E5EA;
  --dark: #0B0F14;
  --dark-2: #141A21;
  --dark-line: rgba(255, 255, 255, 0.12);

  /* Type */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Scale */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--green); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.display,
h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 6vw, 84px); }
h2 { font-size: clamp(34px, 5vw, 64px); }
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}
.muted { color: var(--muted); }

.mark {
  background: linear-gradient(transparent 55%, rgba(111, 192, 67, 0.55) 55%);
  padding-inline: 0.05em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1c2430; box-shadow: 0 10px 30px -10px rgba(11, 15, 20, 0.5); }

.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #7ccb52; box-shadow: 0 10px 30px -10px rgba(111, 192, 67, 0.7); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); }

/* ---------- Chips / tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
}
.tag-accent { background: var(--accent); color: var(--ink); }
.tag-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: box-shadow 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: translateY(-1px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.chip.is-selected {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip.is-selected .dot { background: var(--accent); }

/* ---------- Blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
  pointer-events: none;
  will-change: transform;
  animation: float 18s ease-in-out infinite;
}
.blob-green { background: radial-gradient(circle at 30% 30%, #A6E37E, var(--green) 55%, transparent 72%); }
.blob-cyan { background: radial-gradient(circle at 40% 40%, #9BE3EC, var(--cyan) 55%, transparent 72%); }
.blob-blue { background: radial-gradient(circle at 40% 40%, #7FB6DE, var(--blue) 55%, transparent 72%); }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  33% { transform: translate3d(4%, -6%, 0) scale(1.06); }
  66% { transform: translate3d(-3%, 5%, 0) scale(0.96); }
}

/* ---------- Header (difference blend) ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--ink);
  pointer-events: none;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.header .logo { color: #fff; transition: color 0.35s var(--ease); }
.header.is-scrolled .logo { color: var(--ink); }
.header.is-menu-open,
.header.is-menu-open .logo {
  color: #fff;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
.header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(11, 15, 20, 0.08);
  box-shadow: 0 10px 40px -30px rgba(11, 15, 20, 0.35);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header a, .header button { pointer-events: auto; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-style: italic;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: inherit;
  line-height: 1;
}
.logo svg { width: 34px; height: 40px; flex: none; }
.logo-inverse { color: #fff; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta svg { width: 13px; height: 13px; transition: transform 0.25s var(--ease); }
.nav .nav-cta:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 24px;
  height: 12px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: 0; }
.nav-toggle span::after { top: 11px; }
.nav-toggle[aria-expanded="true"] span::before { top: 5.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 5.5px; transform: rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  background: var(--dark);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-overlay a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 9vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.menu-overlay a svg { width: 26px; height: 26px; color: var(--green); flex: none; }
.menu-overlay .menu-foot {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 769px) { .menu-overlay { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) 0 clamp(80px, 9vw, 140px);
  overflow: clip;
  background-image: radial-gradient(rgba(11, 15, 20, 0.13) 1px, transparent 1.3px);
  background-size: 22px 22px;
}
/* "Lupa": zona circular donde la trama se ve aumentada (puntos más grandes y separados).
   Se coloca como primer hijo de una sección con trama de puntos; main.js la mueve. */
.dot-lens {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --lx: 68%;
  --ly: 42%;
  --lr: 240px;
  --lens-dot: rgba(11, 15, 20, 0.26);
  --lens-bg: var(--bg);
  /* capa 1: puntos grandes; capa 2: fondo liso que tapa la trama fina bajo la lupa */
  background-image:
    radial-gradient(var(--lens-dot) 1.7px, transparent 2.1px),
    radial-gradient(circle var(--lr) at var(--lx) var(--ly), var(--lens-bg) 0%, var(--lens-bg) 60%, transparent 100%);
  background-size: 34px 34px, 100% 100%;
  background-position: var(--lx) var(--ly), 0 0;
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, #000 55%, transparent 100%);
}
.dot-lens--dark {
  --lens-dot: rgba(111, 192, 67, 0.55);
  --lens-bg: var(--dark);
}
@media (prefers-reduced-motion: reduce) {
  .dot-lens { display: none; }
}
.hero-blob-2 {
  left: auto;
  right: -20%;
  top: auto;
  bottom: -26%;
  width: 780px;
  height: 640px;
  background: linear-gradient(135deg, #1B6CA8 0%, #4BBFD0 100%);
  opacity: 0.62;
  -webkit-mask-image: linear-gradient(0deg, #000 40%, transparent 100%);
  mask-image: linear-gradient(0deg, #000 40%, transparent 100%);
  animation-delay: -8s;
}

.scroll-cue {
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  bottom: 26px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 33%;
  background: var(--ink);
  animation: scrollCue 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollCue {
  from { transform: translateY(-100%); }
  to { transform: translateY(300%); }
}

.hero-blob {
  position: absolute;
  left: -14%;
  top: -340px;
  width: 780px;
  height: 540px;
  max-width: 74vw;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  background: linear-gradient(135deg, #58AD33 0%, #3EA6B8 100%);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  opacity: 0.94;
  filter: blur(2px);
  animation: blobMorph 16s ease-in-out infinite;
  z-index: 0;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0deg) scale(1); }
  33% { border-radius: 63% 37% 41% 59% / 55% 45% 55% 45%; transform: rotate(3deg) scale(1.03); }
  66% { border-radius: 37% 63% 55% 45% / 63% 37% 63% 37%; transform: rotate(-2deg) scale(0.98); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--green-dark);
}
.hero .lead { max-width: 480px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.hero-media {
  position: relative;
  z-index: 1;
}
/* Jami en un "portal" circular: el disco oscuro va en ::before y el canvas es mayor, así los anillos se salen del círculo */
.hero-avatar {
  position: relative;
  aspect-ratio: 1;
}
.hero-avatar::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(120% 90% at 30% 20%, #1A2230 0%, #0B0F14 62%);
  box-shadow: 0 40px 80px -30px rgba(11, 15, 20, 0.5), 0 0 0 1px rgba(11, 15, 20, 0.06);
}
.hero-avatar::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(75, 191, 208, 0.25), transparent 45%);
  opacity: 1;
  transition: opacity 0.8s var(--ease);
}
.hero-avatar.is-live::after { opacity: 0; }
.hero-avatar canvas {
  position: absolute;
  inset: -24%;
  width: 148% !important;
  height: 148% !important;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
}
.hero-avatar.is-live canvas { opacity: 1; }
.hero-badge svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.hero-badge:hover svg { transform: translateX(3px); }
.hero-badge {
  position: absolute;
  left: 20px;
  bottom: -18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: 0 20px 40px -20px rgba(11, 15, 20, 0.6);
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(111, 192, 67, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 192, 67, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(111, 192, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 192, 67, 0); }
}

/* ---------- Stats strip ---------- */
.stats {
  position: relative;
  background: var(--surface);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(36px, 4.5vw, 64px) 32px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 6.4vw, 100px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.stat b em { font-style: normal; color: var(--green); font-size: 0.62em; margin-left: 0.05em; }
.stat > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.section-head h2 { max-width: 14ch; }
.section-head .lead { max-width: 440px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

/* ---------- Services section (dot grid, stripes, orbit) ---------- */
.services-section {
  padding: 0;
  background-color: var(--surface);
  background-image: radial-gradient(rgba(11, 15, 20, 0.1) 1px, transparent 1.2px);
  background-size: 22px 22px;
}
.services-section .split { padding-block: var(--section); }
.wave {
  overflow: hidden;
  background: var(--surface);
}
.services-section .wave:first-child { padding-top: clamp(32px, 4.5vw, 64px); }
.services-section .split { padding-block: clamp(48px, 7vw, 100px) var(--section); }
.wave svg { display: block; width: 100%; height: 56px; }
.wave path { fill: none; stroke: url(#wg); stroke-width: 3.5; stroke-linecap: round; }
.wave-a path:first-child { display: none; }
.wave-b path { stroke: var(--green); stroke-width: 2.5; opacity: 0.6; }
.wave-track { animation: waveFlow var(--dur, 24s) linear infinite; }
.wave-a { --dur: 26s; }
.wave-b { --dur: 38s; animation-direction: reverse; }
@keyframes waveFlow { to { transform: translateX(-1440px); } }

.orbit {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  place-items: center;
}
.orbit::before {
  content: "";
  position: absolute;
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background: var(--green);
  filter: blur(34px);
  opacity: 0.4;
}
.orbit .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(11, 15, 20, 0.16);
  animation: spin var(--spin, 20s) linear infinite;
}
.orbit .ring b {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--surface);
}
.orbit .r1 { width: 44%; height: 44%; --spin: 14s; }
.orbit .r2 { width: 70%; height: 70%; --spin: 24s; animation-direction: reverse; }
.orbit .r2 b { background: var(--cyan); }
.orbit .r3 { width: 96%; height: 96%; --spin: 36s; }
.orbit .r3 b { background: var(--blue); }
.orbit-mark {
  position: relative;
  width: 22%;
  filter: drop-shadow(0 20px 30px rgba(11, 15, 20, 0.2));
  animation: drift 6s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Services (accordion rows) ---------- */
.services { border-top: 1px solid var(--line); }
.service {
  border-bottom: 1px solid var(--line);
}
.service summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 0;
  transition: padding 0.3s var(--ease);
}
.service summary::-webkit-details-marker { display: none; }
.service .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.service .title { display: grid; gap: 6px; }
.service .title h3 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.service .title p { color: var(--muted); font-size: 15px; }
.service .plus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background 0.3s, transform 0.4s var(--ease), box-shadow 0.3s;
}
.service .plus svg { width: 14px; height: 14px; }
.service summary:hover .plus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.service[open] .plus { background: var(--accent); box-shadow: none; transform: rotate(45deg); }
.service-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 0 0 32px;
}
.service-body > div { display: grid; gap: 20px; }
.service-body p { color: var(--ink-2); max-width: 60ch; }
.service-list { display: grid; gap: 10px; }
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
}
.service-list li strong { font-weight: 600; }
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}
.service-body .btn { justify-self: start; }

/* ---------- Work / cases ---------- */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case {
  display: grid;
  gap: 18px;
  group: card;
}
.case-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(11, 15, 20, 0.06);
  isolation: isolate;
}
.case-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cover, linear-gradient(135deg, var(--blue), var(--cyan)));
  transition: transform 0.7s var(--ease);
}
.case:hover .case-cover::before { transform: scale(1.05); }
.case-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.case:hover .case-cover img { transform: scale(1.04); }
.case-cover .tags { position: absolute; left: 16px; top: 16px; display: flex; gap: 8px; z-index: 1; }
.case-cover .fake-ui {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -6%;
  height: 70%;
  background: #fff;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform 0.7s var(--ease);
}
.case:hover .fake-ui { transform: translateY(-8px); }
.fake-ui i { display: block; height: 8px; border-radius: 4px; background: var(--line); }
.fake-ui i:nth-child(1) { width: 40%; height: 12px; background: var(--ink); }
.fake-ui i:nth-child(2) { width: 85%; }
.fake-ui i:nth-child(3) { width: 65%; }
.fake-ui i:nth-child(4) { width: 30%; height: 26px; border-radius: 999px; background: var(--accent); margin-top: 6px; }
.case-meta { display: grid; gap: 6px; }
.case-meta h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-meta h3 svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.3s var(--ease);
}
.case:hover .case-meta h3 svg { transform: translate(3px, -3px); }
.case-meta p { color: var(--muted); font-size: 15px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about-text { display: grid; gap: 20px; }
.about-text p { color: var(--ink-2); max-width: 58ch; }
.values { display: grid; gap: 16px; }
.value {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(11, 15, 20, 0.06);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.value::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
  filter: blur(20px);
}
.value:nth-child(2)::after { background: var(--cyan); }
.value .eyebrow { margin-bottom: 0; }
.value p { color: var(--ink-2); }

/* ---------- Marquee band (typographic) ---------- */
.marquee-band {
  padding-top: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.marquee-band .band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.marquee-band .band-head .eyebrow { margin-bottom: 0; }
.marquee-row {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee var(--dur, 40s) linear infinite;
}
.marquee-row.reverse { animation-direction: reverse; }
.marquee-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  padding-inline: 0.16em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.marquee-row span::after {
  content: "";
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: var(--green);
}
.marquee-row.outline span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.marquee-row.accent span { color: var(--green); }
.marquee-row.accent span::after { background: var(--ink); }
.marquee-chips {
  margin-top: clamp(28px, 4vw, 48px);
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover, .marquee-row:hover { animation-play-state: paused; }
.marquee .chip { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials (lights off on scroll) ---------- */
.dark-section {
  background: var(--bg);
  color: var(--ink);
  position: relative;
  overflow: clip;
  transition: background-color 0.9s var(--ease), color 0.9s var(--ease);
}
.dark-section .eyebrow { transition: color 0.9s var(--ease); }
.dark-section .lead { color: var(--ink-2); transition: color 0.9s var(--ease); }
.dark-section .blob { opacity: 0; transition: opacity 0.9s var(--ease); }
.dark-section.is-dark { background: var(--dark); color: #fff; }
.dark-section.is-dark .eyebrow { color: rgba(255, 255, 255, 0.6); }
.dark-section.is-dark .lead { color: rgba(255, 255, 255, 0.8); }
.dark-section.is-dark .blob { opacity: 0.35; }
.dark-section .blob-green { width: 560px; height: 560px; right: -160px; top: -200px; }
.dark-section .blob-blue { width: 480px; height: 480px; left: -160px; bottom: -220px; animation-delay: -9s; }

.testi { position: relative; }
.testi-track { display: grid; }
.testi-item {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0s 0.6s;
}
.testi-item.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.testi-person { grid-row: 1 / 3; display: grid; gap: 18px; justify-items: start; }
.avatar {
  width: clamp(96px, 10vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--green);
  transition: box-shadow 0.9s var(--ease);
}
.is-dark .avatar { box-shadow: 0 0 0 3px var(--dark), 0 0 0 5px var(--green); }
.testi-item blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 24ch;
  text-wrap: pretty;
}
.testi-item blockquote::before { content: "“"; color: var(--green); }
.testi-item blockquote::after { content: "”"; color: var(--green); }
.testi-item figcaption { margin-top: 24px; display: grid; gap: 2px; font-size: 15px; }
.testi-item figcaption b { font-weight: 600; }
.testi-item figcaption span { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.9s var(--ease); }
.is-dark .testi-item figcaption span { color: rgba(255, 255, 255, 0.6); }
.testi-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  transition: border-color 0.9s var(--ease);
}
.is-dark .testi-nav { border-color: var(--dark-line); }
.testi-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.testi-btn svg { width: 16px; height: 16px; }
.testi-btn:hover { background: var(--green); color: var(--ink); border-color: var(--green); }
.testi-count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; }
.testi-count b { font-weight: 400; color: var(--green); }

/* ---------- Process (timeline) ---------- */
.process-section { background: var(--surface); border-top: 1px solid var(--line); }
.timeline { position: relative; }
.timeline-line {
  position: absolute;
  inset: 0 0 auto 0;
  display: block;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.timeline-line b {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) 0.2s;
}
.timeline.is-visible .timeline-line b { transform: scaleX(1); }
.timeline-line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -80px;
  width: 80px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), var(--green));
  filter: blur(0.6px);
  opacity: 0;
}
.timeline.is-visible .timeline-line::after { animation: pulseRun 4.5s cubic-bezier(0.4, 0, 0.6, 1) 2s infinite; }
@keyframes pulseRun {
  0% { left: -80px; opacity: 0; }
  8% { opacity: 1; }
  60% { left: 100%; opacity: 1; }
  62%, 100% { left: 100%; opacity: 0; }
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  padding-top: 40px;
  display: grid;
  gap: 12px;
  align-content: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.step:nth-child(1) { --i: 0; }
.step:nth-child(2) { --i: 1; }
.step:nth-child(3) { --i: 2; }
.step:nth-child(4) { --i: 3; }
.timeline.is-visible .step { opacity: 1; transform: none; transition-delay: calc(0.35s + var(--i) * 0.38s); }
.step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--surface);
  transform: scale(0);
  transition: box-shadow 0.4s var(--ease);
}
.step::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -14px;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
}
.timeline.is-visible .step::before { animation: dotPop 0.55s var(--ease) forwards; animation-delay: calc(0.25s + var(--i) * 0.38s); }
.timeline.is-visible .step::after { animation: ripple 0.9s ease-out forwards; animation-delay: calc(0.3s + var(--i) * 0.38s); }
@keyframes dotPop { 0% { transform: scale(0); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.2); } 100% { opacity: 0; transform: scale(1.4); } }
.step.is-active::before { box-shadow: 0 0 0 4px var(--surface), 0 0 0 8px rgba(111, 192, 67, 0.25), 0 0 24px rgba(111, 192, 67, 0.6); }
.step.is-active .step-num { color: var(--green); -webkit-text-stroke-color: var(--green); }
.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 8px;
  transition: color 0.4s var(--ease), -webkit-text-stroke-color 0.4s var(--ease);
}
.step:hover .step-num { color: var(--green); -webkit-text-stroke-color: var(--green); }
.step h3 { text-transform: uppercase; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; }
.step p { color: var(--muted); font-size: 15px; max-width: 30ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 1.5vw, 21px);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 400;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); box-shadow: none; }
.faq .answer { padding: 0 0 24px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.contact-info { display: grid; gap: 28px; }
.contact-info dl { display: grid; gap: 18px; margin: 0; }
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-info dd { margin: 0; font-size: 18px; font-weight: 500; }
.contact-info dd a:hover { color: var(--green-dark); }

.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(11, 15, 20, 0.06), 0 30px 60px -40px rgba(11, 15, 20, 0.3);
}
.form legend, .form .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  margin-bottom: 12px;
  display: block;
}
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; }
.form-status { font-size: 14px; color: var(--green-dark); font-weight: 500; }

/* ---------- Footer (dark, giant wordmark) ---------- */
.footer {
  position: relative;
  overflow: clip;
  color: #fff;
  background-color: var(--dark);
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.3px);
  background-size: 22px 22px;
  padding-top: clamp(64px, 8vw, 120px);
}
.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(24px, 3vw, 40px);
}
.footer-col ul { display: grid; gap: 14px; }
.footer-col a, .footer-col h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.footer-col a { transition: color 0.25s; }
.footer-col a:hover { color: var(--green); }
.footer-col h4 { margin-bottom: 18px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
}
.footer-contact a:hover { color: var(--green); }
.footer-contact svg { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.55); flex: none; }
.footer-contact .link-arrow { margin-top: 6px; justify-self: start; color: #fff; border-bottom-color: var(--green); }
.footer-copy {
  justify-self: end;
  align-self: center;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--dark-line);
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.socials a:hover { background: var(--green); color: var(--ink); box-shadow: none; }
.socials svg { width: 16px; height: 16px; }
.footer-giant {
  position: relative;
  margin: clamp(8px, 2vw, 24px) 0 -0.2em;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(110px, 23vw, 360px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  white-space: nowrap;
  user-select: none;
  color: #fff;
}

/* ---------- Promo popup (Wapalink) ---------- */
.promo {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(11, 15, 20, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
}
.promo.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.promo-card {
  position: relative;
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 60px 120px -40px rgba(11, 15, 20, 0.6);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease);
}
.promo.is-open .promo-card { transform: none; }
.promo-media {
  position: relative;
  min-height: 300px;
  background: #F1F6EC;
}
.promo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-body {
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  gap: 16px;
  align-content: center;
}
.promo-body .eyebrow { margin-bottom: 4px; }
.promo-body .eyebrow::before { background: #25D366; }
.promo-body h3 { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.05; text-transform: uppercase; letter-spacing: -0.02em; }
.promo-body p { color: var(--ink-2); }
.promo-list { display: grid; gap: 8px; font-size: 15px; }
.promo-list li { display: flex; gap: 10px; align-items: flex-start; }
.promo-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: #25D366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.promo-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.btn-wa { background: #25D366; color: var(--ink); }
.btn-wa:hover { background: #2fe374; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.7); }
.promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.25s, transform 0.25s var(--ease);
  z-index: 1;
}
.promo-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.promo-close svg { width: 14px; height: 14px; }
.promo-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.promo-tag i { width: 8px; height: 8px; border-radius: 50%; background: #25D366; animation: pulse 2s infinite; }
@media (max-width: 768px) {
  .promo { padding: 16px; align-items: end; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-media { min-height: 200px; aspect-ratio: 16 / 10; }
  .promo-body { padding: 24px; }
}

/* ---------- Cookie consent ---------- */
.cookie {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  width: min(100% - 40px, 440px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
}
.cookie.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.cookie-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(11, 15, 20, 0.5), 0 0 0 1px rgba(11, 15, 20, 0.08);
}
.cookie-card .eyebrow { margin-bottom: 0; }
.cookie-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.cookie-card p { font-size: 14px; color: var(--ink-2); }
.cookie-card p a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.cookie-actions .btn { padding: 12px 18px; font-size: 14px; }
@media (max-width: 768px) {
  .cookie { right: 12px; bottom: 12px; width: calc(100% - 24px); }
  .cookie-card { padding: 20px; }
}

/* ---------- Work wall (listing) ---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--tint, var(--blue));
  isolation: isolate;
  color: #fff;
}
.work-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.02);
  transition: transform 0.8s var(--ease);
}
.work-tint {
  position: absolute;
  inset: 0;
  background: var(--tint, var(--blue));
  opacity: 0.8;
  transition: opacity 0.5s var(--ease);
}
.work-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(60%, 260px);
  height: auto;
  max-height: 22%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25));
  transition: transform 0.6s var(--ease);
}
.work-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(11, 15, 20, 0.85);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.work-reveal {
  position: absolute;
  inset: auto 0 0 0;
  padding: 56px 20px 20px;
  display: grid;
  gap: 4px;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 20, 0.85));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-reveal .mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.work-reveal b { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; line-height: 1.1; }
.work:hover .work-photo, .work:focus-visible .work-photo { transform: scale(1.07); }
.work:hover .work-tint, .work:focus-visible .work-tint { opacity: 0.9; }
.work:hover .work-logo, .work:focus-visible .work-logo { transform: translate(-50%, -70%); }
.work:hover .work-reveal, .work:focus-visible .work-reveal { opacity: 1; transform: none; }
@media (hover: none) {
  .work-reveal { opacity: 1; transform: none; }
  .work-logo { transform: translate(-50%, -70%); }
}

.page-work .header .logo { color: var(--ink); }
.work-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 0; }
.work-hero h1 { margin: 0 0 22px; }
.work-hero h1 .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--green-dark); font-size: 1.1em; }
.work-hero .lead { max-width: 60ch; }
.clients-band {
  margin-top: clamp(36px, 5vw, 64px);
  padding-block: 22px;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
  width: max-content;
  align-items: center;
  animation: marquee 50s linear infinite;
}
.clients-track img { height: 26px; width: auto; filter: invert(1) brightness(0.2); opacity: 0.7; }
.work-list { padding-top: clamp(40px, 5vw, 64px); }
.work-filters { margin-bottom: 28px; }
.work-cta { text-align: center; padding-top: 0; }
.work-cta .container { display: grid; justify-items: center; gap: 18px; }
.work-cta h2 { max-width: 18ch; }
.work-cta .lead { max-width: 52ch; }

/* ---------- Work drawer (quick sheet) ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(11, 15, 20, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 560px);
  overflow-y: auto;
  padding: clamp(24px, 3vw, 40px);
  padding-top: 72px;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  gap: 22px;
  align-content: start;
  transform: translateX(40px);
  transition: transform 0.5s var(--ease);
  box-shadow: -40px 0 80px -40px rgba(0, 0, 0, 0.5);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.drawer-close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.drawer-close svg { width: 14px; height: 14px; }
.drawer-panel .eyebrow { margin-bottom: 0; }
.drawer-panel h2 { font-size: clamp(28px, 3vw, 38px); }
.drawer-gallery { position: relative; height: min(320px, 58vw); border-radius: var(--radius); overflow: hidden; background: var(--tint, var(--bg)); }
.drawer-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.drawer-gallery img[hidden] { display: none; }
.drawer-dots { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 6px; }
.drawer-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); }
.drawer-dots button.is-on { background: #fff; }
.drawer-bullets { display: grid; gap: 10px; }
.drawer-bullets li { display: grid; grid-template-columns: 10px 1fr; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.drawer-bullets li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); margin-top: 0.55em; }
.drawer-results { display: flex; flex-wrap: wrap; gap: 26px; padding: 18px 0; border-block: 1px solid var(--line); }
.drawer-results div { display: grid; gap: 2px; }
.drawer-results b { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1; color: var(--green-dark); }
.drawer-results span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.drawer-facts { display: grid; gap: 10px; margin: 0; }
.drawer-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 15px; }
.drawer-facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.drawer-facts dd { margin: 0; font-weight: 500; }
.drawer-facts a { text-decoration: underline; text-underline-offset: 2px; }
.drawer-quote { margin: 0; padding: 18px 20px; border-radius: var(--radius); background: var(--bg); }
.drawer-quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.drawer-quote blockquote::before { content: "“"; color: var(--green); }
.drawer-quote blockquote::after { content: "”"; color: var(--green); }
.drawer-quote figcaption { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.drawer-actions .btn { width: 100%; justify-content: center; }
.drawer-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer-nav .mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.drawer-nav .link-arrow { font-size: 14px; }

@media (max-width: 1024px) { .wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .wall { grid-template-columns: 1fr; } .drawer-facts div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Utilities & simple pages ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.about-text h2 .accent {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--green-dark);
  font-size: 1.1em;
}
.about-text h2 .accent::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: 0.02em;
  height: 0.08em;
  border-radius: 999px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.5s;
}
.about-text.is-visible h2 .accent::after { transform: scaleX(1); }
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
}
.fact {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(11, 15, 20, 0.06);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.fact::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 34px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  transition: width 0.5s var(--ease);
}
.fact:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(11, 15, 20, 0.35), 0 0 0 1px rgba(11, 15, 20, 0.08); }
.fact:hover::before { width: calc(100% - 44px); }
.fact-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fact p { font-size: 15px; color: var(--ink-2); }
.fact-tech { grid-column: span 1; }
.fact-tech .chips { gap: 6px; }
.fact-tech .chip { padding: 6px 10px; font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.value::after { animation: float 16s ease-in-out infinite; }
.value:nth-child(2)::after { animation-delay: -7s; }
@media (max-width: 1024px) { .about-facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .about-facts { grid-template-columns: 1fr; } }

.page-404 .nf {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: 20px;
  padding: var(--gutter);
  max-width: 760px;
  margin: 0 auto;
}
.page-404 .logo { color: var(--ink); margin-bottom: 24px; }
.page-404 h1 { font-size: clamp(40px, 7vw, 88px); }
.page-404 h1 .accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--green-dark); }
.nf-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 8px; }

.legal { max-width: 760px; padding-block: clamp(48px, 8vw, 96px); display: grid; gap: 18px; }
.legal .logo { color: var(--ink); margin-bottom: 24px; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); }
.legal h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 32px; }
.legal h3 { font-size: 18px; margin-top: 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal-nav { display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-nav a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.legal section { display: grid; gap: 12px; }
.legal-back { margin-top: 32px; }
.legal-back a { text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { width: 100%; max-width: 520px; justify-self: center; margin-top: 48px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 26px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cases { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .orbit { width: 240px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
}

@media (max-width: 768px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .header .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .logo { font-size: 22px; }
  .logo svg { width: 28px; height: 33px; }
  .scroll-cue { display: none; }
  .marquee-row.outline span { -webkit-text-stroke-width: 1.2px; }

  .hero-blob { width: 560px; height: 380px; left: -30%; top: -230px; }
  .hero-blob-2 { display: none; }
  .hero-media { max-width: 340px; margin-top: 44px; }
  .hero-avatar canvas { inset: -8%; width: 116% !important; height: 116% !important; }
  .hero-avatar::before, .hero-avatar::after { inset: 8%; }
  .hero-badge { left: 0; bottom: -14px; font-size: 11.5px; padding: 9px 12px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .cases { grid-template-columns: 1fr; }
  .testi-item { grid-template-columns: 1fr; row-gap: 20px; }
  .testi-person { grid-row: auto; }
  .testi-item blockquote { max-width: none; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .timeline-line { display: none; }
  .step { padding: 0 0 0 26px; border-left: 1px solid var(--line); }
  .step::before { top: 0; left: -6px; }
  .step::after { top: -14px; left: -20px; }
  .service summary { grid-template-columns: 1fr auto; gap: 14px; padding: 22px 0; }
  .service .num { display: none; }
  .service-body { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-copy { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .hero-blob, .marquee, .marquee-row, .scroll-cue i::after, .hero-badge .pulse, .wave-track, .orbit .ring, .orbit-mark, .clients-track { animation: none !important; }
  .step, .timeline-line b { opacity: 1; transform: none; transition: none; }
  .step::before { transform: none; animation: none !important; }
  .step::after, .timeline-line::after { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
