#fm-hero *{box-sizing:border-box}
#fm-hero{margin:0;background:#0c0e10;color:#fff;font:16px Arial,sans-serif}
#fm-hero{max-width:1500px;margin:auto;padding:6vw 4vw}
#fm-hero svg{width:100%;height:auto;overflow:visible}
#fm-hero .branch{fill:none;stroke:#b6a477;stroke-width:1;opacity:.22;transition:opacity .7s,stroke .7s}
#fm-hero .branch.on{stroke:#f4bf09;opacity:1;stroke-width:1.6}
#fm-hero .node{fill:#f4bf09;opacity:.45}
#fm-hero .node.on{opacity:1;filter:drop-shadow(0 0 7px #f4bf09)}
#fm-hero .label{fill:#eee;font-size:15px;cursor:pointer;paint-order:stroke;stroke:#0c0e10;stroke-width:2px;stroke-linejoin:round}
#fm-hero .sub{fill:#91969e;font-size:11px}
#fm-hero .label.on{fill:#f4bf09}
#fm-hero canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#fm-hero .scene{position:relative}
#fm-hero button{background:transparent;border:1px solid #555;color:#ccc;padding:9px 16px;border-radius:4px;cursor:pointer}
#fm-hero .fm-hero-featured{display:flex;justify-content:space-between;align-items:center;color:#888;font-size:11px;letter-spacing:2px}
@media (prefers-reduced-motion:reduce){#fm-hero *{transition:none!important}}
#fm-hero .flipline{overflow:visible;display:flex;align-items:center;height:32px;gap:0;perspective:450px;white-space:nowrap;font-family:"Arial Black",Arial,sans-serif;font-weight:900;font-size:18px;color:#f4bf09;letter-spacing:0}
#fm-hero .slot{width:17px;height:26px;position:relative;flex:none;perspective:140px}
#fm-hero .cube{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(0deg)}
#fm-hero .face{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;backface-visibility:hidden;line-height:1;text-shadow:none;filter:none}
#fm-hero .front{transform:translateZ(13px)}
#fm-hero .top{transform:rotateX(90deg) translateZ(13px);color:#f4bf09}
#fm-hero .bottom{transform:rotateX(-90deg) translateZ(13px);background:transparent}
#fm-hero .cube.turn{animation:fmHeroTurnBlock .48s cubic-bezier(.45,.05,.2,1) both;animation-delay:var(--delay)}
@keyframes fmHeroTurnBlock{0%{transform:rotateX(0deg)}100%{transform:rotateX(-90deg)}}
@media (prefers-reduced-motion:reduce){#fm-hero .cube.turn{animation:none}}
#fm-hero .flipline,#fm-hero .flipline *{text-shadow:none!important;filter:none!important;box-shadow:none!important;background:transparent!important}
#fm-hero{background:#090b10}
#fm-hero{position:relative;isolation:isolate;min-height:100vh;overflow:hidden}
#fm-hero{isolation:isolate}
#fm-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 480px 410px at var(--lx,50%) var(--ly,45%),rgba(244,191,9,.105),transparent 100%)}
#fm-hero .scene{z-index:1}
#fm-hero #fmh-stars{z-index:0}
#fm-hero .slot{width:17px}
#fm-hero .flipline{gap:1px}
@media (max-width:650px){#fm-hero{padding:10vw 3vw}
#fm-hero .fm-hero-featured{letter-spacing:.5px;gap:10px}}
#fm-hero{padding:28px 4vw 24px;display:flex;flex-direction:column;justify-content:space-between;max-width:1600px}
#fm-hero a{color:inherit;text-decoration:none}
#fm-hero .talk{background:#f4bf09;color:#111;font-weight:700;padding:12px 16px;border-radius:3px}
#fm-hero .intro{font:15px/1.55 Arial;color:#c4c7cd}
#fm-hero .intro p{margin:0 0 18px}
#fm-hero .actions{display:flex;align-items:center;gap:14px;font-size:12px;white-space:nowrap}
#fm-hero .flipline{font-size:34px;height:48px;gap:1px}
#fm-hero .slot{width:25px;height:42px}
#fm-hero .front{transform:translateZ(21px)}
#fm-hero .top{transform:rotateX(90deg) translateZ(21px)}
#fm-hero .bottom{transform:rotateX(-90deg) translateZ(21px)}
#fm-hero .fm-hero-featured{position:relative;z-index:2;border-top:1px solid #ffffff22;padding:24px 2%}
#fm-hero .clients{display:flex;align-items:center;gap:32px;flex-wrap:wrap}
#fm-hero .clients strong{font-size:15px;letter-spacing:0;color:#b9bec5}
@media (max-width:650px){#fm-hero .clients{gap:12px}
#fm-hero .clients strong{font-size:11px}
#fm-hero .scene{overflow-x:auto}
#fm-hero .scene svg{min-width:760px}
#fm-hero .scene canvas{min-width:760px}
#fm-hero .fm-hero-featured{flex-wrap:wrap;gap:12px}}
#fm-hero .flipline{font-family:Arial,Helvetica,sans-serif;font-weight:800;font-size:37px;gap:0;letter-spacing:0;color:#f4bf09}
#fm-hero .slot{width:auto;height:42px;flex:none}
#fm-hero .face{justify-content:center;font:inherit;color:inherit}
#fm-hero .top{color:inherit}
#fm-hero .talk{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #f4bf09;border-radius:5px;padding:13px 19px;transition:background .2s,transform .2s}
#fm-hero .talk:hover{background:#ffda49;transform:translateY(-1px)}
#fm-hero .intro{font:16px/1.5 Arial,Helvetica,sans-serif;color:#c4c7cd}
#fm-hero .intro p{margin:0 0 21px}
#fm-hero .actions{gap:12px;font-size:12px;font-weight:600;align-items:stretch}
#fm-hero .actions .talk{padding:12px 15px}
#fm-hero .secondary-cta{display:inline-flex;align-items:center;justify-content:center;border:1px solid #888e97;border-radius:5px;padding:12px 17px;transition:border-color .2s,color .2s}
#fm-hero .secondary-cta:hover{border-color:#f4bf09;color:#f4bf09}
#fm-hero .clients{gap:0}
#fm-hero .clients span{margin-right:27px}
#fm-hero .clients strong{padding:0 25px;border-left:1px solid #ffffff24;color:#d6d8dc}
#fm-hero a:focus-visible,#fm-hero summary:focus-visible,#fm-hero button:focus-visible{outline:2px solid #f4bf09;outline-offset:4px}
@media (max-width:850px){#fm-hero .clients strong{padding:5px 12px}}
@media (max-width:650px){#fm-hero .clients{row-gap:10px}
#fm-hero .clients span{width:100%;margin:0}
#fm-hero .clients strong{border:none;padding:4px 10px 4px 0}}
@media (prefers-reduced-motion:reduce){#fm-hero .talk:hover{transform:none}}
@media (min-width:651px){#fm-hero{overflow:visible}
#fm-hero{overflow-x:clip}}
/* Home-only integration overrides */
#fm-hero { box-sizing:border-box; width:100%; max-width:none; margin:0; padding:32px 4vw 24px; min-height:calc(100vh - 100px); overflow:hidden; color:#fff; font:16px Arial,sans-serif; }
#fm-hero .scene { width:100%; max-width:1600px; margin:auto; }
#fm-hero .fm-hero-featured { width:100%; max-width:1600px; margin:0 auto; }
#fm-hero #fmh-map { display:block; }
#fm-hero .flipline { line-height:1; }
#fm-hero .intro { text-align:left; }
#fm-hero .fm-hero-featured strong { white-space:nowrap; }
@media(max-width:767px){ #fm-hero { padding:28px 12px 20px; min-height:0; } #fm-hero .scene { overflow:hidden; } #fm-hero .scene svg, #fm-hero .scene canvas { min-width:0; } #fm-hero .fm-hero-featured { flex-wrap:wrap; gap:12px; padding:18px 0; } }


#fm-hero .fm-hero-featured { display: none; }
#fm-hero { min-height: 100vh; min-height: 100svh; justify-content: center; padding-top: 110px; padding-bottom: 30px; }
#fm-hero .fm-hero-featured { display: none; }

body.fm-homepage #home-main { margin-top: 0 !important; padding-top: 0 !important; }

body.fm-homepage #fm-hero { margin-top: 0 !important; min-height: 100vh; min-height: 100svh; }

@media (max-width: 991.98px) {
    body.fm-homepage:not(.isSticky) #header,
    body.fm-homepage:not(.isSticky) #header .navbar-wrapper,
    body.fm-homepage:not(.isSticky) #header .navbar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    body.fm-homepage:not(.isSticky) #header .white-bg-div { display: none !important; }

    body.fm-homepage #header .navbar-toggler { display: inline-block !important; opacity: 1 !important; visibility: visible !important; }

    body.fm-homepage:not(.isSticky) #header .navbar-toggler .hamburger-inner,
    body.fm-homepage:not(.isSticky) #header .navbar-toggler .hamburger-inner::before,
    body.fm-homepage:not(.isSticky) #header .navbar-toggler .hamburger-inner::after { background-color: #ffffff !important; }

    body.fm-homepage #header { position: fixed !important; top: 0; left: 0; width: 100%; z-index: 999; }
    
    body.fm-homepage #header .navbar { display: flex; justify-content: space-between; align-items: center; }
    body.fm-homepage #header .navbar-toggler { position: relative; z-index: 10; margin-left: auto; }

    body.fm-homepage #header .navbar { align-items: center; }
    body.fm-homepage #header .navbar-brand { margin-top: 0; margin-bottom: 0; padding: 0; }
    body.fm-homepage #header .navbar-toggler { align-self: center; margin-top: 0 !important; margin-bottom: 0 !important; }
}

@media (prefers-reduced-motion: reduce) { #fm-hero .fm-hero-scroll span { animation: none; } }

@media (max-width: 767px) {
    #fm-hero #fmh-paths,
    #fm-hero #fmh-labels { display: none; }

   #fm-hero #fmh-energyCoreWrap { transform-origin: 0 0; transform-box: view-box; transform: translate(202px, 20px) scale(8) !important; }
    #fm-hero #fmh-energy,
    #fm-hero #fmh-mainLine,
    #fm-hero #fmh-mainReveal { display: none; }
}


