/* Gulf Storm Mode (surge protection page). One flash per run (well under 3 per second), reduced-motion shows the end state. */
html:not(.js) .storm-section{display:none}
.storm-section{background:#071018;color:#E8E4DA;padding:88px 0}
.storm{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
.storm .sec-label{color:#9fd0d6}
.storm h2{font-family:'Poppins',system-ui,sans-serif;font-weight:500;font-size:clamp(28px,3.4vw,40px);line-height:1.15;color:#F6F3EC;margin-bottom:14px}
.storm-lead{font-size:17px;line-height:1.55;color:#C9D3DA;margin-bottom:24px;max-width:46ch}
.storm-ctrls{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:18px}
.storm-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;width:100%}
.storm-toggle{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:10px;padding:10px 14px 10px 10px;border-radius:999px;border:1px solid rgba(232,228,218,.25);font-weight:600;font-size:15px;color:#F6F3EC}
.storm-toggle:focus-visible,.storm-go:focus-visible{outline:2px solid #E3A008;outline-offset:2px}
.storm-knob{position:relative;width:40px;height:22px;border-radius:999px;background:#5C656C;transition:background .2s}
.storm-knob::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#F6F3EC;transition:transform .2s}
.storm-toggle[aria-pressed="true"] .storm-knob{background:#3AA0A8}
.storm-toggle[aria-pressed="true"] .storm-knob::after{transform:translateX(18px)}
.storm-go{all:unset;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:999px;background:#E3A008;color:#071018;font-weight:700;font-size:15px;box-sizing:border-box}
.storm-go:hover{background:#C98C07}
.storm-go[disabled]{opacity:.55;cursor:default}
.storm-go--ac{background:#9fd0d6}
.storm-go--ac:hover{background:#7CC6CE}
.storm-cap{font-size:16px;line-height:1.55;color:#E8E4DA;min-height:4.7em}
.storm-cap b{color:#F6F3EC}
.storm-note{font-size:13px;line-height:1.5;color:#8A96A1;margin-top:10px}
.storm-scene{position:relative;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,#0B1F33 0%,#12283F 70%,#0B1F33 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
.storm-scene svg{display:block;width:100%;height:auto}
.storm-flash{position:absolute;inset:0;background:#F6F3EC;opacity:0;pointer-events:none}
.st-bolt{opacity:0}
.st-pulse{fill:none;stroke-width:5;stroke-linecap:round;stroke-dasharray:14 120;stroke-dashoffset:134;opacity:0}
.st-pulse--line{stroke:#E3A008}
.st-pulse--house{stroke:#F97316}
.st-pulse--ground{stroke:#3AA0A8}
.st-pulse--ac{stroke:#E3A008}
.st-fan{transform-box:view-box;transform-origin:251px 248px}
.st-spd{opacity:.25;transition:opacity .3s}
.storm.is-protected .st-spd{opacity:1}
.st-dev .st-screen{fill:#3AA0A8;transition:fill .3s}
.st-dev .st-x{opacity:0;transition:opacity .3s}
.storm.is-hit .st-dev .st-screen{fill:#7a2e10}
.storm.is-hit .st-dev .st-x{opacity:1}
.storm.is-safe .st-ground-glow{opacity:1}
.st-ground-glow{opacity:0;transition:opacity .4s}
.storm.is-run:not(.src-ac) .storm-flash{animation:st-flash .45s ease-out 1}
.storm.is-run:not(.src-ac) .st-bolt{animation:st-bolt .7s ease-out 1}
.storm.is-run:not(.src-ac) .st-pulse--line{animation:st-pulse .9s .25s linear 1 both}
.storm.is-run.src-ac .st-pulse--ac{animation:st-pulse .9s .25s linear 1 both}
.storm.is-run.src-ac .st-fan{animation:st-spin .5s linear 3}
.storm.is-run.src-ac .st-ac-box{animation:st-acglow 1.2s ease-out 1}
.storm.is-run:not(.is-protected) .st-pulse--house{animation:st-pulse .9s 1.1s linear 1 both}
.storm.is-run.is-protected .st-pulse--ground{animation:st-pulse .7s 1.1s linear 1 both}
@keyframes st-spin{to{transform:rotate(360deg)}}
@keyframes st-acglow{0%{stroke:#E3A008;stroke-width:3}100%{stroke:#8A96A1;stroke-width:1}}
@keyframes st-flash{0%{opacity:0}12%{opacity:.5}100%{opacity:0}}
@keyframes st-bolt{0%,60%{opacity:1}100%{opacity:0}}
@keyframes st-pulse{0%{opacity:1;stroke-dashoffset:134}95%{opacity:1}100%{opacity:0;stroke-dashoffset:0}}
@media (max-width:900px){.storm-section{padding:64px 0}.storm{grid-template-columns:1fr;gap:28px}}
@media (max-width:360px){.storm-actions{flex-direction:column;align-items:stretch}.storm-actions .storm-go{width:100%;text-align:center}}
@media (prefers-reduced-motion:reduce){
  .storm.is-run .storm-flash,.storm.is-run .st-bolt,.storm.is-run .st-pulse,.storm.is-run .st-fan,.storm.is-run .st-ac-box{animation:none}
  .st-spd,.st-dev .st-screen,.st-dev .st-x,.st-ground-glow,.storm-knob,.storm-knob::after{transition:none}
}
