/* ============================================================
   Devmind — Landing Page
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color: deep navy + violet/blue tech palette */
  --bg:           #07091A;
  --bg-2:         #0B0E26;
  --bg-3:         #11163A;
  --surface:      #0F1330;
  --surface-2:    #161B40;
  --line:         #1E2452;
  --line-2:       #2A3170;

  --ink:          #ECEEFF;
  --ink-2:        #A6ABD9;
  --ink-3:        #6C72A6;
  --ink-4:        #3F4477;

  --accent:       #7B5BFF;     /* electric violet */
  --accent-2:     #4D8EFF;     /* electric blue */
  --accent-3:     #B847FF;     /* deep purple */
  --accent-soft:  #B8A4FF;
  --accent-deep:  #2B1F66;

  --grad: linear-gradient(135deg, #4D8EFF 0%, #7B5BFF 50%, #B847FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(77,142,255,.18) 0%, rgba(184,71,255,.18) 100%);

  /* Type */
  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body:    "Manrope", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- Base ---------- */
body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Atmosphere / Background ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.atmosphere .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
}

.orb--violet {
  width: 760px; height: 760px;
  top: -260px; right: -260px;
  background: radial-gradient(circle, #7B5BFF 0%, transparent 65%);
  animation: floatA 22s ease-in-out infinite;
}
.orb--blue {
  width: 640px; height: 640px;
  bottom: -200px; left: -240px;
  background: radial-gradient(circle, #4D8EFF 0%, transparent 65%);
  animation: floatB 28s ease-in-out infinite;
}

@keyframes floatA {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-40px, 60px) scale(1.05); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px, -40px) scale(1.08); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(123, 91, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 91, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: .8;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.85 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 200;
  background: rgba(123, 91, 255, 0.08);
}
.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--grad);
  transition: width .15s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.1rem var(--gutter);
  background: rgba(7, 9, 26, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(123, 91, 255, 0.08);
  transition: padding .3s var(--ease), background .3s var(--ease);
}

.site-header.is-scrolled {
  padding: .75rem var(--gutter);
  background: rgba(7, 9, 26, 0.85);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo__mark {
  display: inline-block;
  width: 36px;
  height: 26px;
  flex: 0 0 auto;
  background: var(--grad);
  -webkit-mask: url("assets/logo-icon@8x.png") no-repeat left center / contain;
          mask: url("assets/logo-icon@8x.png") no-repeat left center / contain;
}
.logo__word { display: inline-flex; align-items: baseline; }
.logo__word i {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 1px;
}
.logo--lg { font-size: 1.5rem; }
.logo--lg .logo__mark { width: 46px; height: 34px; }

/* Nav */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  font-size: .92rem;
  color: var(--ink-2);
}
.site-nav a {
  position: relative;
  padding: .35rem 0;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--grad);
  transition: width .3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .9rem;
  --pad-x: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: .95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.btn--sm { --pad-y: .55rem; --pad-x: 1rem; font-size: .82rem; }
.btn--lg { --pad-y: 1.1rem; --pad-x: 1.9rem; font-size: 1.05rem; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 200% 200%;
  background-position: 0% 0%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 12px 30px -10px rgba(123, 91, 255, 0.6),
    0 0 60px -20px rgba(184, 71, 255, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background-position: 100% 100%;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 16px 40px -10px rgba(123, 91, 255, 0.7),
    0 0 80px -20px rgba(184, 71, 255, 0.6);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(123, 91, 255, 0.04);
  border-color: rgba(123, 91, 255, 0.22);
}
.btn--ghost:hover {
  background: rgba(123, 91, 255, 0.10);
  border-color: rgba(123, 91, 255, 0.45);
  transform: translateY(-2px);
}

.header-cta { gap: .5rem; }
.header-cta .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Kicker ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.kicker__line {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ---------- Section heads ---------- */
.section-head { margin-bottom: 4rem; max-width: 920px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  max-width: none;
}
@media (max-width: 880px) {
  .section-head--split { grid-template-columns: 1fr; gap: 1.5rem; }
}

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.section-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-lede {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.6;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(4rem, 10vh, 7rem);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__aside { display: none; }
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2.6rem, 7.4vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0 0 1.75rem;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-soft);
}
.hero__title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

.meta-item .meta-num {
  display: block;
  font-family: var(--f-display);
  font-variation-settings: "opsz" 32;
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: .55rem;
}
.meta-item .meta-lbl {
  display: block;
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Hero aside / node graph */
.hero__aside {
  position: relative;
  display: grid;
  place-items: center;
}
.node-graph {
  width: min(100%, 460px);
  aspect-ratio: 320 / 420;
  position: relative;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(123, 91, 255, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(20, 23, 60, 0.6), rgba(11, 14, 38, 0.4));
  backdrop-filter: blur(6px);
  overflow: hidden;
  box-shadow:
    0 30px 90px -40px rgba(123, 91, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.node-graph::before {
  content: "active · 4 fluxos";
  position: absolute;
  top: 1rem; left: 1.25rem;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.node-graph::after {
  content: "";
  position: absolute;
  top: 1.05rem; left: 1.25rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 12px #4ADE80;
  transform: translateX(-12px);
}
.node-graph svg { width: 100%; height: 100%; }

.node-label {
  font-family: var(--f-mono);
  font-size: 9px;
  fill: var(--ink);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.node-label--center { font-size: 10px; }
.node-label-sub {
  font-family: var(--f-mono);
  font-size: 8px;
  fill: var(--ink-3);
  letter-spacing: 0.08em;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 14, 38, 0.4);
  overflow: hidden;
  padding: 1.4rem 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 48;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee__group .dot-sep {
  font-size: .6em;
  color: var(--accent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vh, 9rem) 0;
}
.manifesto__text {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 72;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 28ch;
}
.manifesto__text .hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.manifesto__text em {
  font-style: italic;
  color: var(--ink-2);
  font-weight: 300;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vh, 7rem) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 720px) {
  .services__grid { grid-template-columns: 1fr; }
}

.svc-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: rgba(15, 19, 48, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background .4s var(--ease), transform .4s var(--ease);
  overflow: hidden;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.svc-card:hover { background: rgba(22, 27, 64, 0.85); }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }

.svc-card__num {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
  margin-bottom: .25rem;
}
.svc-card__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 64;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.svc-card__text {
  color: var(--ink-2);
  max-width: 38ch;
  font-size: .98rem;
}
.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1.5rem;
}
.svc-card__tags li {
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: .3rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vh, 7rem) 0;
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .industries__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .industries__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px)  { .industries__grid { grid-template-columns: 1fr; } }

.ind-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: rgba(15, 19, 48, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.ind-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(22, 27, 64, 0.85);
}
.ind-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(123, 91, 255, 0.1);
  border: 1px solid rgba(123, 91, 255, 0.22);
  color: var(--accent-soft);
  margin-bottom: .35rem;
}
.ind-card__icon svg { width: 22px; height: 22px; }
.ind-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 32;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ind-card p {
  font-size: .9rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.ind-card__hint {
  display: block;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-2);
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ============================================================
   CASES
   ============================================================ */
.cases {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 10vh, 8rem) 0;
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cases__grid { grid-template-columns: 1fr; } }

.case-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(20, 23, 60, 0.85), rgba(11, 14, 38, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-height: 280px;
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(123, 91, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.case-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 91, 255, 0.5);
  box-shadow: 0 30px 80px -30px rgba(123, 91, 255, 0.4);
}
.case-card:hover::before, .case-card:hover::after { opacity: 1; }
.case-card > * { position: relative; z-index: 1; }

.case-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.case-card__num {
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}
.case-card__chip {
  font-family: var(--f-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--accent-soft);
  background: rgba(123, 91, 255, 0.08);
}
.case-card h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 48;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.case-card p {
  font-size: .92rem;
  color: var(--ink-2);
  line-height: 1.55;
  flex-grow: 1;
}
.case-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: .25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-2);
}
.case-card__metric {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.case-card__metric b {
  font-weight: 500;
  color: var(--ink);
  margin-right: .15rem;
}
.case-card__tag {
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  padding: .26rem .55rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  background: rgba(123, 91, 255, 0.04);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 10vh, 8rem) 0;
}
.process__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left .5s var(--ease);
}
.step:hover { padding-left: 1rem; }
@media (max-width: 720px) {
  .step { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
}
.step__num {
  font-family: var(--f-mono);
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: var(--accent-soft);
  padding-top: .35rem;
  position: relative;
}
.step__num::before {
  content: "";
  position: absolute;
  top: 50%; right: 0;
  width: 30px; height: 1px;
  background: var(--grad);
  transform: translateX(0);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.step:hover .step__num::before {
  opacity: 1;
  transform: translateX(20px);
}
.step__body h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 64;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: .65rem;
}
.step__body p {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: .75rem;
}
.step__time {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  padding: .3rem .7rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vh, 7rem) 0;
}
.cta__card {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid rgba(123, 91, 255, 0.35);
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 80% 0%, rgba(184, 71, 255, 0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(77, 142, 255, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(20, 23, 60, 0.75), rgba(11, 14, 38, 0.6));
  overflow: hidden;
  box-shadow: 0 40px 120px -50px rgba(123, 91, 255, 0.5);
}
.cta__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad);
}
.cta__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.cta__title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta__lede {
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--ink-2);
  margin-bottom: 2.25rem;
  line-height: 1.55;
}
.cta__actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.cta__phone {
  font-family: var(--f-mono);
  font-size: .95rem;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: .15rem;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.cta__phone:hover { color: var(--ink); border-color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vh, 5rem) 0 2rem;
  margin-top: 2rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) {
  .site-footer__top { grid-template-columns: 1fr; }
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 680px) { .site-footer__cols { grid-template-columns: 1fr; } }

.site-footer__cols h4 {
  font-family: var(--f-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 1rem;
  font-weight: 400;
}
.site-footer__cols a, .site-footer__cols span {
  display: block;
  color: var(--ink-2);
  font-size: .98rem;
  margin-bottom: .55rem;
  transition: color .2s var(--ease);
}
.site-footer__cols a:hover { color: var(--ink); }

.site-footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  text-align: center;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
/* Hide reveal elements only when JS is ready; no-JS fallback shows everything */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
html.js-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger */
[data-reveal-stagger] .reveal:nth-child(1) { transition-delay: .05s; }
[data-reveal-stagger] .reveal:nth-child(2) { transition-delay: .15s; }
[data-reveal-stagger] .reveal:nth-child(3) { transition-delay: .25s; }
[data-reveal-stagger] .reveal:nth-child(4) { transition-delay: .35s; }
[data-reveal-stagger] .reveal:nth-child(5) { transition-delay: .45s; }
[data-reveal-stagger] .hero__inner > .reveal:nth-child(1) { transition-delay: .05s; }
[data-reveal-stagger] .hero__inner > .reveal:nth-child(2) { transition-delay: .15s; }
[data-reveal-stagger] .hero__inner > .reveal:nth-child(3) { transition-delay: .25s; }
[data-reveal-stagger] .hero__inner > .reveal:nth-child(4) { transition-delay: .35s; }
[data-reveal-stagger] .hero__inner > .reveal:nth-child(5) { transition-delay: .45s; }

.hero .reveal:nth-of-type(1) { transition-delay: .05s; }
.hero .reveal:nth-of-type(2) { transition-delay: .15s; }
.hero .reveal:nth-of-type(3) { transition-delay: .28s; }
.hero .reveal:nth-of-type(4) { transition-delay: .40s; }
.hero .reveal:nth-of-type(5) { transition-delay: .50s; }
.hero__aside.reveal { transition-delay: .55s; }

/* Stagger services / industries / cases */
.services__grid .reveal:nth-child(1) { transition-delay: .05s; }
.services__grid .reveal:nth-child(2) { transition-delay: .15s; }
.services__grid .reveal:nth-child(3) { transition-delay: .25s; }
.services__grid .reveal:nth-child(4) { transition-delay: .35s; }

.industries__grid .reveal:nth-child(1) { transition-delay: .05s; }
.industries__grid .reveal:nth-child(2) { transition-delay: .12s; }
.industries__grid .reveal:nth-child(3) { transition-delay: .19s; }
.industries__grid .reveal:nth-child(4) { transition-delay: .26s; }
.industries__grid .reveal:nth-child(5) { transition-delay: .33s; }

.cases__grid .reveal:nth-child(1) { transition-delay: .04s; }
.cases__grid .reveal:nth-child(2) { transition-delay: .10s; }
.cases__grid .reveal:nth-child(3) { transition-delay: .16s; }
.cases__grid .reveal:nth-child(4) { transition-delay: .22s; }
.cases__grid .reveal:nth-child(5) { transition-delay: .28s; }
.cases__grid .reveal:nth-child(6) { transition-delay: .34s; }
.cases__grid .reveal:nth-child(7) { transition-delay: .40s; }
.cases__grid .reveal:nth-child(8) { transition-delay: .46s; }

.process .step.reveal:nth-child(1) { transition-delay: .05s; }
.process .step.reveal:nth-child(2) { transition-delay: .15s; }
.process .step.reveal:nth-child(3) { transition-delay: .25s; }
.process .step.reveal:nth-child(4) { transition-delay: .35s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 880px) {
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; gap: 1rem; }
}
