/* Inner-page heroes: one layout, one small scene per service. Resting styles are the final frame;
   .play (added by hero-scenes.js) runs a single load sequence. Scenes are built by tools/apply_hero.py. */
@property --gx{syntax:"<percentage>";inherits:true;initial-value:72%}
@property --gy{syntax:"<percentage>";inherits:true;initial-value:42%}
html body.flow-page .flow-hero.hero-v2{background:transparent;color:#25231F;transition:--gx .9s cubic-bezier(.2,.7,.2,1),--gy .9s cubic-bezier(.2,.7,.2,1)}
.hero-v2::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(42vw 42vw at var(--gx) var(--gy),rgba(0,179,164,.26),transparent 62%),radial-gradient(30vw 30vw at calc(100% - var(--gx)) 88%,rgba(0,119,110,.12),transparent 65%),#F1EBE1}
html body.flow-page .hero-v2::after{display:none}
html body.flow-page .flow-hero.hero-v2 h1{font-size:clamp(44px,5.4vw,96px);line-height:1.02;max-width:min(10em,43vw);margin:26px 0 30px}
html body.flow-page .flow-hero.hero-v2 h1 em{color:#625B52}
.hero-v2 h1 .l{display:block;overflow:hidden;padding-bottom:.14em;margin-bottom:-.14em}
.hero-v2 h1 .l>span{display:block}
html body.flow-page .hero-v2 .flow-index{border-color:#25231F30}
html body.flow-page .hero-v2 .flow-art-caption{color:#25231F}
.hero-proof{font-size:13px;margin:18px 0 0;color:#625B52}
.hero-scene{position:absolute;z-index:1;right:calc(var(--gutter) - 6px);top:47%;transform:translateY(-50%);width:min(45vw,820px);aspect-ratio:16/11;pointer-events:none;container-type:inline-size;color:#25231F;line-height:1.3;font-style:normal}
.hero-scene :is(strong,b){font-weight:600;font-size:max(10px,2.25cqw)}
.hero-scene small{font-size:max(8.5px,1.75cqw);color:#625B52;font-weight:400;font-family:inherit;letter-spacing:0}
.hero-scene ul{list-style:none;margin:0;padding:0}
.hs-win{position:absolute;background:#FBF8F3;border:1.5px solid #25231F;border-radius:6px;box-shadow:0 44px 70px -38px rgba(37,35,31,.5),14px 14px 0 #00776E;overflow:hidden;box-sizing:border-box}
.hs-main{inset:0 7% 9% 0;display:flex;flex-direction:column}
.hs-pad{padding:5% 6%;gap:4%}
.hs-toast{position:absolute;left:30%;bottom:1%;display:flex;align-items:center;gap:9px;padding:11px 16px;border-radius:999px;background:#25231F;color:#F5F0E8;font:600 max(10.5px,1.75cqw)/1 inherit;font-family:inherit;box-shadow:0 18px 30px -16px rgba(37,35,31,.7);white-space:nowrap}
.hs-toast i{width:8px;height:8px;border-radius:50%;background:#22D3C5;flex:none}
.hs-line{display:block;height:5px;border-radius:3px;background:#25231F40}
.hs-type{display:inline-block;overflow:hidden;white-space:nowrap;width:calc(var(--n)*1ch);border-right:1.5px solid #00776E;font:500 max(10px,1.85cqw)/1.5 ui-monospace,Menlo,monospace}
.hs-search{display:flex;align-items:center;gap:10px;height:13%;min-height:30px;padding:0 4%;border:1.5px solid #25231F;border-radius:999px;background:#FBF8F3;flex:none}
.hs-search svg{width:max(12px,2.2cqw);height:max(12px,2.2cqw);flex:none}
.hs-search b{margin-left:auto;padding:.5em 1.1em;border-radius:999px;background:#00776E;color:#F5F0E8;font-size:max(9px,1.6cqw)}
.hs-rows{display:flex;flex-direction:column;gap:3.5cqw;flex:1;justify-content:center}
.hs-rows li{display:flex;align-items:center;gap:3%;padding:2.6% 3.5%;border-radius:6px;background:#F0EAE1;min-height:0}
.hs-rows li.is-on{background:#FBF8F3;box-shadow:inset 0 0 0 1.5px #00776E}
.hs-rows li em,.hs-chip{margin-left:auto;font-style:normal;font-weight:600;font-size:max(8.5px,1.6cqw);color:#00665E;background:#D9F2EE;padding:.35em .9em;border-radius:999px;white-space:nowrap}
.hs-rows li small{margin-left:auto;text-align:right}
.hs-rows{gap:2.2cqw}
/* website */
.hs-bar{display:flex;align-items:center;gap:7px;padding:11px 14px;border-bottom:1.5px solid #25231F;background:#F0EAE1;flex:none}
.hs-bar>i{width:9px;height:9px;border-radius:50%;border:1.5px solid #25231F}
.hs-url{flex:1;margin-left:10px;height:24px;border-radius:6px;background:#FBF8F3;border:1px solid #25231F40;display:flex;align-items:center;padding:0 12px}
.hs-page{flex:1;padding:4.5% 5.5%;display:flex;flex-direction:column;gap:6%}
.hs-nav{display:flex;align-items:center;gap:3%}
.hs-nav b{width:22px;height:22px;border-radius:50%;background:#25231F;margin-right:auto}
.hs-nav span{width:9%;height:5px;border-radius:3px;background:#25231F70}
.hs-nav u{width:13%;height:20px;border-radius:4px;background:#25231F}
.hs-cols{flex:1;display:grid;grid-template-columns:1.05fr 1fr;gap:6%;align-items:center}
.hs-copy{display:flex;flex-direction:column;gap:9px}
.hs-h{height:clamp(10px,2.6cqw,22px);border-radius:4px;background:#25231F}
.hs-p{height:5px;border-radius:3px;background:#25231F55}
.hs-p:first-of-type{margin-top:6px}
.hs-cta{align-self:flex-start;margin-top:10px;padding:0 16px;height:clamp(22px,4.6cqw,34px);border-radius:999px;background:#00776E;color:#F5F0E8;font-weight:700;font-size:max(8px,1.5cqw);display:flex;align-items:center}
.hs-img{position:relative;height:100%;min-height:60px;border-radius:6px;background:#00776E;overflow:hidden}
.hs-img i{position:absolute;bottom:0;background:#22D3C5;border-radius:3px 3px 0 0}
.hs-img i:nth-child(1){left:12%;width:16%;height:46%}.hs-img i:nth-child(2){left:32%;width:14%;height:78%;background:#F5F0E8}.hs-img i:nth-child(3){left:50%;width:18%;height:58%}.hs-img i:nth-child(4){left:72%;width:13%;height:34%;background:#00B3A4}
.hs-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:4%;height:17%}
.hs-cards div{border-radius:6px;background:#EBE4DA}
.hs-cursor{position:absolute;left:14%;top:70%;width:max(20px,4cqw);height:max(20px,4cqw);filter:drop-shadow(0 3px 4px rgba(37,35,31,.25))}
.hs-phone{position:absolute;right:0;bottom:0;width:19%;aspect-ratio:9/17.5;background:#FBF8F3;border:1.5px solid #25231F;border-radius:max(12px,2.4cqw);box-shadow:0 30px 50px -26px rgba(37,35,31,.55);padding:4.2cqw 1.8cqw 2cqw;display:flex;flex-direction:column;gap:1cqw;box-sizing:border-box}
.hs-phone .hs-notch{position:absolute;top:1cqw;left:50%;width:30%;height:max(3px,.7cqw);margin-left:-15%;border-radius:3px;background:#25231F}
.hs-phone .hs-h{height:max(5px,1.2cqw)}.hs-phone .hs-img{flex:1;min-height:0;margin-top:.7cqw}.hs-phone .hs-cta{align-self:stretch;height:max(12px,2.7cqw);margin-top:.5cqw;padding:0}
/* chat */
.hs-chat{gap:3.2%}
.hs-chat-top{display:flex;align-items:center;gap:9px;padding:3.2% 5%;border-bottom:1.5px solid #25231F;background:#F0EAE1;font-weight:600;font-size:max(10px,1.9cqw);flex:none}
.hs-chat-top i{width:9px;height:9px;border-radius:50%;background:#00B3A4}
.hs-b{margin:0 5%;padding:2.4% 3.6%;border-radius:6px;max-width:66%;font-size:max(9.5px,2cqw);line-height:1.35}
.hs-b.in{align-self:flex-start;background:#F0EAE1;border-bottom-left-radius:4px}
.hs-b.out{align-self:flex-end;background:#00776E;color:#F5F0E8;border-bottom-right-radius:4px}
.hs-chat .hs-chip{align-self:center;margin:auto 0 4%}
/* stair: automation flow and timeline */
.hs-stair::before{content:"";position:absolute;inset:12% 23% 20% 23%;background:linear-gradient(to bottom right,transparent calc(50% - 1px),#25231F66 calc(50% - 1px),#25231F66 calc(50% + 1px),transparent calc(50% + 1px))}
.hs-node{width:46%;padding:3.4% 4%;display:grid;grid-template-columns:auto 1fr;gap:0 3cqw;align-items:center;box-shadow:0 30px 50px -30px rgba(37,35,31,.5),8px 8px 0 #00776E}
.hs-node>i{grid-row:1/3;width:max(20px,5cqw);height:max(20px,5cqw);border-radius:50%;background:#00776E;display:grid;place-items:center}
.hs-node>i::after{content:"";width:38%;height:20%;border:solid #F5F0E8;border-width:0 0 2px 2px;transform:rotate(-45deg) translate(8%,-18%)}
.hs-node strong{font-size:max(11px,2.7cqw)}
.hs-node.is-year>i{display:none}.hs-node.is-year{grid-template-columns:1fr}.hs-node.is-year strong{font-size:max(18px,5.2cqw);font-weight:500;letter-spacing:-.03em;line-height:1.05}
.hs-node:nth-child(1){left:0;top:2%}.hs-node:nth-child(2){left:27%;top:36%}.hs-node:nth-child(3){left:54%;top:70%}
.hs-stair+.hs-toast{left:auto;right:0;top:7%;bottom:auto}
/* search */
.hs-ai{padding:3% 3.5%;border-radius:6px;background:#D9F2EE;display:flex;flex-direction:column;gap:1.2cqw}
.hs-ai small{color:#00665E;font-weight:600}
.hs-ai .hs-line{background:#00776E40}
.hs-src{align-self:flex-start;margin-top:.4cqw;padding:.3em .8em;border-radius:999px;background:#00776E;color:#F5F0E8;font:600 max(8.5px,1.55cqw)/1.4 ui-monospace,Menlo,monospace}
.hs-serp .hs-rows li{flex-direction:column;align-items:stretch;gap:1cqw}
/* brand */
.hs-brand{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:1fr auto;gap:4% 5%}
.hs-mark{border-radius:6px;background:#00776E;display:grid;place-items:center}
.hs-mark svg{width:46%}
.hs-aa{display:flex;flex-direction:column;justify-content:center;font-size:max(40px,15cqw);font-weight:500;letter-spacing:-.05em;line-height:.95}
.hs-sw{grid-column:1/-1;display:flex;gap:2.5%;height:max(22px,6cqw)}
.hs-sw i{flex:1;border-radius:6px;border:1.5px solid #25231F}
.hs-bcard{position:absolute;right:0;bottom:1%;width:38%;aspect-ratio:1.7;border-radius:6px;background:#25231F;padding:3.5%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;rotate:-6deg;box-shadow:0 30px 50px -24px rgba(37,35,31,.7)}
.hs-bcard svg{width:22%}
.hs-bcard .hs-line{background:#F5F0E880;height:4px}
.hs-brand~.hs-toast{left:6%}
/* status and mail */
.hs-top{display:flex;align-items:center;gap:10px;flex:none}
.hs-top>i{width:max(10px,2cqw);height:max(10px,2cqw);border-radius:50%;background:#00B3A4;box-shadow:0 0 0 5px #00B3A433}
.hs-top strong{font-size:max(12px,3cqw);letter-spacing:-.02em}
.hs-spark{flex:1;height:4px;border-radius:2px;margin:0 4%;background:linear-gradient(90deg,#00B3A4,#22D3C5)}
.hs-status .hs-rows li em{margin-left:0}
.hs-mail .hs-rows li{display:grid;grid-template-columns:auto 1fr;gap:0 3%;align-items:center}
.hs-mail .hs-rows li>i{grid-row:1/3;width:max(20px,4.6cqw);height:max(20px,4.6cqw);border-radius:50%;background:#25231F}
.hs-mail .hs-rows li.is-on>i{background:#00776E}
.hs-mail .hs-rows li small{margin:0;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-addr{font:500 max(10px,1.9cqw)/1.5 ui-monospace,Menlo,monospace;padding:.4em 1em;border-radius:999px;background:#F0EAE1;align-self:flex-start;flex:none}
/* map */
.hs-map{padding:0}
.hs-map svg{width:100%;height:100%;display:block}
.hs-pin{position:absolute;left:52%;top:45%;width:max(18px,3.6cqw);height:max(18px,3.6cqw);margin:-1.8cqw 0 0 -1.8cqw;border-radius:50%;background:#00776E;border:3px solid #F5F0E8;box-shadow:0 6px 14px rgba(37,35,31,.3)}
.hs-pin::after{content:"";position:absolute;inset:-3px;border-radius:50%;border:2px solid #00776E;opacity:0}
/* the load sequence */
.play .hs-main{animation:hs-rise .7s cubic-bezier(.2,.7,.2,1) both}
.play .hs-type{animation:hs-type calc(var(--n)*.07s) steps(var(--n)) .45s both}
.play .hs-a{animation:hs-up .55s cubic-bezier(.2,.7,.2,1) var(--d,0s) both}
.play .hs-el{animation:hs-in .35s ease-out var(--d) both,hs-fill .55s ease-out calc(var(--d) + 1.25s) both}
.play .hs-el :is(i,span){animation:hs-in .4s ease-out calc(var(--d) + 1.45s) both}
.play .hs-phone{animation:hs-rise .7s cubic-bezier(.2,.7,.2,1) 3.2s both}
.play .hs-cursor{animation:hs-cursor 1.2s cubic-bezier(.4,0,.2,1) 3.7s both}
.play .hs-cta.hs-el{animation:hs-in .35s ease-out var(--d) both,hs-fill .55s ease-out calc(var(--d) + 1.25s) both,hs-click .35s ease-out 4.9s}
.play .hs-toast{animation:hs-pop .5s cubic-bezier(.2,1.4,.3,1) var(--d,3.4s) both}
.play .hs-stair::before{animation:hs-wipe 2s ease-out .5s both}
.play .hs-pin{animation:hs-pop .5s cubic-bezier(.2,1.4,.3,1) 1.2s both}
.play .hs-pin::after{animation:hs-pulse 1.4s ease-out 1.8s 3}
.play .hs-map svg .hs-road{stroke-dasharray:1;stroke-dashoffset:0;animation:hs-draw 1.4s ease-out .3s both}
.play.hero-v2 h1 .l>span{animation:hs-line .9s cubic-bezier(.2,.7,.2,1) both}
.play.hero-v2 h1 .l:nth-child(2)>span{animation-delay:.12s}
.play.hero-v2 h1 .l:nth-child(3)>span{animation-delay:.24s}
@keyframes hs-rise{from{opacity:0;transform:translateY(34px)}}
@keyframes hs-up{from{opacity:0;transform:translateY(12px)}}
@keyframes hs-type{from{width:0}}
@keyframes hs-in{from{opacity:0}}
@keyframes hs-fill{from{background:transparent;color:transparent;outline:1.5px dashed #25231F66;outline-offset:-1.5px}}
@keyframes hs-cursor{from{left:62%;top:99%}}
@keyframes hs-click{50%{transform:scale(.93)}}
@keyframes hs-pop{from{opacity:0;transform:translateY(10px) scale(.9)}}
@keyframes hs-line{from{transform:translateY(108%)}}
@keyframes hs-wipe{from{clip-path:inset(0 100% 100% 0)}to{clip-path:inset(0)}}
@keyframes hs-pulse{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(3.2)}}
@keyframes hs-draw{from{stroke-dashoffset:1}}
html[data-signal-theme=dusk] body.flow-page .flow-hero.hero-v2{color:#F5F0E8}
html[data-signal-theme=dusk] .hero-v2::before{background:radial-gradient(42vw 42vw at var(--gx) var(--gy),rgba(34,211,197,.2),transparent 62%),#2D2924}
html[data-signal-theme=dusk] body.flow-page .hero-v2 .flow-index{border-color:#F5F0E830}
html[data-signal-theme=dusk] body.flow-page .hero-v2 .flow-art-caption{color:#F5F0E8}
html[data-signal-theme=dusk] .hero-proof{color:#D8CEC1}
html[data-signal-theme=dusk] .hs-win{box-shadow:0 44px 70px -38px #000,14px 14px 0 #22D3C5}
html[data-signal-theme=dusk] .hs-node{box-shadow:0 30px 50px -30px #000,8px 8px 0 #22D3C5}
html[data-signal-theme=dusk] .hs-stair::before{filter:invert(1)}
html[data-signal-theme=dusk] .hs-toast{background:#F5F0E8;color:#25231F}
html[data-signal-theme=dusk] .hs-toast i{background:#00776E}
@media(max-width:1000px){.hero-scene{width:44vw}}
@media(max-width:760px){
 .hero-scene{position:relative;order:1;right:auto;top:auto;transform:none;width:100%;margin:6px 0 30px}
 .hero-v2 .flow-hero-bottom{order:2}.hero-v2 .flow-index{order:3}
 html body.flow-page .flow-hero.hero-v2 h1{font-size:clamp(38px,11.4vw,72px);max-width:none;margin:22px 0 22px}
 .hs-win{border-radius:6px;box-shadow:0 30px 50px -30px rgba(37,35,31,.5),8px 8px 0 #00776E}
 .hs-node{box-shadow:0 20px 30px -20px rgba(37,35,31,.5),5px 5px 0 #00776E}
 .hs-toast{padding:9px 12px}.hs-main.hs-pad{padding-bottom:11%}.hs-chat .hs-chip{margin-bottom:9%}.hs-bar{padding:8px 10px}.hs-url{height:20px}
 .hs-nav b{width:16px;height:16px}.hs-nav u{height:14px}.hs-copy{gap:6px}
 .hero-v2::before{background:radial-gradient(110vw 110vw at 70% 55%,rgba(0,179,164,.24),transparent 62%),#F1EBE1}
 html[data-signal-theme=dusk] .hero-v2::before{background:radial-gradient(110vw 110vw at 70% 55%,rgba(34,211,197,.18),transparent 62%),#2D2924}}
@media(prefers-reduced-motion:reduce){.hero-v2,.hero-v2 *,.hero-v2 *::before,.hero-v2 *::after{animation:none!important;transition:none!important}}
html[data-motion=paused] .hero-v2 :is(*,*::before,*::after){animation:none!important}
/* Keep the text and button under the headline instead of pushed to the bottom of a tall hero. */
html body.flow-page .hero-v2 .flow-hero-bottom{margin-top:0}
html body.flow-page .hero-v2 .flow-index{margin-top:auto}
/* Desktop hero: the scene and its caption are centred together above the section index (60px).
   The scene is sized by width only (owner: it was too small on laptop screens); on short screens the hero grows taller. Caption block allowance: 110px. */
.hero-v2{--cap-gap:28px;--sw:min(45vw,820px);--blk:calc(var(--sw)*11/16 + var(--cap-gap) + 110px)}
.hero-v2:has(.hs-phone){--cap-gap:68px}
@media(max-width:1000px){.hero-v2{--sw:44vw}}
@media(min-width:761px){
 html body.flow-page .flow-hero.hero-v2{min-height:calc(var(--blk) + 260px)}
 html body.flow-page .hero-v2 .hero-scene{width:var(--sw);top:calc((100% - 60px - var(--blk))/2 + var(--sw)*11/32 + 20px)}
 html body.flow-page .hero-v2 .flow-hero-bottom{position:static}
 html body.flow-page .hero-v2 .flow-hero-bottom>div:last-child{z-index:2;position:absolute;right:var(--gutter);top:calc((100% - 60px - var(--blk))/2 + var(--sw)*11/16 + var(--cap-gap) + 20px);text-align:left}}
/* Share the spare height above and below the hero text, so it sits level with the scene. */
@media(min-width:761px){html body.flow-page .hero-v2>.flow-kicker{margin-top:auto}}
