/* ============================================================
   LOGO IDEAS — Homepage Redesign (bright, friendly, dynamic)
   Fonts: Bricolage Grotesque (display) + Manrope (body)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Manrope:wght@400;500;600;700&display=swap');

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

:root {
  /* Brand constants (from the Logo Ideas mark) */
  --green:#a7cf3b; --blue:#4377bc; --pink:#e56681; --orange:#f7921e; --gray:#606161;
  --green-d:#7fa520; --blue-d:#2f5a96; --pink-d:#c84a66; --orange-d:#d9760a;

  --font-display:'Bricolage Grotesque', sans-serif;
  --font-body:'Manrope', system-ui, sans-serif;

  --max:1240px;
  --nav-h:80px;
  --radius:22px;
  --radius-sm:14px;
  --ease:cubic-bezier(.16,1,.3,1);
  --spring:cubic-bezier(.34,1.56,.64,1);

  --spectrum:linear-gradient(100deg,var(--green),var(--blue),var(--pink),var(--orange));

  /* ---- Default theme: SPECTRUM (bright) ---- */
  --bg:#ffffff;
  --bg-alt:#f6f7f3;
  --ink:#1b1e23;
  --muted:#6c7077;
  --card:#ffffff;
  --line:#ececec;
  --primary:var(--blue);
  --primary-d:var(--blue-d);
  --on-primary:#ffffff;
  --accent:var(--orange);
  --hero-tint:#fbfcfa;
}

[data-theme="midnight"]{
  --bg:#0d1017;
  --bg-alt:#141925;
  --ink:#f1f3f6;
  --muted:#9aa1ad;
  --card:#161b27;
  --line:rgba(255,255,255,.10);
  --primary:var(--orange);
  --primary-d:var(--orange-d);
  --on-primary:#1b1207;
  --accent:var(--green);
  --hero-tint:#0d1017;
}

[data-theme="sunset"]{
  --bg:#fff8f1;
  --bg-alt:#ffeede;
  --ink:#2c1d11;
  --muted:#83705f;
  --card:#fffdfb;
  --line:#f2e2d0;
  --primary:var(--orange);
  --primary-d:var(--orange-d);
  --on-primary:#ffffff;
  --accent:var(--pink);
  --hero-tint:#fff8f1;
}

html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  transition:background .5s var(--ease), color .5s var(--ease);
}
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
img{ display:block; max-width:100%; }
section{ position:relative; }

/* Hide native cursor on fine pointers (custom cursor active) */
@media (hover:hover) and (pointer:fine){
  body.cursor-on, body.cursor-on a, body.cursor-on button { cursor:none; }
}

.container{ width:100%; max-width:var(--max); margin:0 auto; padding:0 2rem; }

h1,h2,h3,h4{ font-family:var(--font-display); line-height:1.05; letter-spacing:-.02em; font-weight:700; }

.eyebrow{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--font-display); font-weight:700; font-size:.78rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--muted);
}
.eyebrow img{ width:18px; height:18px; }
.spectrum-text{
  background:var(--spectrum); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ============ SCROLL PROGRESS ============ */
.progress{
  position:fixed; top:0; left:0; height:3px; width:100%;
  transform:scaleX(0); transform-origin:0 50%;
  background:var(--spectrum); z-index:2000;
}

/* ============ CUSTOM CURSOR ============ */
.cursor-dot,.cursor-ring{
  position:fixed; top:0; left:0; border-radius:50%;
  pointer-events:none; z-index:3000; mix-blend-mode:normal;
  translate:-50% -50%;
}
.cursor-dot{ width:7px; height:7px; background:var(--primary); transition:background .3s, opacity .3s; }
.cursor-ring{
  width:38px; height:38px; border:1.5px solid var(--primary);
  transition:width .25s var(--spring), height .25s var(--spring), background .25s, border-color .3s, opacity .3s;
}
.cursor-ring.hover{ width:62px; height:62px; background:color-mix(in srgb, var(--primary) 12%, transparent); border-color:transparent; }
.cursor-dot.hover{ opacity:0; }
@media (hover:none),(pointer:coarse){ .cursor-dot,.cursor-ring{ display:none; } }

/* ============ NAV ============ */
.nav{
  position:fixed; inset:0 0 auto 0; height:var(--nav-h); z-index:1000;
  display:flex; align-items:center;
  transition:background .4s var(--ease), box-shadow .4s, height .4s;
}
.nav.scrolled{
  height:66px;
  background:color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter:blur(16px) saturate(1.4);
  box-shadow:0 1px 0 var(--line), 0 10px 30px rgba(20,20,20,.05);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  width:100%; max-width:var(--max); margin:0 auto; padding:0 2rem;
}
.nav__logo img{ height:30px; transition:transform .3s var(--spring); }
.nav__logo:hover img{ transform:scale(1.04) rotate(-1deg); }
[data-theme="midnight"] .nav__logo img{ filter:brightness(0) invert(1) drop-shadow(0 0 0 transparent); }
.nav__links{ display:flex; align-items:center; gap:2.1rem; }
.nav__links a{
  position:relative; font-family:var(--font-display); font-weight:600; font-size:.92rem; color:var(--ink);
  padding:.25rem 0; white-space:nowrap;
}
.nav__links a:not(.nav__cta)::after{
  content:''; position:absolute; left:0; bottom:-2px; height:2px; width:0; border-radius:2px;
  background:var(--spectrum); transition:width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after{ width:100%; }
.nav__cta{
  background:var(--ink); color:var(--bg)!important; padding:.7rem 1.6rem; border-radius:100px;
  font-weight:700; font-size:.88rem; line-height:1; white-space:nowrap; letter-spacing:.01em;
  transition:transform .3s var(--spring), background .3s;
}
.nav__cta:hover{ transform:translateY(-2px); background:var(--primary); color:var(--on-primary)!important; }
.nav__toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px; }
.nav__toggle span{ width:26px; height:2.5px; background:var(--ink); border-radius:3px; transition:.3s; }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--font-display); font-weight:700; font-size:.98rem;
  padding:1rem 1.9rem; border-radius:100px; border:none; cursor:pointer; white-space:nowrap;
  transition:transform .3s var(--spring), box-shadow .3s, background .3s, color .3s;
  will-change:transform;
}
.btn svg{ width:18px; height:18px; }
.btn--primary{ background:var(--primary); color:var(--on-primary); box-shadow:0 10px 26px -8px color-mix(in srgb,var(--primary) 70%, transparent); }
.btn--primary:hover{ box-shadow:0 16px 34px -8px color-mix(in srgb,var(--primary) 80%, transparent); }
.btn--accent{ background:var(--accent); color:#fff; box-shadow:0 10px 26px -8px color-mix(in srgb,var(--accent) 70%, transparent); }
.btn--outline{ background:transparent; color:var(--ink); border:1.5px solid var(--line); }
.btn--outline:hover{ border-color:var(--ink); }

/* QUOTE MODAL */
.qmodal-overlay{
  position:fixed; inset:0; background:rgba(20,22,30,.55); backdrop-filter:blur(4px);
  display:none; align-items:center; justify-content:center; z-index:999; padding:1.5rem;
}
.qmodal-overlay.open{ display:flex; }
.qmodal{
  background:var(--card); border-radius:var(--radius); max-width:520px; width:100%;
  padding:2.4rem; position:relative; max-height:90vh; overflow-y:auto;
  box-shadow:0 40px 80px -30px rgba(20,22,30,.5);
}
.qmodal__close{
  position:absolute; top:1.2rem; right:1.2rem; width:36px; height:36px; border-radius:50%;
  border:1.5px solid var(--line); background:transparent; display:grid; place-items:center;
  cursor:pointer; color:var(--ink); transition:background .2s, transform .2s;
}
.qmodal__close:hover{ background:var(--line); transform:rotate(90deg); }
.qmodal__close i{ width:18px; height:18px; }
.qmodal h3{ font-size:1.5rem; margin-bottom:.4rem; }
.qmodal__sub{ color:var(--muted); font-size:.92rem; margin-bottom:1.6rem; }
.qfield{ margin-bottom:1.1rem; display:flex; flex-direction:column; gap:.4rem; }
.qfield label{ font-family:var(--font-display); font-weight:700; font-size:.82rem; color:var(--ink); }
.qfield input, .qfield textarea{
  font:inherit; font-size:.96rem; padding:.75rem .95rem; border-radius:12px;
  border:1.5px solid var(--line); background:var(--bg); color:var(--ink); resize:vertical;
  transition:border-color .2s;
}
.qfield input:focus, .qfield textarea:focus{ outline:none; border-color:var(--primary); }
.qcaptcha{
  display:flex; align-items:center; gap:.8rem; background:var(--bg); border:1.5px solid var(--line);
  border-radius:12px; padding:.7rem .95rem;
}
.qcaptcha__q{ font-family:var(--font-display); font-weight:800; font-size:1.05rem; white-space:nowrap; }
.qcaptcha input{ flex:1; }
.qmodal__err{ color:#d84343; font-size:.85rem; margin-top:-.4rem; margin-bottom:.8rem; display:none; }
.qmodal__err.show{ display:block; }
.qmodal__success{ text-align:center; padding:1rem 0; }
.qmodal__success i{ width:52px; height:52px; color:var(--green-d); margin-bottom:1rem; }
.qmodal__success h3{ margin-bottom:.5rem; }
.qmodal .btn{ width:100%; justify-content:center; margin-top:.4rem; border:none; cursor:pointer; }
.btn--lg{ padding:1.15rem 2.2rem; font-size:1.05rem; }

/* ============ HERO ============ */
.hero{
  min-height:100vh; display:flex; align-items:center; padding-top:var(--nav-h);
  background:var(--hero-tint); overflow:hidden;
}
.hero__blobs{ position:absolute; inset:0; pointer-events:none; z-index:0; }
.hero__blob{ position:absolute; border-radius:50%; filter:blur(46px); opacity:.55; will-change:transform; }
.b1{ width:520px; height:520px; background:radial-gradient(circle,var(--orange),transparent 65%); top:-120px; left:-80px; }
.b2{ width:560px; height:560px; background:radial-gradient(circle,var(--blue),transparent 65%); top:-40px; right:-120px; }
.b3{ width:480px; height:480px; background:radial-gradient(circle,var(--green),transparent 65%); bottom:-160px; left:18%; }
.b4{ width:420px; height:420px; background:radial-gradient(circle,var(--pink),transparent 65%); bottom:-120px; right:14%; }
[data-theme="midnight"] .hero__blob{ opacity:.4; }

.hero__inner{
  position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; gap:3rem; align-items:center;
  width:100%; max-width:var(--max); margin:0 auto; padding:0 2rem;
}
.hero__h1{
  font-size:clamp(3rem,6.4vw,5.6rem); font-weight:800; line-height:.98; margin:1.4rem 0 1.5rem;
}
.hero__h1 .word{ display:inline-block; opacity:0; transform:translateY(40%); }
.hero.in .hero__h1 .word{ animation:wordUp .8s var(--ease) forwards; }
@keyframes wordUp{ to{ opacity:1; transform:none; } }
.hero__sub{ font-size:1.18rem; color:var(--muted); max-width:480px; margin-bottom:.6rem; }
.hero__local{
  display:inline-flex; align-items:center; gap:.5rem; font-weight:600; font-size:.9rem; color:var(--ink);
  background:var(--card); border:1px solid var(--line); padding:.45rem .9rem; border-radius:100px; margin-bottom:2rem;
}
.hero__local i{ width:15px; height:15px; color:var(--accent); }
.hero__ctas{ display:flex; gap:1rem; flex-wrap:wrap; }

/* floating service cluster */
.hero__cluster{ position:relative; height:480px; }
.float-card{
  position:absolute; display:flex; flex-direction:column; gap:.5rem;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:1.15rem 1.25rem; box-shadow:0 22px 50px -22px rgba(20,30,50,.3); width:210px;
  will-change:transform;
}
.float-card .ic{
  width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:#fff;
}
.float-card .ic i{ width:24px; height:24px; }
.float-card b{ font-family:var(--font-display); font-size:1rem; }
.float-card span{ font-size:.82rem; color:var(--muted); }
.fc1{ top:6%; left:2%; }
.fc2{ top:0; right:0; }
.fc3{ top:40%; left:24%; z-index:2; }
.fc4{ bottom:6%; left:-2%; }
.fc5{ bottom:0; right:6%; }
.hero__ring{
  position:absolute; width:160px; height:160px; top:30%; right:30%;
  opacity:.9; animation:spin 26s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ============ MARQUEE ============ */
.marquee{ overflow:hidden; padding:1.1rem 0; background:var(--ink); color:var(--bg); }
.marquee__track{ display:flex; gap:2.6rem; width:max-content; animation:marq 28s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
.marquee__item{ display:inline-flex; align-items:center; gap:.8rem; font-family:var(--font-display); font-weight:700; font-size:1.05rem; letter-spacing:.01em; }
.marquee__item .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); }
@keyframes marq{ to{ transform:translateX(-50%); } }

/* ============ STATS ============ */
.stats{ padding:4.5rem 0; background:var(--bg); }
.stats__grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:1.5rem; max-width:var(--max); margin:0 auto; padding:0 2rem; }
.stat{ text-align:center; padding:1rem .5rem; position:relative; }
.stat__num{ font-family:var(--font-display); font-weight:800; font-size:clamp(2.4rem,4vw,3.4rem); line-height:1; }
.stat:nth-child(1) .stat__num{ color:var(--orange); }
.stat:nth-child(2) .stat__num{ color:var(--blue); }
.stat:nth-child(3) .stat__num{ color:var(--pink); }
.stat:nth-child(4) .stat__num{ color:var(--green-d); }
.stat:nth-child(5) .stat__num{ color:var(--gray); }
.stat__label{ font-size:.82rem; color:var(--muted); margin-top:.5rem; font-weight:600; }
[data-theme="midnight"] .stat:nth-child(5) .stat__num{ color:#c7ccd4; }

/* ============ SECTION SHELL ============ */
.section{ padding:7rem 0; }
.section--alt{ background:var(--bg-alt); }
.section-head{ max-width:720px; margin:0 auto 3.5rem; text-align:center; }
.section-head h2{ font-size:clamp(2.2rem,4.2vw,3.4rem); font-weight:800; margin:1rem 0; }
.section-head p{ font-size:1.1rem; color:var(--muted); }

/* ============ SERVICES — pinned horizontal scroll scene ============ */
.scene{ height:340vh; position:relative; }
.scene__sticky{ position:sticky; top:0; height:100vh; display:flex; flex-direction:column; justify-content:flex-start; overflow:hidden; padding-top:calc(var(--nav-h) + 0.5rem); }
.scene__head{ flex:0 0 auto; }
.scene__body{ flex:1 1 auto; display:flex; align-items:center; min-height:0; }
.scene__head{ max-width:var(--max); margin:0 auto 1.8rem; padding:0 2rem; width:100%; display:flex; align-items:flex-end; justify-content:space-between; gap:2rem; }
.scene__head h2{ font-size:clamp(1.7rem,3vw,2.8rem); font-weight:800; }
.scene__hint{ font-size:.85rem; color:var(--muted); display:inline-flex; align-items:center; gap:.5rem; white-space:nowrap; }
.scene__hint i{ width:16px; height:16px; }
.track{ display:flex; gap:1.6rem; padding:0 max(2rem, calc((100vw - var(--max))/2 + 2rem)); will-change:transform; }
.svc{
  flex:0 0 clamp(300px,30vw,400px); background:var(--card); border:1px solid var(--line);
  border-radius:28px; padding:2.2rem; min-height:clamp(280px,48vh,440px); display:flex; flex-direction:column;
  transition:transform .4s var(--ease), box-shadow .4s; position:relative; overflow:hidden;
}
.svc:hover{ transform:translateY(-8px); box-shadow:0 30px 60px -28px rgba(30,40,60,.4); }
.svc__ic{ width:62px; height:62px; border-radius:18px; display:grid; place-items:center; color:#fff; margin-bottom:1.4rem; }
.svc__ic i{ width:30px; height:30px; }
.svc__no{ position:absolute; top:1.6rem; right:1.9rem; font-family:var(--font-display); font-weight:800; font-size:2.4rem; color:var(--line); }
.svc h3{ font-size:1.55rem; margin-bottom:.7rem; }
.svc p{ color:var(--muted); font-size:.98rem; margin-bottom:auto; }
.svc__link{ display:inline-flex; align-items:center; gap:.5rem; margin-top:1.6rem; font-family:var(--font-display); font-weight:700; font-size:.92rem; }
.svc__link i{ width:17px; height:17px; transition:transform .3s var(--ease); }
.svc:hover .svc__link i{ transform:translateX(5px); }
.svc--feat{ background:linear-gradient(150deg,var(--blue),var(--blue-d)); color:#fff; border-color:transparent; }
.svc--feat p{ color:rgba(255,255,255,.8); }
.svc--feat .svc__no{ color:rgba(255,255,255,.18); }

/* ============ PILLARS ============ */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.pillar{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:2.2rem; transition:transform .4s var(--ease), box-shadow .4s; }
.pillar:hover{ transform:translateY(-6px); box-shadow:0 24px 50px -26px rgba(30,40,60,.35); }
.pillar__num{ font-family:var(--font-display); font-weight:800; font-size:1.1rem; width:54px; height:54px; border-radius:16px; display:grid; place-items:center; color:#fff; margin-bottom:1.3rem; }
.pillar:nth-child(1) .pillar__num{ background:var(--green-d); }
.pillar:nth-child(2) .pillar__num{ background:var(--blue); }
.pillar:nth-child(3) .pillar__num{ background:var(--pink); }
.pillar h3{ font-size:1.3rem; margin-bottom:.6rem; }
.pillar p{ color:var(--muted); font-size:.96rem; }

/* ============ INDUSTRIES ============ */
.chips{ display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; max-width:880px; margin:0 auto; }
.chip{
  padding:.65rem 1.3rem; border-radius:100px; font-family:var(--font-display); font-weight:700; font-size:.92rem;
  border:1.5px solid var(--line); background:var(--card); transition:transform .25s var(--spring), background .25s, color .25s, border-color .25s;
}
.chip:hover{ transform:translateY(-3px) scale(1.04); color:#fff; border-color:transparent; }
.chip:nth-child(4n+1):hover{ background:var(--green-d); }
.chip:nth-child(4n+2):hover{ background:var(--blue); }
.chip:nth-child(4n+3):hover{ background:var(--pink); }
.chip:nth-child(4n+4):hover{ background:var(--orange); }

/* ============ TESTIMONIALS ============ */
.tgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.tcard{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:2rem; position:relative; }
.tcard__mark{ font-family:var(--font-display); font-weight:800; font-size:3.4rem; line-height:.6; background:var(--spectrum); -webkit-background-clip:text; background-clip:text; color:transparent; }
.tcard p{ font-size:1rem; line-height:1.65; margin:1rem 0 1.6rem; }
.tcard__who{ display:flex; align-items:center; gap:.8rem; }
.tcard__av{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center; color:#fff; font-family:var(--font-display); font-weight:800; }
.tcard:nth-child(1) .tcard__av{ background:var(--orange); }
.tcard:nth-child(2) .tcard__av{ background:var(--blue); }
.tcard:nth-child(3) .tcard__av{ background:var(--pink); }
.tcard__name{ font-family:var(--font-display); font-weight:700; }
.tcard__role{ font-size:.82rem; color:var(--muted); }

/* ============ CTA ============ */
.cta{ padding:7rem 0; text-align:center; position:relative; overflow:hidden; color:#fff; background:var(--ink); }
.cta__blobs{ position:absolute; inset:0; opacity:.5; }
.cta__blobs span{ position:absolute; width:420px; height:420px; border-radius:50%; filter:blur(50px); }
.cta__blobs span:nth-child(1){ background:var(--orange); top:-160px; left:6%; }
.cta__blobs span:nth-child(2){ background:var(--blue); bottom:-180px; right:6%; }
.cta__blobs span:nth-child(3){ background:var(--pink); top:30%; left:42%; width:300px; height:300px; }
.cta__inner{ position:relative; z-index:1; max-width:760px; margin:0 auto; padding:0 2rem; }
.cta h2{ font-size:clamp(2.4rem,4.6vw,4rem); font-weight:800; margin-bottom:1.1rem; }
.cta p{ color:rgba(255,255,255,.75); font-size:1.15rem; max-width:560px; margin:0 auto 2.4rem; }
.cta__btns{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.cta .btn--outline{ color:#fff; border-color:rgba(255,255,255,.4); }
.cta .btn--outline:hover{ border-color:#fff; background:rgba(255,255,255,.08); }

/* ============ FOOTER ============ */
.footer{ background:var(--bg-alt); padding:5rem 0 2.4rem; border-top:1px solid var(--line); }
.footer__grid{ display:grid; grid-template-columns:1.8fr 1fr 1fr 1.2fr; gap:2.5rem; padding-bottom:2.6rem; border-bottom:1px solid var(--line); }
.footer__logo{ height:30px; margin-bottom:1rem; }
[data-theme="midnight"] .footer__logo{ filter:brightness(0) invert(1); }
.footer__desc{ color:var(--muted); font-size:.92rem; max-width:300px; margin-bottom:1rem; }
.footer__area{ font-size:.78rem; color:var(--muted); }
.footer__ct{ font-family:var(--font-display); font-weight:700; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:1.1rem; }
.footer__links{ display:flex; flex-direction:column; gap:.6rem; }
.footer__links a{ color:var(--muted); font-size:.92rem; transition:color .2s; }
.footer__links a:hover{ color:var(--primary); }
.footer__bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; padding-top:1.6rem; }
.footer__copy{ font-size:.82rem; color:var(--muted); }
.footer__badges{ display:flex; gap:.6rem; }
.footer__badge{ font-family:var(--font-display); font-weight:800; font-size:.8rem; color:var(--muted); border:1.5px solid var(--line); border-radius:8px; padding:3px 9px; }

/* ============ THEME SWITCHER ============ */
.themer{
  position:fixed; right:1.2rem; bottom:1.2rem; z-index:1500;
  display:flex; align-items:center; gap:.5rem; background:var(--card); border:1px solid var(--line);
  border-radius:100px; padding:.5rem .6rem; box-shadow:0 16px 40px -16px rgba(20,30,50,.35);
}
.themer__label{ font-size:.72rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.08em; padding-left:.5rem; }
.themer__dot{ width:26px; height:26px; border-radius:50%; border:2px solid transparent; cursor:pointer; transition:transform .25s var(--spring); }
.themer__dot:hover{ transform:scale(1.15); }
.themer__dot.active{ border-color:var(--ink); }
.themer__dot[data-t="spectrum"]{ background:conic-gradient(var(--green),var(--blue),var(--pink),var(--orange),var(--green)); }
.themer__dot[data-t="midnight"]{ background:#0d1017; }
.themer__dot[data-t="sunset"]{ background:linear-gradient(135deg,var(--orange),var(--pink)); }

/* ============ REVEAL ============ */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.d1{ transition-delay:.08s; } .d2{ transition-delay:.16s; } .d3{ transition-delay:.24s; } .d4{ transition-delay:.32s; }

@media (prefers-reduced-motion:reduce){
  *{ animation:none!important; transition-duration:.01ms!important; }
  .hero__h1 .word{ opacity:1; transform:none; }
  .reveal{ opacity:1; transform:none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .hero__inner{ grid-template-columns:1fr; }
  .hero__cluster{ display:none; }
  .stats__grid{ grid-template-columns:repeat(3,1fr); }
  .pillars,.tgrid{ grid-template-columns:1fr; }
  .footer__grid{ grid-template-columns:1fr 1fr; }
  .scene{ height:auto; }
  .scene__sticky{ position:static; height:auto; padding:5rem 0; }
  .track{ flex-wrap:wrap; transform:none!important; padding:0 2rem; }
  .svc{ flex:1 1 100%; min-height:auto; }
  .scene__hint{ display:none; }
}
@media (max-width:680px){
  .nav__links{ display:none; }
  .nav__toggle{ display:flex; }
  .stats__grid{ grid-template-columns:1fr 1fr; }
  .footer__grid{ grid-template-columns:1fr; }
  .section{ padding:4.5rem 0; }
  .container{ padding:0 1.4rem; }
}
/* Short viewports: un-pin the services scene so the head never overlaps cards */
@media (min-width:981px) and (max-height:760px){
  .scene{ height:auto; }
  .scene__sticky{ position:static; height:auto; padding:5rem 0 4rem; }
  .scene__body{ display:block; }
  .track{ flex-wrap:nowrap; transform:none!important; overflow-x:auto; padding:0.4rem max(2rem, calc((100vw - var(--max))/2 + 2rem)); scroll-snap-type:x mandatory; }
  .svc{ scroll-snap-align:start; min-height:auto; }
  .scene__hint i{ display:none; }
}
