/* 01. Base and layout */
*,*::before,*::after{box-sizing:border-box}
:root{--home-dark-section:#0a0e1a}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:120px}
body{font-family:'Inter',sans-serif;margin:0;overflow-x:hidden}
img{max-width:100%}
.anchor-offset{scroll-margin-top:120px}
.home-dark-section{background:var(--home-dark-section)}
.logo-crisp{filter:contrast(1.18) saturate(1.08);image-rendering:auto}
button,a{-webkit-tap-highlight-color:transparent}

/* Footer brand mark sizing */
.canva-footer [data-template-id="footer-logo-img"]{height:7.5rem;width:auto}
.eric-footer{position:relative;overflow:hidden;background:#000;color:#fff;font-family:'Inter',sans-serif;padding-top:1.2rem;padding-bottom:1.15rem}
.eric-footer::before,.eric-footer::after{content:none}
.eric-footer-main{position:relative;z-index:1;display:grid;grid-template-columns:minmax(140px,220px) minmax(0,1fr);column-gap:2.2rem;align-items:start}
.eric-footer-brand{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding-top:0;gap:0}
.eric-footer-brand>a{margin-top:0}
.eric-footer-brand::after{content:'';display:block;width:min(300px,100%);margin-top:-1.1rem;aspect-ratio:16/9;background:url('../images/wordmap.svg') center/contain no-repeat;clip-path:inset(12% 0 0 0);opacity:.92;animation:footerMapDrift 22s ease-in-out infinite alternate}
.eric-footer-content{display:block}
.eric-social-row{display:flex;align-items:center;gap:1.2rem}
.eric-social-link{display:inline-flex;align-items:center;justify-content:center;color:#f3f4f6;filter:drop-shadow(0 0 0 rgba(246,18,23,0));transition:color .25s ease,transform .25s ease,filter .25s ease}
.eric-social-link svg{width:1.5rem;height:1.5rem}
.eric-social-link:hover{color:#F61217;transform:translateY(-2px);filter:drop-shadow(0 0 10px rgba(246,18,23,.45))}
.eric-social-x span{font-family:'Space Grotesk',sans-serif;font-size:1.35rem;font-weight:700;line-height:1}
.eric-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:2rem;row-gap:1.4rem}
.eric-footer-title{font-size:0.72rem;line-height:1.2;letter-spacing:.08em;font-weight:600;color:#F61217;margin:0 0 1rem;text-transform:uppercase}
.eric-footer-links{display:flex;flex-direction:column;gap:0.58rem}
.eric-footer-links a{font-size:0.82rem;font-weight:400;line-height:1.35;color:#e5e7eb;transition:color .25s ease,text-shadow .25s ease}
.eric-footer-links a:hover{color:#F61217;text-shadow:0 0 12px rgba(246,18,23,.35)}
.eric-footer-divider{position:relative;height:2px;background:linear-gradient(90deg,rgba(255,255,255,.2),rgba(246,18,23,.4),rgba(255,255,255,.2));margin:1.6rem 0 1rem;overflow:hidden}
.eric-footer-divider::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.05) 0%,rgba(255,255,255,.95) 50%,rgba(255,255,255,.05) 100%);transform:translateX(-100%);animation:footerLineShine 2.8s linear infinite}
.eric-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:nowrap}
.eric-footer-bottom .eric-copyright{order:1}
.eric-footer-bottom .eric-social-row{order:2;margin-left:auto}
.eric-copyright{font-size:0.75rem;font-weight:400;color:#cbd5e1;margin:0}

@media(max-width:1024px){
 .eric-footer-brand::after{width:min(260px,100%)}
}
@media(max-width:768px){
 .eric-footer-brand{align-items:center}
 .eric-footer-brand>a{margin-top:0}
 .eric-footer-brand::after{width:min(340px,94vw);margin-top:-0.95rem;clip-path:inset(14% 0 0 0);opacity:.9}
 .eric-footer{padding-top:1.3rem;padding-bottom:1.2rem}
}
@media(max-width:480px){
 .eric-footer-brand>a{margin-top:0}
 .eric-footer-brand::after{width:min(300px,94vw);margin-top:-0.8rem;clip-path:inset(16% 0 0 0);opacity:.86}
}
@media(max-width:640px){
 .eric-footer-bottom{flex-direction:column;align-items:flex-start;gap:.75rem}
 .eric-footer-bottom .eric-social-row{margin-left:0}
}
@media(max-width:1023px){
 .mega-panel,.mega-overlay{display:none!important}
}

/* 02. Hero section and slider */
.hero-wrap{min-height:calc(125 * min(var(--vh,1vh),1vh));height:auto;position:relative;overflow:hidden}
.slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;pointer-events:none}
.slide.active{opacity:1;pointer-events:auto}
.slide-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.05);transition:transform 6s ease-out}
.slide.active .slide-img{transform:scale(1)}
.slide-overlay{position:absolute;inset:0;background:linear-gradient(to right,rgba(255,255,255,0.92) 0%,rgba(255,255,255,0.7) 50%,rgba(255,255,255,0.2) 100%)}
.slide-content{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;height:100%;padding:6rem 4rem;max-width:640px}
.slide-content h1{font-family:'Space Grotesk',sans-serif}
.slide-content>*{opacity:0;transform:translateY(30px);transition:opacity 0.8s ease,transform 0.8s ease}
.slide.active .slide-content>*:nth-child(1){opacity:1;transform:translateY(0);transition-delay:0.3s}
.slide.active .slide-content>*:nth-child(2){opacity:1;transform:translateY(0);transition-delay:0.5s}
.slide.active .slide-content>*:nth-child(3){opacity:1;transform:translateY(0);transition-delay:0.7s}
.slide.active .slide-content>*:nth-child(4){opacity:1;transform:translateY(0);transition-delay:0.9s}
.progress-bar{position:absolute;bottom:0;left:0;height:3px;background:#F61217;transition:width linear}
.dot{width:8px;height:8px;border-radius:50%;background:#d1d5db;transition:background 0.3s,transform 0.3s;cursor:pointer}
.dot.active{background:#F61217;transform:scale(1.3)}

/* Services hero animation */
.services-hero-image{transform:scale(1.06);animation:servicesHeroImageIn 1.4s cubic-bezier(.2,.8,.2,1) both}
.services-hero-overlay{animation:servicesHeroOverlayIn 1.1s ease both}
.services-hero-kicker,.services-hero-title,.services-hero-subtitle,.services-hero-card{opacity:0;transform:translateY(28px);animation:servicesHeroRise .9s cubic-bezier(.2,.8,.2,1) both}
.services-hero-kicker{animation-delay:.18s}
.services-hero-title{animation-delay:.33s}
.services-hero-subtitle{animation-delay:.48s}
.services-hero-card-1{animation-delay:.62s}
.services-hero-card-2{animation-delay:.78s}

@keyframes servicesHeroRise{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes servicesHeroImageIn{from{opacity:.18;transform:scale(1.1)}to{opacity:.42;transform:scale(1.0)}}
@keyframes servicesHeroOverlayIn{from{opacity:0}to{opacity:1}}

/* 03. Generic animation helpers */
.reveal-el{opacity:0;transform:translateY(30px);transition:opacity 0.7s ease,transform 0.7s ease}
.reveal-el.visible{opacity:1;transform:translateY(0)}
.stats-card{transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease}
.stats-card:hover{transform:translateY(-6px);box-shadow:0 16px 36px rgba(15,23,42,.08);border-color:rgba(246,18,23,.2)}
.stats-card .stats-value{transition:color .3s ease}
.stats-card.is-active .stats-value{color:#F61217}
.page-section{display:none}
.page-section.active{display:block}

@media (prefers-reduced-motion:reduce){
 .stats-card{transition:none}
 .stats-card:hover{transform:none;box-shadow:none}
}

/* 04. Navigation and mega menu */
.nav-link{position:relative}
.nav-link,.nav-link .canva-link{font-size:16px!important;font-weight:500!important;line-height:1.2}
.nav-link.active-link{color:#F61217!important}
.nav-link::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:2px;background:#F61217;transition:width 0.3s}
.nav-link:hover{color:#F61217!important}
.nav-link:hover .canva-link{color:#F61217!important}
.nav-link:hover::after{width:100%}
.nav-link.active-link::after{width:100%}
.mega-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.4);opacity:0;visibility:hidden;transition:opacity 0.3s ease,visibility 0s 0.3s;z-index:40}
.mega-overlay.open{opacity:1;visibility:visible;transition:opacity 0.3s ease,visibility 0s 0s}
.mega-panel{position:absolute;top:100%;left:0;right:0;background:#ffffff;border-top:1px solid rgba(246,18,23,.4);box-shadow:0 24px 55px rgba(15,23,42,.16),inset 0 0 0 1px rgba(246,18,23,.12);opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity 0.3s ease,transform 0.3s ease,visibility 0s 0.3s;z-index:100;pointer-events:none;overflow:hidden}
.mega-panel.open{opacity:1;visibility:visible;transform:translateY(0);transition:opacity 0.3s ease,transform 0.3s ease,visibility 0s 0s;pointer-events:auto}
.mega-panel::before,.mega-panel::after{content:none}
.mega-particles-canvas{position:absolute;top:0;right:0;width:min(36vw,460px);height:100%;z-index:1;pointer-events:none;mix-blend-mode:screen;opacity:.95}
.mega-panel .mega-inner{max-width:1200px;margin:0 auto;padding:clamp(1rem,2.2vw,2rem);position:relative;z-index:1}
.mega-panel .relative.pl-8>div:last-child{opacity:0;transform:translateX(14px) translateY(2px)}
.mega-panel.open .relative.pl-8>div:last-child{opacity:1;transform:translateX(0) translateY(0);transition:opacity .42s ease .06s,transform .42s cubic-bezier(.2,.8,.2,1) .06s}
.mega-col-title{font-family:'Space Grotesk',sans-serif;font-size:0.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.1em;color:#F61217;margin-bottom:0.75rem;padding-bottom:0.5rem;border-bottom:1px solid rgba(246,18,23,.35)}
.mega-link{display:block;padding:0.4rem 0;font-size:0.8125rem;font-weight:500;color:#374151;transition:color 0.2s,padding-left 0.2s}
.mega-link:hover{color:#F61217;padding-left:6px}
.mega-panel .mega-link:hover{color:#F61217!important}
.mega-panel .text-gray-900{color:#111827!important}
.mega-panel .text-gray-700{color:#374151!important}
.mega-panel .text-gray-600{color:#4b5563!important}
.mega-panel .border-gray-200{border-color:rgba(248,113,113,.35)!important}
#mega-about .about-links-pair,#mega-services .about-links-pair,#mega-solutions .about-links-pair,#mega-research .about-links-pair,#mega-industries .about-links-pair,#mega-careers .about-links-pair{grid-template-columns:max-content max-content;column-gap:4.25rem;align-items:start}
#mega-about .about-links-col,#mega-services .about-links-col,#mega-solutions .about-links-col,#mega-research .about-links-col,#mega-industries .about-links-col,#mega-careers .about-links-col{gap:0.25rem}
#mega-about .about-links-col .mega-link,#mega-services .about-links-col .mega-link,#mega-solutions .about-links-col .mega-link,#mega-research .about-links-col .mega-link,#mega-industries .about-links-col .mega-link,#mega-careers .about-links-col .mega-link{padding:0.15rem 0}
#mega-about .about-links-col .mega-link:hover,#mega-services .about-links-col .mega-link:hover,#mega-solutions .about-links-col .mega-link:hover,#mega-research .about-links-col .mega-link:hover,#mega-industries .about-links-col .mega-link:hover,#mega-careers .about-links-col .mega-link:hover{padding-left:0}
.mega-panel.open .about-links-col .mega-link{opacity:0;animation:megaLinkReveal .36s ease forwards}
.mega-panel.open .about-links-col .mega-link:nth-child(1){animation-delay:.08s}
.mega-panel.open .about-links-col .mega-link:nth-child(2){animation-delay:.14s}

@keyframes megaLinkReveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes footerLineShine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
@keyframes footerMapDrift{0%{transform:translateX(-10px) translateY(0) scale(1)}50%{transform:translateX(7px) translateY(-5px) scale(1.012)}100%{transform:translateX(0) translateY(4px) scale(1)}}
@media (prefers-reduced-motion:reduce){
 .mega-panel .relative.pl-8>div:last-child{opacity:1;transform:none}
 .mega-panel.open .relative.pl-8>div:last-child{transition:none}
 .mega-panel.open .about-links-col .mega-link{animation:none;opacity:1}
 .mega-panel::before,.mega-panel::after{animation:none}
 .eric-footer-divider::before{animation:none;transform:translateX(0);opacity:.7}
 .eric-footer-brand::after{animation:none}
}
.mob-section{padding:0;margin:0}
.mob-summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:0.8rem 0;cursor:pointer;user-select:none}
.mob-summary::-webkit-details-marker{display:none}
.mob-summary-mark{font-size:1rem;line-height:1;color:#6b7280;transition:transform .25s ease,color .25s ease}
.mob-section[open] .mob-summary-mark{transform:rotate(45deg);color:#F61217}
.mob-links{display:flex;flex-direction:column;gap:0.15rem;padding:0 0 0.65rem 0.85rem}
.mob-all-link{font-size:0.78rem;font-weight:600;color:#F61217!important;padding:0.28rem 0}
.mob-child-link{font-size:0.82rem;color:#4b5563!important;padding:0.3rem 0}
.mob-child-link:hover{color:#F61217!important}

/* 05. Card and tile systems */
.glass-card{background:rgba(9,14,27,.78);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border:1px solid rgba(148,163,184,.16);border-radius:18px;transition:transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .55s ease,border-color .4s ease}
.premium-tile{position:relative;overflow:hidden;isolation:isolate;cursor:pointer;min-height:250px;border-radius:20px;box-shadow:0 18px 45px rgba(0,0,0,.28);transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .6s ease,border-color .5s ease}
.premium-tile::before{content:'';position:absolute;inset:0;background:linear-gradient(120deg,rgba(246,18,23,.22),transparent 38%,rgba(14,165,233,.12));opacity:.35;z-index:1;pointer-events:none;transition:opacity .5s ease}
.premium-tile::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(2,6,23,.08) 8%,rgba(2,6,23,.48) 42%,rgba(2,6,23,.98) 100%);z-index:1;pointer-events:none}.solutions-portfolio-section .premium-tile::after{background:linear-gradient(180deg,rgba(2,6,23,.08) 0%,rgba(2,6,23,.2) 28%,rgba(2,6,23,.94) 72%,rgba(2,6,23,1) 100%)}
.premium-tile:hover{transform:translateY(-12px) rotateX(2deg) rotateY(-2deg);box-shadow:0 30px 75px rgba(246,18,23,.2),0 0 0 1px rgba(248,113,113,.3);border-color:rgba(248,113,113,.6)}
.premium-tile:hover::before{opacity:.8}
.premium-tile img{transition:transform .9s cubic-bezier(.2,.8,.2,1),filter .6s ease;filter:contrast(1.16) saturate(1.08) brightness(1.04);image-rendering:auto}.premium-tile img:hover{filter:contrast(1.24) saturate(1.12) brightness(1.06)}
.premium-tile:hover img{transform:scale(1.12);filter:contrast(1.24) saturate(1.18) brightness(1.08)}
.premium-tile>.tile-content,.premium-tile>.relative{z-index:2;transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .5s ease}
.premium-tile:hover>.tile-content,.premium-tile:hover>.relative{transform:translateY(-12px) translateZ(14px)}
.expertise-card,.icon-tile{position:relative;overflow:hidden}
.expertise-card:nth-child(1){background:linear-gradient(180deg,rgba(9,14,27,.7),rgba(9,14,27,.96))}
.expertise-card:nth-child(2){background:linear-gradient(180deg,rgba(9,14,27,.7),rgba(9,14,27,.96))}
.expertise-card:nth-child(3){background:linear-gradient(180deg,rgba(9,14,27,.7),rgba(9,14,27,.96))}
.expertise-card:nth-child(4){background:linear-gradient(180deg,rgba(9,14,27,.7),rgba(9,14,27,.96))}
.section-dark .icon-tile:nth-child(1){background:linear-gradient(180deg,rgba(8,11,20,.72),rgba(8,11,20,.97))}
@media(max-width:768px){.premium-tile:hover{transform:translateY(-5px) rotateX(0) rotateY(0)}}
.icon-tile{position:relative;overflow:hidden;transition:transform .4s ease,box-shadow .4s ease,border-color .4s ease}
.icon-tile::before{content:'';position:absolute;width:140px;height:140px;right:-45px;top:-55px;border-radius:50%;background:radial-gradient(circle,rgba(14,165,233,.22),transparent 68%);transition:transform .5s ease}
.icon-tile:hover{transform:translateY(-7px);box-shadow:0 22px 50px rgba(14,165,233,.16);border-color:rgba(14,165,233,.4)}
.icon-tile:hover::before{transform:scale(1.5)}
.tech-grid .tech-logo{filter:grayscale(1) opacity(.65);transition:filter .35s ease,transform .35s ease,background .35s ease}
.tech-grid .tech-logo:hover{filter:grayscale(0) opacity(1);transform:translateY(-3px);background:rgba(14,165,233,.12)}
.glass-card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(0,180,255,0.08);border-color:rgba(0,180,255,0.25)}
.section-dark{background:#080b14}
.expertise-light{background:#ffffff;position:relative;overflow:hidden}
.expertise-light::before{content:'';position:absolute;inset:0;background:none;pointer-events:none}
.expertise-light>.max-w-7xl{position:relative;z-index:1}
.expertise-light .expertise-card{background:rgba(255,255,255,.78);border:1px solid rgba(148,163,184,.24);box-shadow:0 14px 35px rgba(15,23,42,.07)}
.expertise-light .expertise-card:hover{box-shadow:0 20px 48px rgba(14,165,233,.14);border-color:rgba(14,165,233,.3)}

/* 06. Tech and service components */
.tech-logo{filter:grayscale(1) brightness(0.7);opacity:0.6;transition:filter 0.3s,opacity 0.3s,transform 0.3s}
.tech-logo:hover{filter:grayscale(0) brightness(1);opacity:1;transform:scale(1.1)}

/* 07. Home specific tiles */
.ed-tile{position:relative;border-radius:20px;overflow:hidden;cursor:pointer;border:1px solid #e5e7eb;transition:transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94),box-shadow 0.5s ease}
.ed-tile:hover{transform:translateY(-8px);box-shadow:0 24px 60px rgba(0,0,0,0.12)}
.ed-tile .tile-img{width:100%;height:100%;object-fit:cover;transition:transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94)}
.ed-tile:hover .tile-img{transform:scale(1.08)}
.ed-tile .tile-gradient{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,0.85) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0.05) 100%)}
.ed-tile .tile-content{position:absolute;bottom:0;left:0;right:0;padding:2rem;z-index:2}
.ed-tile .tile-arrow{display:inline-flex;align-items:center;gap:6px;transition:transform 0.4s ease,opacity 0.4s ease;opacity:0;transform:translateX(-8px)}
.ed-tile:hover .tile-arrow{opacity:1;transform:translateX(0)}
.ed-tile .tile-accent{position:absolute;top:0;left:0;width:0;height:4px;background:#F61217;transition:width 0.5s ease}
.ed-tile:hover .tile-accent{width:100%}

.svc-detail-card{position:relative;overflow:hidden;border:1px solid rgba(229,231,235,.95);border-radius:22px;padding:2rem;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.05);transition:transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .55s ease,border-color .35s ease;isolation:isolate}
.svc-detail-card:hover{border-color:rgba(229,231,235,.95);background:#fff;box-shadow:0 18px 44px rgba(15,23,42,.08);transform:translateY(-8px) scale(1.01)}
.svc-detail-card .w-10.h-10{transition:transform .45s ease,box-shadow .45s ease,background .45s ease}
.svc-detail-card:hover .w-10.h-10{transform:translateY(-2px) rotate(-2deg);box-shadow:0 10px 18px rgba(15,23,42,.08);background:#f9fafb}
.svc-detail-card ul li{transition:transform .35s ease,color .35s ease}
.svc-detail-card:hover ul li{transform:translateX(2px)}
.svc-detail-card button{transition:transform .3s ease,box-shadow .3s ease}
.svc-detail-card:hover button{transform:translateY(-2px);box-shadow:0 8px 16px rgba(15,23,42,.08)}

/* 08. Home page theme overrides */
#page-home>section:not([data-template-id="home-cta-section"]){background:#fff!important;color:#111827}
#page-home>section:nth-of-type(1),#page-home>section:nth-of-type(3),#page-home>section:nth-of-type(7),#page-home>section:nth-of-type(9){background:#f9fafb!important}
#page-home>section:not([data-template-id="home-cta-section"]) h2,#page-home>section:not([data-template-id="home-cta-section"]) h3,#page-home>section:not([data-template-id="home-cta-section"]) h4,#page-home>section:not([data-template-id="home-cta-section"]) p{color:#111827!important}
#page-home>section:not([data-template-id="home-cta-section"]) [data-template-id$="-desc"],#page-home>section:not([data-template-id="home-cta-section"]) [data-template-id="-sub"]{color:#4b5563!important}
#page-home>section:not([data-template-id="home-cta-section"]) .glass-card,#page-home>section:not([data-template-id="home-cta-section"]) .expertise-card{background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 14px 35px rgba(15,23,42,.07)}
#page-home>section:not([data-template-id="home-cta-section"]) .glass-card:hover,#page-home>section:not([data-template-id="home-cta-section"]) .expertise-card:hover{box-shadow:0 20px 48px rgba(246,18,23,.1);border-color:#fecaca!important}
.featured-insight-card{background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 14px 35px rgba(15,23,42,.07)}
.featured-insight-card:hover{box-shadow:0 20px 48px rgba(246,18,23,.1);border-color:#fecaca!important}
#page-home>section:not([data-template-id="home-cta-section"]) .tech-logo{background:#f9fafb;color:#374151;filter:grayscale(1) brightness(.85)}
#page-home>section:not([data-template-id="home-cta-section"]) .tech-logo:hover{filter:grayscale(0) brightness(1)}
#page-home>section:not([data-template-id="home-cta-section"]) [data-template-id$="-label"]{color:#F61217!important}
#page-home>section:not([data-template-id="home-cta-section"]) [data-template-id$="-cta"]{color:#F61217!important}
#page-home>section[data-template-id="home-cta-section"]{background:linear-gradient(135deg,rgb(10,14,26),rgb(12,25,41))!important}

/* 09. Responsive adjustments */
@media(max-width:1024px){.slide-content{padding:5rem 3rem;max-width:min(640px,75vw)}.hero-wrap{min-height:calc(118 * min(var(--vh,1vh),1vh))}}
@media(max-width:1024px){.mega-particles-canvas{display:none}.canva-footer [data-template-id="footer-logo-img"]{height:5.5rem}}
@media(max-width:1024px){.eric-footer-main{grid-template-columns:240px minmax(0,1fr);column-gap:1.6rem}.eric-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eric-footer-links a{font-size:.82rem}.eric-copyright{font-size:.74rem}.canva-footer [data-template-id="footer-logo-img"]{height:6.25rem}}
@media(max-width:768px){.slide-content{padding:5rem 1.5rem 4.5rem;max-width:100%}.slide-overlay{background:rgba(255,255,255,0.86)}.slide-img{object-position:60% center}.hero-wrap{min-height:calc(112 * min(var(--vh,1vh),1vh))}.hero-wrap [data-template-id$="-headline"]{font-size:clamp(2rem,7vw,2.55rem)!important;line-height:1.14!important;letter-spacing:-0.01em}.hero-wrap [data-template-id$="-subtitle"]{font-size:clamp(0.95rem,3.3vw,1.08rem)!important;line-height:1.55!important;max-width:34ch}.ed-tile{min-height:260px!important}.ed-tile:hover{transform:none;box-shadow:none}.ed-tile:hover .tile-img{transform:none}.ed-tile .tile-arrow{opacity:1;transform:none}.nav-link::after{display:none}.canva-footer [data-template-id="footer-logo-img"]{height:4.75rem}#mobile-menu{max-height:calc(100vh - 74px);overflow:auto}}
@media(max-width:768px){.eric-footer-main{grid-template-columns:1fr;row-gap:1.2rem}.eric-footer-grid{grid-template-columns:1fr;gap:1.2rem}.eric-footer-links a{font-size:.82rem}.eric-footer-divider{margin:1.2rem 0 .9rem}.eric-footer-bottom{justify-content:space-between;gap:.9rem 1.1rem;flex-wrap:wrap}.eric-copyright{font-size:.74rem}.canva-footer [data-template-id="footer-logo-img"]{height:5.3rem}}
@media(max-width:480px){.eric-social-row{gap:.75rem}.eric-social-link svg{width:1.3rem;height:1.3rem}.eric-social-x span{font-size:1.2rem}.eric-footer-links a{font-size:.8rem}.eric-copyright{font-size:.72rem}.canva-footer [data-template-id="footer-logo-img"]{height:4.5rem}}
@media(max-width:480px){.slide-content{padding:5rem 1.25rem 4.25rem}.slide-content h1{line-height:1.08}.hero-wrap [data-template-id$="-headline"]{font-size:clamp(1.65rem,8vw,2.1rem)!important;line-height:1.16!important}.hero-wrap [data-template-id$="-subtitle"]{font-size:clamp(0.9rem,4vw,0.98rem)!important}.hero-wrap{min-height:calc(106 * min(var(--vh,1vh),1vh))}.dot{width:10px;height:10px}.canva-footer [data-template-id="footer-logo-img"]{height:4rem}}
@media(max-width:768px){.services-hero-content{padding-top:calc(6.25rem + env(safe-area-inset-top,0px))!important}}

/* 11. Expertise flip tiles */
.expertise-flip-section{background:#0a0e1a;position:relative;overflow:hidden}
.expertise-flip-section::before{content:none}
.expertise-flip-section>.max-w-7xl{position:relative;z-index:1}
.expertise-flip-section [data-template-id="expertise-label"]{color:#F61217!important}
.expertise-flip-section [data-template-id="expertise-heading"]{color:#fff!important}

.flip-tiles-grid{width:100%;max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch;gap:24px}
.flip-tile{position:relative;width:100%;cursor:pointer}
.flip-tile-inner{position:relative;width:100%;height:100%}

.flip-tile-front{position:relative;display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;box-shadow:0 12px 28px rgba(15,23,42,.08);transform:translateY(0);transition:transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .45s ease,border-color .35s ease}
.flip-tile-back{display:none}
.flip-tile-image{position:relative;width:100%;height:240px;object-fit:cover;display:block;transform:scale(1);transition:transform .65s cubic-bezier(.2,.8,.2,1),filter .45s ease}
.flip-tile-front::after{content:none}

.flip-tile-text{position:relative;flex:1;padding:22px 22px 12px;background:#fff}
.flip-tile-number{font-family:'Inter',sans-serif;font-size:12px;font-weight:600;letter-spacing:1.6px;text-transform:uppercase;color:#F61217;margin-bottom:10px;display:block}
.flip-tile-title{font-family:'Space Grotesk',sans-serif;font-size:28px;line-height:1.05;letter-spacing:-.3px;margin:0 0 10px;color:#111827}
.flip-tile-desc{font-family:'Inter',sans-serif;font-size:14px;line-height:1.58;color:#4b5563;margin:0}

.flip-tile-arrow{position:static;display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;margin:auto 22px 22px;padding:10px 16px;border-radius:9999px;background:#F61217;border:1px solid #F61217;font-family:'Inter',sans-serif;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#fff;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,background .3s ease,border-color .3s ease;z-index:2}

.flip-tile:hover .flip-tile-front,.flip-tile:focus-within .flip-tile-front{transform:translateY(-8px);border-color:#fecaca;box-shadow:0 22px 48px rgba(15,23,42,.2),0 8px 20px rgba(246,18,23,.16)}
.flip-tile:hover .flip-tile-image,.flip-tile:focus-within .flip-tile-image{transform:scale(1.06);filter:contrast(1.06) saturate(1.05)}
.flip-tile:hover .flip-tile-arrow,.flip-tile:focus-within .flip-tile-arrow{transform:translateY(-2px);box-shadow:0 10px 20px rgba(246,18,23,.28);background:#dc2626;border-color:#dc2626}
.flip-tile-arrow:focus-visible{outline:2px solid #F61217;outline-offset:2px}

.flip-tile::before,.flip-tile::after{content:none}

@media(max-width:1000px){
 .flip-tiles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}

@media(max-width:600px){
 .flip-tiles-grid{grid-template-columns:1fr;width:100%;gap:18px}
 .flip-tile-title{font-size:24px}
 .flip-tile-image{height:220px}
}

/* 12. Why Openlyd premium cards */
.why-openlyd-premium{background:var(--home-dark-section);position:relative;overflow:hidden}
.why-openlyd-premium [data-template-id="why-heading"]{color:#fff!important}
.why-openlyd-premium [data-template-id="why-label"]{color:#F61217!important}
#page-home>section.why-openlyd-premium h4{color:#111827!important}
#page-home>section.why-openlyd-premium p{color:#374151!important}
#page-home>section.why-openlyd-premium .why-premium-body h4{color:#111827!important}
#page-home>section.why-openlyd-premium .why-premium-body p{color:#374151!important}

.why-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.why-premium-card{position:relative;display:flex;flex-direction:column;height:100%;background:#ffffff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 16px 32px rgba(0,0,0,.2);transition:transform .5s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease,border-color .35s ease}
.why-premium-card::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 42%,rgba(255,255,255,.04));opacity:0;transition:opacity .5s ease;pointer-events:none}
.why-premium-card:hover,.why-premium-card:focus-within{transform:translateY(-10px);border-color:#fecaca;box-shadow:0 30px 60px rgba(0,0,0,.32),0 0 0 1px rgba(246,18,23,.22),0 14px 28px rgba(246,18,23,.22)}
.why-premium-card:hover::after,.why-premium-card:focus-within::after{opacity:1}

.why-premium-media{position:relative;height:190px;overflow:hidden}
.why-premium-media img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.01);transition:transform .75s cubic-bezier(.2,.8,.2,1),filter .55s ease;filter:contrast(1.05) saturate(1.05)}
.why-premium-card:hover .why-premium-media img,.why-premium-card:focus-within .why-premium-media img{transform:scale(1.08);filter:contrast(1.12) saturate(1.12)}
.why-premium-media::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(60,4,8,.1),rgba(60,4,8,.68));pointer-events:none}

.why-premium-icon{position:absolute;right:14px;bottom:14px;width:40px;height:40px;border-radius:9999px;background:#fff;border:1px solid rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;color:#F61217;z-index:2;box-shadow:0 10px 24px rgba(35,4,8,.45);transition:transform .4s ease,box-shadow .4s ease}
.why-premium-card:hover .why-premium-icon,.why-premium-card:focus-within .why-premium-icon{transform:translateY(-2px) scale(1.05);box-shadow:0 14px 30px rgba(35,4,8,.56)}

.why-premium-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:10px}
.why-premium-inline-icon{width:42px;height:42px;border-radius:9999px;background:#fff;border:1px solid rgba(246,18,23,.25);display:flex;align-items:center;justify-content:center;color:#F61217;box-shadow:0 10px 22px rgba(246,18,23,.16)}
.why-premium-body h4{font-family:'Space Grotesk',sans-serif;font-size:20px;line-height:1.18;color:#111827;margin:0}
.why-premium-body p{font-family:'Inter',sans-serif;font-size:14px;line-height:1.58;color:#374151;margin:0}
.why-premium-body .canva-text{font-family:'Space Grotesk',sans-serif}
.why-premium-subsections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:2px}
.why-premium-subsection{position:relative;overflow:hidden;border:1px solid #e5e7eb;border-radius:12px;padding:10px 12px;background:linear-gradient(180deg,#ffffff,#f8fafc);font-family:'Inter',sans-serif;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}
.why-premium-subsection h5{margin:0;font-family:inherit;font-size:13px;font-weight:600;line-height:1.35;color:#111827;transition:color .3s ease}
.why-premium-subsection p{margin:4px 0 0;font-family:inherit;font-size:12px;line-height:1.45;color:#4b5563;transition:color .3s ease}
.why-premium-subsection:hover,.why-premium-subsection:focus-within{transform:translateY(-2px);border-color:#fecaca;box-shadow:0 14px 24px rgba(246,18,23,.16)}
.why-premium-subsection:hover h5,.why-premium-subsection:focus-within h5{color:#b91c1c}
.why-premium-subsection:hover p,.why-premium-subsection:focus-within p{color:#dc2626}

@media(max-width:1024px){
 .why-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}

@media(max-width:640px){
 .why-premium-grid{grid-template-columns:1fr;gap:18px}
 .why-premium-media{height:200px}
 .why-premium-subsections{grid-template-columns:1fr}
 .why-premium-body h4{font-size:19px}
}

/* 13. Industries premium tiles */
.industries-premium{background:#0a0e1a}
.industries-premium [data-template-id="hind-heading"]{color:#fff!important}

#page-home>section.industries-premium .industry-content h4{color:#0f172a!important}
#page-home>section.industries-premium .industry-content p{color:#1f2937!important}

.industry-card{position:relative;display:flex;flex-direction:column;min-height:280px;border-radius:18px;overflow:hidden;isolation:isolate;background:#fff;border:1px solid #e5e7eb;box-shadow:0 16px 34px rgba(15,23,42,.12);transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .3s ease}
.industry-image{position:relative;width:100%;height:172px;object-fit:cover;filter:contrast(1.06) saturate(1.05);transition:transform .7s cubic-bezier(.2,.8,.2,1),filter .4s ease}

.industry-card::after{content:'';position:absolute;left:18px;right:18px;bottom:0;height:3px;background:linear-gradient(90deg,#F61217,rgba(246,18,23,.2));border-radius:9999px;z-index:2;transform:scaleX(.22);transform-origin:left center;transition:transform .4s ease}

.industry-content{position:relative;z-index:1;display:flex;flex:1;flex-direction:column;justify-content:flex-start;padding:18px 18px 20px;gap:8px;background:linear-gradient(180deg,#ffffff 0%,#fcfcfd 100%)}
.industry-content h4{font-family:'Space Grotesk',sans-serif;font-size:19px;line-height:1.18;letter-spacing:-.01em;margin:0;color:#0f172a}
.industry-content p{font-family:'Inter',sans-serif;font-size:13px;line-height:1.55;margin:0;color:#334155}

.industry-note{font-family:'Inter',sans-serif;font-size:12px;line-height:1.45;color:#475569;margin-top:auto;padding-top:4px;border-top:1px dashed #e2e8f0}

.industry-card:hover,.industry-card:focus-within{transform:translateY(-7px);border-color:rgba(246,18,23,.35);box-shadow:0 24px 44px rgba(15,23,42,.18),0 0 0 1px rgba(246,18,23,.12)}
.industry-card:hover .industry-image,.industry-card:focus-within .industry-image{transform:scale(1.06);filter:contrast(1.1) saturate(1.1)}
.industry-card:hover::after,.industry-card:focus-within::after{transform:scaleX(1)}

@media(max-width:1024px){
 .industry-card{min-height:290px}
}

@media(max-width:640px){
 .industry-card{min-height:260px}
 .industry-content h4{font-size:18px}
 .industry-content p{font-size:13px}
}

/* 14. Ecosystem marquee section */
.ecosystem-section{background:#f9fafb;overflow:hidden;position:relative}
.ecosystem-wrap{width:min(1180px,92vw);margin:0 auto}
.ecosystem-head{margin-bottom:42px}

#page-home>section.ecosystem-section{background:#f9fafb!important}

#page-home>section.ecosystem-section .ecosystem-head{text-align:center}
#page-home>section.ecosystem-section [data-template-id="tech-label"]{color:#F61217!important}
#page-home>section.ecosystem-section [data-template-id="tech-heading"]{color:#000!important}

.ecosystem-row{display:grid;grid-template-columns:195px 1fr;align-items:center;border-top:1px solid rgba(255,255,255,.1);min-height:98px}
.ecosystem-label{display:flex;align-items:center;gap:14px;color:#000;font-family:'Inter',sans-serif;font-size:14px;padding-left:4px}
.ecosystem-label b{font-size:10px;font-weight:600;color:#F61217;letter-spacing:.12em}
.ecosystem-label span{color:#000!important}

.ecosystem-marquee{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent)}
.ecosystem-track{display:flex;width:max-content;gap:12px;animation:ecosystemMove 36s linear infinite;padding:12px 0}
.ecosystem-track.reverse{animation-direction:reverse;animation-duration:42s}
.ecosystem-row:hover .ecosystem-track{animation-play-state:paused}

.ecosystem-logo{width:152px;height:72px;flex:0 0 152px;border:1px solid rgba(229,231,235,.95);border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-decoration:none;transition:transform .3s ease,background .3s ease,border-color .3s ease,box-shadow .3s ease}
.ecosystem-logo:hover{background:#fff;border-color:rgba(246,18,23,.38);transform:translateY(-3px);box-shadow:0 10px 22px rgba(246,18,23,.16)}
.ecosystem-logo img{width:auto;max-width:104px;height:30px;object-fit:contain;opacity:.95;filter:drop-shadow(0 0 0 rgba(0,0,0,0))}
.ecosystem-logo span{font-family:'Inter',sans-serif;font-size:10px;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:124px}
.ecosystem-row-cloud .ecosystem-logo{width:166px;flex-basis:166px;height:78px}
.ecosystem-row-cloud .ecosystem-logo img{max-width:118px;height:36px}

@keyframes ecosystemMove{to{transform:translateX(-50%)}}

@media(max-width:900px){
 .ecosystem-row{grid-template-columns:160px 1fr}
}

@media(max-width:700px){
 .ecosystem-head{margin-bottom:30px}
 .ecosystem-row{display:block;min-height:unset;padding:10px 0}
 .ecosystem-label{padding:0 0 10px 2px}
 .ecosystem-track{padding:8px 0;gap:9px}
 .ecosystem-logo{width:136px;flex-basis:136px;height:64px}
 .ecosystem-logo img{max-width:92px;height:26px}
 .ecosystem-logo span{max-width:112px}
 .ecosystem-row-cloud .ecosystem-logo{width:148px;flex-basis:148px;height:68px}
 .ecosystem-row-cloud .ecosystem-logo img{max-width:102px;height:30px}
}

@media (prefers-reduced-motion:reduce){
 .ecosystem-track{animation:none}
}

/* 10. Extracted inline style utilities (from HTML) */
.inl-0001{background: rgb(255, 255, 255);}
.inl-0002{font-family:'Space Grotesk',sans-serif;}
.inl-0003{color: rgb(0, 0, 0); font-weight: 500; font-style: normal; font-size: 16px;}
.inl-0004{background: #F61217; color: rgb(255, 255, 255); font-weight: 600; font-style: normal; font-size: 16px;}
.inl-0005{color: #F61217; font-weight: 500; font-style: normal; font-size: 16px;}
.inl-0006{font-family: "Space Grotesk", sans-serif; color: rgb(17, 24, 39); font-weight: 700; font-style: normal; font-size: 36px;}
.inl-0007{color: rgb(107, 114, 128); font-weight: 400; font-style: normal; font-size: 16px;}
.inl-0008{min-height: 300px; background: rgb(17, 24, 39);}
.inl-0009{color: rgb(255, 255, 255); font-weight: 700; font-style: normal; font-size: 22px;}
.inl-0010{color: rgb(209, 213, 219); font-weight: 400; font-style: normal; font-size: 14px;}
.inl-0011{color: rgb(255, 255, 255); font-weight: 700; font-style: normal; font-size: 20px;}
.inl-0012{background: rgb(18, 19, 26);}
.inl-0016{color: rgb(26, 26, 26); font-weight: 700; font-style: normal; font-size: 48px;}
.inl-0017{color: rgb(75, 85, 99); font-weight: 400; font-style: normal; font-size: 18px;}
.inl-0018{background: rgb(249, 250, 251);}
.inl-0019{color: #F61217; font-weight: 700; font-style: normal; font-size: 28px;}
.inl-0022{background:#0a0e1a;}
.inl-0031{color: rgb(0, 0, 0); font-weight: 400; font-style: normal; font-size: 14px;}
.inl-0032{color: #F61217; font-weight: 600; font-style: normal; font-size: 16px;}
.inl-0033{background: linear-gradient(135deg, rgb(10, 14, 26), rgb(12, 25, 41));}
.inl-0034{font-family: "Space Grotesk", sans-serif; color: rgb(255, 255, 255); font-weight: 700; font-style: normal; font-size: 36px;}
.inl-0035{color: rgb(148, 163, 184); font-weight: 400; font-style: normal; font-size: 18px;}
.inl-0036{background: transparent; color: rgb(14, 165, 233); font-weight: 600; font-style: normal; font-size: 16px;}
.inl-0037{color: rgb(75, 85, 99); font-weight: 400; font-style: normal; font-size: 16px;}
.inl-0038{font-family: "Space Grotesk", sans-serif; color: rgb(17, 24, 39); font-weight: 700; font-style: normal; font-size: 28px;}
.inl-0039{color: rgb(17, 24, 39); font-weight: 600; font-style: normal; font-size: 16px;}
.inl-0040{color: rgb(255, 255, 255); font-weight: 700; font-style: normal; font-size: 16px;}
.inl-0041{font-family: "Space Grotesk", sans-serif; color: rgb(17, 24, 39); font-weight: 700; font-style: normal; font-size: 48px;}
.inl-0042{background: #F61217; color: rgb(255, 255, 255); font-weight: 400; font-style: normal; font-size: 16px;}
.inl-0043{background: rgb(17, 24, 39); color: rgb(255, 255, 255); font-weight: 400; font-style: normal; font-size: 16px;}
.inl-0044{color: rgb(22, 163, 74);}
.inl-0045{color: rgb(255, 255, 255); font-weight: 600; font-style: normal; font-size: 18px;}
.inl-0046{font-family: "Space Grotesk", sans-serif; color: rgb(17, 24, 39); font-weight: 700; font-style: normal; font-size: 18px;}
.inl-0047{color: rgb(55, 65, 81); font-weight: 400; font-style: normal; font-size: 16px;}
.inl-0048{color: #F61217; font-weight: 400; font-style: normal; font-size: 16px;}
