/* 351Finance – motion & interaction layer (v2.1)
   Everything is scoped to html.m351, which is only added when the visitor
   has NOT asked for reduced motion. Without it the site renders as before. */

/* ---------- Scroll progress + sticky header ---------- */
.m351-progress{position:fixed;top:0;left:0;height:3px;width:100%;background:linear-gradient(90deg,#b51f2b,#ff535d);transform-origin:0 50%;transform:scaleX(0);z-index:999;pointer-events:none}
.m351 header.site-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);transition:box-shadow .35s ease,background .35s ease}
.m351 header.site-header .head-row{transition:min-height .35s ease,padding .35s ease}
.m351 header.site-header .brand img{transition:width .35s ease}
.m351 header.site-header.is-scrolled{box-shadow:0 8px 28px rgba(32,33,36,.09)}
.m351 header.site-header.is-scrolled .head-row{min-height:78px;padding-top:8px;padding-bottom:8px}
.m351 header.site-header.is-scrolled .brand img{width:clamp(170px,20vw,230px)!important}
.m351 [id]{scroll-margin-top:96px}

/* Nav underline that follows the active section */
.m351 nav.primary a.clean-link{position:relative;text-decoration:none!important}
.m351 nav.primary a.clean-link::after{content:"";position:absolute;left:0;right:0;bottom:-3px;height:2px;background:#b51f2b;transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.m351 nav.primary a.clean-link:hover::after,.m351 nav.primary a.clean-link.is-active::after{transform:scaleX(1)}

/* ---------- Hero ---------- */
.m351 .hero{position:relative;overflow:hidden;isolation:isolate}
.m351 .hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(181,31,43,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(181,31,43,.06) 1px,transparent 1px);background-size:46px 46px;-webkit-mask-image:radial-gradient(ellipse at 80% 40%,#000 0%,transparent 65%);mask-image:radial-gradient(ellipse at 80% 40%,#000 0%,transparent 65%);animation:m351-grid 24s linear infinite}
.m351-orb{position:absolute;border-radius:50%;filter:blur(60px);z-index:-1;pointer-events:none;will-change:transform}
.m351-orb.o1{width:420px;height:420px;right:-90px;top:-120px;background:rgba(255,83,93,.22);animation:m351-float 14s ease-in-out infinite}
.m351-orb.o2{width:300px;height:300px;right:18%;bottom:-160px;background:rgba(181,31,43,.14);animation:m351-float 18s ease-in-out infinite reverse}
.m351 .hero h1 .ln{display:block;font-style:normal}
.m351 .hero h1 .ln>span{position:relative;display:inline-block}
.m351 .hero h1 .ln>span::after{content:"";position:absolute;left:0;right:0;bottom:.04em;height:.11em;background:rgba(181,31,43,.18);border-radius:3px;transform:scaleX(0);transform-origin:left;animation:m351-sweep .9s cubic-bezier(.2,.7,.2,1) 1.25s forwards}
.m351 .hero .eyebrow,.m351 .hero h1 .ln,.m351 .hero .hero-proof,.m351 .hero .m351-rotator,.m351 .hero .hero-intro,.m351 .hero .actions,.m351 .hero .reg{animation:m351-rise .85s cubic-bezier(.2,.7,.2,1) both}
.m351 .hero .eyebrow{animation-delay:.05s}
.m351 .hero h1 .ln:nth-child(1){animation-delay:.18s}
.m351 .hero h1 .ln:nth-child(2){animation-delay:.32s}
.m351 .hero h1 .ln:nth-child(3){animation-delay:.46s}
.m351 .hero .hero-proof{animation-delay:.62s}
.m351 .hero .m351-rotator{animation-delay:.72s}
.m351 .hero .hero-intro{animation-delay:.8s}
.m351 .hero .actions{animation-delay:.94s}
.m351 .hero .reg{animation-delay:1.08s}

/* Rotating specialism line */
.m351-rotator{display:flex;align-items:center;gap:10px;font-size:15px;color:#343434;margin:-4px 0 14px;flex-wrap:wrap}
.m351-rotator .rot-box{position:relative;display:inline-block;height:1.7em;overflow:hidden;vertical-align:bottom;min-width:14ch}
.m351-rotator .rot-word{position:absolute;left:0;top:0;white-space:nowrap;font-weight:800;color:#b51f2b;transition:transform .55s cubic-bezier(.2,.7,.2,1),opacity .55s}
.m351-rotator .rot-word.out{transform:translateY(-110%);opacity:0}
.m351-rotator .rot-word.next{transform:translateY(110%);opacity:0}
.m351-rotator .dot{width:8px;height:8px;border-radius:50%;background:#b51f2b;box-shadow:0 0 0 0 rgba(181,31,43,.5);animation:m351-pulse 2s infinite}

/* ---------- Buttons ---------- */
.m351 .btn{position:relative;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.m351 .btn::after{content:"";position:absolute;top:0;left:-75%;width:50%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-20deg);transition:left .7s ease}
.m351 .btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(181,31,43,.28);text-decoration:none!important}
.m351 .btn:hover::after{left:125%}
.m351 .btn:active{transform:translateY(0) scale(.98)}
.m351 .btn .ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,.5);transform:scale(0);animation:m351-ripple .6s ease-out forwards;pointer-events:none}
.m351 .btn.outline .ripple{background:rgba(181,31,43,.2)}
.m351 .hero .btn{animation:m351-rise .85s cubic-bezier(.2,.7,.2,1) .94s both,m351-glow 3.2s ease-in-out 2.2s infinite}
.m351 .clean-link,.m351 .hero-contact{transition:color .2s ease,letter-spacing .25s ease}

/* ---------- Scroll reveal ---------- */
.m351 .reveal{opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d,0s)}
.m351 .reveal.in{opacity:1;transform:none}

/* ---------- Authority strip ---------- */
.m351 .authority-grid>div{transition:transform .3s ease}
.m351 .authority-grid>div:hover{transform:translateY(-4px)}
.m351 .authority-logo{transition:filter .3s ease,transform .3s ease;filter:grayscale(.35)}
.m351 .authority-grid>div:hover .authority-logo{filter:none;transform:scale(1.05)}

/* ---------- Service cards ---------- */
.card-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#fbecee;color:#b51f2b;margin-bottom:12px}
.card-icon svg{width:24px;height:24px}
.card-go{display:inline-block;margin-top:14px;font-size:13px;font-weight:700;color:#b51f2b;text-decoration:none!important}
.card-go::after{content:" →";display:inline-block;transition:transform .25s ease}
.card-go:hover::after{transform:translateX(4px)}
.m351 .card{position:relative;overflow:hidden;transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s ease,border-color .35s ease;transform-style:preserve-3d;will-change:transform}
.m351 .card::before{content:"";position:absolute;left:0;top:0;height:3px;width:100%;background:linear-gradient(90deg,#b51f2b,#ff535d);transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.m351 .card::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .3s;background:radial-gradient(320px circle at var(--mx,50%) var(--my,50%),rgba(181,31,43,.08),transparent 60%)}
.m351 .card:hover{box-shadow:0 18px 40px rgba(32,33,36,.12);border-color:#efc9cd}
.m351 .card:hover::before{transform:scaleX(1)}
.m351 .card:hover::after{opacity:1}
.m351 .card .card-icon{transition:transform .45s cubic-bezier(.2,.7,.2,1),background .3s,color .3s}
.m351 .card:hover .card-icon{transform:rotate(-8deg) scale(1.08);background:#b51f2b;color:#fff}

/* MAS completion tick (animated) */
.m351-done{display:flex;align-items:center;gap:12px;margin:0 0 10px;color:#1f8a4c;font-weight:700}
.m351-done svg{width:42px;height:42px}
.m351 .m351-done circle{stroke-dasharray:140;stroke-dashoffset:140;animation:m351-draw .7s ease forwards}
.m351 .m351-done path{stroke-dasharray:40;stroke-dashoffset:40;animation:m351-draw .45s ease .55s forwards}
.m351 .masbox.flash{animation:m351-flash .9s ease}

/* ---------- Contact CTA ---------- */
.m351 .cta{position:relative;overflow:hidden;isolation:isolate}
.m351 .cta::before{content:"";position:absolute;inset:-40%;z-index:-1;background:conic-gradient(from 0deg at 50% 50%,transparent 0 70%,rgba(181,31,43,.07) 80%,transparent 90%);animation:m351-spin 22s linear infinite}
.m351 .cta .clean-link{position:relative;padding:8px 14px!important;border-radius:30px!important;transition:background .25s,color .25s,transform .25s}
.m351 .cta .clean-link:hover{background:#b51f2b!important;color:#fff!important;text-decoration:none!important;transform:translateY(-2px)}

/* ---------- Back to top ---------- */
.m351-top{position:fixed;right:20px;bottom:20px;z-index:70;width:48px;height:48px;border-radius:50%;border:0;background:#b51f2b;color:#fff;cursor:pointer;box-shadow:0 8px 22px rgba(181,31,43,.35);display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(20px) scale(.8);pointer-events:none;transition:opacity .35s,transform .35s cubic-bezier(.2,.7,.2,1)}
.m351-top.show{opacity:1;transform:none;pointer-events:auto}
.m351-top:hover{transform:translateY(-3px)}
.m351-top svg{width:20px;height:20px}
.m351-top:focus-visible,.m351 .btn:focus-visible,.m351 .clean-link:focus-visible{outline:3px solid #ff535d;outline-offset:3px}

/* ---------- Keyframes ---------- */
@keyframes m351-rise{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
@keyframes m351-sweep{to{transform:scaleX(1)}}
@keyframes m351-float{0%,100%{transform:translate(0,0) scale(1)}50%{transform:translate(-40px,30px) scale(1.08)}}
@keyframes m351-grid{to{background-position:46px 46px,46px 46px}}
@keyframes m351-pulse{0%{box-shadow:0 0 0 0 rgba(181,31,43,.5)}70%{box-shadow:0 0 0 10px rgba(181,31,43,0)}100%{box-shadow:0 0 0 0 rgba(181,31,43,0)}}
@keyframes m351-ripple{to{transform:scale(4);opacity:0}}
@keyframes m351-glow{0%,100%{box-shadow:0 0 0 0 rgba(188,32,44,0)}50%{box-shadow:0 0 0 8px rgba(188,32,44,.12)}}
@keyframes m351-shimmer{to{background-position:-200% 0}}
@keyframes m351-step{from{opacity:0;transform:translateX(34px)}to{opacity:1;transform:none}}
@keyframes m351-step-back{from{opacity:0;transform:translateX(-34px)}to{opacity:1;transform:none}}
@keyframes m351-pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes m351-draw{to{stroke-dashoffset:0}}
@keyframes m351-flash{0%{box-shadow:0 0 0 0 rgba(181,31,43,.35)}100%{box-shadow:0 0 0 22px rgba(181,31,43,0)}}
@keyframes m351-spin{to{transform:rotate(360deg)}}

@media(max-width:750px){
 .m351 header.site-header.is-scrolled .head-row{min-height:0}
 .m351-orb.o1{width:260px;height:260px}
}
@media(prefers-reduced-motion:reduce){
 .m351-progress,.m351-orb{display:none}
 .m351-rotator .rot-word{transition:none}
}

/* =====================================================================
   Corporate / tech-forward skin (applies with or without motion)
   ===================================================================== */
html body{font-family:"Inter",Arial,Helvetica,sans-serif}
html body h1,html body h2,html body h3{letter-spacing:-.02em}
html body .hero{background:radial-gradient(ellipse at 85% 10%,#3a0f15 0%,transparent 55%),linear-gradient(135deg,#0b0d12 0%,#141821 60%,#1b0d10 100%)!important;border-bottom:3px solid #b51f2b!important;padding:96px 0 84px!important;position:relative;overflow:hidden;isolation:isolate}
html body .hero h1{color:#fff!important;font-weight:800!important}
html body .hero h1 span{color:#ff535d!important}
html body .hero .eyebrow,html body .hero .hero-intro,html body .hero-contact{color:#d7dbe3!important}
html body .hero .eyebrow{border-color:#ff535d!important;letter-spacing:3px}
html body .hero .reg{color:#9aa3b2!important;border-color:rgba(255,255,255,.12)!important}
html body .hero .hero-proof{color:#fff!important}
html body .hero .hero-proof small{color:#aab2c0!important}
html body .hero-contact{text-decoration-color:#ff535d!important}
.m351-rotator{color:#d7dbe3}
.m351-rotator .rot-word{color:#ff7a82}
.m351-net{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;opacity:.85}
.hero .m351-badge{display:inline-flex;align-items:center;gap:8px;margin-left:12px;padding:4px 11px;border:1px solid rgba(255,255,255,.18);border-radius:30px;font-size:11px;letter-spacing:1.5px;color:#fff;background:rgba(255,255,255,.05);vertical-align:middle}
.m351 .hero::before{background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px)}
.m351-orb.o1{background:rgba(255,83,93,.16)}
.m351-orb.o2{background:rgba(80,110,200,.12)}

.hero .m351-badge{display:flex;width:max-content;margin:10px 0 0}
.m351-rotator .rot-box{min-width:22ch}
@media(max-width:750px){nav.primary a{font-size:12px!important}nav.primary{gap:10px!important}.m351-rotator .rot-box{min-width:100%}}
html body header.site-header .head-row{padding-left:clamp(18px,3vw,26px);padding-right:clamp(18px,3vw,26px)}

/* Proof-led hero (v2.2) */
html body .hero .hero-tag{margin:-6px 0 14px;font-size:clamp(17px,1.6vw,21px);font-weight:600;color:#ff7a82}
.hero-ticks{list-style:none;padding:0;margin:20px 0 6px;display:flex;flex-wrap:wrap;gap:10px}
.hero-ticks li{display:inline-flex;align-items:center;gap:9px;padding:8px 15px 8px 9px;border:1px solid rgba(255,255,255,.16);border-radius:40px;background:rgba(255,255,255,.05);color:#fff;font-weight:700;font-size:14px}
.hero-ticks li::before{content:"";flex:none;width:20px;height:20px;border-radius:50%;background:#b51f2b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat}
.m351 .hero .hero-tag,.m351 .hero .hero-ticks li{animation:m351-rise .75s cubic-bezier(.2,.7,.2,1) both}
.m351 .hero .hero-tag{animation-delay:.5s}
.m351 .hero .hero-ticks li:nth-child(1){animation-delay:.78s}
.m351 .hero .hero-ticks li:nth-child(2){animation-delay:.86s}
.m351 .hero .hero-ticks li:nth-child(3){animation-delay:.94s}
.m351 .hero .hero-ticks li:nth-child(4){animation-delay:1.02s}
.m351 .hero .actions{animation-delay:1.1s}
.m351 .hero .btn{animation-delay:1.1s,2.4s}
.m351 .hero .reg{animation-delay:1.2s}
.m351 .hero-ticks li{transition:background .25s,border-color .25s,transform .25s}
.m351 .hero-ticks li:hover{background:rgba(181,31,43,.25);border-color:#ff535d;transform:translateY(-2px)}

/* Light corporate hero (v2.2) – replaces the dark treatment */
html body .site-top{background:#f4f5f7!important;color:#4b5563!important;border-bottom:1px solid #e5e7eb}
html body .hero{background:radial-gradient(ellipse at 88% 8%,rgba(181,31,43,.09) 0%,transparent 50%),linear-gradient(135deg,#ffffff 0%,#f7f8fa 60%,#fbf1f2 100%)!important;border-bottom:3px solid #b51f2b!important}
html body .hero h1{color:#1a1c20!important}
html body .hero h1 span{color:#b51f2b!important}
html body .hero .eyebrow{color:#4b5563!important;border-color:#b51f2b!important}
html body .hero .hero-intro{color:#4b5563!important}
html body .hero-contact{color:#202124!important;text-decoration-color:#b51f2b!important}
html body .hero .reg{color:#6b7280!important;border-color:#e5e7eb!important}
html body .hero .hero-tag{color:#b51f2b}
.hero .m351-badge{border-color:rgba(181,31,43,.25);color:#b51f2b;background:#fff}
.hero-ticks li{background:#fff;border-color:#eadadd;color:#202124;box-shadow:0 4px 14px rgba(32,33,36,.05)}
.m351 .hero-ticks li:hover{background:#fff;border-color:#b51f2b}
.m351 .hero::before{background-image:linear-gradient(rgba(181,31,43,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(181,31,43,.045) 1px,transparent 1px)}
.m351-orb.o1{background:rgba(255,83,93,.14)}
.m351-orb.o2{background:rgba(120,140,190,.10)}
.m351-net{opacity:1}

/* Corporate refinement (v2.2) */
html body .hero{background:linear-gradient(180deg,#ffffff 0%,#f6f7f9 100%)!important;padding:78px 0 70px!important}
html body .hero .hero-grid{grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr)!important;gap:64px;align-items:center}
html body .hero h1{font-weight:700!important;letter-spacing:-.035em!important;font-size:clamp(38px,4.6vw,64px)!important}
html body .hero .hero-tag{color:#374151;font-weight:600;font-size:clamp(17px,1.5vw,20px)}
html body .hero .eyebrow{font-size:12px;letter-spacing:2.2px}
.m351 .hero h1 .ln>span::after{display:none}
.m351-net{-webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 35%,#000 75%);mask-image:linear-gradient(90deg,transparent 0%,transparent 35%,#000 75%);opacity:.8}
.m351 .hero::before,.m351-orb{display:none}
.hero-panel{position:relative;background:#fff;border:1px solid #e5e7eb;border-top:3px solid #b51f2b;border-radius:8px;padding:26px 28px 22px;box-shadow:0 18px 44px rgba(17,24,39,.08)}
.hp-head{font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#6b7280;margin-bottom:6px}
.hero-panel dl{margin:0}
.hero-panel dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:13px 0;border-bottom:1px solid #eef0f3}
.hero-panel dl>div:first-child dd{font-size:34px;color:#b51f2b;letter-spacing:-.02em}
.hero-panel dt{font-size:13px;color:#6b7280}
.hero-panel dd{margin:0;font-size:15px;font-weight:700;color:#111827;text-align:right}
.hp-link{display:inline-block;margin-top:16px;font-size:14px;font-weight:700;color:#b51f2b;text-decoration:none!important}
.hp-link::after{content:" →";display:inline-block;transition:transform .25s}
.hp-link:hover::after{transform:translateX(4px)}
.m351 .hero-panel{animation:m351-rise .9s cubic-bezier(.2,.7,.2,1) .35s both}
.m351 .hero-panel dl>div{animation:m351-rise .6s cubic-bezier(.2,.7,.2,1) both}
.m351 .hero-panel dl>div:nth-child(1){animation-delay:.55s}.m351 .hero-panel dl>div:nth-child(2){animation-delay:.63s}.m351 .hero-panel dl>div:nth-child(3){animation-delay:.71s}.m351 .hero-panel dl>div:nth-child(4){animation-delay:.79s}.m351 .hero-panel dl>div:nth-child(5){animation-delay:.87s}
.m351 .hero .actions{animation-delay:.8s}
.m351 .hero .btn{animation:m351-rise .85s cubic-bezier(.2,.7,.2,1) .8s both}
.m351 .hero .reg{animation-delay:.95s}
html body .btn{border-radius:6px}
html body .card{border-radius:10px}
.m351 .card:hover{transform:translateY(-4px)}
.card-icon{border-radius:8px}
.m351 .card:hover .card-icon{transform:none}
.m351 .cta::before{display:none}
.m351 .btn::after{display:none}
@media(max-width:950px){html body .hero .hero-grid{grid-template-columns:1fr!important;gap:36px}.hero-panel{max-width:520px}}
.hero-panel dt{white-space:nowrap}
.hp-logos{display:flex;align-items:center;gap:18px;padding:14px 0 2px;border-bottom:1px solid #eef0f3}
.hp-logo{height:46px;width:auto;max-width:46%;object-fit:contain}
.m351 .hp-logos{animation:m351-rise .6s cubic-bezier(.2,.7,.2,1) .95s both}
.hero-panel dl>div:first-child dd{font-size:30px}


/* Night skyline contact section (v2.3) */
html body .cta.night-cta{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#0c1836 0%,#16255a 45%,#2b2a63 75%,#4a2647 100%)!important;color:#fff!important;padding:96px 0 230px!important;border-top:0!important;text-align:center}
html body .cta.night-cta h2{color:#fff!important;font-size:clamp(30px,3.4vw,44px)}
html body .cta.night-cta p{color:#c9d2ea!important;font-size:17px}
html body .cta.night-cta .clean-link{color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:6px!important;padding:10px 18px!important;background:rgba(255,255,255,.06)!important}
html body .cta.night-cta .clean-link:hover{background:#b51f2b!important;border-color:#b51f2b!important;text-decoration:none!important}
html body .cta.night-cta .actions{justify-content:center;gap:12px}
.night-cta .wrap{position:relative;z-index:2}
.sky{position:absolute;inset:0;z-index:0;pointer-events:none}
.sky-stars{position:absolute;left:0;top:0;width:1px;height:1px;border-radius:50%;background:transparent}
.sky-stars.s2{width:2px;height:2px}
.sky-stars.s3{width:2px;height:2px;filter:drop-shadow(0 0 3px #fff)}
.sky-stars.s1{box-shadow:1355px 289px #fff,917px 186px #fff,1622px 4px #fff,71px 21px #fff,1483px 191px #fff,97px 117px #fff,1473px 281px #fff,1671px 210px #fff,8px 44px #fff,473px 315px #fff,60px 47px #fff,1748px 319px #fff,429px 226px #fff,1361px 26px #fff,1664px 110px #fff,981px 386px #fff,1539px 220px #fff,1373px 156px #fff,1908px 234px #fff,206px 176px #fff,24px 1px #fff,507px 305px #fff,702px 150px #fff,207px 361px #fff,859px 190px #fff,1449px 79px #fff,801px 226px #fff,1629px 160px #fff,682px 28px #fff,1648px 136px #fff,470px 354px #fff,1522px 364px #fff,876px 403px #fff,1203px 158px #fff,753px 302px #fff,1626px 268px #fff,1718px 38px #fff,1691px 172px #fff,1743px 125px #fff,1538px 182px #fff,1481px 376px #fff,587px 336px #fff,1452px 406px #fff,1652px 370px #fff,1332px 347px #fff,140px 95px #fff,591px 412px #fff,753px 127px #fff,1038px 48px #fff,945px 31px #fff,887px 317px #fff,179px 178px #fff,194px 297px #fff,1094px 179px #fff,1521px 296px #fff,1639px 308px #fff,1730px 156px #fff,403px 86px #fff,373px 34px #fff,541px 22px #fff,811px 364px #fff,72px 266px #fff,203px 260px #fff,911px 289px #fff,191px 347px #fff,423px 243px #fff,1795px 96px #fff,962px 76px #fff,881px 181px #fff,268px 352px #fff,248px 298px #fff,155px 281px #fff,999px 317px #fff,148px 126px #fff,1632px 20px #fff,1572px 285px #fff,1647px 7px #fff,814px 321px #fff,1305px 392px #fff,1387px 115px #fff,390px 118px #fff,1751px 278px #fff,1272px 275px #fff,1308px 105px #fff,1563px 225px #fff,516px 86px #fff,1071px 27px #fff,1556px 124px #fff,868px 159px #fff,505px 284px #fff,1987px 385px #fff,737px 43px #fff,1371px 130px #fff,1484px 124px #fff,1358px 208px #fff,1255px 253px #fff,539px 351px #fff,1752px 296px #fff,338px 87px #fff,524px 50px #fff,1912px 285px #fff,655px 209px #fff,514px 230px #fff,1214px 176px #fff,441px 71px #fff,59px 314px #fff,1207px 209px #fff,1572px 46px #fff,673px 289px #fff,395px 333px #fff}
.sky-stars.s2{box-shadow:311px 220px #fff,1683px 140px #fff,1345px 84px #fff,29px 219px #fff,25px 199px #fff,1695px 296px #fff,1423px 245px #fff,1458px 202px #fff,1045px 71px #fff,1869px 70px #fff,256px 56px #fff,1373px 77px #fff,980px 259px #fff,1876px 44px #fff,588px 360px #fff,1827px 229px #fff,1527px 23px #fff,1971px 142px #fff,67px 100px #fff,1899px 161px #fff,1577px 60px #fff,226px 306px #fff,1550px 168px #fff,1066px 213px #fff,272px 278px #fff,1060px 267px #fff,132px 272px #fff,758px 253px #fff,375px 284px #fff,932px 147px #fff,20px 174px #fff,971px 334px #fff,1388px 341px #fff,1063px 279px #fff,1193px 139px #fff,1320px 239px #fff,418px 357px #fff,1083px 264px #fff,1712px 94px #fff,1926px 253px #fff,1457px 344px #fff,1352px 30px #fff,1693px 29px #fff,628px 332px #fff,73px 380px #fff,693px 174px #fff,206px 77px #fff,1878px 322px #fff,366px 149px #fff,1881px 202px #fff}
.sky-stars.s3{box-shadow:1830px 24px #fff,72px 241px #fff,1622px 147px #fff,1860px 6px #fff,467px 67px #fff,102px 213px #fff,88px 144px #fff,425px 230px #fff,264px 253px #fff,212px 218px #fff,942px 252px #fff,249px 67px #fff,828px 318px #fff,284px 172px #fff,819px 298px #fff,1240px 49px #fff,365px 277px #fff,1375px 87px #fff,1760px 22px #fff,1561px 201px #fff,388px 331px #fff,1615px 159px #fff}
.sky-glow{position:absolute;left:50%;bottom:0;width:120%;height:320px;transform:translateX(-50%);background:radial-gradient(ellipse at 50% 100%,rgba(255,120,110,.30) 0%,rgba(181,31,43,.12) 35%,transparent 70%)}
.sky-city{position:absolute;left:0;bottom:0;width:100%;height:240px;display:block}
.sk-back{opacity:.9}
.shoot{position:absolute;width:160px;height:2px;border-radius:2px;background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,0));opacity:0;transform:rotate(-24deg)}
.shoot::after{content:"";position:absolute;left:-2px;top:-2px;width:6px;height:6px;border-radius:50%;background:#fff;box-shadow:0 0 10px 3px rgba(255,255,255,.7)}
.sh1{top:8%;left:38%}.sh2{top:4%;left:78%}.sh3{top:18%;left:96%}
.m351 .sky-stars.s1{animation:sky-twinkle 5s ease-in-out infinite}
.m351 .sky-stars.s2{animation:sky-twinkle 7s ease-in-out 1.5s infinite}
.m351 .sky-stars.s3{animation:sky-twinkle 4s ease-in-out .8s infinite}
.m351 .shoot{animation:sky-shoot 9s linear infinite}
.m351 .sh2{animation-delay:3.4s;animation-duration:11s}
.m351 .sh3{animation-delay:6.8s;animation-duration:13s}
.m351 .sk-win rect{animation:sky-win 6s steps(1) infinite}
.m351 .sk-win .w1{animation-delay:-2s;animation-duration:9s}
.m351 .sk-win .w2{animation-delay:-4s;animation-duration:13s}
.m351 .sk-win .w3{animation:none}
@keyframes sky-twinkle{0%,100%{opacity:1}50%{opacity:.45}}
@keyframes sky-shoot{0%{opacity:0;transform:rotate(-24deg) translateX(0)}2%{opacity:1}9%{opacity:0;transform:rotate(-24deg) translateX(-420px)}100%{opacity:0;transform:rotate(-24deg) translateX(-420px)}}
@keyframes sky-win{0%,100%{opacity:1}40%{opacity:.25}55%{opacity:1}}
@media(max-width:750px){html body .cta.night-cta{padding:64px 0 170px!important}.sky-city{height:160px}.shoot{width:110px}}


/* Night-sky hero with shooting stars (v2.3) */
html body .hero.night-hero{background:linear-gradient(180deg,#0c1836 0%,#15245a 50%,#2a2a63 80%,#47264a 100%)!important;border-bottom:3px solid #b51f2b!important;padding:84px 0 250px!important}
.night-hero .wrap{position:relative;z-index:2}
html body .night-hero h1{color:#fff!important}
html body .night-hero h1 span{color:#ff6b74!important}
html body .night-hero .eyebrow{color:#c9d2ea!important;border-color:#ff6b74!important}
html body .night-hero .hero-tag{color:#fff}
html body .night-hero .hero-intro{color:#c9d2ea!important}
html body .night-hero .hero-contact{color:#fff!important;text-decoration-color:#ff6b74!important}
html body .night-hero .reg{color:#a3add0!important;border-color:rgba(255,255,255,.14)!important}
.night-hero .hero-panel{box-shadow:0 24px 60px rgba(3,8,30,.45)}
.night-hero .sky-city{height:230px}
.night-hero .sky-stars,.night-hero .shoot{transition:translate .6s cubic-bezier(.2,.7,.2,1)}
.night-hero .sky-stars.s1{translate:calc(var(--px,0)*-8px) calc(var(--py,0)*-6px)}
.night-hero .sky-stars.s2{translate:calc(var(--px,0)*-16px) calc(var(--py,0)*-12px)}
.night-hero .sky-stars.s3{translate:calc(var(--px,0)*-28px) calc(var(--py,0)*-20px)}
.night-hero .sky-city{transition:translate .6s cubic-bezier(.2,.7,.2,1);translate:calc(var(--px,0)*-10px) 0;width:calc(100% + 24px);left:-12px}
.m351 .night-hero .shoot{animation-duration:7s}
.m351 .night-hero .sh2{animation-duration:9s;animation-delay:2.6s}
.m351 .night-hero .sh3{animation-duration:11s;animation-delay:5.2s}
@media(max-width:750px){html body .hero.night-hero{padding:56px 0 170px!important}.night-hero .sky-city{height:150px}}
html body .hero.night-hero{padding:76px 0 210px!important}
html body .night-hero .hero-tag{font-size:clamp(18px,1.7vw,22px);font-weight:500;color:#dfe5f5;margin:0 0 26px}
html body .night-hero .reg{font-size:11.5px;max-width:620px}
.night-hero .sky-city{height:200px}
/* Option 3 lead-gen hero copy */
html body .night-hero h1.h1-q{font-size:clamp(32px,3.7vw,54px)!important;line-height:1.1!important;margin:18px 0 18px}
html body .night-hero .hero-proof2{margin:0 0 14px;font-size:clamp(22px,2.3vw,32px);font-weight:800;letter-spacing:-.02em;color:#fff}
html body .night-hero .hero-proof2 span{color:#ff6b74}
html body .night-hero .hero-intro{font-size:17px;max-width:600px;margin:0 0 26px}
.m351 .hero .hero-proof2{animation:m351-rise .85s cubic-bezier(.2,.7,.2,1) .5s both}
.m351 .hero .hero-intro{animation-delay:.62s}
html body .night-hero h1.h1-q{max-width:720px}
.m351 .night-hero h1.h1-q .ln>span,html body .night-hero h1.h1-q span{display:inline}
@media(max-width:750px){html body .night-hero h1.h1-q{font-size:30px!important;text-wrap:balance}html body .night-hero .hero-proof2{font-size:22px}}

/* Dancing stars (v2.4) */
.sky-dance{position:absolute;inset:0;transition:translate .6s cubic-bezier(.2,.7,.2,1);translate:calc(var(--px,0)*-22px) calc(var(--py,0)*-16px)}
.dstar{position:absolute;border-radius:50%;background:#fff;box-shadow:0 0 6px 1px rgba(255,255,255,.8);animation:star-dance var(--dur) ease-in-out var(--del) infinite,star-tw var(--tw) ease-in-out var(--del) infinite;transition:scale .35s ease,box-shadow .35s ease}
.dstar.spark{background:none;box-shadow:none;animation:star-dance var(--dur) ease-in-out var(--del) infinite,star-spark var(--tw) ease-in-out var(--del) infinite}
.dstar.spark::before,.dstar.spark::after{content:"";position:absolute;left:50%;top:50%;background:linear-gradient(90deg,transparent,#fff 45%,#fff 55%,transparent);border-radius:2px}
.dstar.spark::before{width:100%;height:2px;transform:translate(-50%,-50%)}
.dstar.spark::after{width:2px;height:100%;transform:translate(-50%,-50%);background:linear-gradient(180deg,transparent,#fff 45%,#fff 55%,transparent)}
.dstar:nth-child(4n){background:#ffd9dc}
.dstar:nth-child(7n){background:#cfe0ff}
.dstar.near{scale:2.2;box-shadow:0 0 14px 4px rgba(255,255,255,.9)}
.dstar.spark.near{scale:1.6;box-shadow:none}
@keyframes star-dance{0%,100%{transform:translate(0,0)}25%{transform:translate(var(--dx),calc(var(--dy)*-1))}50%{transform:translate(calc(var(--dx)*-.6),var(--dy))}75%{transform:translate(calc(var(--dx)*-1),calc(var(--dy)*-.4))}}
@keyframes star-tw{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes star-spark{0%,100%{opacity:.35;rotate:0deg;scale:.6}50%{opacity:1;rotate:90deg;scale:1.15}}
.m351 .night-hero .shoot{animation-duration:5s}
.m351 .night-hero .sh2{animation-duration:6.5s;animation-delay:1.8s}
.m351 .night-hero .sh3{animation-duration:8s;animation-delay:3.6s}

/* Hero credentials bar (v2.4) */
.cred-bar{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 22px}
.cred{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:8px 16px 8px 10px;background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(3,8,30,.28);color:#111827;text-decoration:none!important;transition:transform .25s,box-shadow .25s}
a.cred:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(3,8,30,.38)}
.cred-ico{display:inline-flex;width:34px;height:34px;border-radius:7px;background:#fbecee;color:#b51f2b;align-items:center;justify-content:center;flex:none}
.cred-ico svg{width:20px;height:20px}
.cred-txt b{display:block;font-size:13.5px;line-height:1.2}
.cred-txt small{display:block;font-size:11.5px;color:#6b7280;line-height:1.3}
.cred-logo{padding:8px 14px}
.cred-logo img{height:38px;width:auto;max-width:140px;object-fit:contain;display:block}
.m351 .cred{animation:m351-rise .7s cubic-bezier(.2,.7,.2,1) both}
.m351 .cred:nth-child(1){animation-delay:.9s}.m351 .cred:nth-child(2){animation-delay:.98s}.m351 .cred:nth-child(3){animation-delay:1.06s}

/* Client review ticker (v2.4) */
html body .review-strip{background:#fff!important;padding:56px 0 64px!important;border-top:1px solid #eef0f3}
html body .review-strip h2{font-size:clamp(24px,2.6vw,32px)!important;margin:0}
.review-bar{margin-bottom:22px}
html body .review-item{width:360px!important;padding:22px 24px!important;border:1px solid #eceef1!important;border-top:3px solid #b51f2b!important;border-radius:10px!important;background:#fff!important;box-shadow:0 10px 28px rgba(17,24,39,.06);font-size:15px!important;line-height:1.55;display:flex;flex-direction:column}
html body .review-item p{flex:1;margin:10px 0 14px!important;color:#1f2937}
html body .review-item p::before{content:"\201C";font-size:34px;line-height:0;vertical-align:-12px;color:#b51f2b;margin-right:3px;font-family:Georgia,serif}
html body .review-stars{color:#e0a100;font-size:16px;letter-spacing:2px}
html body .review-meta{font-size:12.5px;color:#6b7280;border-top:1px solid #f1f2f4;padding-top:10px}
html body .review-meta strong{color:#111827}
.review-toggle{border:1px solid #e5e7eb!important;border-radius:30px!important;padding:6px 14px!important;text-decoration:none!important;font-weight:600;color:#374151!important;background:#fff!important}
@media(prefers-reduced-motion:no-preference){
 html body .review-window{overflow:hidden!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
 html body .review-track{padding:6px 0 18px!important;animation-duration:55s}
}
.m351-top{right:auto;left:20px}
.cred-logo{padding:6px 14px;min-height:56px}
.cred-logo img{height:44px;max-width:150px}
.authority-logo{max-height:72px;filter:none!important}
.cred-logo img[src*="nacfb"]{height:58px}.cred-logo{min-height:64px}.cred{min-height:64px}

/* Header: navy links + prominent CTA, transparent logo (v2.6) */
html body .brand img{background:transparent}
html body nav.primary{gap:26px;align-items:center}
html body nav.primary a.clean-link{color:#15245a!important;font-size:15px;font-weight:600}
.m351 nav.primary a.clean-link::after{background:#b51f2b}
.nav-cta{display:inline-flex;align-items:center;gap:10px;padding:15px 26px;border-radius:8px;background:#b51f2b;color:#fff!important;font-size:16px;font-weight:700;text-decoration:none!important;box-shadow:0 10px 26px rgba(181,31,43,.32);transition:background .25s,transform .25s,box-shadow .25s;white-space:nowrap}
.nav-cta:hover{background:#15245a;transform:translateY(-2px);box-shadow:0 14px 30px rgba(21,36,90,.35)}
.nav-cta:focus-visible{outline:3px solid #ff535d;outline-offset:3px}
.nav-cta-dot{width:9px;height:9px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 0 rgba(74,222,128,.6)}
.m351 .nav-cta-dot{animation:nav-live 2s infinite}
@keyframes nav-live{0%{box-shadow:0 0 0 0 rgba(74,222,128,.6)}70%{box-shadow:0 0 0 8px rgba(74,222,128,0)}100%{box-shadow:0 0 0 0 rgba(74,222,128,0)}}
.m351 header.site-header.is-scrolled .nav-cta{padding:12px 22px;font-size:15px}
@media(max-width:950px){html body nav.primary{gap:16px}.nav-cta{padding:12px 18px;font-size:15px}}
@media(max-width:750px){html body nav.primary{gap:8px 14px}html body nav.primary a.clean-link{font-size:13px}.nav-cta{order:-1;width:100%;justify-content:center;padding:13px 18px}}
html body nav.primary a.nav-cta{font-size:17px;padding:16px 28px;color:#fff!important}
.m351 header.site-header.is-scrolled nav.primary a.nav-cta{font-size:15px;padding:12px 22px}
@media(max-width:750px){html body nav.primary a.nav-cta{font-size:15px;padding:13px 18px}}
