/* Opaque foreground frame uses the supplied third design, including its diagonal braces. */
.stage-break,.stage-break-footer{--separator-height:clamp(70px,7.2vw,138px);position:relative;z-index:4;width:100%;height:var(--separator-height);margin:0;border:0;border-radius:0;background:#080e26 url("assets/section-frame.png") center center/100% auto no-repeat;mask:none;-webkit-mask:none;box-shadow:none;overflow:hidden;isolation:isolate;opacity:1}
.stage-break:before,.stage-break:after{display:none}.separator-surface,.separator-wave,.separator-glow{display:none}.separator-sweep{z-index:1;mix-blend-mode:screen;opacity:0}
/* Preserve the gradient: pulse the composited text without changing its layout. */
.hero h1 .hero-title-lead{background-image:linear-gradient(100deg,#f43aaf 0%,#dd26d2 31%,#a044f2 52%,#2c9cf3 77%,#00d6e9 100%);background-size:100% 100%;background-position:center;background-clip:text;-webkit-background-clip:text;transform-origin:left 65%;animation:headline-scale 5s ease-in-out infinite;text-shadow:none}
@keyframes headline-scale{0%,100%{transform:scale(1)}50%{transform:scale(1.018,1.055)}}
.hero-art-offscreen .hero-title-lead,.motion-paused .hero h1 .hero-title-lead,.tab-hidden .hero h1 .hero-title-lead{animation-play-state:paused}
.section h2,.roles-section h2,.split h2{font-size:clamp(26px,2.65vw,56px)}
/* The glow stays behind the scene. All six trails use the exact existing rotor. */
.orbit-brand-shadow{bottom:-5%;height:8%;opacity:.8}.composition-halo{position:absolute;inset:-8%;pointer-events:none;border-radius:50%;background:radial-gradient(ellipse at 50% 49%,transparent 37%,#1d6bac12 48%,#7d3da91c 57%,#55298508 65%,transparent 74%);z-index:0}.orbit-energy-trails{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.card-energy-trail{opacity:.85}.orbit-project{box-shadow:0 7px 18px #04081e55,0 0 14px #55bde719}.orbit-slot:nth-child(2n) .orbit-project{box-shadow:0 7px 18px #04081e55,0 0 14px #d65ae31c}
/* RIV is a compact, opaque illuminated badge, with its own small wave. */
.hero .riv-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;isolation:isolate;min-width:112px;height:54px;padding:7px 22px;border:1px solid #5ba3e9;border-radius:38px;background:linear-gradient(135deg,#123d65,#17223e 45%,#392049);box-shadow:0 0 17px #05bcf223,0 4px 19px #ab3edb20;flex-shrink:0}.riv-badge:before{content:"";position:absolute;inset:-1px;padding:2px;border-radius:inherit;background:conic-gradient(from var(--card-edge-angle),#149eea,#b1f2ff 18%,#7979e4 35%,#f455de 59%,#d9a9fc 70%,#4379e1 88%,#149eea);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:card-edge-orbit 10s linear infinite;pointer-events:none;z-index:3}.riv-word{position:relative;z-index:2;font-style:italic;font-weight:800;font-size:31px;letter-spacing:-.035em}.riv-wave{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;overflow:hidden;z-index:1;animation:riv-wave-drift 7s ease-in-out infinite alternate}.hero .riv-badge small{top:-12px;right:2px;padding:4px 11px;font-size:12px;border:1px solid #daa9f55c;z-index:4;line-height:1.2;background:var(--gradient);color:white}.motion-paused .riv-badge:before,.motion-paused .riv-wave,.hero-art-offscreen .riv-badge:before,.hero-art-offscreen .riv-wave,.tab-hidden .riv-badge:before,.tab-hidden .riv-wave{animation-play-state:paused}
@keyframes riv-wave-drift{from{transform:translateY(-2px)}to{transform:translateY(2px)}}
/* Permanent equalizers are anchored to labels, never to random viewport positions. */
.section-eyebrow{position:relative;isolation:isolate;width:fit-content;max-width:100%;overflow:visible}.eyebrow-text{position:relative;z-index:2;color:#fafaff;opacity:1}.section-equalizer{position:absolute;display:flex;align-items:flex-end;gap:4px;left:78px;bottom:8px;width:300px;height:86px;max-width:calc(100% - 60px);z-index:-1;pointer-events:none;opacity:.36}.section-equalizer i{display:block;flex:1;min-width:2px;height:calc(var(--eq-height)*1.45);background:linear-gradient(to top,#4574d8,#a33dbb);mask-image:repeating-linear-gradient(to top,#000 0 4px,transparent 4px 6px);-webkit-mask-image:repeating-linear-gradient(to top,#000 0 4px,transparent 4px 6px);transform-origin:bottom;transform:scaleY(.65);animation:anchored-equalizer var(--eq-duration) ease-in-out var(--eq-delay) infinite alternate;animation-play-state:paused}.equalizer-visible .section-equalizer i{animation-play-state:running}.motion-paused .section-equalizer i,.tab-hidden .section-equalizer i{animation-play-state:paused}@keyframes anchored-equalizer{from{transform:scaleY(.45)}to{transform:scaleY(1)}}
/* Equal clearances around a plain account divider. */
@media(min-width:1101px){.header nav{--nav-space:clamp(17px,1.65vw,31px);gap:var(--nav-space)}.nav-account{position:relative;border-left:0;margin-left:calc(28px - var(--nav-space));padding-left:28px}.nav-account:before{content:"";position:absolute;left:-1px;top:50%;width:2px;height:34px;transform:translateY(-50%);border-radius:2px;background:#c5c8e05c;box-shadow:none}}
@media(min-width:1101px) and (max-width:1300px){.header nav{--nav-space:13px}}
@media(min-width:641px) and (max-width:980px){.section h2,.roles-section h2,.split h2{font-size:clamp(24px,3vw,29px)}}
@media(max-width:640px){.stage-break,.stage-break-footer{height:58px;width:100%;margin:0;border:0;border-radius:0;background-size:auto 240px}.hero .riv-badge{min-width:96px;height:48px;padding:6px 18px}.riv-word{font-size:28px}.hero .riv-badge small{font-size:10px;padding:3px 8px;top:-10px}.section h2,.roles-section h2,.split h2{font-size:clamp(23px,5.8vw,34px)}.section-equalizer{left:50px;max-width:calc(100% - 45px);width:240px;height:76px;gap:3px;opacity:.34;bottom:7px}.section-equalizer i:nth-child(2n){display:none}.composition-halo{inset:-5%;opacity:.65}.card-energy-trail{opacity:.65}.orbit-brand-shadow{bottom:-5%;filter:blur(5px)}.orbit-project,.orbit-slot:nth-child(2n) .orbit-project{box-shadow:0 4px 10px #04081e44,0 0 8px #8c69cb1c}}
@media(prefers-reduced-motion:reduce){.hero h1 .hero-title-lead,.riv-badge:before,.riv-wave,.section-equalizer i{animation:none!important}.hero h1 .hero-title-lead{background-position:100% 50%,center}.section-equalizer i{transform:scaleY(.7)}}
