/* A right-hand pit-radio invitation, using the existing portfolio palette. */
#contact .contact-invite-row{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:center;gap:36px;text-align:left}
#contact .contact-invite-row h2{margin:0;font-size:clamp(54px,6.8vw,100px);line-height:1.02}
#contact .contact-say-hi{opacity:0;transform:translateY(16px) rotate(-8deg) scale(.9);transition:opacity 500ms ease,transform 700ms cubic-bezier(.22,1,.36,1);justify-self:center}
#contact .contact-say-hi.is-visible{opacity:1;transform:none}
#contact .contact-say-hi-link{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 20px;border:1px solid #ff766b;border-radius:14px;background:#ef3c34;color:#fff;font-size:18px;font-weight:700;box-shadow:0 10px 28px #0005;white-space:nowrap;text-decoration:none;transition:background .22s,transform .3s;animation:contactRadioFloat 3.8s ease-in-out infinite}
#contact .contact-say-hi-link::before{content:"";position:absolute;top:-17px;left:-18px;width:22px;height:24px;background:#ef3c34;clip-path:polygon(0 0,100% 38%,52% 54%,36% 100%);transform:rotate(-8deg);filter:drop-shadow(0 2px 2px #0008)}
#contact .contact-say-hi-link svg{width:22px;height:22px;flex-shrink:0}
#contact .contact-say-hi-link:hover{background:#ff4c43;transform:translateY(-3px);animation-play-state:paused}
#contact .contact-say-hi-link:active{transform:scale(.96)}
#contact .contact-say-hi-link:focus-visible{outline:2px solid #f4d35e;outline-offset:5px;animation-play-state:paused}
@keyframes contactRadioFloat{0%,100%{translate:0 0;rotate:-3deg}50%{translate:0 -8px;rotate:2deg}}
#contact .contact-invite-row+p{margin-top:30px}
@media(max-width:760px){#contact .contact-invite-row{grid-template-columns:minmax(0,1fr) 125px;gap:16px}#contact .contact-invite-row h2{font-size:clamp(38px,6.5vw,58px)}#contact .contact-say-hi-link{font-size:15px;padding:12px;gap:6px}#contact .contact-say-hi-link svg{width:18px;height:18px}}
@media(max-width:480px){#contact .contact-invite-row{grid-template-columns:1fr;text-align:center;gap:34px}#contact .contact-invite-row h2{font-size:clamp(38px,10vw,48px)}}
@media(prefers-reduced-motion:reduce){#contact .contact-say-hi{transition:none;transform:none}#contact .contact-say-hi-link{animation:none;transition:none}#contact .contact-say-hi-link:hover{transform:none}}

/* Keep the heading centered independently of the small right-hand callout. */
#contact .contact-invite-row{position:relative;display:block;text-align:center;padding-bottom:66px}
#contact .contact-invite-row h2{max-width:1000px;margin:0 auto;text-align:center}
#contact .contact-say-hi{position:absolute;right:20px;bottom:0}
#contact .contact-say-hi-link{font-size:14px;padding:10px 13px;gap:7px;border-radius:10px}
#contact .contact-say-hi-link svg{width:16px;height:16px}
#contact .contact-say-hi-link::before{width:17px;height:19px;top:-13px;left:-14px}
@media(max-width:480px){#contact .contact-say-hi{right:10px}#contact .contact-invite-row{padding-bottom:66px}}

/* Place the callout in the marked open space beside the upper heading. */
@media(min-width:1101px){#contact .contact-say-hi{top:22%;bottom:auto;right:clamp(60px,9vw,145px)}}

/* Tighten the space between the hiring heading and supporting sentence. */
@media(min-width:1101px){#contact .contact-invite-row{padding-bottom:0}}
#contact .contact-invite-row+p{margin-top:18px}

/* Match the portrait supporting note's translucent red background. */
#contact .contact-say-hi-link,#contact .contact-say-hi-link:hover{
background:rgba(239,60,52,.88);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}

/* Three small floating invitations around the centered hiring message. */
#contact .contact-prompt{position:absolute;bottom:auto;right:auto;z-index:2}
#contact .contact-prompt-1{left:0;top:30%}
#contact .contact-prompt-2{left:-7%;top:76%}
#contact .contact-prompt-3{left:auto;right:0;top:68%}
#contact .contact-prompt-link{font-size:14px;padding:11px 15px}
#contact .contact-prompt-1 .contact-say-hi-link{animation-delay:-.8s}
#contact .contact-prompt-2 .contact-say-hi-link{animation-delay:-2s;animation-duration:4.4s}
#contact .contact-prompt-3 .contact-say-hi-link{animation-delay:-1.5s;animation-duration:4.1s}
@media(min-width:1101px) and (max-width:1600px){#contact .contact-prompt-2{left:5%;top:79%}}
@media(max-width:760px){
 #contact .contact-invite-row{display:flex;flex-direction:column;align-items:center;gap:20px;padding-bottom:0}
 #contact .contact-say-hi,#contact .contact-prompt{position:relative;left:auto;right:auto;top:auto;bottom:auto}
 #contact .contact-prompt{display:inline-block}
}

/* Mirror only the first two prompt pointers onto their upper-right corners. */
#contact .contact-prompt-1 .contact-say-hi-link::before,
#contact .contact-prompt-2 .contact-say-hi-link::before{
left:auto;right:-14px;transform:scaleX(-1) rotate(-8deg)}

/* Keep all four invitation cursors anchored around the heading as desktop windows narrow. */
@media (min-width:761px) and (max-width:1100px) {
 #contact .contact-invite-row{display:block;position:relative;text-align:center;padding-bottom:0}
 #contact .contact-say-hi{position:absolute;left:auto;right:3%;top:22%;bottom:auto}
 #contact .contact-prompt{position:absolute;bottom:auto}
 #contact .contact-prompt-1{left:1%;right:auto;top:30%}
 #contact .contact-prompt-2{left:3%;right:auto;top:76%}
 #contact .contact-prompt-3{left:auto;right:1%;top:68%}
}
