/* Glass around a mineral core: a schematic visual, separate from actual lab photos. */
.hero-photo{will-change:transform;transform:translate3d(0,var(--hero-y,0px),0);transition:transform .15s linear}.material-scene{position:absolute;right:0;bottom:190px;width:300px;height:300px;perspective:1100px;pointer-events:none}.scene-halo{position:absolute;inset:5%;border-radius:50%;background:radial-gradient(ellipse,#d3e7e066,transparent 70%);filter:blur(5px)}.scene-shadow{position:absolute;bottom:33px;left:60px;width:190px;height:34px;background:#173b3730;border-radius:50%;filter:blur(14px);animation:shadow-breathe 8s ease-in-out infinite}.scene-tilt{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(var(--scene-rx,0deg)) rotateY(var(--scene-ry,0deg));transition:transform .6s cubic-bezier(.18,.7,.2,1)}.material-assembly{position:absolute;width:140px;height:140px;top:75px;left:80px;transform-style:preserve-3d;animation:material-float 14s ease-in-out infinite}.glass-cube,.mineral-core{position:absolute;inset:0;transform-style:preserve-3d}.cube-face{position:absolute;inset:0;display:block;backface-visibility:visible}.glass-cube>.cube-face{background:linear-gradient(135deg,#ecfff854,#58a88d25);border:1px solid #f2fffbc9;box-shadow:inset 0 0 22px #dffff83b,0 0 1px #267364}.glass-cube .face-front{transform:translateZ(85px)}.glass-cube .face-back{transform:rotateY(180deg) translateZ(85px)}.glass-cube .face-left{transform:rotateY(-90deg) translateZ(85px);width:170px;left:-15px}.glass-cube .face-right{transform:rotateY(90deg) translateZ(85px);width:170px;left:-15px}.glass-cube .face-top{transform:rotateX(90deg) translateZ(70px);height:170px;top:-15px;background:linear-gradient(135deg,#fff9,#bae4d748)}.glass-cube .face-bottom{transform:rotateX(-90deg) translateZ(70px);height:170px;top:-15px}.mineral-core{inset:29px;transform:translateZ(0)}.mineral-core>.cube-face{background:linear-gradient(130deg,#f0f1ec18,#65766e55),url('/assets/image1.webp') center/170px;border:1px solid #e6eae5}.mineral-core .face-front{transform:translateZ(41px)}.mineral-core .face-back{transform:rotateY(180deg) translateZ(41px);filter:brightness(.75)}.mineral-core .face-right{transform:rotateY(90deg) translateZ(41px);filter:brightness(.73)}.mineral-core .face-left{transform:rotateY(-90deg) translateZ(41px);filter:brightness(.83)}.mineral-core .face-top{transform:rotateX(90deg) translateZ(41px);filter:brightness(1.15)}.mineral-core .face-bottom{transform:rotateX(-90deg) translateZ(41px);filter:brightness(.6)}.glass-fragment{position:absolute;display:block;background:linear-gradient(140deg,#fbffffd4,#69b8a140);border:1px solid #ffffffb3;box-shadow:0 6px 15px #173b3715;clip-path:polygon(10% 0,100% 15%,78% 100%,0 80%)}.fragment-one{width:44px;height:62px;left:-55px;top:-33px;transform:translateZ(25px) rotateY(18deg) rotateZ(-22deg);animation:fragment-drift 9s ease-in-out infinite}.fragment-two{width:35px;height:45px;right:-48px;top:110px;transform:translateZ(55px) rotateY(-20deg) rotateZ(36deg);animation:fragment-drift 7s ease-in-out infinite reverse}.fragment-three{width:20px;height:30px;right:-30px;top:-35px;transform:translateZ(-20px) rotateZ(18deg);animation:fragment-drift 11s ease-in-out infinite}.scene-caption{position:absolute;bottom:0;left:30px;right:15px;display:flex;align-items:center;gap:13px;font-size:10px;color:var(--ink);letter-spacing:.01em}.scene-line{height:1px;background:#26736466;flex:1;position:relative}.scene-line:after{content:'';position:absolute;right:0;top:-2px;border-top:3px solid transparent;border-bottom:3px solid transparent;border-left:5px solid var(--glass)}
@keyframes material-float{0%,100%{transform:translateY(0) rotateX(-18deg) rotateY(28deg) rotateZ(-5deg)}50%{transform:translateY(-17px) rotateX(-24deg) rotateY(65deg) rotateZ(1deg)}}@keyframes fragment-drift{50%{translate:0 -13px;rotate:10deg}}@keyframes shadow-breathe{50%{transform:scale(.8);opacity:.55}}
.motion-ready .reveal{opacity:0;transform:translateY(28px);transition:opacity .85s ease,transform .85s cubic-bezier(.16,.8,.2,1)}.motion-ready .reveal.in-view{opacity:1;transform:none}.hero-stats .counter-value{font-size:inherit;font-family:inherit}.hero h1{animation:hero-arrive .95s cubic-bezier(.16,.8,.2,1) both}.hero .eyebrow{animation:hero-arrive .75s ease both}.hero .button{animation:hero-arrive 1.2s ease both}@keyframes hero-arrive{from{opacity:0;translate:0 17px}to{opacity:1;translate:0 0}}.feature{transition:transform .35s,box-shadow .35s,border-color .35s}.feature:hover{transform:translateY(-5px);border-color:#b5cfc3;box-shadow:0 15px 34px #173b370a}.icon svg{transition:transform .4s}.feature:hover .icon svg{transform:rotate(-8deg) scale(1.1)}.nav-contact{transition:background .25s}.nav-contact:hover{background:#e1eee7}.application-mark{transition:transform .5s,background .5s}.applications-list article:hover .application-mark{transform:rotate(-8deg);background:#d4e4db}
.photo-zoom{position:relative;display:block;border:0;padding:0;margin:0;background:transparent;cursor:zoom-in;overflow:hidden;border-radius:inherit;transform-style:preserve-3d;transform:perspective(850px) rotateX(var(--photo-rx,0deg)) rotateY(var(--photo-ry,0deg));transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s;isolation:isolate}.photo-zoom img{transition:transform .7s cubic-bezier(.2,.7,.2,1);transform:scale(1)}.photo-zoom:after{content:'';position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .4s;background:radial-gradient(circle at var(--glare-x,50%) var(--glare-y,30%),#ffffff40,transparent 70%)}.photo-zoom:hover:after{opacity:1}.photo-zoom:hover img,.photo-zoom:focus-visible img{transform:scale(1.06)}.photo-zoom:hover{box-shadow:0 14px 30px #173b3726}.photo-expand{position:absolute;right:12px;bottom:12px;z-index:2;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#ffffffed;color:var(--ink);font-size:22px;line-height:1;box-shadow:0 3px 15px #173b371f;transition:transform .3s}.photo-zoom:hover .photo-expand{transform:scale(1.12)}.powder-figure>.photo-zoom{width:100%;aspect-ratio:1.25;border-radius:12px 12px 0 0}.powder-figure>.photo-zoom img{width:100%;height:100%;object-fit:cover}.slide-images .photo-zoom{flex:1;height:100%;min-width:0;display:flex;align-items:center;justify-content:center;border-radius:4px}.slide-images .photo-zoom img{width:100%;height:100%;object-fit:contain;flex:initial}.slide-images{overflow:visible;perspective:900px}.photo-dialog{max-width:none;width:100%;height:100%;max-height:none;background:transparent;border:0;padding:35px;color:white;overflow:auto}.photo-dialog::backdrop{background:rgba(5,22,19,.91);backdrop-filter:blur(9px)}.lightbox-inner{max-width:1120px;margin:auto;position:relative;min-height:calc(100dvh - 70px);display:flex;flex-direction:column;justify-content:center}.lightbox-image-wrap{display:flex;align-items:center;justify-content:center;min-height:250px}.lightbox-image-wrap img{max-width:100%;max-height:75dvh;width:auto;height:auto;border-radius:6px;box-shadow:0 20px 70px #0003;animation:lightbox-in .3s ease}.lightbox-close{position:fixed;right:27px;top:22px;width:44px;height:44px;border-radius:50%;border:1px solid #ffffff70;background:#163a34;color:white;font:30px/1 Arial;z-index:2}.lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:24px auto 0;width:min(800px,100%)}.lightbox-bottom p{color:#e4efeb;font-size:14px}.lightbox-bottom span{display:block;font:12px monospace;color:#b9d0c7;margin-top:8px}.lightbox-arrows{display:flex;gap:10px;flex-shrink:0}.lightbox-arrows button{background:#ffffff12;color:white;border:1px solid #ffffff50;border-radius:50%;width:44px;height:44px;font-size:24px;transition:background .2s}.lightbox-arrows button:hover,.lightbox-close:hover{background:#37675b}.lightbox-arrows button:focus-visible,.lightbox-close:focus-visible{outline-color:white}.modal-open{overflow:hidden}@keyframes lightbox-in{from{opacity:.3;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(min-width:1500px){.material-scene{right:20px;bottom:205px;width:330px;height:310px}.material-assembly{left:94px}}
@media(max-width:1150px){.material-scene{right:-5px;bottom:195px;scale:.85;transform-origin:right bottom}}
@media(max-width:1000px){.material-scene{display:none}}
@media(max-width:600px){.photo-dialog{padding:70px 16px 24px}.lightbox-inner{min-height:calc(100dvh - 100px)}.lightbox-image-wrap img{max-height:65dvh}.lightbox-bottom{gap:12px;margin-top:20px}.lightbox-bottom p{font-size:12px}.lightbox-close{top:15px;right:16px}.lightbox-arrows{gap:6px}.lightbox-arrows button{width:37px;height:37px}.photo-expand{width:29px;height:29px;font-size:20px;right:8px;bottom:8px}}
@media(prefers-reduced-motion:reduce){.material-assembly,.glass-fragment,.scene-shadow,.hero h1,.hero .eyebrow,.hero .button,.lightbox-image-wrap img{animation:none}.material-assembly{transform:rotateX(-18deg) rotateY(28deg)}.motion-ready .reveal{opacity:1;transform:none;transition:none}.hero-photo,.scene-tilt,.photo-zoom,.photo-zoom img,.feature,.icon svg,.application-mark{transition:none}.photo-zoom:hover img{transform:none}}

/* Keep controls optically centred across fonts and narrow viewports. */
.photo-expand .ui-icon{width:18px;height:18px}
.lightbox-arrows button,.lightbox-close{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;flex-shrink:0;width:44px;height:44px}
.lightbox-close .ui-icon{width:24px;height:24px;flex-basis:24px}
.lightbox-bottom>div:first-child{min-width:0}
.lightbox-bottom p{overflow-wrap:anywhere}
.lightbox-arrows[hidden],#lightbox-counter[hidden]{display:none}
@media(max-width:600px){.lightbox-bottom{align-items:flex-start}.lightbox-arrows{gap:8px}}
