﻿/* Growth Labs — agency site */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --fg: #f6f5f3;
  --fg-rgb: 240,237,232;
  --bg-rgb: 10,10,10;
  --fg-2: rgba(var(--fg-rgb),.62);
  --fg-3: rgba(var(--fg-rgb),.38);
  --line: rgba(var(--fg-rgb),.12);
  --line-2: rgba(var(--fg-rgb),.06);
  --accent: #FF3B1F;
  --accent-glow: rgba(255,59,31,.6);
  --display: "Space Grotesk", system-ui, sans-serif;
  --italic: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gap-y: clamp(80px, 12vw, 180px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); }
body {
  font-family: "Inter Tight", var(--display);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  cursor: none;
}
body.no-custom-cursor { cursor: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* —— Custom cursor —— */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease, border-color .2s ease, background .2s ease;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.9); }
.cursor-ring.cta { width: 88px; height: 88px; background: var(--accent); mix-blend-mode: normal; border-color: var(--accent); }
body.brief-open .cursor-ring,
body.brief-open .cursor-dot { opacity: 0; transition: opacity .15s; }

/* —— Grain —— */
.grain {
  position: fixed; inset: -50%; pointer-events: none; z-index: 9000;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  10%  { transform: translate(-5%, -10%); }
  20%  { transform: translate(-15%, 5%); }
  30%  { transform: translate(7%, -25%); }
  40%  { transform: translate(-5%, 25%); }
  50%  { transform: translate(-15%, 10%); }
  60%  { transform: translate(15%, 0%); }
  70%  { transform: translate(0%, 15%); }
  80%  { transform: translate(3%, 35%); }
  90%  { transform: translate(-10%, 10%); }
  100% { transform: translate(0,0); }
}

/* —— Background canvas —— */
.bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .55;
}

/* —— Layout —— */
.shell { position: relative; z-index: 1; }
.container { width: min(1480px, 100% - 48px); margin: 0 auto; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }

/* —— Nav —— */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(to bottom, rgba(var(--bg-rgb),.75), rgba(var(--bg-rgb),.35));
  border-bottom: 1px solid var(--line-2);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff8d77, var(--accent) 60%, #5a0d00);
  box-shadow: 0 0 18px var(--accent-glow);
  position: relative; overflow: hidden;
}
.brand-mark::after {
  content:""; position: absolute; inset: 4px;
  border-radius: 50%; background: radial-gradient(circle, #0a0a0a 40%, transparent 70%);
}
.brand small { font-family: var(--mono); font-size: 10px; color: var(--fg-3); margin-left: 4px; letter-spacing: 0; font-weight: 400; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-family: var(--mono); font-size: 12px; color: var(--fg-2); text-transform: uppercase; letter-spacing: .08em; position: relative; }
.nav-links a:hover { color: var(--fg); }
.nav-links a span.num { color: var(--accent); margin-right: 6px; }
.nav-cta {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, border-color .2s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.nav-cta i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; box-shadow: 0 0 10px var(--accent-glow); }
.nav-cta:hover i { background: #fff; box-shadow: none; }

/* —— Status ticker —— */
.status-bar {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%);
  display: none;
}

/* —— Sections —— */
section { position: relative; padding: var(--gap-y) 0; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content:""; width: 24px; height: 1px; background: var(--accent);
}
.section-num { color: var(--accent); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 0.92; margin: 0; }
.italic-accent { font-family: var(--italic); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* —— HERO —— */
.hero {
  min-height: 100vh; padding-top: 120px; padding-bottom: 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.hero-meta {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--fg-2);
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 40px;
}
.hero-meta .hm-row { display: flex; justify-content: space-between; gap: 24px; }
.hero-meta b { color: var(--fg); font-weight: 500; }

/* Variant A: brutalist editorial */
.hero-a .stack { display: flex; flex-direction: column; gap: 0; }
.hero-a .display {
  font-size: clamp(80px, 17vw, 280px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.84;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .12em;
}
.hero-a .display .word { display: inline-block; position: relative; }
.hero-a .display .word.red { color: var(--accent); }
.hero-a .display .word.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}
.hero-a .display .italic-accent {
  font-size: 0.84em;
}
.hero-a .display .dot {
  display: inline-block; width: .18em; height: .18em; border-radius: 50%;
  background: var(--accent); margin-left: .02em; vertical-align: baseline;
  box-shadow: 0 0 40px var(--accent-glow);
  align-self: flex-end; transform: translateY(-.08em);
}
.hero-a .row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  margin-top: 48px; align-items: end;
}
.hero-a .lede {
  font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35; color: var(--fg); max-width: 520px;
  letter-spacing: -0.01em;
}
.hero-a .lede em { font-family: var(--italic); font-style: italic; color: var(--accent); }
.hero-a .right { display: flex; flex-direction: column; gap: 24px; align-items: flex-end; }

/* Variant B: terminal / tech */
.hero-b { padding-top: 140px; }
.hero-b .term {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 18px 22px;
  font-family: var(--mono); font-size: 12px; color: var(--fg-2);
  max-width: 480px;
  position: relative;
}
.hero-b .term::before {
  content:""; position: absolute; top: 14px; left: 14px;
  display: block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 14px 0 0 rgba(var(--fg-rgb),.18), 28px 0 0 rgba(var(--fg-rgb),.1);
}
.hero-b .term .lines { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.hero-b .term .line .pfx { color: var(--accent); margin-right: 8px; }
.hero-b .term .ok { color: var(--accent); }
.hero-b .display {
  font-size: clamp(70px, 13vw, 200px);
  font-weight: 700; letter-spacing: -0.04em; line-height: .88;
  margin-top: 60px;
}
.hero-b .display .swap {
  display: inline-block; min-width: 0;
  font-family: var(--italic); font-style: italic; font-weight: 400;
  color: var(--accent);
  position: relative; overflow: hidden; vertical-align: top;
  padding-right: .08em;
}
.hero-b .display .swap-inner { display: inline-block; transition: transform .55s cubic-bezier(.7,0,.2,1); }
.hero-b .meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 64px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.hero-b .meta-grid div { font-family: var(--mono); font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: .1em; }
.hero-b .meta-grid div b { display: block; font-family: var(--display); font-size: 28px; color: var(--fg); text-transform: none; letter-spacing: -0.02em; font-weight: 500; margin-top: 4px; }
.hero-b .meta-grid div b span { color: var(--accent); }

/* Variant C: editorial split-flap */
.hero-c {
  padding-top: 130px; padding-bottom: 0;
  background: var(--bg);
  text-align: left;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.hero-c .container { display: flex; flex-direction: column; flex: 1; }
.hero-c .display {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: clamp(48px, 7.5vw, 116px);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.02;
  text-align: left;
  max-width: 1280px;
  margin: 24px 0 0;
}
.hero-c .display .muted { color: rgba(var(--fg-rgb),0.28); display: block; }
.hero-c .display .punch { color: var(--fg); display: block; position: relative; }
.hero-c .display .punch::before {
  content:""; position: absolute; left: -28px; top: 0.36em; bottom: 0.18em;
  width: 3px; background: #e8441a;
}
.hero-c .display .flap {
  display: inline-block; vertical-align: baseline;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic; font-weight: 400;
  color: #e8441a;
  height: 1em; overflow: hidden;
  position: relative;
  min-width: 4.6em;
  letter-spacing: -0.01em;
}
.hero-c .display .flap-inner {
  display: flex; flex-direction: column;
  transition: transform .55s cubic-bezier(.85,0,.15,1);
  will-change: transform;
}
.hero-c .display .flap-inner span {
  display: block; height: 1em; line-height: 1;
}

.hero-c .sep {
  width: 1px; height: 28px;
  background: rgba(var(--fg-rgb),0.1);
  margin: 44px 0 24px;
}
.hero-c .sub {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 15.5px; line-height: 1.55;
  color: rgba(var(--fg-rgb),0.38);
  font-weight: 500;
  max-width: 620px;
  letter-spacing: -0.005em;
}
.hero-c .sub b {
  color: rgba(var(--fg-rgb),0.7); font-weight: 700;
}

.hero-c .chaos-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-c .pill {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.09em;
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(var(--fg-rgb),0.14);
  color: rgba(var(--fg-rgb),0.55);
  background: transparent;
  white-space: nowrap;
  position: relative;
}
.hero-c .pill.engine {
  border-color: #e8441a;
  color: var(--fg);
  background: rgba(232,68,26,0.08);
  box-shadow: 0 0 30px rgba(232,68,26,0.18) inset, 0 0 24px rgba(232,68,26,0.18);
}
.hero-c .pill.engine::before {
  content:""; display: inline-block; vertical-align: middle;
  width: 6px; height: 6px; border-radius: 50%;
  background: #e8441a; margin-right: 8px;
  box-shadow: 0 0 8px #e8441a;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}
.hero-c .chaos-row .arr {
  color: rgba(var(--fg-rgb),0.3);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700; font-size: 18px;
}

.hero-c .ctaRow {
  margin-top: 40px;
  display: flex; gap: 14px;
  flex-wrap: wrap;
}
.hero-c .btnC {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.01em;
  padding: 18px 26px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.hero-c .btnC.primary {
  background: #e8441a; color: #fff; border: 1px solid #e8441a;
}
.hero-c .btnC.primary:hover { background: var(--fg); color: #e8441a; border-color: var(--fg); }
.hero-c .btnC.ghost {
  background: transparent; color: var(--fg);
  border: 1px solid rgba(var(--fg-rgb),0.45);
}
.hero-c .btnC.ghost:hover { border-color: var(--fg); background: rgba(var(--fg-rgb),0.06); }
.hero-c .btnC .arr { transition: transform .2s; }
.hero-c .btnC:hover .arr { transform: translateX(3px); }

.hero-c .proof {
  margin-top: auto;
  padding: 32px 0 28px;
  border-top: 1px solid rgba(var(--fg-rgb),0.07);
  display: flex; justify-content: center; align-items: center;
  gap: 80px;
}
.hero-c .proof .metric { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-c .proof .v {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800; font-size: 22px; color: var(--fg);
  letter-spacing: -0.02em;
}
.hero-c .proof .l {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(var(--fg-rgb),0.25);
}
.hero-c .proof .div {
  width: 1px; height: 22px; background: rgba(var(--fg-rgb),0.08);
}

@media (max-width: 900px) {
  .hero-c .display .punch::before { left: -16px; width: 2px; }
  .hero-c .proof { gap: 28px; flex-wrap: wrap; justify-content: flex-start; }
  .hero-c .proof .div { display: none; }
}

/* Hero ctaRow */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px; border-radius: 999px;
  font-family: var(--display); font-weight: 500; letter-spacing: -.01em; font-size: 16px;
  transition: transform .25s ease, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--accent); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); background: rgba(255,255,255,.06); }
.btn .arrow { display: inline-block; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Hero scroll indicator */
.scroll-ind {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-2); text-transform: uppercase; letter-spacing: .14em;
}
.scroll-ind .bar {
  width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden;
}
.scroll-ind .bar::after {
  content:""; position: absolute; top: 0; left: 0; width: 30%; height: 100%; background: var(--accent);
  animation: scroll-loop 2.2s infinite cubic-bezier(.7,0,.2,1);
}
@keyframes scroll-loop {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}

/* —— MARQUEE BAND —— */
.marquee {
  display: flex; overflow: hidden; padding: 36px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(38px, 6.5vw, 96px);
  white-space: nowrap;
  position: relative;
}
.marquee .track {
  display: inline-flex; gap: 60px; animation: marquee linear infinite;
  padding-left: 60px;
  flex-shrink: 0;
}
.marquee .track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee .track .dot {
  display: inline-block; width: .42em; height: .42em; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 30px var(--accent-glow);
  flex-shrink: 0;
}
.marquee .track em {
  font-family: var(--italic); font-style: italic; font-weight: 400; color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* —— SERVICES —— */
.services { }
.services-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 60px;
}
.services-head h2 {
  font-size: clamp(48px, 7vw, 110px); letter-spacing: -0.04em;
}
.services-head h2 em { font-family: var(--italic); font-weight: 400; color: var(--accent); }
.services-head p b { color: rgba(var(--fg-rgb),0.92); font-weight: 600; }
.services-head p { color: rgba(var(--fg-rgb),0.55); font-size: 17px; line-height: 1.55; max-width: 480px; }

.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid;
  grid-template-columns: 60px 260px 1fr 240px;
  gap: 32px; align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(var(--fg-rgb),0.07);
  position: relative; cursor: none;
  transition: padding .35s cubic-bezier(.7,0,.2,1), background .35s ease;
  overflow: hidden;
}
.svc::before {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.025));
  opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.svc:hover { padding-left: 24px; padding-right: 24px; }
.svc:hover::before { opacity: 1; }
.svc:hover .svc-n { color: rgba(var(--fg-rgb),0.75); }
.svc:hover .svc-title { color: var(--fg); }
.svc-n { font-family: var(--mono); color: var(--fg-3); font-size: 12px; }
.svc-title {
  font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.05;
  color: rgba(var(--fg-rgb),0.92);
  transition: color .25s ease;
}
.svc-title em { font-family: var(--italic); font-style: italic; color: var(--accent); font-weight: 400; }
.svc-desc { font-size: 14px; line-height: 1.55; color: rgba(var(--fg-rgb),0.55); }
.svc-desc b { color: rgba(var(--fg-rgb),0.92); font-weight: 600; }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.svc-tags span {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg-2);
}
.svc-tags span.red {
  border-color: rgba(232,68,26,0.6);
  background: rgba(232,68,26,0.08);
  color: #ff8266;
}
.svc:hover .svc-tags span:not(.red) { border-color: var(--accent); color: var(--accent); }
.svc-arrow {
  position: absolute; right: 0; top: 50%; transform: translate(40px, -50%);
  font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--accent);
  opacity: 0; transition: all .35s cubic-bezier(.7,0,.2,1);
}
.svc:hover .svc-arrow { transform: translate(-12px, -50%); opacity: 1; }

/* —— PROCESS —— */
.process-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 80px;
}
.process-head h2 { font-size: clamp(48px, 7vw, 110px); }
.process-head h2 em { font-family: var(--italic); font-weight: 400; color: var(--accent); }
.process-head p b { color: rgba(var(--fg-rgb),0.92); font-weight: 600; }
.process-head p { color: rgba(var(--fg-rgb),0.55); font-size: 17px; max-width: 480px; line-height: 1.55; }

.timeline {
  display: grid; grid-template-columns: 80px 1fr; gap: 32px;
  position: relative;
}
.tl-track {
  position: relative; width: 2px; background: var(--line); margin-left: 39px;
}
.tl-track .fill {
  position: absolute; top: 0; left: 0; width: 100%; background: var(--accent);
  height: var(--tl-fill, 0%); box-shadow: 0 0 18px var(--accent-glow);
  transition: height .15s linear;
}
.tl-steps { display: flex; flex-direction: column; }
.tl-step {
  display: grid; grid-template-columns: 200px 1fr 320px; gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(var(--fg-rgb),0.07);
  position: relative; align-items: start;
}
.tl-step:first-child { padding-top: 0; }
.tl-step::before {
  content:""; position: absolute; left: -53px; top: 56px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line);
  transition: all .3s ease;
}
.tl-step:first-child::before { top: 8px; }
.tl-step.active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,59,31,.18); }
.tl-num { font-family: var(--mono); color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.tl-h { font-family: "Plus Jakarta Sans", var(--display); font-size: clamp(28px, 3vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; color: var(--fg); }
.tl-h em { font-family: var(--italic); font-style: italic; color: #e8441a; font-weight: 400; letter-spacing: -0.01em; }
.tl-meta { display: flex; flex-direction: column; gap: 14px; }
.tl-meta p { margin: 0; color: rgba(var(--fg-rgb),0.4); line-height: 1.55; font-size: 14px; }
.tl-meta p b { color: rgba(var(--fg-rgb),0.85); font-weight: 600; }
.tl-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tl-chips span {
  font-family: var(--mono); font-size: 10px; padding: 5px 10px;
  border: 1px solid rgba(var(--fg-rgb),0.1); border-radius: 999px;
  color: rgba(var(--fg-rgb),0.55); background: transparent;
  text-transform: uppercase; letter-spacing: .08em;
}
.tl-chips span.red {
  border-color: rgba(232,68,26,0.6);
  background: rgba(232,68,26,0.08);
  color: #ff8266;
}
.tl-step:last-child { border-bottom: 1px solid rgba(var(--fg-rgb),0.07); }

/* —— CASES —— */
/* —— CASES (masonry) —— */
#cases { max-height: 100dvh; overflow: hidden; padding: clamp(32px, 5vw, 64px) 0; }
.cases-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end;
  margin-bottom: 60px;
}
.cases-head h2 { font-family: "Plus Jakarta Sans", var(--display); font-weight: 800; font-size: clamp(48px, 7vw, 110px); letter-spacing: -0.04em; line-height: 1.0; color: var(--fg); }
.cases-head h2 em { font-family: var(--italic); font-weight: 400; color: #e8441a; font-style: italic; letter-spacing: -0.015em; }
.cases-head p b { color: rgba(var(--fg-rgb),0.92); font-weight: 600; }
.cases-head p { color: rgba(var(--fg-rgb),0.55); max-width: 480px; font-size: 17px; line-height: 1.55; }

.cases-mason {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 10px;
}
.case {
  border: 1px solid rgba(var(--fg-rgb),0.08);
  background: rgba(var(--fg-rgb),0.02);
  border-radius: 14px; overflow: hidden;
  position: relative; display: flex; flex-direction: column;
  transition: border-color .35s ease, background .35s ease;
}
.case:hover { border-color: rgba(var(--fg-rgb),0.22); background: rgba(var(--fg-rgb),0.035); }
.case.ca { grid-row: 1 / span 2; grid-column: 1; }
.case.cb { grid-row: 1; grid-column: 2; }
.case.cc { grid-row: 2; grid-column: 2; }
.case.cd { grid-row: 3; grid-column: 1 / span 2; }

.case-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #0e0e0e;
  overflow: hidden;
}
.case.ca .case-media { aspect-ratio: 4/5; }
.case.cd .case-media.wide-metrics {
  aspect-ratio: auto; padding: 56px 32px 48px; background: #0c0c0c;
  display: flex; flex-direction: column; justify-content: center;
}

.case-label {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--mono); font-size: 10px; color: rgba(var(--fg-rgb),0.6);
  text-transform: uppercase; letter-spacing: .1em;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(var(--fg-rgb),0.08);
}
.case-label.red {
  background: rgba(232,68,26,0.12);
  border-color: rgba(232,68,26,0.5);
  color: #ff8266;
}
.case-label .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: #e8441a;
  box-shadow: 0 0 0 0 rgba(232,68,26,.6); animation: pulse 1.6s infinite;
}
.case-stat {
  position: absolute; bottom: 18px; right: 22px; z-index: 2;
  font-family: var(--display); line-height: 1;
}
.case-stat em {
  font-family: var(--italic); font-style: italic; color: #e8441a;
  font-size: 72px; font-weight: 400; letter-spacing: -0.02em;
}
.case.cb .case-stat em { font-size: 80px; }
.case.cc .case-stat em { font-size: 56px; }

.case-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.case-client { font-family: var(--mono); font-size: 10px; color: rgba(var(--fg-rgb),0.22); text-transform: uppercase; letter-spacing: .12em; }
.case-title {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 800;
  font-size: 16px; line-height: 1.3; color: var(--fg); letter-spacing: -0.01em;
}
.case.ca .case-title { font-size: 19px; }
.case.cd .case-title { font-size: 18px; max-width: 560px; }
.case-title em { font-family: var(--italic); font-style: italic; color: #e8441a; font-weight: 400; letter-spacing: -0.005em; }
.case-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(var(--fg-rgb),0.07);
  font-family: var(--mono); font-size: 10px; color: rgba(var(--fg-rgb),0.45);
  text-transform: uppercase; letter-spacing: .1em;
}
.case-badge {
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid rgba(var(--fg-rgb),0.14);
  color: rgba(var(--fg-rgb),0.7);
}
.case-badge.red {
  border-color: rgba(232,68,26,0.6);
  background: rgba(232,68,26,0.05);
  color: #ff8266;
}
.case-badge.big {
  padding: 12px 18px; font-size: 11px; letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, color .25s;
}
.case-badge.big:hover { background: #e8441a; color: #fff; border-color: #e8441a; }
.case-badge.big span { transition: transform .25s; }
.case-badge.big:hover span { transform: translateX(3px); }

/* Card D horizontal body */
.case-body.horizontal {
  flex-direction: row; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 32px;
}
.case-body.horizontal .hb-l { display: flex; flex-direction: column; gap: 8px; flex: 1; }

/* Visual A — bars compare */
.vz { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px; }
.vz-a { padding: 50px 40px 110px; align-items: stretch; }
.vz-a .vz-grid { display: flex; gap: 80px; align-items: stretch; height: 100%; width: 100%; }
.vz-group { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 1; height: 100%; }
.vz-a .vz-lbl { margin-top: 0; }
.vz-bar-row { display: flex; gap: 28px; align-items: flex-end; flex: 1; width: 100%; justify-content: center; padding-bottom: 22px; }
.vz-bar {
  width: 38px; height: var(--h); position: relative;
  border-radius: 6px 6px 0 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 6px;
  animation: barRise 1s cubic-bezier(.6,0,.2,1) both;
  transform-origin: bottom;
}
@keyframes barRise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.vz-bar.before { background: rgba(var(--fg-rgb),0.07); }
.vz-bar.after { background: linear-gradient(to top, #b22f10, #e8441a 60%, #ff7a52); box-shadow: 0 0 24px rgba(232,68,26,0.35); }
.vz-bar.after.a2 { animation-delay: 0.15s; }
.vz-bar span {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px; color: rgba(var(--fg-rgb),0.45);
  text-transform: uppercase; letter-spacing: .1em;
}
.vz-bar.after span { color: rgba(255,255,255,.75); }
.vz-lbl {
  font-family: var(--mono); font-size: 10px; color: rgba(var(--fg-rgb),0.82);
  text-transform: uppercase; letter-spacing: .12em;
}

/* Visual B — arrow */
.vz-b { padding: 0; }
.vz-arrow { width: 30%; height: 80%; }
.vz-tick {
  position: absolute; right: 30px; top: 20px; bottom: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.vz-tick-l {
  font-family: var(--mono); font-size: 9px; color: rgba(var(--fg-rgb),0.35);
  text-transform: uppercase; letter-spacing: .12em;
}

/* Visual C — pills compare */
.vz-c { display: flex; align-items: flex-start; justify-content: flex-start; gap: 16px; padding: 30px 130px 30px 30px; }
.vz-col { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; max-width: 110px; }
.vz-col-h { font-family: var(--mono); font-size: 9px; color: rgba(var(--fg-rgb),0.4); text-transform: uppercase; letter-spacing: .12em; }
.vz-pillstack { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.vz-pill {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 7px 10px; border-radius: 999px; text-align: center;
  border: 1px solid rgba(var(--fg-rgb),0.08);
  color: rgba(var(--fg-rgb),0.5);
}
.vz-pill.ghost { background: rgba(var(--fg-rgb),0.03); }
.vz-pill.red {
  border-color: rgba(232,68,26,0.5); background: rgba(232,68,26,0.08); color: #ff8266;
}
.vz-pill.dashed { border-style: dashed; border-color: rgba(var(--fg-rgb),0.18); color: rgba(var(--fg-rgb),0.55); }
.vz-arrowmid {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 700; font-size: 22px;
  color: #e8441a; align-self: center;
}

/* Card D — metrics row */
.metrics-row {
  display: flex; align-items: center; justify-content: center;
  gap: 36px;
}
.metric-cell { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 160px; }
.metric-cell .mv {
  font-family: var(--italic); font-style: italic;
  font-size: 48px; color: #e8441a; line-height: 1; letter-spacing: -0.02em;
  font-weight: 400;
}
.metric-cell .ml {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(var(--fg-rgb),0.25);
}
.mdiv { width: 1px; height: 56px; background: rgba(var(--fg-rgb),0.07); }

@media (max-width: 900px) {
  .cases-mason { grid-template-columns: 1fr; grid-template-rows: auto; }
  .case.ca, .case.cb, .case.cc, .case.cd { grid-column: 1; grid-row: auto; }
  .metrics-row { flex-wrap: wrap; gap: 22px; }
  .mdiv { display: none; }
  .case-body.horizontal { flex-direction: column; align-items: flex-start; }
}

/* —— LOGOS —— */
.logos {
  padding: 80px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.logos .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.logos .head p { font-family: var(--mono); font-size: 11px; color: var(--fg-2); text-transform: uppercase; letter-spacing: .14em; margin: 0; }
.logos-track {
  display: flex; gap: 0; overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 18px 0;
}
.logos-track.second { margin-top: 8px; }
.logos-track .lane {
  display: inline-flex; gap: 0; animation: marquee linear infinite;
  flex-shrink: 0;
}
.logos-track .lane.rev {
  animation-name: marqueeRev;
}
@keyframes marqueeRev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.logo-cell {
  flex-shrink: 0;
  height: 90px;
  padding: 0 56px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid rgba(var(--fg-rgb),0.06);
  position: relative;
}
.logo-cell img {
  width: auto;
  max-height: 70px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.42;
  transition: opacity .35s ease, filter .35s ease, transform .35s ease;
  will-change: filter, opacity;
}
.logo-cell:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* —— CTA —— */
.cta {
  min-height: 100vh;
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-glow {
  position: absolute; border-radius: 50%;
}
.cta-glow.center {
  width: 600px; height: 600px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232,68,26,0.10), transparent 70%);
}
.cta-glow.bottom {
  width: 300px; height: 300px;
  left: 50%; bottom: -150px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232,68,26,0.06), transparent 70%);
}
.cta-deco {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(var(--fg-rgb),0.03);
}
.cta-deco.left {
  width: 640px; height: 640px;
  left: -320px; top: 50%; transform: translateY(-50%);
}
.cta-deco.right {
  width: 400px; height: 400px;
  right: -100px; top: -200px;
}

.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-eyebrow { display: inline-flex; }

.cta h2 {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 800;
  font-size: clamp(44px, 7.5vw, 82px);
  letter-spacing: -0.03em; line-height: 1.0;
  color: var(--fg);
  margin-top: 32px;
}
.cta h2 em {
  font-family: var(--italic); font-style: italic; font-weight: 400;
  color: #e8441a; letter-spacing: -0.01em;
}

.cta p {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 500;
  font-size: 15.5px; line-height: 1.55;
  color: rgba(var(--fg-rgb),0.4);
  max-width: 400px;
  margin: 28px auto 0;
}
.cta p b { color: rgba(var(--fg-rgb),0.68); font-weight: 600; }

.cta-btn-wrap {
  margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  contain: layout paint;
  overflow: hidden;
  padding: 24px;
}

.cta-ring-wrap {
  position: relative; width: 200px; height: 200px;
  transition: transform .2s ease-out;
}
.cta-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  animation: spin 14s linear infinite;
  pointer-events: none;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.cta-ring text {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 700;
  font-size: 10.5px;
  fill: rgba(var(--fg-rgb),0.28);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.cta-disc {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 152px; height: 152px;
  border-radius: 50%;
  background: #e8441a;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 800; font-size: 14px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.cta-disc .arrow {
  font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 400;
  transition: color .25s, transform .25s;
}
.cta-disc:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #d63d18;
  box-shadow: 0 0 0 16px rgba(232,68,26,0.08), 0 0 60px rgba(232,68,26,0.2);
}
.cta-disc:hover .arrow { color: #fff; transform: translateX(2px); }

.cta-mail {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.cta-mail span {
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .14em;
  color: rgba(var(--fg-rgb),0.35);
}
.cta-mail a {
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 500; font-size: 13px;
  color: rgba(var(--fg-rgb),0.4);
  border-bottom: 1px solid rgba(var(--fg-rgb),0.12);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.cta-mail a:hover { color: var(--fg); border-color: rgba(var(--fg-rgb),0.45); }

.trust-row {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid rgba(var(--fg-rgb),0.07);
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  width: 100%; max-width: 880px;
}
.trust {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Plus Jakarta Sans", var(--display); font-weight: 600;
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(var(--fg-rgb),0.22);
}
.trust i {
  display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: #e8441a;
}

@media (max-width: 700px) {
  .cta-deco.left { width: 400px; height: 400px; left: -250px; }
  .cta-deco.right { display: none; }
  .trust-row { gap: 16px; }
}

/* —— FOOTER —— */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-2); text-transform: uppercase; letter-spacing: .1em;
}
.footer .row { justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 28px; }
.footer .links a:hover { color: var(--accent); }

/* —— Reveal —— */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.rv-stagger.in > * { opacity: 1; transform: translateY(0); }
.rv-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.rv-stagger.in > *:nth-child(2) { transition-delay: 0.05s; }
.rv-stagger.in > *:nth-child(3) { transition-delay: 0.1s; }
.rv-stagger.in > *:nth-child(4) { transition-delay: 0.15s; }
.rv-stagger.in > *:nth-child(5) { transition-delay: 0.2s; }
.rv-stagger.in > *:nth-child(6) { transition-delay: 0.25s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232,68,26,.6); }
  70% { box-shadow: 0 0 0 8px rgba(232,68,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,68,26,0); }
}

/* —— WEB SECTION —— */
.web-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  margin-bottom: 64px;
}
.web-head h2 { font-size: clamp(48px, 7vw, 110px); letter-spacing: -0.04em; }
.web-head h2 em { font-family: var(--italic); font-weight: 400; color: var(--accent); font-style: italic; }

.web-features {
  display: flex; flex-direction: column; gap: 20px;
  border-left: 1px solid var(--line); padding-left: 32px; margin-top: 8px;
}
.web-feature { display: flex; gap: 14px; align-items: flex-start; }
.web-feature-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  flex-shrink: 0; margin-top: 8px;
  box-shadow: 0 0 10px var(--accent-glow);
}
.web-feature-text { font-size: 14px; line-height: 1.6; color: rgba(var(--fg-rgb),0.5); }
.web-feature-text b { color: rgba(var(--fg-rgb),0.88); font-weight: 600; }

.web-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.web-card {
  border: 1px solid rgba(var(--fg-rgb),0.07);
  border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.015);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), border-color .3s ease;
  cursor: none;
}
.web-card:hover { transform: translateY(-6px); border-color: rgba(232,68,26,0.35); }
.web-card-thumb {
  height: 190px; position: relative; overflow: hidden;
}
.web-card-thumb::before {
  content:''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 35%, rgba(255,255,255,0.1) 0%, transparent 55%);
}
.web-card-thumb::after {
  content:''; position: absolute;
  bottom: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
}
.web-card-body { padding: 20px 22px 24px; }
.web-card-industry {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(var(--fg-rgb),0.3);
  margin-bottom: 8px;
}
.web-card-name {
  font-family: var(--display); font-weight: 600; font-size: 19px;
  letter-spacing: -0.02em; color: var(--fg); line-height: 1.2;
  margin-bottom: 14px;
}
.web-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.web-card-tags span {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 10px;
  border: 1px solid rgba(var(--fg-rgb),0.1); border-radius: 999px;
  color: rgba(var(--fg-rgb),0.4);
}
.web-cta-row { margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== MOBILE RESPONSIVE ===== */

/* Fix iOS Safari horizontal overflow */
html { overflow-x: hidden; }

@media (max-width: 768px) {
  /* Section spacing */
  :root { --gap-y: clamp(56px, 10vw, 80px); }
  section { padding: var(--gap-y) 0; }

  /* Section headings — reduce min size so they don't overflow */
  .services-head h2,
  .process-head h2,
  .cases-head h2 { font-size: clamp(36px, 9vw, 64px); }
  h2 { font-size: clamp(32px, 8vw, 56px); }

  /* Nav — hide links, keep brand + CTA */
  .nav-links { display: none; }
  .nav .container { gap: 12px; }
  .nav-cta { padding: 8px 12px; font-size: 11px; }

  /* Hero A */
  .hero-a .row-2 {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 28px;
  }
  .hero-a .right { align-items: flex-start; }

  /* Hero B */
  .hero-b .meta-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Hero C */
  .hero-c .display .punch::before { display: none; }

  /* Services head */
  .services-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  /* Service rows — collapse 4-col to 2-col */
  .svc {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px 14px;
    padding: 20px 0;
  }
  .svc-n { grid-column: 1; grid-row: 1; }
  .svc-title { grid-column: 2; grid-row: 1; font-size: clamp(20px, 5vw, 26px); }
  .svc-desc { grid-column: 1 / -1; grid-row: 2; }
  .svc-tags { grid-column: 1 / -1; grid-row: 3; justify-content: flex-start; }
  .svc-arrow { display: none; }
  .svc:hover { padding-left: 0; padding-right: 0; }

  /* Process head */
  .process-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  /* Timeline — hide track, stack steps */
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .tl-track { display: none; }
  .tl-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }
  .tl-step::before { display: none; }
  .tl-h { font-size: clamp(24px, 6vw, 32px); }

  /* Cases head */
  .cases-head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
  }

  /* Web section */
  .web-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .web-features { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 24px; margin-top: 0; }
  .web-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .web-head h2 { font-size: clamp(36px, 9vw, 64px); }

  /* Logos */
  .logos .head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .logo-cell { padding: 0 32px; height: 70px; }
  .logo-cell img { max-height: 48px; }

  /* CTA */
  .cta-deco.left { width: 280px; height: 280px; left: -180px; }
  .cta-deco.right { display: none; }
  .cta-glow.center { width: 320px; height: 320px; }

  /* Footer */
  .footer .row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer .links { flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  /* Tighter container on very small phones */
  .container { width: min(1480px, 100% - 28px); }

  /* Hero meta */
  .hero-meta .hm-row { flex-direction: column; gap: 4px; }

  /* Service desc — hide on tiny screens to reduce clutter */
  .svc-desc { display: none; }

  /* Hero B meta-grid single row of 2 */
  .hero-b .meta-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-b .meta-grid div b { font-size: 22px; }

  /* CTA ring — scale down */
  .cta-ring-wrap { width: 160px; height: 160px; }
  .cta-disc {
    width: 120px; height: 120px;
    font-size: 12px;
  }
}

/* —— Light theme —— */
[data-theme="light"] {
  --bg: #f4f2ef;
  --bg-2: #edeae5;
  --fg: #0a0a0a;
  --fg-rgb: 10,10,10;
  --bg-rgb: 240,237,232;
}
[data-theme="light"] html,
[data-theme="light"] body { background: var(--bg); color: var(--fg); }
[data-theme="light"] .bg-canvas { opacity: .10; filter: invert(1) hue-rotate(180deg); }
[data-theme="light"] .grain { mix-blend-mode: multiply; opacity: .04; }

/* hardcoded hex overrides — elementy używające #f0ede8 jako kolor tekstu */
[data-theme="light"] .hero-c { background: var(--bg); }
[data-theme="light"] .hero-c .display .punch { color: var(--fg); }
[data-theme="light"] .hero-c .display .muted { color: rgba(var(--fg-rgb),0.28); }
[data-theme="light"] .hero-c .sub { color: rgba(var(--fg-rgb),0.5); }
[data-theme="light"] .hero-c .sub b { color: rgba(var(--fg-rgb),0.78); }
[data-theme="light"] .hero-c .pill { border-color: rgba(var(--fg-rgb),0.16); color: rgba(var(--fg-rgb),0.55); }
[data-theme="light"] .hero-c .pill.engine { color: #e8441a; }
[data-theme="light"] .hero-c .btnC.ghost { color: var(--fg); border-color: rgba(var(--fg-rgb),0.4); }
[data-theme="light"] .hero-c .btnC.ghost:hover { background: rgba(var(--fg-rgb),0.05); border-color: var(--fg); }
[data-theme="light"] .hero-c .btnC.primary:hover { background: var(--fg); color: #e8441a; border-color: var(--fg); }
[data-theme="light"] .hero-c .proof .v { color: var(--fg); }
[data-theme="light"] .hero-c .proof .l { color: rgba(var(--fg-rgb),0.38); }
[data-theme="light"] .hero-c .proof .div { background: rgba(var(--fg-rgb),0.1); }
[data-theme="light"] .hero-c .proof { border-color: rgba(var(--fg-rgb),0.1); }
[data-theme="light"] .hero-c .chaos-row .arr { color: rgba(var(--fg-rgb),0.3); }
[data-theme="light"] .hero-c .sep { background: rgba(var(--fg-rgb),0.12); }

[data-theme="light"] .svc:hover .svc-title { color: var(--fg); }
[data-theme="light"] .tl-h { color: var(--fg); }
[data-theme="light"] .cases-head h2 { color: var(--fg); }
[data-theme="light"] .cta { background: var(--bg); }
[data-theme="light"] .cta h2 { color: var(--fg); }
[data-theme="light"] .cta-mail a:hover { color: var(--fg); }

[data-theme="light"] .cursor-dot { background: #0a0a0a; }
[data-theme="light"] .cursor-ring { border-color: rgba(0,0,0,.5); }

/* theme toggle button */
.theme-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 8999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
}
.theme-toggle:hover { transform: scale(1.1); }
