/* TEC INDUSTRIES — Premium motion and material design layer, 2026-11-15.
 * Inspired by established animated UI patterns; all behavior is original and self-hosted.
 * The original responsive layout remains the fallback. */
@font-face{font-family:"TEC Manrope";src:url("/assets/tec-manrope.woff2") format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
:root{--premium-ease:cubic-bezier(.16,1,.3,1);--premium-ice:#baf3e8;--premium-lime:#97df68;--premium-ink:#041b28}
html{scroll-behavior:smooth}
body{font-family:"TEC Manrope","Segoe UI",Arial,sans-serif;font-weight:480;letter-spacing:-.015em}
h1,h2,h3,h4{letter-spacing:-.038em}
h1{font-variation-settings:"wght" 800}
a,button{touch-action:manipulation}
::selection{background:var(--green);color:#062a32}
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:#f3f6f1}
::-webkit-scrollbar-thumb{background:#8bb49c;border:2px solid #f3f6f1;border-radius:99px}
.site-header{backdrop-filter:saturate(120%) blur(16px);-webkit-backdrop-filter:saturate(120%) blur(16px);background:rgba(255,255,255,.94);transition:box-shadow .28s,background .28s}
.site-header.is-scrolled{background:rgba(255,255,255,.985)}
.premium-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#72bd4b,#c0f1a4,#a7f4e5);transform:scaleX(0);transform-origin:left center;pointer-events:none;z-index:1200;will-change:transform}
.utility-inner>span{font-weight:650}
.desktop-nav a{letter-spacing:-.01em}
.btn{border-radius:6px;position:relative;isolation:isolate;overflow:hidden;transition:transform .25s var(--premium-ease),box-shadow .28s,background-color .2s,border-color .2s}
.btn-primary{box-shadow:0 10px 25px rgba(75,126,48,.12)}
.btn-primary:hover,.btn-primary:focus-visible{box-shadow:0 15px 38px rgba(73,138,42,.26)}
.btn-primary::after{content:"";position:absolute;inset:-45%;pointer-events:none;background:linear-gradient(115deg,transparent 37%,rgba(255,255,255,.35) 48%,transparent 59%);transform:translateX(-115%) rotate(-6deg);transition:transform .8s var(--premium-ease)}
.btn-primary:hover::after,.btn-primary:focus-visible::after{transform:translateX(115%) rotate(-6deg)}
.btn-header{background:#0b2b3d;box-shadow:0 6px 18px rgba(9,38,55,.12)}
.btn-header:hover{background:#124351}
.hero{position:relative;isolation:isolate;background:linear-gradient(130deg,#f9faf5 0%,#f0f6ef 53%,#e4f0e8 100%)}
.hero::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;opacity:.6;background:radial-gradient(630px circle at var(--spot-x,55%) var(--spot-y,33%),rgba(154,218,180,.32),transparent 71%);transition:opacity .25s}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;opacity:.18;pointer-events:none;background-image:linear-gradient(rgba(21,70,65,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(21,70,65,.12) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(90deg,transparent 20%,#000 100%)}
.hero-grid{min-height:700px;gap:58px;padding-top:67px;padding-bottom:75px}
.hero-left{position:relative;z-index:3}
.hero h1{font-size:clamp(48px,5vw,76px);line-height:1.1;letter-spacing:-.055em}
.hero h1 em{font-style:normal;letter-spacing:-.057em}
.hero-left>p{font-size:15px;line-height:1.9}
.hero .eyebrow{font-size:10px;letter-spacing:.17em}
.hero-actions .btn{min-height:58px}
.hero-right-immersive{perspective:1250px;position:relative;padding-bottom:35px}
.hero-three-stage{height:560px;min-height:440px;border-radius:11px;border:1px solid rgba(151,219,186,.22);box-shadow:0 30px 70px rgba(14,50,61,.20),16px 19px 0 rgba(130,178,145,.14);background:#092636 url("/assets/industrial-hero.jpg") center/cover no-repeat;transform-style:preserve-3d;overflow:hidden;isolation:isolate}
.hero-three-stage::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.9;background:linear-gradient(145deg,rgba(7,33,48,.35),rgba(5,25,37,.12) 50%,rgba(5,23,33,.5))}
.hero-three-stage.scene-ready{background:radial-gradient(ellipse at 48% 35%,#1b5160 0%,#113b4d 37%,#041e2e 78%,#041521 100%)}
.hero-three-stage.scene-ready::before{background:linear-gradient(150deg,rgba(1,17,28,.04),rgba(1,17,28,.04) 57%,rgba(1,14,24,.53))}
.hero-three-stage::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.15;background-image:linear-gradient(#7bafbd 1px,transparent 1px),linear-gradient(90deg,#7bafbd 1px,transparent 1px);background-size:43px 43px;mask-image:radial-gradient(ellipse at 50% 50%,#000,transparent 76%)}
#pipeline-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;opacity:0;transition:opacity .7s ease;touch-action:pan-y;cursor:grab;display:block;max-width:none}
.scene-ready #pipeline-canvas{opacity:1}
#pipeline-canvas:active{cursor:grabbing}
.hero-three-stage .photo-overlay{z-index:0}
.hero-three-stage .hero-frame{z-index:3;pointer-events:none}
.hero-three-stage .hero-corner{bottom:72px;left:30px;z-index:3;pointer-events:none}
.hero-three-stage .hero-corner strong{font-size:clamp(27px,2.8vw,38px);line-height:1.08;letter-spacing:-.045em;text-shadow:0 2px 12px rgba(0,0,0,.32)}
.hero-three-stage .hero-corner .corner-title{letter-spacing:.12em;color:#b7e6cf}
.hero-three-stage .hero-corner .icon{display:none}
.scene-live-badge{position:absolute;z-index:4;top:69px;right:25px;color:#e0fff5;font-size:8px;letter-spacing:.15em;font-weight:800;padding:10px 12px;border:1px solid rgba(196,246,228,.3);background:rgba(3,24,35,.7);backdrop-filter:blur(12px);border-radius:4px}
.scene-live-dot{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#aaf17b;box-shadow:0 0 0 4px rgba(160,241,123,.09);vertical-align:1px}
.scene-ready .scene-live-dot{animation:premiumPulse 2.4s infinite}
@keyframes premiumPulse{50%{box-shadow:0 0 0 8px rgba(160,241,123,.015)}}
.viewer-controls{position:absolute;z-index:9;bottom:0;left:56px;right:18px;max-width:480px;padding:14px 16px 12px;border-radius:9px;background:rgba(255,255,255,.96);border:1px solid #dbe5de;box-shadow:0 20px 48px rgba(7,35,43,.19);backdrop-filter:blur(14px)}
.viewer-controls-heading{display:flex;align-items:center;justify-content:space-between;font-size:9px;font-weight:850;letter-spacing:.12em;color:#0b3c3c}
.viewer-controls-heading small{color:#688580;font-size:8px;letter-spacing:.07em}
.viewer-controls-buttons{display:flex;gap:7px;margin-top:10px}
.viewer-mode{flex:1;min-width:0;min-height:38px;border:1px solid #d5e4da;background:#f5f8f4;color:#375951;border-radius:5px;font-size:10px;letter-spacing:-.01em;font-weight:800;transition:background .2s,color .2s,transform .2s,border-color .2s}
.viewer-mode:hover{background:#e4f3e6;border-color:#9ad18e;transform:translateY(-2px)}
.viewer-mode.is-active{background:#102d3a;border-color:#102d3a;color:#f7fff4}
.viewer-disclaimer{display:block;color:#607b76;font-size:9px;line-height:1.4;margin-top:10px;letter-spacing:0}
.hero-right-immersive .floating-tile{right:-11px;top:218px;bottom:auto;pointer-events:none;transform:rotate(3deg)}
.hero-bottomline{background:rgba(245,250,244,.92)}
.hero-bottomline a{transition:color .2s,letter-spacing .25s}
.hero-bottomline a:hover{letter-spacing:.18em;color:#123e30}
/* Hover-depth cards inspired by proven 3D-card interactions. CSS remains functional without JS. */
.product-card,.solution-card,.resource-card,.contact-choice{transition:box-shadow .38s var(--premium-ease),border-color .28s,background-color .3s,transform .38s var(--premium-ease)}
.premium-tilt{--rx:0deg;--ry:0deg;--lift:0px;position:relative;transform:perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));transform-style:preserve-3d;will-change:auto}
.premium-tilt:hover{--lift:-6px;transform:perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));box-shadow:0 22px 52px rgba(15,53,61,.17)}
.premium-tilt::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;opacity:0;background:radial-gradient(380px circle at var(--card-x,50%) var(--card-y,50%),rgba(156,224,191,.22),transparent 70%);transition:opacity .28s}
.premium-tilt:hover::after{opacity:1}
.premium-tilt>a,.premium-tilt .product-card-bottom,.premium-tilt .product-card-top{position:relative;z-index:3}
.product-card:hover{border-color:#a4d4a9}
.product-card .product-photo{transition:transform .6s var(--premium-ease);transform-origin:center}
.product-card:hover .product-photo{transform:scale(1.045)}
.section-dark{position:relative;isolation:isolate}
.section-dark::before{content:"";inset:0;position:absolute;pointer-events:none;z-index:-1;background:radial-gradient(750px at var(--spot-x,65%) var(--spot-y,45%),rgba(107,177,134,.13),transparent 76%)}
.editorial-photo img{transition:transform 1s var(--premium-ease),filter .65s}
.editorial-photo:hover img{transform:scale(1.035)}
.cta-band{position:relative;isolation:isolate;overflow:hidden}
.cta-band::before{content:"";position:absolute;inset:-10%;pointer-events:none;z-index:-1;opacity:.24;background:repeating-linear-gradient(130deg,transparent 0 54px,rgba(149,234,159,.16) 54px 55px,transparent 55px 109px)}
.cta-actions .btn:hover{transform:translateY(-4px)}
.process-step{transition:transform .3s var(--premium-ease),background-color .3s}
.process-step:hover{transform:translateY(-4px)}
.faq-item{transition:border-color .25s,background-color .25s}
.faq-item[open]{border-color:#a7cbb3;background:#f7fbf5}
.faq-item summary:focus-visible{outline:3px solid #75bd4b;outline-offset:5px}
.r-focus{animation:premiumFocus .5s var(--premium-ease)}
@keyframes premiumFocus{from{box-shadow:0 0 0 0 rgba(117,189,75,.25)}to{box-shadow:0 0 0 12px rgba(117,189,75,0)}}
.mobile-quote-dock{display:none}
/* A single structured entrance for the hero, not a repeated entrance on every element. */
@media (prefers-reduced-motion:no-preference){
.hero-left h1{animation:heroUnmask .84s var(--premium-ease) .08s both}
.hero-left>p{animation:heroArrive .75s var(--premium-ease) .23s both}
.hero-actions{animation:heroArrive .78s var(--premium-ease) .33s both}
.hero-three-stage{animation:heroStage .95s var(--premium-ease) .13s both}
@keyframes heroUnmask{from{clip-path:inset(0 0 100% 0);transform:translateY(24px)}to{clip-path:inset(0);transform:translateY(0)}}
@keyframes heroArrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@keyframes heroStage{from{opacity:.5;transform:rotateY(-9deg) translate3d(22px,15px,0);filter:brightness(.85)}to{opacity:1;transform:rotateY(0) translate3d(0,0,0);filter:brightness(1)}}
}
@media (max-width:1200px){.hero-grid{gap:28px}.hero-right-immersive .floating-tile{right:-4px}.viewer-controls{left:38px;right:0}}
@media (max-width:1030px){.hero-grid{min-height:0}.hero-three-stage{height:510px}.hero-right-immersive .floating-tile{right:0}}
@media (max-width:820px){.hero-grid{gap:38px;padding-bottom:88px}.hero-three-stage{height:530px}.hero-right-immersive{max-width:690px;width:100%;padding-bottom:40px}.viewer-controls{left:35px;max-width:520px}}
@media (max-width:620px){
body{padding-bottom:69px}
.hero::after{background-size:46px 46px}
.hero-grid{padding-top:45px;padding-bottom:58px}
.hero h1{font-size:clamp(39px,9.1vw,55px);line-height:1.13;letter-spacing:-.049em}
.hero-left>p{font-size:14px}
.hero-right-immersive{padding-left:0;padding-bottom:66px}
.hero-three-stage{height:420px;min-height:420px;border-radius:8px;box-shadow:0 18px 42px rgba(10,45,51,.19),8px 11px 0 rgba(130,178,145,.11)}
.hero-three-stage .hero-corner{bottom:78px;left:18px}
.hero-three-stage .hero-corner strong{font-size:28px}
.hero-three-stage .hero-frame{left:17px;right:17px}
.hero-three-stage .hero-frame.bottom{bottom:24px}
.scene-live-badge{right:16px;top:62px;font-size:7px;padding:7px 9px}
.hero-right-immersive .floating-tile{display:none}
.viewer-controls{bottom:3px;left:13px;right:13px;max-width:none;padding:12px}
.viewer-controls-buttons{gap:5px}
.viewer-mode{font-size:10px;min-height:35px}
.viewer-disclaimer{font-size:8px}
.mobile-quote-dock{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;position:fixed;bottom:0;left:0;right:0;padding:9px max(14px,env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom));background:#fafff7;border-top:1px solid #d4e1d5;z-index:1100;box-shadow:0 -9px 30px rgba(8,41,42,.1)}
.mobile-quote-dock a{border-radius:5px;min-height:43px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;font-weight:800;letter-spacing:-.01em;border:1px solid #ced9d2}
.mobile-quote-dock a:first-child{background:#123647;color:#fff;border-color:#123647}
.mobile-quote-dock a:last-child{background:#e8f4e5;color:#123b30}
}
@media (max-width:385px){.hero-three-stage{height:380px;min-height:380px}.hero-three-stage .hero-corner strong{font-size:24px}.viewer-mode{font-size:9px}.viewer-controls-heading{font-size:8px}}
@media (hover:none){.premium-tilt,.premium-tilt:hover{--rx:0deg!important;--ry:0deg!important;--lift:0px!important;transform:none!important}}
@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
.premium-tilt,.premium-tilt:hover{transform:none!important}
.hero-left h1,.hero-left>p,.hero-actions,.hero-three-stage{animation:none!important;transform:none!important;filter:none!important;clip-path:none!important}
.scene-live-dot{animation:none!important}
.btn-primary::after{display:none}
}
@supports (view-transition-name:root){
@view-transition{navigation:auto}
::view-transition-old(root){animation:premiumLeave .2s ease both}
::view-transition-new(root){animation:premiumEnter .3s var(--premium-ease) both}
@keyframes premiumLeave{to{opacity:.94;filter:brightness(.98)}}
@keyframes premiumEnter{from{opacity:.9}to{opacity:1}}
}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation-duration:.01ms!important}}
