/* TEC INDUSTRIES · Lightswind Globe inspired, COBE-powered hero.
   Original TEC layout and CSS; COBE is vendored separately under MIT license.
   No invented international-office or route claims. */
.tec-cobe-wrapper{position:relative;width:100%;height:100%;z-index:2;isolation:isolate}
.hero{background:linear-gradient(118deg,#041a29,#072d3b 62%,#052332)}
.hero::before{
  opacity:.95;
  background:radial-gradient(760px ellipse at 69% 38%,rgba(42,162,138,.18),transparent 74%),
             radial-gradient(510px ellipse at 95% 78%,rgba(140,231,137,.085),transparent 75%);
}
.hero-grid{gap:clamp(6px,1.5vw,27px)}
.hero-right-immersive{isolation:isolate}
.hero-three-stage{
  isolation:isolate;
  background:url('/assets/globe-fallback.svg') center / min(100%,660px) no-repeat,
   radial-gradient(ellipse at 48% 45%,rgba(30,122,133,.28),rgba(3,24,36,.12) 64%,transparent 81%);
}
.hero-three-stage::after{
  background-image:radial-gradient(rgba(176,242,216,.24) .6px,transparent .6px);
  background-size:27px 27px;
  opacity:.10;
  mask-image:radial-gradient(ellipse at 52% 50%,transparent 28%,black 63%,transparent 92%);
}
.hero-three-stage.scene-cobe-ready{
  background:radial-gradient(ellipse at 50% 50%,rgba(29,103,121,.15),transparent 75%);
}
.hero-three-stage.scene-cobe-ready::before{
  content:"";position:absolute;
  inset:8% 0 5% 0;
  pointer-events:none;
  background:radial-gradient(ellipse at 45% 42%,rgba(65,181,158,.13),transparent 65%);
  opacity:.8;
}
.hero-three-stage #pipeline-canvas{
  position:absolute;inset:0;
  display:block;width:100%;height:100%;z-index:2;
  opacity:0;cursor:grab;touch-action:pan-y;
  mask-image:none;-webkit-mask-image:none;
  transition:opacity .85s cubic-bezier(.16,1,.3,1);
}
.hero-three-stage.scene-cobe-ready #pipeline-canvas{opacity:1}
.hero-three-stage #pipeline-canvas:active{cursor:grabbing}
.scene-live-badge{
  top:9%;left:7%;right:auto;
  border:1px solid rgba(165,239,199,.28);
  background:rgba(5,39,51,.77);
  box-shadow:0 10px 30px rgba(2,18,27,.18);
  color:#ddfbe5;letter-spacing:.12em;
}
.scene-live-badge::before{
  content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
  background:#b4e68d;box-shadow:0 0 0 4px rgba(176,245,145,.09);
  vertical-align:1px;margin-right:6px;
}
.scene-live-badge .scene-live-dot{display:none}
.tec-globe-region{
  position:absolute;z-index:6;top:15%;right:5%;
  color:#d1f8dd;letter-spacing:.145em;font-size:9px;font-weight:800;
  text-shadow:0 2px 8px #001b2c;
  white-space:nowrap;display:inline-flex;align-items:center;gap:8px;
}
.tec-globe-region-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#b9ed9f;box-shadow:0 0 0 4px rgba(173,232,173,.13)}
.tec-globe-hud{z-index:5}
.hud-panel{
  background:rgba(8,39,50,.82);
  border:1px solid rgba(152,226,203,.24);
  box-shadow:0 15px 42px rgba(1,13,26,.24);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-radius:13px;
}
.hud-panel strong{color:#f4fff2}
.hud-panel small{color:#c1d9d2}
.hud-panel-01{top:26%;right:-.5%}
.hud-panel-02{bottom:27%;left:-10%}
.hud-panel-03{bottom:14%;right:0}
.viewer-controls{
  bottom:-11px;
  z-index:8;width:min(95%,470px);
  background:rgba(4,34,44,.93);
  border:1px solid rgba(183,234,201,.27);
  box-shadow:0 15px 45px rgba(0,9,23,.27);
  backdrop-filter:blur(16px);
}
.viewer-controls-heading{gap:12px;color:#c9f4d0}
.globe-toolbar{display:flex;align-items:center;gap:12px}
.globe-toolbar small{font-size:8px;white-space:nowrap;color:#aecdc8}
.globe-motion-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:31px;padding:5px 10px;font-size:9px;font-weight:800;
  border:1px solid rgba(179,238,202,.24);
  border-radius:6px;color:#dff5df;background:rgba(178,225,190,.08);
  transition:background-color .2s,border-color .2s,color .2s;
}
.globe-motion-toggle:hover{border-color:#a2e4ad;background:rgba(167,225,173,.15)}
.globe-motion-toggle[aria-pressed=true]{color:#0b3439;background:#c0f4aa;border-color:#c0f4aa}
.globe-motion-toggle:focus-visible{outline:2px solid #c1efad;outline-offset:3px}
.hero-right-immersive:has(.scene-fallback) .globe-motion-toggle{display:none}
.viewer-controls-buttons{margin-top:10px;gap:8px}
.viewer-mode{border-radius:7px;min-height:39px;font-weight:800;letter-spacing:.015em}
.viewer-mode.is-active{color:#082a32;background:#b9eb9d;border-color:#b9eb9d}
.viewer-disclaimer{color:#acc2bd;line-height:1.5}
.hero-right-immersive .floating-tile{display:none}
@media (max-width:1200px){
  .tec-globe-region{right:5%;font-size:8px}
  .hud-panel-01{right:0}
  .hud-panel-02{left:-5%}
}
@media (max-width:1030px){
  .hero-three-stage{height:590px;min-height:590px}
  .viewer-controls{bottom:1px}
  .hud-panel-02{left:1%}
  .hud-panel-01{right:2%}
  .tec-globe-region{right:7%}
}
@media (max-width:620px){
  .hero-right-immersive{margin-top:2px;padding-bottom:25px}
  .hero-three-stage{height:450px;min-height:450px;background-size:min(100%,450px)}
  .scene-live-badge{top:7%;left:3%;font-size:7px;padding:8px 10px}
  .tec-globe-region{top:16%;right:4%;font-size:7px;letter-spacing:.08em}
  .hud-panel{max-width:151px;border-radius:9px;padding:9px 10px;gap:7px}
  .hud-panel-01{top:25%;right:-1%}
  .hud-panel-02{bottom:35%;left:0}
  .hud-panel-03{bottom:21%;right:1%}
  .hud-icon{width:28px;height:28px}
  .hud-label{font-size:7px}
  .hud-panel strong{font-size:11px}
  .hud-panel small{font-size:8px}
  .viewer-controls{bottom:-15px;width:calc(100% - 6px);padding:10px 11px}
  .viewer-controls-heading{gap:7px;flex-wrap:wrap}
  .viewer-controls-heading>span{font-size:8px}
  .globe-toolbar{gap:8px;flex-wrap:wrap}
  .globe-toolbar small{font-size:7px}
  .globe-motion-toggle{min-height:28px;padding:4px 8px;font-size:8px}
  .viewer-mode{min-height:35px;font-size:8.5px}
  .viewer-disclaimer{margin-top:8px}
}
@media (max-width:380px){
  .hero-three-stage{height:410px;min-height:410px}
  .scene-live-badge{font-size:6.5px}
  .hud-panel{max-width:136px}
  .hud-panel strong{font-size:10px}
  .tec-globe-region{top:17%;font-size:6.5px}
  .viewer-controls{bottom:-20px}
}
@media (max-width:620px){
  .hero-right-immersive{padding-bottom:0}
  .hud-panel-02{bottom:44%}
  .hud-panel-03{display:none}
  .viewer-controls{bottom:10px}
  .globe-in-view .mobile-quote-dock{
    transform:translateY(120%);opacity:0;pointer-events:none;visibility:hidden;
  }
}
@media (prefers-reduced-motion:reduce) {
  .globe-motion-toggle{display:none}
  .hero-three-stage #pipeline-canvas{transition:none}
  .hud-panel{transform:none!important}
}