/* Kinetic layer: visible signals, depth and distinct section interactions.
   Layout, typography and content remain in style.css. */

/* Compact command bar. The sticky slot keeps its height while its surface settles. */
.site-header, .site-header.is-scrolled { isolation: isolate; background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.site-header::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, #081328eb, #0a1930ce 55%, #08152ce8); border-bottom: 1px solid #5da1c82d; backdrop-filter: blur(16px); transform-origin: 50% 0; transition: transform .35s ease, background .35s, border-color .35s, box-shadow .35s; pointer-events: none; }
.site-header.is-scrolled::before { transform: scaleY(.92); background: linear-gradient(110deg, #09182af7, #0a1b32ef 55%, #09182af7); border-bottom-color: #6cbbd752; box-shadow: 0 9px 30px #020a183b; }
.site-header .header-inner { position: relative; gap: 20px; transition: transform .35s ease; }
.site-header.is-scrolled .header-inner { transform: translateY(-3px); }
.site-header::after { content: ''; position: absolute; z-index: 2; left: 22%; bottom: 0; width: 95px; height: 1px; background: linear-gradient(90deg, transparent, #8cf5ff 82%, transparent); box-shadow: 0 0 8px #39d8ef99; opacity: 0; pointer-events: none; animation: header-border-signal 8s ease-in-out infinite; transition: bottom .35s; }
.site-header.is-scrolled::after { bottom: 7px; }

/* The image stays still; only a small signal makes an orbit on interaction. */
.brand-mark { position: relative; display: block; width: 46px; height: 46px; flex-shrink: 0; transition: transform .35s ease; }
.brand-mark img { width: 100%; height: 100%; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled .brand-mark { transform: scale(.94); }
.brand-mark::before { content: ''; position: absolute; inset: -5px; border: 1px solid #65e6f263; border-radius: 50%; opacity: 0; transition: opacity .3s; pointer-events: none; }
.brand-orbit { position: absolute; inset: -6px; border-radius: 50%; opacity: 0; pointer-events: none; }
.brand-orbit::before { content: ''; position: absolute; left: calc(50% - 2px); top: -1px; width: 4px; height: 4px; border-radius: 50%; background: #bdffff; box-shadow: 0 0 7px #4ee8ed, 0 0 15px #4ee8ed88; }
.brand:is(:hover, :focus-visible) .brand-mark::before { opacity: .8; }
.brand:is(:hover, :focus-visible) .brand-mark img { border-color: #79e9ef; box-shadow: 0 0 18px #37d2e833; }
.brand:is(:hover, :focus-visible) .brand-orbit { animation: brand-orbit-signal .85s ease-out both; }

/* One glass capsule and one shared active marker, positioned by main.js. */
.primary-navigation { position: relative; isolation: isolate; gap: 2px; padding: 5px; border: 1px solid #75b9d83b; border-radius: 999px; background: radial-gradient(ellipse at 40% 0, #4488a822, transparent 68%), linear-gradient(110deg, #12243bc7, #0d2036c9); box-shadow: inset 0 1px 0 #c6f5ff0d, 0 6px 22px #020b1c21; }
.primary-navigation .nav-link { position: relative; z-index: 1; display: block; overflow: hidden; padding: 10px 11px; border-radius: 999px; font-size: .8rem; line-height: 1.6; color: #bdcfe3; transition: color .25s, text-shadow .25s; }
.primary-navigation .nav-link[aria-current="location"] { color: #e0ffff; text-shadow: 0 0 15px #60ebf346; }
.primary-navigation .nav-link:is(:hover, :focus-visible) { color: #abf4fb; }
.primary-navigation .nav-link:focus-visible { outline: 2px solid #9af6fd; outline-offset: 3px; }
.nav-active-indicator { position: absolute; z-index: 0; top: 0; left: 0; width: var(--nav-width, 0px); height: var(--nav-height, 0px); border: 1px solid #60ddea73; border-radius: 999px; background: linear-gradient(110deg, #1a536773, #24557b42); box-shadow: inset 0 1px 0 #aefaff21, 0 0 16px #30bad713; transform: translate3d(var(--nav-x, 0px), var(--nav-y, 0px), 0); opacity: 0; pointer-events: none; transition: transform .38s cubic-bezier(.22,.75,.18,1), width .38s cubic-bezier(.22,.75,.18,1), height .3s, opacity .22s; }
.has-active-section .nav-active-indicator { opacity: 1; }
.nav-active-indicator::after { content: ''; position: absolute; bottom: -1px; left: 25%; right: 25%; height: 1px; background: linear-gradient(90deg, transparent, #a5ffff, transparent); box-shadow: 0 0 6px #57e7ef70; }
.primary-navigation .nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: linear-gradient(90deg, transparent 45%, #3cc9e128 67%, #85f6ff 91%, transparent); opacity: 0; transform: translateX(-105%); pointer-events: none; }
.primary-navigation .nav-link:is(:hover, :focus-visible)::after { animation: nav-hover-signal .4s ease-out both; }

/* A short charge and the existing shared magnetic scheduler reinforce the CTA. */
.header-cta { overflow: hidden; flex-shrink: 0; gap: 13px; padding-inline: 17px; color: #dbfcff; border-color: #60c9dc73; background: linear-gradient(110deg, #1b4b627a, #1b385b9e); box-shadow: inset 0 1px 0 #c7ffff1c, 0 4px 17px #0c355522; }
.header-cta::before { content: ''; position: absolute; z-index: -1; inset: -30% -15%; background: linear-gradient(100deg, transparent 28%, #8df5f82e 50%, transparent 72%); transform: translateX(-110%); transition: transform .6s ease-out; pointer-events: none; }
.header-cta::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #a6ffff, transparent); transform: scaleX(0); transform-origin: left; transition: transform .4s ease-out; pointer-events: none; }
.header-cta:is(:hover, :focus-visible) { color: #efffff; border-color: #8bedf2; background: #214e68; box-shadow: inset 0 1px 0 #d7ffff26, 0 0 25px #24cae526; }
.header-cta:is(:hover, :focus-visible)::before { transform: translateX(110%); }
.header-cta:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.header-cta:is(:hover, :focus-visible) > span[aria-hidden] { transform: translate(3px, -2px); }

@keyframes header-border-signal { 0%, 12% { transform: translateX(0); opacity: 0; } 16% { opacity: .65; } 33% { transform: translateX(min(44vw, 620px)); opacity: .6; } 38%, 100% { transform: translateX(min(44vw, 620px)); opacity: 0; } }
@keyframes brand-orbit-signal { 0% { transform: rotate(-25deg); opacity: 0; } 15% { opacity: 1; } 75% { opacity: .9; } 100% { transform: rotate(270deg); opacity: 0; } }
@keyframes nav-hover-signal { 0% { transform: translateX(-105%); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateX(105%); opacity: 0; } }
@keyframes menu-energy-entry { 0% { transform: scaleY(0); opacity: 0; } 20% { opacity: .9; } 80% { transform: scaleY(1); opacity: .7; } 100% { transform: scaleY(1); opacity: 0; } }

@media (min-width: 1101px) and (max-width: 1200px) {
    .site-header .header-inner { gap: 15px; }
    .primary-navigation .nav-link { padding-inline: 9px; font-size: .77rem; }
    .header-cta { padding-inline: 14px; gap: 10px; font-size: .81rem; }
}
@media (max-width: 1100px) {
    .site-header::after { animation: none; }
    .primary-navigation { border-radius: 16px; gap: 4px; }
    .primary-navigation .nav-link { padding: 10px 13px; font-size: .9rem; }
    .js .menu-toggle { border-color: #69c5df5c; background: linear-gradient(130deg, #15334e, #102338); border-radius: 12px; box-shadow: inset 0 1px 0 #b1f4ff0d; transition: background .25s, border-color .25s; }
    .js .menu-toggle:is(:hover, :focus-visible), .is-open .menu-toggle { border-color: #76e6ef9c; background: #19415a; }
    .menu-toggle span { transition: transform .3s cubic-bezier(.22,.75,.18,1); }
    .js .primary-navigation { inset: calc(100% - 4px) 16px auto; max-height: calc(100dvh - var(--header-height) - 26px); padding: 17px 15px 19px 25px; gap: 5px; border: 1px solid #79c3dc5a; border-radius: 18px; background: radial-gradient(ellipse at 0 0, #22526988, transparent 70%), linear-gradient(140deg, #0d2339fa, #0b182cfb); box-shadow: inset 0 1px 0 #cffbff17, 0 25px 50px #0108178c; backdrop-filter: blur(22px); transform: translateY(-8px) scale(.985); transform-origin: 50% 0; transition: opacity .25s ease, transform .3s cubic-bezier(.22,.75,.18,1), visibility .3s; }
    .js .primary-navigation::before, .js .primary-navigation::after { content: ''; position: absolute; left: 13px; top: 23px; bottom: 24px; width: 1px; border-radius: 1px; pointer-events: none; }
    .js .primary-navigation::before { background: linear-gradient(transparent, #4686a344 15%, #4686a344 85%, transparent); }
    .js .primary-navigation::after { background: linear-gradient(transparent, #9affff 70%, transparent); box-shadow: 0 0 10px #50deec70; opacity: 0; transform: scaleY(0); transform-origin: top; }
    .js .primary-navigation .nav-link { --nav-order: 0; padding: 14px 18px; min-height: 52px; border: 0; border-radius: 11px; font-size: .96rem; line-height: 1.5; opacity: 0; transform: translateY(7px); transition: color .25s, opacity .25s, transform .3s; }
    .js .primary-navigation .nav-link:nth-of-type(2) { --nav-order: 1; }
    .js .primary-navigation .nav-link:nth-of-type(3) { --nav-order: 2; }
    .js .primary-navigation .nav-link:nth-of-type(4) { --nav-order: 3; }
    .js .primary-navigation .nav-link:nth-of-type(5) { --nav-order: 4; }
    .js .primary-navigation .nav-link:nth-of-type(6) { --nav-order: 5; }
    .js .site-header.is-open .primary-navigation { transform: translateY(0) scale(1); }
    .js .site-header.is-open .primary-navigation .nav-link { opacity: 1; transform: none; transition-delay: 0s, calc(var(--nav-order) * .035s), calc(var(--nav-order) * .035s); }
    .js .site-header.is-open .primary-navigation::after { animation: menu-energy-entry .8s .08s ease-out both; }
    .nav-active-indicator { border-radius: 11px; background: linear-gradient(90deg, #22647569, #244b732b); border-color: #5cd6e650; }
    .nav-active-indicator::after { left: -1px; top: 25%; bottom: 25%; right: auto; width: 2px; height: auto; background: #9af7fa; box-shadow: 0 0 10px #59e3ef66; }
    html:not(.js) .nav-active-indicator { display: none; }
}
@media (max-width: 650px) {
    .brand-mark { width: 41px; height: 41px; }
    .js .primary-navigation { inset-inline: 12px; }
}

/* Hero: independent rotations and depth layers. */
.hero { --depth-x: 0px; --depth-y: 0px; }
.hero-visual { contain: layout style; }
.hero [data-depth], [data-depth-scene] [data-depth] { translate: var(--depth-x, 0px) var(--depth-y, 0px); }
.orbit-layer-outer { animation-duration: 26s; }
.orbit-layer-inner { animation-duration: 17s; }
.orbital-system { animation-duration: 14s; }
.orbit-data-lines { animation-duration: 8s; opacity: .65; }
.orbit-glow { animation-duration: 5.6s; }
.hero::before { animation-duration: 12s; }
.signal-track { fill: none; stroke: #49cce4; stroke-width: .9; opacity: .27; }
.hero-signal-paths { opacity: .7; }
.transfer-receiver { fill: #71edfa; fill-opacity: calc(.05 + var(--receive-light, 0) * .35); stroke: #adffff; stroke-width: 1; opacity: calc(.2 + var(--receive-light, 0) * .8); }
.fx-pulse { opacity: 0; pointer-events: none; }
.fx-pulse .pulse-halo { fill: #24dbea; opacity: .23; }
.fx-pulse .pulse-core { fill: #cbffff; }
.network-link { stroke: #53b5dd; stroke-width: .9; opacity: .12; animation: network-link-live 5.3s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.network-node { fill: #6ce7f4; opacity: .45; animation: network-node-live 4.4s ease-in-out infinite; animation-delay: var(--delay, 0s); }
.network-link:nth-child(2n) { animation-duration: 7.1s; animation-delay: -2s; }
.network-node:nth-child(3n) { animation-delay: -1.7s; }
.network-node:nth-child(3n + 1) { animation-delay: -.6s; }
.code-core { isolation: isolate; }
.code-core::before { content: ''; position: absolute; z-index: -1; inset: 1px; border-radius: inherit; background: radial-gradient(ellipse at 40% 30%, #5ce8e953, transparent 75%); animation: core-energy 5.6s ease-in-out infinite; pointer-events: none; }
.code-core::after { content: ''; position: absolute; z-index: -1; inset: -1px; border-radius: inherit; border: 1px solid #adffff; box-shadow: 0 0 27px #4eeef264, inset 0 0 15px #54e3f12b; opacity: .2; animation: core-edge 5.6s ease-in-out infinite; pointer-events: none; }
.core-wave { position: absolute; z-index: -2; width: 160%; height: 160%; left: -30%; top: -30%; border: 1px solid #71eaf7; border-radius: 50%; opacity: 0; pointer-events: none; animation: core-transmit 5.6s ease-out infinite; }
.float-panel-code { animation: panel-code-live 7.4s ease-in-out infinite; }
.float-panel-system { animation: panel-system-live 8.6s ease-in-out infinite; animation-delay: -1.1s; }
.hero-module-map { animation: panel-map-live 6.8s ease-in-out infinite; animation-delay: -.8s; }
.hero-module-analytics { animation: panel-analytics-live 7.9s ease-in-out infinite; animation-delay: -2.3s; }
.hero-node-stack { animation: node-stack-live 8.2s ease-in-out infinite; }
.module-pulse { display: inline-block; margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: network-node-live 3.8s ease-in-out infinite; }
.hero-sweep { position: absolute; z-index: 5; inset: -4%; overflow: hidden; pointer-events: none; border-radius: 45%; }
.hero-sweep::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(110deg, transparent 43%, #67e9f000 46%, #78ecff16 50%, #67e9f000 54%, transparent 57%); transform: translateX(-100%); animation: hero-light-sweep 9.5s ease-in-out infinite; }
.hero .gradient-text { background-size: 210% 100%; animation: headline-light 11s ease-in-out infinite; }

/* Pointer light and scroll rail never intercept input. */
.global-light { position: fixed; z-index: 42; width: 600px; height: 600px; top: 0; left: 0; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, #3aceef17, #358af90d 40%, transparent 70%); opacity: 0; transition: opacity .5s; contain: strict; }
.global-light { transform: translate3d(calc(var(--light-x, 0px) - 300px), calc(var(--light-y, 0px) - 300px), 0); }
.global-light.is-active { opacity: 1; }
.scroll-energy { position: fixed; z-index: 39; right: 18px; top: calc(50% - 140px); width: 3px; height: 280px; pointer-events: none; background: linear-gradient(transparent, #539fc45a 15%, #539fc45a 85%, transparent); }
.scroll-energy-particle { position: absolute; left: -1.5px; top: calc(var(--scroll-progress, 0) * 100%); width: 6px; height: 6px; border-radius: 50%; background: #b1faff; box-shadow: 0 0 7px #43dbef, 0 0 19px #43dbef88; translate: 0 -50%; }
.scroll-energy > span:not(.scroll-energy-particle) { position: absolute; left: -3px; width: 9px; height: 1px; background: #5d9cbd5c; }
[data-magnetic] { translate: var(--magnet-x, 0px) var(--magnet-y, 0px); transition: translate .18s ease-out, transform .25s, border-color .25s, background .25s, box-shadow .25s; }
[data-magnetic] > span[aria-hidden] { translate: calc(var(--magnet-x, 0px) * .3) calc(var(--magnet-y, 0px) * .3); }

/* Energy gates mark only the four important section entrances. */
[data-energy-gate] { position: relative; }
.section-heading[data-energy-gate]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -20px; height: 1px; background: linear-gradient(90deg, transparent, #66e9f2 48%, transparent); transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.section-heading.gate-entered::after { animation: energy-gate-line .9s ease-out both; }
.section-heading.gate-entered > div:first-child { animation: energy-gate-content .8s cubic-bezier(.16,.7,.2,1) both; }
.section-heading.gate-entered > p { animation: energy-gate-content .8s .12s cubic-bezier(.16,.7,.2,1) backwards; }

/* Holographic stages and scanners. Image text remains visible in full. */
.product-art { contain: layout style; }
.product-data-pattern { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: #62d5ec; opacity: .13; pointer-events: none; animation: product-data-drift 13s ease-in-out infinite alternate; }
.product-water .product-data-pattern { animation-duration: 11s; animation-direction: alternate-reverse; }
.product-classifieds .product-data-pattern { animation-duration: 15s; }
.product-scan { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 22%; background: linear-gradient(transparent, #6ef5ef09 70%, #84faff24 97%, #abffff8c); border-bottom: 1px solid #a1faff9c; pointer-events: none; transform: translateY(-110%); opacity: 0; }
.showcase-entered .product-scan { animation: product-scan-entry 2s .3s ease-in-out both; }
@media (hover: hover) and (pointer: fine) {
    .showcase-entered:hover .product-scan { animation: product-scan-hover 2.2s ease-in-out both; }
}
.product-art.showcase-entered { animation: stage-edge-arrive 1.1s ease-out; }
.product-art .poster-wrap { transform-origin: 50% 90%; }
.product-art.showcase-entered .poster-wrap { animation: hologram-arrive 1s cubic-bezier(.2,.65,.15,1) backwards; }
.product-art:hover { border-color: #91e9f3a8; box-shadow: inset 0 1px 0 #dcffff33, 0 30px 65px #020b2277, 0 0 55px rgb(var(--stage-rgb) / 15%); }
.product-art .poster-wrap::after { background: radial-gradient(ellipse at var(--pointer-x, 35%) var(--pointer-y, 20%), #b4ffff16, transparent 48%), linear-gradient(110deg, transparent 42%, #e7fbff25 49%, transparent 57%); }
.product-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; position: relative; z-index: 2; margin-top: 24px; }
.product-badges > span { --badge-delay: .3s; --float-duration: 6.2s; padding: 6px 10px; border: 1px solid #88d6e75c; border-radius: 7px; background: linear-gradient(125deg, #204a60e8, #183b58eb); box-shadow: inset 0 1px 0 #ceffff16, 0 8px 18px #00142e44; color: #c2f3fc; font-size: .77rem; line-height: 1.5; white-space: nowrap; }
.product-badges > span:nth-child(2) { --badge-delay: .43s; --float-duration: 7.5s; }
.product-badges > span:nth-child(3) { --badge-delay: .56s; --float-duration: 6.8s; }
.showcase-entered .product-badges > span { animation: badge-arrive .6s var(--badge-delay) ease-out backwards, badge-live var(--float-duration) 1.2s ease-in-out infinite; }

/* Digital project wall: small pulses travel the frame, not a spinning neon fill. */
.featured-project .border-track { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; color: #81f7ff; pointer-events: none; overflow: visible; }
.border-track rect { fill: none; stroke: currentColor; stroke-width: .27; stroke-dasharray: 9 291; stroke-dashoffset: 22; opacity: 0; animation: border-signal 7.2s linear infinite; }
.ministry-project .border-track rect { animation-duration: 8.7s; animation-delay: -3.4s; }
.featured-project:hover .border-track rect { animation-duration: 4.5s; }
.project-link::after { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background-image: linear-gradient(#67b4d417 1px, transparent 1px), linear-gradient(90deg, #67b4d417 1px, transparent 1px); background-size: 25px 25px; opacity: .08; transition: opacity .35s; pointer-events: none; }
.project-link:hover::after { opacity: 1; }
.project-link:hover > div > span { color: #89f0fa; text-shadow: 0 0 14px #27ceea3d; }
.project-link:hover > span { transform: translate(5px, -3px); }
.featured-project:hover .project-domain { color: #c4ffff; }
.heritage-points circle { animation: network-node-live 5s ease-in-out infinite; }
.heritage-points circle:nth-child(2n) { animation-delay: -2.5s; }

/* One-time 150+ impact, with no extra statistics. */
.proof-number, .portfolio-total { position: relative; isolation: isolate; }
.proof-number::after, .portfolio-total::after { content: ''; position: absolute; z-index: -1; inset: -35% -15%; background: radial-gradient(ellipse, #39dceb40, transparent 68%); opacity: 0; pointer-events: none; }
.impact-entered::after { animation: count-impact 1.1s ease-out both; }
.proof-number::before, .portfolio-total::before { content: ''; position: absolute; left: 0; right: 0; bottom: -13px; height: 1px; background: linear-gradient(90deg, transparent, #7ef5ff, transparent); opacity: 0; transform-origin: left; }
.impact-entered::before { animation: impact-line 1s ease-out both; }

/* Individual development: a small, keyboard-accessible constellation. */
.custom-symbol { display: block; width: 100%; min-height: 260px; padding: 0; align-self: center; }
.constellation { position: relative; width: 100%; height: 270px; }
.constellation-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: #4eb5d7; }
.constellation-lines line, .constellation-lines path { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .3; transition: opacity .3s, stroke .3s; }
.constellation a { position: absolute; display: block; padding: 7px 10px; min-height: 37px; border: 1px solid #598ca97a; border-radius: 7px; background: #112f47ed; color: #b5e7f2; font-size: .74rem; line-height: 1.5; white-space: nowrap; translate: -50% -50%; transition: border-color .25s, background .25s, box-shadow .25s, color .25s; }
.constellation a:nth-of-type(1) { left: 50%; top: 47%; font-size: .95rem; padding: 13px 18px; border-color: #56d6e5a1; background: #15506ae8; }
.constellation a:nth-of-type(2) { left: 25%; top: 10%; }
.constellation a:nth-of-type(3) { left: 76%; top: 18%; }
.constellation a:nth-of-type(4) { left: 12%; top: 43%; }
.constellation a:nth-of-type(5) { left: 82%; top: 58%; }
.constellation a:nth-of-type(6) { left: 28%; top: 79%; }
.constellation a:nth-of-type(7) { left: 69%; top: 98%; }
.constellation:has(a[data-node="1"]:is(:hover, :focus-visible)) [data-link],
.constellation:has(a[data-node="2"]:is(:hover, :focus-visible)) [data-link="2"],
.constellation:has(a[data-node="3"]:is(:hover, :focus-visible)) [data-link="3"],
.constellation:has(a[data-node="4"]:is(:hover, :focus-visible)) [data-link="4"],
.constellation:has(a[data-node="5"]:is(:hover, :focus-visible)) [data-link="5"],
.constellation:has(a[data-node="6"]:is(:hover, :focus-visible)) [data-link="6"],
.constellation:has(a[data-node="7"]:is(:hover, :focus-visible)) [data-link="7"] { stroke: #8cf0f5; opacity: .8; }
.constellation:has(a:hover) a, .constellation:has(a:focus-visible) a { border-color: #5bd9e97a; color: #d1f8ff; }
.constellation a:hover, .constellation a:focus-visible { background: #1e5b70; border-color: #89f6fa; box-shadow: 0 0 25px #39dbea2b; }

/* System diagnostics use abstract activity, never invented metrics. */
.diagnostic-line { display: block; position: relative; overflow: hidden; width: 100%; height: 2px; margin-top: 25px; background: #5fa4c321; }
.diagnostic-line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #8bffff 60%, transparent); transform: translateX(-100%); opacity: 0; }
.diagnostic-entered .diagnostic-line::after { animation: diagnostic-check 1.15s .2s ease-out both; }
.principle:nth-child(2n).diagnostic-entered .diagnostic-line::after { animation-delay: .4s; }

/* Data streams connect the large sections. */
.data-divider { position: relative; height: 1px; width: min(var(--container), calc(100% - 88px)); margin-inline: auto; background: linear-gradient(90deg, transparent, #5590b742 25%, #5590b742 75%, transparent); pointer-events: none; overflow: hidden; }
.data-divider::after { content: ''; position: absolute; left: -10%; width: 12%; top: 0; bottom: 0; background: linear-gradient(90deg, transparent, #aaffff 85%, transparent); box-shadow: 0 0 7px #54ddeb; animation: divider-transfer 8.5s ease-in-out infinite; }
.data-divider:nth-of-type(2n)::after { animation-delay: -3s; animation-duration: 10s; }

/* Final CTA: a second orbital scene and a single arrival wave. */
.contact-panel::after { animation-duration: 13s; }
.contact-orbit { animation: reactor-orbit 24s linear infinite; }
.contact-network-orbits { transform-origin: 620px 330px; animation: reactor-network-orbit 30s ease-in-out infinite alternate; }
.contact-panel.gate-entered > h2 { animation: energy-gate-content .8s .25s cubic-bezier(.2,.7,.2,1) both; }
.contact-panel.reactor-entered .contact-orbit { animation: reactor-arrival 1.5s ease-out, reactor-orbit 24s 1.5s linear infinite; }

@keyframes network-link-live { 0%, 100% { opacity: .07; } 22%, 52% { opacity: .5; } 72% { opacity: .1; } }
@keyframes network-node-live { 0%, 100% { opacity: .28; } 20% { opacity: 1; } 48% { opacity: .45; } }
@keyframes core-energy { 0%, 100% { opacity: .45; transform: scale(.98); } 38% { opacity: 1; transform: scale(1.04); } 70% { opacity: .7; } }
@keyframes core-edge { 0%, 100% { opacity: .16; } 24% { opacity: .75; } 55% { opacity: .3; } }
@keyframes core-transmit { 0%, 12% { opacity: 0; transform: scale(.56); } 17% { opacity: .36; } 48%, 100% { opacity: 0; transform: scale(1.85); } }
@keyframes panel-code-live { 0%, 100% { transform: translate(0, 0) rotate(-5deg); } 50% { transform: translate(4px, -11px) rotate(-3deg); } }
@keyframes panel-system-live { 0%, 100% { transform: translate(0, 0) rotate(5deg); } 50% { transform: translate(-5px, 8px) rotate(3deg); } }
@keyframes panel-map-live { 0%, 100% { transform: translate(0, 0) rotate(-7deg); } 50% { transform: translate(-4px, -9px) rotate(-4deg); } }
@keyframes panel-analytics-live { 0%, 100% { transform: translate(0, 0) rotate(7deg); } 50% { transform: translate(4px, 10px) rotate(4deg); } }
@keyframes node-stack-live { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes hero-light-sweep { 0%, 30% { transform: translateX(-85%); opacity: 0; } 36% { opacity: 1; } 57% { transform: translateX(85%); opacity: 1; } 62%, 100% { transform: translateX(85%); opacity: 0; } }
@keyframes headline-light { 0%, 100% { background-position: 0 50%; } 40%, 65% { background-position: 80% 50%; } }
@keyframes energy-gate-line { 0% { opacity: 0; transform: scaleX(0); } 20% { opacity: .8; } 80% { transform: scaleX(1); opacity: .6; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes energy-gate-content { from { clip-path: inset(0 100% 0 0); opacity: .2; } to { clip-path: inset(0); opacity: 1; } }
@keyframes product-data-drift { to { transform: translate(8px, -9px) scale(1.04); opacity: .19; } }
@keyframes product-scan-entry { 0% { transform: translateY(-110%); opacity: 0; } 14% { opacity: .75; } 86% { opacity: .6; } 100% { transform: translateY(560%); opacity: 0; } }
@keyframes product-scan-hover { 0% { transform: translateY(-110%); opacity: 0; } 14% { opacity: .75; } 86% { opacity: .6; } 100% { transform: translateY(560%); opacity: 0; } }
@keyframes stage-edge-arrive { 0% { border-color: #5ce8ee18; } 45% { border-color: #aaffffbf; } 100% { border-color: rgb(var(--stage-rgb) / 42%); } }
@keyframes hologram-arrive { from { opacity: .4; transform: perspective(1000px) translateY(20px) rotateX(6deg) scale(.965); } to { opacity: 1; } }
@keyframes badge-arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; } }
@keyframes badge-live { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes border-signal { 0%, 18% { stroke-dashoffset: 16; opacity: 0; } 24% { opacity: .8; } 75% { opacity: .65; } 82%, 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes count-impact { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: .85; } 100% { opacity: 0; transform: scale(1.3); } }
@keyframes impact-line { 0% { opacity: 0; transform: scaleX(0); } 35% { opacity: .8; } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes diagnostic-check { 0% { transform: translateX(-100%); opacity: 0; } 20% { opacity: .8; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes divider-transfer { 0%, 20% { transform: translateX(0); opacity: 0; } 25% { opacity: .8; } 70%, 100% { transform: translateX(1000%); opacity: 0; } }
@keyframes reactor-orbit { to { rotate: 360deg; } }
@keyframes reactor-network-orbit { to { transform: rotate(8deg); } }
@keyframes reactor-arrival { 0% { transform: scale(.82); opacity: .3; } 65% { opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes reactor-entry-light { 0% { opacity: 0; } 35% { opacity: .85; } 100% { opacity: 0; } }

/* Lower scenes: engineering diagnostics, SAF identity and the final signal.
   All continuous motion is CSS-only and shares the existing scene pause rules. */
.advantages-section > .container { position: relative; isolation: isolate; }
.diagnostics-network { position: absolute; z-index: -1; inset: 80px -10px 0; width: calc(100% + 20px); height: calc(100% - 80px); pointer-events: none; opacity: .46; }
.engineering-links { stroke: #5badd1; stroke-width: 1; opacity: .2; }
.engineering-links path { animation: engineering-connection 8.7s ease-in-out infinite; }
.engineering-links path:nth-child(2) { animation-delay: -3.1s; }
.engineering-links path:nth-child(3) { animation-delay: -5.8s; }
.engineering-data { stroke: #96f4ff; stroke-width: 2.8; stroke-linecap: round; stroke-dasharray: .8 99.2; }
.engineering-data path { animation: lower-signal-travel 9.6s linear infinite; }
.engineering-data path:nth-child(2) { animation-duration: 12s; animation-delay: -4.4s; }
.engineering-data path:nth-child(3) { animation-duration: 10.7s; animation-delay: -7s; }
.engineering-junctions { fill: #71deec; opacity: .5; }
.principles-grid { position: relative; z-index: 1; }
.principle { isolation: isolate; transition: background .3s, box-shadow .3s; }
.principle:hover { background: #1d466a35; box-shadow: inset 0 0 38px #389eca09; }
.principle::after { content: ''; position: absolute; z-index: -1; inset: 0; padding: 1px; pointer-events: none; background: radial-gradient(190px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #8beef594, transparent 78%); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.principle:hover::after { opacity: 1; }
.principle .principle-top { min-height: 60px; justify-content: flex-start; margin-bottom: 26px; }
.engineering-indicator { width: 166px; height: 60px; color: #68d9ec; overflow: visible; transition: filter .3s, color .3s; }
.principle:hover .engineering-indicator { color: #a4f7ff; filter: drop-shadow(0 0 4px #5adfeb35); }
.engineering-indicator path, .engineering-indicator rect, .engineering-indicator circle { vector-effect: non-scaling-stroke; }
.indicator-base { stroke: currentColor; stroke-width: 1.5; opacity: .42; }
.indicator-guide { stroke: #547d9a; stroke-width: 1; opacity: .3; }
.speed-signal, .workflow-signal, .control-signal, .shield-signal { stroke: #b3fbff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12 88; animation: lower-signal-travel 3.4s linear infinite; }
.growth-levels rect { stroke: currentColor; stroke-width: 1.2; fill: #389eca20; transform-box: fill-box; transform-origin: center bottom; animation: engineering-growth 4.9s ease-in-out infinite; }
.growth-levels rect:nth-child(2) { animation-delay: -.6s; }
.growth-levels rect:nth-child(3) { animation-delay: -1.2s; }
.growth-levels rect:nth-child(4) { animation-delay: -1.8s; }
.growth-link { stroke: #8adcea; stroke-width: 1; stroke-dasharray: 5 6; opacity: .36; }
.shield-outline { opacity: .65; }
.shield-verification { stroke: #9df5f5; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; animation: engineering-verify 5.4s ease-in-out infinite; }
.shield-signal { animation-duration: 5.4s; }
.device-outline { stroke: #6ddbed; stroke-width: 1.4; animation: engineering-device 6s ease-in-out infinite; }
.device-tablet { animation-delay: -2s; }
.device-phone { animation-delay: -4s; }
.workflow-signal { animation-duration: 4.6s; }
.workflow-nodes { fill: #102d43; stroke: #70dceb; stroke-width: 1.3; }
.workflow-nodes circle { animation: engineering-node 4.6s ease-in-out infinite; }
.workflow-nodes circle:nth-child(2n) { animation-delay: -1.2s; }
.workflow-nodes circle:nth-child(3n) { animation-delay: -2.6s; }
.control-knobs { fill: #123a50; stroke: #95eff5; stroke-width: 1.5; }
.control-knobs circle { animation: engineering-control 5.2s ease-in-out infinite alternate; }
.control-knobs circle:nth-child(2) { animation-duration: 4.4s; animation-direction: alternate-reverse; }
.control-knobs circle:nth-child(3) { animation-duration: 6.1s; animation-delay: -1.7s; }
.control-signal { animation-duration: 5.7s; stroke-width: 1.2; }
.principle:hover .diagnostic-line::after { animation: lower-diagnostic-hover .8s ease-out both; }

/* The wordmark remains real text; a narrow mask traces its existing outline. */
.about-section { position: relative; isolation: isolate; background: radial-gradient(ellipse at 18% 50%, #10375025, transparent 48%); }
.about-grid { position: relative; }
.about-brand { position: relative; min-width: 0; }
.identity-stage { position: relative; min-height: 292px; isolation: isolate; display: flex; flex-direction: column; justify-content: center; padding: 35px 0 48px; overflow: hidden; }
.identity-stage::before { content: ''; position: absolute; z-index: -1; inset: 5%; background: radial-gradient(ellipse, #1fb6cf15, transparent 70%); pointer-events: none; }
.identity-network { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: #5ac6dc; pointer-events: none; }
.identity-orbits { stroke: currentColor; stroke-width: .8; opacity: .28; }
.identity-orbits ellipse:first-child { transform-origin: 225px 158px; animation: identity-orbit 22s linear infinite; }
.identity-orbits circle { stroke-dasharray: 2 10; opacity: .55; }
.identity-routes { stroke: currentColor; stroke-width: 1; opacity: .35; }
.identity-network-nodes { fill: #98f0f5; opacity: .68; }
.identity-network-nodes circle { animation: engineering-node 5.8s ease-in-out infinite; }
.identity-network-nodes circle:nth-child(2n) { animation-delay: -2.4s; }
.identity-route-signal { stroke: #b3faff; stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 1.5 98.5; animation: lower-signal-travel 9.4s linear infinite; opacity: .75; }
.identity-stage .about-wordmark { position: relative; z-index: 1; width: fit-content; margin-top: 0; line-height: 1; }
.identity-stage .about-wordmark::after { content: 'SAF'; position: absolute; inset: 0 auto auto 0; color: transparent; -webkit-text-stroke: 1px #b4faff; text-shadow: 0 0 14px #6bdeed20; pointer-events: none; mask-image: linear-gradient(105deg, transparent 40%, #000 50%, transparent 60%); mask-size: 300% 100%; mask-repeat: no-repeat; animation: identity-trace 8.4s ease-in-out infinite; }
.identity-tags { position: absolute; left: 4px; right: 0; bottom: 20px; display: flex; gap: 22px; color: #709fb8; font: .64rem/1.4 Consolas, monospace; letter-spacing: .1em; }
.identity-tags span { animation: identity-tag-float 6.4s ease-in-out infinite; }
.identity-tags span:nth-child(2) { animation-delay: -2s; animation-duration: 7.2s; }
.identity-tags span:nth-child(3) { animation-delay: -4s; animation-duration: 5.8s; }
.identity-tags span:first-child { color: #a0c9d6; }
.identity-scan { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 38px; pointer-events: none; opacity: 0; border-top: 1px solid #79eaf78f; background: linear-gradient(#47dff011, transparent); }
.identity-entered .identity-scan { animation: identity-arrival 1.15s .1s ease-out both; }
.about-brand .about-location { margin-top: 7px; }
.identity-transfer { position: absolute; left: 36%; top: 45%; width: 10%; height: 76px; pointer-events: none; color: #58a7c7; }
.identity-transfer > path:first-child { stroke: currentColor; stroke-width: .8; opacity: .28; }
.identity-stream { stroke: #9cf0f6; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 3 97; opacity: .64; animation: lower-signal-travel 10.8s linear infinite; }
.about-section [data-depth] { translate: var(--depth-x, 0px) var(--depth-y, 0px); }

/* Footer: one signal arrives at the brand, then fades back into a quiet surface. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .14; background-image: linear-gradient(#37678742 1px, transparent 1px), linear-gradient(90deg, #37678742 1px, transparent 1px); background-size: 92px 46px; mask-image: linear-gradient(90deg, #000, transparent 76%); }
.footer-data-line { position: absolute; top: 0; left: 0; right: 0; height: 1px; overflow: hidden; background: linear-gradient(90deg, #66bcd729, #6bb2d210, transparent); pointer-events: none; }
.footer-data-line > span { position: absolute; left: 0; top: 0; width: 18%; height: 1px; background: linear-gradient(90deg, transparent, #beffff 12%, #5bd6ec8c 23%, transparent); opacity: 0; animation: footer-final-signal 11s ease-out infinite; }
.footer-data-line > i { position: absolute; top: 0; left: 28%; width: 3px; height: 1px; background: #70d5e666; }
.footer-data-line > i:last-child { left: 67%; }
.footer-brand { position: relative; isolation: isolate; }
.footer-brand::before { content: ''; position: absolute; z-index: -1; inset: -16px -25px -16px -15px; border-radius: 50%; background: radial-gradient(ellipse at 25% 50%, #4adeeb2f, transparent 65%); opacity: 0; animation: footer-brand-arrival 11s ease-out infinite; pointer-events: none; }
.footer-logo-halo { position: absolute; top: 50%; left: -4px; width: 52px; height: 52px; margin-top: -26px; border: 1px solid #87e9f700; border-radius: 15px; transition: border-color .25s, box-shadow .25s; pointer-events: none; }
.footer-logo-halo::after { content: ''; position: absolute; top: -2px; left: 24px; width: 4px; height: 4px; border-radius: 50%; background: #bcffff; box-shadow: 0 0 7px #51d6ed99; transform-origin: 2px 28px; opacity: 0; }
.footer-brand:is(:hover, :focus-visible) .footer-logo-halo { border-color: #87e9f780; box-shadow: 0 0 19px #4bdaeb1f; }
.footer-brand:is(:hover, :focus-visible) .footer-logo-halo::after { animation: footer-logo-orbit .85s ease-out both; }
.footer-brand .brand-name { transition: color .25s; }
.footer-brand:is(:hover, :focus-visible) .brand-name { color: #c5fbff; }
.energy-return { position: relative; isolation: isolate; overflow: visible; transition: border-color .25s, background .25s; }
.energy-return > span { transition: transform .25s; }
.return-ring { position: absolute; inset: -5px; width: 48px; height: 48px; max-width: none; pointer-events: none; }
.return-ring circle { stroke: #99f3ff; stroke-width: 1; stroke-dasharray: 28 72; stroke-dashoffset: 100; opacity: 0; }
.energy-return::before { content: ''; position: absolute; z-index: -1; inset: 3px; border-radius: 50%; background: linear-gradient(0deg, transparent 15%, #64ebf533 50%, transparent 85%); opacity: 0; pointer-events: none; }
.energy-return:is(:hover, :focus-visible) { border-color: #85e3ee; background: #173d504d; }
.energy-return:is(:hover, :focus-visible) > span { transform: translateY(-3px); }
.energy-return:is(:hover, :focus-visible) .return-ring circle { animation: energy-return-ring .7s ease-out both; }
.energy-return:is(:hover, :focus-visible)::before { animation: energy-return-light .6s ease-out both; }

@keyframes lower-signal-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes engineering-connection { 0%, 18%, 72%, 100% { opacity: .2; } 35%, 55% { opacity: .8; } }
@keyframes engineering-growth { 0%, 100% { transform: scaleY(.82); opacity: .45; } 50% { transform: scaleY(1); opacity: .95; } }
@keyframes engineering-verify { 0%, 18% { stroke-dashoffset: 100; opacity: .3; } 42%, 72% { stroke-dashoffset: 0; opacity: 1; } 92%, 100% { stroke-dashoffset: 0; opacity: .3; } }
@keyframes engineering-device { 0%, 58%, 100% { opacity: .3; } 20%, 38% { opacity: 1; } }
@keyframes engineering-node { 0%, 65%, 100% { opacity: .45; } 28%, 42% { opacity: 1; } }
@keyframes engineering-control { from { transform: translateX(-9px); } to { transform: translateX(14px); } }
@keyframes lower-diagnostic-hover { 0% { opacity: 0; transform: translateX(-100%); } 22% { opacity: .95; } 100% { opacity: 0; transform: translateX(100%); } }
@keyframes identity-tag-float { 0%, 100% { transform: translateY(1px); } 50% { transform: translateY(-3px); } }
@keyframes identity-orbit { to { transform: rotate(360deg); } }
@keyframes identity-trace { 0%, 14% { mask-position: 160% 0; opacity: 0; } 18% { opacity: 1; } 38% { mask-position: -65% 0; opacity: 1; } 45%, 100% { mask-position: -65% 0; opacity: 0; } }
@keyframes identity-arrival { 0% { opacity: 0; transform: translateY(0); } 22% { opacity: .8; } 100% { opacity: 0; transform: translateY(285px); } }
@keyframes footer-final-signal { 0%, 6% { opacity: 0; transform: translateX(520%); } 9% { opacity: .75; } 34% { opacity: .8; transform: translateX(0); } 39%, 100% { opacity: 0; transform: translateX(-100%); } }
@keyframes footer-brand-arrival { 0%, 29%, 51%, 100% { opacity: 0; } 36%, 41% { opacity: 1; } }
@keyframes footer-logo-orbit { 0% { transform: rotate(-35deg); opacity: 0; } 20% { opacity: 1; } 85% { opacity: 1; } 100% { transform: rotate(210deg); opacity: 0; } }
@keyframes energy-return-ring { 0% { stroke-dashoffset: 100; opacity: 0; } 20% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: .3; } }
@keyframes energy-return-light { 0% { transform: translateY(8px); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(-7px); opacity: 0; } }

@media (max-width: 850px) {
    .diagnostics-network, .identity-transfer { display: none; }
    .identity-tags span { animation: none; }
    .identity-stage { min-height: 255px; max-width: 430px; }
    .identity-network { opacity: .75; }
    .identity-orbits ellipse:first-child, .identity-network-nodes circle, .identity-route-signal, .growth-levels rect, .workflow-nodes circle, .control-knobs circle { animation: none; }
    .engineering-indicator { width: 148px; height: 54px; }
    .about-section [data-depth] { translate: none !important; }
}
@media (max-width: 650px) {
    .principle .principle-top { min-height: 52px; margin-bottom: 22px; }
    .identity-stage { min-height: 230px; padding-top: 28px; padding-bottom: 46px; }
    .identity-tags { font-size: .6rem; gap: 20px; }
    .identity-stage .about-wordmark { margin-top: 0; }
    .footer-logo-halo { width: 48px; height: 48px; margin-top: -24px; }
}
@media (hover: none), (pointer: coarse) {
    .about-section [data-depth] { translate: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .engineering-data, .identity-route-signal, .identity-stream, .identity-scan, .footer-data-line > span, .footer-logo-halo::after { display: none !important; }
    .about-section [data-depth] { translate: none !important; }
    .identity-stage .about-wordmark::after { display: none; }
    .engineering-indicator *, .identity-network *, .footer-brand::before { animation: none !important; }
    .growth-levels rect, .device-outline, .workflow-nodes circle, .shield-verification { opacity: .8; }
    .shield-verification { stroke-dashoffset: 0; }
}
@media print {
    .diagnostics-network, .identity-network, .identity-tags, .identity-transfer, .identity-scan, .footer-data-line, .footer-logo-halo, .engineering-indicator { display: none !important; }
    .identity-stage { min-height: 0; padding: 0; }
}

/* Lower sections hand a signal from one system to the next. */
.energy-transfer { position: relative; width: min(var(--container), calc(100% - 88px)); height: 64px; margin-inline: auto; color: #65d5e9; pointer-events: none; contain: layout style; }
.energy-transfer svg { width: 100%; height: 100%; overflow: visible; }
.transfer-bend, .transfer-branches { height: 80px; }
.transfer-track { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .26; }
.transfer-nodes { fill: #8be9ef; opacity: .52; }
.transfer-entry-path { stroke: #b9ffff; stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 14 86; stroke-dashoffset: 14; opacity: 0; }
.transfer-entered .transfer-entry-path { animation: section-handoff 1.7s .15s ease-out both; }
.transfer-entered .transfer-nodes { animation: handoff-nodes 1.8s .35s ease-out; }
.project-link { overflow: hidden; }
.project-link:hover, .project-link:focus-visible { animation: project-border-charge .48s ease-out; }
.project-link:hover::after, .project-link:focus-visible::after { mask-image: radial-gradient(180px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #000, transparent); }
/* Reactor entry finishes once; the spotlight and ambient scene remain live. */
.contact-panel.reactor-entered::before { background: radial-gradient(440px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), #68e6f225, transparent 75%); animation: none; }
.contact-entry-glow { position: absolute; z-index: -1; inset: -20%; pointer-events: none; background: radial-gradient(ellipse at 50% 35%, #58ebfb60, transparent 62%); opacity: 0; }
.reactor-entered .contact-entry-glow { animation: reactor-entry-light 1.8s ease-out both; }
.contact-entry-line { position: absolute; left: 30%; top: 53px; width: 40%; height: 1px; background: linear-gradient(90deg, transparent, #aaffff, transparent); opacity: 0; transform: scaleX(0); transform-origin: center; pointer-events: none; }
.reactor-entered .contact-entry-line { animation: reactor-title-signal .85s ease-out both; }
.contact-network { opacity: .66; }
.contact-network-nodes circle { --node-delay: .05s; }
.contact-network-nodes circle:nth-child(2) { --node-delay: .16s; }
.contact-network-nodes circle:nth-child(3) { --node-delay: .27s; }
.contact-network-nodes circle:nth-child(4) { --node-delay: .38s; }
.contact-network-nodes circle:nth-child(5) { --node-delay: .49s; }
.contact-network-nodes circle:nth-child(6) { --node-delay: .6s; }
.contact-network-nodes circle:nth-child(7) { --node-delay: .71s; }
.contact-network-nodes circle:nth-child(8) { --node-delay: .82s; }
.reactor-entered .contact-network-nodes circle { animation: reactor-node-ignite .85s var(--node-delay) both, network-node-live 4.5s calc(1.4s + var(--node-delay)) ease-in-out infinite; }
.contact-orbit::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: conic-gradient(from 45deg, transparent 0 18%, #79f8fc99 20%, transparent 23% 62%, #4289ed88 66%, transparent 71%); mask: radial-gradient(closest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); }
.contact-panel .button { overflow: hidden; }
.contact-panel .button:hover, .contact-panel .button:focus-visible { border-color: #b7ffff; box-shadow: 0 0 0 1px #82f5fc24, 0 12px 35px #2bcada35; }
.contact-panel .button-primary:focus-visible::before { transform: translateX(100%) rotate(-10deg); }
.contact-panel .button-outline::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 20%, #68e8f02b 50%, transparent 75%); transform: translateX(-110%); transition: transform .5s; pointer-events: none; }
.contact-panel .button-outline:is(:hover, :focus-visible)::before { transform: translateX(110%); }
@keyframes section-handoff { 0% { stroke-dashoffset: 14; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .65; } 100% { stroke-dashoffset: -100; opacity: 0; } }
@keyframes handoff-nodes { 0%, 100% { opacity: .52; } 40% { opacity: 1; } }
@keyframes project-border-charge { 0%, 100% { box-shadow: 0 0 0 transparent; } 45% { box-shadow: inset 0 0 0 1px #71e9f375, 0 0 22px #3ad4e519; } }
@keyframes reactor-title-signal { 0% { opacity: 0; transform: scaleX(0); } 45% { opacity: .85; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes reactor-node-ignite { 0% { opacity: .08; } 40% { opacity: 1; } 100% { opacity: .5; } }
@media (max-width: 850px) {
    .energy-transfer { width: calc(100% - 64px); height: 46px; }
    .contact-network-lines path:nth-child(2) { display: none; }
    .contact-network { opacity: .48; }
    .contact-panel.reactor-entered .contact-orbit { animation-duration: 1.5s, 32s; }
    .energy-transfer .pulse-core { r: 6px; }
    .energy-transfer .pulse-halo { r: 13px; }
}
@media (max-width: 650px) {
    .energy-transfer { width: calc(100% - 40px); height: 40px; }
    .contact-entry-line { top: 24px; }
}
@media (hover: none), (pointer: coarse), (max-width: 850px) {
    [data-depth-scene] [data-depth] { translate: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    [data-depth-scene] [data-depth] { translate: none !important; }
    .contact-entry-glow, .contact-entry-line, .transfer-entry-path { display: none; }
}
@media print { .energy-transfer, .contact-entry-glow, .contact-entry-line { display: none; } }

/* Offscreen, blurred and background scenes sleep, including pseudo-elements. */
.is-window-blurred *, .is-window-blurred *::before, .is-window-blurred *::after { animation-play-state: paused !important; }

@media (max-width: 1100px) {
    .custom-development { grid-template-columns: minmax(0, 1fr) 215px; }
    .constellation a { font-size: .66rem; padding-inline: 8px; }
}
@media (max-width: 850px) {
    .global-light, .scroll-energy { display: none !important; }
    .hero [data-depth], [data-magnetic], [data-magnetic] > span[aria-hidden] { translate: none !important; }
    .orbital-system { animation: none; }
    .orbit-layer-outer { animation: orbital-turn 32s linear infinite; }
    .orbit-layer-inner { animation: none; }
    .hero-network-field .network-link:nth-child(n+4), .hero-network-field .network-node:nth-child(n+7) { display: none; }
    .network-link, .network-node { animation: none; }
    .core-wave { animation-duration: 7.5s; }
    .code-core::before, .code-core::after { animation-duration: 7.5s; }
    .float-panel-code { animation: mobile-panel-live 9s ease-in-out infinite; }
    .float-panel-system, .hero-module-map, .hero-module-analytics, .hero-node-stack, .hero-sweep::after, .hero .gradient-text { animation: none; }
    .hero-module-map { transform: rotate(-7deg); }
    .hero-module-analytics { transform: rotate(7deg); }
    .product-data-pattern, .product-badges > span, .contact-network-orbits, .contact-network-nodes circle, .heritage-points circle { animation: none !important; }
    .custom-development { grid-template-columns: minmax(0, 1fr); }
    .custom-symbol { display: block; max-width: 350px; margin-inline: auto; }
    .constellation a { font-size: .76rem; }
    .data-divider { width: calc(100% - 64px); }
    .border-track rect { animation-duration: 10s; }
}
@keyframes mobile-panel-live { 0%, 100% { transform: rotate(-5deg); } 50% { transform: translateY(-5px) rotate(-4deg); } }
@media (max-width: 650px) {
    .product-badges { gap: 7px; margin-top: 20px; }
    .product-badges > span { font-size: .72rem; padding: 6px 9px; }
    .product-scan { opacity: 0; }
    .custom-symbol { min-height: 250px; }
    .constellation { height: 250px; }
    .constellation a:nth-of-type(4) { left: 15%; }
    .constellation a:nth-of-type(5) { left: 81%; }
    .constellation a:nth-of-type(6) { left: 24%; }
    .constellation a:nth-of-type(7) { left: 72%; }
    .constellation a { font-size: .72rem; }
    .data-divider { width: calc(100% - 40px); }
    .section-heading[data-energy-gate]::after { bottom: -14px; }
}
@media (hover: none), (pointer: coarse) {
    .global-light, .scroll-energy { display: none !important; }
    .hero [data-depth], [data-magnetic], [data-magnetic] > span[aria-hidden] { translate: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .global-light, .scroll-energy, .fx-pulse, .product-scan, .hero-sweep, .core-wave, .border-track, .energy-trail-canvas { display: none !important; }
    .hero [data-depth], [data-magnetic], [data-magnetic] > span[aria-hidden] { translate: none !important; }
    .gate-entered > *, .showcase-entered, .showcase-entered .poster-wrap { clip-path: none !important; opacity: 1 !important; }
    .product-badges > span { opacity: 1; translate: none; }
}
@media print {
    .global-light, .scroll-energy, .fx-pulse, .product-scan, .hero-sweep, .core-wave, .border-track, .data-divider, .product-data-pattern { display: none !important; }
    [data-energy-gate] > * { clip-path: none !important; opacity: 1 !important; }
}
