/* A connected field of people, tools and stages — an illustration, not a workflow form. */
#contact.contact-connected{position:relative;isolation:isolate;background:linear-gradient(135deg,#182637 0%,#141c29 57%,#211f32 100%);padding-block:88px;color:#f1f5fb;overflow:hidden}
#contact.contact-connected::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle,#afc9ef12 1px,transparent 1.2px) 0 0/28px 28px;mask-image:linear-gradient(110deg,#000,transparent 75%);animation:none;will-change:auto}
#contact.contact-connected::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(380px circle at var(--contact-glow-x,50%) var(--contact-glow-y,50%),#8270db25,transparent 72%),radial-gradient(260px circle at var(--contact-glow-x,50%) var(--contact-glow-y,50%),#579dff14,transparent 75%);opacity:0;transition:opacity .5s ease;animation:none;will-change:auto}
#contact.contact-connected.has-contact-glow::after{opacity:1}
#contact.contact-connected .contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:104px;align-items:start}
#contact .contact-story{min-width:0}
#contact.contact-connected .contact-copy h2{font-size:42px;line-height:1.12;letter-spacing:-1.6px;margin:20px 0}
#contact.contact-connected .contact-copy h2 span{color:#9ab9ff}
#contact.contact-connected .contact-copy>p{max-width:460px;font-size:16px;line-height:1.65;color:#b6c2cf}
#contact.contact-connected .contact-form-panel{grid-column:auto;grid-row:auto;background:#1c2634;border:1px solid #ffffff21;padding:30px;border-radius:24px;backdrop-filter:none;-webkit-backdrop-filter:none}
#contact .contact-form-heading{margin-bottom:26px}
#contact .contact-form-heading h3{font-size:24px;line-height:1.25;font-weight:500;letter-spacing:-.5px;margin:0 0 10px;color:#f1f5fb}
#contact .contact-form-heading p{font-size:14px;line-height:1.6;color:#b6c2cf;margin:0}
#contact.contact-connected .form-field{margin-bottom:20px}
#contact.contact-connected .form-field input,#contact.contact-connected .form-field textarea{background:#141c28;border-color:#455165}
#contact.contact-connected .contact-channels{margin-top:28px;padding-top:26px;border-top:1px solid #ffffff21}
#contact .contact-channels h3{font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.4px;margin:0 0 18px;color:#edf3ff}
#contact.contact-connected .contact-channels .channel-icons{display:flex;flex-wrap:wrap;gap:14px 20px;margin:0}
#contact.contact-connected .contact-channels .channel-item{font-size:14px;gap:8px}
#contact .contact-constellation{position:relative;height:480px;margin:26px -16px -20px;pointer-events:none;isolation:isolate}
.constellation-wires{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1}
.constellation-thread{stroke:#9bb2cf;stroke-opacity:.28;stroke-width:1.2;stroke-dasharray:2 4;vector-effect:non-scaling-stroke}
.constellation-pulse{stroke:#adc8ff;stroke-opacity:.8;stroke-width:1.8;stroke-linecap:round;stroke-dasharray:7 93;vector-effect:non-scaling-stroke;animation:constellation-signal 15s linear infinite;animation-delay:var(--pulse-delay,0s);animation-play-state:paused}
.constellation-node{position:absolute;display:block;transform:translate(-50%,-50%)}
.constellation-token{display:flex;align-items:center;justify-content:center;animation:constellation-float 12s ease-in-out infinite alternate;animation-delay:var(--float-delay,0s);animation-play-state:paused}
.constellation-node.tool .constellation-token{width:52px;height:52px;border:1px solid #b5c7e23d;border-radius:21px;background:#1d2835}
.constellation-node.tool img{width:30px;height:30px;object-fit:contain}
.constellation-node.tool.mono img{filter:invert(1);opacity:.9}
.constellation-node.analytics img{filter:invert(68%) sepia(67%) saturate(774%) hue-rotate(349deg) brightness(104%)}
.constellation-node.person .constellation-token{width:56px;height:56px;border-radius:50%;border:2px solid #a5bbd94a;overflow:hidden;background:#26354b}
.constellation-node.person img{width:100%;height:100%;object-fit:cover}
.constellation-node.bubble .constellation-token{padding:9px 15px;border:1px solid #b7c8e342;border-radius:20px;background:#1c2634;color:#dce8f9;font-size:18px;line-height:1.2;font-weight:400;white-space:nowrap}
.contact-constellation.is-visible .constellation-token,.contact-constellation.is-visible .constellation-pulse{animation-play-state:running}
@keyframes constellation-signal{0%{stroke-dashoffset:100;opacity:0}8%{opacity:.7}35%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:0;opacity:0}}
@keyframes constellation-float{from{transform:translateY(-3px)}to{transform:translateY(3px)}}
@media(max-width:1100px){#contact.contact-connected .contact-layout{column-gap:64px}#contact.contact-connected .contact-copy h2{font-size:38px}#contact.contact-connected .contact-form-panel{padding:24px}.constellation-node.tool .constellation-token{width:46px;height:46px}.constellation-node.person .constellation-token{width:50px;height:50px}.constellation-node.bubble .constellation-token{font-size:17px;padding:9px 12px}}
@media(max-width:800px){#contact.contact-connected{padding-block:60px}#contact.contact-connected .contact-layout{grid-template-columns:1fr;gap:34px}#contact .contact-constellation{max-width:600px;margin:20px 0 0;height:430px}#contact.contact-connected .contact-copy h2{font-size:36px}}
@media(max-width:430px){#contact .contact-constellation{height:400px;margin-inline:0}.constellation-node.tool .constellation-token{width:40px;height:40px;border-radius:18px}.constellation-node.tool img{width:25px;height:25px}.constellation-node.person .constellation-token{width:44px;height:44px}.constellation-node.bubble .constellation-token{font-size:16px;padding:8px 10px}#contact.contact-connected .contact-form-panel{padding:24px 20px}#contact .contact-channels h3{font-size:21px}}
@media(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce){#contact.contact-connected::after{display:none}}
@media(prefers-reduced-motion:reduce){.constellation-token,.constellation-pulse{animation:none!important}.constellation-pulse{display:none}}

/* Spacious illustration, isolated portrait styles, paired identity fields. */
#contact .contact-constellation{height:600px;margin-top:60px;margin-bottom:-8px}
.constellation-node.person{width:auto;height:auto;border:0;border-radius:0;background:none;overflow:visible}
.constellation-node.person .constellation-token{padding:0;flex-shrink:0}
.constellation-node.person img{display:block;object-position:50% 45%;border-radius:0;margin:0;padding:0}
#contact .contact-identity-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
#contact .contact-identity-row .form-field{min-width:0}
@media(max-width:800px){#contact .contact-constellation{height:500px;margin-top:44px;margin-bottom:0}}
@media(max-width:500px){#contact .contact-identity-row{grid-template-columns:1fr;gap:0}#contact .contact-constellation{height:460px;margin-top:40px}}
@media(min-width:1101px){.constellation-node.tool .constellation-token{width:58px;height:58px}.constellation-node.tool img{width:34px;height:34px}.constellation-node.person .constellation-token{width:64px;height:64px}.constellation-node.bubble .constellation-token{font-size:20px;padding:10px 16px}}
/* Let the illustration fill the same grid row as the form, without measuring on scroll. */
@media(min-width:801px){
 #contact.contact-connected .contact-layout{align-items:stretch}
 #contact .contact-story{display:flex;flex-direction:column;min-height:0}
 #contact .contact-copy{flex:0 0 auto}
 #contact .contact-constellation{flex:1 1 340px;min-height:340px;height:auto;margin-bottom:0}
}
.constellation-pulse{stroke:#b4cfff;stroke-width:2.6;stroke-opacity:1;stroke-dasharray:12 88;animation-name:constellation-signal-clear;animation-duration:8s}
.constellation-pulse:nth-of-type(4n){stroke:#c9adff}
@keyframes constellation-signal-clear{0%{stroke-dashoffset:100;opacity:0}5%{opacity:1}58%{opacity:1}72%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:0;opacity:0}}

/* Smaller satellite tools complement the larger people and stage bubbles. */
.constellation-node.tool.support-tool .constellation-token{width:44px;height:44px;border-radius:19px;background:#1b2632}
.constellation-node.tool.support-tool img{width:27px;height:27px}
@media(max-width:430px){.constellation-node.tool.support-tool .constellation-token{width:32px;height:32px;border-radius:16px}.constellation-node.tool.support-tool img{width:20px;height:20px}}
/* Short electrical signals, paused by the existing visibility controller. */
.constellation-pulse{stroke:#e8dcff;stroke-width:2.5;stroke-dasharray:8 92;filter:drop-shadow(0 0 3px #b179ff) drop-shadow(0 0 7px #8b5cf6);animation-name:constellation-electric;animation-duration:2.4s;animation-timing-function:linear}
@keyframes constellation-electric{0%{stroke-dashoffset:100;opacity:0}4%{opacity:1}12%{opacity:.65}16%{opacity:1}45%{opacity:.85}55%{stroke-dashoffset:0;opacity:0}100%{stroke-dashoffset:0;opacity:0}}
.electric-ray{fill:none;stroke-linecap:round;pointer-events:none;filter:drop-shadow(0 0 2px #bf8aff) drop-shadow(0 0 5px #864cff)}
@media(prefers-reduced-motion:reduce){.electric-ray{display:none}}
