.gyro-control[hidden],.gyro-status[hidden]{display:none!important}
.gyro-control{margin-top:15px;max-width:360px;position:relative;z-index:7}
.gyro-toggle{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 14px;border:1px solid #d8b47855;border-radius:24px;background:#201d16b8;backdrop-filter:blur(12px);color:#e4d7b9;font-size:13px;line-height:1.4;letter-spacing:.1px;touch-action:manipulation;box-shadow:inset 0 1px 0 #fff08;transition:background .2s,border-color .2s}
.gyro-toggle svg{width:19px;height:22px;flex:none;stroke:currentColor;stroke-width:1.5;fill:none;transform:rotate(-12deg)}
.gyro-toggle[aria-pressed="true"]{background:#b582352b;border-color:#e0b57599;color:#f4dfb4}
.gyro-toggle[aria-pressed="true"] svg{transform:rotate(12deg)}
.gyro-toggle:disabled{opacity:.65;cursor:default}
.gyro-control .gyro-status{font-size:12px;line-height:1.6;color:#d2c4a9;margin:10px 0 0;max-width:320px;text-shadow:0 1px 5px #000}
@media(max-width:760px){.hero:has(.gyro-control:not([hidden])){height:1030px}.gyro-control{margin-top:14px}.gyro-toggle{font-size:13px}}
@media(prefers-reduced-motion:reduce){.gyro-toggle,.gyro-toggle svg{transition:none;transform:none}}

/* A slow invitation to try tilt, with a quiet interval between sweeps. */
.gyro-toggle{position:relative;isolation:isolate;overflow:hidden}
.gyro-toggle>svg,.gyro-toggle>[data-gyro-label]{position:relative;z-index:1}
.gyro-toggle::before{content:"";position:absolute;inset:-25% -5%;pointer-events:none;background:linear-gradient(105deg,transparent 34%,#efca8520 46%,#ffe4ae55 50%,#efca8520 54%,transparent 66%);transform:translateX(-125%);opacity:0}
.gyro-toggle[aria-pressed="false"]:not(:disabled){animation:gyro-invite-glow 5.6s ease-in-out infinite}
.gyro-toggle[aria-pressed="false"]:not(:disabled)::before{animation:gyro-invite-sweep 5.6s ease-in-out infinite}
@keyframes gyro-invite-sweep{0%,10%{transform:translateX(-125%);opacity:0}14%{opacity:1}36%{transform:translateX(125%);opacity:1}40%,100%{transform:translateX(125%);opacity:0}}
@keyframes gyro-invite-glow{0%,45%,100%{box-shadow:inset 0 1px 0 #fff08,0 0 0 #e7b87800}22%{box-shadow:inset 0 1px 0 #fff08,0 0 15px #e7b87824}}
.gyro-toggle:focus-visible{outline:2px solid #e7b878;outline-offset:4px}
.gyro-toggle:focus-visible,body.motion-off .gyro-toggle{animation:none!important}
.gyro-toggle:focus-visible::before,body.motion-off .gyro-toggle::before{animation:none!important;opacity:0}
@media(hover:hover){.gyro-toggle:hover{animation:none!important}.gyro-toggle:hover::before{animation:none!important;opacity:0}}
@media(prefers-reduced-motion:reduce){.gyro-toggle,.gyro-toggle::before{animation:none!important}.gyro-toggle::before{opacity:0}}

/* Let the contact invitation share the same light, offset from the 3D button. */
:is(.hero-copy>.primary-button,.hero .contact-pill){position:relative;isolation:isolate;overflow:hidden;animation:gyro-invite-glow 5.6s ease-in-out -2.8s infinite}
:is(.hero-copy>.primary-button,.hero .contact-pill)::before{content:"";position:absolute;inset:-25% -5%;z-index:-1;pointer-events:none;background:linear-gradient(105deg,transparent 34%,#efca8520 46%,#ffe4ae55 50%,#efca8520 54%,transparent 66%);transform:translateX(-125%);opacity:0;animation:gyro-invite-sweep 5.6s ease-in-out -2.8s infinite}
:is(.hero-copy>.primary-button,.hero .contact-pill):focus-visible{outline:2px solid #e7b878;outline-offset:4px}
:is(.hero-copy>.primary-button,.hero .contact-pill):focus-visible,body.motion-off :is(.hero-copy>.primary-button,.hero .contact-pill){animation:none!important}
:is(.hero-copy>.primary-button,.hero .contact-pill):focus-visible::before,body.motion-off :is(.hero-copy>.primary-button,.hero .contact-pill)::before{animation:none!important;opacity:0}
@media(hover:hover){:is(.hero-copy>.primary-button,.hero .contact-pill):hover{animation:none!important}:is(.hero-copy>.primary-button,.hero .contact-pill):hover::before{animation:none!important;opacity:0}}
@media(prefers-reduced-motion:reduce){:is(.hero-copy>.primary-button,.hero .contact-pill),:is(.hero-copy>.primary-button,.hero .contact-pill)::before{animation:none!important}:is(.hero-copy>.primary-button,.hero .contact-pill)::before{opacity:0}}

/* Header invitation uses a separate phase so the accents stay calm. */
.hero .contact-pill,.hero .contact-pill::before{animation-delay:-1.4s}
.contact-details .contact-phone{display:flex;width:fit-content;align-items:center;gap:12px;font-size:24px;font-weight:600;line-height:1.4;letter-spacing:.2px;color:#ece1cd;white-space:nowrap;text-decoration:none;min-height:44px}
.contact-phone-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex:none;border:1px solid #d8b47866;border-radius:50%;background:#d4a35712;color:#e5bd81;transition:background .2s,border-color .2s}
.contact-phone-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.contact-details .contact-phone:hover{color:#ffd7a5}
.contact-phone:hover .contact-phone-icon{background:#d4a35728;border-color:#e5bd81}
.contact-details .contact-phone:focus-visible{outline:2px solid #e7b878;outline-offset:5px;border-radius:4px}
@media(max-width:760px){.contact-details .contact-phone{font-size:22px;gap:10px}.contact-phone-icon{width:34px;height:34px}}

/* A brief, gentle ring followed by a long quiet interval. */
.contact-phone-icon{position:relative}
.contact-phone-icon svg{transform-origin:center;animation:contact-phone-ring 7s ease-in-out infinite}
.contact-phone-icon::after{content:"";position:absolute;inset:-1px;border:1px solid #e7b878;border-radius:inherit;pointer-events:none;opacity:0;animation:contact-phone-pulse 7s ease-out infinite}
@keyframes contact-phone-ring{0%,4%,22%,100%{transform:rotate(0)}7%,15%{transform:rotate(-9deg)}11%,19%{transform:rotate(9deg)}}
@keyframes contact-phone-pulse{0%,4%{transform:scale(1);opacity:0}9%{opacity:.4}28%,100%{transform:scale(1.55);opacity:0}}
.contact-phone:focus-visible .contact-phone-icon svg,body.motion-off .contact-phone-icon svg{animation:none!important;transform:none}
.contact-phone:focus-visible .contact-phone-icon::after,body.motion-off .contact-phone-icon::after{animation:none!important;opacity:0}
@media(hover:hover){.contact-phone:hover .contact-phone-icon svg{animation:none!important;transform:none}.contact-phone:hover .contact-phone-icon::after{animation:none!important;opacity:0}}
@media(prefers-reduced-motion:reduce){.contact-phone-icon svg{animation:none!important;transform:none}.contact-phone-icon::after{animation:none!important;opacity:0}}
