/* ============ TOKENS ============ */
:root {
  --bg: #161616;
  --bg-card: #1f1f1f;
  --bg-card-2: #232323;
  --text: #ffffff;
  --muted: #b9b9b9;
  --lime: #a6ff00;
  --green: #1dff3c;
  --grad: linear-gradient(90deg, #a6ff00 0%, #1dff6a 100%);
  --grad-steps: linear-gradient(100deg, #37ff5a 5%, #2ed6a6 45%, #4b5dff 100%);
  --radius: 6px;
  --container: 1280px;
  --font: "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

section { position: relative; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn--primary {
  background: var(--grad);
  color: #0c1a00;
  box-shadow: 0 0 0 rgba(166, 255, 0, 0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(120, 255, 40, .35);
}

.btn--outline {
  border: 1px solid var(--lime);
  color: var(--lime);
  border-radius: 10px;
}
.btn--outline:hover { background: var(--lime); color: #0c1a00; }

.btn--dark {
  background: #161616;
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
}
.btn--dark:hover { background: #000; transform: translateY(-2px); }

/* ============ SECTION TITLE ============ */
.section-title {
  text-align: center;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
}
.section-title span {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
  border-image: var(--grad) 1;
}

/* ============ INTRO (touch screens) ============ */
/* A V is assembled from three pieces (0.45s) on top of the page, lights up like neon, then
   evaporates (script.js adds .is-lit, then .is-out). It has no backdrop and lets taps through,
   so the site is visible and usable underneath the whole time. Desktop never shows it:
   there the hero has the liquid animation instead. */
.intro { display: none; }
@media not all and (hover: hover) and (pointer: fine) {
  .intro {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    pointer-events: none;
    transition: opacity .35s ease .05s, visibility 0s .4s;
    /* safety net if script.js never runs */
    animation: intro-failsafe 0s 4s forwards;
  }
  .intro.is-out { opacity: 0; visibility: hidden; }
}
.intro__mark { position: relative; width: min(66vw, 300px); aspect-ratio: 120 / 110; }
.intro__mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* thick, square-cut strokes with a mitred point */
.intro__mark path { stroke-width: 16; stroke-linecap: butt; stroke-linejoin: miter; }

/* the unlit glass pieces fly in and lock together */
.intro__piece {
  stroke: #44610f;   /* opaque, so the overlapping ends of the pieces leave no seam */
  transform-box: fill-box;
  opacity: 0;
  animation: .3s cubic-bezier(.2, .9, .3, 1.15) forwards;
}
.intro__piece--left  { transform-origin: 100% 100%; animation-name: intro-left; animation-delay: 0s; }
.intro__piece--right { transform-origin: 0 100%; animation-name: intro-right; animation-delay: .06s; }
.intro__piece--tip   { transform-origin: 50% 0; animation-name: intro-tip; animation-delay: .15s; animation-duration: .28s; }
@keyframes intro-left  { from { opacity: 0; transform: translate(-70px, -60px) rotate(-35deg); } to { opacity: 1; transform: none; } }
@keyframes intro-right { from { opacity: 0; transform: translate(70px, -60px) rotate(35deg); } to { opacity: 1; transform: none; } }
@keyframes intro-tip   { from { opacity: 0; transform: translateY(46px) scale(.2); } to { opacity: 1; transform: none; } }

/* the light inside, which flickers on like a neon sign once the V is whole */
.intro__light { opacity: 0; filter: drop-shadow(0 0 3px #a6ff00) drop-shadow(0 0 14px rgba(29, 255, 106, .85)) drop-shadow(0 0 36px rgba(166, 255, 0, .55)); }
.intro__light path { stroke: url(#introGrad); }
.intro.is-lit .intro__light { animation: intro-neon .25s linear forwards; }
.intro.is-out .intro__mark { animation: intro-evaporate .4s cubic-bezier(.4, 0, .7, .2) forwards; }

@keyframes intro-neon {
  0%   { opacity: 0; }
  15%  { opacity: 1; }
  25%  { opacity: .2; }
  40%  { opacity: 1; }
  52%  { opacity: .5; }
  64%, 100% { opacity: 1; }
}
@keyframes intro-evaporate {
  0%   { filter: brightness(1) blur(0); transform: none; opacity: 1; }
  25%  { filter: brightness(1.7) blur(0); transform: scale(1.04); opacity: 1; }
  100% { filter: brightness(1.2) blur(18px); transform: translateY(-40px) scale(1.3); opacity: 0; }
}
@keyframes intro-failsafe { to { opacity: 0; visibility: hidden; } }

/* ============ HEADER ============ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, backdrop-filter .3s ease;
}
.header.is-scrolled {
  background: rgba(22, 22, 22, .82);
  backdrop-filter: blur(12px);
}

.header__inner {
  max-width: none;
  padding: 0 64px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .28em;
  line-height: 1;
}
.logo span { color: var(--lime); }

.nav {
  display: flex;
  gap: 40px;
  font-size: 14px;
  font-weight: 600;
}
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 24px; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 600;
}
.lang__btn svg { transition: transform .2s ease; }
.lang__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  background: rgba(31, 31, 31, .97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(166, 255, 0, .25);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  z-index: 10;
}
.lang__menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
.lang__menu li b { width: 22px; font-size: 12px; color: var(--muted); }
.lang__menu li:hover,
.lang__menu li:focus-visible { background: rgba(166, 255, 0, .1); }
.lang__menu li[aria-selected="true"] { color: var(--lime); }
.lang__menu li[aria-selected="true"] b { color: var(--lime); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ============ HERO ============ */
.hero { padding: 150px 0 120px; overflow-x: clip; }

/* three.js canvas (blob.js); the CSS blobs below are the fallback */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
/* hidden until blob.js reports that WebGL is unavailable, so they never flash in before the canvas */
.blob { display: none; }
.hero.no-webgl .blob { display: block; }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: none;
  padding: 0 clamp(24px, 9.5vw, 190px);
}

.hero__title {
  position: relative;
  z-index: 2;
  font-size: clamp(38px, 9.3vw, 184px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__title .accent { color: var(--lime); }

.hero__sub {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  font-size: clamp(14px, 1.15vw, 20px);
  font-weight: 500;
  letter-spacing: .02em;
}

/* --- liquid blobs --- */
.blob {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 24%, #c8ff9a 0%, #33ff33 22%, #10e010 55%, #057a05 100%);
  box-shadow:
    inset -30px -50px 90px rgba(0, 0, 0, .75),
    inset 20px 20px 60px rgba(200, 255, 160, .25),
    0 0 140px rgba(40, 255, 40, .22);
  animation: morph 14s ease-in-out infinite;
}
.blob::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 13% 9% at 30% 28%, #020 55%, transparent 60%),
    radial-gradient(ellipse 9% 14% at 55% 20%, #020 55%, transparent 60%),
    radial-gradient(ellipse 15% 10% at 68% 45%, #020 55%, transparent 60%),
    radial-gradient(ellipse 10% 13% at 38% 55%, #020 55%, transparent 60%),
    radial-gradient(ellipse 14% 9% at 60% 72%, #020 55%, transparent 60%),
    radial-gradient(ellipse 8% 8% at 25% 78%, #020 55%, transparent 60%),
    radial-gradient(ellipse 9% 12% at 80% 25%, #020 55%, transparent 60%);
  filter: blur(10px);
  animation: drift 18s ease-in-out infinite alternate;
}

.blob--big {
  top: -90px;
  right: clamp(-20px, 6vw, 180px);
  width: clamp(190px, 27vw, 540px);
  aspect-ratio: .74;
  border-radius: 46% 54% 58% 42% / 40% 44% 56% 60%;
  transform: rotate(-22deg);
}
.blob--small {
  top: 24%;
  left: 37%;
  width: clamp(80px, 11vw, 220px);
  aspect-ratio: 1.1;
  border-radius: 52% 48% 44% 56% / 55% 45% 55% 45%;
  animation-duration: 10s;
  animation-direction: reverse;
  opacity: .9;
}

@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 40% 44% 56% 60%; translate: 0 0; }
  33%      { border-radius: 56% 44% 46% 54% / 50% 56% 44% 50%; translate: 0 -14px; }
  66%      { border-radius: 42% 58% 52% 48% / 46% 40% 60% 54%; translate: 10px 8px; }
}
@keyframes drift {
  from { transform: translate(-6%, -4%) rotate(0deg) scale(1); }
  to   { transform: translate(6%, 5%) rotate(25deg) scale(1.12); }
}

/* ============ CLIENTS ============ */
.clients { padding: 50px 0 70px; text-align: center; }

.clients__headline {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}

/* words sliding under the headline; the list is printed twice so it can loop seamlessly */
.ticker {
  margin-top: 36px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker__item {
  padding: 0 24px;
  color: rgba(255, 255, 255, .6);
  /* a rounded face, a step below the headline (clamp(26px, 3.2vw, 44px)) */
  font-family: "Nunito", var(--font);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.ticker__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .3); flex-shrink: 0; }
@keyframes ticker { to { transform: translateX(-50%); } }


/* ============ WORK / CAROUSEL ============ */
.work { padding: 30px 0 64px; overflow: hidden; }
.work .container { position: relative; z-index: 2; }

/* drifting dots, linked by lines near the cursor (drawn by script.js) */
.dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.carousel { position: relative; z-index: 2; margin-top: 52px; }

.carousel__stage {
  position: relative;
  max-width: 2800px;
  height: 650px;
  margin: 0 auto;
  perspective: 1000px;
  transform-style: preserve-3d;
  overflow: hidden;
}
/* fade the outer cards into the background */
.carousel__stage::before,
.carousel__stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 10;
  pointer-events: none;
}
.carousel__stage::before { left: 0; background: linear-gradient(90deg, var(--bg) 0, rgba(22, 22, 22, .7) 50%, rgba(22, 22, 22, 0)); }
.carousel__stage::after { right: 0; background: linear-gradient(270deg, var(--bg) 0, rgba(22, 22, 22, .7) 50%, rgba(22, 22, 22, 0)); }

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 650px;
  display: flex;
  flex-direction: column;
  background: #1e1e1e;
  border: 1px solid rgba(166, 255, 0, .3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  transition: transform .5s ease-out, opacity .5s ease-out, box-shadow .3s ease;
  backface-visibility: hidden;
  will-change: transform, opacity;
  cursor: pointer;
  user-select: none;
}
.card:hover { box-shadow: 0 10px 30px -5px rgba(166, 255, 0, .2), 0 8px 15px -10px rgba(0, 255, 115, .15); }
.card.is-active { cursor: default; }

.card__thumb {
  position: relative;
  flex-shrink: 0;
  height: 320px;
  overflow: hidden;
  background: #0c0c0c;
}
.card__thumb::before {
  /* concentric rings */
  content: "";
  position: absolute;
  left: -18%;
  bottom: -70%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle,
    hsl(var(--h) 45% 38%) 0 14%,
    hsl(var(--h) 40% 30%) 14% 28%,
    hsl(var(--h) 38% 23%) 28% 42%,
    hsl(var(--h) 35% 17%) 42% 56%);
  transition: scale .4s ease-in-out;
}
.card__brand {
  position: absolute;
  top: 9%;
  left: 7%;
  max-width: 40%;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  z-index: 2;
}
.card__tiles {
  position: absolute;
  right: -12%;
  top: -22%;
  width: 68%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  transform: rotate(-18deg);
  transition: scale .4s ease-in-out;
}
/* image zoom on hover */
.card:hover .card__thumb::before,
.card:hover .card__tiles { scale: 1.05; }
.card__tiles i {
  aspect-ratio: 4 / 3;
  border-radius: 5px;
  background:
    linear-gradient(hsl(var(--h) 70% 55%), hsl(var(--h) 70% 55%)) 8% 12% / 34% 9% no-repeat,
    linear-gradient(#cfd4da, #cfd4da) 8% 34% / 84% 5% no-repeat,
    linear-gradient(#cfd4da, #cfd4da) 8% 46% / 62% 5% no-repeat,
    linear-gradient(hsl(var(--h) 55% 72%), hsl(var(--h) 55% 72%)) 8% 86% / 84% 30% no-repeat,
    #f4f5f7;
}
.card__tiles i:nth-child(3n + 2) {
  background:
    linear-gradient(#fff, #fff) 8% 14% / 40% 8% no-repeat,
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)) 8% 32% / 70% 5% no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 8% 84% / 84% 36% no-repeat,
    hsl(var(--h) 45% 26%);
}

.card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  text-align: left;
}
.card__title { margin-bottom: 8px; font-size: 24px; font-weight: 600; line-height: 1.3; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.card__tags span {
  padding: 4px 12px;
  border-radius: 16px;
  background: rgba(166, 255, 0, .1);
  color: var(--lime);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}
.card__desc {
  margin-bottom: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  color: rgba(255, 255, 255, .8);
  font-size: 16px;
}
.card__btn {
  display: block;
  width: 100%;
  margin-top: auto;
  padding: 16px 28px;
  border-radius: 8px;
  background: var(--grad);
  color: #171717;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  transition: opacity .2s ease-in-out, box-shadow .2s ease-in-out;
}
.card.is-active .card__btn { animation: btn-fade-in .8s ease-out .3s both; }
.card.is-active .card__btn:hover {
  opacity: .9;
  box-shadow: 0 15px 35px -10px rgba(166, 255, 0, .6), 0 10px 20px -15px rgba(0, 255, 115, .5);
}
@keyframes btn-fade-in { from { opacity: 0; } }

.carousel__nav {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.carousel__arrow {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  transition: opacity .2s ease;
}
.carousel__arrow svg { width: 30px; height: 30px; }
.carousel__arrow:hover { opacity: .7; }

.carousel__all { text-align: center; margin-top: 32px; position: relative; z-index: 5; }

@media (max-width: 1199px) {
  .carousel__stage { height: 580px; max-width: 95%; }
  .card { width: 450px; height: 500px; }
  .card__thumb { height: 170px; }
  .card__brand { font-size: 24px; }
  .card__body { gap: 8px; padding: 20px 24px 24px; }
  .card__title { margin-bottom: 0; font-size: 22px; }
  .card__tags { margin-bottom: 0; }
  .card__tags span { padding: 3px 10px; font-size: 12px; }
  .card__desc { margin-bottom: 8px; font-size: 15px; }
}

/* phones: a plain list of the first three projects */
@media (max-width: 767px) {
  .carousel { margin-top: 20px; }
  .carousel__stage {
    display: grid;
    gap: 32px;
    height: auto;
    max-width: 90%;
    perspective: none;
    transform-style: flat;
    overflow: visible;
  }
  .carousel__stage::before,
  .carousel__stage::after,
  .carousel__nav { display: none; }
  .card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .card:nth-child(n + 4) { display: none; }
  .card__thumb { height: 180px; }
  .card__brand { font-size: 22px; }
  .card__title { font-size: 22px; }
  .card__tags span { padding: 3px 10px; font-size: 12px; }
}
/* ============ CASE STUDY MODAL ============ */
.case {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  overflow-y: auto;
  background: #1e1e1e;
  color: var(--text);
  border: 1px solid rgba(166, 255, 0, .3);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.case::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); }
.case[open] { animation: case-in .35s ease-out; }
@keyframes case-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.case__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px -56px 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(22, 22, 22, .8);
  z-index: 3;
  transition: background .2s ease, color .2s ease;
}
.case__close:hover { background: var(--lime); color: #0c1a00; }
.case__hero { height: 220px; }
.case__body { padding: 28px clamp(20px, 5vw, 44px) 40px; text-align: left; }
.case__sector { color: var(--lime); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.case__title { margin: 4px 0 16px; font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.15; }
.case__body h3 { margin: 28px 0 8px; font-size: 18px; font-weight: 700; }
.case__body p { color: rgba(255, 255, 255, .82); }
.case__results { display: grid; gap: 10px; }
.case__results li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, .88);
}
.case__results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0Zm4 5.6-5.2 5.3L5 8.2 3.8 9.4l4 4 6.4-6.6L13 5.6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.case .btn { margin-top: 32px; }

/* ============ PROCESS ============ */
.process {
  padding: 150px 0 120px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(70, 255, 60, .2), transparent 70%),
    var(--bg);
}
.process::before {
  /* faint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}

.process__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: center;
}

.process__left {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.process__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(44px, 5vw, 80px);
  font-weight: 800;
  line-height: 1;
  color: #7a7a7a;
  white-space: nowrap;
}
.process__steps {
  display: grid;
  gap: 18px;
  text-align: center;
}
.process__steps li {
  font-size: clamp(40px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  background: var(--grad-steps);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  transition: transform .25s ease, filter .25s ease;
}
.process__steps li:hover { transform: scale(1.06); filter: brightness(1.25); }

.process__right h3 {
  font-size: 28px;
  font-weight: 500;
  margin: 30px 0 10px;
}
.process__right h3:first-child { margin-top: 0; }
.process__right p { font-size: 16px; color: #e3e3e3; line-height: 1.9; }
.process__right .btn { margin-top: 28px; }

/* ============ STATS ============ */
.stats { padding: 70px 0 90px; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(40px, 3.6vw, 60px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 17px; color: #e3e3e3; }

/* ============ CTA ============ */
.cta { padding: 80px 0 110px; text-align: center; }
.cta h2 {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.3;
}
.cta p { margin: 18px 0 30px; font-size: 16px; }

/* ============ FEEDBACK ============ */
.feedback { padding: 60px 0 140px; }

.testimonial {
  max-width: 800px;
  margin: 70px auto 0;
  padding: 40px clamp(24px, 6vw, 90px) 80px;
  background: var(--bg-card-2);
  border-radius: 8px;
  text-align: center;
}
.testimonial__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: #0c1a00;
  font-size: 30px;
  font-weight: 800;
}
.testimonial figcaption { font-size: 17px; font-weight: 700; margin-bottom: 28px; }
.testimonial blockquote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.85;
  color: #e3e3e3;
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  padding: 620px 0 120px;
  background: linear-gradient(180deg, var(--bg) 0%, #2f5c0a 14%, #7ed60a 34%, #a6ff00 60%, #a6ff00 100%);
  color: #1c2b00;
  overflow: hidden;
}
.footer__mark {
  position: absolute;
  top: 140px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  /* the tilted word is ~5.4em wide, so 17vw keeps it whole on every screen */
  font-size: min(17vw, 370px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  /* solid letters faded as a group, so the two halves of the T don't double up where they meet */
  color: rgb(200, 255, 90);
  opacity: .28;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* ---- animated wordmark ----
   Intro: the letters rise one by one, then the T's crossbar drops onto its stem.
   Loop (8s): V flicks A, A knocks N, N's landing launches the crossbar,
   which spins and lands back (U flinches), then M flicks the dot away and it rolls back.
   Intro uses `translate`/`rotate`/`scale`, the loop uses `transform`, so they never fight. */
.fm { display: inline-block; transform-origin: 50% 100%; }
.fm--t { position: relative; }
/* the T is two copies of the glyph: one clipped to the stem, one to the crossbar.
   The crossbar ends at ~30.9% of the em box; the split sits a little lower so no anti-aliased
   sliver of it stays on the stem when the bar flies off. The halves overlap slightly to avoid a seam. */
.fm-t__stem { display: inline-block; clip-path: inset(32.4% 0 0 0); transform-origin: 50% 86%; }
.fm-t__bar { position: absolute; top: 0; left: 0; clip-path: inset(0 0 67.4% 0); transform-origin: 50% 23%; }

.footer__mark.is-waiting .fm,
.footer__mark.is-waiting .fm-t__bar { opacity: 0; }

.footer__mark.is-live .fm { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) both; }
.footer__mark.is-live .fm--v { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) both, fm-v 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm--a { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) .08s both, fm-a 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm--n { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) .16s both, fm-n 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm--t { animation-delay: .24s; }
.footer__mark.is-live .fm--u { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) .32s both, fm-u 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm--m { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) .4s both, fm-m 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm--dot { animation: fm-in 1s cubic-bezier(.3, .7, .4, 1) .48s both, fm-dot 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm-t__bar { animation: fm-bar-in 1.2s ease-out .8s both, fm-bar 8s ease-in-out 2.6s infinite; }
.footer__mark.is-live .fm-t__stem { animation: fm-stem-land .5s ease-out 1.42s both, fm-stem 8s ease-in-out 2.6s infinite; }

@keyframes fm-in {
  from { opacity: 0; translate: 0 45%; }
  60%  { opacity: 1; translate: 0 -6%; }
  80%  { translate: 0 2%; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes fm-bar-in {
  from { opacity: 0; translate: 0 -170%; rotate: -30deg; }
  20%  { opacity: 1; }
  52%  { translate: 0 4%; rotate: 0deg; }
  68%  { translate: 0 -12%; rotate: 3deg; }
  82%  { translate: 0 0; rotate: 0deg; }
  91%  { translate: 0 -3%; }
  to   { opacity: 1; translate: 0 0; rotate: 0deg; }
}
@keyframes fm-stem-land {
  40% { scale: 1.06 .9; }
  70% { scale: .98 1.03; }
}

@keyframes fm-v {
  0%, 20%, 100% { transform: none; }
  4%  { transform: rotate(-10deg); }
  8%  { transform: rotate(12deg); }
  12% { transform: rotate(-4deg); }
  16% { transform: rotate(2deg); }
}
@keyframes fm-a {
  0%, 7%, 26%, 100% { transform: none; }
  10% { transform: translateX(4%) rotate(16deg); }
  14% { transform: rotate(-7deg); }
  18% { transform: rotate(3deg); }
  22% { transform: rotate(-1deg); }
}
@keyframes fm-n {
  0%, 10%, 24%, 100% { transform: none; }
  14% { transform: translateY(-22%) rotate(8deg); }
  18% { transform: scale(1.06, .92); }
  21% { transform: scale(.98, 1.03); }
}
@keyframes fm-bar {
  0%, 18% { transform: none; }
  24% { transform: translate(-4%, -45%) rotate(-150deg); }
  30% { transform: translate(2%, -52%) rotate(-300deg); }
  36% { transform: translate(0, 4%) rotate(-360deg); }
  40% { transform: translate(0, -8%) rotate(-360deg); }
  44%, 100% { transform: rotate(-360deg); }
}
@keyframes fm-stem {
  0%, 18%, 24%, 34%, 44%, 100% { transform: none; }
  20% { transform: scale(.98, 1.04); }
  37% { transform: scale(1.06, .9); }
  40% { transform: scale(.98, 1.03); }
}
@keyframes fm-u {
  0%, 37%, 48%, 100% { transform: none; }
  41% { transform: translateY(-14%) rotate(-6deg); }
  45% { transform: scale(1.05, .93); }
}
@keyframes fm-m {
  0%, 46%, 60%, 79%, 89%, 100% { transform: none; }
  50% { transform: rotate(-8deg); }
  53% { transform: rotate(10deg); }
  57% { transform: rotate(-3deg); }
  83% { transform: rotate(-5deg); }
  86% { transform: rotate(2deg); }
}
@keyframes fm-dot {
  0%, 53%, 88%, 100% { transform: none; }
  58% { transform: translate(45%, -45%); }
  63% { transform: translate(75%, 0); }
  67% { transform: translate(62%, -14%); }
  70% { transform: translate(68%, 0); }
  80% { transform: translate(-10%, 0); }
  84% { transform: translate(5%, 0); }
}

.footer__grid {
  position: relative;
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.footer__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.footer__col h4 { font-size: 30px; font-weight: 500; margin-bottom: 12px; color: #14200a; }
.footer__col a:not(.btn):hover { text-decoration: underline; }
.footer__col > span { max-width: 260px; }
.footer__col .btn { margin-top: 10px; }

.socials { display: flex; gap: 18px; color: #14200a; }
.socials a { transition: transform .2s ease; }
.socials a:hover { transform: translateY(-3px); }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .header__inner { padding: 0 24px; }
  .nav { gap: 22px; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 88px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 28px;
    background: rgba(22, 22, 22, .97);
    backdrop-filter: blur(12px);
    font-size: 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav a::after { display: none; }

  .hero { padding: 130px 0 70px; }
  .blob--big { top: -60px; opacity: .85; }


  .process { padding: 100px 0 80px; }
  .process__inner { grid-template-columns: 1fr; gap: 60px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid .stat:last-child { grid-column: 1 / -1; }

  .footer { padding-top: 380px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 56px 24px; }
}

@media (max-width: 560px) {
  .header__actions { gap: 8px; }
  .header__actions .btn { display: none; }
  .logo { font-size: 24px; }

  .process__left { gap: 20px; }
  .cta h2 br { display: none; }

  .footer { padding-top: 280px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col h4 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none !important; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
