/* ThunderCode 1.1.3 — scoped patch for the original cinematic UI.
   Loaded AFTER both immersive stylesheets; no override of immersive sections. */

/* The original CMS logo PNG has transparent vertical space. Show its complete
   artwork at readable size without distorting the proportions. */
body.tc-immersive.tc-light-immersive .site-header .header-inner,
body.tc-immersive.tc-light-immersive.theme-light .site-header .header-inner,
body.tc-immersive.tc-light-immersive .site-header.scrolled .header-inner,
body.tc-immersive.tc-light-immersive.theme-light .site-header.scrolled .header-inner{
  width:100%!important;max-width:none!important;margin:0!important;
  height:94px!important;padding:0 clamp(20px,3.25vw,60px)!important;
  border-radius:0!important;overflow:visible!important;
  box-shadow:0 12px 36px rgba(24,64,120,.08)!important;
}
body.tc-immersive.tc-light-immersive .site-header.scrolled .header-inner,
body.tc-immersive.tc-light-immersive.theme-light .site-header.scrolled .header-inner{height:84px!important}
body.tc-immersive.tc-light-immersive .header-inner .brand{flex:0 0 auto;max-width:300px!important;min-width:205px!important}
body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap{
  width:278px!important;max-width:100%!important;height:84px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;overflow:hidden!important;
}
body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap img{
  width:auto!important;max-width:none!important;height:119px!important;max-height:none!important;
  object-fit:contain!important;flex:none;filter:none!important;
}
body.tc-immersive.tc-light-immersive .site-header .site-nav{margin-left:auto!important}
body.tc-immersive.tc-light-immersive .site-header .header-cta{flex-shrink:0}

/* A very fine, non-interactive circuit atlas moving behind the interface.
   It remains deliberately faint over text and cards. */
.tc-tech-field{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:8;isolation:isolate;user-select:none}
.tc-tech-field>*{position:absolute;display:block;pointer-events:none}
.tc-tech-circuit{inset:-4%;background:url('../img/immersive/circuit-atlas.svg') center center/cover no-repeat;opacity:.22;animation:tcTechDrift 32s ease-in-out infinite alternate;will-change:transform}
.tc-tech-ring{width:clamp(170px,22vw,310px);height:clamp(170px,22vw,310px);border-radius:50%;border:1px solid rgba(17,113,218,.12);box-shadow:0 0 0 44px rgba(30,131,224,.015),0 0 0 90px rgba(39,121,217,.014)}
.tc-tech-ring::before{content:"";position:absolute;inset:-1px;border-radius:inherit;border:1px dashed rgba(14,100,205,.15);animation:tcTechRotate 29s linear infinite}
.tc-tech-ring-one{top:20%;right:-11%;animation:tcTechFloat 16s ease-in-out infinite alternate}
.tc-tech-ring-two{bottom:17%;left:-11%;width:210px;height:210px;animation:tcTechFloat 22s ease-in-out infinite alternate-reverse}
.tc-tech-node{width:7px;height:7px;border-radius:50%;background:#3197db;box-shadow:0 0 0 7px rgba(53,154,218,.07),0 0 16px rgba(53,154,218,.28);opacity:.54;animation:tcTechBeacon 7s ease-in-out infinite}
.tc-tech-node-one{top:31%;right:11%;animation-delay:-1s}
.tc-tech-node-two{bottom:25%;left:8%;animation-delay:-4s}
.tc-tech-node-three{bottom:9%;right:24%;animation-delay:-2s}
@keyframes tcTechDrift{from{transform:translate3d(-1.2%,0,0) scale(1.02)}to{transform:translate3d(1.2%,-1.1%,0) scale(1.07)}}
@keyframes tcTechRotate{to{transform:rotate(360deg)}}
@keyframes tcTechFloat{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,22px,0)}}
@keyframes tcTechBeacon{0%,100%{opacity:.18;transform:scale(.85)}45%{opacity:.62;transform:scale(1.25)}}

/* Clean, restrained three-column footer — about / links / contact only. */
body.tc-immersive.tc-light-immersive .site-footer.tc-simple-footer{
  position:relative;background:linear-gradient(165deg,#fff 0%,#f2f7fc 76%,#ecf4fd 100%)!important;
  padding:74px 0 26px!important;border-top:1px solid #dbe6f2!important;
  isolation:isolate;overflow:hidden;
}
body.tc-immersive.tc-light-immersive .site-footer.tc-simple-footer::before{
  content:"";display:block!important;position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at 3% 70%,rgba(65,172,236,.085),transparent 39%),
             radial-gradient(ellipse at 98% 0%,rgba(37,100,226,.075),transparent 38%);
}
body.tc-immersive.tc-light-immersive .tc-simple-footer-shell{position:relative;z-index:1}
.tc-simple-footer-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.66fr) minmax(0,1fr);gap:clamp(36px,5.5vw,115px);align-items:start;padding:0 0 52px}
.tc-simple-footer-grid>*{min-width:0}
.tc-simple-footer-about,.tc-simple-footer-links,.tc-simple-footer-contact{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;min-width:0}
.tc-simple-footer-logo{display:inline-flex;max-width:100%;margin-bottom:20px;text-decoration:none!important}
body.tc-immersive.tc-light-immersive .tc-simple-footer-logo .brand-logo-wrap{display:flex;align-items:center;justify-content:flex-start;width:265px!important;max-width:100%!important;height:80px!important;overflow:hidden!important}
body.tc-immersive.tc-light-immersive .tc-simple-footer-logo .brand-logo-wrap img{width:auto!important;max-width:none!important;height:128px!important;max-height:none!important;object-fit:contain;filter:none!important}
body.tc-immersive.tc-light-immersive .tc-simple-about-text{margin:0;color:#61748b!important;font-family:Inter,system-ui,sans-serif;font-size:14px!important;line-height:1.76;max-width:365px}
.tc-simple-footer-grid h3,
body.tc-immersive.tc-light-immersive .tc-simple-footer-grid h3{margin:13px 0 27px;color:#182d49!important;font-size:19px!important;font-weight:750;letter-spacing:-.025em;text-transform:none;line-height:1.3}
.tc-simple-link-list{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
body.tc-immersive.tc-light-immersive .tc-simple-link-list a{display:inline-flex;gap:10px;align-items:center;text-decoration:none!important;color:#51667f!important;line-height:1.35;font-size:14px!important;font-weight:600;transition:color .2s,transform .2s}
.tc-simple-link-list a span{opacity:.4;font-size:13px;transition:opacity .2s}
body.tc-immersive.tc-light-immersive .tc-simple-link-list a:hover{color:#1968cf!important;transform:translateX(4px)}
.tc-simple-link-list a:hover span{opacity:1}
.tc-simple-contact-list{display:flex;flex-direction:column;gap:18px}
body.tc-immersive.tc-light-immersive .tc-simple-contact-row{display:flex;gap:13px;align-items:start;text-decoration:none!important;color:#183451!important;max-width:100%}
.tc-simple-contact-row>span:last-child{display:block;min-width:0;padding-top:1px}
.tc-simple-contact-icon{height:36px;width:36px;flex:0 0 36px;display:grid;place-items:center;color:#1c70d9;background:#e5f0ff;border:1px solid #d6e7f8;border-radius:11px}
.tc-simple-contact-icon .icon{height:16px;width:16px}
.tc-simple-contact-row small{display:block;font-family:Inter,system-ui,sans-serif;color:#7389a0;font-size:10px;letter-spacing:.11em;text-transform:uppercase;font-weight:800;margin-bottom:4px}
body.tc-immersive.tc-light-immersive .tc-simple-contact-row strong{display:block;color:#29405c;font-size:13px;font-weight:650;line-height:1.6;overflow-wrap:anywhere}
body.tc-immersive.tc-light-immersive a.tc-simple-contact-row:hover strong{color:#1265c7}
.tc-simple-socials{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
body.tc-immersive.tc-light-immersive .tc-simple-socials a{display:inline-flex;align-items:center;gap:9px;color:#476484!important;text-decoration:none!important;border:1px solid #dce7f3;border-radius:99px;padding:8px 13px;background:rgba(255,255,255,.6);font-size:11px!important;font-weight:650;line-height:1.4;transition:background .2s,border-color .2s,transform .2s}
.tc-simple-socials a span{color:#2278cf;opacity:.65}
body.tc-immersive.tc-light-immersive .tc-simple-socials a:hover{background:#fff;border-color:#a4caee;transform:translateY(-2px)}
.tc-simple-footer-bottom{border-top:1px solid #d8e5f3;padding-top:20px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:Inter,system-ui,sans-serif;font-size:11px;line-height:1.6;color:#778ba2}

@media(max-width:1130px){
  body.tc-immersive.tc-light-immersive .site-header .header-inner{padding:0 22px!important}
  body.tc-immersive.tc-light-immersive .header-inner .brand{max-width:230px!important;min-width:185px!important}
  body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap{width:224px!important}
  body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap img{height:108px!important}
  .tc-simple-footer-grid{gap:32px;grid-template-columns:minmax(0,1.05fr) minmax(0,.72fr) minmax(0,1fr)}
}
@media(max-width:900px){
  body.tc-immersive.tc-light-immersive .site-header .header-inner,
  body.tc-immersive.tc-light-immersive.theme-light .site-header .header-inner,
  body.tc-immersive.tc-light-immersive .site-header.scrolled .header-inner,
  body.tc-immersive.tc-light-immersive.theme-light .site-header.scrolled .header-inner{
    height:74px!important;padding:0 18px!important;width:100%!important;max-width:none!important;margin:0!important;
  }
  body.tc-immersive.tc-light-immersive .header-inner .brand{max-width:250px!important;min-width:0!important}
  body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap{width:min(58vw,245px)!important;height:68px!important}
  body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap img{height:100px!important}
  body.tc-immersive.tc-light-immersive .site-header .site-nav{margin:0!important}
  .tc-simple-footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px 28px}
  .tc-simple-footer-about{grid-column:1/-1}
  .tc-tech-circuit{opacity:.16}
  .tc-tech-ring{opacity:.6}
}
@media(max-width:590px){
  body.tc-immersive.tc-light-immersive .site-header .header-inner,
  body.tc-immersive.tc-light-immersive.theme-light .site-header .header-inner,
  body.tc-immersive.tc-light-immersive .site-header.scrolled .header-inner,
  body.tc-immersive.tc-light-immersive.theme-light .site-header.scrolled .header-inner{height:69px!important;padding:0 13px!important}
  body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap{width:min(57vw,211px)!important;height:60px!important}
  body.tc-immersive.tc-light-immersive .site-header .brand-logo-wrap img{height:91px!important}
  body.tc-immersive.tc-light-immersive .site-footer.tc-simple-footer{padding:50px 0 24px!important}
  .tc-simple-footer-grid{grid-template-columns:minmax(0,1fr);gap:35px;padding-bottom:38px}
  .tc-simple-footer-about{grid-column:auto}
  .tc-simple-footer-grid h3,
  body.tc-immersive.tc-light-immersive .tc-simple-footer-grid h3{margin:0 0 18px}
  .tc-simple-footer-bottom{flex-direction:column;align-items:flex-start;gap:7px}
  .tc-tech-circuit{opacity:.13}
  .tc-tech-ring-one{right:-40%}
  .tc-tech-ring-two{left:-40%}
}
@media(prefers-reduced-motion:reduce){
  .tc-tech-field *{animation:none!important;transition:none!important}
}
body[data-animation="minimal"] .tc-tech-field *{animation:none!important}
