/* 0.93: measured routes and readable sizes at every viewport. */
.platform-network{isolation:isolate}
.platform-routes{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible}
.platform-route,.platform-current{fill:none;stroke-linecap:round;stroke-linejoin:round}
.platform-route{stroke:#2e63ce59;stroke-width:1.5}
.platform-current{stroke:#2e63ce;stroke-width:2.6;stroke-dasharray:5 95;stroke-dashoffset:100;opacity:0}
.platform-current.return{stroke:#709339;stroke-dasharray:3 97}
.network-active .platform-current{opacity:1;animation:platform-delivery 5s var(--channel-delay,0s) linear infinite}
.network-active .platform-current.return{animation-direction:reverse;animation-duration:6s}
.platform-nodes{position:relative;z-index:1}
.platform-nodes>div{min-width:0}
.network-hub{margin-top:96px;z-index:1}
.network-hub::before{display:none}
@keyframes platform-delivery{to{stroke-dashoffset:-100}}
/* The artwork becomes part of the scene: every edge fades to the live backdrop.
   Keep the centre opaque so the logo and its lighting retain their detail. */
@media(min-width:1001px){
  .midnight-sculpture{
    inset:-2% 0 auto 0;width:100%;height:102%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 86%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 6%,#000 78%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 86%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 6%,#000 78%,transparent 100%);
    -webkit-mask-composite:source-in;
    mask-composite:intersect;
  }
}
@media(max-width:1000px){
  .midnight-sculpture{
    inset:0;width:100%;height:100%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 86%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 12%,#000 66%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0%,#000 12%,#000 86%,transparent 100%),linear-gradient(180deg,transparent 0%,#000 12%,#000 66%,transparent 100%);
    -webkit-mask-composite:source-in;
    mask-composite:intersect;
  }
}
@media(max-width:600px){
  .midnight-sculpture{height:auto;aspect-ratio:1.5}
}
@media(max-width:1050px){
  .flow-canvas{gap:64px 44px;padding:24px}
  .flow-routes{display:block}
  .flow-packet{display:flex}
  .flow-records{gap:20px}
  .flow-route{stroke:#acc8da75;stroke-width:1.6}
  .platform-network{padding:26px 30px}
  .platform-nodes{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
  .platform-nodes>div{padding:18px 12px}
  .network-hub{margin-top:84px}
}
@media(max-width:800px){
  .flow-records{gap:34px}
  .flow-agent,.flow-conversation{height:710px}
  .flow-canvas{gap:64px 40px}
}
@media(max-width:640px){
  .flow-canvas{padding:22px 24px;gap:64px}
  .flow-conversation{height:390px}
  .flow-agent{height:auto}
  .flow-message>p{font-size:13px;line-height:1.65}
  .flow-records{gap:34px}
  .flow-record-heading{flex-wrap:wrap;gap:8px}
  .flow-record-heading>span,.flow-record-heading>b{font-size:9px}
  .flow-timeline>button{min-height:72px}
  .flow-timeline>button>b{font-size:10px}
  .flow-control{min-height:40px;font-size:11px}
  .flow-packet{font-size:9px;padding:6px 8px}
  .flow-demo[data-flow-stage='3'] .flow-packet,
  .flow-demo[data-flow-stage='5'] .flow-packet{width:24px;height:24px;padding:5px;justify-content:center}
  .flow-demo[data-flow-stage='3'] .flow-packet span,
  .flow-demo[data-flow-stage='5'] .flow-packet span{display:none}
  .platform-network{padding:24px}
  .platform-nodes{gap:22px 14px}
  .platform-nodes>div{gap:8px;padding:15px 8px;min-height:60px}
  .platform-nodes .icon{width:20px;height:20px}
  .platform-nodes span{font-size:12px}
  .network-hub{display:grid;grid-template-columns:24px minmax(0,1fr);column-gap:10px;row-gap:4px;text-align:left;padding:15px 18px}
  .network-hub>img{grid-row:1/3;width:24px;height:24px}
  .network-hub>span{font-size:13px}
  .network-hub>b{grid-column:2;border:0;padding:0;font-size:10px}
  .wrap{min-width:0}
  .section-heading>*{min-width:0}
  .booking-copy h2{font-size:clamp(30px,8vw,36px)}
  .contact-inner h2{overflow-wrap:break-word}
  .midnight-copy .hero-actions{flex-wrap:wrap}
}
@media(max-width:360px){
  :root{--gutter:16px}
  .flow-canvas{padding-inline:21px}
  .flow-agent{padding:18px}
  .flow-record{padding:16px}
  .flow-estimate-amount{flex-wrap:wrap;gap:12px}
  .flow-estimate-amount>strong{margin-left:auto}
  .flow-timeline>button{padding-inline:5px}
  .flow-timeline>button>b{font-size:9px}
  .platform-network{padding-inline:22px}
  .platform-nodes>div{gap:6px;padding-inline:6px}
  .platform-nodes span{font-size:11px}
  .platform-nodes .icon{width:18px;height:18px}
}
@media(prefers-reduced-motion:reduce){
  .platform-current{display:none}
  .flow-packet{display:none}
}
html.motion-paused .platform-current{animation-play-state:paused}
