/* Warmflow V5 homepage visual correction — 2026-10-14.
   Distinctive engineering imagery and restrained layered glass.
   Intentionally scoped to index.html only. */
/* Brand hero: the information lives in one translucent, legible plane, not directly
   across detailed heat-network pipes. Keep the rest of the image visible. */
body.v5-site .hero-v3{position:relative;min-height:740px;height:clamp(760px,93svh,930px);background:#d6e0f5}
body.v5-site .hero-v3 .hero-scrim{
 background:linear-gradient(180deg,rgba(239,244,253,.33) 0%,rgba(239,244,253,.02) 36%,rgba(231,237,248,.04) 70%,rgba(231,237,248,.64) 100%);
}
body.v5-site .hero-v3 .hero-overview{
 filter:saturate(.95) brightness(1.025)!important;
 background-position:center 49%;
 animation-duration:36s!important;
}
body.v5-site .hero-v3 .hero-inner{
 position:absolute;z-index:4;flex:initial;
 top:clamp(113px,14svh,156px);left:max(30px,calc((100vw - 1280px)/2 + 32px));
 right:auto;margin:0;width:min(646px,calc(100vw - 64px));max-width:none;min-height:0;
 display:block;box-sizing:border-box;
 padding:36px 40px 34px!important;
 border:1px solid rgba(255,255,255,.85);border-radius:19px;
 background:linear-gradient(145deg,rgba(255,255,255,.91) 0%,rgba(247,250,255,.81) 75%,rgba(237,243,254,.80) 100%);
 box-shadow:0 24px 65px rgba(26,50,117,.17),inset 0 1px 0 rgba(255,255,255,.76);
 -webkit-backdrop-filter:blur(23px) saturate(145%);
 backdrop-filter:blur(23px) saturate(145%);
}
body.v5-site .hero-v3 .hero-title{
 font-size:clamp(51px,5.1vw,69px);
 line-height:1.08;letter-spacing:-.052em;font-weight:690;color:#253256;
 width:100%;max-width:100%;margin:0;white-space:normal;text-shadow:none;
}
body.v5-site .hero-v3 .hero-title .accent{color:#ec8307}
body.v5-site .hero-v3 .hero-sub{
 display:block;max-width:100%;
 font-size:clamp(22px,2vw,27px);
 font-weight:640;letter-spacing:-.035em;line-height:1.53;
 color:#253256;margin-top:15px;text-wrap:balance;
}
body.v5-site .hero-v3 .hero-fact,
body.v5-site .hero-v3 .hero-fact.reveal{
 display:flex!important;align-items:flex-start;gap:9px;
 width:auto;max-width:100%;margin:20px 0 21px;padding:11px 12px;
 border:1px solid rgba(172,186,215,.42);
 border-radius:8px;
 color:#3b486d;font-size:12px;font-weight:580;line-height:1.7;
 background:rgba(243,246,253,.76);opacity:1!important;transform:none!important;
 backdrop-filter:none;box-sizing:border-box;
}
body.v5-site .hero-v3 .hero-fact .dot{flex:0 0 auto;margin-top:6px}
body.v5-site .hero-v3 .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:2px}
body.v5-site .hero-v3 .hero-actions .btn{
 min-height:48px;padding:12px 20px;font-size:14px;font-weight:620;
 box-shadow:0 8px 17px rgba(50,65,105,.08);
}
body.v5-site .hero-v3 .hero-actions .btn-ghost{
 border:1px solid #c7d1e4;color:#3b486d;background:rgba(255,255,255,.88);
}
body.v5-site .hero-scene-nav{
 z-index:5;bottom:22px;max-width:1190px;margin-inline:auto;
 background:rgba(249,251,255,.86);border:1px solid rgba(218,227,244,.85);
 box-shadow:0 12px 38px rgba(21,44,108,.14);
 -webkit-backdrop-filter:blur(22px) saturate(135%);
 backdrop-filter:blur(22px) saturate(135%);
}
body.v5-site .hero-scene{padding:12px 18px;min-height:61px}
/* Closed-loop diagram: one finite, intentionally sized canvas with a frosted hierarchy */
body.v5-site .wf-loop-module{
 width:100%;max-width:1120px;margin:50px auto 4px;padding:25px 26px 23px;
 border-radius:22px;border:1px solid rgba(199,211,235,.89);
 box-shadow:0 23px 57px rgba(37,63,135,.075),inset 0 1px #fff;
 background:linear-gradient(135deg,rgba(255,255,255,.86),rgba(235,241,254,.90));
 overflow:hidden;position:relative;isolation:isolate;box-sizing:border-box;
}
body.v5-site .wf-loop-module::before{
 content:"";position:absolute;inset:-140px 8% auto;height:320px;border-radius:50%;
 background:radial-gradient(ellipse,rgba(57,104,214,.14),transparent 67%);z-index:-1;pointer-events:none;
}
body.v5-site .wf-loop-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 6px 23px}
body.v5-site .wf-loop-head strong{display:block;color:#253256;font-size:19px;line-height:1.35;font-weight:680}
body.v5-site .wf-loop-head p{margin:7px 0 0;color:#717d98;line-height:1.6;font-size:13px}
body.v5-site .wf-loop-identity{
 flex:none;border-radius:100px;border:1px solid #b7c9ed;color:#2144a4;
 padding:8px 13px;font-size:11px;font-weight:630;background:rgba(255,255,255,.68);
}
body.v5-site .wf-loop-canvas{position:relative}
body.v5-site .wf-loop-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
body.v5-site .wf-loop-step{
 position:relative;min-width:0;min-height:208px;padding:19px 15px 15px;
 display:flex;flex-direction:column;align-items:flex-start;
 background:linear-gradient(150deg,rgba(255,255,255,.96),rgba(248,250,255,.8));
 border:1px solid #dbe3f2;border-radius:13px;
 box-shadow:0 10px 25px rgba(34,61,136,.065),inset 0 1px 0 #fff;
}
body.v5-site .wf-loop-step::after{
 content:"";position:absolute;left:calc(100% + 3px);top:48%;
 border-left:7px solid #7692d2;border-top:5px solid transparent;border-bottom:5px solid transparent;z-index:2;
}
body.v5-site .wf-loop-step:last-child::after{display:none}
body.v5-site .wf-step-top{width:100%;display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px}
body.v5-site .wf-step-num{font-size:11px;font-variant-numeric:tabular-nums;color:#d77d15;font-weight:700}
body.v5-site .wf-step-symbol{
 width:48px;height:48px;display:grid;place-items:center;color:#234cbb;
 background:linear-gradient(145deg,rgba(233,240,255,.82),rgba(255,255,255,.91));
 border:1px solid #d8e2f5;border-radius:13px;
 box-shadow:0 5px 13px rgba(42,81,187,.06);
}
body.v5-site .wf-loop-step.warm .wf-step-symbol{color:#e88b22;border-color:#f5dfc4;background:#fff7ee}
body.v5-site .wf-loop-icon{width:31px;height:31px}
body.v5-site .wf-loop-step strong{font-size:18px;font-weight:700;color:#253256;white-space:nowrap}
body.v5-site .wf-step-tech{font-size:14px;color:#1643c0;font-weight:700;margin-top:10px}
body.v5-site .wf-loop-step.warm .wf-step-tech{color:#dc7e0b}
body.v5-site .wf-step-desc{font-size:12px;line-height:1.55;color:#717d98;margin-top:8px}
body.v5-site .wf-loop-feedback{height:48px;position:relative;width:calc(100% - 60px);margin:1px auto 0}
body.v5-site .wf-loop-feedback svg{position:absolute;left:0;right:0;top:0;width:100%;height:38px}
body.v5-site .wf-loop-feedback span{
 position:absolute;left:50%;top:19px;transform:translateX(-50%);
 font-size:12px;font-weight:630;color:#264cb6;background:#f0f4fd;
 padding:0 12px;white-space:nowrap;
}
body.v5-site .wf-loop-note{margin:5px 4px 0;color:#717d98;font-size:12px;line-height:1.65;text-align:right}
/* Scene imagery: four different places, one photographic treatment, without
   artificially slicing the same panorama. */
body.v5-site .grid.scenegrid{gap:18px}
body.v5-site .scenegrid .sg{
 padding:0;border-radius:12px;overflow:hidden;background:#fff;
 border:1px solid #dbe2ef;box-shadow:0 11px 26px rgba(27,49,109,.075);
 transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease;
}
body.v5-site .scenegrid .sg::before{display:none!important}
body.v5-site .scenegrid .sg:hover{transform:translateY(-4px);box-shadow:0 18px 41px rgba(27,49,109,.13);border-color:#c7d2e8}
body.v5-site .scenegrid .sg:focus-visible{outline:3px solid #133eb4;outline-offset:3px}
body.v5-site .scenegrid .sg-img{position:relative;margin:0;padding:0;aspect-ratio:16/10;overflow:hidden;background:#d6e0f5;border-radius:0}
body.v5-site .scenegrid .sg-img img{
 width:100%;height:100%;display:block;object-fit:cover;
 filter:saturate(.91) contrast(1.035);transition:transform .35s ease;
}
body.v5-site .scenegrid .sg:hover .sg-img img{transform:scale(1.035)}
body.v5-site .scenegrid .wf-scene-type{
 position:absolute;left:13px;top:13px;padding:7px 10px;
 font-size:11px;font-weight:650;line-height:1;color:#3b486d;
 border:1px solid rgba(255,255,255,.7);border-radius:5px;
 background:rgba(252,253,255,.85);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
body.v5-site .scenegrid .sg:first-child .wf-scene-type{color:#be6909}
body.v5-site .scenegrid .sg-body{padding:22px 21px 24px;gap:0;flex:1}
body.v5-site .scenegrid .sg-n{display:none}
body.v5-site .scenegrid .sg h3{font-size:21px;line-height:1.35;margin:0 0 11px;color:#253256}
body.v5-site .scenegrid .sg p{font-size:13px;line-height:1.8;color:#5a698c}
body.v5-site .scenegrid .sg-tags{margin-top:auto}
body.v5-site .scenegrid .tag-mini{background:#edf2fb;color:#5a698c;border:1px solid #d9e2f3;line-height:1.55}
/* Original reveal observer can leave this below-fold section transparent during
   programmatic/deep-link scrolling. Design-critical scene cards must never vanish. */
body.v5-site .scenegrid.reveal,
body.v5-site .section:has(.scenegrid) .sec-head.reveal{
 opacity:1!important;transform:none!important;visibility:visible!important;
}
@media(max-width:1190px){
 body.v5-site .hero-v3 .hero-inner{top:108px;left:34px;width:min(615px,calc(100vw - 68px));padding:32px!important}
 body.v5-site .hero-v3 .hero-title{font-size:clamp(50px,5.5vw,64px)}
 body.v5-site .wf-loop-module{padding:22px 17px}
 body.v5-site .wf-loop-step{padding:15px 10px;min-height:198px}
 body.v5-site .wf-loop-step strong{font-size:16px}
 body.v5-site .scenegrid .sg h3{font-size:19px}
}
@media(max-width:767px){
 body.v5-site .hero-v3{height:790px;min-height:790px}
 body.v5-site .hero-v3 .hero-inner{
   position:absolute;left:15px;right:15px;top:calc(var(--nav-h) + 35px);
   width:auto;max-width:none;
   padding:24px 21px 23px!important;border-radius:14px;
   background:linear-gradient(150deg,rgba(255,255,255,.94),rgba(244,248,255,.86));
 }
 body.v5-site .hero-v3 .hero-title{font-size:clamp(36px,10vw,47px);line-height:1.13;letter-spacing:-.055em}
 body.v5-site .hero-v3 .hero-sub{font-size:clamp(19px,5.3vw,24px);line-height:1.44;margin-top:11px}
 body.v5-site .hero-v3 .hero-fact,body.v5-site .hero-v3 .hero-fact.reveal{
   font-size:11px;line-height:1.6;padding:9px 10px;margin:15px 0;
 }
 body.v5-site .hero-v3 .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 body.v5-site .hero-v3 .hero-actions .btn{min-width:0;min-height:44px;padding:10px 7px;font-size:11.5px;line-height:1.3}
 body.v5-site .hero-scene-nav{left:12px;right:12px;bottom:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.v5-site .wf-loop-module{max-width:100%;margin-top:28px;border-radius:16px;padding:20px 13px 19px}
 body.v5-site .wf-loop-head{display:block;margin:0 6px 15px}
 body.v5-site .wf-loop-head strong{font-size:17px}
 body.v5-site .wf-loop-head p{font-size:12px}
 body.v5-site .wf-loop-identity{display:inline-block;margin-top:13px}
 body.v5-site .wf-loop-canvas{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
 body.v5-site .wf-loop-steps{width:895px;max-width:none;grid-template-columns:repeat(5,163px)}
 body.v5-site .wf-loop-step{min-height:185px;padding:14px 11px}
 body.v5-site .wf-step-top{margin-bottom:12px}
 body.v5-site .wf-loop-step strong{font-size:15.5px}
 body.v5-site .wf-loop-feedback{display:none}
 body.v5-site .wf-loop-note{font-size:11px;text-align:left;margin:12px 5px 0}
 body.v5-site .grid.scenegrid{grid-template-columns:1fr;gap:18px}
 body.v5-site .scenegrid .sg-img{aspect-ratio:16/9}
 body.v5-site .scenegrid .sg-body{padding:17px 18px 20px}
 body.v5-site .scenegrid .sg p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 body.v5-site .hero-v3 .hero-overview{animation:none!important;transform:none!important}
 body.v5-site .scenegrid .sg img{transition:none!important}
 body.v5-site .scenegrid .sg:hover{transform:none}
}
