.mas-scene02{width:min(100%,613px);margin:0;direction:ltr;position:relative;isolation:isolate}
        .mas-scene02::before{content:"";position:absolute;inset:14% 0 8%;z-index:-1;background:radial-gradient(ellipse,#cbdde570,transparent 70%);border-radius:50%}
        .mas-scene02>svg{display:block;width:100%;height:auto;aspect-ratio:18/19}
        .mas-scene02 .s02-code{font-family:"Courier New",monospace;font-size:18px;font-weight:600;font-variant-ligatures:none;letter-spacing:0;white-space:pre;direction:ltr;unicode-bidi:isolate;fill:#294a5e}
        .mas-scene02 .s02-line,.mas-scene02 .s02-line tspan{white-space:pre}
        .mas-scene02 .s02-line-numbers{font-family:"Courier New",monospace;font-size:9.5px;font-weight:400;text-anchor:end;fill:#6b899b}
        .mas-scene02 .s02-file-label{font-family:Arial,sans-serif;font-size:9px;letter-spacing:.6px;fill:#678596}
        .mas-scene02 .s02-edge-symbol{font-family:"Courier New",monospace;font-size:9px;fill:#ad9565;opacity:.75}
        .mas-scene02 .s02-keyword{fill:#36558f}
        .mas-scene02 .s02-string{fill:#80592c}
        .mas-scene02 .s02-function{fill:#21666e}
        .mas-scene02 .s02-property{fill:#416780}
        .mas-scene02 .s02-boolean,.mas-scene02 .s02-operator{fill:#7a4d87}
        .mas-scene02 .s02-punctuation{fill:#526e81}
        .mas-scene02 .s02-cursor{fill:#4e788e;opacity:.85;animation:s02-caret 1.4s steps(1,end) infinite;animation-play-state:paused}
        .mas-scene02[data-active=true] .s02-cursor{animation-play-state:running}
        @keyframes s02-caret{0%,58%{opacity:.85}59%,100%{opacity:0}}
        @media(max-width:800px){.mas-scene02{width:min(100%,560px)}}
        @media(prefers-reduced-motion:reduce){.mas-scene02 .s02-cursor{animation:none;opacity:.6}}

.mas-scene03{width:min(100%,613px);margin:0;direction:ltr;position:relative;isolation:isolate}
        .mas-scene03::before{content:"";position:absolute;inset:14% 0 8%;z-index:-1;background:radial-gradient(ellipse,#cbdde570,transparent 70%);border-radius:50%}
        .mas-scene03>svg{display:block;width:100%;height:auto;aspect-ratio:18/19}
        .mas-scene03 .s03-connections{fill:none;stroke:#8eafbf;stroke-width:1;stroke-linecap:round;stroke-linejoin:round}
        .mas-scene03 .s03-signal{fill:none;stroke:var(--signal,#629dbc);stroke-width:2;stroke-dasharray:2 98;stroke-dashoffset:100;stroke-linecap:round;animation:s03-transmit var(--duration,6s) linear infinite;animation-delay:var(--delay,0s);animation-play-state:paused}
        .mas-scene03 .s03-activity{animation:s03-process 6.4s ease-in-out infinite;animation-play-state:paused}
        .mas-scene03[data-active=true] .s03-signal,.mas-scene03[data-active=true] .s03-activity{animation-play-state:running}
        @keyframes s03-transmit{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
        @keyframes s03-process{0%,35%,72%,100%{opacity:.45}48%,58%{opacity:.9}}
        @media(max-width:800px){.mas-scene03{width:min(100%,560px)}}
        @media(prefers-reduced-motion:reduce){.mas-scene03 .s03-signal{animation:none;opacity:0}.mas-scene03 .s03-activity{animation:none;opacity:.6}}

.mas-scene04{width:min(100%,613px);margin:0;direction:ltr;position:relative;isolation:isolate}
        .mas-scene04::before{content:"";position:absolute;inset:14% 0 8%;z-index:-1;background:radial-gradient(ellipse,#cbdde570,transparent 70%);border-radius:50%}
        .mas-scene04>svg{display:block;width:100%;height:auto;aspect-ratio:18/19}
        .mas-scene04 .s04-cable-edge{fill:none;stroke:#eef8fc;stroke-width:5.2;stroke-linecap:round;stroke-linejoin:round}
        .mas-scene04 .s04-cable{fill:none;stroke:#527f99;stroke-width:2.9;stroke-linecap:round;stroke-linejoin:round}
        .mas-scene04 .s04-packet{fill:none;stroke:var(--packet,#258fbd);stroke-width:3.1;stroke-dasharray:9 91;stroke-linecap:round;animation:s04-flow var(--duration,4s) linear infinite;animation-delay:var(--delay,0s)}
        .mas-scene04 .s04-air-packet{fill:none;stroke:#4daace;stroke-width:1.9;stroke-dasharray:1.6 98.4;stroke-linecap:round;animation:s04-air-flow var(--duration,4.8s) linear infinite;animation-delay:var(--delay,0s)}
        .mas-scene04 .s04-radio-wave{fill:none;stroke:#5aafce;stroke-width:1.5;transform-box:fill-box;transform-origin:center;animation:s04-radio var(--duration,4.8s) ease-out infinite;animation-delay:var(--delay,0s)}
        .mas-scene04 .s04-led{fill:#548f78;opacity:.58;animation:s04-activity var(--duration,6s) ease-in-out infinite;animation-delay:var(--delay,0s)}
        .mas-scene04 .s04-firewall .s04-led{fill:#2c9d63;opacity:.8}
        .mas-scene04 .s04-motion{animation-play-state:paused}
        .mas-scene04[data-active=true] .s04-motion{animation-play-state:running}
        @keyframes s04-flow{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
        @keyframes s04-air-flow{0%{stroke-dashoffset:100;opacity:0}10%,84%{opacity:.85}100%{stroke-dashoffset:0;opacity:0}}
        @keyframes s04-radio{0%{transform:scale(.6);opacity:0}15%{opacity:.72}65%{opacity:.46}100%{transform:scale(1.65);opacity:0}}
        @keyframes s04-activity{0%,18%,39%,100%{opacity:.4}26%,30%{opacity:.95}}
        @media(max-width:800px){.mas-scene04{width:min(100%,560px)}}
        @media(prefers-reduced-motion:reduce){
          .mas-scene04 .s04-motion{animation:none}
          .mas-scene04 .s04-packet,.mas-scene04 .s04-air-packet{opacity:0}
          .mas-scene04 .s04-radio-wave{transform:scale(var(--rest-scale,1));opacity:.42}
          .mas-scene04 .s04-led{opacity:.58}
        }

/* A shared frame and halo retain the approved layout and SVG alignment. */
.home-introduction .intro-scene-stack{position:relative}
.home-introduction .intro-scene-layer{position:absolute;inset:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 400ms ease-in-out}
.home-introduction .intro-scene-layer:first-child{position:relative}
.home-introduction .intro-scene-layer[data-visible=true]{visibility:visible}
.home-introduction .intro-scene-layer[data-show=true]{opacity:1}
.home-introduction .intro-scenes-reset .intro-scene-layer{transition:none}
.home-introduction .home-introduction__visual.intro-scenes-reset .intro-scene-layer{transition:none}
.home-introduction .intro-scene-layer>figure{width:100%;height:100%;margin:0}
.home-introduction .intro-scene-layer>figure::before{content:none}
.home-introduction .home-introduction__visual .intro-scene-layer svg{transform:none;transition:none}
.home-introduction .intro-scene-nav{position:absolute;inset-inline:0;bottom:0;display:flex;justify-content:center;align-items:center;gap:2px;direction:ltr;z-index:2}
.home-introduction .intro-scene-nav button{width:32px;height:32px;border:0;padding:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#456a80;cursor:pointer}
.home-introduction .intro-scene-nav button:focus-visible{outline:2px solid #36566a;outline-offset:-3px}
.home-introduction .intro-scene-nav [data-scene-button] span{width:5px;height:5px;border-radius:50%;background:#9eb7c5;box-shadow:0 0 0 1px #f2f1eb}
.home-introduction .intro-scene-nav [aria-pressed=true] span{width:7px;height:7px;background:#40677e}
.home-introduction .intro-scene-nav .intro-scene-toggle{margin-inline-start:4px}
.home-introduction .home-introduction__visual .intro-scene-nav svg{width:10px;height:10px;aspect-ratio:auto;fill:currentColor;transform:none;transition:none}
.home-introduction [data-auto-enabled=true] .intro-scene-play,.home-introduction [data-auto-enabled=false] .intro-scene-pause{display:none}
.home-introduction .intro-scene-toggle:disabled{cursor:default;opacity:.35}
@media(prefers-reduced-motion:reduce){.home-introduction .intro-scene-layer{transition:none}}

/* Scene 04 grows upward from the frame's bottom center; artwork and controls stay contained. */
.home-introduction .intro-scene-layer[data-scene="4"]{overflow:clip}
.home-introduction .intro-scene-layer[data-scene="4"]>.mas-scene04{transform:scale(1.25);transform-origin:50% 100%}
