:root{
  color-scheme:dark;
  --bg:#1c2631;--bg-soft:#232e3a;--surface:#283542;--surface-up:#2d3946;
  --header-surface-top:#3a4855;--header-surface-bottom:#34414e;--hero-surface:#1f2c39;
  --text:#f4f6f8;--muted:#a9b6c3;--faint:#788897;--border:#465463;
  --accent:#ed1325;--accent-hover:#fc3445;--max:1250px;
  --font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;font-family:var(--font);background:radial-gradient(ellipse 1100px 600px at 56% 6%,#2b3947 0,transparent 77%),linear-gradient(165deg,#222e3a 0%,#1e2934 54%,#1b2530 100%);background-attachment:fixed;color:var(--text);-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}p{line-height:1.65}h1,h2,h3{letter-spacing:-.045em;line-height:1.13}
:focus-visible{outline:3px solid #ff8a94;outline-offset:4px}.skip-link{position:absolute;z-index:200;top:-80px;left:15px;background:#fff;color:#151515;padding:12px}.skip-link:focus{top:10px}
.shell{max-width:var(--max);margin-inline:auto;padding-inline:34px}
/* Brand lock: only the original supplied logo defines the geometry.
   A transparent-background derivative retains its existing frames, ink and red
   over/under stripe. With the 374px original, the stripe centre is y=169.5px.
   Desktop: top=23 + (169.5/374)*112 ~=73.75. The menu surface ends EXACTLY
   at that line, and the hero begins underneath it. Do not scale independently. */
.site-header{height:74px;position:relative;z-index:25;background:linear-gradient(180deg,var(--header-surface-top),var(--header-surface-bottom));}
/* The logo and header MUST have the same flat color, no independent gradient.
   The two alternate tints are for experimentation, enabled via ?header=warm/cool.
   The dark content surface retains its gradient. */
.site-header.light{--header-bg:#ffffff;background:var(--header-bg);box-shadow:0 1px 0 rgba(17,24,31,.08)}
.site-header.light.header-warm{--header-bg:#f9f6f1}
.site-header.light.header-cool{--header-bg:#f1f7fb}
.site-header.light .brand-wordmark{color:#1a2026;text-shadow:none}
.site-header.light .nav-link{color:#1d2630}.site-header.light .nav-link:hover,.site-header.light .nav-link.current{color:#0c1217}
.site-header.light .nav-divider{background:#cfd7df;opacity:1}.site-header.light .languages{color:#627181}.site-header.light .languages a:hover{color:#0c1217}
.site-header.light .menu-toggle{background:#fff;color:#1c2430;border-color:#cfd7df}.site-header.light .menu-toggle span{background:#1c2430}
/* Clip the animated sheen to the red divider itself, so its travel beyond
   the viewport cannot create a horizontal scrollbar. */
.header-divider{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#df0a16;z-index:1;overflow:hidden}
.header-inner{height:74px;position:relative;display:flex;align-items:flex-start;justify-content:flex-end}
.brand{position:absolute;top:23px;left:25px;display:flex;gap:0;align-items:flex-start;z-index:5}
.brand-logo-picture{width:112px;height:112px;flex:none}.brand-logo{width:112px;height:112px;object-fit:contain;flex:none}
.brand-wordmark{font-size:27px;font-weight:790;line-height:1;letter-spacing:-.06em;margin-top:8px;margin-left:-2px;text-shadow:0 1px 8px #1b2530}
.navigation{height:69px;display:flex;align-items:center;gap:31px;font-size:14px;font-weight:550;white-space:nowrap}
.nav-link{color:#e3e9ee;transition:color .18s}.nav-link:hover,.nav-link.current{color:#fff}.nav-link.current{box-shadow:inset 0 -2px var(--accent);padding-block:7px}
.nav-divider{height:23px;width:1px;background:#6a7887;opacity:.7;margin-left:5px}
.languages{display:flex;gap:11px;align-items:center;font-size:12px;color:#8fa0ae}.languages a[aria-current=page]{color:#ff5260;font-weight:760}.languages a:hover{color:white}
.menu-toggle{display:none}
/* Hero: the user-approved composition remains, with only one small header logo. */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:545px;background:radial-gradient(ellipse 950px 490px at 59% 22%,#2e3c49 0%,transparent 78%),linear-gradient(168deg,#253340 0%,var(--hero-surface) 65%,#1d2935 100%)}
.hero:before{content:"";position:absolute;z-index:-2;inset:-15% 0 0;background:radial-gradient(ellipse at 36% 24%,rgba(116,128,146,.13),transparent 53%),linear-gradient(135deg,rgba(40,52,65,.16),rgba(13,23,34,.16))}
.hero-mesh{position:absolute;bottom:0;left:0;right:0;z-index:-1;height:310px;background:url('/assets/img/terrain.svg') center bottom/cover no-repeat;opacity:.76;pointer-events:none}
.hero-inner{min-height:545px;display:grid;grid-template-columns:38% 62%;align-items:center;position:relative;padding-bottom:68px}
.hero-aside{position:relative;min-height:400px;align-self:stretch}
.target{position:absolute;font-family:monospace;color:#a6b1ba66;font-size:26px;font-weight:300;line-height:1}.target-one{top:26%;left:8%}.target-two{bottom:26%;left:52%}
.hero-corner{position:absolute;top:54px;left:0;width:24px;height:24px;border-top:1px solid var(--accent);border-left:1px solid var(--accent)}
.hero-copy{padding-top:10px;max-width:755px;position:relative;z-index:1}.eyebrow{display:inline-block;color:#fc626a;font-size:11px;font-weight:760;letter-spacing:.22em;text-transform:uppercase}
.hero-copy h1{font-size:clamp(43px,4.7vw,69px);max-width:780px;margin:23px 0 22px;line-height:1.07;font-weight:790}
.hero-copy h1::after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--accent);margin-left:9px;margin-bottom:5px}
.hero-copy p{font-size:18px;max-width:640px;color:#d1dae3;line-height:1.66}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:32px}.btn{min-height:46px;border-radius:7px;padding:13px 20px;display:inline-flex;align-items:center;justify-content:center;gap:21px;font-size:13px;font-weight:740;transition:background .2s,transform .2s,border-color .2s;border:1px solid transparent;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(160deg,#d20b1e,#b70719);color:white;border-color:#ec172a;box-shadow:0 7px 22px #a7091718}.btn-primary:hover{background:linear-gradient(160deg,#ee1e31,#c80b1b)}.btn-outline{background:#29364344;border-color:#9cabba;color:#f6f8fa}.btn-outline:hover{background:#364452;border-color:white}.btn-ghost{background:#2e3b49;border-color:#607080;color:var(--text)}
.hero-keywords{margin-top:45px;display:flex;align-items:center;gap:18px;font-size:12px;font-weight:700;letter-spacing:.02em;color:#92a1b0}.hero-keywords i{width:4px;height:4px;border-radius:50%;background:#df4050}
/* Cards */
.pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px;position:relative;z-index:2}
.pillar{position:relative;isolation:isolate;min-height:240px;padding:31px 30px 27px;background:linear-gradient(155deg,#2c3a49cc,#26323fdb);border:1px solid #52606f91;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;transition:transform .2s,border-color .2s,background .2s}
.pillar:after{content:"";position:absolute;bottom:-40px;right:-40px;width:185px;height:155px;z-index:-1;opacity:.46;transform:skewY(-17deg) rotate(-14deg);background:repeating-linear-gradient(0deg,transparent 0 23px,#eb354a3a 24px 25px,transparent 26px 48px),repeating-linear-gradient(90deg,transparent 0 38px,#f3596630 39px 40px,transparent 41px 80px)}
.pillar:nth-child(2):after{opacity:.24}.pillar:hover{transform:translateY(-4px);border-color:#798999}
.pillar h2{font-size:24px;margin:0 0 13px}.pillar p{font-size:14px;color:#c5cfda;margin:0;max-width:300px}.pillar-more{font-size:13px;font-weight:700;color:#ff6470;margin-top:auto;padding-top:20px}.pillar-more span{margin-left:7px}.pillar-symbol{width:33px;height:33px;display:block;margin-bottom:19px;position:relative}
.pillar-symbol.cube:before{content:"";display:block;width:25px;height:25px;border:2px solid var(--accent);transform:rotate(30deg);margin:3px}.pillar-symbol.code:before{content:"</>";color:#f14955;font-size:24px;font-weight:500}.pillar-symbol.layers:before{content:"▱";color:#f14955;font-size:35px;position:absolute;left:0;top:-11px}.pillar-symbol.layers:after{content:"▱";color:#f14955;font-size:35px;position:absolute;left:0;top:-3px}
.section{padding-block:100px 45px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:31px}.section-head h2{font-size:clamp(28px,3vw,39px);margin:10px 0 0}.text-link{color:#ff6b75;font-size:13px;font-weight:720;display:inline-flex;gap:13px}.text-link:hover,.back-link:hover{color:#fff}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.product-card{min-width:0}.product-visual{display:block;position:relative;aspect-ratio:1.47;overflow:hidden;border:1px solid #60718175;border-radius:10px;background:#25384c}.product-visual img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.product-visual:hover img{transform:scale(1.045)}.visual-corner{position:absolute;bottom:10px;right:13px;font-size:17px;opacity:0;transition:opacity .2s}.product-visual:hover .visual-corner{opacity:1}
.product-copy{padding:18px 4px}.overline{display:block;text-transform:uppercase;color:#a9b8c8;font-size:10px;letter-spacing:.16em;font-weight:720}.product-copy h3{font-size:19px;margin:9px 0 9px}.product-copy h3 a:hover{color:#ff7380}.product-copy p{font-size:13px;color:#bfcbd7;margin:0;line-height:1.6}
.image-note{font-size:11px;color:#8494a3;margin-top:26px}
.expertise-strip{border-top:1px solid #3b4a58;display:grid;grid-template-columns:1.2fr .8fr;gap:30px;align-items:center;padding-top:76px;padding-bottom:95px}.expertise-strip h2{font-size:clamp(32px,3.3vw,46px);max-width:580px;margin:16px 0}.expertise-strip p{max-width:650px;color:#b7c4d0;font-size:15px}.skill-tags{display:grid;grid-template-columns:1fr 1fr;gap:12px}.skill-tags span{padding:23px 17px;text-align:center;font-size:13px;color:#dae3ea;background:#2b3947;border:1px solid #485766;border-radius:10px}
.contact-banner{margin-top:22px;margin-bottom:76px;min-height:135px;border:1px solid #526170;display:flex;align-items:center;gap:24px;padding-block:24px;background:linear-gradient(110deg,#2b3947,#283440 55%,#2f3d4a);border-radius:12px}.banner-icon{width:66px;height:66px;flex:none;border:1px solid #c73a46;color:#ff6972;display:grid;place-items:center;font-size:32px;border-radius:9px}.contact-banner div{flex:1}.contact-banner h2{font-size:26px;margin:0 0 7px}.contact-banner p{color:#c4cdd7;margin:0;font-size:14px}.contact-banner .btn{margin-left:auto}
.site-footer{border-top:1px solid #495764a6;background:#19232e88;padding:36px 0 26px}.footer-main{display:flex;justify-content:space-between;gap:20px;align-items:start}.footer-main strong{font-size:18px}.footer-main p{font-size:12px;color:#9eacb8}.footer-links{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:#c5d1da}.footer-links a:hover,.footer-links button:hover{color:#fff}.footer-links button{border:0;padding:0;background:none;color:inherit}.footer-meta{display:flex;justify-content:space-between;color:#80909e;font-size:11px;gap:16px;padding-top:30px}
/* Interior pages */
.page-section{padding-block:105px 90px;min-height:65vh}.section-intro{max-width:800px;margin-bottom:49px}.section-intro h1{font-size:clamp(42px,5vw,67px);margin:16px 0 19px}.section-intro p{font-size:18px;color:#c5d0dc;max-width:770px}.products-page{row-gap:40px}
.detail-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:60px;align-items:center;min-height:420px}.back-link{display:inline-block;color:#fa6972;font-size:13px;margin-bottom:37px}.detail-title{font-size:clamp(49px,5vw,74px);margin:18px 0 20px}.detail-lead{font-size:19px;color:#d0d9e3;line-height:1.65}.technology-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.technology-list span{font-size:12px;color:#d5dfe8;background:#30404e;border:1px solid #627184;border-radius:100px;padding:9px 13px}.detail-status{font-size:12px;color:#96adb8;margin:27px 0 0}.detail-art{border:1px solid #68788a65;background:#283745;border-radius:15px;overflow:hidden;box-shadow:0 25px 65px #0d142046}.detail-art img{width:100%}.store-actions{margin-top:29px}
.skill-grid,.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.skill-card{min-height:245px;border:1px solid #4e5d6a;background:linear-gradient(135deg,#2c3a49,#263340);border-radius:13px;padding:34px}.skill-icon{color:#ff5f6e;font-size:32px}.skill-card h2{font-size:25px;margin:20px 0 10px}.skill-card p{color:#bbc8d2;font-size:15px;max-width:500px}
.portfolio-card{border-radius:12px;overflow:hidden;border:1px solid #4d5f6f;background:#293643}.portfolio-visual{aspect-ratio:1.9;overflow:hidden}.portfolio-visual img{width:100%;height:100%;object-fit:cover}.portfolio-body{padding:28px}.portfolio-body h2{margin:9px 0 13px;font-size:26px}.portfolio-body p{font-size:14px;color:#c0ccd7;max-width:520px}
.about-card{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;padding:44px;background:linear-gradient(140deg,#30404f,#273541);border:1px solid #526270;border-radius:13px}.about-card h2{font-size:30px}.about-card p{max-width:670px;color:#cad5df}.about-facts{border-left:1px solid #637181;padding:23px 0 23px 36px;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.about-facts span{color:#acbbc9;font-size:13px}.about-facts strong{font-size:31px;line-height:1.2;letter-spacing:-.05em}
.legal-body{max-width:830px}.legal-body h2{margin-top:39px}.legal-body p{color:#c2ccd7}.legal-body a{color:#ff7882}.notice{border:1px solid #ab7949;padding:18px 22px;background:#5741265c;border-radius:8px;color:#f4dab7}
.contact-layout{display:grid;grid-template-columns:1.05fr .8fr;gap:75px}.contact-form{display:flex;flex-direction:column;gap:12px;padding:32px;background:#283744;border:1px solid #536272;border-radius:12px}.contact-form label{font-size:13px;font-weight:710}.contact-form input:not([type=checkbox]),.contact-form textarea{background:#1d2934;color:#f5f7f9;border-radius:7px;border:1px solid #6a7987;padding:14px;outline:none;width:100%}.contact-form input:focus,.contact-form textarea:focus{border-color:#ff5362;box-shadow:0 0 0 2px #ff53622b}.contact-form textarea{resize:vertical}.contact-form .btn{align-self:flex-start}.check-row{display:flex;align-items:flex-start;gap:11px;margin-block:11px;font-weight:400!important;color:#d9e1e7}.check-row input{width:16px;height:16px;accent-color:#ea1a2a;margin-top:4px}.check-row a{color:#ff7784}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-result{border-radius:8px;padding:13px;font-size:13px}.form-result.ok{border:1px solid #5a8e79;background:#2a4d3b}.form-result.error{border:1px solid #af6870;background:#59343c}.contact-aside{padding:25px 0}.contact-aside h2{font-size:29px}.contact-email{font-size:23px;color:#ff6674}.contact-aside p{color:#c2d0da;margin-block:30px}
/* Consent is displayed only by JS when no preference is stored. */
.consent[hidden]{display:none!important}.consent{position:fixed;z-index:90;bottom:16px;left:16px;right:16px;max-width:1010px;margin:auto;padding:24px;display:flex;gap:30px;align-items:center;border:1px solid #8092a2;background:#30404ef7;box-shadow:0 15px 75px #09111cc7;border-radius:12px;backdrop-filter:blur(12px)}.consent-content{flex:1}.consent-content strong{font-size:16px}.consent-content p{margin:8px 0 0;color:#c9d4dc;font-size:13px}.consent-content a{text-decoration:underline}.consent-actions{display:flex;gap:11px;flex-wrap:wrap}
@media(max-width:1100px){.navigation{gap:19px}.brand-wordmark{font-size:24px}.hero-inner{grid-template-columns:29% 71%}.hero-copy h1{font-size:54px}.product-grid{gap:14px}.pillar{padding:25px 22px}}
@media(max-width:790px){.shell{padding-inline:24px}.site-header{height:62px}.header-divider{bottom:-1px}.brand{top:22px;left:18px}.brand-logo-picture{width:88px;height:88px}.brand-logo{width:88px;height:88px}.brand-wordmark{font-size:23px;margin-top:8px}.header-inner{height:62px}.menu-toggle{display:flex;position:absolute;right:18px;top:11px;width:44px;height:39px;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#30404e;color:white;border:1px solid #526171;border-radius:7px;z-index:15}.menu-toggle span{width:20px;height:2px;background:white}.navigation{display:none;position:absolute;top:64px;left:14px;right:14px;height:auto;padding:25px;flex-direction:column;align-items:flex-start;gap:19px;background:#2d3b49;border:1px solid #5d6b78;border-radius:9px;box-shadow:0 16px 50px #0008}.site-header.light .navigation{background:#fff;border-color:#d5dbe2;box-shadow:0 16px 50px rgba(11,20,31,.18)}.site-header.light .navigation .nav-link{color:#1f2933}.site-header.light .navigation .nav-link.current{color:#d90d1f}.site-header.light .navigation .languages{color:#5b6a79}.navigation.open{display:flex}.nav-link.current{box-shadow:none;color:#ff7780}.nav-divider{height:1px;width:100%;margin:0}.hero-inner{grid-template-columns:1fr;min-height:520px;padding-top:86px;align-items:center}.hero-aside{display:none}.hero-copy{max-width:680px}.hero-copy h1{font-size:clamp(43px,7vw,64px)}.hero{min-height:520px}.pillars{grid-template-columns:1fr 1fr;margin-top:14px}.pillars .pillar:last-child{grid-column:1/-1}.product-grid{grid-template-columns:1fr 1fr;row-gap:25px}.detail-grid,.about-card,.contact-layout{grid-template-columns:1fr}.detail-grid{gap:30px}.about-facts{border-left:0;border-top:1px solid #5d6c7a;padding:30px 0 0}.contact-layout{gap:30px}.expertise-strip{grid-template-columns:1fr}.footer-main,.footer-meta{flex-direction:column}.consent{align-items:stretch;flex-direction:column}.consent-actions{justify-content:flex-end}}
@media(max-width:525px){.shell{padding-inline:18px}.brand-wordmark{font-size:21px}.hero-inner{min-height:520px}.hero-copy h1{font-size:43px}.hero-copy p{font-size:16px}.hero-keywords{gap:10px}.hero-actions{gap:9px}.btn{padding:12px 14px;gap:9px}.pillars,.product-grid,.skill-grid,.portfolio-grid{grid-template-columns:1fr}.pillars .pillar:last-child{grid-column:auto}.pillar{min-height:205px}.product-visual{aspect-ratio:1.72}.section{padding-top:73px}.section-head{align-items:flex-start;flex-direction:column}.contact-banner{flex-wrap:wrap}.contact-banner .btn{margin:0}.page-section{padding-block:85px 60px}.section-intro h1{font-size:42px}.contact-form{padding:22px}.footer-links{gap:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
/* Deliberately understated motion: the original logo itself remains pixel-identical. */
.header-divider::after{content:"";display:block;position:absolute;top:0;bottom:0;width:min(18vw,170px);background:linear-gradient(90deg,transparent,#ffb1b42b,transparent);transform:translateX(-200px);animation:line-sweep 17s ease-in-out infinite;pointer-events:none}
@keyframes line-sweep{0%,14%{transform:translateX(-200px)}68%,100%{transform:translateX(calc(100vw + 200px))}}
.hero-mesh{animation:mesh-breathe 12s ease-in-out infinite alternate}
@keyframes mesh-breathe{from{opacity:.66;transform:translateY(0)}to{opacity:.79;transform:translateY(3px)}}
@media(prefers-reduced-motion:reduce){.header-divider::after,.hero-mesh{animation:none}}

/* Customer portal: shares site surfaces and typography. */
.portal{padding-top:120px}.portal-panel{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:32px;max-width:880px}
.portal-panel h2{margin-top:30px}.portal-form{display:grid;gap:16px;max-width:480px}.portal-form label{display:grid;gap:7px;color:var(--text);font-weight:600;font-size:13px}
.portal-form input{padding:12px 14px;border:1px solid #8190a0;background:#192633;color:#fff;border-radius:7px;max-width:100%}
.portal-form button{justify-self:start}.portal-error{color:#ff9b9b}.portal-success{color:#a8edd0;overflow-wrap:anywhere}.portal-links{display:flex;gap:24px;align-items:center}.portal-links a,.portal-panel li a{color:#ff818a;text-decoration:underline}
.portal-accounts{display:grid;gap:12px}.portal-account{display:flex;gap:16px;justify-content:space-between;flex-wrap:wrap;align-items:center;border-top:1px solid var(--border);padding:12px 0}
.portal-account>div{display:flex;gap:7px}.portal-account .btn{min-height:38px;padding:9px 12px}
@media(max-width:600px){.portal-panel{padding:20px}.portal-account>div{flex-wrap:wrap}}

/* Hero earth v1 — interactive SVG only, no canvas/WebGL or remote assets. */
.hero{isolation:isolate}
.hero-earth{position:absolute;z-index:0;width:min(850px,70vw);aspect-ratio:1;right:clamp(-310px,-17vw,-130px);top:50%;transform:translateY(calc(-50% + var(--earth-scroll,0px)));opacity:.84;cursor:grab;touch-action:pan-y;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 0 45px rgba(91,160,201,.12));}
.hero-earth.is-dragging{cursor:grabbing}
.earth-svg{width:100%;height:100%;display:block;overflow:visible}
.hero-earth.earth-ready .earth-static-grid{display:none}
.earth-grid-line,.earth-grid-major{stroke:#76aec5;stroke-opacity:.28;stroke-width:1.2;fill:none;vector-effect:non-scaling-stroke}
.earth-grid-major{stroke:#92c3d5;stroke-opacity:.42;stroke-width:1.5}
.earth-coast{fill:none;stroke:#8bc3d6;stroke-opacity:.88;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.earth-pin-ring{fill:none;stroke:#fa5468;stroke-width:1.8;opacity:.9;vector-effect:non-scaling-stroke}
.earth-pin-dot{fill:#ff5365}
.earth-drag-hint{position:absolute;right:21%;bottom:14%;letter-spacing:.18em;font-size:10px;color:#a9cedc;opacity:.75;font-weight:700;pointer-events:none}
.hero-inner{z-index:2;pointer-events:none}
.hero-copy{pointer-events:none;text-shadow:0 2px 26px rgba(14,29,44,.5)}
.hero-copy a{pointer-events:auto}
.hero-mesh{opacity:.39}
@media(min-width:1400px){.hero-earth{width:950px;right:max(-240px,calc((100vw - 1500px)/2 - 230px))}}
@media(max-width:1100px){.hero-earth{width:730px;right:-320px;opacity:.63}}
@media(max-width:790px){.hero-earth{width:650px;right:-365px;top:51%;opacity:.38}.earth-drag-hint{display:none}.hero-copy{max-width:660px;text-shadow:0 2px 18px #192938}}
@media(max-width:525px){.hero-earth{width:550px;right:-370px;opacity:.3;top:48%}.hero-copy{position:relative}.hero-copy h1{max-width:420px}}
@media(prefers-reduced-motion:reduce){.hero-earth{transform:translateY(-50%)!important;cursor:default}.hero-mesh{animation:none!important}.earth-drag-hint{display:none}}

/* Secondary accent system: fixed per route, independent of the red brand color. */
:root{--glow:#70ebb1;--glow-rgb:112,235,177}
.accent-green{--glow:#70ebb1;--glow-rgb:112,235,177}
.accent-teal{--glow:#62e1c9;--glow-rgb:98,225,201}
.accent-cyan{--glow:#6bdaf6;--glow-rgb:107,218,246}
.accent-blue{--glow:#8dbbff;--glow-rgb:141,187,255}
.accent-violet{--glow:#b99aff;--glow-rgb:185,154,255}
.accent-amber{--glow:#ffd18b;--glow-rgb:255,209,139}
/* Secondary emphasis stays subordinate to the Inventrix red CTA and logo. */
.eyebrow{color:var(--glow)}
.hero .eyebrow{color:#a4f6cb}
.pillar{border-top-color:rgba(var(--glow-rgb),.3)}
.pillar:hover{border-top-color:rgba(var(--glow-rgb),.8);box-shadow:0 10px 35px rgba(var(--glow-rgb),.08)}
.pillar-more{color:var(--glow)}
.text-link{color:var(--glow)}
.product-visual:hover,.portfolio-card:hover,.skill-card:hover{border-color:rgba(var(--glow-rgb),.6);box-shadow:0 0 25px rgba(var(--glow-rgb),.075)}
.technology-list span{border-color:rgba(var(--glow-rgb),.36)}
.detail-status{color:var(--glow)}
.about-facts{border-color:rgba(var(--glow-rgb),.35)}
.skill-tags span:hover{border-color:rgba(var(--glow-rgb),.5)}
.contact-banner{border-top-color:rgba(var(--glow-rgb),.4)}
.portal-panel{border-top-color:rgba(var(--glow-rgb),.4)}
/* Electricity follows the globe's projected grid curves (not a page overlay). */
.earth-energy{pointer-events:none}
.earth-energy-path{
  fill:none;
  stroke:var(--glow);
  stroke-width:2.3;
  stroke-opacity:.8;
  stroke-linecap:round;
  vector-effect:non-scaling-stroke;
  stroke-dasharray:5 1300;
  stroke-dashoffset:1300;
  animation:earth-current var(--energy-duration,16s) linear var(--energy-delay,0s) infinite;
  filter:drop-shadow(0 0 3px rgba(var(--glow-rgb),.68));
}
.earth-energy-path:nth-child(even){stroke-width:1.5;stroke-opacity:.55}
.earth-pin-ring{stroke:var(--glow)}
.earth-pin-dot{fill:var(--glow)}
@keyframes earth-current{from{stroke-dashoffset:1300}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){
  .earth-energy-path{animation:none;stroke-dasharray:none;stroke-opacity:.13;filter:none}
}


/* Inventrix light & line system v1.
   One restrained luminous edge, shared across pages; brand red remains untouched.
   Pure CSS, no extra requests or JavaScript. The route's --glow tokens supply color. */
:root{
  --light-edge:rgba(var(--glow-rgb),.38);
  --light-edge-strong:rgba(var(--glow-rgb),.72);
  --light-aura:rgba(var(--glow-rgb),.09);
  --light-speed:680ms;
}
/* Cards use a fine illuminated top edge; surface and content remain legible. */
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.contact-aside,.portal-panel,.contact-banner){
  position:relative;
  isolation:isolate;
}
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel,.contact-banner)::before{
  content:"";
  position:absolute;
  z-index:1;
  left:20px;
  right:20px;
  top:-1px;
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--light-edge),transparent);
  opacity:.72;
  transition:opacity .3s ease;
}
/* Structural accents on cards, not repeated decorative animation everywhere. */
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel){
  transition:border-color .25s ease,box-shadow .3s ease,transform .25s ease;
}
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel):hover{
  border-color:var(--light-edge);
  box-shadow:0 12px 42px rgba(8,16,27,.16),0 0 28px var(--light-aura);
}
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel):hover::before,
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel):focus-within::before{
  opacity:1;
}
:is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel):focus-within{
  border-color:var(--light-edge-strong);
}
/* Hover reveals the accent line beneath product imagery. */
.product-visual,.detail-art{position:relative}
.product-visual::after,.detail-art::after{
  content:"";
  pointer-events:none;
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px;
  background:linear-gradient(90deg,transparent,rgba(var(--glow-rgb),.78),transparent);
  opacity:.25;
  transform:scaleX(.45);
  transform-origin:center;
  transition:transform var(--light-speed) ease,opacity var(--light-speed) ease;
}
.product-visual:hover::after,.product-visual:focus-visible::after,.detail-art:hover::after{
  transform:scaleX(1);
  opacity:.85;
}
/* Section dividers: gradient line follows the same visual language. */
.expertise-strip{
  border-top-color:transparent;
  background-image:linear-gradient(90deg,rgba(var(--glow-rgb),.52),rgba(105,130,151,.24) 42%,transparent 92%);
  background-size:100% 1px;
  background-repeat:no-repeat;
  background-position:top left;
}
.section-head,.section-intro{position:relative}
.section-head::after,.section-intro::after{
  content:"";
  position:absolute;
  bottom:-18px;
  left:0;
  width:min(240px,38vw);
  height:1px;
  pointer-events:none;
  background:linear-gradient(90deg,var(--light-edge-strong),rgba(var(--glow-rgb),.12),transparent);
}
.section-head{margin-bottom:49px}
.section-intro{margin-bottom:56px}
.section-intro .eyebrow,.section-head .eyebrow{
  letter-spacing:.19em;
}
.contact-aside{border-left:1px solid rgba(var(--glow-rgb),.18);padding-left:30px}
.site-footer{
  border-top-color:rgba(var(--glow-rgb),.2);
  background-image:linear-gradient(90deg,rgba(var(--glow-rgb),.055),transparent 52%);
}
/* Links and tags inherit the route identity but never lose focus contrast. */
.skill-tags span{transition:border-color .25s ease,background-color .25s ease}
.skill-tags span:hover{background-color:rgba(var(--glow-rgb),.055)}
:is(.footer-links a,.footer-links button,.back-link,.text-link):hover{ text-decoration-color:var(--glow) }
.technology-list span{transition:border-color .25s ease}
.technology-list span:hover{border-color:var(--light-edge-strong)}
@media(max-width:790px){
  .contact-aside{border-left:0;border-top:1px solid rgba(var(--glow-rgb),.22);padding:26px 0 0}
  .section-head{margin-bottom:44px}
}
@media(max-width:525px){
  .section-head::after,.section-intro::after{width:140px}
  .section-intro{margin-bottom:48px}
}
@media(prefers-reduced-motion:reduce){
  :is(.pillar,.skill-card,.portfolio-card,.about-card,.contact-form,.portal-panel),
  .product-visual::after,.detail-art::after,.skill-tags span,.technology-list span{transition:none!important}
}

/* A single luminous grid tile reveals the seven-frame vector Inventrix mark. */
.earth-brand{pointer-events:none;will-change:opacity}
.earth-brand-cell{
  fill:rgba(var(--glow-rgb),.10);
  stroke:rgba(var(--glow-rgb),.72);
  stroke-width:1.25;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 0 4px rgba(var(--glow-rgb),.28));
}
/* The seven nested outlines are computed from the actual geographic tile.
   JS projects their vertices with the grid's orthographic sphere function;
   screen-space SVG transforms would break alignment during drag. */
.earth-brand-mark{pointer-events:none}
.earth-brand-frame{
  fill:none;
  stroke:var(--glow);
  stroke-width:1.6;
  opacity:.84;
  vector-effect:non-scaling-stroke;
  filter:drop-shadow(0 0 2px rgba(var(--glow-rgb),.4));
}
.earth-brand-frame-1{stroke-width:1.9;opacity:.92}
.earth-brand-frame-2{opacity:.88}
.earth-brand-frame-3{opacity:.84}
.earth-brand-frame-4{opacity:.80}
.earth-brand-frame-5{opacity:.76}
.earth-brand-frame-6{opacity:.72}
.earth-brand-frame-7{opacity:.68}
@media(max-width:790px){
  .earth-brand-frame{stroke-width:1.6;filter:none}
}
@media(prefers-reduced-motion:reduce){
  .earth-brand{display:none!important}
}
