/* =============================================================
   EVADING DESIGNS — Liquid Glass design system
   Dark · iridescent (magenta → violet → blue → cyan) · glassmorphism
   ============================================================= */

/* ----------  1. TOKENS  ---------- */
:root {
  /* Surfaces */
  --bg:            #07050f;
  --bg-2:          #0b0820;
  --bg-3:          #100a26;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-2:     rgba(255, 255, 255, 0.06);
  --surface-3:     rgba(255, 255, 255, 0.09);
  --border:        rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.20);

  /* Text */
  --text:        #f5f3ff;
  --text-soft:   #cdc8e6;
  --text-muted:  #a8a2c8;

  /* Brand */
  --magenta: #e159f5;
  --violet:  #8b5cf6;
  --indigo:  #6366f1;
  --blue:    #4f7cff;
  --cyan:    #2dd4ff;

  --grad-main:  linear-gradient(115deg, #e159f5 0%, #8b5cf6 38%, #4f7cff 68%, #2dd4ff 100%);
  --grad-soft:  linear-gradient(135deg, rgba(225,89,245,0.16), rgba(79,124,255,0.16) 60%, rgba(45,212,255,0.16));
  --grad-text:  linear-gradient(105deg, #f7c8ff 0%, #c7b4ff 30%, #9ec2ff 62%, #8af1ff 100%);

  /* Glows */
  --glow-violet: 0 0 40px rgba(139, 92, 246, 0.45);
  --glow-cyan:   0 0 40px rgba(45, 212, 255, 0.35);
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.85);
  --shadow-lg:   0 40px 90px -40px rgba(40, 10, 90, 0.9);

  /* Geometry */
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --maxw: 1200px;

  /* Type */
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t-med:  0.32s;
  --t-slow: 0.5s;

  --nav-h: 76px;
}

/* ----------  2. RESET / BASE  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100dvh;
}

/* Ambient background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 78% 8%,  rgba(79,124,255,0.22), transparent 70%),
    radial-gradient(55% 45% at 12% 18%, rgba(225,89,245,0.18), transparent 70%),
    radial-gradient(70% 60% at 50% 110%, rgba(45,212,255,0.12), transparent 70%),
    var(--bg);
}
/* Fine grain to kill banding */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

::selection { background: rgba(139, 92, 246, 0.45); color: #fff; }

/* Focus visibility (a11y) */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--violet); color: #fff; padding: 12px 22px;
  border-radius: 0 0 12px 12px; z-index: 2000; font-weight: 600;
  transition: top var(--t-med) var(--ease);
}
.skip-link:focus { top: 0; }

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

.display {
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-soft);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: var(--grad-main); border-radius: 2px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); line-height: 1.7; }
.muted { color: var(--text-muted); }

/* ----------  4. LAYOUT  ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin: 16px 0 18px; }

/* ----------  5. BUTTONS  ---------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.98rem; letter-spacing: -0.01em;
  position: relative; isolation: isolate;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background var(--t-med) var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary { color: #fff; background: var(--grad-main); background-size: 180% auto; box-shadow: 0 10px 34px -12px rgba(124,58,237,0.8), inset 0 0 0 1px rgba(255,255,255,0.18); }
.btn-primary:hover { box-shadow: 0 16px 46px -12px rgba(124,58,237,0.95), 0 0 30px rgba(45,212,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.3); background-position: right center; transform: translateY(-2px); }

.btn-ghost { color: var(--text); background: var(--surface-2); border: 1px solid var(--border-strong); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: var(--surface-3); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }

.btn-lg { --pad-y: 17px; --pad-x: 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; color: var(--text);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--t-med) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ----------  6. GLASS CARD  ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius-lg);
}

/* ----------  7. NAVBAR  ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background var(--t-med) var(--ease), backdrop-filter var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 6, 18, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: auto; filter: drop-shadow(0 4px 14px rgba(139,92,246,0.45)); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em; }
.brand-name span { color: var(--text-muted); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 9px 14px; border-radius: 100px;
  font-size: 0.95rem; color: var(--text-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-menu { display: none; } /* mobile menu hidden on desktop; revealed in the ≤900px breakpoint */

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.nav-toggle span::before { position: absolute; transform: translateY(-6px); }
.nav-toggle span::after  { position: absolute; transform: translateY(6px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { transform: rotate(-45deg); }

/* ----------  8. HERO  ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + clamp(28px, 6vw, 64px)); padding-bottom: clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 980px; width: 100%; }

/* Background video */
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.06); /* slight zoom to guarantee full coverage + hide edges */
  filter: saturate(1.05) contrast(1.04) brightness(0.72); /* dimmed so the headline leads */
}
/* Scrim: heavy on the left (text side), letting footage breathe on the right,
   plus a top fade for the nav and a bottom fade into the page background. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,5,15,0.97) 0%, rgba(7,5,15,0.88) 34%, rgba(7,5,15,0.62) 68%, rgba(7,5,15,0.74) 100%),
    linear-gradient(180deg, rgba(7,5,15,0.72) 0%, rgba(7,5,15,0.28) 30%, rgba(7,5,15,0.28) 56%, var(--bg) 100%);
}
.hero h1 { margin: 22px 0 26px; }
.hero .lead { max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 10px; border-radius: 100px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-soft); backdrop-filter: blur(10px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #46e6a0; box-shadow: 0 0 12px #46e6a0; }

/* floating aurora orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; z-index: 0; pointer-events: none; }
.orb-1 { width: 460px; height: 460px; background: radial-gradient(circle, #8b5cf6, transparent 65%); top: -120px; right: -60px; animation: float1 14s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #2dd4ff, transparent 65%); bottom: -120px; left: -80px; animation: float2 18s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #e159f5, transparent 65%); top: 30%; right: 28%; animation: float1 22s ease-in-out infinite reverse; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: clamp(48px, 7vw, 80px); position: relative; z-index: 2; }
.hero-stats .stat .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 600; line-height: 1; }
.hero-stats .stat .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 8px; }

/* ----------  9. MARQUEE  ---------- */
.marquee { border-block: 1px solid var(--border); padding-block: 26px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; color: var(--text-muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✳"; color: var(--violet); font-size: 0.8em; }

/* ----------  10. SERVICES  ---------- */
.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(2, 1fr); }
.service-card { padding: clamp(28px, 3vw, 40px); position: relative; overflow: hidden; transition: transform var(--t-med) var(--ease), border-color var(--t-med), background var(--t-med); }
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.service-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-main); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
.service-card:hover::after { opacity: 0.6; }
.service-num { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.2em; color: var(--text-muted); }
.service-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); margin: 18px 0 22px; box-shadow: var(--glow-violet); }
.service-icon svg { width: 28px; height: 28px; stroke: #fff; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-muted); }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag { font-size: 0.8rem; padding: 6px 13px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }

/* ----------  11. WORK / PORTFOLIO  ---------- */
.work-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 16 / 11; display: flex; flex-direction: column; justify-content: flex-end; transition: transform var(--t-med) var(--ease), border-color var(--t-med); }
.work-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.work-thumb { position: absolute; inset: 0; z-index: 0; }
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(7,5,15,0.92) 100%); }
.work-thumb .glyph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 12vw, 9rem); letter-spacing: -0.04em; color: rgba(255,255,255,0.13); transition: transform var(--t-slow) var(--ease); }
.work-card:hover .work-thumb .glyph { transform: scale(1.08); }
.work-meta { position: relative; z-index: 1; padding: clamp(22px, 3vw, 32px); }
.work-meta .cat { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.work-meta h3 { margin: 10px 0 6px; }
.work-meta p { color: var(--text-soft); font-size: 0.95rem; }
.work-arrow { position: absolute; top: clamp(22px,3vw,30px); right: clamp(22px,3vw,30px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); backdrop-filter: blur(10px); transition: transform var(--t-med) var(--ease), background var(--t-med); }
.work-card:hover .work-arrow { transform: rotate(-45deg) scale(1.08); background: var(--grad-main); }
.work-arrow svg { width: 20px; height: 20px; }

/* gradient thumbnail variants */
.thumb-a { background: linear-gradient(135deg, #3a1d6e, #6d28d9 50%, #2563eb); }
.thumb-b { background: linear-gradient(135deg, #6b1f6a, #c026d3 45%, #4f46e5); }
.thumb-c { background: linear-gradient(135deg, #0e3a6b, #2563eb 50%, #22d3ee); }
.thumb-d { background: linear-gradient(135deg, #4a1b7a, #7c3aed 45%, #2dd4ff); }
.thumb-e { background: linear-gradient(135deg, #7a1c52, #db2777 45%, #8b5cf6); }
.thumb-f { background: linear-gradient(135deg, #14306e, #4f46e5 50%, #c026d3); }

/* ----------  12. PROCESS  ---------- */
.process-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-step { padding: clamp(24px,2.6vw,32px); position: relative; }
.process-step .step-no { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process-step h3 { font-size: 1.2rem; margin: 16px 0 10px; }
.process-step p { color: var(--text-muted); font-size: 0.94rem; }

/* ----------  13. STATS BAND  ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stats-band .cell { background: var(--bg-2); padding: clamp(28px,3vw,40px); text-align: center; }
.stats-band .num { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 600; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stats-band .label { color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; }

/* ----------  14. TESTIMONIALS  ---------- */
.testi-grid { grid-template-columns: repeat(3, 1fr); }
.testi { padding: clamp(28px,3vw,36px); display: flex; flex-direction: column; gap: 18px; }
.testi .stars { display: flex; gap: 3px; color: var(--cyan); }
.testi .stars svg { width: 17px; height: 17px; }
.testi blockquote { font-size: 1.02rem; color: var(--text-soft); line-height: 1.65; }
.testi .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.testi .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-main); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 0.95rem; }
.testi .who .name { font-weight: 600; font-size: 0.95rem; }
.testi .who .role { color: var(--text-muted); font-size: 0.85rem; }

/* ----------  15. FAQ  ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; font-family: var(--font-display); font-size: clamp(1.05rem,1.8vw,1.22rem); font-weight: 500; transition: color var(--t-fast); }
.faq-q:hover { color: var(--cyan); }
.faq-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; position: relative; transition: background var(--t-med), transform var(--t-med); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--text); border-radius: 2px; transition: transform var(--t-med) var(--ease), opacity var(--t-med); }
.faq-icon::before { width: 13px; height: 2px; }
.faq-icon::after  { width: 2px; height: 13px; }
.faq-item.open .faq-icon { background: var(--grad-main); }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--text-muted); padding: 0 4px 26px; max-width: 660px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ----------  16. CTA BANNER  ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 88px); text-align: center; border: 1px solid var(--border-strong); background: var(--surface); }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 50% 0%, rgba(139,92,246,0.45), transparent 60%), radial-gradient(50% 120% at 80% 100%, rgba(45,212,255,0.35), transparent 60%), radial-gradient(40% 120% at 15% 90%, rgba(225,89,245,0.35), transparent 60%); }
.cta-banner .h2 { margin-bottom: 18px; }
.cta-banner p { max-width: 540px; margin: 0 auto 34px; }
.cta-banner .hero-cta { justify-content: center; }

/* ----------  17. CONTACT  ---------- */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info h2 { margin: 16px 0 18px; }
.contact-list { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 15px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color var(--t-med), background var(--t-med); }
.contact-list li:hover { border-color: var(--border-strong); background: var(--surface-2); }
.contact-list .ci-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; }
.contact-list .ci-icon svg { width: 20px; height: 20px; stroke: #fff; }
.contact-list .k { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-list .v { font-weight: 500; }

.form { padding: clamp(28px, 3.5vw, 44px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 9px; color: var(--text-soft); }
.field label .req { color: var(--magenta); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a8c; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); background: rgba(255,255,255,0.07); box-shadow: 0 0 0 3px rgba(139,92,246,0.22); }
.field.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { display: none; color: #ff8aa6; font-size: 0.82rem; margin-top: 7px; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b8b; box-shadow: 0 0 0 3px rgba(255,107,139,0.18); }
.field.invalid .field-error { display: block; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.92rem; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(70,230,160,0.12); border: 1px solid rgba(70,230,160,0.4); color: #8af0c4; }

/* ----------  18. FOOTER  ---------- */
.footer { border-top: 1px solid var(--border); padding-block: clamp(48px, 6vw, 72px) 36px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand { margin-bottom: 18px; }
.footer-about p { color: var(--text-muted); max-width: 320px; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 18px; font-weight: 500; }
.footer-col a { display: block; padding: 7px 0; color: var(--text-soft); font-size: 0.95rem; transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-col a:hover { color: var(--text); padding-left: 5px; }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; transition: transform var(--t-med) var(--ease), background var(--t-med), border-color var(--t-med); }
.socials a:hover { transform: translateY(-3px); background: var(--surface-3); border-color: var(--border-strong); }
.socials svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.88rem; }
.footer-bottom a:hover { color: var(--text); }

/* ----------  19. PAGE HEADER (work.html)  ---------- */
.page-header { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 110px)); padding-bottom: clamp(20px, 4vw, 40px); position: relative; overflow: hidden; }
.page-header .lead { max-width: 580px; margin-top: 22px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb svg { width: 13px; height: 13px; opacity: 0.6; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.filter-btn { padding: 9px 18px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); font-size: 0.9rem; transition: all var(--t-fast); }
.filter-btn:hover { border-color: var(--border-strong); color: var(--text); }
.filter-btn.active { background: var(--grad-main); color: #fff; border-color: transparent; }
.work-card.hide { display: none; }

/* ----------  20. CUSTOM CURSOR  ---------- */
.cursor-dot, .cursor-ring, .cursor-trail { position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; translate: -50% -50%; }
.cursor-dot { z-index: 9999; width: 7px; height: 7px; background: #fff; mix-blend-mode: difference; }
.cursor-ring { z-index: 9999; width: 36px; height: 36px; border: 1.5px solid rgba(180,170,255,0.7); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); box-shadow: 0 0 24px rgba(139,92,246,0.4); }
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(139,92,246,0.18); border-color: rgba(45,212,255,0.6); }
/* subtle comet trail — each dot smaller & fainter than the one ahead of it */
.cursor-trail {
  z-index: 9998;
  width: calc(7px - var(--i) * 1px);
  height: calc(7px - var(--i) * 1px);
  opacity: calc(0.42 - var(--i) * 0.07);
  background: radial-gradient(circle, rgba(190,178,255,0.9), rgba(139,92,246,0) 72%);
}
body.cursor-hidden .cursor-dot, body.cursor-hidden .cursor-ring, body.cursor-hidden .cursor-trail { opacity: 0; }
body.cursor-on { cursor: none; }
body.cursor-on a, body.cursor-on button { cursor: none; }

/* ----------  21. SCROLL REVEAL  ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { 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; }

/* ----------  22. KEYFRAMES  ---------- */
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-34px, 30px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px, -26px) scale(1.1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes shimmer { to { background-position: 200% center; } }
.shimmer { animation: shimmer 6s linear infinite; }

/* ----------  23. RESPONSIVE  ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; position: relative; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    background: rgba(8,6,18,0.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: grid; gap: 6px; padding: 22px clamp(20px,5vw,40px) 30px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity var(--t-med), transform var(--t-med);
  }
  body.menu-open .nav-menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 14px 16px; border-radius: 14px; font-size: 1.05rem; color: var(--text-soft); }
  .nav-menu a:hover { background: var(--surface-2); color: var(--text); }
  .nav-menu .btn { display: flex; margin-top: 8px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .services-grid, .work-grid { grid-template-columns: 1fr; }
  .field.row2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 26px 40px; }
  /* Full-width hero text on mobile needs a more even, top-to-bottom scrim */
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7,5,15,0.82) 0%, rgba(7,5,15,0.6) 42%, var(--bg) 100%),
      rgba(7,5,15,0.55);
  }
}
@media (max-width: 480px) {
  .process-grid, .stats-band { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
}

/* Touch / no-hover devices: disable custom cursor */
@media (hover: none), (pointer: coarse) {
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ----------  24. REDUCED MOTION  ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .orb { animation: none; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.cursor-on { cursor: auto; }
}
