/* ===================================================================
   AIAlacrity — techno / cyber enterprise-AI site
   =================================================================== */

:root {
  --ink:        #04060c;
  --ink-2:      #070a14;
  --panel:      #0a0f1c;
  --line:       rgba(90, 220, 255, 0.14);
  --line-soft:  rgba(120, 200, 255, 0.08);
  --text:       #e6f0ff;
  --muted:      #93a6c4;
  --muted-2:    #5f708c;

  --cyan:       #22d3ee;
  --cyan-hi:    #5eeaff;
  --blue:       #4f7cff;
  --violet:     #a855f7;
  --magenta:    #e879f9;
  --green:      #43f5b0;
  --gold:       #e8b45c;
  --gold-hi:    #ffd98a;

  --glow-gold:  0 0 22px rgba(232, 180, 92, 0.5);

  --grad: linear-gradient(100deg, #5eeaff 0%, #4f7cff 48%, #c084fc 100%);
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,0.16), rgba(168,85,247,0.12));

  --glow-cyan: 0 0 24px rgba(34, 211, 238, 0.45);

  --wrap: 1160px;
  --r: 14px;

  --shadow: 0 30px 80px -28px rgba(0, 0, 0, 0.85);

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

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

/* deep space background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(1100px 700px at 12% -8%, rgba(34,211,238,0.16), transparent 58%),
    radial-gradient(1000px 760px at 92% 4%, rgba(168,85,247,0.14), transparent 55%),
    radial-gradient(1100px 900px at 50% 118%, rgba(79,124,255,0.14), transparent 60%),
    var(--ink);
}

/* neon grid */
.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(90, 220, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 220, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 55%, transparent 100%);
  animation: gridpan 40s linear infinite;
}
@keyframes gridpan { from { background-position: 0 0, 0 0; } to { background-position: 54px 54px, 54px 54px; } }

/* subtle scanlines */
.scanlines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
}

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.4;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

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

a { color: inherit; text-decoration: none; }
em { font-style: normal; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== Navigation ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 6, 12, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 0 14px rgba(232, 180, 92, 0.35));
  transition: filter .3s var(--ease), transform .3s var(--ease);
}
.brand:hover .brand-logo { filter: drop-shadow(0 0 20px rgba(232, 180, 92, 0.6)); transform: translateY(-1px); }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.2);
}
.brand-mark svg { fill: var(--cyan-hi); filter: drop-shadow(0 0 6px rgba(34,211,238,0.6)); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; letter-spacing: 0.01em; }
.brand-name em { color: var(--cyan-hi); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--muted); font-family: var(--font-mono); font-size: 0.83rem; font-weight: 500; letter-spacing: 0.01em; transition: color .25s, text-shadow .25s; }
.nav-links a:hover { color: var(--cyan-hi); text-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
.nav-cta {
  color: var(--cyan-hi) !important;
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 9px 18px; border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.nav-cta:hover { border-color: var(--cyan); background: rgba(34, 211, 238, 0.14); transform: translateY(-1px); box-shadow: var(--glow-cyan); text-shadow: none !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cyan-hi); margin: 4px auto; border-radius: 2px; transition: .3s; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
  padding: 14px 26px; border-radius: 9px;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s;
  will-change: transform;
}
.btn-primary {
  color: #04121a;
  background: var(--grad);
  box-shadow: 0 0 0 1px rgba(94, 234, 255, 0.4), 0 10px 34px -8px rgba(34, 211, 238, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(94, 234, 255, 0.6), 0 16px 48px -10px rgba(34, 211, 238, 0.9); }
.btn-ghost {
  color: var(--cyan-hi); border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.04);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(34, 211, 238, 0.1); box-shadow: var(--glow-cyan); }

/* ===================== Hero ===================== */
.hero { position: relative; padding: 180px 0 96px; overflow: hidden; }
.hero-aura {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 900px; }

.eyebrow {
  display: inline-block; margin-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cyan-hi); font-weight: 500;
  padding: 8px 16px; border: 1px solid rgba(34, 211, 238, 0.3); border-radius: 7px;
  background: rgba(34, 211, 238, 0.05);
  box-shadow: inset 0 0 18px rgba(34, 211, 238, 0.08);
}
.eyebrow::before { content: "> "; color: var(--gold-hi); text-shadow: 0 0 10px rgba(232, 180, 92, 0.6); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.04; letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero h1 .grad { text-shadow: 0 0 44px rgba(79, 124, 255, 0.35); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.26rem); color: var(--muted); max-width: 660px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  margin-top: 76px; padding-top: 44px; border-top: 1px solid var(--line-soft);
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2.9rem; font-weight: 600; color: var(--text); }
.stat-suf { font-family: var(--font-display); font-size: 1.7rem; color: var(--cyan-hi); text-shadow: 0 0 18px rgba(34, 211, 238, 0.5); }
.stat:nth-child(3) .stat-suf { color: var(--gold-hi); text-shadow: var(--glow-gold); }
.stat p { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted-2); margin-top: 6px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ===================== Strip ===================== */
.strip { border-block: 1px solid var(--line-soft); background: rgba(34, 211, 238, 0.015); }
.strip-inner {
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  padding: 20px 28px; color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.strip-inner span[aria-hidden] { color: var(--cyan); }

/* ===================== Sections ===================== */
.section { padding: 118px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 62px; }
.kicker {
  display: inline-block; margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cyan-hi); font-weight: 500;
}
.kicker::before { content: "// "; color: var(--violet); }
.section h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.05rem); line-height: 1.1; letter-spacing: -0.02em;
}
.section h2 em { color: var(--cyan-hi); }
.section-sub { margin-top: 20px; color: var(--muted); font-size: 1.08rem; }
.section-sub em { color: var(--text); font-style: normal; font-weight: 500; }

/* ===================== Duo cards ===================== */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.duo-card {
  position: relative; padding: 40px; border-radius: var(--r);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.04), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
  overflow: hidden;
}
.duo-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r);
  padding: 1px; background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .4s;
}
.duo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.duo-card:hover::after { opacity: 0.7; }
.duo-icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 24px;
  box-shadow: inset 0 0 16px rgba(34, 211, 238, 0.15);
}
.duo-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan-hi); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(34,211,238,0.5)); }
.duo-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.44rem; margin-bottom: 14px; letter-spacing: -0.01em; }
.duo-card p { color: var(--muted); margin-bottom: 22px; }

.link-arrow { color: var(--cyan-hi); font-family: var(--font-mono); font-weight: 500; font-size: 0.86rem; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover { text-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
.link-arrow:hover span { transform: translateX(5px); }

/* ===================== Steps ===================== */
.section-approach { background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.02), transparent); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(10, 15, 28, 0.5);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.45); box-shadow: 0 0 30px -10px rgba(34, 211, 238, 0.4); }
.step-no {
  font-family: var(--font-mono); font-size: 0.95rem; font-weight: 600;
  color: var(--cyan-hi); letter-spacing: 0.06em;
  display: inline-block; margin-bottom: 22px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.step-no::before { content: "["; color: var(--violet); }
.step-no::after { content: "]"; color: var(--violet); }
.step h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ===================== Assembly feature ===================== */
.section-assembly { position: relative; overflow: hidden; }
.assembly-aura {
  position: absolute; top: 10%; right: -10%; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.16), transparent 62%); filter: blur(30px);
}
.assembly-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; position: relative; }
.assembly-copy h2 { margin: 16px 0 20px; }
.assembly-copy > p { color: var(--muted); font-size: 1.06rem; margin-bottom: 26px; }
.feature-list { list-style: none; margin-bottom: 34px; display: grid; gap: 16px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--muted); }
.feature-list li strong { color: var(--text); font-weight: 600; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px;
  border-radius: 3px; background: var(--grad); box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

/* Visual panel */
.assembly-visual { display: grid; place-items: center; }
.panel {
  width: 100%; max-width: 440px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 0 40px rgba(34, 211, 238, 0.04);
}
.panel-top {
  display: flex; align-items: center; gap: 8px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: rgba(34, 211, 238, 0.03);
}
.panel-top .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(120, 200, 255, 0.25); }
.panel-top .dot:first-child { background: var(--magenta); box-shadow: 0 0 8px var(--magenta); }
.panel-top .dot:nth-child(2) { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.panel-top .dot:nth-child(3) { background: var(--green); box-shadow: 0 0 8px var(--green); }
.panel-title { margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.panel-body { position: relative; padding: 40px 30px; min-height: 320px; }

.node {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 9px; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500;
  background: rgba(34, 211, 238, 0.06); border: 1px solid rgba(34, 211, 238, 0.28);
  backdrop-filter: blur(4px); box-shadow: 0 0 20px -6px rgba(34, 211, 238, 0.4);
}
.node-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.node-a { top: 34px; left: 30px; animation: float 6s ease-in-out infinite; }
.node-b { top: 130px; right: 30px; animation: float 6s ease-in-out infinite .8s; }
.node-c { bottom: 40px; left: 54px; animation: float 6s ease-in-out infinite 1.6s; }

.wire { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0.6; box-shadow: 0 0 6px var(--cyan); }
.w1 { top: 70px; left: 150px; width: 130px; transform: rotate(20deg); }
.w2 { top: 150px; left: 120px; width: 120px; transform: rotate(-32deg); }
.w3 { top: 210px; left: 150px; width: 120px; transform: rotate(28deg); }

.chip {
  position: absolute; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; padding: 5px 11px; border-radius: 6px;
  background: rgba(168, 85, 247, 0.14); border: 1px solid rgba(168, 85, 247, 0.4); color: var(--magenta);
  box-shadow: 0 0 16px -4px rgba(168, 85, 247, 0.5);
}
.chip-1 { top: 92px; right: 34px; animation: float 7s ease-in-out infinite .3s; }
.chip-2 { bottom: 96px; right: 40px; animation: float 7s ease-in-out infinite 1s; }
.chip-3 {
  bottom: 44px; right: 120px; animation: float 7s ease-in-out infinite 1.7s;
  background: rgba(232, 180, 92, 0.14); border-color: rgba(232, 180, 92, 0.42); color: var(--gold-hi);
  box-shadow: 0 0 16px -4px rgba(232, 180, 92, 0.55);
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ===================== Cards grid ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(10, 15, 28, 0.5);
  transition: transform .4s var(--ease), border-color .4s, background .4s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; left: 30px; top: 0; width: 34px; height: 2px;
  background: var(--grad); box-shadow: 0 0 10px rgba(34, 211, 238, 0.7);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.04); box-shadow: 0 0 34px -12px rgba(34, 211, 238, 0.4); }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--font-display); font-size: 1.16rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ===================== Why grid ===================== */
.section-why { background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.03), transparent); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item {
  padding: 36px; border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.04), rgba(255, 255, 255, 0.01));
  transition: border-color .4s, box-shadow .4s;
}
.why-item:hover { border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 0 30px -12px rgba(34, 211, 238, 0.4); }
.why-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; margin-bottom: 12px; }
.why-item p { color: var(--muted); }

/* ===================== CTA ===================== */
.section-cta { padding-bottom: 120px; }
.cta {
  position: relative; overflow: hidden;
  text-align: center; padding: 82px 40px; border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), rgba(168, 85, 247, 0.05));
  box-shadow: inset 0 0 60px rgba(34, 211, 238, 0.06);
}
.cta-aura {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(360px 200px at 82% 8%, rgba(232, 180, 92, 0.16), transparent 70%);
}
.cta .kicker { color: var(--gold-hi); }
.cta .kicker::before { content: "✦ "; color: var(--gold-hi); text-shadow: var(--glow-gold); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin: 14px 0 16px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================== Footer ===================== */
.footer { border-top: 1px solid var(--line); padding: 70px 0 40px; background: rgba(0, 0, 0, 0.35); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 50px; padding-bottom: 44px; border-bottom: 1px solid var(--line-soft); }
.footer-brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-logo { height: 46px; width: auto; display: block; filter: drop-shadow(0 0 12px rgba(232, 180, 92, 0.3)); }
.footer-brand p { color: var(--muted-2); font-size: 0.92rem; max-width: 260px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-nav h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-hi); margin-bottom: 16px; font-weight: 500; }
.footer-nav a { display: block; color: var(--muted); font-size: 0.94rem; margin-bottom: 11px; transition: color .25s; }
.footer-nav a:hover { color: var(--cyan-hi); }
.footer-base { display: flex; justify-content: space-between; padding-top: 28px; color: var(--muted-2); font-family: var(--font-mono); font-size: 0.78rem; flex-wrap: wrap; gap: 10px; }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .node, .chip, .grid-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== Responsive ===================== */
@media (max-width: 940px) {
  .duo, .steps, .cards, .why-grid, .assembly-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .assembly-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    position: absolute; top: 74px; left: 0; right: 0; padding: 22px 28px;
    background: rgba(4, 6, 12, 0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 10px 0; font-size: 0.95rem; width: 100%; }
  .nav-cta { width: 100%; }
  .hero { padding-top: 140px; }
  .hero-stats { gap: 34px; }
  .section { padding: 84px 0; }
  .steps, .cards { grid-template-columns: 1fr; }
  .cta { padding: 56px 24px; }
}
