/* Scientific linework is decorative background; research content stays foremost. */
.page-home .brand::before{display:none}
.logo-diffraction{position:absolute;inset:0;width:var(--logo-width);height:auto;max-width:none;pointer-events:none;overflow:hidden;fill:none;stroke:#21bed7;stroke-width:.75;opacity:.65}
.logo-diffraction circle{fill:#bfffff;stroke:none}
.logo-beam-direction{animation:logo-direction 24s ease-in-out infinite alternate;transform-origin:0 0}
@keyframes logo-direction{from{transform:rotate(-22deg);opacity:.35}to{transform:rotate(22deg);opacity:.85}}
.hero,.intro-section,.page-intro{position:relative;isolation:isolate;overflow:hidden}
.hero::before{content:'';position:absolute;inset:0;z-index:-1;background:url('synchrotron-blueprint.svg?v=6c4e5a0b6a4c') right -100px top -190px/820px auto no-repeat,url('undulator-blueprint.svg?v=aa8d021f76fe') right -100px bottom 30px/900px auto no-repeat;opacity:.13;mask-image:linear-gradient(90deg,transparent 25%,#000 90%);pointer-events:none}
.page-home .hero-research-index{padding-top:0;position:relative;align-self:center;z-index:1}
.hero-copy,.hero-bottom{position:relative;z-index:1}
.hero-bottom{position:absolute}
.intro-section::before,.page-intro::before{content:'';position:absolute;inset:0;z-index:-1;background:url('synchrotron-blueprint.svg?v=6c4e5a0b6a4c') right center/720px auto no-repeat;opacity:.075;mask-image:linear-gradient(90deg,transparent 30%,#000 85%);pointer-events:none}
.page-intro::before{opacity:.055;background-size:620px}
.hero h1{font-size:clamp(30px,2.7vw,44px)}
.hero h1 .keep-word{white-space:nowrap}
.motion-toggle{font-size:14px;line-height:1.6;background:none;border:0;border-bottom:1px solid #567b8b;color:#c5dce6;padding:2px 0;white-space:nowrap}
.motion-paused .logo-beam-direction,.motion-paused .official-logo,.motion-paused .brand::before,.document-hidden .logo-beam-direction,.document-hidden .official-logo,.document-hidden .brand::before{animation-play-state:paused!important}
@media(max-width:850px){.hero-bottom{position:static}.hero::before{background-size:680px auto,720px auto;background-position:right -180px top -100px,right -130px bottom 30px;opacity:.10}.intro-section::before,.page-intro::before{opacity:.04;background-size:580px;mask-image:linear-gradient(90deg,transparent,#000)}}
@media(prefers-reduced-motion:reduce){.logo-beam-direction{animation:none!important}.motion-toggle{display:none}}
