/* ============================================================
   MakeLab — cinematic dark design system (sister of GlowLab)
   ============================================================ */

:root {
  /* Color tokens */
  --bg: #070d10;
  --bg-elev: #0c141a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef6f6;
  --text-muted: #9fb4b8;
  --text-faint: #64787d;

  --teal: #3ee6c4;
  --teal-deep: #14b8a6;
  --cyan: #38bdf8;
  --blue: #818cf8;
  --orange: #ff9a5c;

  --grad-glow: linear-gradient(100deg, var(--teal) 0%, var(--cyan) 55%, var(--blue) 100%);

  /* Type */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.25s;

  /* Z-scale */
  --z-nav: 100;
  --z-menu: 90;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }

::selection { background: rgba(62, 230, 196, 0.3); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ Ambient background ============ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient__blob {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.14;
  will-change: transform;
}

.ambient__blob--teal {
  background: radial-gradient(circle, var(--teal-deep), transparent 65%);
  top: -20vmax; right: -12vmax;
}

.ambient__blob--blue {
  background: radial-gradient(circle, #4f46e5, transparent 65%);
  bottom: -18vmax; left: -15vmax;
}

.ambient__blob--orange {
  background: radial-gradient(circle, #c2570e, transparent 65%);
  top: 45%; left: 55%;
  width: 38vmax; height: 38vmax;
  opacity: 0.09;
}

.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  min-height: 48px;
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  touch-action: manipulation;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--grad-glow);
  color: #06201b;
  box-shadow: 0 0 0 rgba(62, 230, 196, 0);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(56, 189, 248, 0.35);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn--lg { padding: 17px 36px; font-size: 16px; }
.btn--sm { padding: 10px 22px; min-height: 44px; font-size: 14px; }
.btn--block { width: 100%; }

.btn[disabled] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 13, 16, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.nav__logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

/* Wordmark: official SVG, with the MAKE letters overlaid in the brand gradient */
.nav__logo-mark {
  position: relative;
  display: inline-block;
  height: 20px;
  aspect-ratio: 181.25096 / 31.078709;
  background: url('../assets/makelab.svg?v=2') no-repeat center / contain;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.35));
}

.nav__logo-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-glow) no-repeat;
  background-size: 61.7% 100%; /* MAKE letters end at x=111.81 of the 181.25 viewBox */
  /* Mask contains only the MAKE letterforms, so the LAB badge is never tinted */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2213.45 129.456 181.251 31.079%22%3E%3Cpath d=%22m 103.9059,130.48111 h 1.5351 m -5.918226,29.47204 h -2.42558 m -52.71151,0 h -1.35756 m 80.943516,-23.88892 h -13.75255 l -1.22708,5.26469 h 12.76588 0.99749 l -1.29404,5.60119 h -1.0097 -12.76593 l -1.72189,7.44179 h 13.7555 0.0225 l -1.28947,5.58144 h -17.76223 l -2.555816,-4.49111 4.950636,-21.42881 3.85279,-3.55051 h 18.32315 z m -24.448566,23.88911 h -8.37203 l -6.63035,-11.9347 -3.06778,2.67194 -2.13755,9.26276 h -4.70396 l -1.10491,-7.94803 4.95781,-21.5224 h 7.63977 l -2.98862,12.98353 13.30027,-12.98353 h 9.025206 L 90.557274,144.1988 Z m -34.84235,-11.30133 -1.18751,-10.58879 -6.07621,10.58879 z m 8.90642,11.30133 h -7.65954 l -0.67292,-6.01677 h -10.84608 l -3.44381,6.01677 h -5.53807 l 1.50294,-6.50547 13.77283,-22.96496 h 8.78769 z m -29.20162,0 h -7.60017 l 4.45325,-19.2775 -8.09499,12.35027 h -5.2449 l -2.61258,-13.16175 -4.63132,20.08898 h -7.20435 l 6.80849,-29.47043 h 8.72832 l 3.22613,14.78467 10.01478,-14.78467 h 8.96584 z%22 fill=%22%23fff%22/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%2213.45 129.456 181.251 31.079%22%3E%3Cpath d=%22m 103.9059,130.48111 h 1.5351 m -5.918226,29.47204 h -2.42558 m -52.71151,0 h -1.35756 m 80.943516,-23.88892 h -13.75255 l -1.22708,5.26469 h 12.76588 0.99749 l -1.29404,5.60119 h -1.0097 -12.76593 l -1.72189,7.44179 h 13.7555 0.0225 l -1.28947,5.58144 h -17.76223 l -2.555816,-4.49111 4.950636,-21.42881 3.85279,-3.55051 h 18.32315 z m -24.448566,23.88911 h -8.37203 l -6.63035,-11.9347 -3.06778,2.67194 -2.13755,9.26276 h -4.70396 l -1.10491,-7.94803 4.95781,-21.5224 h 7.63977 l -2.98862,12.98353 13.30027,-12.98353 h 9.025206 L 90.557274,144.1988 Z m -34.84235,-11.30133 -1.18751,-10.58879 -6.07621,10.58879 z m 8.90642,11.30133 h -7.65954 l -0.67292,-6.01677 h -10.84608 l -3.44381,6.01677 h -5.53807 l 1.50294,-6.50547 13.77283,-22.96496 h 8.78769 z m -29.20162,0 h -7.60017 l 4.45325,-19.2775 -8.09499,12.35027 h -5.2449 l -2.61258,-13.16175 -4.63132,20.08898 h -7.20435 l 6.80849,-29.47043 h 8.72832 l 3.22613,14.78467 10.01478,-14.78467 h 8.96584 z%22 fill=%22%23fff%22/%3E%3C/svg%3E") no-repeat center / contain;
}

.nav__logo-mark--footer { height: 24px; }

.nav__logo-dot {
  width: 6px; height: 6px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px 2px rgba(255, 154, 92, 0.8);
  align-self: center;
  animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px 1px rgba(255, 154, 92, 0.6); }
  50% { box-shadow: 0 0 16px 4px rgba(255, 154, 92, 0.95); }
}

.nav__links {
  display: flex;
  gap: var(--space-4);
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 0;
  transition: color var(--dur) ease;
}

.nav__links a:hover { color: var(--text); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}

.lang-toggle__btn {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color var(--dur) ease, background-color var(--dur) ease;
}

.lang-toggle__btn.is-active {
  background: rgba(62, 230, 196, 0.14);
  color: var(--teal);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgba(7, 13, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.mobile-menu__links .btn { font-size: 17px; margin-top: var(--space-2); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-5);
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 24px 80px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(62, 230, 196, 0.3);
  background: rgba(62, 230, 196, 0.07);
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 0 var(--space-3);
}

.hero__title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.hero__title .word { display: inline-block; }
.hero__title .char { display: inline-block; will-change: transform, opacity; }

.hero__title .glow-word {
  background: var(--grad-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(56, 189, 248, 0.35));
}

.hero__sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-4);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.hero__stats {
  display: flex;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}

.hero__stat dt {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  background: var(--grad-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stat dd {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* Hero visual — live WebGL print scene */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.hero-3d {
  position: relative;
  width: 100%;
  height: clamp(360px, 52vh, 580px);
  will-change: transform;
}

.hero-3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-3d__hud {
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  pointer-events: none;
}

.hero-3d__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
}

.hero-3d__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px 1px rgba(62, 230, 196, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
}

/* Fallback wordmark when WebGL is unavailable */
.hero-3d__word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.4rem, 9vw, 7.6rem);
  letter-spacing: -0.03em;
  background-image:
    repeating-linear-gradient(to top, rgba(4, 10, 12, 0.45) 0 1.5px, transparent 1.5px 8px),
    var(--grad-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(62, 230, 196, 0.4)) drop-shadow(0 0 70px rgba(56, 189, 248, 0.28));
}

.hero__glow-floor {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.24), transparent 70%);
  filter: blur(18px);
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 60px;
  display: flex;
  justify-content: center;
}

.hero__scroll-line {
  width: 2px;
  height: 44px;
  border-radius: 2px;
  background: linear-gradient(to bottom, transparent, var(--teal), transparent);
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(10px); opacity: 1; }
}

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.015);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: max-content;
  will-change: transform;
}

.marquee__track span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  white-space: nowrap;
}

.marquee__track i {
  font-style: normal;
  color: var(--teal);
  opacity: 0.7;
  font-size: 10px;
}

/* ============ Sections ============ */
.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--space-8) 24px;
}

.section__head {
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.section__eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--grad-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-2);
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.section__sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
}

/* ============ Showcase ============ */
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.work-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elev);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
  cursor: pointer;
}

.work-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.work-card__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, var(--stage-glow, rgba(62,230,196,0.13)), transparent 75%),
    linear-gradient(165deg, #101a21 0%, #080f14 100%);
}

/* Subtle print-layer texture across every stage */
.work-card__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.work-card__stage--teal   { --stage-glow: rgba(62, 230, 196, 0.14); }
.work-card__stage--orange { --stage-glow: rgba(255, 154, 92, 0.14); }
.work-card__stage--cyan   { --stage-glow: rgba(56, 189, 248, 0.14); }
.work-card__stage--blue   { --stage-glow: rgba(129, 140, 248, 0.15); }
.work-card__stage--soft   { --stage-glow: rgba(238, 246, 246, 0.09); }

.wire-svg {
  width: clamp(90px, 40%, 130px);
  height: auto;
  transition: transform 0.35s var(--ease-out);
}

.wire-svg--teal {
  color: #d9fff5;
  filter: drop-shadow(0 0 4px rgba(196,255,239,0.9)) drop-shadow(0 0 14px rgba(62,230,196,0.8)) drop-shadow(0 0 38px rgba(20,184,166,0.5));
}

.wire-svg--orange {
  color: #ffe8d7;
  filter: drop-shadow(0 0 4px rgba(255,222,196,0.9)) drop-shadow(0 0 14px rgba(255,154,92,0.8)) drop-shadow(0 0 38px rgba(255,122,46,0.5));
}

.wire-svg--cyan {
  color: #e3f6ff;
  filter: drop-shadow(0 0 4px rgba(208,238,255,0.9)) drop-shadow(0 0 14px rgba(56,189,248,0.8)) drop-shadow(0 0 38px rgba(14,165,233,0.5));
}

.wire-svg--blue {
  color: #eceeff;
  filter: drop-shadow(0 0 4px rgba(221,224,255,0.9)) drop-shadow(0 0 14px rgba(129,140,248,0.8)) drop-shadow(0 0 38px rgba(99,102,241,0.5));
}

.wire-svg--soft {
  color: #f2fafa;
  filter: drop-shadow(0 0 4px rgba(242,250,250,0.8)) drop-shadow(0 0 14px rgba(178,222,222,0.6)) drop-shadow(0 0 34px rgba(178,222,222,0.4));
}

.work-card:hover .wire-svg { transform: scale(1.06); }

.work-card__meta {
  padding: var(--space-2) var(--space-3) var(--space-3);
  border-top: 1px solid var(--border);
}

.work-card__meta h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.work-card__meta p {
  font-size: 14px;
  color: var(--text-faint);
}

.showcase__note {
  margin-top: var(--space-5);
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
}

.showcase__note a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(62, 230, 196, 0.35);
  transition: border-color var(--dur) ease;
}

.showcase__note a:hover { border-bottom-color: var(--teal); }

/* ============ Features ============ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.feature {
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, background-color 0.35s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 230, 196, 0.3);
  background: var(--surface-hover);
}

.feature__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(62, 230, 196, 0.1);
  border: 1px solid rgba(62, 230, 196, 0.25);
  margin-bottom: var(--space-3);
}

.feature__icon svg {
  width: 24px; height: 24px;
  color: var(--teal);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ============ Process ============ */
.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 760px;
}

.process__steps::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--border);
}

.process__steps::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--cyan), var(--blue));
  transform-origin: top;
  transform: scaleY(var(--line-progress, 0));
}

.step {
  position: relative;
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) 0;
}

.step__num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
}

.step__num span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  background: var(--grad-glow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step__body h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0 8px;
}

.step__body p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 52ch;
}

.process__cta {
  margin-top: var(--space-6);
}

/* ============ Contact ============ */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-7);
  align-items: start;
}

.contact__channels {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.contact__channels li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact__channels svg {
  width: 20px; height: 20px;
  color: var(--teal);
  flex-shrink: 0;
}

.contact__channels a {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) ease;
  padding: 8px 0;
}

.contact__channels a:hover { border-bottom-color: var(--teal); }

.contact__form {
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: rgba(7, 13, 16, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  min-height: 48px;
  width: 100%;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.field textarea { resize: vertical; min-height: 110px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239fb4b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 230, 196, 0.16), 0 0 24px rgba(62, 230, 196, 0.1);
}

.field__error {
  display: none;
  font-size: 13px;
  color: #ff9a8c;
}

.field__hint {
  font-size: 13px;
  color: var(--text-faint);
}

.field.has-error input,
.field.has-error textarea {
  border-color: #ff6b5c;
}

.field.has-error .field__error { display: block; }
.field.has-error .field__hint { display: none; }

/* File input — styled to match the other fields */
.field__file {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  background: rgba(7, 13, 16, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  width: 100%;
  cursor: pointer;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.field__file::file-selector-button {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-hover);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 16px;
  margin-right: 12px;
  cursor: pointer;
  transition: background-color var(--dur) ease, border-color var(--dur) ease;
}

.field__file::file-selector-button:hover {
  background: rgba(62, 230, 196, 0.12);
  border-color: rgba(62, 230, 196, 0.4);
}

.field__file:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 230, 196, 0.16);
}

/* Honeypot — hidden from users, still submitted by bots */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__success,
.form__error {
  display: none;
  text-align: center;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.form__success {
  color: var(--teal);
  background: rgba(62, 230, 196, 0.08);
  border: 1px solid rgba(62, 230, 196, 0.25);
}

.form__error {
  color: #ff9a8c;
  background: rgba(255, 107, 92, 0.08);
  border: 1px solid rgba(255, 107, 92, 0.28);
}

.form__success.is-visible,
.form__error.is-visible { display: block; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-6) 24px;
  text-align: center;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.footer__tag {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 46ch;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-faint);
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color var(--dur) ease, border-color var(--dur) ease, background-color var(--dur) ease;
}

.footer__social:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
}

.footer__social svg { opacity: 0.85; }

/* ============ Loader ============ */
body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.loader__mark { height: 30px; }

.loader__bar {
  width: 180px;
  height: 2px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}

.loader__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--grad-glow);
  transform: scaleX(0);
  transform-origin: left;
}

.loader__pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--text-faint);
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  background: var(--grad-glow);
  transform: scaleX(0);
  transform-origin: left;
}

/* ============ Title word-mask reveal ============ */
.tmask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.tword {
  display: inline-block;
  will-change: transform;
}

/* ============ Responsive ============ */
@media (max-width: 1023px) {
  .showcase__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .section { padding: var(--space-7) 24px; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
    gap: var(--space-4);
  }

  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__stats { justify-content: center; gap: var(--space-4); }
  .hero__visual { min-height: 300px; }
  .hero-3d { height: clamp(320px, 44vh, 440px); }
  .section__head { margin-bottom: var(--space-5); }
}

@media (max-width: 560px) {
  .showcase__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; }
  .hero__title { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .step { gap: var(--space-2); }
  .step__num { width: 52px; height: 52px; }
  .process__steps::before, .process__steps::after { left: 25px; }
  .contact__form { padding: var(--space-3); }
  .section { padding: var(--space-6) 20px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
