/* One color source keeps each member's name, role symbols and chevron together. */
@property --member-light{syntax:'<color>';inherits:true;initial-value:#00d9ff}
.member summary.neon-control{animation:member-light-cycle 9s steps(90,end) infinite;animation-delay:var(--halo-phase,0s);animation-play-state:paused}
.member summary.neon-control.neon-live{animation-play-state:running}
.member summary.neon-control .neon-text{animation:none!important;text-shadow:0 0 1px #ffffff60,0 0 5px var(--member-light),0 0 9px color-mix(in srgb,var(--member-light) 100%,transparent)}
.member summary.neon-control .glow-layer{animation:none!important;background-color:var(--member-light)}
.member summary.neon-control:after{animation:none!important;filter:drop-shadow(0 0 4px var(--member-light))}
@keyframes member-light-cycle{0%,100%{--member-light:#00d9ff}33.333%{--member-light:#ff00b7}66.666%{--member-light:#ff6600}}
body.neon-sleep .member summary.neon-control,body:has(dialog[open]) main .member summary.neon-control{animation-play-state:paused}

/* The bell arcs inherit the exact color selected when its button's sweep starts. */
.bell-waves{position:absolute;inset:-5px;pointer-events:none;opacity:0;z-index:3}
.bell-waves:before,.bell-waves:after{content:'';position:absolute;inset:0;border:1.5px solid transparent;border-left-color:var(--sweep-color,#00d9ff);border-right-color:var(--sweep-color,#00d9ff);border-radius:50%;opacity:0;transform:scale(.6);box-shadow:none;filter:drop-shadow(0 0 3.3px var(--sweep-color,#00d9ff))}
.bell-active .bell-waves{opacity:1}
.bell-active .bell-waves:before,.bell-active .bell-waves:after{animation:bell-sound-wave 1.05s ease-out infinite}
.bell-active .bell-waves:after{animation-delay:.42s}
body:not(.gsap-motion) .glow-sweep .bell{animation:bell-ring .7s ease-in-out}
body:not(.gsap-motion) .attention-active .bell{animation-iteration-count:2}
body:not(.gsap-motion) .sweep-held .bell{animation:bell-ring .9s ease-in-out infinite}
body:not(.gsap-motion) .glow-sweep .bell-waves{opacity:1}
body:not(.gsap-motion) .glow-sweep .bell-waves:before,body:not(.gsap-motion) .glow-sweep .bell-waves:after{animation:bell-sound-wave 1.05s ease-out infinite}
body:not(.gsap-motion) .glow-sweep .bell-waves:after{animation-delay:.42s}
@keyframes bell-sound-wave{0%{transform:scale(.6);opacity:0}18%{opacity:1}100%{transform:scale(1.38);opacity:0}}

/* Small rhythm accents: fixed light textures, animated only with transform/opacity. */
.music-decor{display:flex;align-items:center;justify-content:space-between;gap:5px;pointer-events:none;user-select:none;contain:layout style}
.music-bar{display:block;flex:0 0 3px;height:var(--bar-height,24px);border-radius:3px;background:var(--music-color);box-shadow:0 0 4px var(--music-color),0 0 10px color-mix(in srgb,var(--music-color) 58%,transparent);transform:scaleY(.45);opacity:.5;animation:music-beat var(--beat-duration,1.8s) ease-in-out infinite alternate;animation-delay:var(--beat-phase);animation-play-state:paused}
.music-bar:nth-child(3n+1){--music-color:#00d9ff}.music-bar:nth-child(3n+2){--music-color:#ff00b7}.music-bar:nth-child(3n){--music-color:#ff6600}
.music-decor.music-live .music-bar{animation-play-state:running;will-change:transform,opacity}
#proyecto{position:relative}
.project-meter{position:absolute;top:100px;right:var(--space);width:142px;height:32px}
.music-wave{width:min(360px,72%);height:58px;margin:34px auto 0;gap:6px}
.contact-pulse{width:174px;height:44px;margin:35px 0 0;justify-content:flex-start;gap:9px}
.interlude{isolation:isolate;overflow:hidden}
@keyframes music-beat{0%{transform:scaleY(.32);opacity:.52}45%{transform:scaleY(.92);opacity:.9}100%{transform:scaleY(.58);opacity:.7}}
body.neon-sleep .music-bar,body:has(dialog[open]) .music-bar{animation-play-state:paused!important}
@media(max-width:900px){.project-meter{top:72px;width:120px}}
@media(max-width:600px){.minimal-hero{padding-bottom:40px}.minimal-hero .hero-stage>.switch{margin-bottom:0}.project-meter{top:60px;width:94px;height:28px;gap:4px}.project-meter .music-bar{flex-basis:2px;max-height:26px}.music-wave{width:76%;height:46px;gap:4px;margin-top:30px}.music-wave .music-bar{flex-basis:2px;max-height:42px}.contact-pulse{margin-top:25px;height:34px;width:150px;gap:8px}}
@media(prefers-reduced-motion:reduce){.member summary.neon-control{animation:none;--member-light:#00d9ff}.bell-active .bell,.sweep-held .bell{animation:none!important}.bell-waves{display:none}.music-bar{animation:none;transform:scaleY(.6);opacity:.65;will-change:auto}}
