/* Marketing Agency SG: 3D homepage (front page only). Everything is prefixed h3d-. */
body.home-3d{background:#041c30}
.h3d{--ink:#041c30;--blue:#066aab;--blue-d:#055a91;--sky:#4fb3f0;--pale:#d7eefc;--red:#ED1C24;--red-lt:#ff5a5f;--amber:#FFBC58;--paper:#fff;--mist:#eef2f5;--text:#1d2328;--muted:#56606a;--line:#dde3e8;--hh:var(--header-h,64px);font-size:1.0625rem;line-height:1.65;color:var(--text)}
.h3d h1,.h3d h2,.h3d h3,.h3d p{margin:0;padding:0}
.h3d ul:not(.wrap),.h3d ol:not(.wrap){margin:0;padding:0}
.h3d ol.wrap{margin:0 auto;list-style:none}
.h3d-hero h1,.h3d-process h2,.h3d-process h3,.h3d-cta h2{color:#fff}
.h3d h1,.h3d h2,.h3d h3{font-family:var(--font)}
.h3d :focus-visible{outline:3px solid var(--sky);outline-offset:3px;border-radius:2px}
.h3d-trusted img{height:40px;width:auto;max-width:150px;object-fit:contain;opacity:.55;filter:invert(1) brightness(.35)}
/* header */
.h3d-btn{display:inline-flex;align-items:center;gap:.6rem;font:inherit;font-weight:700;font-size:.95rem;padding:.8rem 1.35rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.h3d-btn--p{background:var(--blue);color:#fff}
.h3d-btn--p:hover{background:var(--blue-d);color:#fff}
.h3d-btn--g{border-color:rgba(255,255,255,.4);color:#fff}
.h3d-btn--g:hover{border-color:#fff;color:#fff}
.h3d-btn--o{border-color:var(--blue);color:var(--blue)}
.h3d-btn--o:hover{background:var(--blue);color:#fff}
.h3d-btn--sm{padding:.5rem 1rem;font-size:.85rem}
.h3d-btn svg{width:16px;height:16px;transition:transform .2s}
.h3d-btn:hover svg{transform:translateX(3px)}


/* the 3D stage, fixed behind the two dark "window" sections */
.h3d-stage{position:fixed;inset:0;z-index:0;pointer-events:none}
.h3d-stage canvas{display:block;width:100%;height:100%}
.h3d-tags{position:absolute;inset:0;overflow:hidden}
.h3d-tag{position:absolute;left:0;top:0;font-size:.8rem;font-weight:500;color:var(--pale);white-space:nowrap;opacity:0;transition:opacity .4s;padding:0 .6rem;will-change:transform}
.h3d-tag.on{opacity:1}
.h3d-tag--hq{color:#fff;font-weight:700;padding:.3rem .65rem;border-radius:999px;background:var(--red);margin-top:-1.6rem}
.h3d>section{position:relative;z-index:1}
body.home-3d .site-footer{position:relative;z-index:1}
.h3d-light{position:relative;background:var(--paper)}
.h3d-light--mist{background:var(--mist)}

/* hero */
.h3d-hero{min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:calc(var(--hh) + 3rem) 0 4rem;color:#fff;position:relative}
.h3d-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,28,48,.92) 0%,rgba(4,28,48,.6) 38%,rgba(4,28,48,0) 62%);pointer-events:none}
.h3d-hero .wrap{position:relative}
.h3d-hero__copy{max-width:36rem}
.h3d-hero h1{font-size:clamp(2.6rem,6.4vw,5.2rem);line-height:.98;letter-spacing:-.035em;font-weight:800;margin-bottom:1.5rem;text-wrap:balance}
.h3d-hero p{color:#c4d5e3;font-size:1.15rem;max-width:32rem;margin-bottom:2rem}
.h3d-hero .h3d-hero__note{font-size:.9rem;color:#8fb0c9;margin:2.5rem 0 0}
.h3d-hero__cta{display:flex;flex-wrap:wrap;gap:.75rem}
@media(max-width:899px){
  .h3d-hero{align-items:flex-start;padding-top:calc(var(--hh) + 2.5rem)}
  .h3d-hero::before{background:linear-gradient(180deg,rgba(4,28,48,.95) 0%,rgba(4,28,48,.75) 52%,rgba(4,28,48,0) 80%)}
}

/* trusted by */
.h3d-trusted{padding:2.25rem 0;border-bottom:1px solid var(--line);overflow:hidden}
.h3d-trusted p{font-size:.9rem;color:var(--muted);margin-bottom:1.25rem}
.h3d-marq{display:flex;width:max-content;animation:marq 60s linear infinite}
.h3d-marq:hover{animation-play-state:paused}
.h3d-marq ul{display:flex;list-style:none;gap:3rem;padding-right:3rem}
.h3d-marq li{font-weight:700;font-size:1.15rem;color:#9aa4ad;white-space:nowrap;letter-spacing:-.01em}
@keyframes marq{to{transform:translateX(-50%)}}

/* generic section */
.h3d-sec{padding:clamp(4rem,9vw,7rem) 0}
.h3d-sec h2{font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.08;letter-spacing:-.03em;font-weight:800;color:#000;max-width:20ch;text-wrap:balance}
.h3d-sec__lede{color:var(--muted);font-size:1.1rem;max-width:40rem;margin-top:1rem}
.h3d-sec__head{margin-bottom:clamp(2rem,5vw,3.5rem)}
.h3d-sec__foot{margin-top:2.5rem}

/* intro */
.h3d-intro{display:grid;gap:2rem}
.h3d-intro p{max-width:38rem;color:var(--text)}
.h3d-intro p+p{margin-top:1.25rem}
@media(max-width:599px){.h3d-hero .h3d-hero__note{display:none}}
.h3d-intro p:first-of-type{font-size:clamp(1.2rem,2vw,1.45rem);line-height:1.5;color:#000;font-weight:500}
@media(min-width:900px){.h3d-intro{grid-template-columns:5fr 7fr;gap:4rem}}

/* services index */
.h3d-svc{list-style:none;display:grid;border-top:1px solid var(--line)}
.h3d-svc li{position:relative;padding:1.5rem 0;border-bottom:1px solid var(--line);display:grid;gap:.4rem}
.h3d-svc h3{font-size:1.35rem;letter-spacing:-.02em;font-weight:700;line-height:1.2;display:flex;align-items:center;gap:.6rem}
.h3d-svc h3 a{color:#000}
.h3d-svc h3 a::after{content:"";position:absolute;inset:0}
.h3d-svc h3 svg{width:18px;height:18px;color:var(--red);opacity:0;transform:translateX(-6px);transition:opacity .2s,transform .2s}
.h3d-svc li:hover h3 a,.h3d-svc li:focus-within h3 a{color:var(--blue)}
.h3d-svc li:hover h3 svg,.h3d-svc li:focus-within h3 svg{opacity:1;transform:none}
.h3d-svc p{color:var(--muted);font-size:.98rem;max-width:34rem}
@media(min-width:900px){.h3d-svc{grid-template-columns:1fr 1fr;column-gap:4rem}.h3d-svc li{padding:1.75rem 0}}

/* process (the scroll story) */
.h3d-process{color:#fff;position:relative}
.h3d-process__head{padding:clamp(4rem,9vw,7rem) 0 2rem}
.h3d-process__head h2{color:#fff}
.h3d-process__head .h3d-sec__lede{color:#9fbbd0}
.h3d-steps{list-style:none;counter-reset:s;padding-bottom:30vh}
.h3d-step{min-height:85vh;display:flex;align-items:center}
.h3d-step__card{max-width:27rem;padding:1.75rem;border-radius:16px;background:rgba(4,28,48,.84);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);border:1px solid rgba(79,179,240,.18);transition:border-color .4s,opacity .4s;opacity:.45}
.h3d-step.is-on .h3d-step__card{opacity:1;border-color:rgba(237,28,36,.65);box-shadow:inset 3px 0 0 var(--red)}
.h3d-step__n{font-size:1rem;font-weight:800;color:var(--red-lt);font-variant-numeric:tabular-nums}
.h3d-step h3{font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:-.025em;line-height:1.15;margin:.35rem 0 .75rem}
.h3d-step p{color:#c4d5e3}
.h3d-key{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1rem;font-size:.85rem;color:#9fbbd0;list-style:none}
.h3d-key li{display:flex;align-items:center;gap:.45rem}
.h3d-key i{width:10px;height:10px;border-radius:2px;display:inline-block}
.h3d-progress{position:fixed;right:1.25rem;top:50%;transform:translateY(-50%);z-index:2;display:none;flex-direction:column;gap:.5rem;list-style:none;opacity:0;transition:opacity .3s}
.h3d-progress.show{opacity:1}
.h3d-progress li{width:4px;height:28px;border-radius:2px;background:rgba(255,255,255,.2);transition:background .3s}
.h3d-progress li.on{background:var(--red)}
@media(min-width:900px){.h3d-progress{display:flex}.h3d-step__card{background:rgba(4,28,48,.6)}}
@media(max-width:899px){.h3d-step{min-height:95vh;align-items:flex-end;padding-bottom:6vh}}

/* industries */
.h3d-ind{list-style:none;display:grid;gap:0;border-top:1px solid var(--line)}
.h3d-ind li{padding:1.25rem 0;border-bottom:1px solid var(--line);position:relative}
.h3d-ind h3{font-size:1.15rem;font-weight:700;letter-spacing:-.015em;margin-bottom:.25rem}
.h3d-ind h3 a{color:#000}.h3d-ind h3 a::after{content:"";position:absolute;inset:0}
.h3d-ind li:hover h3 a{color:var(--blue)}
.h3d-ind p{color:var(--muted);font-size:.95rem}
@media(min-width:700px){.h3d-ind{grid-template-columns:1fr 1fr;column-gap:2.5rem}}
@media(min-width:1050px){.h3d-ind{grid-template-columns:repeat(4,1fr)}}

/* why */
.h3d-why{display:grid;gap:2.25rem 3rem;list-style:none}
.h3d-why li{padding-top:1.25rem;border-top:3px solid var(--red)}
.h3d-why h3{font-size:1.2rem;letter-spacing:-.015em;margin-bottom:.4rem;color:#000}
.h3d-why p{color:var(--muted);font-size:.98rem}
@media(min-width:700px){.h3d-why{grid-template-columns:1fr 1fr}}
@media(min-width:1050px){.h3d-why{grid-template-columns:repeat(3,1fr)}}

/* results */
.h3d-res{display:grid;gap:2.5rem;list-style:none}
.h3d-res__fig{font-size:clamp(3.2rem,7vw,5.5rem);font-weight:800;letter-spacing:-.045em;line-height:1;color:var(--blue);font-variant-numeric:tabular-nums;display:block;margin-bottom:.75rem}
.h3d-res h3{font-size:1.15rem;margin-bottom:.4rem;color:#000}
.h3d-res p{color:var(--muted);font-size:.98rem;max-width:24rem}
@media(min-width:900px){.h3d-res{grid-template-columns:repeat(3,1fr)}}

/* projects */
.h3d-proj{list-style:none;border-top:1px solid var(--line)}
.h3d-proj li{display:grid;gap:.35rem;padding:1.4rem 0;border-bottom:1px solid var(--line);position:relative}
.h3d-proj h3{font-size:1.2rem;letter-spacing:-.015em}
.h3d-proj h3 a{color:#000}.h3d-proj h3 a::after{content:"";position:absolute;inset:0}
.h3d-proj li:hover h3 a{color:var(--blue)}
.h3d-proj p{color:var(--muted);font-size:.98rem}
.h3d-proj span{font-size:.85rem;font-weight:700;color:var(--red)}
@media(min-width:900px){.h3d-proj li{grid-template-columns:3fr 4fr 1fr;align-items:baseline;gap:2rem}.h3d-proj span{text-align:right}}

/* guides */
.h3d-hubs{list-style:none;display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.h3d-hubs li{background:#fff;position:relative;padding:1.4rem 1.4rem 1.5rem;transition:background .2s}
.h3d-hubs li:hover{background:#f7fbfe}
.h3d-hubs h3{font-size:1.08rem;letter-spacing:-.01em;margin-bottom:.3rem}
.h3d-hubs h3 a{color:#000}.h3d-hubs h3 a::after{content:"";position:absolute;inset:0}
.h3d-hubs li:hover h3 a{color:var(--blue)}
.h3d-hubs p{color:var(--muted);font-size:.93rem}
@media(min-width:700px){.h3d-hubs{grid-template-columns:1fr 1fr}}
@media(min-width:1050px){.h3d-hubs{grid-template-columns:repeat(3,1fr)}}

/* posts */
.h3d-posts{list-style:none;display:grid;gap:2rem}
.h3d-posts li{position:relative}
.h3d-posts small{display:block;font-size:.85rem;color:var(--blue);font-weight:600;margin-bottom:.4rem}
.h3d-posts h3{font-size:1.15rem;line-height:1.3;letter-spacing:-.015em;margin-bottom:.5rem}
.h3d-posts h3 a{color:#000}.h3d-posts h3 a::after{content:"";position:absolute;inset:0}
.h3d-posts li:hover h3 a{color:var(--blue)}
.h3d-posts p{color:var(--muted);font-size:.95rem}
@media(min-width:700px){.h3d-posts{grid-template-columns:1fr 1fr}}
@media(min-width:1050px){.h3d-posts{grid-template-columns:repeat(3,1fr);gap:2.5rem 3rem}}

/* faq */
.h3d-faq{display:grid;gap:2rem}
@media(min-width:900px){.h3d-faq{grid-template-columns:4fr 7fr;gap:4rem}}
.h3d-faq details{border-bottom:1px solid var(--line)}
.h3d-faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:1.5rem;padding:1.25rem 0;font-weight:700;font-size:1.08rem;color:#000}
.h3d-faq summary::-webkit-details-marker{display:none}
.h3d-faq summary::after{content:"";flex:none;width:14px;height:14px;margin-top:.45rem;background:linear-gradient(var(--red),var(--red)) center/100% 2px no-repeat,linear-gradient(var(--red),var(--red)) center/2px 100% no-repeat;transition:transform .25s}
.h3d-faq details[open] summary::after{transform:rotate(45deg)}
.h3d-faq details div{padding:0 0 1.4rem;color:var(--muted);max-width:44rem}

/* cta + footer */
.h3d-cta{background:var(--blue);color:#fff;padding:clamp(4rem,8vw,6rem) 0}
.h3d-cta h2{color:#fff;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.035em;line-height:1.05;max-width:18ch;margin-bottom:1rem}
.h3d-cta p{color:#d7eefc;max-width:36rem;font-size:1.1rem;margin-bottom:2rem}
.h3d-cta .h3d-btn{background:#fff;color:var(--blue)}
.h3d-cta .h3d-btn:hover{background:var(--pale)}
@media(min-width:900px){.h3d-ftr__g{grid-template-columns:2fr 1fr 1fr 1fr}}

@media (prefers-reduced-motion:reduce){
  .h3d-marq{animation:none;flex-wrap:wrap;width:auto}.h3d-marq ul+ul{display:none}.h3d-marq ul{flex-wrap:wrap;gap:1rem 2rem}
  *{transition-duration:.01ms!important}
}

/* v2.17.1: card images merged from 2.16.1 */
.h3d-why__img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin-bottom:1.1rem}
.h3d-hubs li{padding-top:0}
.h3d-hubs__img{display:block;width:calc(100% + 2.8rem);max-width:none;margin:0 -1.4rem 1.1rem;aspect-ratio:16/9;object-fit:cover;transition:transform .4s ease}
.h3d-hubs li{overflow:hidden}
.h3d-hubs li:hover .h3d-hubs__img{transform:scale(1.03)}
.h3d-step__img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:1rem;opacity:.9}
@media(max-width:899px){.h3d-step__img{aspect-ratio:21/9}}
/* v2.17.2: images restored on services, industries, projects, latest insights */
.h3d-svc li{grid-template-columns:120px 1fr;column-gap:1.25rem;align-items:center}
.h3d-svc__img{display:block;width:120px;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.h3d-ind li{padding-top:1.5rem}
.h3d-ind__img,.h3d-posts__img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:10px;margin-bottom:.9rem;transition:transform .4s ease}
.h3d-ind li:hover .h3d-ind__img,.h3d-posts li:hover .h3d-posts__img{transform:scale(1.02)}
.h3d-proj__img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin-bottom:.5rem}
@media(min-width:900px){.h3d-proj li{grid-template-columns:150px 3fr 4fr 1fr;align-items:center}.h3d-proj__img{aspect-ratio:3/2;margin:0}}
@media(max-width:599px){.h3d-svc li{grid-template-columns:88px 1fr}.h3d-svc__img{width:88px}}
/* v2.17.2: results section layout fix (equal columns, fitted figures, cards) */
.h3d-sec__head h2{margin-bottom:0}
.h3d-sec__head .h3d-sec__lede{margin-top:1.1rem}
.h3d-res{gap:1.25rem}
.h3d-res li{background:#f5f9fc;border:1px solid var(--line);border-radius:16px;padding:1.75rem 1.6rem;border-top:3px solid var(--blue);min-width:0}
.h3d-res__fig{font-size:clamp(2.6rem,4.4vw,3.9rem);white-space:nowrap;margin-bottom:1rem}
.h3d-res p{max-width:none}
@media(min-width:900px){.h3d-res{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}}
/* v2.17.2: 12th hub tile (fills the grid) */
.h3d-hubs li.h3d-hubs__all{background:var(--blue);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:2rem 1.75rem}
.h3d-hubs li.h3d-hubs__all:hover{background:#0a5a95}
.h3d-hubs__all-n{font-size:clamp(2.6rem,4vw,3.4rem);font-weight:800;letter-spacing:-.04em;line-height:1;margin-bottom:.75rem}
.h3d-hubs li.h3d-hubs__all h3 a,.h3d-hubs li.h3d-hubs__all:hover h3 a{color:#fff}
.h3d-hubs li.h3d-hubs__all p{color:rgba(255,255,255,.82)}
.h3d-hubs__all-cta{margin-top:1.1rem;font-weight:700;font-size:.95rem;display:inline-flex;align-items:center;gap:.45rem}
.h3d-hubs__all-cta svg{width:16px;height:16px}
