/* ============================================================
   DEVMATE — Software & Product Studio
   Design tokens + global styles
   ============================================================ */

:root {
  /* Color — ink (dark) / paper (light), single electric accent */
  --ink:        oklch(0.17 0.018 264);
  --ink-1:      oklch(0.21 0.022 264);
  --ink-2:      oklch(0.27 0.024 264);
  --ink-line:   oklch(0.32 0.02 264);

  --paper:      oklch(0.985 0.004 95);
  --paper-1:    oklch(0.962 0.006 95);
  --paper-2:    oklch(0.93 0.008 95);
  --paper-line: oklch(0.88 0.008 95);

  --text-dark:  oklch(0.96 0.004 264);   /* text on ink */
  --text-mute-d:oklch(0.72 0.012 264);
  --text:       oklch(0.24 0.02 264);    /* text on paper */
  --text-mute:  oklch(0.50 0.015 264);

  --accent:     oklch(0.66 0.165 252);
  --accent-bri: oklch(0.74 0.155 252);
  --accent-dim: oklch(0.66 0.165 252 / 0.12);
  --accent-2:   oklch(0.74 0.14 168);    /* same L/C-ish, hue shift, used rarely */

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  9px;

  --shadow-sm:  0 1px 2px oklch(0.2 0.02 264 / 0.06), 0 2px 6px oklch(0.2 0.02 264 / 0.05);
  --shadow:     0 4px 12px oklch(0.2 0.02 264 / 0.07), 0 18px 40px oklch(0.2 0.02 264 / 0.08);
  --shadow-lg:  0 8px 24px oklch(0.2 0.02 264 / 0.10), 0 30px 70px oklch(0.2 0.02 264 / 0.14);

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

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

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1380px; margin: 0 auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--ink { background: var(--ink); color: var(--text-dark); }
.section--ink-1 { background: var(--ink-1); color: var(--text-dark); }
.section--paper-1 { background: var(--paper-1); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.section--ink .eyebrow, .section--ink-1 .eyebrow { color: var(--accent-bri); }

.h-display { font-size: clamp(2.6rem, 6.6vw, 5.2rem); }
.h-1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.h-2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.h-3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--text-mute); max-width: 42ch; }
.section--ink .lede, .section--ink-1 .lede { color: var(--text-mute-d); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h-1 { margin-top: 18px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: white; box-shadow: 0 4px 14px var(--accent-dim); }
.btn--primary:hover { background: var(--accent-bri); transform: translateY(-2px); box-shadow: 0 10px 26px var(--accent-dim); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--paper-line); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.section--ink .btn--ghost, .section--ink-1 .btn--ghost, .hero .btn--ghost { color: var(--text-dark); border-color: var(--ink-line); }
.section--ink .btn--ghost:hover, .section--ink-1 .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--text-dark); background: oklch(1 0 0 / 0.05); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 600; color: var(--accent);
  font-size: 0.98rem;
}
.text-link svg { transition: transform 0.3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav.is-stuck {
  background: oklch(0.17 0.018 264 / 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--ink-line);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text-dark); letter-spacing: -0.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-bri), var(--accent));
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  flex: none;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 45%, oklch(1 0 0 / 0.45) 50%, transparent 55%);
}
.brand__mark span { width: 11px; height: 11px; border: 2px solid white; border-radius: 3px; transform: rotate(45deg); position: relative; z-index: 1; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { color: var(--text-mute-d); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width 0.3s var(--ease); }
.nav__links a:hover { color: var(--text-dark); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__actions .btn { padding: 0.65em 1.25em; font-size: 0.92rem; }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--ink); color: var(--text-dark); position: relative; overflow: hidden; padding-top: 76px; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, black 30%, transparent 78%);
}
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -10%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, var(--accent) 0%, transparent 62%);
  opacity: 0.22; filter: blur(20px);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(72px, 13vw, 150px) clamp(60px, 9vw, 120px); }
.hero__pill {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.5em 0.95em 0.5em 0.6em;
  background: oklch(1 0 0 / 0.05); border: 1px solid var(--ink-line);
  border-radius: 999px; color: var(--text-mute-d);
}
.hero__pill b { color: var(--accent-bri); font-weight: 600; }
.hero__pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px oklch(0.74 0.14 168 / 0.18); }
.hero h1 { margin: 26px 0 0; max-width: 16ch; }
.hero h1 .accent { color: var(--accent-bri); }
.hero__sub { margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; color: var(--text-mute-d); max-width: 52ch; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stats { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 1px solid var(--ink-line); padding-top: 34px; }
.hero__stat .n { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; }
.hero__stat .n .accent { color: var(--accent-bri); }
.hero__stat .l { font-size: 0.86rem; color: var(--text-mute-d); margin-top: 4px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); padding-block: 0 clamp(44px, 6vw, 72px); position: relative; z-index: 1; }
.trust__label { text-align: center; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute-d); opacity: 0.7; }
.trust__row { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.trust__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text-dark); opacity: 0.5; letter-spacing: -0.01em; transition: opacity 0.3s; display: flex; align-items: center; gap: 8px; }
.trust__logo:hover { opacity: 0.9; }
.trust__logo .g { width: 16px; height: 16px; border-radius: 4px; background: currentColor; opacity: 0.8; }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: var(--radius-lg);
  padding: 32px 30px 30px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-dim); color: var(--accent); margin-bottom: 22px;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.svc:hover .svc__icon { transform: scale(1.06) rotate(-4deg); }
.svc__icon svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.3rem; }
.svc p { margin-top: 12px; color: var(--text-mute); font-size: 0.98rem; }
.svc__tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags span { font-family: var(--font-mono); font-size: 0.72rem; padding: 0.35em 0.7em; border-radius: 6px; background: var(--paper-1); border: 1px solid var(--paper-line); color: var(--text-mute); }

/* ============================================================
   PROCESS
   ============================================================ */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; margin-top: 20px; }
.step { padding: 30px 26px 30px 0; position: relative; border-top: 2px solid var(--ink-line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-bri);
  position: absolute; top: -2px; left: 0; padding-top: 14px;
}
.step__dot { position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--accent-bri); }
.step h3 { font-size: 1.25rem; margin-top: 40px; }
.step p { margin-top: 10px; color: var(--text-mute-d); font-size: 0.95rem; max-width: 26ch; }

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--paper);
  border: 1px solid var(--paper-line); display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.case:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case--feat { grid-column: span 2; }
.case__media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.case--feat .case__media { aspect-ratio: 21 / 7; }
.case__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 8px; }
.case__meta { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); }
.case__meta .sep { color: var(--paper-line); }
.case h3 { font-size: 1.5rem; margin-top: 4px; }
.case p { color: var(--text-mute); font-size: 0.98rem; }
.case__foot { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 18px; }
.case__metric { }
.case__metric b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text); display: block; }
.case__metric span { font-size: 0.8rem; color: var(--text-mute); }

/* ---------- Placeholder media ---------- */
.ph {
  position: absolute; inset: 0;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, oklch(0.86 0.01 264 / 0.55) 0 2px, transparent 2px 11px);
  display: grid; place-items: center;
}
.ph--ink { background-color: var(--ink-2); background-image: repeating-linear-gradient(135deg, oklch(1 0 0 / 0.05) 0 2px, transparent 2px 11px); }
.ph__tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--text-mute); background: var(--paper); padding: 0.45em 0.85em; border-radius: 7px; border: 1px solid var(--paper-line); box-shadow: var(--shadow-sm); }
.ph--ink .ph__tag { color: var(--text-mute-d); background: var(--ink-1); border-color: var(--ink-line); box-shadow: none; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { background: var(--ink-1); color: var(--text-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 40px); }
.stat { text-align: left; }
.stat__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.03em; }
.stat__n .accent { color: var(--accent-bri); }
.stat__l { margin-top: 12px; color: var(--text-mute-d); font-size: 0.98rem; max-width: 24ch; }
.stat__bar { margin-top: 18px; height: 2px; background: var(--ink-line); position: relative; overflow: hidden; }
.stat__bar::after { content: ""; position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1.2s var(--ease); }
.stat.in .stat__bar::after { width: var(--fill, 70%); }

/* ============================================================
   TECH STACK
   ============================================================ */
.stack__layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.stack__cats { display: flex; flex-direction: column; gap: 18px; }
.stack__cat { }
.stack__cat h4 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.stack__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.6em 1em; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--paper-line);
  font-size: 0.92rem; font-weight: 500; color: var(--text);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.chip .d { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.chip:nth-child(2n) .d { background: var(--accent-2); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.quote {
  background: var(--ink-1); border: 1px solid var(--ink-line); border-radius: var(--radius-lg);
  padding: 38px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
}
.quote--lead { background: linear-gradient(155deg, var(--ink-2), var(--ink-1)); }
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; color: var(--accent-bri); height: 30px; }
.quote p { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; color: var(--text-dark); }
.quote--lead p { font-size: clamp(1.3rem, 2.3vw, 1.9rem); }
.quote--sm p { font-size: 1.12rem; }
.quote__by { display: flex; align-items: center; gap: 13px; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink-2); border: 1px solid var(--ink-line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.82rem; color: var(--accent-bri); flex: none; overflow: hidden; }
.quote__av--photo { background: var(--ink-2); }
.quote__av--photo img { width: 100%; height: 100%; object-fit: cover; }
.quote__by .nm { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.quote__by .ro { font-size: 0.84rem; color: var(--text-mute-d); }
.quotes__col { display: flex; flex-direction: column; gap: 22px; }

/* ============================================================
   CTA / CONTACT
   ============================================================ */
.cta { position: relative; overflow: hidden; background: var(--ink); }
.cta__glow { position: absolute; z-index: 0; width: 70vw; height: 70vw; max-width: 700px; max-height: 700px; right: -10%; bottom: -40%; background: radial-gradient(circle, var(--accent) 0%, transparent 60%); opacity: 0.2; filter: blur(10px); pointer-events: none; }
.cta__layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cta h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); color: var(--text-dark); max-width: 14ch; }
.cta__sub { margin-top: 20px; color: var(--text-mute-d); font-size: 1.1rem; max-width: 40ch; }
.cta__list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 12px; color: var(--text-dark); list-style: none; font-size: 0.98rem; }
.cta__list .tick { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-dim); color: var(--accent-bri); display: grid; place-items: center; flex: none; }
.cta__list svg { width: 13px; height: 13px; }

.form { background: var(--ink-1); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute-d); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--text-dark);
  background: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius-sm);
  padding: 0.85em 1em; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.55 0.01 264); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { margin-top: 14px; text-align: center; font-size: 0.82rem; color: var(--text-mute-d); }
.form__error { display: none; margin-top: 14px; text-align: center; font-size: 0.86rem; color: oklch(0.72 0.16 25); }
.form__success { display: none; text-align: center; padding: 20px 0; }
.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields { display: none; }
.form__success .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-dim); color: var(--accent-bri); display: grid; place-items: center; margin: 0 auto 16px; }
.form__success h3 { color: var(--text-dark); font-size: 1.4rem; }
.form__success p { color: var(--text-mute-d); margin-top: 8px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--text-mute-d); padding-block: clamp(56px, 7vw, 84px) 36px; border-top: 1px solid var(--ink-line); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--ink-line); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { max-width: 30ch; font-size: 0.95rem; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ink-line); display: grid; place-items: center; color: var(--text-mute-d); transition: all 0.25s var(--ease); }
.footer__social a:hover { color: var(--text-dark); border-color: var(--accent); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h5 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 18px; font-weight: 500; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 0.94rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--text-dark); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 0.86rem; }
.footer__bottom .made { font-family: var(--font-mono); font-size: 0.8rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .stack__layout { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .cta__layout { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 720px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; background: oklch(0.17 0.018 264 / 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--ink-line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    display: flex;
  }
  .nav.is-open .nav__menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav__menu a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 1.05rem; }
  .nav__menu a::after { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .step { border-top: none; border-left: 2px solid var(--ink-line); padding: 4px 0 30px 26px; }
  .step::before { top: 0; left: 26px; padding-top: 0; }
  .step__dot { top: 4px; left: -7px; }
  .step h3 { margin-top: 26px; }
  .stats__grid { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr; }
  .case--feat { grid-column: span 1; }
  .case--feat .case__media { aspect-ratio: 16 / 9; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}
