/*
Theme Name: Overroot Tech
Theme URI: https://overroot.com.pk
Author: Overroot Tech
Author URI: https://overroot.com.pk
Description: Custom theme for Overroot Tech. Animated root-network hero, sliding services, two-tap WhatsApp quote form and interactive hero physics.
Version: 1.4.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietary
Text Domain: overroot
*/

@font-face{font-family:"Outfit";font-style:normal;font-weight:100 900;font-display:swap;src:url("assets/fonts/outfit.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url("assets/fonts/inter.woff2") format("woff2")}

:root{--y:#FFBF00;--yd:#D99A00;--k:#0A0A0A;--k2:#1A1A1A;--ink:#111111;--mut:#4A4A4A;--line:#E4E1D8;--paper:#F5F3EC;--rail:88px;--hd:"Outfit",system-ui,-apple-system,"Segoe UI",sans-serif;--bd:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;--pad:72px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--bd);font-size:17px;line-height:1.55;color:var(--ink);background:#fff;overflow-x:hidden}
img,svg{max-width:100%;height:auto}
img{display:block}
a{color:inherit}
h1,h2,h3,p,ul{margin:0}
ul{padding:0;list-style:none}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--ink);outline-offset:2px;box-shadow:0 0 0 6px var(--y)}
.skip{position:absolute;left:-999px;top:8px;z-index:100;background:var(--y);color:var(--ink);padding:10px 16px;border-radius:8px;font-weight:600}
.skip:focus{left:8px}
[hidden]{display:none !important}

/* ---------- Motion ---------- */
@keyframes draw{from{stroke-dashoffset:700}}
@keyframes pop{from{opacity:0;transform:scale(0)}}
@keyframes ring{0%{opacity:.6;transform:scale(1)}100%{opacity:0;transform:scale(2.8)}}
@keyframes run{0%{offset-distance:0%;opacity:0}8%{opacity:1}92%{opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes rise{from{opacity:0;transform:translateY(46px)}}
@keyframes mq{to{transform:translateX(-50%)}}
@keyframes drift{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}
@keyframes cring{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.8)}}
.up{animation:rise .9s cubic-bezier(.2,.8,.2,1) backwards}
.js .reveal{opacity:0;transform:translateY(34px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.js .reveal.in{opacity:1;transform:none}

/* ---------- Shared pieces ---------- */
.eyebrow{font:600 13px var(--bd);letter-spacing:.4em;text-transform:uppercase;color:#333}
.eyebrow-y{color:var(--y)}
.dot-y{color:var(--y)}.dot-w{color:#fff}.dot-d{color:var(--yd)}
.h2{font:800 clamp(34px,4vw,56px)/1.03 var(--hd);letter-spacing:-.02em;margin-top:18px}
.h2-xl{font-size:clamp(38px,4.8vw,68px);line-height:1}
.lead{font-size:18px;line-height:1.6;color:var(--mut);max-width:520px;margin-top:20px}
.btns{display:flex;flex-wrap:wrap;gap:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;font:700 17px var(--hd);padding:17px 30px;border-radius:12px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .2s ease,background .2s ease,color .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn-sm{font-size:15px;padding:11px 20px}
.btn-y{background:var(--y);color:var(--ink)}
.btn-y:hover{background:#FFD23F}
.btn-o{border-color:#fff;color:#fff}
.btn-o:hover{background:#fff;color:var(--ink)}
.btn-k{background:var(--ink);color:#fff}
.btn-ko{border-color:var(--ink);color:var(--ink);background:transparent}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:start}

/* ---------- Side rail (desktop) ---------- */
.rail{position:fixed;left:0;top:0;bottom:0;width:var(--rail);z-index:40;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:20px;padding:18px 0 24px}
.admin-bar .rail{top:32px}
.rail-logo img{height:58px;width:auto}
.rail-nav{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.rail-nav a,.rail-cta{writing-mode:vertical-rl;transform:rotate(180deg);text-decoration:none;font-family:var(--hd)}
.rail-nav a{font-weight:500;font-size:16px;color:#555;padding:12px 10px;border-radius:12px;transition:color .2s,background .2s}
.rail-nav a:hover{color:var(--ink)}
.rail-nav a.is-active{color:var(--ink);background:var(--paper)}
.rail-cta{font-weight:700;font-size:15px;color:var(--ink);background:var(--y);padding:22px 13px;border-radius:12px;transition:background .2s}
.rail-cta:hover{background:#FFD23F}
.main{margin-left:var(--rail);min-width:0}
.topbar,.mmenu,.bbar{display:none}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:var(--k);color:#fff;padding:28px var(--pad) 64px}
.fl{position:absolute;border-radius:50%;background:var(--y);animation:drift 5s ease-in-out infinite}
.hero-top{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.hero-top img{height:46px;width:auto}
.hero-top-links{display:flex;flex-wrap:wrap;align-items:center;gap:22px;font:500 15px var(--bd)}
.hero-top-links a{text-decoration:none}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:32px;align-items:center;margin-top:36px}
.hero-copy{display:flex;flex-direction:column;gap:26px}
.hero-h{font-family:var(--hd);line-height:.92}
.hero-h span{display:block}
.hero-h span span{display:inline}
.h-s{font-size:40px;font-weight:300;margin-bottom:10px}
.h-s2{margin:30px 0 4px}
.h-x{font-size:clamp(54px,6.4vw,100px);font-weight:900;letter-spacing:-.035em;white-space:nowrap}
.h-ai{font-size:clamp(120px,15vw,230px);font-weight:900;letter-spacing:-.04em;line-height:.86;color:var(--y)}
.hero-p{max-width:540px;font-size:19px;line-height:1.55;color:#C9C9C9}
.net{width:100%;max-height:640px}
.ln{fill:none;stroke:var(--y);stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:700;animation:draw 1.5s ease-out backwards}
.lt{stroke-width:3}
.nd{fill:var(--y);transform-box:fill-box;transform-origin:center;animation:pop .55s cubic-bezier(.3,1.6,.5,1) backwards}
.rg{fill:none;stroke:var(--y);stroke-width:2;transform-box:fill-box;transform-origin:center;opacity:0;animation:ring 2.8s ease-out infinite}
.sp{fill:#fff;opacity:0;animation:run 4.2s linear infinite}
.s1{offset-path:path("M320 620 L320 300 L340 150")}
.s2{offset-path:path("M320 540 L232 452 L232 330 L150 250")}
.s3{offset-path:path("M320 500 L420 400 L420 310 L540 250")}
.lb{fill:#fff;font:600 15px var(--bd);animation:rise .6s ease-out backwards}

/* ---------- Marquee ---------- */
.marquee{background:var(--y);color:var(--ink);overflow:hidden;padding:22px 0}
.mq{display:flex;width:max-content;animation:mq 30s linear infinite;font:900 76px/1 var(--hd);letter-spacing:-.02em;white-space:nowrap}
.mq span{padding-right:.3em}
.mq i{font-style:normal;font-weight:300}

/* ---------- Services ---------- */
.svc-head{display:none}
.acc{display:flex;min-height:680px;border-bottom:1px solid var(--line)}
.tab{width:60px;flex:none;border:0;border-left:1px solid var(--line);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;font:500 18px var(--hd);color:var(--ink);transition:background .25s}
.tab:first-child{border-left:0}
.tab:hover{background:#FFF4CC}
.tab.is-open{background:var(--y)}
.tab .tl{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}
.tab .tn,.tab .ts{display:none}
.panel{display:none;flex:1 1 0;min-width:0;padding:44px 40px;gap:32px;align-items:center;flex-wrap:wrap}
.panel.is-open{display:flex;animation:rise .5s ease-out backwards}
.panel-text{flex:1 1 300px;min-width:0;display:flex;flex-direction:column;gap:18px}
.panel-h{font:800 clamp(34px,3.2vw,46px)/1.03 var(--hd);letter-spacing:-.02em}
.panel-text p{font-size:16px;line-height:1.6;color:var(--mut)}
.card{flex:1 1 260px;min-width:0;background:#0D0D0D;color:#fff;border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:13px}
.ic{width:60px;height:60px;fill:none;stroke:var(--y);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.sm{font:600 11px var(--bd);letter-spacing:.24em;text-transform:uppercase;color:var(--y)}
.ck{display:flex;flex-direction:column;gap:11px}
.ck li{position:relative;padding-left:19px;font-size:15px;line-height:1.4;color:#EDEDED}
.ck li::before{content:"";position:absolute;left:0;top:6px;width:8px;height:8px;border-radius:50%;background:var(--y)}
.split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border-top:1px solid #333;padding-top:14px;margin-top:4px;font-size:13px;line-height:1.5;color:#C9C9C9}
.split .sm{margin-bottom:4px}

/* ---------- How it works ---------- */
.how{background:var(--k);color:#fff;padding:96px var(--pad)}
.how .h2{max-width:860px;margin-bottom:56px}
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.step{display:flex;flex-direction:column;gap:14px;padding:34px;border-radius:20px;background:var(--k2)}
.step-n{font:900 84px/1 var(--hd);color:var(--y)}
.step h3{font:700 26px var(--hd)}
.step p{font-size:16px;color:#C9C9C9}
.step-y{background:var(--y);color:var(--ink)}
.step-y .step-n,.step-y p{color:var(--ink)}

/* ---------- Industries ---------- */
.ind{padding:96px var(--pad) 72px;background:linear-gradient(#fff 0,#fff 56%,var(--y) 56%,var(--y) 100%)}
.ind-h{text-align:center;font:500 clamp(28px,3.8vw,54px) var(--hd);letter-spacing:.22em;margin-bottom:56px}
.posters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.poster{min-height:400px;border-radius:18px;background:#0D0D0D;color:#fff;padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;transition:transform .3s ease}
.poster:hover{transform:translateY(-8px)}
.poster-n{font:900 96px/.9 var(--hd);color:var(--y)}
.poster h3{font:800 30px/1.05 var(--hd);margin-bottom:10px}
.poster p{font-size:15px;line-height:1.5;color:#C9C9C9}
.ind-note{text-align:center;margin-top:40px;font:500 16px var(--bd)}

/* ---------- About ---------- */
.about{background:var(--paper);padding:96px var(--pad)}
.dark-card{display:flex;flex-direction:column;gap:18px;padding:40px;border-radius:20px;background:var(--k);color:#fff}
.dark-card h3{font:800 36px/1.08 var(--hd)}
.dark-card p{color:#C9C9C9}

/* ---------- Quote ---------- */
.quote{padding:96px var(--pad)}
.quote-call{margin-top:20px;font-size:16px;color:var(--mut)}
.quote-call a{font-weight:600;color:var(--ink)}
.qcard{border-radius:20px;background:var(--paper);padding:36px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.qstep{font:600 13px var(--bd);letter-spacing:.2em;color:var(--mut)}
.qbar{width:100%;height:6px;border-radius:12px;background:#DDD9CC}
.qbar i{display:block;height:6px;border-radius:12px;background:var(--ink);transition:width .3s}
.qh{font:700 28px/1.15 var(--hd)}
.qhint{font-size:15px;color:var(--mut)}
.qopts{display:flex;flex-wrap:wrap;gap:10px}
.op{font:500 16px var(--bd);padding:12px 18px;min-height:48px;border-radius:12px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer;text-align:left;transition:background .15s,color .15s}
.op:hover{background:#FFF4CC}
.op[aria-pressed="true"]{background:var(--ink);color:#fff}
.qnav{width:100%;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.qback{font:600 16px var(--bd);background:none;border:0;padding:14px 4px;min-height:48px;cursor:pointer;text-decoration:underline}
.qsum{width:100%;background:#fff;border-radius:14px;padding:18px 20px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.45}
.qsum b{font-weight:600}

/* ---------- Footer ---------- */
.foot{position:relative;overflow:hidden;background:var(--k);color:#fff;padding:88px var(--pad) 48px}
.foot-mark{position:absolute;right:-60px;top:-40px;height:620px;width:auto;max-width:none;opacity:.08}
.foot-grid{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px;align-items:end}
.foot-h{font:900 clamp(44px,6.4vw,92px)/.95 var(--hd);letter-spacing:-.03em;margin-bottom:24px}
.foot-contact{display:flex;flex-direction:column;gap:10px;color:#C9C9C9}
.foot-num{font:700 34px var(--hd);color:#fff;text-decoration:none}
.foot-base{position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:64px;padding-top:28px;border-top:1px solid #2E2E2E;font-size:14px;color:#A8A8A8}
.foot-base img{height:40px;width:auto}

/* ---------- Inner pages ---------- */
.pagehead{background:var(--k);color:#fff;padding:28px var(--pad) 64px}
.pagehead img{height:46px;width:auto}
.pagehead .h2{margin-top:56px}
.prose{max-width:820px;padding:64px var(--pad) 96px}
.prose > * + *{margin-top:1.1em}
.prose h2{font:800 34px/1.1 var(--hd)}
.prose h3{font:700 24px/1.2 var(--hd)}
.prose ul{list-style:disc;padding-left:1.3em}
.prose a{text-decoration-thickness:2px;text-underline-offset:3px}

/* ---------- Chat assistant ---------- */
.cb-launch{position:fixed;right:28px;bottom:28px;z-index:60;display:flex;align-items:center;gap:12px}
.cb-tip{background:#fff;color:var(--ink);font:600 14px var(--bd);padding:11px 15px;border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.22)}
.cb-btn{position:relative;width:64px;height:64px;flex:none;border-radius:50%;border:0;background:var(--y);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 28px rgba(0,0,0,.35)}
.cb-btn::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--y);animation:cring 2.2s ease-out infinite}
.cb-btn svg{width:30px;height:30px;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cb-on{position:absolute;right:2px;top:2px;width:14px;height:14px;border-radius:50%;background:#1FAA59;border:2px solid #fff}
.cb-panel{position:fixed;right:28px;bottom:28px;z-index:61;width:390px;max-width:calc(100vw - 24px);height:600px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);background:#fff;border-radius:20px;box-shadow:0 18px 60px rgba(0,0,0,.4);display:flex;flex-direction:column;overflow:hidden}
.cb-head{background:var(--k);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:12px}
.cb-head img{height:38px;width:auto}
.cb-title{flex:1;display:flex;flex-direction:column;gap:2px}
.cb-title b{font:700 17px var(--hd)}
.cb-title span{font-size:12px;color:#C9C9C9;display:flex;align-items:center;gap:6px}
.cb-title i{width:8px;height:8px;border-radius:50%;background:#1FAA59}
.cb-x{width:44px;height:44px;border:0;background:none;color:#fff;font:400 26px var(--hd);cursor:pointer}
.cb-log{flex:1 1 0;min-height:0;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:var(--paper)}
.cb-m{max-width:86%;padding:11px 14px;border-radius:16px;font-size:15px;line-height:1.45;background:#fff;color:var(--ink);align-self:flex-start;animation:rise .3s ease-out backwards}
.cb-m.me{background:var(--ink);color:#fff;align-self:flex-end}
.cb-opts{padding:12px 14px 14px;display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);max-height:210px;overflow-y:auto}
.cb-o{font:500 14px var(--bd);padding:10px 14px;min-height:44px;border-radius:12px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);cursor:pointer;text-align:left}
.cb-o:hover{background:#FFF4CC}
.cb-form{padding:12px 14px 14px;display:flex;gap:8px;border-top:1px solid var(--line)}
.cb-form input[type=text]{flex:1 1 0;min-width:0;font:400 16px var(--bd);padding:12px 14px;border-radius:12px;border:1.5px solid var(--ink)}
.cb-form button{font:700 15px var(--hd);background:var(--y);color:var(--ink);border:0;border-radius:12px;padding:0 18px;min-height:46px;cursor:pointer}
.cb-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

/* ---------- Tablet and phone ---------- */
@media (max-width:1023px){
:root{--pad:20px}
.rail{display:none}
.main{margin-left:0;padding-bottom:70px}
.topbar{display:flex;position:sticky;top:0;z-index:50;background:var(--k);color:#fff;padding:12px 20px;align-items:center;justify-content:space-between;gap:12px}
.topbar img{height:36px;width:auto}
.menu-btn{font:700 15px var(--hd);color:var(--ink);background:var(--y);border:0;border-radius:12px;padding:0 20px;min-height:44px;cursor:pointer}
.mmenu{display:flex;position:fixed;inset:68px 0 0 0;z-index:49;background:var(--y);padding:28px 20px 100px;flex-direction:column;gap:2px;overflow-y:auto}
.mmenu > a{font:900 clamp(38px,11vw,54px)/1.08 var(--hd);letter-spacing:-.02em;color:var(--ink);text-decoration:none;padding:4px 0}
.mmenu p{margin-top:18px;font:500 16px var(--bd)}
.hero{padding:22px 20px 44px}
.hero-top{display:none}
.hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:20px;margin-top:0}
.hero-copy{display:contents}
.hero-h{order:1}
.net{order:2;max-height:none}
.hero-p{order:3;font-size:17px}
.hero .btns{order:4;flex-direction:column}
.hero .btn{width:100%}
.h-s{font-size:24px;margin-bottom:8px}
.h-s2{margin:22px 0 2px}
.h-x{font-size:clamp(44px,14vw,84px)}
.h-ai{font-size:clamp(120px,38vw,220px)}
.lb{font-size:22px}
.lb-wide{text-anchor:end}
.lb-analytics{translate:134px -6px}
.lb-video{translate:109px 54px}
.lt{stroke-width:4}
.marquee{padding:14px 0}
.mq{font-size:44px}
.svc-head{display:block;padding:44px 20px 22px}
.acc{flex-direction:column;min-height:0}
.tab{width:100%;min-height:68px;justify-content:space-between;gap:12px;padding:12px 20px;border-left:0;border-top:1px solid var(--line);text-align:left;font:700 19px/1.2 var(--hd)}
.tab .tl{writing-mode:horizontal-tb;transform:none;white-space:normal;flex:1}
.tab .tn{display:inline;font:500 13px var(--bd);color:#333}
.tab .ts{display:inline;font:500 28px/1 var(--hd)}
.tab .ts::before{content:"+"}
.tab.is-open .ts::before{content:"-"}
.panel{padding:24px 20px 30px;gap:18px}
.panel-text,.card{flex:1 1 100%}
.how,.about,.quote{padding:56px 20px}
.how .h2{margin-bottom:28px}
.steps,.two,.foot-grid{grid-template-columns:minmax(0,1fr)}
.two{gap:28px}
.steps{gap:14px}
.step{padding:24px}
.step-n{font-size:64px}
.ind{padding:56px 20px 44px;background:linear-gradient(#fff 0,#fff 40%,var(--y) 40%,var(--y) 100%)}
.ind-h{letter-spacing:.16em;margin-bottom:24px}
.posters{grid-template-columns:minmax(0,1fr);gap:12px}
.poster{min-height:0;flex-direction:row;justify-content:flex-start;align-items:center;padding:22px}
.poster > div:last-child{flex:1;min-width:0}
.poster-n{font-size:56px}
.poster h3{font-size:22px;margin-bottom:6px}
.poster p{font-size:14px}
.dark-card{padding:28px 24px}
.dark-card h3{font-size:30px}
.qcard{padding:24px 20px}
.qh{font-size:24px}
.foot{padding:56px 20px 36px}
.foot-mark{height:380px;right:-90px;top:-20px}
.foot-grid{gap:28px}
.foot-num{font-size:30px}
.foot-base{margin-top:40px}
.pagehead{padding:28px 20px 44px}
.pagehead img{display:none}
.pagehead .h2{margin-top:0}
.prose{padding:40px 20px 64px}
.bbar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:55;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 12px;background:#fff;border-top:1px solid var(--line)}
.bbar a{font:700 15px var(--hd);min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:12px;text-decoration:none;border:2px solid transparent}
.bb-y{background:var(--y);color:var(--ink)}
.bb-o{border-color:var(--ink) !important;color:var(--ink)}
.bb-k{background:var(--ink);color:#fff}
.cb-launch{right:14px;bottom:84px}
.cb-tip{display:none}
.cb-btn{width:56px;height:56px}
.cb-panel{right:10px;left:10px;bottom:80px;width:auto;max-width:none;height:auto;top:76px;max-height:none}
}
@media (min-width:1024px) and (max-width:1279px){
:root{--pad:44px}
.tab{width:52px;font-size:16px}
.panel{padding:36px 28px}
.posters{grid-template-columns:repeat(2,minmax(0,1fr))}
.poster{min-height:300px}
}
@media (max-width:782px){.admin-bar .topbar{top:46px}.admin-bar .mmenu{top:114px}}
@media (min-width:783px) and (max-width:1023px){.admin-bar .topbar{top:32px}.admin-bar .mmenu{top:100px}}
@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
.ln,.nd,.lb,.up,.fl,.mq,.panel.is-open,.cb-m{animation:none}
.rg,.sp{display:none}
.cb-btn::after{animation:none}
.js .reveal{opacity:1;transform:none;transition:none}
}

/* Keep the original root geometry. Only the service points can be nudged. */
.service-node{cursor:grab;touch-action:none;outline:none}
.service-node:active{cursor:grabbing}
.node-hit{fill:transparent;pointer-events:all;touch-action:none}
@media(any-pointer:coarse){.node-hit{r:40px}}
.node-face{animation:pop .55s cubic-bezier(.3,1.6,.5,1) backwards;pointer-events:none}
.node-face path{fill:none;stroke:#15120a;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.service-node:focus-visible .node-hit{stroke:white;stroke-width:2}
.net .lb{pointer-events:none}
.service-more{padding:20px var(--pad) 28px}
.service-more:empty{display:none}
.panel-text a,.service-more a,.about a{font:650 16px var(--bd);text-underline-offset:4px}
.foot-lead>p{max-width:38em;margin:20px 0;color:#dfdfd9}
.content-links{display:flex;gap:22px;flex-wrap:wrap;padding:26px 0 0}
.content-links a{text-underline-offset:4px}
.prose h2[id]{scroll-margin-top:85px}
.insight-card{border-top:1px solid var(--line);padding:25px 0}
.insight-card p{margin-top:.8em}
@media(prefers-reduced-motion:reduce){.node-face{animation:none}.service-node{cursor:default}}
#industries .poster{justify-content:flex-end;min-height:245px}
@media(max-width:1023px){#industries .poster{min-height:0}}
.foot-whatsapp,.bbar.bbar-whatsapp{grid-template-columns:1fr}
.hero.playing .fl{animation:none;z-index:3;cursor:grab;touch-action:none}
.hero.playing .fl::after{content:"";position:absolute;inset:-12px;border-radius:50%}
.hero-h .letter{display:inline-block;cursor:grab;touch-action:pan-y;user-select:none}
.hero .loose-icon{width:34px;height:34px;position:absolute;top:0;left:0;z-index:3;background:transparent;color:#fff;padding:6px;touch-action:none;cursor:grab}
.hero .hero-top,.hero .btns{z-index:5}.hero .btns{position:relative}
.hero .net{overflow:visible}
@media(prefers-reduced-motion:reduce){.hero .fl{animation:none}}

/* Faint service artwork stays behind text and never receives pointer events. */
.motion-section{position:relative;isolation:isolate}
.edge-art{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1;color:#443b28}
.hero .edge-art,.how .edge-art,.foot .edge-art,.pagehead .edge-art{color:#fff}
.edge-art svg{position:absolute;width:clamp(54px,6vw,94px);fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;opacity:.085;animation:section-drift 14s ease-in-out -3s infinite alternate;animation-play-state:paused}
.edge-art svg:first-child{left:1%;top:10%}
.edge-art svg:last-child{right:clamp(30px,6vw,90px);bottom:12%;animation-duration:17s;animation-delay:-9s;animation-direction:alternate-reverse}
.in-view>.edge-art svg{animation-play-state:running}
@keyframes section-drift{from{transform:translate(0,-14px) rotate(-8deg)}to{transform:translate(clamp(22px,4vw,62px),30px) rotate(11deg)}}
.spring-heading{display:inline-block;touch-action:pan-y;cursor:grab}
.card .ic{cursor:grab;touch-action:pan-y;pointer-events:bounding-box}
.card .ic:focus-visible{outline:2px solid var(--y);outline-offset:3px;border-radius:6px}
.spring-heading:active,.card .ic:active{cursor:grabbing}
.rail-nav a{padding:8px;font-size:14px}.rail-cta{border-radius:10px}
@media(max-width:1023px){
 .mmenu{inset:64px 12px auto auto;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 170px);padding:8px 15px;background:#151515;border:1px solid #343434;border-radius:14px;box-shadow:0 14px 36px #0004;gap:0}
 .mmenu>a{display:flex;align-items:center;min-height:44px;padding:8px 4px;color:#fff;font:550 17px/1.25 var(--hd);letter-spacing:0;border-bottom:1px solid #343434}
 .mmenu>a:last-child{border:0;color:var(--y)}.mmenu>a:hover,.mmenu>a:focus-visible{color:var(--y)}
 .bbar a,.menu-btn{border-radius:10px}
 .edge-art svg{width:50px;opacity:.065}
}
@media(prefers-reduced-motion:reduce){.edge-art svg{animation:none}.spring-heading,.card .ic{cursor:default}}

.hero-h .hero-stop,
.hero-h .stop-ink { display: inline-block }
@media (prefers-reduced-motion: no-preference) {
  .hero.playing .hero-stop { cursor: grab; user-select: none; touch-action: pan-y }
  .hero-h .dot-y .stop-ink { animation: overroot-stop-hop 4.8s .8s infinite }
  .hero-h .dot-w .stop-ink { animation: overroot-stop-dash 4.8s 1.3s infinite }
}
@keyframes overroot-stop-hop {
  0%, 24%, 100% { transform: translateY(0) }
  9% { transform: translateY(-.13em); animation-timing-function: ease-in }
  16% { transform: translateY(0) }
  20% { transform: translateY(-.025em) }
}
@keyframes overroot-stop-dash {
  0%, 25%, 100% { transform: translateX(0) }
  7% { transform: translateX(-.025em); animation-timing-function: ease-in }
  14% { transform: translateX(.10em) }
  21% { transform: translateX(-.012em) }
}

.pull-word,.pull-letter,.hero-h .pull-word,.hero-h .pull-letter {display:inline-block}
.pull-word{white-space:nowrap}
.pull-letter,.hero-stop,.card .ic{position:relative;touch-action:none;cursor:grab}
.pull-letter:active,.hero-stop:active,.card .ic:active{z-index:4;cursor:grabbing}
@media(prefers-reduced-motion:no-preference){
 .hero.playing .fl{animation:overroot-drift 5s ease-in-out infinite alternate}
 .hero.playing .fl:nth-of-type(even){animation-direction:alternate-reverse;animation-duration:6.4s}
 .hero.playing .fl:active{animation-play-state:paused}
 .net .nd,.net .node-face{transform-origin:center;transform-box:fill-box;animation:overroot-breathe 3.7s ease-in-out infinite alternate}
 .hero.playing .hero-stop,.card .ic{touch-action:none}
}
@keyframes overroot-drift{0%{translate:-12px -12px}50%{translate:8px 8px}100%{translate:18px -6px}}
@keyframes overroot-breathe{from{scale:.93}to{scale:1.08}}
@media(prefers-reduced-motion:reduce){.pull-letter,.hero-stop,.card .ic{cursor:default;touch-action:auto}}

.main,.rail,.topbar,.mmenu,.bbar{-webkit-user-select:none;user-select:none}
input,textarea,[contenteditable="true"]{-webkit-user-select:text;user-select:text}
.meeting-open{display:inline-flex;align-items:center;gap:.6em;color:inherit;background:transparent;border:2px solid currentColor;cursor:pointer}
.meeting-open svg{flex:none}.meeting-open[hidden],.meeting-form[hidden]{display:none}
.quote .meeting-open{margin-top:20px}.mmenu .meeting-open{color:white;margin:.5em 0}
#meeting-dialog{box-sizing:border-box;width:min(620px,calc(100% - 24px));max-height:90dvh;margin:auto;padding:clamp(22px,4vw,42px);border:1px solid #dbd6c9;border-radius:22px;color:#171714;background:#fffcf6;box-shadow:0 24px 90px #0004}
#meeting-dialog::backdrop{background:#0d0d10b8}
#meeting-dialog h2{font:750 clamp(30px,4vw,44px)/1.04 var(--hd);letter-spacing:-.045em;margin:0 36px 12px 0}
#meeting-dialog p{font:400 15px/1.5 var(--bd);color:#4b4b44}
.meeting-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:1px solid #d4cfc3;border-radius:50%;font-size:23px;background:white;cursor:pointer}
.meeting-form{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.meeting-form label{display:grid;align-content:start;gap:5px;font:600 14px var(--bd)}
.meeting-form :is(input,select,textarea){min-width:0;width:100%;font:400 16px var(--bd);color:#171714;background:white;border:1px solid #b5b3ab;border-radius:7px;padding:9px}
.meeting-form .wide{grid-column:1/-1}
.meeting-form .meeting-trap{position:absolute;width:1px;height:1px;clip-path:inset(100%);overflow:hidden}
.meeting-form .meeting-consent{display:flex;align-items:flex-start;gap:10px;font-weight:400}
.meeting-consent input{width:17px;height:17px;flex:none}
.meeting-status:not(:empty){margin-top:14px}
@media(max-width:500px){.meeting-form{grid-template-columns:minmax(0,1fr)}}

.hero-top-links .meeting-open{padding:11px 20px;font-size:15px}
.mobile-quote{margin-left:auto;white-space:nowrap;background:var(--y);color:var(--ink);font:700 15px var(--hd);text-decoration:none;padding:12px;border-radius:10px}
.topbar .menu-btn{background:transparent;color:white;border:1px solid #666;padding:0 12px}
@media(max-width:400px){.topbar{gap:8px;padding-inline:12px}.topbar img{width:clamp(80px,28vw,112px);height:auto}}
.wa-float{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:48;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#116942;color:#fff;box-shadow:0 3px 16px #0004}
.wa-float span{position:absolute;right:calc(100% + 8px);white-space:nowrap;background:#151515;color:white;font:600 14px var(--bd);padding:8px 12px;border-radius:7px;visibility:hidden}
.wa-float:is(:hover,:focus-visible) span{visibility:visible}
.marquee{touch-action:pan-y pinch-zoom;cursor:grab;user-select:none}
.marquee:active{cursor:grabbing}
.marquee:focus-visible{outline-offset:-4px}
