/* ============================================================
   INPERACO — design system & effects
   Dark, cinematic, motion-heavy. No dependencies.
   ============================================================ */

:root {
  --bg: #05070c;
  --bg-raised: #0a0e17;
  --ink: #eef1f6;
  --muted: #8b93a7;
  --line: rgba(238, 241, 246, 0.08);
  --accent-1: #53e0c4;
  --accent-2: #7c6cff;
  --accent-grad: linear-gradient(100deg, var(--accent-1), var(--accent-2));
  --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 76px;
  --radius: 18px;
}

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

/* wheel/touch scrolling is fully native; smooth applies only to anchor jumps */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
}

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

body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
body.menu-open { overflow: hidden; }

::selection { background: rgba(83, 224, 196, 0.25); color: var(--ink); }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}
.container--narrow { width: min(880px, 92vw); }

.section { padding: clamp(90px, 12vh, 160px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vh, 100px) 0; }

/* ---------------- eyebrow / section heads ---------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 12px rgba(83, 224, 196, 0.8);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.section__head { margin-bottom: clamp(46px, 7vh, 80px); }
.section__title {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

/* split-line reveal (data-split) */
.split-line { display: block; overflow: hidden; }
.split-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease-out);
}
.split-line.is-in > span { transform: translateY(0); }

/* generic reveal (data-reveal) */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ---------------- preloader ---------------- */

.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}
.preloader.is-done { transform: translateY(-100%); opacity: 0.4; pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__logo {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: 0.34em;
  margin-bottom: 30px;
  padding-left: 0.34em; /* optically balance tracking */
}
.preloader__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) rotate(6deg);
  animation: letter-in 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--li, 0) * 60ms);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@keyframes letter-in {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.preloader__bar {
  width: min(260px, 60vw); height: 2px;
  background: var(--line);
  margin: 0 auto 14px;
  border-radius: 2px; overflow: hidden;
}
.preloader__bar-fill {
  display: block; height: 100%; width: 0%;
  background: var(--accent-grad);
  transition: width 0.2s linear;
}
.preloader__count {
  font-size: 12px; letter-spacing: 0.2em; color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------------- cursor ---------------- */

.cursor, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 150;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
}
.has-cursor .cursor, .has-cursor .cursor-ring { opacity: 1; }
.cursor {
  width: 8px; height: 8px;
  background: var(--accent-1);
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(238, 241, 246, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
}
.cursor-ring.is-active {
  width: 64px; height: 64px;
  border-color: rgba(83, 224, 196, 0.9);
  background: rgba(83, 224, 196, 0.08);
}

/* ---------------- grain + aurora ---------------- */

.grain {
  position: fixed; inset: -50%; z-index: 120;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute;
  width: 55vmax; height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  will-change: transform;
}
.aurora__blob--a {
  background: radial-gradient(circle, #1a6f63 0%, transparent 60%);
  top: -20vmax; left: -12vmax;
  animation: drift-a 26s ease-in-out infinite alternate;
}
.aurora__blob--b {
  background: radial-gradient(circle, #33308f 0%, transparent 60%);
  bottom: -25vmax; right: -15vmax;
  animation: drift-b 32s ease-in-out infinite alternate;
}
.aurora__blob--c {
  background: radial-gradient(circle, #0f4c5c 0%, transparent 60%);
  top: 40%; left: 30%;
  animation: drift-c 38s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(14vmax, 10vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-12vmax, -8vmax) scale(0.9); } }
@keyframes drift-c { to { transform: translate(-10vmax, 8vmax) scale(1.2); } }

main, .footer { position: relative; z-index: 1; }

/* ---------------- nav ---------------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 34px;
  padding-inline: clamp(18px, 4vw, 48px);
  background: rgba(5, 7, 12, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), background 0.4s ease;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 11px; }
.nav__mark { width: 26px; height: 26px; }
.nav__wordmark { font-weight: 800; letter-spacing: 0.28em; font-size: 14px; }
.nav__links {
  display: flex; gap: 30px;
  margin-left: auto;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
}
.nav__links a {
  position: relative;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
  font-variant-numeric: tabular-nums;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1.5px;
  background: var(--accent-grad);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1); transform-origin: left;
}
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: auto;
  position: relative; z-index: 111;
  cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 8px; right: 8px;
  height: 2px; background: var(--ink);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 23px; }
.nav__burger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 105;
  background: rgba(5, 7, 12, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 40px;
  clip-path: circle(0% at calc(100% - 38px) 38px);
  transition: clip-path 0.7s var(--ease-out);
  visibility: hidden;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 38px) 38px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.menu__links a {
  font-size: clamp(32px, 9vw, 48px);
  font-weight: 700; letter-spacing: -0.02em;
  padding: 6px 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--i) * 60ms + 200ms);
}
.menu.is-open .menu__links a { opacity: 1; transform: translateY(0); }
.menu__links a:hover { color: var(--accent-1); }
.menu__foot { color: var(--muted); font-size: 14px; letter-spacing: 0.08em; }

/* ---------------- buttons ---------------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn span { position: relative; z-index: 2; }
.btn--primary {
  color: #04110d;
  background: var(--accent-grad);
  box-shadow: 0 8px 30px rgba(83, 224, 196, 0.25);
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, #8ff0dd, #a99dff);
  opacity: 0; transition: opacity 0.35s ease;
}
.btn--primary:hover { box-shadow: 0 12px 44px rgba(124, 108, 255, 0.4); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(238, 241, 246, 0.22);
  background: rgba(238, 241, 246, 0.03);
}
.btn--ghost:hover { border-color: rgba(83, 224, 196, 0.7); }
.btn--small { padding: 11px 22px; font-size: 13.5px; }
.btn--big { padding: 22px 46px; font-size: clamp(16px, 2.4vw, 20px); }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 45%, transparent 30%, rgba(5, 7, 12, 0.72) 100%),
    linear-gradient(to bottom, rgba(5, 7, 12, 0.25), transparent 30%, transparent 70%, var(--bg) 100%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title {
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 34px;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line .w {
  display: inline-block;
  transform: translateY(115%) rotate(3deg);
  transition: transform 1.1s var(--ease-out);
}
.hero.is-ready .hero__line .w { transform: translateY(0) rotate(0); }
.hero.is-ready .hero__line:nth-child(1) .w:nth-child(1) { transition-delay: 0.05s; }
.hero.is-ready .hero__line:nth-child(1) .w:nth-child(2) { transition-delay: 0.14s; }
.hero.is-ready .hero__line:nth-child(2) .w { transition-delay: 0.26s; }
.hero__accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  margin-bottom: 42px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted);
  z-index: 2;
}
.hero__scroll-label { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; }
.hero__scroll-line {
  width: 1.5px; height: 46px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  overflow: hidden; position: relative;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--accent-grad);
  animation: scroll-hint 2s var(--ease-out) infinite;
}
@keyframes scroll-hint { to { top: 100%; } }

/* ---------------- marquee ---------------- */

.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(10, 14, 23, 0.5);
  position: relative; z-index: 2;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; gap: 38px;
  padding-right: 38px;
  white-space: nowrap;
}
.marquee__group span {
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.marquee__group i {
  font-style: normal; font-size: 11px;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- manifesto ---------------- */

.manifesto__text {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}
.manifesto__text .mw {
  color: rgba(238, 241, 246, 0.16);
  transition: color 0.35s ease;
}
.manifesto__text .mw.is-lit { color: var(--ink); }
.manifesto__text .mw.is-lit.mw--key {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- cards (shared) ---------------- */

.card {
  position: relative;
  background: linear-gradient(160deg, rgba(238, 241, 246, 0.05), rgba(238, 241, 246, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.card__glare {
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(83, 224, 196, 0.14), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover .card__glare { opacity: 1; }

/* ---------------- services ---------------- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.service {
  padding: clamp(28px, 3.4vw, 44px);
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.4s ease;
}
.service:hover { border-color: rgba(83, 224, 196, 0.35); }
.service__num {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.service__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 14px 0 12px;
}
.service__desc { color: var(--muted); margin-bottom: 22px; }
.service__list { display: grid; gap: 9px; }
.service__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: rgba(238, 241, 246, 0.82);
}
.service__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 10px; height: 1.5px;
  background: var(--accent-grad);
}

/* ---------------- domains ---------------- */

.domains { border-top: 1px solid var(--line); }
.domain {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.4s var(--ease-out);
}
.domain::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(83, 224, 196, 0.07), transparent 60%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.domain:hover { padding-left: 26px; }
.domain:hover::before { transform: scaleX(1); }
.domain__idx {
  font-size: 13px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  transition: color 0.3s, border-color 0.3s;
  position: relative;
}
.domain:hover .domain__idx { color: var(--accent-1); border-color: rgba(83, 224, 196, 0.5); }
.domain__name {
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 650; letter-spacing: -0.02em;
  position: relative;
}
.domain__tags {
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  position: relative;
}

/* ---------------- engagement stack ---------------- */

.stack { display: grid; gap: 26px; }
.stack__card {
  position: sticky;
  top: calc(var(--nav-h) + 22px);
  padding: clamp(30px, 4vw, 52px);
  background: linear-gradient(160deg, #0d1220, #080b13);
  transition: box-shadow 0.4s ease;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45);
  will-change: transform;
}
.stack__card:nth-child(2) { top: calc(var(--nav-h) + 44px); }
.stack__card:nth-child(3) { top: calc(var(--nav-h) + 66px); }
.stack__card:nth-child(4) { top: calc(var(--nav-h) + 88px); }
.stack__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.stack__num {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800; letter-spacing: -0.02em;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.stack__dur {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px;
  white-space: nowrap;
}
.stack__title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700; letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.stack__desc { color: var(--muted); max-width: 720px; margin-bottom: 26px; }
.stack__points { display: flex; flex-wrap: wrap; gap: 10px; }
.stack__points li {
  font-size: 13.5px; font-weight: 500;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(238, 241, 246, 0.85);
  background: rgba(238, 241, 246, 0.03);
}

/* ---------------- stats ---------------- */

.stats {
  border-block: 1px solid var(--line);
  background: rgba(10, 14, 23, 0.5);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { text-align: left; }
.stat__value {
  display: block;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat__label { color: var(--muted); font-size: 14.5px; }

/* ---------------- process ---------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process__step {
  padding: 28px 24px 30px;
  border-top: 1px solid var(--line);
  position: relative;
}
.process__step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent-grad);
  transition: width 0.8s var(--ease-out) 0.2s;
}
.process__step.is-in::before { width: 100%; }
.process__num {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--muted);
}
.process__step h3 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.process__step p { color: var(--muted); font-size: 15px; }

/* ---------------- contact ---------------- */

.contact { text-align: center; }
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__title {
  font-size: clamp(56px, 11vw, 150px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 26px;
}
/* gradient must live on the transformed inner span — background-clip:text on an
   ancestor doesn't paint through transformed children in Chromium */
.contact__title .split-line > span,
.contact__title > span:not(.split-line) {
  background: linear-gradient(100deg, var(--ink) 30%, var(--accent-1) 60%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact__sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 44px;
}

/* ---------------- footer ---------------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 40px;
  background: rgba(5, 7, 12, 0.8);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px 60px;
  align-items: start;
}
.footer__wordmark { font-weight: 800; letter-spacing: 0.28em; font-size: 15px; }
.footer__tag { color: var(--muted); font-size: 14px; margin-top: 10px; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 22px;
  font-size: 14px; color: var(--muted);
}
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--accent-1); }
.footer__meta {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------------- responsive ---------------- */

@media (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .domain { grid-template-columns: 44px 1fr; }
  .domain__tags { grid-column: 2; }
  .domain__idx { width: 30px; height: 30px; }
  .stack__card { position: static; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
}

/* ---------------- reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal], .split-line > span, .hero__line .w { opacity: 1; transform: none; }
  .manifesto__text .mw { color: var(--ink); }
  html { scroll-behavior: auto; }
}
