/* HOOMA - home page redesign (v11). Every rule is scoped to body.home so no other page can be affected.
   Locked by brief: copy, section backgrounds, per-feature screenshots and the brand palette. Only composition, scale, rhythm and motion live here. */
body.home{--hx-ease:cubic-bezier(.2,.8,.2,1);--hx-sh:0 36px 70px -44px #0b2a2288;--hx-card:0 22px 44px -30px #0b2a2260}

/* ───────── hero: two-column editorial composition ───────── */
body.home .hero.h-fan{padding:clamp(30px,4.6vw,68px) 0 clamp(70px,8vw,110px);text-align:start}
body.home .hero .hx-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,4vw,60px);align-items:center}
body.home .hero.h-fan .hx-copy{position:relative;min-width:0}
body.home .hero.h-fan .hx-copy>.kick{margin-bottom:6px;padding:7px 14px;border-radius:99px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 18px -14px #0b2a2266}
body.home .hero.h-fan .hx-copy>.kick::before{width:8px;height:8px;border-radius:50%;background:var(--gold2)}
body.home .hero.h-fan .hx-copy h1{max-width:none;margin:14px 0 0;font-size:clamp(1.9rem,1.15rem + 2.2vw,3.05rem);line-height:1.32;letter-spacing:-.01em;text-wrap:balance}
body.home .hx-mark{position:relative;z-index:0;color:var(--green);white-space:nowrap}
body.home .hx-mark::after{content:"";position:absolute;z-index:-1;inset-inline:-.07em;bottom:.1em;height:.3em;border-radius:.2em;background:#e8b94a73;transform-origin:100% 50%;animation:hxMark 1s .5s var(--hx-ease) both}
body.home .hero.h-fan .hx-copy .lead.lead-k{margin:20px 0 16px;max-width:none;font-size:clamp(1.05rem,.9rem + .6vw,1.35rem);line-height:1.65;color:var(--green2)}
body.home .hero.h-fan .hx-copy .lead-b{position:relative;max-width:none;margin:0;padding-inline-start:22px;border-inline-start:2px solid var(--mint2)}
body.home .hero.h-fan .hx-copy .lead-b::before{content:"";position:absolute;top:0;inset-inline-start:-2px;width:2px;height:46px;background:var(--gold2);border-radius:2px}
body.home .hero.h-fan .hx-copy .lead-b p{max-width:35em;margin:0 0 10px;font-size:.97rem;line-height:1.95;text-wrap:pretty}
body.home .hero.h-fan .hx-copy .lead-b p:first-child{color:var(--ink);font-weight:600;font-size:1.02rem}
body.home .hero.h-fan .hx-copy .lead-b p:last-child{margin-bottom:0}
body.home .hero.h-fan .hx-copy .lead.lead-e{max-width:none;margin:22px 0 26px;padding-top:20px;font-size:clamp(1rem,.92rem + .35vw,1.18rem);line-height:1.7;font-weight:800;color:var(--ink)}
body.home .hero.h-fan .hx-copy .lead.lead-e::before{left:auto;inset-inline-start:0;margin:0;width:48px}
body.home .hero.h-fan .hx-copy .acts{justify-content:flex-start;gap:12px}
body.home .hero.h-fan .hx-copy .acts .btn{min-height:54px;padding:0 28px;border-radius:16px}
body.home .hero.h-fan .acts .btn{width:auto;min-width:0}
body.home .hero.h-fan .hx-copy>*{animation:hxUp .75s var(--hx-ease) both}
body.home .hero.h-fan .hx-copy>.kick{animation-delay:.02s}
body.home .hero.h-fan .hx-copy>h1{animation:none}
body.home .hero.h-fan .hx-copy>.lead-k{animation-delay:.12s}
body.home .hero.h-fan .hx-copy>.lead-b{animation-delay:.2s}
body.home .hero.h-fan .hx-copy>.lead-e{animation-delay:.28s}
body.home .hero.h-fan .hx-copy>.acts{animation-delay:.36s}

body.home .hero.h-fan .hx-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;min-width:0}
body.home .hero.h-fan .hx-stage::before{content:"";position:absolute;z-index:-1;inset:0 -10% 15%;border-radius:50%;background:radial-gradient(closest-side,#1b5e4f26,#1b5e4f00)}
body.home .hero.h-fan .hx-stage::after{content:"";position:absolute;z-index:-1;inset:7% 1% 21%;border-radius:50%;border:1.5px dashed #1b5e4f30}
body.home .fan{--sx:150px;position:relative;display:block;width:100%;height:578px;margin:0;perspective:1900px;transform-style:preserve-3d;transform:rotateY(calc(var(--tx,0)*7deg)) rotateX(calc(var(--ty,0)*-4deg));transition:transform .6s var(--hx-ease)}
body.home .fan::after{content:none}
body.home .fan .ph{position:absolute;left:50%;margin-left:calc(var(--pw)/-2)}
body.home .fan .ph:nth-child(2){--w:304px;top:4px;z-index:3;transform:translateZ(46px)}
body.home .fan .ph:nth-child(1){--w:236px;top:84px;z-index:1;transform:translateX(calc(var(--sx)*-1)) rotateY(17deg) rotate(-5deg)}
body.home .fan .ph:nth-child(3){--w:236px;top:84px;z-index:1;transform:translateX(var(--sx)) rotateY(-17deg) rotate(5deg)}
body.home .fan .ph:nth-child(2){box-shadow:inset 0 1px 0 #ffffff40,0 0 0 1.5px #0c1310,0 46px 70px -26px #0b2a22aa,0 90px 110px -60px #0b2a2288}
.hx-fb{position:absolute;z-index:6;width:56px;height:56px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(160deg,#fff,#e2f0ea);border:1px solid #cfe0d6;box-shadow:0 20px 34px -16px #0b2a2288,inset 0 1px 0 #fff;color:var(--green);transform:translateZ(90px);animation:hxF 6s ease-in-out infinite alternate}
.hx-fb svg{display:block;width:28px;height:28px}
.hx-fb1{left:1%;top:15%}
.hx-fb2{right:0;top:42%;color:#1d3d8f;background:linear-gradient(160deg,#e6eeff,#a9c3ff);animation-delay:-2s}
.hx-fb3{left:7%;bottom:9%;color:#5a4300;background:linear-gradient(160deg,#fbe7ab,#e8b94a);border-radius:50%;animation-delay:-4s}
body.home .hero.h-fan .hx-stage .chips{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:4px;max-width:100%;margin:24px 0 0;padding:6px;overflow-x:auto;scrollbar-width:none;border-radius:99px;background:#fff;border:1px solid var(--line);box-shadow:var(--hx-card)}
body.home .hero.h-fan .hx-stage .chips::-webkit-scrollbar{display:none}
body.home .hero.h-fan .hx-stage .chip{width:auto;justify-content:flex-start;flex:none;min-height:40px;padding:0 15px;border-color:transparent;background:transparent}
body.home .hero.h-fan .hx-stage .chip:hover{background:var(--mint)}
body.home .hero.h-fan .hx-stage .chip[aria-pressed=true]{background:var(--green);color:#fff;box-shadow:0 8px 16px -8px #1b5e4faa}

/* facts: becomes a floating band that bridges hero and the next section */
body.home .hx-facts{position:relative;z-index:6;margin-top:calc(clamp(70px,8vw,110px)*-.6)}
body.home .facts{border:1px solid var(--line);border-radius:30px;background:#fff;box-shadow:var(--hx-sh);overflow:hidden}
body.home .facts div{padding:30px 22px 28px;transition:background .3s}
body.home .facts div:hover{background:var(--paper)}
body.home .facts .ico{display:block;box-sizing:border-box;width:50px;height:50px;margin:0 auto 14px;padding:13px;border-radius:17px;background:var(--mint);color:var(--green)}
body.home .facts b{font-size:clamp(1.7rem,1.3rem + 1.1vw,2.2rem)}

/* ───────── smart assistant (#matching): composition only, the animated art is untouched ───────── */
body.home .mx{padding:clamp(3.5rem,6vw,5.5rem) 0 clamp(3rem,5vw,4.5rem)}
body.home .mx-top{position:relative;isolation:isolate;overflow:hidden;padding:clamp(1.5rem,4.2vw,3.5rem);border-radius:2.25rem;background:#fff;border:1px solid var(--line);box-shadow:var(--hx-sh)}
body.home .mx-top::before{content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(#1b5e4f26 1px,transparent 1.4px);background-size:20px 20px;-webkit-mask-image:radial-gradient(ellipse 55% 75% at 22% 55%,#000,transparent);mask-image:radial-gradient(ellipse 55% 75% at 22% 55%,#000,transparent)}
body.home .mx-top .mx-hd h2{font-size:clamp(1.55rem,1.1rem + 1.45vw,2.25rem);line-height:1.4;letter-spacing:-.01em}
body.home .mx-top .mx-sub{max-width:30em;margin-top:.9rem;font-size:.98rem;line-height:1.9}
body.home .mx-top .mx-k{padding:.35rem .8rem;border-radius:99px;background:var(--mint)}
body.home .mx-hv .mx-st1{max-width:28rem}
body.home .mx-hv .mx-cd{max-width:22rem}
body.home .mx-scn,body.home .mx-net,body.home .mx-ba-w{margin-top:clamp(3.5rem,7vw,6.5rem)}
body.home .mx .mx-h3{font-size:clamp(1.2rem,.95rem + .9vw,1.65rem);line-height:1.5;letter-spacing:-.01em}
body.home .mx-cta{margin-top:clamp(3rem,6vw,5rem)}
@media (min-width:46rem){
 body.home .mx-scn{column-gap:clamp(2rem,6vw,5rem)}
 body.home .mx-scn>.mx-h3{max-width:16em}
 body.home .mx-scn>.mx-tl{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:.6rem;margin:1.4rem 0 1.2rem}
 body.home .mx-tb{min-height:3.6rem;padding:0 1.3rem;border-radius:1.15rem;font-size:1rem;justify-content:flex-start;box-shadow:0 .6rem 1.2rem -1rem #0b2a2255;transition:transform .3s var(--hx-ease),background .2s,box-shadow .3s}
 body.home .mx-tb:hover{transform:translateX(-4px)}
 body.home .mx-tb[aria-selected=true]{box-shadow:0 1.2rem 1.8rem -1.1rem #1b5e4fcc;transform:translateX(-10px)}
 body.home .mx-scn>.mx-pn{max-width:27rem;padding:clamp(1rem,2.4vw,1.8rem);border-radius:2rem;background:linear-gradient(170deg,#fff,#eaf3ee);border:1px solid var(--line);box-shadow:var(--hx-sh)}
 body.home .mx-net{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(2rem,6vw,5rem)}
 body.home .mx-net>.mx-st4{grid-column:1;max-width:28rem;border-radius:2rem;box-shadow:var(--hx-sh)}
 body.home .mx-net>.mx-h3,body.home .mx-net>.mx-sub2,body.home .mx-net>.mx-fn{grid-column:2}
 body.home .mx-net>.mx-h3{max-width:15em}
 body.home .mx-net>.mx-sub2{font-size:.98rem;line-height:1.9}
 body.home .mx-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;text-align:start;padding:clamp(1.6rem,3.4vw,2.6rem) clamp(1.6rem,4vw,3.2rem);border-radius:2rem}
 body.home .mx-cta-t{margin:0;max-width:30em;text-align:start;font-size:clamp(1rem,.88rem + .5vw,1.2rem)}
 body.home .mx-cta-a{margin:0;justify-content:flex-end;flex:none}
}
body.home .mx-ba{max-width:34rem}
body.home .mx-ba-on{box-shadow:var(--hx-sh),0 0 0 1px var(--line)}

/* ───────── about ───────── */
body.home #about{padding-top:clamp(56px,7vw,104px)}
body.home .ab-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:clamp(32px,6vw,84px);align-items:start}
body.home #about .ab-l .sec-h{max-width:34em;margin:0 0 22px}
body.home #about .ab-l .kick{display:block;margin:0;font-size:.95rem;line-height:1.95;font-weight:400;color:var(--ink2);padding-inline-start:20px;border-inline-start:2px solid var(--gold2)}
body.home #about .ab-l .kick::before{content:none}
body.home #about .say{max-width:none;font-size:clamp(1.1rem,.92rem + .5vw,1.35rem);line-height:1.9}
body.home #about .ab-r{margin:0;padding:clamp(24px,3vw,38px);border-radius:30px;background:#fff;border:1px solid var(--line);box-shadow:var(--hx-card);position:relative}
body.home #about .ab-r::before{content:"";position:absolute;top:0;inset-inline-start:34px;width:54px;height:4px;border-radius:0 0 4px 4px;background:var(--gold2)}
body.home #about .ab-r h2{font-size:clamp(1.45rem,1.1rem + .9vw,1.9rem);font-weight:800;margin-bottom:6px}
body.home #about .ab-r p{margin-top:12px;font-size:.96rem;line-height:1.95}
body.home .defs{gap:22px;margin-top:clamp(36px,5vw,64px);padding-bottom:30px;align-items:start}
body.home .defs>div{padding:28px 26px 30px;border-radius:28px;transition:transform .4s var(--hx-ease),box-shadow .4s}
body.home .defs>div:hover{box-shadow:var(--hx-card);transform:translateY(-4px)}
body.home .defs>div:nth-child(2){margin-top:30px}
body.home .defs>div:nth-child(3){margin-top:0;background:var(--paper2);border-style:dashed;border-color:#b6cbbf}
body.home .defs .ico{box-sizing:border-box;width:54px;height:54px;margin:0 0 16px;padding:14px;border-radius:18px;background:var(--mint);color:var(--green)}
body.home .defs>div:nth-child(3) .ico{background:#fff;color:#6d8379}
body.home .defs dt{font-size:1.1rem;font-weight:800}

/* ───────── chapters: shared headings and stage ───────── */
body.home .sec,body.home .cta{overflow-x:clip}
body.home #local .sec-h,body.home #network .sec-h,body.home #department .sec-h,body.home #tools .sec-h{max-width:none;margin-bottom:clamp(30px,4vw,56px)}
body.home #local .sec-h .kick,body.home #network .sec-h .kick,body.home #department .sec-h .kick,body.home #tools .sec-h .kick{padding:7px 15px;border-radius:99px;background:#fff;border:1px solid var(--line);margin-bottom:16px}
body.home #local .sec-h .kick::before,body.home #network .sec-h .kick::before,body.home #department .sec-h .kick::before,body.home #tools .sec-h .kick::before{width:8px;height:8px;border-radius:50%}
body.home #local .sec-h h2,body.home #network .sec-h h2,body.home #department .sec-h h2,body.home #tools .sec-h h2{font-size:clamp(1.65rem,1.15rem + 1.5vw,2.35rem);line-height:1.35;font-weight:800;letter-spacing:-.01em}
body.home .show .stage{position:relative;isolation:isolate;perspective:1500px}
body.home .show .stage::before{content:"";position:absolute;z-index:-1;inset:3% -22% 3%;border-radius:50%;background:radial-gradient(closest-side,#ffffffcc,#ffffff00)}
body.home #network .stage::before,body.home #tools .stage::before{background:radial-gradient(closest-side,#e2f0ea,#e2f0ea00)}
body.home .show .stage::after{content:"";position:absolute;z-index:-1;inset:9% -8% 9%;border-radius:50%;border:1.5px dashed #1b5e4f2b}
body.home .show .stage .ph{translate:0 var(--py,0px);transform:rotateY(calc(var(--tx,0)*8deg)) rotateX(calc(var(--ty,0)*-5deg));transition:transform .5s var(--hx-ease)}
body.home #local .ph,body.home #network .ph,body.home #tools .ph{--w:344px}
body.home #department .ph{--w:304px}

@media (min-width:901px){
 /* local: phone on one side, tabs as a vertical timeline */
 body.home #local .show{grid-template-columns:minmax(0,1fr) 430px;gap:clamp(40px,6vw,96px)}
 body.home #local .tabs{position:relative;gap:6px;padding-inline-start:34px}
 body.home #local .tabs::before{content:"";position:absolute;inset-block:18px;inset-inline-start:8px;width:2px;border-radius:2px;background:var(--mint2)}
 body.home #local .tab{position:relative;padding:18px 24px;border-radius:22px}
 body.home #local .tab::before{content:"";position:absolute;top:25px;inset-inline-start:-34px;width:18px;height:18px;border-radius:50%;background:var(--mint);border:2.5px solid var(--mint2);transition:background .3s,border-color .3s,box-shadow .3s}
 body.home #local .tab:hover::before{border-color:var(--green2)}
 body.home #local .tab[aria-selected=true]::before{background:var(--green);border-color:var(--green);box-shadow:0 0 0 6px #1b5e4f26}
 body.home #local .tab[aria-selected=true]{box-shadow:var(--hx-card)}
 /* network + tools: stacked deck of cards, active card lifts forward */
 body.home #network .show,body.home #tools .show{grid-template-columns:minmax(0,1fr) 430px;gap:clamp(40px,6vw,96px)}
 body.home #network .tabs,body.home #tools .tabs{gap:12px}
 body.home #network .tab,body.home #tools .tab{position:relative;padding:20px 26px;border-radius:24px;background:#fff;border:1px solid var(--line);transform-origin:100% 50%;transition:transform .4s var(--hx-ease),box-shadow .4s,opacity .3s}
 body.home #network .tab:not([aria-selected=true]),body.home #tools .tab:not([aria-selected=true]){opacity:.72;transform:scale(.965)}
 body.home #network .tab:not([aria-selected=true]):hover,body.home #tools .tab:not([aria-selected=true]):hover{opacity:1;background:#fff}
 body.home #network .tab[aria-selected=true],body.home #tools .tab[aria-selected=true]{border-color:#b7d2c5;box-shadow:0 30px 50px -30px #0b2a2288}
 body.home #network .tab[aria-selected=true]::before,body.home #tools .tab[aria-selected=true]::before{content:"";position:absolute;inset-block:22px;inset-inline-start:0;width:4px;border-radius:4px;background:linear-gradient(var(--gold2),var(--gold))}
 /* department: hub layout, phone in the middle and tabs flanking it */
 body.home #department .show.hub{grid-template-columns:minmax(0,1fr) 330px minmax(0,1fr);gap:clamp(24px,3.2vw,48px);align-items:center}
 body.home #department .hub-l,body.home #department .hub-l .tabs{display:contents}
 body.home #department .hb-a,body.home #department .hb-b{display:flex;flex-direction:column;gap:8px;min-width:0}
 body.home #department .hb-a{grid-column:1;grid-row:1}
 body.home #department .stage{grid-column:2;grid-row:1}
 body.home #department .hb-b{grid-column:3;grid-row:1}
 body.home #department .tab{padding:15px 20px;border-radius:20px;background:#ffffffa6;border:1px solid #ffffff;transition:background .3s,box-shadow .35s,transform .35s var(--hx-ease)}
 body.home #department .tab:hover{background:#fff;transform:translateY(-2px)}
 body.home #department .tab[aria-selected=true]{background:#fff;border-color:#b7d2c5;box-shadow:0 30px 50px -30px #0b2a2288;transform:none}
 body.home #department .tab h3{font-size:1rem;line-height:1.55}
 body.home #department .tab p{font-size:.92rem;line-height:1.85}
 body.home #department .mt{display:none}
}
@media (min-width:901px) and (max-width:1100px){body.home #department .show.hub{grid-template-columns:minmax(0,1fr) 290px minmax(0,1fr)}body.home #department .ph{--w:270px}}

/* ───────── tablet and mobile ───────── */
@media (max-width:900px){
 body.home .hero.h-fan{padding:26px 0 clamp(64px,12vw,84px)}
 body.home .hero .hx-grid{grid-template-columns:minmax(0,1fr);gap:0}
 body.home .hero.h-fan .hx-copy{display:contents}
 body.home .hero.h-fan .hx-copy>.kick{order:1;justify-self:start}
 body.home .hero.h-fan .hx-copy>h1{order:2}
 body.home .hero.h-fan .hx-copy>.lead-k{order:3;margin:14px 0 6px}
 body.home .hero.h-fan .hx-stage{order:4;margin:6px 0 30px}
 body.home .hero.h-fan .hx-copy>.lead-b{order:5}
 body.home .hero.h-fan .hx-copy>.lead-e{order:6;margin:20px 0 20px}
 body.home .hero.h-fan .hx-copy>.acts{order:7}
 body.home .fan{--sx:min(122px,29vw);height:clamp(420px,112vw,520px)}
 body.home .fan .ph:nth-child(2){--w:min(250px,60vw)}
 body.home .fan .ph:nth-child(1),body.home .fan .ph:nth-child(3){--w:min(190px,45vw);top:min(70px,15vw)}
 .hx-fb{width:46px;height:46px;border-radius:16px}.hx-fb svg{width:23px;height:23px}
 body.home .hero.h-fan .hx-stage .chips{margin-top:14px}
 body.home .hx-facts{margin-top:-52px}
 body.home .facts div{padding:22px 12px 20px}
 body.home .ab-top{grid-template-columns:minmax(0,1fr);gap:28px}
 body.home .defs>div:nth-child(2){margin-top:0}
 body.home .defs{padding-bottom:0}
 body.home #local .ph,body.home #network .ph,body.home #tools .ph,body.home #department .ph{--w:min(300px,76vw)}
 body.home .show .stage::before{inset:3% -4% 3%}
 body.home .show .stage::after{inset:9% 0 9%}
 body.home .mx-top{border-radius:1.75rem}
 body.home #department .hub-l{display:block}
 body.home #department .hb-a,body.home #department .hb-b{display:contents}
}
@media (max-width:640px){
 body.home .hero.h-fan .hx-copy h1{font-size:clamp(1.75rem,7.6vw,2.15rem)}
 body.home .hero.h-fan .hx-copy .acts .btn{width:100%}
 body.home .facts{border-radius:24px}
 body.home .mx-cta{text-align:center}
 body.home .mx-ba{max-width:100%}
}

/* ───────── motion (everything is dropped for reduced-motion users by the global rule in site.css) ───────── */
@keyframes hxUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes hxMark{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes hxF{from{transform:translateZ(90px) translateY(-7px) rotate(-2deg)}to{transform:translateZ(90px) translateY(8px) rotate(2deg)}}
@media (prefers-reduced-motion:reduce){body.home .fan,body.home .show .stage .ph{transform:none!important;translate:none!important}}

/* hero centre phone: iOS hub screenshot. The frame keeps its ratio, so the iOS status bar (top 132px of 1125) sits outside the frame; the picture stays scrollable. */
body.home .sc.hx-hub picture{display:block}
body.home .sc.hx-hub img{margin-top:-11.733%}
