/* A right-facing, open metal laptop forms the small scroll-reveal portal. */
.ronin-footer.laptop-footer{--footer-gradient:linear-gradient(180deg,var(--bg) 0%,#0e1511 55%,#1a231d 100%);position:relative;isolation:isolate;overflow:hidden;margin-top:32px;min-height:370px;background:var(--footer-gradient)}
.laptop-scene{position:absolute;left:6%;top:94px;width:350px;height:250px;z-index:2;perspective:1000px;transform:scale(.94);transform-origin:0 50%;pointer-events:none}
.laptop-rig{position:relative;width:300px;height:220px;transform-style:preserve-3d;transform:rotateX(8deg) rotateY(21deg) rotateZ(10deg);transform-origin:50% 55%}
.laptop-screen{position:absolute;inset:0 0 auto;height:180px;border:8px solid #303644;border-radius:9px 9px 5px 5px;background:#10131c;box-shadow:inset 0 0 0 1px #8b95aa88,-3px 1px 0 #151a25,-4px 2px 0 #080b11,0 9px 16px #0004;transform-style:preserve-3d}
.laptop-screen::before{content:'';position:absolute;width:3px;height:3px;top:-5px;left:calc(50% - 1px);border-radius:50%;background:#344255;box-shadow:inset 0 0 0 1px #8b9bb344,0 0 0 2px #1b2230}
.laptop-screen::after{content:'';position:absolute;inset:-8px;border:1px solid #8792a164;border-top-color:#a5aebc88;border-right-color:#1a202c;border-radius:9px 9px 5px 5px;pointer-events:none}
.laptop-display{position:absolute;inset:0;overflow:hidden;border:1px solid #080b10;background:radial-gradient(ellipse at 50% 110%,#73699732,transparent 70%),linear-gradient(140deg,#101925,#10121c 65%,#141b27);box-shadow:inset 0 0 22px #0007}
.laptop-display::after{content:'';position:absolute;inset:0;background:linear-gradient(125deg,#d5e2f00d,transparent 36% 68%,#b9c9e207);pointer-events:none}
.laptop-display span{display:block;margin:19px 0 0 17px;width:42px;height:2px;background:#91aa9448;border-radius:2px}
.laptop-display span:nth-child(2){width:63px;margin-top:7px;background:#8d82af44}
.laptop-display span:nth-child(3){width:31px;margin-top:7px;background:#c99f7244}
.laptop-footer .screen-reveal-window{position:absolute;left:-8px;right:-8px;top:-170px;bottom:4px;overflow:hidden;z-index:3;pointer-events:none;clip-path:none}
.laptop-footer .ronin-plane{position:absolute;left:-18px;top:30px;width:336px;height:336px;margin:0;z-index:1}
.laptop-footer .ronin-mover{width:100%;transform:translate3d(0,360px,0);will-change:transform}
.laptop-footer .ronin-asset{display:block;width:100%;height:auto;transform:rotate(180deg);transform-origin:center;filter:drop-shadow(0 -2px 4px #0005);user-select:none}
.screen-lower-bezel{position:absolute;left:-7px;right:-7px;bottom:-7px;height:8px;z-index:4;border-top:1px solid #727c8f;background:linear-gradient(#323a4a,#202634);border-radius:0 0 4px 4px}
.laptop-hinge{position:absolute;left:13px;right:13px;top:176px;height:6px;background:linear-gradient(#707b90 0%,#343e51 40%,#151b27 100%);border:1px solid #11141f;border-radius:3px;box-shadow:0 2px 3px #0008;transform:translateZ(-1px)}
.laptop-hinge::after{content:'';position:absolute;left:14px;right:14px;top:2px;height:1px;background:repeating-linear-gradient(90deg,#080c13 0 2px,transparent 2px 4px);opacity:.7}
.laptop-deck{position:absolute;left:-9px;top:179px;width:318px;height:126px;background:linear-gradient(155deg,#606c7f 0%,#384456 30%,#293344 62%,#454f62 100%);border:1px solid #929cac;border-bottom-color:#8994a5;border-radius:3px 3px 9px 9px;box-shadow:inset 0 1px 0 #c4cdd455,inset 1px 0 0 #b6bfcc33,0 5px 0 #161e2b,0 6px 0 #596579;transform:rotateX(61deg);transform-origin:50% 0;transform-style:preserve-3d}
.laptop-deck::before{content:'';position:absolute;left:0;right:0;bottom:-5px;height:5px;border-radius:0 0 7px 7px;background:linear-gradient(#93a0b377,#202b3b 45%,#101724);border-bottom:1px solid #626f82}
.laptop-deck::after{content:'';position:absolute;left:calc(50% - 21px);bottom:-3px;width:42px;height:3px;border-radius:0 0 3px 3px;background:#0d1521;box-shadow:0 -1px 0 #a6b1c344}
.laptop-keyboard{position:absolute;left:21px;right:21px;top:12px;height:62px;border:3px solid #182130;border-radius:4px;background:repeating-linear-gradient(0deg,transparent 0 11px,#697488 11px 12px,#151c28 12px 14px),repeating-linear-gradient(90deg,#192231 0 19px,#8791a155 19px 20px,#0f1622 20px 23px);box-shadow:inset 0 1px 4px #000b,0 1px 0 #9ca7b544}
.laptop-keyboard::before,.laptop-keyboard::after{content:'';position:absolute;top:0;bottom:0;width:6px;background:radial-gradient(circle,#111a27 1px,transparent 1.2px) 0 0/3px 4px;opacity:.85}
.laptop-keyboard::before{left:-14px}.laptop-keyboard::after{right:-14px}
.laptop-trackpad{position:absolute;left:121px;top:83px;width:76px;height:32px;border:1px solid #a8b2c35c;border-bottom-color:#172132;border-radius:4px;background:linear-gradient(145deg,#6b788b52,#303e5152);box-shadow:inset 0 1px 2px #0b142535,0 1px 0 #a7b2c027}
.laptop-shadow{position:absolute;left:-18px;top:210px;width:348px;height:30px;border-radius:50%;background:#0009;filter:blur(12px);transform:rotateX(70deg) translateZ(-16px);z-index:-1}
/* Links and contacts share a baseline near the bottom of the desktop footer. */
.ronin-footer.laptop-footer .footer-body{position:relative;z-index:4;display:grid;grid-template-columns:38% 22% minmax(0,1fr);grid-template-rows:44px 32px;column-gap:32px;row-gap:18px;align-items:center;align-content:end;min-height:370px;padding:0 0 22px}
.ronin-footer.laptop-footer .footer-nav{grid-column:2;grid-row:1;display:flex;flex-direction:row;align-items:center;align-self:center;justify-self:center;gap:24px;margin:0;min-width:0;font-size:14px;white-space:nowrap}
.ronin-footer.laptop-footer .footer-nav a,.ronin-footer.laptop-footer .footer-nav button{display:inline-flex;align-items:center;padding:0;min-height:44px}
.ronin-footer.laptop-footer .footer-nav :is(a,button){color:var(--ink);text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:6px;transition:text-decoration-color .18s ease}
.ronin-footer.laptop-footer .footer-nav :is(a,button):is(:hover,:focus-visible){color:var(--ink);text-decoration-color:currentColor}
.ronin-footer.laptop-footer .footer-contact-row[data-contacts]{grid-column:3;grid-row:1;align-self:center;justify-self:end;margin:0 -8px 0 0;scroll-margin-top:40px}
.ronin-footer.laptop-footer .footer-contact-row .contact-links{flex-wrap:nowrap;gap:8px}
.ronin-footer.laptop-footer .footer-bottom{grid-column:2 / -1;grid-row:2;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0;width:100%;font:13px/1.5 var(--sans);color:var(--muted)}
.ronin-footer.laptop-footer .footer-bottom small{font-size:13px;width:auto;margin:0}
.ronin-footer.laptop-footer .footer-bottom a{min-height:32px}
@media(max-width:1000px){.laptop-scene{left:5%;transform:scale(.9);transform-origin:0 50%}.ronin-footer.laptop-footer .footer-body{grid-template-columns:40% 24% minmax(0,1fr);column-gap:20px}.ronin-footer.laptop-footer .footer-nav{font-size:13px;gap:15px}.ronin-footer.laptop-footer .footer-contact-row .contact-links{gap:2px}}
@media(max-width:700px){
 .ronin-footer.laptop-footer{min-height:400px;margin-top:22px}
 .laptop-scene{left:5%;top:74px;transform:scale(.62);transform-origin:0 0}
 .ronin-footer.laptop-footer .footer-body{grid-template-columns:57% minmax(0,1fr);grid-template-rows:44px 44px 24px;column-gap:10px;row-gap:6px;align-content:end;min-height:400px;padding:0 0 24px}
 .ronin-footer.laptop-footer .footer-nav{grid-column:1 / -1;grid-row:1;justify-self:end;font-size:13px;gap:22px}
 .ronin-footer.laptop-footer .footer-nav a,.ronin-footer.laptop-footer .footer-nav button{min-height:44px}
 .ronin-footer.laptop-footer .footer-contact-row[data-contacts]{grid-column:1 / -1;grid-row:2;justify-self:end;margin:0}
 .ronin-footer.laptop-footer .footer-contact-row .contact-links{gap:5px}
 .ronin-footer.laptop-footer .footer-bottom{grid-column:1 / -1;grid-row:3;gap:12px;flex-wrap:nowrap;margin:0}
 .ronin-footer.laptop-footer .footer-bottom a{min-height:24px}
}
@media(max-width:360px){.laptop-scene{transform:scale(.56);left:4%}}
@media(prefers-reduced-motion:reduce){.laptop-footer .ronin-mover{will-change:auto}}
@media(prefers-reduced-motion:reduce){.ronin-footer.laptop-footer .footer-nav :is(a,button){transition:none}}

/* Keep copyright readable against the shared olive footer at every width. */
.ronin-footer.laptop-footer .footer-bottom small{color:var(--muted)}
