/* ============================================================
   Abhishek Aggarwal — AEO / GEO / AI Search Consultant
   Design system: "Signal" — visibility across four AI answer
   surfaces, expressed as four accent colors that recur as a
   motif (bars, tags, underlines) rather than random rainbow.
   ============================================================ */

:root{
  --white:   #ffffff;
  --paper:   #f7f6f2;
  --ink:     #14161c;
  --ink-70:  #4a4d58;
  --ink-40:  #8b8e99;
  --line:    #e7e5df;

  --blue:    #3457ff;
  --red:     #f0392c;
  --orange:  #ff7a1a;
  --green:   #12a66b;

  --orange-deep:  #e8590c;
  --orange-light: #ffb066;
  --orange-glow:  rgba(255,122,26,.4);

  --blue-10:   #eaeeff;
  --red-10:    #fdeae8;
  --orange-10: #fff1e4;
  --green-10:  #e6f7ef;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20,22,28,.04);
  --container: 1160px;

  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; line-height:1.08; font-weight:600; letter-spacing:-.01em; }
p{ margin:0; }
button{ font-family:inherit; }

.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--paper); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; color:var(--ink-70);
  margin-bottom:14px;
}
.eyebrow .dotline{ display:flex; gap:3px; }
.eyebrow .dotline span{ width:6px; height:6px; border-radius:2px; }

.h1{ font-size:clamp(34px,4.6vw,56px); }
.h2{ font-size:clamp(28px,3.4vw,40px); }
.h3{ font-size:22px; }
.lede{ font-size:19px; color:var(--ink-70); max-width:640px; }
.body-lg{ font-size:17px; color:var(--ink-70); }

.section-head{ max-width:640px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Signal bars motif ---------- */
.signal{ display:flex; align-items:flex-end; gap:6px; height:34px; }
.signal i{ display:block; width:8px; border-radius:3px; }
.signal i:nth-child(1){ background:var(--blue); height:60%; }
.signal i:nth-child(2){ background:var(--red); height:100%; }
.signal i:nth-child(3){ background:var(--orange); height:75%; }
.signal i:nth-child(4){ background:var(--green); height:45%; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:600; font-size:15px;
  border:1.5px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--ink); color:var(--white); }
.btn-primary:hover{ box-shadow:0 6px 18px rgba(20,22,28,.22); }
.btn-accent{ background:linear-gradient(135deg,var(--orange-light),var(--orange) 45%,var(--orange-deep)); color:var(--white); box-shadow:0 6px 20px var(--orange-glow); }
.btn-accent:hover{ box-shadow:0 10px 30px rgba(255,122,26,.5); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-outline:hover{ border-color:var(--ink); }
.btn-block{ width:100%; }
.btn-lg{ padding:16px 30px; font-size:16px; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92);
  border-bottom:1px solid var(--line);
}
/* The blur lives on a ::before layer instead of directly on .nav.
   A backdrop-filter/filter/transform on .nav itself would make it the
   containing block for any position:fixed descendant (like the mobile
   #navLinks panel below), causing that panel to size itself against
   the 78px-tall header instead of the viewport — which is exactly
   what made the mobile menu render collapsed/behind the page. */
.nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  backdrop-filter:saturate(180%) blur(10px);
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:18px; }
.brand .mark{ display:flex; gap:3px; }
.brand .mark span{ width:7px; height:16px; border-radius:2px; }
.brand .mark span:nth-child(1){ background:var(--blue); }
.brand .mark span:nth-child(2){ background:var(--red); height:22px; margin-top:-3px;}
.brand .mark span:nth-child(3){ background:var(--orange); height:12px; margin-top:4px;}
.brand .mark span:nth-child(4){ background:var(--green); height:18px; margin-top:-1px;}

.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ font-size:15px; font-weight:500; color:var(--ink-70); position:relative; }
.nav-links a:hover, .nav-links a.active{ color:var(--ink); }
.nav-links a:not(.btn)::after{
  content:""; position:absolute; left:0; right:100%; bottom:-6px; height:2px;
  background:linear-gradient(90deg,var(--orange),var(--orange-deep)); transition:right .25s cubic-bezier(.16,1,.3,1);
}
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after{ right:0; }
.nav-links a.btn{ display:none; }
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:none; padding:8px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }

@media (max-width:900px){
  .nav-links{
    position:fixed; inset:78px 0 0 0; background:var(--white); flex-direction:column;
    justify-content:flex-start; align-items:flex-start; padding:32px 28px; gap:22px;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ font-size:20px; }
  .nav-links a.btn{ display:inline-flex; }
  .nav-toggle{ display:block; }
  .nav-cta .btn-lg-hide{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ padding:64px 0 90px; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:start; }
.hero-stats{ display:flex; flex-wrap:wrap; gap:28px; margin-top:36px; }
.stat{ min-width:110px; }
.stat b{ display:block; font-family:var(--font-display); font-size:28px; }
.stat span{ font-size:13px; color:var(--ink-70); }
.stat.blue b{ color:var(--blue); } .stat.red b{ color:var(--red); }
.stat.orange b{ color:var(--orange); } .stat.green b{ color:var(--green); }

.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }

.hero-card{
  background:var(--white); border:1px solid var(--line); border-radius:20px;
  padding:26px; box-shadow:0 20px 50px rgba(20,22,28,.08), 0 10px 40px rgba(255,122,26,.08);
}
.hero-photo-row{ display:flex; align-items:center; gap:16px; margin-bottom:22px; }
.hero-photo{
  width:64px; height:64px; border-radius:16px; object-fit:cover;
  border:3px solid var(--white); box-shadow:0 0 0 3px var(--ink), 0 6px 18px var(--orange-glow);
}
.hero-photo-row h4{ font-size:16px; }
.hero-photo-row span{ font-size:13px; color:var(--ink-70); }
.hero-card-title{ font-size:15px; font-weight:600; margin-bottom:4px; }
.hero-card-sub{ font-size:13px; color:var(--ink-70); margin-bottom:18px; }

/* ---------- Forms ---------- */
.field{ margin-bottom:14px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--ink-70); }
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:10px;
  font-size:15px; font-family:inherit; color:var(--ink); background:var(--white);
  transition:border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--ink); }
.field textarea{ resize:vertical; min-height:96px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px){ .field-row{ grid-template-columns:1fr; } }
.field-hp{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }
.form-note{ font-size:12px; color:var(--ink-40); margin-top:10px; }

.form-alert{ padding:14px 16px; border-radius:10px; font-size:14px; font-weight:500; margin-bottom:18px; }
.form-alert.ok{ background:var(--green-10); color:#0a6b48; border:1px solid #b7ebd3; }
.form-alert.err{ background:var(--red-10); color:#a8241a; border:1px solid #f6c6c1; }

/* ---------- Trust strip ---------- */
.trust{ padding:30px 0 34px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-label{ font-size:13px; color:var(--ink-40); }

/* ---------- Cards: services ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
@media (max-width:860px){ .grid-3{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .grid-3, .grid-2{ grid-template-columns:1fr; } }

.svc-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; position:relative; overflow:hidden;
}
.svc-card::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:4px; }
.svc-card.blue::before{ background:var(--blue); } .svc-card.red::before{ background:var(--red); }
.svc-card.orange::before{ background:var(--orange); } .svc-card.green::before{ background:var(--green); }
.svc-icon{ width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-family:var(--font-display); font-weight:700; }
.svc-card.blue .svc-icon{ background:var(--blue-10); color:var(--blue); }
.svc-card.red .svc-icon{ background:var(--red-10); color:var(--red); }
.svc-card.orange .svc-icon{ background:var(--orange-10); color:var(--orange); }
.svc-card.green .svc-icon{ background:var(--green-10); color:var(--green); }
.svc-card h3{ font-size:18px; margin-bottom:8px; }
.svc-card p{ font-size:14.5px; color:var(--ink-70); }

/* ---------- Case study cards ---------- */
.cs-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
}
.cs-banner{ height:150px; display:flex; align-items:flex-end; padding:18px; }
.cs-banner.blue{ background:linear-gradient(135deg,var(--blue-10),var(--white)); }
.cs-banner.red{ background:linear-gradient(135deg,var(--red-10),var(--white)); }
.cs-banner.orange{ background:linear-gradient(135deg,var(--orange-10),var(--white)); }
.cs-banner.green{ background:linear-gradient(135deg,var(--green-10),var(--white)); }
.cs-tag{ font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px; background:var(--white); }
.cs-tag.blue{ color:var(--blue); } .cs-tag.red{ color:var(--red); }
.cs-tag.orange{ color:var(--orange); } .cs-tag.green{ color:var(--green); }
.cs-body{ padding:22px; flex:1; display:flex; flex-direction:column; }
.cs-metric{ font-family:var(--font-display); font-size:32px; margin-bottom:2px; }
.cs-metric-label{ font-size:13px; color:var(--ink-70); margin-bottom:14px; }
.cs-body h3{ font-size:18px; margin-bottom:8px; }
.cs-body p{ font-size:14.5px; color:var(--ink-70); flex:1; }
.cs-link{ margin-top:16px; font-size:14px; font-weight:600; display:inline-flex; align-items:center; gap:6px; }

/* ---------- Blog ---------- */
.blog-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
}
.blog-banner{
  height:170px; display:block; position:relative; overflow:hidden;
  display:flex; align-items:flex-start; justify-content:flex-start; padding:16px;
}
.blog-banner.blue{ background:linear-gradient(135deg,var(--blue-10),var(--white)); }
.blog-banner.red{ background:linear-gradient(135deg,var(--red-10),var(--white)); }
.blog-banner.orange{ background:linear-gradient(135deg,var(--orange-10),var(--white)); }
.blog-banner.green{ background:linear-gradient(135deg,var(--green-10),var(--white)); }
.blog-banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.blog-banner .cs-tag{ position:relative; z-index:1; }
.blog-meta{ font-size:12.5px; color:var(--ink-40); margin-bottom:8px; }
.blog-pagination{ display:flex; align-items:center; justify-content:center; gap:18px; margin-top:44px; }
.blog-pagination-status{ font-size:13px; color:var(--ink-40); }
.blog-pagination .page-numbers{ font-size:14px; color:var(--ink-70); padding:8px 4px; }
.blog-pagination .page-numbers.current{ color:var(--ink); font-weight:700; }
.blog-pagination ul.page-numbers{ display:flex; align-items:center; gap:10px; list-style:none; }

.blog-featured-img{ border-radius:var(--radius); overflow:hidden; margin-bottom:8px; max-height:460px; }
.blog-featured-img img{ width:100%; height:100%; object-fit:cover; }

.blog-content{ max-width:720px; margin:0 auto; font-size:17px; color:var(--ink-70); }
.blog-content > *{ max-width:720px; }
.blog-content p{ margin:0 0 22px; }
.blog-content h2{ font-size:26px; color:var(--ink); margin:44px 0 16px; }
.blog-content h3{ font-size:21px; color:var(--ink); margin:34px 0 14px; }
.blog-content ul, .blog-content ol{ margin:0 0 22px; padding-left:22px; list-style:revert; }
.blog-content li{ margin-bottom:8px; }
.blog-content a{ color:var(--blue); text-decoration:underline; text-underline-offset:2px; }
.blog-content img{ border-radius:var(--radius-sm); margin:8px 0 22px; }
.blog-content blockquote{
  margin:0 0 22px; padding:4px 0 4px 20px; border-left:3px solid var(--line);
  font-style:italic; color:var(--ink);
}
.blog-content code{ background:var(--paper); padding:2px 6px; border-radius:4px; font-size:.9em; }
.blog-content pre{ background:var(--ink); color:var(--white); padding:18px; border-radius:var(--radius-sm); overflow-x:auto; margin:0 0 22px; }
.blog-content pre code{ background:none; padding:0; color:inherit; }

.blog-tags{ display:flex; flex-wrap:wrap; gap:8px; max-width:720px; margin-left:auto; margin-right:auto; }

/* full case study block on case-studies page */
.cs-full{ border:1px solid var(--line); border-radius:18px; padding:36px; margin-bottom:28px; display:grid; grid-template-columns:1fr 1.4fr; gap:34px; position:relative; overflow:hidden; }
.cs-full::after{
  content:""; position:absolute; top:-70px; right:-70px; width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle, var(--orange-10), transparent 72%); pointer-events:none;
}
@media (max-width:860px){ .cs-full{ grid-template-columns:1fr; } }
.cs-full-side{ padding-right:8px; }
.cs-full-numbers{ display:flex; flex-direction:column; gap:16px; margin-top:22px; }
.cs-num b{ display:block; font-family:var(--font-display); font-size:26px; }
.cs-num span{ font-size:13px; color:var(--ink-70); }
.cs-full h4{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-40); margin:0 0 8px; font-family:var(--font-body); font-weight:700; }
.cs-full-block{ margin-bottom:18px; }
.cs-full-block p, .cs-full-block li{ font-size:15px; color:var(--ink-70); }
.cs-full-block ul{ display:flex; flex-direction:column; gap:6px; margin-top:8px; }
.cs-full-block li::before{ content:"—  "; }

/* ---------- Testimonials ---------- */
.testi{ background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:26px; height:100%; display:flex; flex-direction:column; }
.testi p{ font-size:15px; color:var(--ink); flex:1; }
.testi-foot{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.avatar{ width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; color:var(--white); font-size:14px; }
.testi-foot b{ display:block; font-size:14px; }
.testi-foot span{ font-size:12.5px; color:var(--ink-70); }

/* ---------- CTA band ---------- */
.cta-band{
  border-radius:24px; padding:56px 46px; position:relative; overflow:hidden;
  background:var(--ink); color:var(--white);
}
.cta-band .h2{ color:var(--white); max-width:520px; }
.cta-band p{ color:#c8c9d1; margin-top:10px; max-width:480px; }
.cta-bars{ position:absolute; right:36px; top:0; bottom:0; display:flex; align-items:center; gap:10px; opacity:.9; }
.cta-bars i{ display:block; width:16px; border-radius:6px; }
.cta-bars i:nth-child(1){ background:var(--blue); height:40%; }
.cta-bars i:nth-child(2){ background:var(--red); height:80%; }
.cta-bars i:nth-child(3){ background:var(--orange); height:60%; }
.cta-bars i:nth-child(4){ background:var(--green); height:95%; }
@media (max-width:760px){ .cta-bars{ display:none; } }

/* ---------- Footer ---------- */
.footer{ background:var(--paper); border-top:1px solid var(--line); padding:60px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.2fr; gap:36px; margin-bottom:44px; }
@media (max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer h5{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-40); margin-bottom:16px; }
.footer li{ margin-bottom:10px; font-size:14.5px; color:var(--ink-70); }
.footer li a:hover{ color:var(--ink); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; padding-top:24px; border-top:1px solid var(--line); font-size:13px; color:var(--ink-40); }

/* ---------- Page header (inner pages) ---------- */
.page-head{ padding:56px 0 20px; position:relative; overflow:hidden; }
.page-head .h1{ font-size:clamp(30px,4vw,46px); }
.breadcrumb{ font-size:13px; color:var(--ink-40); margin-bottom:16px; }
.page-head > .container{ position:relative; z-index:1; }

/* ---------- Timeline (about page) ---------- */
.timeline{ position:relative; padding-left:28px; }
.timeline::before{ content:""; position:absolute; left:5px; top:6px; bottom:6px; width:2px; background:var(--line); }
.tl-item{ position:relative; padding-bottom:34px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-dot{ position:absolute; left:-28px; top:4px; width:12px; height:12px; border-radius:50%; border:3px solid var(--white); box-shadow:0 0 0 2px var(--dotcolor,var(--blue)); }
.tl-item h4{ font-size:16px; }
.tl-item .tl-meta{ font-size:13px; color:var(--ink-70); margin:2px 0 8px; }
.tl-item p{ font-size:14.5px; color:var(--ink-70); }

/* ---------- Chips (tools) ---------- */
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{ font-size:13.5px; padding:8px 14px; border-radius:999px; border:1px solid var(--line); color:var(--ink-70); background:var(--white); }

/* ---------- Utility ---------- */
.mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-40{margin-top:40px;}
.center{ text-align:center; }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; } .hero-grid{ grid-template-columns:1fr; } }

/* ============================================================
   MOTION LAYER — "Signal Network"
   Every effect below reinforces the same idea already in the
   brand mark: four signals (blue/red/orange/green) broadcasting
   and connecting. Nothing here is decoration for its own sake —
   it's the citation-network metaphor, animated.
   ============================================================ */

/* ---------- Scroll progress ---------- */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0%; z-index:999;
  background:linear-gradient(90deg,var(--orange-deep),var(--orange),var(--red),var(--blue),var(--green));
}

/* ---------- Live signal ticker (under nav) ---------- */
.ticker-wrap{ background:var(--paper); border-bottom:1px solid var(--line); }
.ticker{ overflow:hidden; position:relative;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.ticker-track{ display:flex; width:max-content; animation:marqueeScroll 34s linear infinite; }
.ticker:hover .ticker-track{ animation-play-state:paused; }
.ticker-item{
  display:flex; align-items:center; gap:9px; padding:11px 26px;
  font-size:12.5px; font-weight:600; color:var(--ink-70); white-space:nowrap;
  border-right:1px solid var(--line);
}
.ticker-item i{ width:6px; height:6px; border-radius:50%; flex:none; }

/* ---------- Marquee (trust logos) ---------- */
.marquee{ overflow:hidden; position:relative;
  -webkit-mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image:linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track{ display:flex; width:max-content; align-items:center; gap:52px; animation:marqueeScroll 28s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-track span{
  font-family:var(--font-display); font-weight:600; font-size:16px; color:var(--ink-70);
  white-space:nowrap; opacity:.8; transition:opacity .2s ease, color .2s ease;
}
.marquee-track span:hover{ opacity:1; color:var(--ink); }

@keyframes marqueeScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Hero: network canvas + cursor spotlight ---------- */
.hero{ position:relative; overflow:hidden; }
.hero-network{ position:absolute; inset:0; z-index:0; opacity:.6; pointer-events:none; }
.hero-spotlight{
  position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0;
  transition:opacity .5s ease;
  background:radial-gradient(460px circle at var(--mx,50%) var(--my,20%), rgba(52,87,255,.10), transparent 60%);
}
.hero.is-active .hero-spotlight{ opacity:1; }
.hero > .container{ position:relative; z-index:1; }

/* ---------- Dot-grid backdrop for alt sections ---------- */
.section-alt{ position:relative; overflow:hidden; }
.section-alt::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:radial-gradient(var(--line) 1px, transparent 1px);
  background-size:24px 24px;
  -webkit-mask-image:linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
  mask-image:linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}
.section-alt > .container{ position:relative; }

/* ---------- Brand mark / bar motifs: gentle equalizer pulse ---------- */
@keyframes eqBar{ 0%,100%{ transform:scaleY(.5); } 50%{ transform:scaleY(1); } }
.brand .mark span, .cta-bars i{ transform-origin:bottom; animation:eqBar 1.7s ease-in-out infinite; }
.brand .mark span:nth-child(1), .cta-bars i:nth-child(1){ animation-delay:0s; }
.brand .mark span:nth-child(2), .cta-bars i:nth-child(2){ animation-delay:.18s; }
.brand .mark span:nth-child(3), .cta-bars i:nth-child(3){ animation-delay:.36s; }
.brand .mark span:nth-child(4), .cta-bars i:nth-child(4){ animation-delay:.54s; }

/* ---------- Eyebrow dot pulse ---------- */
@keyframes dotPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.4; transform:scale(.7); } }
.eyebrow .dotline span{ animation:dotPulse 1.9s ease-in-out infinite; }
.eyebrow .dotline span:nth-child(2){ animation-delay:.14s; }
.eyebrow .dotline span:nth-child(3){ animation-delay:.28s; }
.eyebrow .dotline span:nth-child(4){ animation-delay:.42s; }

/* ---------- Scroll reveal ---------- */
[data-reveal]{
  opacity:0; transform:translateY(22px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay:calc(var(--i,0) * 70ms);
}
[data-reveal].is-visible{ opacity:1; transform:none; }

/* ---------- Card interactions (hover = user-triggered, always on) ---------- */
.svc-card, .cs-card, .testi, .blog-card{
  transition:transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s ease;
  transform-style:preserve-3d; will-change:transform;
}
.svc-card:hover, .cs-card:hover, .testi:hover, .blog-card:hover{
  box-shadow:0 22px 44px rgba(20,22,28,.10), 0 14px 34px rgba(255,122,26,.14);
}
.svc-card.blue:hover{ border-color:var(--blue); box-shadow:0 22px 44px rgba(20,22,28,.10), 0 14px 34px rgba(52,87,255,.18); }
.svc-card.red:hover{ border-color:var(--red); box-shadow:0 22px 44px rgba(20,22,28,.10), 0 14px 34px rgba(240,57,44,.18); }
.svc-card.orange:hover{ border-color:var(--orange); box-shadow:0 22px 44px rgba(20,22,28,.10), 0 14px 34px rgba(255,122,26,.28); }
.svc-card.green:hover{ border-color:var(--green); box-shadow:0 22px 44px rgba(20,22,28,.10), 0 14px 34px rgba(18,166,107,.18); }

.svc-icon{ transition:transform .4s cubic-bezier(.34,1.56,.64,1); }
.svc-card:hover .svc-icon{ transform:scale(1.12) rotate(-6deg); }

.hero-card{ transition:transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.hero-card:hover{ box-shadow:0 26px 56px rgba(20,22,28,.14); }

/* ---------- Buttons: sheen sweep + magnetic wrapper ---------- */
.btn{ position:relative; overflow:hidden; }
.btn::after{
  content:""; position:absolute; top:0; left:-60%; width:36%; height:100%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.32), transparent);
  transform:skewX(-18deg); transition:left .6s ease;
}
.btn-outline::after{ background:linear-gradient(115deg, transparent, rgba(20,22,28,.07), transparent); }
.btn:hover::after{ left:120%; }

/* ---------- CTA band: slow gradient drift ---------- */
.cta-band{
  background:linear-gradient(120deg, var(--ink), #1c2030, var(--ink));
  background-size:220% 220%; animation:gradientDrift 12s ease infinite;
}
@keyframes gradientDrift{ 0%{ background-position:0% 50%; } 50%{ background-position:100% 50%; } 100%{ background-position:0% 50%; } }

/* ============================================================
   PARALLAX & COLOR-BOOST LAYER
   Depth via layered, blurred color fields that drift at
   different speeds on scroll (JS sets the transform on
   .blob-wrap; CSS only handles the idle pulse + palette),
   plus a warmer, more orange-forward accent treatment.
   ============================================================ */

.blob-wrap{ position:absolute; z-index:0; pointer-events:none; will-change:transform; }
.blob{
  width:100%; height:100%; border-radius:50%; filter:blur(50px);
  animation:blobPulse 9s ease-in-out infinite;
}
@keyframes blobPulse{ 0%,100%{ transform:scale(1); opacity:.75; } 50%{ transform:scale(1.12); opacity:1; } }

.blob-orange{ background:radial-gradient(circle at 35% 35%, var(--orange-light), var(--orange) 55%, transparent 78%); }
.blob-orange-deep{ background:radial-gradient(circle at 35% 35%, var(--orange), var(--orange-deep) 55%, transparent 78%); }
.blob-red{ background:radial-gradient(circle at 35% 35%, #ff6a5c, var(--red) 55%, transparent 78%); }
.blob-blue{ background:radial-gradient(circle at 35% 35%, #6c85ff, var(--blue) 55%, transparent 78%); }
.blob-green{ background:radial-gradient(circle at 35% 35%, #3fd196, var(--green) 55%, transparent 78%); }

/* Hero: layered blobs of varying size/speed for depth */
.hero-blobs{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
.hero-blobs .blob-wrap{ opacity:.5; }
@media (max-width:640px){ .hero-blobs .blob{ filter:blur(34px); } }

/* Section-alt / page-head background blobs sit low-opacity behind the dot grid */
.section-alt .blob-wrap, .page-head .blob-wrap{ opacity:.28; }

/* CTA band glow */
.cta-band .blob-wrap{ opacity:.35; mix-blend-mode:screen; }

/* ---------- Orange gradient text treatment (used once, deliberately) ---------- */
.text-flare{
  background:linear-gradient(100deg, var(--orange-light), var(--orange) 45%, var(--orange-deep));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- Warmer hero spotlight ---------- */
.hero-spotlight{
  background:radial-gradient(460px circle at var(--mx,50%) var(--my,20%), rgba(255,122,26,.14), transparent 60%);
}

/* ---------- Footer top edge: quiet orange glow line ---------- */
.footer{ position:relative; }
.footer::before{
  content:""; position:absolute; top:-1px; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--orange), var(--orange-deep), var(--orange), transparent);
  opacity:.55;
}

@media (max-width:640px){
  .hero-network{ opacity:.35; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
  [data-reveal]{ opacity:1; transform:none; }
  .marquee-track, .ticker-track, .brand .mark span, .cta-bars i,
  .eyebrow .dotline span, .cta-band, .btn::after, .blob{ animation:none !important; }
  .hero-network{ display:none; }
  .blob-wrap{ transform:none !important; }
}
