/* ============================================================
   AGENCY SITE — premium dark theme
   ============================================================ */
:root {
  --bg: #08080a;
  --bg-soft: #0e0e12;
  --bg-card: #121218;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f4f0;
  --text-dim: rgba(245, 244, 240, 0.62);
  --text-faint: rgba(245, 244, 240, 0.38);
  --accent: #c8f169;
  --accent-ink: #0a0f02;
  --violet: #a78bfa;
  --cyan: #67e8f9;
  --radius: 18px;
  --nav-h: 72px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  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;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-word {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em;
  font-size: clamp(28px, 5vw, 44px);
}
.preloader-word .dot { color: var(--accent); }
.preloader-bar { width: min(240px, 60vw); height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s ease; }

/* ---------- scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--cyan)); }

/* ---------- navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8, 8, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.01em; }
.nav-logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav-link { font-size: 14px; color: var(--text-dim); transition: color 0.25s; position: relative; }
.nav-link:hover { color: var(--text); }
.nav-cta {
  padding: 10px 20px; border-radius: 99px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200, 241, 105, 0.25); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: rgba(8, 8, 10, 0.97);
  backdrop-filter: blur(18px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-link {
  font-family: var(--font-display); font-size: clamp(26px, 7vw, 38px); font-weight: 600;
  padding: 8px 0; color: var(--text-dim); transition: color 0.25s;
}
.mobile-link:hover, .mobile-link.cta { color: var(--accent); }

/* ---------- shared section bits ---------- */
.section { padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 64px); position: relative; }
.section-inner { max-width: 1240px; margin: 0 auto; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 780px; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px; font-weight: 600;
}
.section-kicker::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 5.4vw, 58px); line-height: 1.06; letter-spacing: -0.015em;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-sub { margin-top: 18px; color: var(--text-dim); font-size: clamp(15px, 1.6vw, 17px); max-width: 620px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 99px; font-weight: 600; font-size: 15px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(200, 241, 105, 0.28); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 5vw, 64px) 0;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.mesh { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.mesh-1 { width: 560px; height: 560px; background: rgba(167, 139, 250, 0.16); top: -160px; right: -120px; }
.mesh-2 { width: 480px; height: 480px; background: rgba(103, 232, 249, 0.10); bottom: -140px; left: -140px; }
.mesh-3 { width: 380px; height: 380px; background: rgba(200, 241, 105, 0.09); top: 34%; left: 38%; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg.has-canvas .hero-canvas { opacity: 1; }
/* WebGL took over — the CSS blobs were the fallback */
.hero-bg.has-canvas .mesh { display: none; }
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; opacity: 0.35;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero-inner { max-width: 1240px; margin: 0 auto; width: 100%; position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500;
  border: 1px solid var(--line); border-radius: 99px; padding: 9px 18px;
  margin-bottom: 28px; background: rgba(255,255,255,0.02);
}
.hero-kicker .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(200, 241, 105, 0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 241, 105, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(200, 241, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 241, 105, 0); }
}
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(42px, 8.2vw, 96px); line-height: 1.0; letter-spacing: -0.025em;
  max-width: 13ch;
}
.hero-title .accent { color: var(--accent); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; }
.hero-sub {
  margin-top: 26px; max-width: 560px;
  color: var(--text-dim); font-size: clamp(16px, 1.8vw, 19px);
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(48px, 6vw, 78px); padding-top: 34px; border-top: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.01em;
}
.stat-num .accent { color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-faint); margin-top: 2px; letter-spacing: 0.04em; }

/* marquee */
.marquee { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--bg-soft); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint);
  padding-right: 18px; white-space: nowrap;
}
.marquee-track .sep { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- work / portfolio ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.work-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(200, 241, 105, 0.35); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.work-shot { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #17171d; }
.work-shot .browser-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 30px; z-index: 2;
  background: rgba(14, 14, 18, 0.92); backdrop-filter: blur(6px);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
  border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.browser-bar .url {
  margin-left: 8px; font-size: 10.5px; color: var(--text-faint);
  background: rgba(255,255,255,0.05); border-radius: 5px; padding: 2px 10px;
  max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal;
}
.work-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  padding-top: 30px; transition: transform 0.6s ease;
}
.work-card:hover .work-shot img { transform: scale(1.045); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; }
.work-name { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.work-industry { font-size: 12.5px; color: var(--text-faint); margin-top: 2px; }
.work-tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap;
  padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); color: var(--text-dim);
}
.work-tag.live { color: var(--accent); border-color: rgba(200, 241, 105, 0.4); }
.work-note { text-align: center; margin-top: 34px; color: var(--text-faint); font-size: 14px; }
.work-note a { color: var(--accent); }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.service-card {
  grid-column: span 4; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-card); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }
.service-card.featured {
  grid-column: span 12; flex-direction: row; align-items: center; gap: clamp(24px, 4vw, 56px);
  background: linear-gradient(120deg, rgba(200, 241, 105, 0.08), rgba(167, 139, 250, 0.06) 60%, transparent);
  border-color: rgba(200, 241, 105, 0.28);
}
.service-card.featured:hover { border-color: rgba(200, 241, 105, 0.5); }
.service-card.featured .service-copy { flex: 1.2; }
.service-points { flex: 1; display: grid; gap: 10px; }
.service-points li {
  list-style: none; display: flex; gap: 10px; align-items: flex-start;
  color: var(--text-dim); font-size: 14.5px;
}
.service-points li::before { content: "→"; color: var(--accent); flex-shrink: 0; }
.service-icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(200, 241, 105, 0.1); color: var(--accent); font-size: 21px;
}
.service-name { font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2vw, 24px); }
.service-desc { color: var(--text-dim); font-size: 14.5px; }
.service-badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent); border-radius: 99px; padding: 5px 12px;
}

/* ---------- free demo banner ---------- */
.demo-banner {
  border-radius: calc(var(--radius) + 8px); overflow: hidden; position: relative;
  background: var(--accent); color: var(--accent-ink);
  padding: clamp(40px, 6vw, 72px) clamp(26px, 5vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 4vw, 48px);
}
.demo-banner-copy { flex: 1 1 420px; position: relative; }
.demo-banner h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em;
}
.demo-banner p { margin-top: 14px; font-size: clamp(15px, 1.7vw, 17px); color: rgba(10, 15, 2, 0.75); max-width: 560px; }
.btn-dark { background: #0b0b0d; color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.demo-banner .doodle {
  position: absolute; right: -40px; top: -60px; width: 280px; height: 280px; border-radius: 50%;
  border: 2px dashed rgba(10, 15, 2, 0.18); pointer-events: none;
}

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: step; }
.process-step {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
  padding: clamp(22px, 2.6vw, 32px); position: relative;
}
.process-num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent);
  letter-spacing: 0.1em; margin-bottom: 40px; display: block;
}
.process-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.process-desc { font-size: 14px; color: var(--text-dim); }
.process-days {
  position: absolute; top: 22px; right: 22px; font-size: 11.5px; color: var(--text-faint);
  border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px;
}

/* ---------- why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.why-card {
  display: flex; gap: 18px; padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
}
.why-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(200, 241, 105, 0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.why-name { font-family: var(--font-display); font-weight: 600; font-size: 17.5px; margin-bottom: 6px; }
.why-desc { font-size: 14.5px; color: var(--text-dim); }

/* ---------- faq ---------- */
.faq-wrap { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  text-align: left; padding: 22px 4px;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.9vw, 19px);
  transition: color 0.25s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-x {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 400;
  transition: transform 0.3s ease, background 0.3s, color 0.3s;
}
.faq-item.open .faq-x { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 4px 24px; color: var(--text-dim); font-size: 15px; max-width: 680px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-form { display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 13px;
  padding: 17px 18px 15px; color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 0.25s ease; appearance: none; resize: vertical;
}
.field select { cursor: pointer; }
.field select option { background: var(--bg-card); color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: rgba(200, 241, 105, 0.55); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field-label { display: block; font-size: 12.5px; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 7px; text-transform: uppercase; font-weight: 600; }
.form-hint { font-size: 13px; color: var(--text-faint); }
.contact-aside {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
  padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px;
}
.contact-aside h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.contact-list { display: grid; gap: 14px; list-style: none; }
.contact-list a { display: flex; align-items: center; gap: 12px; color: var(--text-dim); transition: color 0.25s; font-size: 15px; }
.contact-list a:hover { color: var(--accent); }
.contact-list .ico {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.contact-note { font-size: 13.5px; color: var(--text-faint); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 64px) 110px; background: var(--bg-soft); }
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start;
}
.footer-brand p { color: var(--text-faint); font-size: 14px; margin-top: 10px; max-width: 300px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-dim); transition: color 0.25s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { max-width: 1240px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 13px; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }

/* ---------- ambient: aurora + grain ---------- */
.aurora {
  position: fixed; inset: -25% -15%; z-index: 0; pointer-events: none;
  filter: blur(90px) saturate(120%);
  opacity: 0.55;
}
.aurora span { position: absolute; border-radius: 50%; }
.aurora span:nth-child(1) {
  width: 52vw; height: 52vw; top: -10%; right: -6%;
  background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.22), transparent 65%);
  animation: aur1 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 44vw; height: 44vw; bottom: -8%; left: -8%;
  background: radial-gradient(circle at 70% 60%, rgba(103, 232, 249, 0.14), transparent 65%);
  animation: aur2 32s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  width: 36vw; height: 36vw; top: 38%; left: 34%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 241, 105, 0.10), transparent 65%);
  animation: aur3 24s ease-in-out infinite alternate;
}
@keyframes aur1 { to { transform: translate(-12vw, 14vh) scale(1.15); } }
@keyframes aur2 { to { transform: translate(10vw, -12vh) scale(0.9); } }
@keyframes aur3 { to { transform: translate(8vw, 10vh) scale(1.2); } }

.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none;
  /* No mix-blend-mode: blending over the hero's WebGL canvas resolves against
     the wrong backdrop and washes the page white. Plain low opacity instead. */
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* Custom cursor removed on purpose: it hid the native pointer, hurt
   accessibility, and could not stay smooth on a page running WebGL plus
   live embeds. The OS cursor is always perfectly in sync. */

/* ---------- hero ring ---------- */
.hero-ring {
  position: absolute; right: -12vw; top: 8%;
  width: 44vw; height: 44vw; max-width: 640px; max-height: 640px;
  border: 1.5px dashed rgba(255, 255, 255, 0.09); border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-ring::before {
  content: ""; position: absolute; top: -5px; left: 50%;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 18px rgba(200, 241, 105, 0.8);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- live embeds inside work cards ---------- */
.embed-wrap {
  position: absolute; inset: 30px 0 0 0; overflow: hidden; z-index: 1;
}
.embed-wrap iframe {
  width: 1440px; height: 900px; border: 0;
  transform-origin: top left; pointer-events: none;
  opacity: 0; transition: opacity 0.7s ease;
  background: #0e0e12;
}
.work-shot.embed-live .embed-wrap iframe { opacity: 1; }
.work-shot.embed-live > img { opacity: 0; transition: opacity 0.7s ease; }
.work-shot-empty {
  position: absolute; inset: 30px 0 0 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; color: var(--text-faint);
}
.live-dot {
  margin-left: auto; width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse-green 2.2s infinite;
}
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------- tilt + glare ---------- */
.tilt { position: relative; transition: transform 0.18s ease-out; transform-style: preserve-3d; }
.tilt::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity 0.35s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.09), transparent 46%);
}
.tilt:hover::after { opacity: 1; }
.service-card.tilt, .why-card.tilt { overflow: hidden; }

/* content sits above the aurora — fixed elements keep their own z-index */
main, .footer { position: relative; z-index: 2; }

/* ---------- reveal helpers ---------- */
.reveal-up { opacity: 0; transform: translateY(34px); }
html.no-motion .reveal-up { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .service-card { grid-column: span 6; }
  .service-card.featured { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .service-card { grid-column: span 12; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
}
